37ca8c03be5efcc2bda922f106b3aab36ff1f694
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #16928]
4         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5         non-finite arguments is +0.
6         * math/s_cacosf.c (__cacosf): Likewise.
7         * math/s_cacosl.c (__cacosl): Likewise.
8         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9         * sysdeps/i386/fpu/libm-test-ulps: Update.
10         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11
12         [BZ #16927]
13         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14         value.
15         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18         for explicit high bit of mantissa when testing for argument equal
19         to 1.
20         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21         * sysdeps/i386/fpu/libm-test-ulps: Update.
22         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23
24         [BZ #16516]
25         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26         (__erf): Scale by 16 instead of 8 in potentially underflowing
27         case.  Ensure exception if result actually underflows.
28         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29         (__erff): Scale by 16 instead of 8 in potentially underflowing
30         case.  Ensure exception if result actually underflows.
31         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
32         (efx8): Remove variable.
33         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34         case.  Ensure exception if result actually underflows.
35         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36         (efx8): Remove variable.
37         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38         case.  Ensure exception if result actually underflows.
39         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
40         (efx8): Remove variable.
41         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42         case.  Ensure exception if result actually underflows.
43         * math/auto-libm-test-in: Add more tests of erf.
44         * math/auto-libm-test-out: Regenerated.
45
46 2014-05-14  Andreas Schwab  <schwab@suse.de>
47
48         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
49         Remove code conditionalized on USE___THREAD.
50
51         * config.h.in (HAVE_PT_CHOWN): Define as 0.
52         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
53         not definedness.
54
55 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
56
57         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
58         Define unconditionally.
59         (__ASSUME_O_CLOEXEC): Likewise.
60         (__ASSUME_SOCK_CLOEXEC): Likewise.
61         (__ASSUME_IN_NONBLOCK): Likewise.
62         (__ASSUME_PIPE2): Likewise.
63         (__ASSUME_EVENTFD2): Likewise.
64         (__ASSUME_SIGNALFD4): Likewise.
65         (__ASSUME_DUP3): Likewise.
66         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
67         (__ASSUME_DUP3): Do not define.
68         (__ASSUME_EVENTFD2): Likewise.
69         (__ASSUME_IN_NONBLOCK): Likewise.
70         (__ASSUME_O_CLOEXEC): Likewise.
71         (__ASSUME_PIPE2): Likewise.
72         (__ASSUME_SIGNALFD4): Likewise.
73         (__ASSUME_SOCK_CLOEXEC): Likewise.
74         (__ASSUME_UTIMES): Undefine.
75         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
76         (__ASSUME_UTIMES): Do not define.
77         (__ASSUME_O_CLOEXEC): Likewise.
78         (__ASSUME_SOCK_CLOEXEC): Likewise.
79         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
80         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
81         0x020621].
82         (__ASSUME_PIPE2): Likewise.
83         (__ASSUME_EVENTFD2): Likewise.
84         (__ASSUME_SIGNALFD4): Likewise.
85         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
86         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
87         Do not define.
88         (__ASSUME_EVENTFD2): Likewise.
89         (__ASSUME_SIGNALFD4): Likewise.
90         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
91         (__ASSUME_32BITUIDS): Likewise.
92         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
93         (__ASSUME_IPC64): Likewise.
94         (__ASSUME_ST_INO_64_BIT): Likewise.
95         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
96         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
97         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
98         (__ASSUME_UTIMES): Do not define.
99         (__ASSUME_PSELECT): Likewise.
100         (__ASSUME_PPOLL): Likewise.
101         (__ASSUME_O_CLOEXEC): Likewise.
102         (__ASSUME_SOCK_CLOEXEC): Likewise.
103         (__ASSUME_IN_NONBLOCK): Likewise.
104         (__ASSUME_PIPE2): Likewise.
105         (__ASSUME_EVENTFD2): Likewise.
106         (__ASSUME_SIGNALFD4): Likewise.
107         (__ASSUME_DUP3): Likewise.
108         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
109         (__ASSUME_UTIMES): Likewise.
110         (__ASSUME_O_CLOEXEC): Likewise.
111         (__ASSUME_SOCK_CLOEXEC): Likewise.
112         (__ASSUME_IN_NONBLOCK): Likewise.
113         (__ASSUME_PIPE2): Likewise.
114         (__ASSUME_EVENTFD2): Likewise.
115         (__ASSUME_SIGNALFD4): Likewise.
116         (__ASSUME_DUP3): Likewise.
117         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
118         (__ASSUME_UTIMES): Likewise.
119         (__ASSUME_O_CLOEXEC): Likewise.
120         (__ASSUME_SOCK_CLOEXEC): Likewise.
121         (__ASSUME_IN_NONBLOCK): Likewise.
122         (__ASSUME_PIPE2): Likewise.
123         (__ASSUME_EVENTFD2): Likewise.
124         (__ASSUME_SIGNALFD4): Likewise.
125         (__ASSUME_DUP3): Likewise.
126         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
127         Likewise.
128         (__ASSUME_UTIMES): Likewise.
129         (__ASSUME_EVENTFD2): Likewise.
130         (__ASSUME_SIGNALFD4): Likewise.
131         * sysdeps/unix/sysv/linux/tile/kernel-features.h
132         (__ASSUME_O_CLOEXEC): Likewise.
133         (__ASSUME_SOCK_CLOEXEC): Likewise.
134         (__ASSUME_IN_NONBLOCK): Likewise.
135         (__ASSUME_PIPE2): Likewise.
136         (__ASSUME_EVENTFD2): Likewise.
137         (__ASSUME_SIGNALFD4): Likewise.
138         (__ASSUME_DUP3): Likewise.
139         (__ASSUME_UTIMES): Undefine.
140
141         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
142         feclearexcept.  Remove symbol versioning code.
143         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
144         symbol versioning code.
145         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
146         symbol versioning code.
147         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
148         feupdateenv.  Remove symbol versioning code.
149         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
150         fegetexceptflag.  Remove symbol versioning code.
151         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
152         fesetexceptflag.  Remove symbol versioning code.
153         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
154         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
155         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
156         (__posix_fadvise64_l32): Remove prototype.
157         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
158         code.
159
160 2014-05-13  Roland McGrath  <roland@hack.frob.com>
161
162         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
163         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
164         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
165         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
166
167 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
168
169         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
170         current working directory
171
172 2014-05-13  Roland McGrath  <roland@hack.frob.com>
173
174         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
175         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
176         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
177         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
178         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
179         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
180         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
181         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
182         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
183         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
184         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
185         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
186         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
187         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
188         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
189         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
190         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
191         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
192         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
193         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
194         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
195         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
196         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
197         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
198         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
199         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
200         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
201         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
202         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
203         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
204         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
205         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
206         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
207         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
208         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
209         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
210         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
211         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
212         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
213         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
214         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
215         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
216
217         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
218         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
219
220         * sysdeps/unix/sysv/linux/arm/Makefile
221         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
222         Add rt-aeabi_unwind_cpp_pr1.
223         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
224         Add nptl-aeabi_unwind_cpp_pr1.
225         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
226         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
227         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
228         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
229         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
230         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
231
232         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
233         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
234         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
235         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
236
237         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
238         Deconditionalize the code that was previously under [RESET_PID].
239         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
240
241         * sysdeps/generic/exit-thread.h: New file.
242         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
243         * include/unistd.h (__exit_thread): Remove declaration.
244         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
245         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
246         * csu/libc-start.c: Include <exit-thread.h>.
247         (LIBC_START_MAIN): Pass no argument to __exit_thread.
248         * nptl/pthread_create.c: Include <exit-thread.h>.
249         (start_thread): Call __exit_thread in place of __exit_thread_inline.
250         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
251         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
252         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
253         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
254         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
255         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
256         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
257         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
258         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
259         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
260         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
261         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
262         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
263         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
264         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
265         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
266
267 2014-05-13  Andreas Schwab  <schwab@suse.de>
268
269         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
270
271 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
272
273         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
274         (__ASSUME_UTIMES): Do not condition on kernel version.
275         (__ASSUME_PSELECT): Define unconditionally.
276         (__ASSUME_PPOLL): Likewise.
277         (__ASSUME_ATFCTS): Likewise.
278         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
279         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
280         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
281         (__ASSUME_UTIMENSAT): Define unconditionally.
282         (__ASSUME_PRIVATE_FUTEX): Likewise.
283         (__ASSUME_FALLOCATE): Likewise.
284         (__ASSUME_O_CLOEXEC): Likewise.
285         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
286         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
287         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
288         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
289         (__ASSUME_IN_NONBLOCK): Likewise.
290         (__ASSUME_PIPE2): Likewise.
291         (__ASSUME_EVENTFD2): Likewise.
292         (__ASSUME_SIGNALFD4): Likewise.
293         (__ASSUME_DUP3): Likewise.
294         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
295         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
296         (__ASSUME_AT_RANDOM): Likewise.
297         (__ASSUME_PREADV): Likewise.
298         (__ASSUME_PWRITEV): Likewise.
299         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
300         (__ASSUME_F_GETOWN_EX): Define unconditionally.
301         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
302         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
303         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
304         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
305         (__ASSUME_O_CLOEXEC): Define unconditionally.
306         (__ASSUME_PSELECT): Do not undefine conditionally.
307         (__ASSUME_PPOLL): Likewise.
308         (__ASSUME_ATFCTS): Likewise.
309         (__ASSUME_SET_ROBUST_LIST): Likewise.
310         (__ASSUME_UTIMENSAT): Likewise.
311         (__ASSUME_FDATASYNC): Define unconditionally.
312         * sysdeps/unix/sysv/linux/arm/kernel-features.h
313         (__ASSUME_SIGFRAME_V2): Likewise.
314         )__ASSUME_EVENTFD2): Likewise.
315         (__ASSUME_SIGNALFD4): Likewise.
316         (__ASSUME_PSELECT): Do not undefine conditionally.
317         (__ASSUME_PPOLL): Likewise.
318         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
319         (__ASSUME_PSELECT): Define unconditionally.
320         (__ASSUME_PPOLL): Likewise.
321         (__ASSUME_O_CLOEXEC): Likewise.
322         (__ASSUME_SOCK_CLOEXEC): Likewise.
323         (__ASSUME_IN_NONBLOCK): Likewise.
324         (__ASSUME_PIPE2): Likewise.
325         (__ASSUME_EVENTFD2): Likewise.
326         (__ASSUME_SIGNALFD4): Likewise.
327         (__ASSUME_DUP3): Likewise.
328         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
329         (__ASSUME_O_CLOEXEC): Likewise.
330         (__ASSUME_SOCK_CLOEXEC): Likewise.
331         (__ASSUME_IN_NONBLOCK): Likewise.
332         (__ASSUME_PIPE2): Likewise.
333         (__ASSUME_EVENTFD2): Likewise.
334         (__ASSUME_SIGNALFD4): Likewise.
335         (__ASSUME_DUP3): Likewise.
336         * sysdeps/unix/sysv/linux/mips/kernel-features.h
337         (__ASSUME_EVENTFD2): Likewise.
338         (__ASSUME_SIGNALFD4): Likewise.
339         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
340
341 2014-05-12  Andreas Schwab  <schwab@suse.de>
342
343         [BZ #16932]
344         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
345         (_nss_nis_gethostbyname4_r): Return error if item length is larger
346         than maximum RPC packet size.
347         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
348         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
349         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
350         (_nss_nis_getservbyport_r): Likewise.
351
352 2014-05-12  Will Newton  <will.newton@linaro.org>
353
354         * malloc/Makefile (tests): Add tst-mallopt.
355         * malloc/tst-mallopt.c: New file.
356
357 2014-05-09  Roland McGrath  <roland@hack.frob.com>
358
359         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
360         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
361
362 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
363
364         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
365         (tst-tlsmod6.so): Likewise.
366
367 2014-05-09  Roland McGrath  <roland@hack.frob.com>
368
369         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
370
371 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
372
373         [BZ #16064]
374         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
375         and <dl-procinfo.h>.
376         (__fegetenv): Save SSE state in envp->__eip if supported.
377         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
378         envp->__eip if supported.
379         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
380         and <dl-procinfo.h>.
381         (__fesetenv): Always set __eip, __cs_selector, __opcode,
382         __data_offset and __data_selector in environment to 0.  Set SSE
383         state if supported.
384         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
385         test-fenv-sse.
386         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
387         -mfpmath=sse.
388         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
389
390 2014-05-09  Will Newton  <will.newton@linaro.org>
391
392         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
393         and libc_relro_required for ARM.
394         * sysdeps/arm/preconfigure: Regenerate.
395
396 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
397             Stefan Liebler  <stli@linux.vnet.ibm.com>
398
399         * config.make.in (enable-lock-elision): New Makefile variable.
400         * configure.ac: Likewise.
401         * configure: Regenerate.
402         * sysdeps/s390/configure.ac:
403         Add check for gcc transactions support.
404         * sysdeps/s390/configure: Regenerate.
405         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
406         Build elision files if enabled.
407         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
408         Add lock elision support for s390.
409         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
410         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
411         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
412         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
413         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
414         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
415         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
416         Likewise.
417         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
418         Likewise.
419         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
420         Likewise.
421         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
422         Likewise.
423         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
424         (__lll_timedlock_elision, __lll_lock_elision)
425         (__lll_unlock_elision, __lll_trylock_elision)
426         (lll_timedlock_elision, lll_lock_elision)
427         (lll_unlock_elision, lll_trylock_elision): Add.
428         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
429         (pthread_mutex_t): Add lock elision support for s390.
430
431 2014-05-09  Will Newton  <will.newton@linaro.org>
432
433         * sysdeps/arm/armv7/strcmp.S: New file.
434         * NEWS: Mention addition of ARMv7 optimized strcmp.
435
436 2014-05-08  Roland McGrath  <roland@hack.frob.com>
437
438         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
439         look for %.ac rather than %.in.
440
441         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
442         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
443         * sysdeps/mach/hurd/configure: Regenerated.
444         * sysdeps/unix/sysv/linux/configure: Regenerated.
445
446         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
447
448 2014-05-07  Steve Ellcey  <sellcey@mips.com>
449
450         [BZ# 16922]
451         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
452         (LONG_SUB): Ditto.
453         (PTR_SUB): Ditto.
454
455 2014-05-07  Andreas Schwab  <schwab@suse.de>
456
457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
458         when skipping over non-matching result from nscd.
459
460 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
461
462         [BZ #16876]
463         * nptl/sockperf.c (client): Check socket return value.
464
465         [BZ #16877]
466         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
467         nscd security class.
468
469 2014-05-06  Roland McGrath  <roland@hack.frob.com>
470
471         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
472         * sysdeps/arm/unwind.h: ... here.
473
474 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
475
476         [BZ# 16916]
477         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
478         Define.
479
480 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
481
482         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
483         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
484         multiarch strncpy for PPC64.
485         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
486         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
488         multiarch optimizations.
489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
490         (__libc_ifunc_impl_list): Likewise.
491         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
492         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
493         multiarch stpncpy for PPC64.
494         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
495         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
496
497 2014-05-06  Andreas Schwab  <schwab@suse.de>
498
499         [BZ #16912]
500         * gmon/mcount.c (_MCOUNT_DECL): Use
501         atomic_compare_and_exchange_bool_acq instead of
502         catomic_compare_and_exchange_bool_acq.
503
504 2014-05-05  Roland McGrath  <roland@hack.frob.com>
505
506         * elf/Makefile (others, install-bin): Remove pldd.
507         (pldd-modules): Variable removed.
508         ($(objpfx)pldd): Target removed.
509         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
510         (others, install-bin): Append pldd here.
511         ($(objpfx)pldd): New target.
512
513         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
514         to 0, so the first #if test emitted later doesn't see it undefined.
515         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
516         * sysdeps/gnu/errlist.c: Regenerated.
517
518 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
519
520         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
521         [libc_hidden_builtin_def]: Define to empty value.
522         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
523         [libc_hidden_builtin_def]: Likewise.
524         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
525         [libc_hidden_builtin_def]: Likewise.
526         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
527         [libc_hidden_builtin_def]: Likewise.
528         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
529         __redirect_memcpy and define ifunc as default hidden symbol.
530         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
531         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
532
533 2014-05-04  Adam Conrad  <adconrad@0c3.net>
534
535         * locale/iso-4217.def: Reintroduce XDR currency.
536
537 2014-05-04  Allan McRae  <allan@archlinux.org>
538
539         * po/eo.po: Update Esperanto translation from translation project.
540
541 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
542
543         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
544         and FEATURE_INDEX_MAX to 1.
545         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
546
547 2014-05-01  Steve Ellcey  <sellcey@mips.com>
548
549         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
550         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
551         * iconvdata/big5.c (ONE_DIRECTION): Define.
552         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
553         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
554         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
555         * iconvdata/cp932.c (ONE_DIRECTION): Define.
556         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
557         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
558         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
559         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
560         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
561         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
562         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
563         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
564         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
565         * iconvdata/gbk.c (ONE_DIRECTION): Define.
566         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
567         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
568         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
569         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
570         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
571         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
572         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
573         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
574         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
575         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
576         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
577         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
578         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
579         * iconvdata/iso646.c (ONE_DIRECTION): Define.
580         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
581         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
582         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
583         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
584         * iconvdata/johab.c (ONE_DIRECTION): Define.
585         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
586         * iconvdata/sjis.c (ONE_DIRECTION): Define.
587         * iconvdata/t.61.c (ONE_DIRECTION): Define.
588         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
589         * iconvdata/tscii.c (ONE_DIRECTION): Define.
590         * iconvdata/uhc.c (ONE_DIRECTION): Define.
591         * iconvdata/unicode.c (ONE_DIRECTION): Define.
592         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
593         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
594         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
595
596 2014-05-01  Roland McGrath  <roland@hack.frob.com>
597
598         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
599         (_IO_JUMPS_OFFSET): Define to 0.
600
601         * nptl/sysdeps/pthread/bits/libc-lock.h
602         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
603         (__libc_lock_define_initialized_recursive): Always define using
604         initializer.  Modern compilers treat uninitialized (implicit zero) and
605         explicit zero initializers the same (i.e. put the datum in bss).
606
607 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
608
609         * nscd/nscd-client.h: Include <string.h>.
610
611 2014-05-01  David S. Miller  <davem@davemloft.net>
612
613         [BZ #16885]
614         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
615         multiple zero bytes exist at the end of a string.
616         Reported by Aurelien Jarno <aurelien@aurel32.net>
617
618         * string/test-strcmp.c (check): Add explicit test for situations where
619         there are multiple zero bytes after the first.
620
621 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
622
623         [BZ #16890]
624         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
625         when compiling wprintf.
626         * stdio-common/tstdiomisc.c (t3): New function.
627         (main): Call it.
628
629 2014-05-01  Steve Ellcey  <sellcey@mips.com>
630
631         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
632         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
633         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
634         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
635
636 2014-05-01  Steve Ellcey  <sellcey@mips.com>
637
638         * stdlib/longlong.h: Updated from GCC.
639
640 2014-05-01  Will Newton  <will.newton@linaro.org>
641             Bernard Ogden  <bernie.ogden@linaro.org>
642
643         * NEWS: Update fixed bug list.
644
645         [BZ #15119]
646         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
647
648 2014-04-30  David S. Miller  <davem@davemloft.net>
649
650         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
651         (libc_feholdexcept_setround_sparc_ctx): New function.
652         (libc_fesetenv_sparc_ctx): Likewise.
653         (libc_feupdateenv_sparc_ctx): Likewise.
654         (libc_feholdsetround_sparc_ctx): Likewise.
655         (libc_feholdexcept_setround_ctx): Define.
656         (libc_feholdexcept_setroundf_ctx): Likewise.
657         (libc_feholdexcept_setroundl_ctx): Likewise.
658         (libc_fesetenv_ctx): Likewise.
659         (libc_fesetenvf_ctx): Likewise.
660         (libc_fesetenvl_ctx): Likewise.
661         (libc_feupdateenv_ctx): Likewise.
662         (libc_feupdateenvf_ctx): Likewise.
663         (libc_feupdateenvl_ctx): Likewise.
664         (libc_feresetround_ctx): Likewise.
665         (libc_feresetroundf_ctx): Likewise.
666         (libc_feresetroundl_ctx): Likewise.
667         (libc_feholdsetround_ctx): Likewise.
668         (libc_feholdsetroundf_ctx): Likewise.
669         (libc_feholdsetroundl_ctx): Likewise.
670
671         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
672         with __USE_GNU instead of XOPEN cpp guards.
673
674         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
675         0.
676
677         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
678         with XOPEN cpp guards.
679
680 2014-04-30  Julian Brown  <julian@codesourcery.com>
681
682         [BZ #16888]
683         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
684         handling.
685
686 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
687
688         [BZ #9894]
689         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
690         Change to 2.6.32.
691         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
692         * sysdeps/unix/sysv/linux/configure: Regenerated.
693         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
694         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
695         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
696         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
697         * README: Update reference to required Linux kernel version.
698         * manual/install.texi (Linux): Update reference to required Linux
699         kernel headers version.
700         * INSTALL: Regenerated.
701
702         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
703         header inclusion.
704         [POSIX] (limits.h): Likewise.
705         [POSIX] (math.h): Likewise.
706         [POSIX] (sys/wait.h): Likewise.
707         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
708         function.
709         [POSIX] (stddef.h): Do not allow header inclusion.
710
711 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
712
713         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
714
715 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
716
717         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
718         Return immediately after lll_futex_wake.
719
720 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
721
722         [BZ #16791]
723         * nscd/nscd-client.h (datahead_init_common): Initialize entire
724         structure.
725         (datahead_init_pos): Call datahead_init_common early.
726         (datahead_init_neg): Likewise.
727
728         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
729         datahead_init_neg): New functions.
730         * nscd/aicache.c (addhstaiX): Use them.
731         * nscd/grpcache.c (cache_addgr): Likewise.
732         * nscd/hstcache.c (cache_addhst): Likewise.
733         * nscd/initgrcache.c (addinitgroupsX): Likewise.
734         * nscd/netgroupcache.c (do_notfound): Likewise.
735         (addgetnetgrentX): Likewise.
736         (addinnetgrX): Likewise.
737         * nscd/pwdcache.c (cache_addpw): Likewise.
738         * nscd/servicescache.c (cache_addserv): Likewise.
739
740 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
741             Atsushi Onoe  <atsushi@onoe.org>
742
743         [BZ #14308]
744         [BZ #12994]
745         [BZ #13651]
746         * resolv/res_query.c (__libc_res_nsearch): Return if at least
747         one response is valid.
748         * resolv/res_send.c (send_dg): Check for validity of other
749         response if the current response is a referral.
750
751 2014-04-29  Steve Ellcey  <sellcey@mips.com>
752
753         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
754
755 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
756
757         [BZ #16823]
758         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
759         Always divide by positive zero when computing -Inf result.
760         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
761         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
762
763 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
764
765         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
766         FPSCR if value do not change.
767         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
768         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
769         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
770         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
771         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
772         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
773         function.
774
775 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
776
777         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
778         * sysdeps/unix/sysv/linux/hppa: Move directory from
779         ports/systeps/unix/sysv/linux/hppa.
780         * README: Update listing for hppa-*-linux-gnu.
781
782 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
783
784         [BZ #16754]
785         * manual/stdio.texi (Hook functions): Fix types of stream hook
786         functions.
787         [BZ #16854]
788         * socket/sys/socket.h: Fix typo in comment.
789
790 2014-04-28  Wilco  <wdijkstr@arm.com>
791
792         * sysdeps/arm/fenv_private.h: New file.
793         * sysdeps/arm/math_private.h: New file.
794         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
795
796 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
797
798         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
799         with __int128_t.
800         (La_x86_64_retval): Likewise.
801
802 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
803
804         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
805         fpsr if value didn't change.
806         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
807         to fpcr if value didn't change.
808         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
809         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
810         fpsr or fpcr if value didn't change.
811         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
812         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
813         fpcr if value didn't change.
814         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
815         to fpsr if value didn't change.
816
817 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
818
819         * nptl/tst-sem3.c: Use test-skeleton.c
820         (main): Rename to do_test.  Use return instead of
821         exit.
822         * nptl/tst-sem4.c: Use test-skeleton.c
823         (main): Rename to do_test.
824
825 2014-04-22  David S. Miller  <davem@davemloft.net>
826
827         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
828         (struct sigaction): New struct member __glibc_reserved0, change
829         type of sa_flags to int.
830
831 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
832
833         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
834         (COUNT_LEADING_ZEROS_0): Define for AArch64.
835
836 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
837
838         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
839         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
840
841 2014-04-22  Will Newton  <will.newton@linaro.org>
842             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
843
844         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
845         (__longjmp): Add longjmp and longjmp_target SystemTap
846         probes.
847         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
848         (__sigsetjmp): Add setjmp SystemTap probe.
849
850 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
851
852         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
853         match manual order.
854
855 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
856
857         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
858
859         * sysdeps/powerpc/fpu/fenv_private.h
860         (libc_feholdexcept_setroundl_ctx): Define to
861         libc_feholdexcept_setround_ppc_ctx.
862         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
863         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
864         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
865         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
866
867 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
868
869         * sysdeps/aarch64/math-tests.h: New file.
870
871 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
872
873         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
874         New.
875         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
876         Check and set bit_AVX2_Usable.
877         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
878         macro.
879         (bit_AVX2): Likewise.
880         (index_AVX2_Usable): Likewise.
881         (CPUID_AVX2): Likewise.
882         (HAS_AVX2): Likewise.
883
884 2014-04-17  Will Newton  <will.newton@linaro.org>
885
886         * manual/setjmp.texi (System V contexts): Add note that
887         calling setcontext on a context created by a call to a
888         signal handler is undefined.  Update text to note that
889         setcontext from a signal handler is possible but not
890         recommended.
891
892         [BZ #16629]
893         * stdlib/tst-setcontext.c: Include signal.h.
894         (main): Check that the signal stack before and
895         after swapcontext is the same.
896
897         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
898         Re-implement to restore registers in user code and avoid
899         rt_sigreturn system call.
900
901 2014-04-17  Wilco  <wdijkstr@arm.com>
902
903         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
904         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
905         * math/test-fenv.c: Skip exception trap tests on targets which only
906         support non-stop mode.
907
908 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
909             Wilco Dijkstra  <wilco.dijkstra@arm.com>
910
911         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
912         (libc_feholdsetround_aarch64_ctx)
913         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
914         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
915         (libc_feresetround_ctx, libc_feresetroundf_ctx)
916         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
917         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
918         (libc_feresetround_noexl_ctx): Define.
919
920 2014-04-16  Richard Henderson  <rth@redhat.com>
921
922         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
923
924         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
925         unwind tables.
926
927         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
928         const from the non-libc, non-ldso copy.
929
930         * sysdeps/alpha/libm-test-ulps: Regenerate.
931
932 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
933             Wilco Dijkstra  <wilco.dijkstra@arm.com>
934
935         * sysdeps/aarch64/fpu/math_private.h: New file.
936
937 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
938
939         * sysdeps/aarch64/libm-test-ulps: Regenerate.
940
941 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
942
943         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
944         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
945         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
946         Intel MPX bound registers before _dl_profile_fixup.
947         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
948         registers after _dl_profile_fixup.  Save and restore bound
949         registers bnd0/bnd1 when calling _dl_call_pltexit.
950         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
951         (LR_BND_OFFSET): Likewise.
952         (LRV_BND0_OFFSET): Likewise.
953         (LRV_BND1_OFFSET): Likewise.
954
955 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
956
957         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
958         to...
959         * sysdeps/mach/hurd/i386/tls.h: ... here.
960         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
961         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
962         fields.
963
964 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
965
966         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
967
968 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
969
970         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
971
972 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
973
974         [BZ #14770]
975         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
976         * sysdeps/s390/configure: Regenerate.
977
978         [BZ #16824]
979         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
980         Set round-to-nearest internally to reduce error accumulation.
981
982 2014-04-16  Alan Modra  <amodra@gmail.com>
983
984         [BZ #16740]
985         [BZ #16619]
986         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
987         * math/libm-test.inc (frexp_test_data): Add tests.
988         * NEWS: Update fixed bug list.
989
990 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
991
992         * benchtests/Makefile: Depend on libraries in build directory.
993         (bench-math): Separate out math tests.
994         (bench-pthread): Separate out pthread tests.
995         (bench): Include math and pthread tests.
996
997 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
998
999         [BZ #16831]
1000         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1001         _dl_debug_initialize.
1002
1003         * configure.ac: Remove SELinux header check.
1004         * configure: Regenerate.
1005         * nscd/selinux.c (perms): Array of const char* to permission names.
1006         (nscd_request_avc_has_perm): Call security_deny_unknown to find
1007         default policy. Call string_to_security_class and string_to_av_perm to
1008         translate strings. Enforce default policy and call avs_has_perm with
1009         results of translated strings.
1010
1011 2014-04-13  David S. Miller  <davem@davemloft.net>
1012
1013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1014
1015 2014-04-12  Allan McRae  <allan@archlinux.org>
1016
1017         [BZ #16838]
1018         * manual/string.texi (Collation Functions): Fix qsort argument
1019         order in example.
1020         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1021
1022 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
1023
1024         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1025         Make the test a no-op if there are no exceptions defined.
1026
1027 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1028
1029         * elf/Makefile (tests): make tst-dlopen-aout conditional on
1030         enable-hardcoded-path-in-tests
1031
1032 2014-04-11  Will Newton  <will.newton@linaro.org>
1033
1034         * benchtests/Makefile (extra-objs): Add json-lib.o.
1035         (bench-func): Tidy up JSON output.
1036         * benchtests/bench-skeleton.c: Include json-lib.h.
1037         (main): Use JSON library functions to do output of
1038         benchmark results.
1039         * benchtests/bench-timing-type.c (main): Output the
1040         timing type simply, leaving formatting to the user.
1041         * benchtests/json-lib.c: New file.
1042         * benchtests/json-lib.h: Likewise.
1043
1044 2014-04-11  Torvald Riegel  <triegel@redhat.com>
1045
1046         [BZ #15215]
1047         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1048         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
1049         memory barriers.  Add comments.
1050         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1051         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1052         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1053         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1054         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1055         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1056
1057 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1058
1059         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1060         * sysdeps/s390/s390-64/configure.ac: ... this ...
1061         * sysdeps/s390/configure.ac: ... to here.
1062         * sysdeps/s390/s390-32/configure: Delete file.
1063         * sysdeps/s390/s390-64/configure: Delete file.
1064         * sysdeps/s390/configure: Regenerate.
1065
1066 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
1067
1068         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1069
1070 2014-04-11  Will Newton  <will.newton@linaro.org>
1071
1072         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1073         to zero if it is not defined elsewhere.  (mtrim): Test
1074         the value of MALLOC_DEBUG with #if rather than #ifdef.
1075
1076 2014-04-10 Torvald Riegel  <triegel@redhat.com>
1077
1078         * benchtests/pthread_once-inputs: New file.
1079         * benchtests/pthread_once-source.c: New file.
1080         * benchtests/README: Update documentation.
1081
1082 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1083             H.J. Lu  <hongjiu.lu@intel.com>
1084
1085         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1086         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1087         * sysdeps/x86_64/configure: Regenerated.
1088         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1089         macro.
1090         (REGISTER_SAVE_RAX): Likewise.
1091         (REGISTER_SAVE_RCX): Likewise.
1092         (REGISTER_SAVE_RDX): Likewise.
1093         (REGISTER_SAVE_RSI): Likewise.
1094         (REGISTER_SAVE_RDI): Likewise.
1095         (REGISTER_SAVE_R8): Likewise.
1096         (REGISTER_SAVE_R9): Likewise.
1097         (REGISTER_SAVE_BND0): Likewise.
1098         (REGISTER_SAVE_BND1): Likewise.
1099         (REGISTER_SAVE_BND2): Likewise.
1100         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
1101         bound registers when calling _dl_fixup.
1102
1103 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1104
1105         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1106         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1107         of its definition.
1108         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1109         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1110         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1111         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1112         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1113         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1114         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1115
1116 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
1117
1118         [BZ #15514]
1119         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1120         pathconf(_PC_NAME_MAX).
1121
1122 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1123
1124         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1125         Remove macro usage.
1126         (__PTHREAD_SPINS): Move definition to ...
1127         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1128         (__PTHREAD_SPINS): ... here.
1129         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1130         (__PTHREAD_SPIN): Likewise.
1131         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1132         (__PTHREAD_SPIN): Likewise.
1133         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1134         (__PTHREAD_SPIN): Likewise.
1135         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1136         (__PTHREAD_SPIN): Likewise.
1137         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1138         (__PTHREAD_SPIN): Likewise.
1139         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1140         (__PTHREAD_SPIN): Likewise.
1141         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1142         (__PTHREAD_SPIN): Likewise.
1143         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1144         (__PTHREAD_SPIN): Likewise.
1145         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1146         (__PTHREAD_SPIN): Likewise.
1147         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1148         (__PTHREAD_SPIN): Likewise.
1149         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1150         (__PTHREAD_SPIN): Likewise.
1151         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1152         (__PTHREAD_SPIN): Likewise.
1153
1154         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1155         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1156         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1157         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1158         imply folder.
1159         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1160         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1161         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1162         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1163         correct imply path.
1164         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1165         strlen symbol for non multi-arch builds.
1166         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1167         missing hidden_def and weak_alias.
1168
1169 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
1170
1171         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1172
1173 2014-04-07  Will Newton  <will.newton@linaro.org>
1174
1175         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1176         and contents.  [!_LIBC] Remove #ifndef and contents.
1177         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
1178         * string/memccpy.c (__memccpy): Use ANSI prototype.
1179         * string/memfrob.c (memfrob): Likewise.
1180         * string/strcoll.c (STRCOLL): Likewise.
1181         * string/strlen.c (strlen): Likewise.
1182         * string/strtok.c (STRTOK): Likewise.
1183         * string/strcat.c: Remove unused #include of memcopy.h.
1184         (strcat): Use ANSI prototype.
1185         * string/strchr.c: Remove unused #include of memcopy.h.
1186         (strchr): Use ANSI prototype.
1187         * string/strcmp.c: Remove unused #include of memcopy.h.
1188         (strcmp): Use ANSI prototype.
1189         * string/strcpy.c: Remove unused #include of memcopy.h.
1190         (strcpy): Use ANSI prototype.
1191
1192 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1193
1194         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1195         * config.make.in (config-extra-cppflags): Set it from
1196         libc_extra_cppflags.
1197         * configure.ac (libc_extra_cflags): Make it accumulate over
1198         configure fragments.
1199         (libc_extra_cppflags): New flag.
1200         * configure. Regenerate.
1201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1202         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1203         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1205
1206         [BZ #16815]
1207         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1208         result for FE_DOWNWARD rounding mode.
1209         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1210         Likewise.
1211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1212
1213 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
1214
1215         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1216         in function argument name.
1217
1218 2014-04-03  David Svoboda  <svoboda@cert.org>
1219
1220         [BZ #5666]
1221         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1222         explicitly.
1223
1224 2014-04-03  Roland McGrath  <roland@hack.frob.com>
1225
1226         * elf/dl-unmap-segments.h: New file.
1227         * sysdeps/generic/ldsodefs.h
1228         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1229         * elf/dl-close.c: Include <dl-unmap-segments.h>.
1230         * elf/dl-fptr.c: Likewise.
1231         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1232         * sysdeps/aarch64/tlsdesc.c: Likewise.
1233         * sysdeps/arm/tlsdesc.c: Likewise.
1234         * sysdeps/i386/tlsdesc.c: Likewise.
1235         * sysdeps/tile/dl-runtime.c: Likewise.
1236         * sysdeps/x86_64/tlsdesc.c: Likewise.
1237         * elf/dl-load.h: New file.
1238         * elf/dl-load.c: Include it.
1239         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1240         Macros moved to dl-load.h.
1241         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1242         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1243         Use _dl_unmap_segments in place of __munmap.
1244         Break out segment-mapping loop into ...
1245         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1246
1247 2014-04-03  Will Newton  <will.newton@linaro.org>
1248
1249         * elf/dl-lookup.c (do_lookup_x): Remove comment
1250         referring to nested function and move variable
1251         declarations down to before first use.
1252
1253 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
1254
1255         [BZ #16799]
1256         [BZ #16800]
1257         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1258         with 0 numerator.
1259         * math/s_catanf.c (__catanf): Likewise.
1260         * math/s_catanh.c (__catanh): Likewise.
1261         * math/s_catanhf.c (__catanhf): Likewise.
1262         * math/s_catanhl.c (__catanhl): Likewise.
1263         * math/s_catanl.c (__catanl): Likewise.
1264         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1265         by positive zero when computing -Inf result.
1266         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1267         (catanh_test): Likewise.
1268         * sysdeps/i386/fpu/libm-test-ulps: Update.
1269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1270
1271         [BZ #16789]
1272         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1273         instead of using underflowing value in computing result.
1274         * math/s_clog10.c (__clog10): Likewise.
1275         * math/s_clog10f.c (__clog10f): Likewise.
1276         * math/s_clog10l.c (__clog10l): Likewise.
1277         * math/s_clogf.c (__clogf): Likewise.
1278         * math/s_clogl.c (__clogl): Likewise.
1279         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1280         (clog10_test): Likewise.
1281         * sysdeps/i386/fpu/libm-test-ulps: Update.
1282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1283
1284 2014-04-02  Alan Modra  <amodra@gmail.com>
1285
1286         [BZ #16739]
1287         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1288         output when value is near a power of two.  Use int64_t for lx and
1289         remove casts.  Use decimal rather than hex exponent constants.
1290         Don't use long double multiplication when double will suffice.
1291         * math/libm-test.inc (nextafter_test_data): Add tests.
1292         * NEWS: Add 16739 and 16786 to bug list.
1293
1294         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1295
1296         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1297
1298 2014-04-01  Will Newton  <will.newton@linaro.org>
1299
1300         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1301         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
1302
1303 2014-04-01  Florian Weimer  <fweimer@redhat.com>
1304
1305         [BZ #13347]
1306         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1307         * nptl/tst-setuid2.c: New file.
1308         * nptl/Makefile (xtests): Add tst-setuid2.
1309
1310 2014-04-01  Alan Modra  <amodra@gmail.com>
1311
1312         [BZ #16786]
1313         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1314
1315 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1316
1317         [BZ #6803]
1318         [BZ #6804]
1319         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1320         set errno as appropriate.
1321         * math/w_scalbf.c (__scalbf): Likewise.
1322         * math/w_scalbl.c (__scalbl): Likewise.
1323         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1324         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1325         * math/libm-test.inc (scalb_test_data): Add errno expectations.
1326         Add more NaN tests.
1327
1328         [BZ #16349]
1329         * math/w_atan2.c: Include <errno.h>.
1330         (__atan2): Set errno for result underflowing to zero.
1331         * math/w_atan2f.c: Include <errno.h>.
1332         (__atan2f): Set errno for result underflowing to zero.
1333         * math/w_atan2l.c: Include <errno.h>.
1334         (__atan2l): Set errno for result underflowing to zero.
1335         * math/auto-libm-test-in: Don't allow missing errno for some atan2
1336         tests.
1337         * math/auto-libm-test-out: Regenerated.
1338
1339 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1340
1341         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1342         Encode instruction correctly in little endian.
1343         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1344         Likewise.
1345         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1346         Likewise.
1347         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1348         Likewise.
1349         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1350         Likewise.
1351
1352 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1353
1354         [BZ #9894]
1355         * sysdeps/unix/sysv/linux/kernel-features.h
1356         [__sparc__ && !__arch64__ && !__sparc_v9__]
1357         (__ASSUME_SET_ROBUST_LIST): Do not define.
1358         [__sparc__ && !__arch64__ && !__sparc_v9__]
1359         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1360         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1361         Likewise.
1362         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1363         (__ASSUME_FUTEX_LOCK_PI): Undefine.
1364         (__ASSUME_REQUEUE_PI): Likewise.
1365         (__ASSUME_SET_ROBUST_LIST): Likewise.
1366         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1367         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1368         Undefine.
1369         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1370         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1371         Likewise.
1372         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1373         Likewise.
1374         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1375         Likewise.
1376         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1377         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1378         Undefine.
1379         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1380         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1381         Likewise.
1382
1383         [BZ #16648]
1384         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1385         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1386         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1387
1388 2014-03-31  Will Newton  <will.newton@linaro.org>
1389
1390         * benchtests/Makefile (bench): Add ffs and ffsll to list
1391         of tests.
1392         * benchtests/ffs-inputs: New file.
1393         * benchtests/ffsll-inputs: Likewise.
1394
1395 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
1396
1397         [BZ #16770]
1398         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1399         too large before casting to int.
1400         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1401         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1402         * math/libm-test.inc (scalb_test_data): Add more tests.
1403
1404 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1405
1406         * benchtests/Makefile (DETAILED_OPT): New make option.
1407         (bench-func): Run benchmark program with -d if DETAILED_OPT is
1408         set.
1409         * benchtests/bench-skeleton.c: Include stdbool.h.
1410         (main): Store and print timings per input.
1411         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1412         member to each argument value.
1413         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1414         (_print_arg_data): Initialize per-input timing to 0.
1415
1416         * benchtests/Makefile (timing-type): New binary.
1417         (bench-clean): Also remove bench-timing-type.
1418         (bench): New target for timing-type.
1419         (bench-func): Print output in JSON format.
1420         * benchtests/bench-skeleton.c (main): Print output in JSON
1421         format.
1422         * benchtests/bench-timing-type.c: New file.
1423         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1424         (TIMING_PRINT_STATS): Remove.
1425         * benchtests/scripts/bench.py (_print_arg_data): Store variant
1426         name separately.
1427
1428         * benchtests/bench-modf.c: Remove.
1429         * benchtests/modf-inputs: New inputs file.
1430
1431 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
1432
1433         [BZ #16362]
1434         * math/s_clog10.c (M_PI_LOG10E): New macro.
1435         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1436         imaginary parts are 0.
1437         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1438         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1439         imaginary parts are 0.
1440         * math/s_clog10l.c (M_PI_LOG10El): New macro.
1441         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1442         imaginary parts are 0.
1443         * math/libm-test.inc (clog10_test_data): Update expected results
1444         for when real and imaginary parts are 0.
1445
1446 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
1447
1448         * elf/dl-load.c: Finish conversion of __builtin_expect into
1449         __glibc_{un}likely.
1450
1451 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
1452
1453         [BZ #16348]
1454         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1455         1+x for argument with exponent below -67.
1456         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1457         Likewise.
1458         * math/auto-libm-test-in: Add more tests of exp.
1459         * math/auto-libm-test-out: Regenerated.
1460
1461 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1462
1463         [BZ #16759]
1464         * inet/getnetgrent_r.c (get_nonempty_val): New function.
1465         (nscd_getnetgrent): Use it.
1466
1467         [BZ #16760]
1468         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1469         of stpcpy.
1470
1471 2014-03-27  Andi Kleen  <ak@linux.intel.com>
1472
1473         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1474         (lll_robust_lock, lll_cond_lock, lll_timedlock)
1475         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1476         (lll_robust_unlock): Remove out of line section. Use cfi
1477         intrinsics.
1478         (LLL_STUB_UNWIND_INFO*): Remove.
1479         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1480         (lll_robust_lock, lll_cond_lock, lll_timedlock)
1481         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1482         (lll_robust_unlock): Remove out of line section. Use cfi
1483         intrinsics.
1484         (LLL_STUB_UNWIND_INFO*): Remove.
1485
1486 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1487
1488         [BZ #16758]
1489         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1490         blank values.
1491
1492 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
1493
1494         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1495
1496 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
1497
1498         [BZ #16198]
1499         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1500         fnstenv.
1501         * math/test-fenv-preserve.c: New file.
1502         * math/Makefile (tests): Add test-fenv-preserve.
1503
1504 2014-03-26  Will Newton <will.newton@linaro.org>
1505
1506         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1507
1508 2014-03-25  Roland McGrath  <roland@hack.frob.com>
1509
1510         * scripts/versionlist.awk: Partition the version sets and emit all
1511         GLIBC_* (sorted) before all others (sorted).
1512
1513 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
1514
1515         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1516         GLIBC_2.2.5 version.
1517
1518 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1519
1520         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1521         calls.
1522
1523         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1524         previous change.
1525
1526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1527
1528 2014-03-25  Andreas Schwab  <schwab@suse.de>
1529
1530         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1531         label to be used after in6ailist is initialized.
1532
1533 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1534
1535         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1536         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1537
1538 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
1539
1540         [BZ #16357]
1541         [BZ #16599]
1542         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1543         min_plus_half.
1544         (fp_formats): Update initializers.
1545         (init_fp_formats): Initialize new field.
1546         (output_for_one_input_case): Allow underflow for results up to
1547         min_plus_half.
1548         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1549         * math/auto-libm-test-in: Don't mark some underflows from asin and
1550         atanh as spurious.
1551         * math/auto-libm-test-out: Regenerated.
1552         * sysdeps/i386/fpu/libm-test-ulps: Update.
1553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1554
1555 2014-03-25  Andreas Schwab  <schwab@suse.de>
1556
1557         * libio/Makefile (tst-ftell-partial-wide-ENV)
1558         (tst-ftell-active-handler-ENV): Define.
1559
1560 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
1561
1562         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1563
1564 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1565
1566         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1567
1568 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
1569
1570         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1571         * sysdeps/x86_64/fpu/multiarch/e_exp.c
1572         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1573
1574 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1575
1576         [BZ #16634]
1577         * elf/dl-load.c (open_verify): Add mode parameter.
1578         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1579         (open_path): Change from boolean 'secure' to complete flag 'mode'
1580         (_dl_map_object): Adjust.
1581         * elf/Makefile (tests): Add tst-dlopen-aout.
1582         * elf/tst-dlopen-aout.c: New test.
1583
1584 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
1585
1586         [BZ #16714]
1587         * sysdeps/unix/sysv/linux/s390/bits/stat.h
1588         (struct stat): Rename member pad0 to __glibc_reserved0.
1589
1590         [BZ #16712]
1591         * sysdeps/s390/s390-32/bits/wordsize.h
1592         (__WORDSIZE32_SIZE_ULONG): New define.
1593         * sysdeps/s390/s390-64/bits/wordsize.h
1594         (__WORDSIZE32_SIZE_ULONG): Likewise.
1595         * sysdeps/generic/stdint.h (SIZE_MAX):
1596         Define as UL if __WORDSIZE32_SIZE_ULONG.
1597
1598         [BZ #16713]
1599         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1600         (__glibc_reserved0): New variable.
1601         (sa_flags): Change type to int.
1602
1603         * posix/Makefile (before-compile): Use += before-compile instead
1604         of a :=.
1605
1606         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1607         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1608
1609 2014-03-20  Andreas Schwab  <schwab@suse.de>
1610
1611         [BZ #16743]
1612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1613         non-matching result from nscd.
1614
1615 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1616
1617         * scripts/bench.py: Moved to ...
1618         * benchtests/scripts/bench.py: ... here.
1619         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1620
1621 2014-03-24  Andreas Schwab  <schwab@suse.de>
1622
1623         [BZ #16002]
1624         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1625         alloca_account and account alloca use for struct in6ailist.
1626
1627 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
1628
1629         [BZ #16284]
1630         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1631         rounding mode to recompute results that overflow to infinity or
1632         underflow to zero.
1633         * math/auto-libm-test-in: Don't mark tests as expected to fail for
1634         bug 16284.
1635         * math/auto-libm-test-out: Regenerated.
1636         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1637         (ccosh_test): Likewise.
1638         (csin_test_data): Use plus_oflow.
1639         (csin_test): Use ALL_RM_TEST.
1640         (csinh_test_data): Use plus_oflow.
1641         (csinh_test): Use ALL_RM_TEST.
1642         * sysdeps/i386/fpu/libm-test-ulps: Update.
1643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1644
1645 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
1646
1647         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1648         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1649         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1650
1651         [BZ #16731]
1652         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1653         when x - 1 is zero.
1654         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1655         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1656         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1657         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1658         argument is 1.
1659         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1660         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1661         zero.
1662         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1663         * sysdeps/i386/fpu/libm-test-ulps: Update.
1664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1665
1666 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1667
1668         * scripts/bench.pl: Remove file.
1669         * scripts/bench.py: New benchmark script.
1670         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1671         * benchtests/README: Mention python dependency.
1672         * scripts/pylintrc: New file.
1673         * scripts/pylint: New file.
1674
1675         * bits/mathdef.h: Use #ifdef instead of #if.
1676         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1677         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1678         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1679         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1680         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1681         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1682
1683 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1684             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1685
1686         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1688         and strpbrk-ppc64 objects.
1689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1690         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1691         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1692         multiarch strpbrk for POWER7.
1693         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1694         multiarch strpbrk for PPC64.
1695         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1696         ifunc selector.
1697         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1698         strpbrk for POWER7.
1699
1700 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
1701
1702         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1703         (atan_test): Likewise.
1704         (atanh_test_data): Use NO_TEST_INLINE for two tests.
1705         (atanh_test): Use ALL_RM_TEST.
1706         (atan2_test_data): Likewise.
1707         (cabs_test): Likewise.
1708         (cacosh_test): Likewise.
1709         (carg_test): Likewise.
1710         (casin_test): Likewise.
1711         (casinh_test): Likewise.
1712         (cbrt_test): Likewise.
1713         (csqrt_test): Likewise.
1714         (erf_test): Likewise.
1715         (erfc_test): Likewise.
1716         (pow10_test): Likewise.
1717         (exp2_test): Likewise.
1718         (hypot_test): Likewise.
1719         (j0_test): Likewise.
1720         (j1_test): Likewise.
1721         (lgamma_test): Likewise.
1722         (gamma_test): Likewise.
1723         (sincos_test): Likewise.
1724         (tanh_test): Likewise.
1725         (y0_test): Likewise.
1726         (y1_test): Likewise.
1727         * sysdeps/i386/fpu/libm-test-ulps: Update.
1728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1729
1730 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1731
1732         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1734         and strcspn-ppc64 objects.
1735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1736         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1737         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1738         multiarch strcspn for POWER7.
1739         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1740         multiarch strcspn for PPC64.
1741         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1742         ifunc selector.
1743         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1744         strcspn for POWER7.
1745
1746 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
1747
1748         * math/gen-libm-test.pl (generate_testfile): Expect only function
1749         name as argument to AUTO_TESTS_* and pass results for all rounding
1750         modes to parse_args.
1751         (parse_auto_input): Separate inputs of automatic tests from
1752         outputs before storing in %auto_tests.
1753         * math/libm-test.inc (acos_test_data): Update call to
1754         AUTO_TESTS_f_f.
1755         (acos_test): Use ALL_RM_TEST.
1756         (acos_tonearest_test_data): Remove.
1757         (acos_test_tonearest): Likewise.
1758         (acos_towardzero_test_data): Likewise.
1759         (acos_test_towardzero): Likewise.
1760         (acos_downward_test_data): Likewise.
1761         (acos_test_downward): Likewise.
1762         (acos_upward_test_data): Likewise.
1763         (acos_test_upward): Likewise.
1764         (acosh_test_data): Update call to AUTO_TESTS_f_f.
1765         (asin_test_data): Likewise.
1766         (asin_test): Use ALL_RM_TEST.
1767         (asin_tonearest_test_data): Remove.
1768         (asin_test_tonearest): Likewise.
1769         (asin_towardzero_test_data): Likewise.
1770         (asin_test_towardzero): Likewise.
1771         (asin_downward_test_data): Likewise.
1772         (asin_test_downward): Likewise.
1773         (asin_upward_test_data): Likewise.
1774         (asin_test_upward): Likewise.
1775         (asinh_test_data): Update call to AUTO_TESTS_f_f.
1776         (atan_test_data): Likewise.
1777         (atanh_test_data): Likewise.
1778         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1779         (cabs_test_data): Update call to AUTO_TESTS_c_f.
1780         (carg_test_data): Likewise.
1781         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1782         (ccos_test_data): Update call to AUTO_TESTS_c_c.
1783         (ccosh_test_data): Likewise.
1784         (cexp_test_data): Likewise.
1785         (clog_test_data): Likewise.
1786         (clog10_test_data): Likewise.
1787         (cos_test_data): Update call to AUTO_TESTS_f_f.
1788         (cos_test): Use ALL_RM_TEST.
1789         (cos_tonearest_test_data): Remove.
1790         (cos_test_tonearest): Likewise.
1791         (cos_towardzero_test_data): Likewise.
1792         (cos_test_towardzero): Likewise.
1793         (cos_downward_test_data): Likewise.
1794         (cos_test_downward): Likewise.
1795         (cos_upward_test_data): Likewise.
1796         (cos_test_upward): Likewise.
1797         (cosh_test_data): Update call to AUTO_TESTS_f_f.
1798         (cosh_test): Use ALL_RM_TEST.
1799         (cosh_tonearest_test_data): Remove.
1800         (cosh_test_tonearest): Likewise.
1801         (cosh_towardzero_test_data): Likewise.
1802         (cosh_test_towardzero): Likewise.
1803         (cosh_downward_test_data): Likewise.
1804         (cosh_test_downward): Likewise.
1805         (cosh_upward_test_data): Likewise.
1806         (cosh_test_upward): Likewise.
1807         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1808         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1809         (ctan_test_data): Likewise.
1810         (ctan_test): Use ALL_RM_TEST.
1811         (ctan_tonearest_test_data): Remove.
1812         (ctan_test_tonearest): Likewise.
1813         (ctan_towardzero_test_data): Likewise.
1814         (ctan_test_towardzero): Likewise.
1815         (ctan_downward_test_data): Likewise.
1816         (ctan_test_downward): Likewise.
1817         (ctan_upward_test_data): Likewise.
1818         (ctan_test_upward): Likewise.
1819         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1820         (ctanh_test): Use ALL_RM_TEST.
1821         (ctanh_tonearest_test_data): Remove.
1822         (ctanh_test_tonearest): Likewise.
1823         (ctanh_towardzero_test_data): Likewise.
1824         (ctanh_test_towardzero): Likewise.
1825         (ctanh_downward_test_data): Likewise.
1826         (ctanh_test_downward): Likewise.
1827         (ctanh_upward_test_data): Likewise.
1828         (ctanh_test_upward): Likewise.
1829         (erf_test_data): Update call to AUTO_TESTS_f_f.
1830         (erfc_test_data): Likewise.
1831         (exp_test_data): Likewise.
1832         (exp_test): Use ALL_RM_TEST.
1833         (exp_tonearest_test_data): Remove.
1834         (exp_test_tonearest): Likewise.
1835         (exp_towardzero_test_data): Likewise.
1836         (exp_test_towardzero): Likewise.
1837         (exp_downward_test_data): Likewise.
1838         (exp_test_downward): Likewise.
1839         (exp_upward_test_data): Likewise.
1840         (exp_test_upward): Likewise.
1841         (exp10_test_data): Update call to AUTO_TESTS_f_f.
1842         (exp10_test): Use ALL_RM_TEST.
1843         (exp10_tonearest_test_data): Remove.
1844         (exp10_test_tonearest): Likewise.
1845         (exp10_towardzero_test_data): Likewise.
1846         (exp10_test_towardzero): Likewise.
1847         (exp10_downward_test_data): Likewise.
1848         (exp10_test_downward): Likewise.
1849         (exp10_upward_test_data): Likewise.
1850         (exp10_test_upward): Likewise.
1851         (exp2_test_data): Update call to AUTO_TESTS_f_f.
1852         (expm1_test_data): Likewise.
1853         (expm1_test): Use ALL_RM_TEST.
1854         (expm1_tonearest_test_data): Remove.
1855         (expm1_test_tonearest): Likewise.
1856         (expm1_towardzero_test_data): Likewise.
1857         (expm1_test_towardzero): Likewise.
1858         (expm1_downward_test_data): Likewise.
1859         (expm1_test_downward): Likewise.
1860         (expm1_upward_test_data): Likewise.
1861         (expm1_test_upward): Likewise.
1862         (fma_test_data): Update call to AUTO_TESTS_fff_f.
1863         (fma_test): Use ALL_RM_TEST.
1864         (fma_towardzero_test_data): Remove.
1865         (fma_test_towardzero): Likewise.
1866         (fma_downward_test_data): Likewise.
1867         (fma_test_downward): Likewise.
1868         (fma_upward_test_data): Likewise.
1869         (fma_test_upward): Likewise.
1870         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1871         (j0_test_data): Update call to AUTO_TESTS_f_f.
1872         (j1_test_data): Likewise.
1873         (jn_test_data): Update call to AUTO_TESTS_if_f.
1874         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1875         (log_test_data): Update call to AUTO_TESTS_f_f.
1876         (log10_test_data): Likewise.
1877         (log1p_test_data): Likewise.
1878         (log2_test_data): Likewise.
1879         (pow_test_data): Update call to AUTO_TESTS_ff_f.
1880         (pow_tonearest_test_data): Likewise.
1881         (sin_test_data): Update call to AUTO_TESTS_f_f.
1882         (sin_test): Use ALL_RM_TEST.
1883         (sin_tonearest_test_data): Remove.
1884         (sin_test_tonearest): Likewise.
1885         (sin_towardzero_test_data): Likewise.
1886         (sin_test_towardzero): Likewise.
1887         (sin_downward_test_data): Likewise.
1888         (sin_test_downward): Likewise.
1889         (sin_upward_test_data): Likewise.
1890         (sin_test_upward): Likewise.
1891         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1892         (sinh_test_data): Update call to AUTO_TESTS_f_f.
1893         (sinh_test): Use ALL_RM_TEST.
1894         (sinh_tonearest_test_data): Remove.
1895         (sinh_test_tonearest): Likewise.
1896         (sinh_towardzero_test_data): Likewise.
1897         (sinh_test_towardzero): Likewise.
1898         (sinh_downward_test_data): Likewise.
1899         (sinh_test_downward): Likewise.
1900         (sinh_upward_test_data): Likewise.
1901         (sinh_test_upward): Likewise.
1902         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1903         (sqrt_test): Use ALL_RM_TEST.
1904         (sqrt_tonearest_test_data): Remove.
1905         (sqrt_test_tonearest): Likewise.
1906         (sqrt_towardzero_test_data): Likewise.
1907         (sqrt_test_towardzero): Likewise.
1908         (sqrt_downward_test_data): Likewise.
1909         (sqrt_test_downward): Likewise.
1910         (sqrt_upward_test_data): Likewise.
1911         (sqrt_test_upward): Likewise.
1912         (tan_test_data): Update call to AUTO_TESTS_f_f.
1913         (tan_test): Use ALL_RM_TEST.
1914         (tan_tonearest_test_data): Remove.
1915         (tan_test_tonearest): Likewise.
1916         (tan_towardzero_test_data): Likewise.
1917         (tan_test_towardzero): Likewise.
1918         (tan_downward_test_data): Likewise.
1919         (tan_test_downward): Likewise.
1920         (tan_upward_test_data): Likewise.
1921         (tan_test_upward): Likewise.
1922         (tanh_test_data): Update call to AUTO_TESTS_f_f.
1923         (tgamma_test_data): Likewise.
1924         (y0_test_data): Likewise.
1925         (y1_test_data): Likewise.
1926         (yn_test_data): Update call to AUTO_TESTS_if_f.
1927         (main): Do not call removed functions.
1928
1929 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
1930
1931         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1932         (ldexp_test_data): Remove.
1933         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
1934         scalbn_test_data.
1935         (scalb_test): Use ALL_RM_TEST.
1936
1937 2014-03-19  Andreas Schwab  <schwab@suse.de>
1938
1939         * nscd/nscd.service: Also invalidate netgroup cache on reload.
1940
1941 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
1942
1943         [BZ #16649]
1944         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1945         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1946         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1947         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1948         (__ASSUME_PREADV): Undefine.
1949         (__ASSUME_PWRITEV): Likewise.
1950
1951 2014-03-18  Roland McGrath  <roland@hack.frob.com>
1952
1953         * bits/mman-linux.h: Add comment about non-Linux use.
1954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1955         bits/mman-linux.h resting place.
1956
1957         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1958         * bits/mman-linux.h: ... here.
1959
1960 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1961
1962         * conform/conformtest.pl: Add standard definition when calling C
1963         preprocessor on data files.
1964         (checknamespace): Remove unused variable.
1965
1966 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
1967
1968         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1969         minus_oflow, plus_uflow and minus_uflow in expected results.
1970         * math/libm-test.inc (scalbn_test_data): Add more tests of
1971         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
1972         minus_uflow.
1973         (scalbn_test): Use ALL_RM_TEST.
1974         (scalbln_test_data): Add more tests of negative arguments.  Use
1975         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1976         (scalbln_test): Use ALL_RM_TEST.
1977
1978 2014-03-18  Roland McGrath  <roland@hack.frob.com>
1979
1980         * scripts/abilist.awk: Ignore symbols marked with .hidden.
1981
1982 2014-03-18  Will Newton  <will.newton@linaro.org>
1983
1984         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1985         inaccurate comment.
1986
1987 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
1988
1989         * Makerules [!subdir] (check-abi): Exit with error status if a
1990         test failed.
1991
1992 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
1993
1994         * math/libm-test.inc (nearbyint_test_data): Include all tests used
1995         for rint.  Include results for all rounding modes.
1996         (nearbyint_test): Use ALL_RM_TEST.
1997         (rint_test_data): Include all tests used for nearbyint.
1998
1999 2014-03-17  Will Newton  <will.newton@linaro.org>
2000
2001         * nptl/sysdeps/pthread/pthread.h: Revert previous
2002         change.
2003
2004         * sysdeps/generic/ldsodefs.h: Revert previous
2005         change.
2006
2007         * libio/genops.c: Revert previous change.
2008         * libio/libioP.h: Likewise.
2009         * stdio-common/vfprintf.c: Likewise.
2010
2011         * sysdeps/generic/math_private.h: Revert previous
2012         change.
2013
2014         * sysdeps/generic/math_private.h: Check whether
2015         HAVE_RM_CTX is defined with #ifdef rather
2016         than #if.
2017
2018         * argp/argp-fmtstream.h: Check whether
2019         __STRICT_ANSI__ is defined with #ifdef rather
2020         than #if.
2021         * argp/argp.h: Likewise.
2022
2023         * libio/genops.c: Check whether
2024         _IO_JUMPS_OFFSET is defined with #ifdef rather
2025         than #if.
2026         * libio/libioP.h: Likewise.
2027         * stdio-common/vfprintf.c: Likewise.
2028
2029         * sysdeps/generic/ldsodefs.h: Check whether
2030         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2031         than #if.
2032
2033         * nptl/sysdeps/pthread/pthread.h: Check
2034         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2035         its value.
2036
2037 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2038
2039         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2040         setting O_APPEND.
2041         * libio/tst-ftell-active-handler.c (do_append_test): Add a
2042         test case.
2043
2044         [BZ #16680]
2045         * libio/fileops.c (_IO_file_open): Seek to end of file but
2046         don't cache the offset.
2047         (get_file_offset): Remove function.
2048         (do_ftell): Use cached offset when available.
2049         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2050         don't cache the offset.
2051         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2052         case.
2053         (do_one_test): Call it.
2054         (do_ftell_test): Fix up expected old offset for a+ mode.
2055         * libio/wfileops.c (do_ftell_wide): Used cached offset when
2056         available.
2057
2058         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2059         up test status with function return status.
2060         (do_write_test): Likewise.
2061         (do_append_test): Likewise.
2062
2063         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2064         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2065         Remove.
2066
2067 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2068
2069         * math/gen-libm-test.pl (parse_args): Handle results specified for
2070         each rounding mode separately.
2071         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2072         tests and results from lrint_tonearest_test_data,
2073         lrint_towardzero_test_data, lrint_downward_test_data and
2074         lrint_upward_test_data.
2075         (lrint_test): Use ALL_RM_TEST.
2076         (lrint_tonearest_test_data): Remove.
2077         (lrint_test_tonearest): Likewise.
2078         (lrint_towardzero_test_data): Likewise.
2079         (lrint_test_towardzero): Likewise.
2080         (lrint_downward_test_data): Likewise.
2081         (lrint_test_downward): Likewise.
2082         (lrint_upward_test_data): Likewise.
2083         (lrint_test_upward): Likewise.
2084         (llrint_test_data): Merge in per-rounding-mode tests and results
2085         from llrint_tonearest_test_data, llrint_towardzero_test_data,
2086         llrint_downward_test_data and llrint_upward_test_data.
2087         (llrint_test): Use ALL_RM_TEST.
2088         (llrint_tonearest_test_data): Remove.
2089         (llrint_test_tonearest): Likewise.
2090         (llrint_towardzero_test_data): Likewise.
2091         (llrint_test_towardzero): Likewise.
2092         (llrint_downward_test_data): Likewise.
2093         (llrint_test_downward): Likewise.
2094         (llrint_upward_test_data): Likewise.
2095         (llrint_test_upward): Likewise.
2096         (rint_test_data): Merge in per-rounding-mode tests and results
2097         from rint_tonearest_test_data, rint_towardzero_test_data,
2098         rint_downward_test_data and rint_upward_test_data.  Add
2099         per-rounding-mode results for tests not in those arrays.
2100         (rint_test): Use ALL_RM_TEST.
2101         (rint_tonearest_test_data): Remove.
2102         (rint_test_tonearest): Likewise.
2103         (rint_towardzero_test_data): Likewise.
2104         (rint_test_towardzero): Likewise.
2105         (rint_downward_test_data): Likewise.
2106         (rint_test_downward): Likewise.
2107         (rint_upward_test_data): Likewise.
2108         (rint_test_upward): Likewise.
2109         (main): Don't call removed functions.
2110
2111 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2112
2113         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2114         "Compiled on ..." crapola.  It is anti-useful.
2115
2116 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
2117
2118         * scripts/evaluate-test.sh: Handle fourth argument to determine
2119         whether test run should stop on failure.
2120         * Makeconfig (stop-on-test-failure): New variable.
2121         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2122         $(stop-on-test-failure).
2123         * Makefile (tests): Give a summary of results from testing and
2124         exit with failure status if they include an ERROR or FAIL.
2125         (xtests): Likewise.
2126         * manual/install.texi (Configuring and compiling): Mention
2127         stop-on-test-failure=y.
2128         * INSTALL: Regenerated.
2129
2130 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2131
2132         * scripts/versionlist.awk: New file.
2133         * Makerules [$(build-shared) = yes]
2134         (postclean-generated): Add Versions.def, not Versions.def.v and
2135         Versions.def.v.i.
2136         ($(common-objpfx)Versions.def.v.i): Target removed.
2137         ($(common-objpfx)Versions.def): New target.
2138         ($(common-objpfx)Versions.all): Depend on that rather that
2139         $(common-objpfx)Versions.def.v.
2140         * Versions.def: File removed.
2141
2142         * Makeconfig (+gccwarn): Add -Wundef.
2143         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2144         a dl-sysdep.h breaking its contract.
2145         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2146         * include/stackinfo.h: New file.
2147         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2148         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2149         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2150         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2151         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2152         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2153         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2154         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2155         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2156         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2157         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2158         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2159         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2160         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2161         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2162
2163 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2164
2165         [BZ #16707]
2166         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2167         implementation.
2168         * math/libm-test.inc (round_test_data): Add more tests.
2169
2170         [BZ #16706]
2171         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2172         implementation.
2173         * math/libm-test.inc (nearbyint_test_data): Add more tests.
2174
2175         [BZ #16701]
2176         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2177         implementation.
2178         * math/libm-test.inc (ceil_test_data): Add more tests.
2179
2180         * math/libm-test.inc (trunc_test_data): Add more tests related to
2181         BZ#16414.
2182
2183 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2184
2185         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2186         with #if rather than #ifdef.
2187         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2188
2189 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
2190
2191         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2192         first.  Disable AVX-512 GCC support if assembler doesn't support
2193         it.
2194         * sysdeps/x86_64/configure: Regenerated.
2195
2196 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
2197
2198         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2199         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2200         (__old_pthread_attr_setstack): Likewise.
2201         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2202         [!_STACK_GROWS_DOWN]: Likewise.
2203
2204 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
2205
2206         * config.make.in (have-bash2): Delete.
2207         * configure.ac (libc_cv_have_bash2): Delete.
2208         * configure: Regenerate.
2209         * elf/Makefile (common-ldd-rewrite): Rename to ...
2210         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
2211         (sh-ldd-rewrite): Delete.
2212         (bash-ldd-rewrite): Delete.
2213         (have-bash2): Delete checks.
2214         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2215         ldd-rewrite.
2216
2217         * config.make.in (have-ksh): Delete.
2218         (KSH): Delete.
2219         * configure.ac (libc_cv_have_ksh): Delete.
2220         * configure: Regenerate.
2221
2222         * elf/Makefile: Delete $(have-ksh) check.
2223         ($(objpfx)sotruss): Change KSH to BASH.
2224         * elf/sotruss.ksh: Rename to ...
2225         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
2226         function style to match POSIX.  Drop ksh vim mode setting.
2227
2228         * manual/time.texi (Specifying the Time Zone with TZ): Change
2229         Tuesday to Thursday.
2230
2231         * debug/tst-longjmp_chk2.c: Update header comment.
2232         (stackoverflow_handler): Add comment.  Call assert on pass value.
2233
2234 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
2235
2236         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2237         (HAVE_AVX512_ASM_SUPPORT): Likewise.
2238         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2239         (La_x86_64_vector): Add zmm.
2240         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2241         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2242         ($(objpfx)tst-audit10): New target.
2243         ($(objpfx)tst-audit10.out): Likewise.
2244         (tst-audit10-ENV): New.
2245         (AVX512-CFLAGS): Likewise.
2246         (CFLAGS-tst-audit10.c): Likewise.
2247         (CFLAGS-tst-auditmod10a.c): Likewise.
2248         (CFLAGS-tst-auditmod10b.c): Likewise.
2249         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2250         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2251         * sysdeps/x86_64/configure: Regenerated.
2252         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2253         AVX-512 zmm register support.
2254         (_dl_x86_64_save_sse): Likewise.
2255         (_dl_x86_64_restore_sse): Likewise.
2256         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2257         size vector registers.
2258         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2259         (ZMM_SIZE): Likewise.
2260         * sysdeps/x86_64/tst-audit10.c: New file.
2261         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2262         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2263
2264 2014-03-13  Roland McGrath  <roland@hack.frob.com>
2265
2266         * configure.ac (HAVE_EHDR_START): New check.
2267         * configure: Regenerated.
2268         * config.h.in (HAVE_EHDR_START): New #undef.
2269         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2270         assuming the lowest-addressed segment maps the start of the file.
2271
2272 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
2273
2274         * INSTALL: Regenerated.
2275
2276 2014-03-13  Will Newton  <will.newton@linaro.org>
2277
2278         * manual/setjmp.texi (System V contexts): Improve
2279         clarity and grammar of documentation.
2280
2281 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2282
2283         [BZ #16381]
2284         * elf/Makefile (tests): Add tst-pie2.
2285         (tests-pie): Add tst-pie2.
2286         * elf/tst-pie2.c: New file.
2287         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2288         for ET_EXEC.
2289         * elf/rtld.c (map_doit): Load executable as lt_executable.
2290         (dl_main): Likewise.
2291
2292 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
2293
2294         [BZ #16642]
2295         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2296         (__ASSUME_PSELECT): Undefine.
2297
2298 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2299
2300         [BZ #16689]
2301         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2302         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2303         static build.
2304         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2305         selector for static builds.
2306
2307 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2308
2309         [BZ #16695]
2310         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2311         key in the buffer.
2312
2313 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2314
2315         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2316         IFUNC selector for static builds.
2317
2318 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
2319
2320         * sysdeps/mips/math_private.h [__mips_hard_float]
2321         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2322         libc_feresetround_mips_ctx.
2323         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2324         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2325         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2326
2327         [BZ #16677]
2328         * math/s_nextafter.c (__nextafter): Do not return value from
2329         overflowing computation.
2330         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2331         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2332         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2333         Likewise.
2334         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2335         Likewise.
2336         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2337         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2338
2339 2014-03-11  Roland McGrath  <roland@hack.frob.com>
2340
2341         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2342         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2343         Move sfi_sp use from the load-multiple (that no longer sets sp) to
2344         the new mov targetting sp.
2345
2346 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2347
2348         [BZ #16683]
2349         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2350         Define it for static builds as well.
2351         (NO_BZERO_IMPL): Likewise.
2352
2353 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2354
2355         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2356         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2357         multiarch strspn for PPC64.
2358         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2359         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2361         (__libc_ifunc_impl_list): Likewise.
2362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2363         multiarch optimizations
2364         * string/strspn.c (strspn): Using macro to redefine symbol name.
2365
2366 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2367             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2368
2369         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2370         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2371         multiarch strncat for PPC64.
2372         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2373         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2375         (__libc_ifunc_impl_list): Likewise.
2376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2377         multiarch optimizations
2378
2379 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2380
2381         [BZ #16639]
2382         * nscd/nscd.service: Make service type forking.
2383
2384 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2385
2386         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2387         sign in non default rounding modes.
2388         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2389
2390 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
2391
2392         * math/libm-test.inc (ALL_RM_TEST): New macro.
2393         (ceil_test): Use ALL_RM_TEST.
2394         (cimag_test): Likewise.
2395         (conj_test): Likewise.
2396         (copysign_test): Likewise.
2397         (cproj_test): Likewise.
2398         (creal_test): Likewise.
2399         (fabs_test): Likewise.
2400         (floor_test): Likewise.
2401         (fmax_test): Likewise.
2402         (fmin_test): Likewise.
2403         (fmod_test): Likewise.
2404         (fpclassify_test): Likewise.
2405         (frexp_test): Likewise.
2406         (ilogb_test): Likewise.
2407         (isfinite_test): Likewise.
2408         (finite_test): Likewise.
2409         (isgreater_test): Likewise.
2410         (isgreaterequal_test): Likewise.
2411         (isinf_test): Likewise.
2412         (isless_test): Likewise.
2413         (islessequal_test): Likewise.
2414         (islessgreater_test): Likewise.
2415         (isnan_test): Likewise.
2416         (isnormal_test): Likewise.
2417         (issignaling_test): Likewise.
2418         (isunordered_test): Likewise.
2419         (logb_test): Likewise.
2420         (logb_downward_test_data): Remove.
2421         (logb_test_downward): Likewise.
2422         (lround_test): Use ALL_RM_TEST.
2423         (llround_test): Likewise.
2424         (modf_test): Likewise.
2425         (nexttoward_test): Likewise.
2426         (remainder_test): Likewise.
2427         (drem_test): Likewise.
2428         (remainder_tonearest_test_data): Likewise.
2429         (remainder_test_tonearest): Likewise.
2430         (drem_test_tonearest): Likewise.
2431         (remainder_towardzero_test_data): Likewise.
2432         (remainder_test_towardzero): Likewise.
2433         (drem_test_towardzero): Likewise.
2434         (remainder_downward_test_data): Likewise.
2435         (remainder_test_downward): Likewise.
2436         (drem_test_downward): Likewise.
2437         (remainder_upward_test_data): Likewise.
2438         (remainder_test_upward): Likewise.
2439         (drem_test_upward): Likewise.
2440         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
2441         (round_test): Use ALL_RM_TEST.
2442         (signbit_test): Likewise.
2443         (trunc_test): Likewise.
2444         (significand_test): Likewise.
2445         (main): Don't call removed functions.
2446
2447 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2448
2449         [BZ #16674]
2450         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2451         || __USE_XOPEN2K8].
2452         (ILL_ILLOPN): Likewise.
2453         (ILL_ILLADR): Likewise.
2454         (ILL_ILLTRP): Likewise.
2455         (ILL_PRVOPC): Likewise.
2456         (ILL_PRVREG): Likewise.
2457         (ILL_COPROC): Likewise.
2458         (ILL_BADSTK): Likewise.
2459         (FPE_INTDIV): Likewise.
2460         (FPE_INTOVF): Likewise.
2461         (FPE_FLTDIV): Likewise.
2462         (FPE_FLTOVF): Likewise.
2463         (FPE_FLTUND): Likewise.
2464         (FPE_FLTRES): Likewise.
2465         (FPE_FLTINV): Likewise.
2466         (FPE_FLTSUB): Likewise.
2467         (SEGV_MAPERR): Likewise.
2468         (SEGV_ACCERR): Likewise.
2469         (BUS_ADRALN): Likewise.
2470         (BUS_ADRERR): Likewise.
2471         (BUS_OBJERR): Likewise.
2472         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2473         (TRAP_TRACE): Likewise.
2474         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2475         __USE_XOPEN2K8].
2476         (CLD_KILLED): Likewise.
2477         (CLD_DUMPED): Likewise.
2478         (CLD_TRAPPED): Likewise.
2479         (CLD_STOPPED): Likewise.
2480         (CLD_CONTINUED): Likewise.
2481         (POLL_IN): Likewise.
2482         (POLL_OUT): Likewise.
2483         (POLL_MSG): Likewise.
2484         (POLL_ERR): Likewise.
2485         (POLL_PRI): Likewise.
2486         (POLL_HUP): Likewise.
2487         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2488         Likewise.
2489         (ILL_ILLOPN): Likewise.
2490         (ILL_ILLADR): Likewise.
2491         (ILL_ILLTRP): Likewise.
2492         (ILL_PRVOPC): Likewise.
2493         (ILL_PRVREG): Likewise.
2494         (ILL_COPROC): Likewise.
2495         (ILL_BADSTK): Likewise.
2496         (FPE_INTDIV): Likewise.
2497         (FPE_INTOVF): Likewise.
2498         (FPE_FLTDIV): Likewise.
2499         (FPE_FLTOVF): Likewise.
2500         (FPE_FLTUND): Likewise.
2501         (FPE_FLTRES): Likewise.
2502         (FPE_FLTINV): Likewise.
2503         (FPE_FLTSUB): Likewise.
2504         (SEGV_MAPERR): Likewise.
2505         (SEGV_ACCERR): Likewise.
2506         (BUS_ADRALN): Likewise.
2507         (BUS_ADRERR): Likewise.
2508         (BUS_OBJERR): Likewise.
2509         (BUS_MCEERR_AR): Likewise.
2510         (BUS_MCEERR_AO): Likewise.
2511         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2512         (TRAP_TRACE): Likewise.
2513         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2514         __USE_XOPEN2K8].
2515         (CLD_KILLED): Likewise.
2516         (CLD_DUMPED): Likewise.
2517         (CLD_TRAPPED): Likewise.
2518         (CLD_STOPPED): Likewise.
2519         (CLD_CONTINUED): Likewise.
2520         (POLL_IN): Likewise.
2521         (POLL_OUT): Likewise.
2522         (POLL_MSG): Likewise.
2523         (POLL_ERR): Likewise.
2524         (POLL_PRI): Likewise.
2525         (POLL_HUP): Likewise.
2526         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2527         (ILL_ILLOPN): Likewise.
2528         (ILL_ILLADR): Likewise.
2529         (ILL_ILLTRP): Likewise.
2530         (ILL_PRVOPC): Likewise.
2531         (ILL_PRVREG): Likewise.
2532         (ILL_COPROC): Likewise.
2533         (ILL_BADSTK): Likewise.
2534         (FPE_INTDIV): Likewise.
2535         (FPE_INTOVF): Likewise.
2536         (FPE_FLTDIV): Likewise.
2537         (FPE_FLTOVF): Likewise.
2538         (FPE_FLTUND): Likewise.
2539         (FPE_FLTRES): Likewise.
2540         (FPE_FLTINV): Likewise.
2541         (FPE_FLTSUB): Likewise.
2542         (SEGV_MAPERR): Likewise.
2543         (SEGV_ACCERR): Likewise.
2544         (BUS_ADRALN): Likewise.
2545         (BUS_ADRERR): Likewise.
2546         (BUS_OBJERR): Likewise.
2547         (BUS_MCEERR_AR): Likewise.
2548         (BUS_MCEERR_AO): Likewise.
2549         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2550         (TRAP_TRACE): Likewise.
2551         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2552         __USE_XOPEN2K8].
2553         (CLD_KILLED): Likewise.
2554         (CLD_DUMPED): Likewise.
2555         (CLD_TRAPPED): Likewise.
2556         (CLD_STOPPED): Likewise.
2557         (CLD_CONTINUED): Likewise.
2558         (POLL_IN): Likewise.
2559         (POLL_OUT): Likewise.
2560         (POLL_MSG): Likewise.
2561         (POLL_ERR): Likewise.
2562         (POLL_PRI): Likewise.
2563         (POLL_HUP): Likewise.
2564         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2565         Likewise.
2566         (ILL_ILLOPN): Likewise.
2567         (ILL_ILLADR): Likewise.
2568         (ILL_ILLTRP): Likewise.
2569         (ILL_PRVOPC): Likewise.
2570         (ILL_PRVREG): Likewise.
2571         (ILL_COPROC): Likewise.
2572         (ILL_BADSTK): Likewise.
2573         (ILL_BADIADDR): Likewise.
2574         (ILL_BREAK): Likewise.
2575         (FPE_INTDIV): Likewise.
2576         (FPE_INTOVF): Likewise.
2577         (FPE_FLTDIV): Likewise.
2578         (FPE_FLTOVF): Likewise.
2579         (FPE_FLTUND): Likewise.
2580         (FPE_FLTRES): Likewise.
2581         (FPE_FLTINV): Likewise.
2582         (FPE_FLTSUB): Likewise.
2583         (FPE_DECOVF): Likewise.
2584         (FPE_DECDIV): Likewise.
2585         (FPE_DECERR): Likewise.
2586         (FPE_INVASC): Likewise.
2587         (FPE_INVDEC): Likewise.
2588         (SEGV_MAPERR): Likewise.
2589         (SEGV_ACCERR): Likewise.
2590         (SEGV_PSTKOVF): Likewise.
2591         (BUS_ADRALN): Likewise.
2592         (BUS_ADRERR): Likewise.
2593         (BUS_OBJERR): Likewise.
2594         (BUS_MCEERR_AR): Likewise.
2595         (BUS_MCEERR_AO): Likewise.
2596         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2597         (TRAP_TRACE): Likewise.
2598         (TRAP_BRANCH): Likewise.
2599         (TRAP_HWBKPT): Likewise.
2600         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2601         __USE_XOPEN2K8].
2602         (CLD_KILLED): Likewise.
2603         (CLD_DUMPED): Likewise.
2604         (CLD_TRAPPED): Likewise.
2605         (CLD_STOPPED): Likewise.
2606         (CLD_CONTINUED): Likewise.
2607         (POLL_IN): Likewise.
2608         (POLL_OUT): Likewise.
2609         (POLL_MSG): Likewise.
2610         (POLL_ERR): Likewise.
2611         (POLL_PRI): Likewise.
2612         (POLL_HUP): Likewise.
2613         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2614         (ILL_ILLOPN): Likewise.
2615         (ILL_ILLADR): Likewise.
2616         (ILL_ILLTRP): Likewise.
2617         (ILL_PRVOPC): Likewise.
2618         (ILL_PRVREG): Likewise.
2619         (ILL_COPROC): Likewise.
2620         (ILL_BADSTK): Likewise.
2621         (FPE_INTDIV): Likewise.
2622         (FPE_INTOVF): Likewise.
2623         (FPE_FLTDIV): Likewise.
2624         (FPE_FLTOVF): Likewise.
2625         (FPE_FLTUND): Likewise.
2626         (FPE_FLTRES): Likewise.
2627         (FPE_FLTINV): Likewise.
2628         (FPE_FLTSUB): Likewise.
2629         (SEGV_MAPERR): Likewise.
2630         (SEGV_ACCERR): Likewise.
2631         (BUS_ADRALN): Likewise.
2632         (BUS_ADRERR): Likewise.
2633         (BUS_OBJERR): Likewise.
2634         (BUS_MCEERR_AR): Likewise.
2635         (BUS_MCEERR_AO): Likewise.
2636         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2637         (TRAP_TRACE): Likewise.
2638         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2639         __USE_XOPEN2K8].
2640         (CLD_KILLED): Likewise.
2641         (CLD_DUMPED): Likewise.
2642         (CLD_TRAPPED): Likewise.
2643         (CLD_STOPPED): Likewise.
2644         (CLD_CONTINUED): Likewise.
2645         (POLL_IN): Likewise.
2646         (POLL_OUT): Likewise.
2647         (POLL_MSG): Likewise.
2648         (POLL_ERR): Likewise.
2649         (POLL_PRI): Likewise.
2650         (POLL_HUP): Likewise.
2651         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2652         (ILL_ILLOPN): Likewise.
2653         (ILL_ILLADR): Likewise.
2654         (ILL_ILLTRP): Likewise.
2655         (ILL_PRVOPC): Likewise.
2656         (ILL_PRVREG): Likewise.
2657         (ILL_COPROC): Likewise.
2658         (ILL_BADSTK): Likewise.
2659         (FPE_INTDIV): Likewise.
2660         (FPE_INTOVF): Likewise.
2661         (FPE_FLTDIV): Likewise.
2662         (FPE_FLTOVF): Likewise.
2663         (FPE_FLTUND): Likewise.
2664         (FPE_FLTRES): Likewise.
2665         (FPE_FLTINV): Likewise.
2666         (FPE_FLTSUB): Likewise.
2667         (SEGV_MAPERR): Likewise.
2668         (SEGV_ACCERR): Likewise.
2669         (BUS_ADRALN): Likewise.
2670         (BUS_ADRERR): Likewise.
2671         (BUS_OBJERR): Likewise.
2672         (BUS_MCEERR_AR): Likewise.
2673         (BUS_MCEERR_AO): Likewise.
2674         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2675         (TRAP_TRACE): Likewise.
2676         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2677         __USE_XOPEN2K8].
2678         (CLD_KILLED): Likewise.
2679         (CLD_DUMPED): Likewise.
2680         (CLD_TRAPPED): Likewise.
2681         (CLD_STOPPED): Likewise.
2682         (CLD_CONTINUED): Likewise.
2683         (POLL_IN): Likewise.
2684         (POLL_OUT): Likewise.
2685         (POLL_MSG): Likewise.
2686         (POLL_ERR): Likewise.
2687         (POLL_PRI): Likewise.
2688         (POLL_HUP): Likewise.
2689         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2690         (ILL_ILLOPN): Likewise.
2691         (ILL_ILLADR): Likewise.
2692         (ILL_ILLTRP): Likewise.
2693         (ILL_PRVOPC): Likewise.
2694         (ILL_PRVREG): Likewise.
2695         (ILL_COPROC): Likewise.
2696         (ILL_BADSTK): Likewise.
2697         (FPE_INTDIV): Likewise.
2698         (FPE_INTOVF): Likewise.
2699         (FPE_FLTDIV): Likewise.
2700         (FPE_FLTOVF): Likewise.
2701         (FPE_FLTUND): Likewise.
2702         (FPE_FLTRES): Likewise.
2703         (FPE_FLTINV): Likewise.
2704         (FPE_FLTSUB): Likewise.
2705         (SEGV_MAPERR): Likewise.
2706         (SEGV_ACCERR): Likewise.
2707         (BUS_ADRALN): Likewise.
2708         (BUS_ADRERR): Likewise.
2709         (BUS_OBJERR): Likewise.
2710         (BUS_MCEERR_AR): Likewise.
2711         (BUS_MCEERR_AO): Likewise.
2712         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2713         (TRAP_TRACE): Likewise.
2714         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2715         __USE_XOPEN2K8].
2716         (CLD_KILLED): Likewise.
2717         (CLD_DUMPED): Likewise.
2718         (CLD_TRAPPED): Likewise.
2719         (CLD_STOPPED): Likewise.
2720         (CLD_CONTINUED): Likewise.
2721         (POLL_IN): Likewise.
2722         (POLL_OUT): Likewise.
2723         (POLL_MSG): Likewise.
2724         (POLL_ERR): Likewise.
2725         (POLL_PRI): Likewise.
2726         (POLL_HUP): Likewise.
2727         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2728         (ILL_ILLOPN): Likewise.
2729         (ILL_ILLADR): Likewise.
2730         (ILL_ILLTRP): Likewise.
2731         (ILL_PRVOPC): Likewise.
2732         (ILL_PRVREG): Likewise.
2733         (ILL_COPROC): Likewise.
2734         (ILL_BADSTK): Likewise.
2735         (ILL_DBLFLT): Likewise.
2736         (ILL_HARDWALL): Likewise.
2737         (FPE_INTDIV): Likewise.
2738         (FPE_INTOVF): Likewise.
2739         (FPE_FLTDIV): Likewise.
2740         (FPE_FLTOVF): Likewise.
2741         (FPE_FLTUND): Likewise.
2742         (FPE_FLTRES): Likewise.
2743         (FPE_FLTINV): Likewise.
2744         (FPE_FLTSUB): Likewise.
2745         (SEGV_MAPERR): Likewise.
2746         (SEGV_ACCERR): Likewise.
2747         (BUS_ADRALN): Likewise.
2748         (BUS_ADRERR): Likewise.
2749         (BUS_OBJERR): Likewise.
2750         (BUS_MCEERR_AR): Likewise.
2751         (BUS_MCEERR_AO): Likewise.
2752         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2753         (TRAP_TRACE): Likewise.
2754         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2755         __USE_XOPEN2K8].
2756         (CLD_KILLED): Likewise.
2757         (CLD_DUMPED): Likewise.
2758         (CLD_TRAPPED): Likewise.
2759         (CLD_STOPPED): Likewise.
2760         (CLD_CONTINUED): Likewise.
2761         (POLL_IN): Likewise.
2762         (POLL_OUT): Likewise.
2763         (POLL_MSG): Likewise.
2764         (POLL_ERR): Likewise.
2765         (POLL_PRI): Likewise.
2766         (POLL_HUP): Likewise.
2767         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2768         (ILL_ILLOPN): Likewise.
2769         (ILL_ILLADR): Likewise.
2770         (ILL_ILLTRP): Likewise.
2771         (ILL_PRVOPC): Likewise.
2772         (ILL_PRVREG): Likewise.
2773         (ILL_COPROC): Likewise.
2774         (ILL_BADSTK): Likewise.
2775         (FPE_INTDIV): Likewise.
2776         (FPE_INTOVF): Likewise.
2777         (FPE_FLTDIV): Likewise.
2778         (FPE_FLTOVF): Likewise.
2779         (FPE_FLTUND): Likewise.
2780         (FPE_FLTRES): Likewise.
2781         (FPE_FLTINV): Likewise.
2782         (FPE_FLTSUB): Likewise.
2783         (SEGV_MAPERR): Likewise.
2784         (SEGV_ACCERR): Likewise.
2785         (BUS_ADRALN): Likewise.
2786         (BUS_ADRERR): Likewise.
2787         (BUS_OBJERR): Likewise.
2788         (BUS_MCEERR_AR): Likewise.
2789         (BUS_MCEERR_AO): Likewise.
2790         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2791         (TRAP_TRACE): Likewise.
2792         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2793         __USE_XOPEN2K8].
2794         (CLD_KILLED): Likewise.
2795         (CLD_DUMPED): Likewise.
2796         (CLD_TRAPPED): Likewise.
2797         (CLD_STOPPED): Likewise.
2798         (CLD_CONTINUED): Likewise.
2799         (POLL_IN): Likewise.
2800         (POLL_OUT): Likewise.
2801         (POLL_MSG): Likewise.
2802         (POLL_ERR): Likewise.
2803         (POLL_PRI): Likewise.
2804         (POLL_HUP): Likewise.
2805         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2806         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2807
2808         [BZ #16670]
2809         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2810         before #include of <time.h>.
2811         [!__USE_XOPEN2K] (__need_timespec): Likewise.
2812         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2813         (test-xfail-UNIX98/sched.h/conform): Likewise.
2814
2815 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2816
2817         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2818         error absence of trapping exception support.
2819         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2820
2821 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2822
2823         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2824         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2825         * timezone/Makefile (testdata): Move definition above include of
2826         Rules.
2827         (test-zones): New variable.
2828         (tests-special): Add zone files.
2829         (build-testdata): Use $(evaluate-test).
2830
2831         * elf/Makefile (tests-special): Rename tests to end with .out.
2832         ($(objpfx)noload-mem): Likewise.
2833         ($(objpfx)tst-leaks1-mem): Likewise.
2834         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2835         * iconv/Makefile (xtests-special): Change test-iconvconfig to
2836         $(objpfx)test-iconvconfig.out.
2837         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
2838         set -e inside subshell and redirect output to file.
2839         * iconvdata/Makefile (generated): Rename tests to end with .out.
2840         Correct type.
2841         (tests-special): Rename tests to end with .out.
2842         ($(objpfx)mtrace-tst-loading): Likewise.
2843         * intl/Makefile (generated): Likewise.
2844         (tests-special): Likewise.
2845         ($(objpfx)mtrace-tst-gettext): Likewise.
2846         * misc/Makefile (generated): Likewise.
2847         (tests-special): Likewise.
2848         ($(objpfx)tst-error1-mem): Likewise.
2849         * nptl/Makefile (tests-special): Likewise.
2850         ($(objpfx)tst-stack3-mem): Likewise.
2851         (generated): Likewise.
2852         * posix/Makefile (generated): Likewise.
2853         (tests-special): Likewise.
2854         (xtests-special): Likewise.
2855         ($(objpfx)tst-fnmatch-mem): Likewise.
2856         ($(objpfx)bug-regex2-mem): Likewise.
2857         ($(objpfx)bug-regex14-mem): Likewise.
2858         ($(objpfx)bug-regex21-mem): Likewise.
2859         ($(objpfx)bug-regex31-mem): Likewise.
2860         ($(objpfx)tst-vfork3-mem): Likewise.
2861         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2862         ($(objpfx)tst-pcre-mem): Likewise.
2863         ($(objpfx)tst-boost-mem): Likewise.
2864         ($(objpfx)bug-ga2-mem): Likewise.
2865         ($(objpfx)bug-glob2-mem): Likewise.
2866         * resolv/Makefile (generate): Likewise.
2867         (tests-special): Likewise.
2868         (xtests-special): Likewise.
2869         (generated): Likewise.
2870         ($(objpfx)mtrace-tst-leaks): Likewise.
2871         ($(objpfx)mtrace-tst-leaks2): Likewise.
2872
2873         * scripts/merge-test-results.sh: New file.
2874         * Makefile (tests-special-notdir): New variable.
2875         (tests): Run merge-test-results.sh.
2876         (xtests): Likewise.
2877         * Rules (tests-special-notdir): New variable.
2878         (xtests-special-notdir): Likewise.
2879         (tests): Run merge-test-results.sh
2880         (xtests): Likewise.
2881
2882         * Makeconfig (test-xfail-name): New variable.
2883         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2884         compute variable name for expected failures.
2885         * conform/Makefile (conformtest-headers-data): New variable.
2886         (conformtest-standards): Likewise.
2887         (conformtest-headers-ISO): Likewise.
2888         (conformtest-headers-ISO99): Likewise.
2889         (conformtest-headers-ISO11): Likewise.
2890         (conformtest-headers-POSIX): Likewise.
2891         (conformtest-headers-XPG3): Likewise.
2892         (conformtest-headers-XPG4): Likewise.
2893         (conformtest-headers-UNIX98): Likewise.
2894         (conformtest-headers-XOPEN2K): Likewise.
2895         (conformtest-headers-POSIX2008): Likewise.
2896         (conformtest-headers-XOPEN2K8): Likewise.
2897         (conformtest-header-list-base): Likewise.
2898         (conformtest-header-list-tests): Likewise.
2899         (conformtest-header-base): Likewise.
2900         (conformtest-header-tests): Likewise.
2901         (tests-special): Add $(conformtest-header-list-tests).  If
2902         [$(fast-check) && !$(cross-compiling)], add
2903         $(conformtest-header-tests) instead of
2904         $(objpfx)run-conformtest.out.
2905         (generated): Add $(conformtest-header-list-base).  If
2906         [$(fast-check) && !$(cross-compiling)], add
2907         $(conformtest-header-base).  Remove previous setting.
2908         ($(conformtest-header-list-tests)): New target.
2909         (test-xfail-run-conformtest): Remove variable.
2910         ($(objpfx)run-conformtest.out): Remove target.
2911         (test-xfail-ISO11/complex.h/conform): New variable.
2912         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2913         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2914         (test-xfail-XPG3/varargs.h/conform): Likewise.
2915         (test-xfail-XPG4/varargs.h/conform): Likewise.
2916         (test-xfail-UNIX98/varargs.h/conform): Likewise.
2917         (test-xfail-XPG4/ndbm.h/conform): Likewise.
2918         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2919         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2920         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2921         (test-xfail-XPG3/fcntl.h/conform): Likewise.
2922         (test-xfail-XPG3/ftw.h/conform): Likewise.
2923         (test-xfail-XPG3/grp.h/conform): Likewise.
2924         (test-xfail-XPG3/langinfo.h/conform): Likewise.
2925         (test-xfail-XPG3/limits.h/conform): Likewise.
2926         (test-xfail-XPG3/pwd.h/conform): Likewise.
2927         (test-xfail-XPG3/search.h/conform): Likewise.
2928         (test-xfail-XPG3/signal.h/conform): Likewise.
2929         (test-xfail-XPG3/stdio.h/conform): Likewise.
2930         (test-xfail-XPG3/stdlib.h/conform): Likewise.
2931         (test-xfail-XPG3/string.h/conform): Likewise.
2932         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2933         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2934         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2935         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2936         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2937         (test-xfail-XPG3/sys/types.h/conform): Likewise.
2938         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2939         (test-xfail-XPG3/termios.h/conform): Likewise.
2940         (test-xfail-XPG3/time.h/conform): Likewise.
2941         (test-xfail-XPG3/unistd.h/conform): Likewise.
2942         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2943         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2944         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2945         (test-xfail-XPG4/netdb.h/conform): Likewise.
2946         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2947         (test-xfail-XPG4/signal.h/conform): Likewise.
2948         (test-xfail-XPG4/stdio.h/conform): Likewise.
2949         (test-xfail-XPG4/stdlib.h/conform): Likewise.
2950         (test-xfail-XPG4/stropts.h/conform): Likewise.
2951         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2952         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2953         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2954         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2955         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2956         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2957         (test-xfail-XPG4/sys/time.h/conform): Likewise.
2958         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2959         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2960         (test-xfail-XPG4/termios.h/conform): Likewise.
2961         (test-xfail-XPG4/ucontext.h/conform): Likewise.
2962         (test-xfail-XPG4/unistd.h/conform): Likewise.
2963         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2964         (test-xfail-POSIX/sched.h/conform): Likewise.
2965         (test-xfail-POSIX/signal.h/conform): Likewise.
2966         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2967         (test-xfail-POSIX/tar.h/conform): Likewise.
2968         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2969         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2970         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2971         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2972         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2973         (test-xfail-UNIX98/sched.h/conform): Likewise.
2974         (test-xfail-UNIX98/signal.h/conform): Likewise.
2975         (test-xfail-UNIX98/stdio.h/conform): Likewise.
2976         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2977         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2978         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2979         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2980         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2981         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2982         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2983         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2984         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2985         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2986         (test-xfail-UNIX98/unistd.h/conform): Likewise.
2987         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2988         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2989         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2990         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2991         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2992         (test-xfail-XOPEN2K/math.h/conform): Likewise.
2993         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2994         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2995         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2996         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2997         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2998         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2999         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3000         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3001         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3002         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3003         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3004         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3005         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3006         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3007         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3008         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3009         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3010         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3011         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3012         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3013         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3014         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3015         (test-xfail-POSIX2008/signal.h/conform): Likewise.
3016         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3017         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3018         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3019         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3020         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3021         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3022         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3023         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3024         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3025         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3026         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3027         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3028         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3029         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3030         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3031         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3032         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3033         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3034         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3035         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3036         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3037         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3038         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3039         (conformtest-cc-flags): Likewise.
3040         ($(conformtest-header-tests): New target.
3041         * conform/check-header-lists.sh: New file.
3042         * conform/run-conformtest.sh: Remove.
3043
3044         * conform/conformtest.pl: Allow ' and \ in values given for
3045         constants.
3046         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3047         inclusion.
3048         [POSIX] (sys/types.h): Likewise.
3049         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3050         inclusion.
3051         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3052         inclusion.
3053         * conform/data/signal.h-data (SIGIO): Remove expectation.
3054         [XPG3] (SIGBUS): Do not expect.
3055         [POSIX || XPG3] (SIGPOLL): Likewise.
3056         [POSIX || XPG3] (SIGPROF): Likewise.
3057         [POSIX || XPG3] (SIGSYS): Likewise.
3058         [XPG3] (SIGTRAP): Likewise.
3059         [POSIX || XPG3] (SIGURG): Likewise.
3060         [POSIX || XPG3] (SIGVTALRM): Likewise.
3061         [POSIX || XPG3] (SIGXCPU): Likewise.
3062         [POSIX || XPG3] (SIGXFSZ): Likewise.
3063         [POSIX] (SA_SIGINFO): Expect.
3064         [XPG3] (siginfo_t): Do not expect type or contents.
3065         [POSIX] (si_pid): Do not expect element.
3066         [POSIX] (si_uid): Likewise.
3067         [POSIX] (si_addr): Likewise.
3068         [POSIX] (si_status): Likewise.
3069         [POSIX] (si_band): Likewise.
3070         [XPG4] (si_value): Likewise.
3071         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3072         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3073         [POSIX || XPG3] (ILL_ILLADR): Likewise.
3074         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3075         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3076         [POSIX || XPG3] (ILL_PRVREG): Likewise.
3077         [POSIX || XPG3] (ILL_COPROC): Likewise.
3078         [POSIX || XPG3] (ILL_BADSTK): Likewise.
3079         [POSIX || XPG3] (FPE_INTDIV): Likewise.
3080         [POSIX || XPG3] (FPE_INTOVF): Likewise.
3081         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3082         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3083         [POSIX || XPG3] (FPE_FLTUND): Likewise.
3084         [POSIX || XPG3] (FPE_FLTRES): Likewise.
3085         [POSIX || XPG3] (FPE_FLTINV): Likewise.
3086         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3087         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3088         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3089         [POSIX || XPG3] (BUS_ADRALN): Likewise.
3090         [POSIX || XPG3] (BUS_ADRERR): Likewise.
3091         [POSIX || XPG3] (BUS_OBJERR): Likewise.
3092         [POSIX || XPG3] (CLD_EXITED): Likewise.
3093         [POSIX || XPG3] (CLD_KILLED): Likewise.
3094         [POSIX || XPG3] (CLD_DUMPED): Likewise.
3095         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3096         [POSIX || XPG3] (CLD_STOPPED): Likewise.
3097         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3098         [POSIX || XPG3] (POLL_IN): Likewise.
3099         [POSIX || XPG3] (POLL_OUT): Likewise.
3100         [POSIX || XPG3] (POLL_MSG): Likewise.
3101         [POSIX || XPG3] (POLL_ERR): Likewise.
3102         [POSIX || XPG3] (POLL_PRI): Likewise.
3103         [POSIX || XPG3] (POLL_HUP): Likewise.
3104         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3105         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3106         (SIG*): Do not allow.
3107         [XPG3] (si_*): Likewise.
3108         [XPG3] (SI_*): Likewise.
3109         [XPG3 || XPG4] (sigev_*): Likewise.
3110         [XPG3 || XPG4] (SIGEV_*): Likewise.
3111         [XPG3 || XPG4] (sival_*): Likewise.
3112         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3113         [POSIX || XPG3] (BUS_*): Likewise.
3114         [POSIX || XPG3] (CLD_*): Likewise.
3115         [POSIX || XPG3] (FPE_*): Likewise.
3116         [POSIX || XPG3] (ILL_*): Likewise.
3117         [POSIX || XPG3] (POLL_*): Likewise.
3118         [POSIX || XPG3] (SEGV_*): Likewise.
3119         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3120         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3121         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3122         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3123         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3124         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3125         Specify type and value.
3126         (TVERSLEN): Likewise.
3127         (REGTYPE): Likewise.
3128         (AREGTYPE): Likewise.
3129         (LNKTYPE): Likewise.
3130         (SYMTYPE): Likewise.
3131         (CHRTYPE): Likewise.
3132         (BLKTYPE): Likewise.
3133         (DIRTYPE): Likewise.
3134         (FIFOTYPE): Likewise.
3135         (CONTTYPE): Likewise.
3136         (TSUID): Likewise.
3137         (TSGID): Likewise.
3138         (TSVTX): Likewise.
3139         (TUREAD): Likewise.
3140         (TUWRITE): Likewise.
3141         (TUEXEC): Likewise.
3142         (TGREAD): Likewise.
3143         (TGWRITE): Likewise.
3144         (TGEXEC): Likewise.
3145         (TOREAD): Likewise.
3146         (TOWRITE): Likewise.
3147         (TOEXEC): Likewise.
3148         [POSIX] (TSVTX): Expect constant.
3149
3150 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
3151
3152         * Makefile (tests): Change dependencies to ....
3153         (tests-special): ... additions to this variable.
3154         (tests): Depend on $(tests-special).
3155         * Makerules (check-abi-list): New variable.
3156         (check-abi): Depend on $(check-abi-list).
3157         [$(subdir) = elf] (tests-special): Add
3158         $(objpfx)check-abi-libc.out.
3159         [$(build-shared) = yes && subdir] (tests-special): Add
3160         $(check-abi-list).
3161         [$(build-shared) = yes && subdir] (tests): Do not depend on
3162         check-abi.
3163         * Rules (tests): Depend on $(tests-special).
3164         (xtests): Depend on $(xtests-special).
3165         * catgets/Makefile (tests): Change dependencies to ....
3166         (tests-special): ... additions to this variable.
3167         * conform/Makefile (tests): Change dependencies to ....
3168         (tests-special): ... additions to this variable.
3169         * elf/Makefile (tests): Change dependencies to ....
3170         (tests-special): ... additions to this variable.
3171         * grp/Makefile (tests): Change dependencies to ....
3172         (tests-special): ... additions to this variable.
3173         * iconv/Makefile (xtests): Change dependencies to ....
3174         (xtests-special): ... additions to this variable.
3175         * iconvdata/Makefile (tests): Change dependencies to ....
3176         (tests-special): ... additions to this variable.
3177         * intl/Makefile (tests): Change dependencies to ....
3178         (tests-special): ... additions to this variable.  Also add
3179         $(objpfx)tst-gettext.out.
3180         * io/Makefile (tests): Change dependencies to ....
3181         (tests-special): ... additions to this variable.
3182         * libio/Makefile (tests): Change dependencies to ....
3183         (tests-special): ... additions to this variable.
3184         * malloc/Makefile (tests): Change dependencies to ....
3185         (tests-special): ... additions to this variable.
3186         * misc/Makefile (tests): Change dependencies to ....
3187         (tests-special): ... additions to this variable.
3188         * nptl/Makefile (tests): Change dependencies to ....
3189         (tests-special): ... additions to this variable.
3190         * nptl_db/Makefile (tests): Change dependencies to ....
3191         (tests-special): ... additions to this variable.
3192         * posix/Makefile (tests): Change dependencies to ....
3193         (tests-special): ... additions to this variable.
3194         (xtests): Change dependencies to ....
3195         (xtests-special): ... additions to this variable.
3196         * resolv/Makefile (tests): Change dependencies to ....
3197         (tests-special): ... additions to this variable.
3198         (xtests): Change dependencies to ....
3199         (xtests-special): ... additions to this variable.
3200         * stdio-common/Makefile (tests): Change dependencies to ....
3201         (tests-special): ... additions to this variable.
3202         (do-tst-unbputc): Remove target.
3203         (do-tst-printf): Likewise.
3204         * stdlib/Makefile (tests): Change dependencies to ....
3205         (tests-special): ... additions to this variable.
3206         * string/Makefile (tests): Change dependencies to ....
3207         (tests-special): ... additions to this variable.
3208         * sysdeps/x86/Makefile (tests): Change dependencies to ....
3209         (tests-special): ... additions to this variable.
3210
3211         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3212         whole file.
3213         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3214         whole file.
3215         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3216         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3217
3218         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3219         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3220         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3221         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3222         * conform/data/libgen.h-data [XPG3]: Likewise.
3223         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3224         * conform/data/ndbm.h-data [XPG3]: Likewise.
3225         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3226         * conform/data/netdb.h-data [XPG3]: Likewise.
3227         * conform/data/netinet/in.h-data [XPG3]: Likewise.
3228         * conform/data/poll.h-data [XPG3]: Likewise.
3229         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3230         * conform/data/strings.h-data [XPG3]: Likewise.
3231         * conform/data/stropts.h-data [XPG3]: Likewise.
3232         * conform/data/sys/mman.h-data [XPG3]: Likewise.
3233         * conform/data/sys/resource.h-data [XPG3]: Likewise.
3234         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3235         Likewise.
3236         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3237         * conform/data/sys/time.h-data [XPG3]: Likewise.
3238         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3239         * conform/data/sys/uio.h-data [XPG3]: Likewise.
3240         * conform/data/sys/un.h-data [XPG3]: Likewise.
3241         * conform/data/syslog.h-data [XPG3]: Likewise.
3242         * conform/data/ucontext.h-data [XPG3]: Likewise.
3243         * conform/data/utmpx.h-data [XPG3]: Likewise.
3244         * conform/data/varargs.h-data [UNIX98]: Enable file.
3245
3246         * manual/Makefile (INSTALL_INFO): Remove variable setting.
3247
3248         * math/libm-test.inc (struct test_f_f_data): Move expected results
3249         into structure for each rounding mode.
3250         (struct test_ff_f_data): Likewise.
3251         (struct test_ff_f_data_nexttoward): Likewise.
3252         (struct test_fi_f_data): Likewise.
3253         (struct test_fl_f_data): Likewise.
3254         (struct test_if_f_data): Likewise.
3255         (struct test_fff_f_data): Likewise.
3256         (struct test_c_f_data): Likewise.
3257         (struct test_f_f1_data): Likewise.
3258         (struct test_fF_f1_data): Likewise.
3259         (struct test_ffI_f1_data): Likewise.
3260         (struct test_c_c_data): Likewise.
3261         (struct test_cc_c_data): Likewise.
3262         (struct test_f_i_data): Likewise.
3263         (struct test_ff_i_data): Likewise.
3264         (struct test_f_l_data): Likewise.
3265         (struct test_f_L_data): Likewise.
3266         (struct test_fFF_11_data): Likewise.
3267         (RM_): New macro.
3268         (RM_FE_DOWNWARD): Likewise.
3269         (RM_FE_TONEAREST): Likewise.
3270         (RM_FE_TOWARDZERO): Likewise.
3271         (RM_FE_UPWARD): Likewise.
3272         (RUN_TEST_LOOP_f_f): Update references to expected results.
3273         (RUN_TEST_LOOP_2_f): Likewise.
3274         (RUN_TEST_LOOP_fff_f): Likewise.
3275         (RUN_TEST_LOOP_c_f): Likewise.
3276         (RUN_TEST_LOOP_f_f1): Likewise.
3277         (RUN_TEST_LOOP_fF_f1): Likewise.
3278         (RUN_TEST_LOOP_fI_f1): Likewise.
3279         (RUN_TEST_LOOP_ffI_f1): Likewise.
3280         (RUN_TEST_LOOP_c_c): Likewise.
3281         (RUN_TEST_LOOP_cc_c): Likewise.
3282         (RUN_TEST_LOOP_f_i): Likewise.
3283         (RUN_TEST_LOOP_f_i_tg): Likewise.
3284         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3285         (RUN_TEST_LOOP_f_b): Likewise.
3286         (RUN_TEST_LOOP_f_b_tg): Likewise.
3287         (RUN_TEST_LOOP_f_l): Likewise.
3288         (RUN_TEST_LOOP_f_L): Likewise.
3289         (RUN_TEST_LOOP_fFF_11): Likewise.
3290         * math/gen-libm-test.pl (parse_args): Output four copies of
3291         expected results for each test.
3292
3293         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3294         (__ASSUME_UTIMES): Remove.
3295         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3296         (__ASSUME_UTIMES): Likewise.
3297
3298         * math/gen-auto-libm-tests.c: Update comment on output format.
3299         (output_for_one_input_case): Generate before-rounding and
3300         after-rounding information as conditions on output flags not
3301         floating-point format.
3302         * math/auto-libm-test-out: Regenerated.
3303         * math/gen-libm-test.pl (cond_value): New function.
3304         (or_cond_value): Use cond_value.
3305         (generate_testfile): Handle conditional exceptions.
3306
3307 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
3308
3309         * math/libm-test.inc (max_valid_error): New variable.
3310         (init_max_error): Take new argument specifying whether function
3311         results are exactly determined.  Set max_valid_error and bound
3312         other variables for errors based on this argument.
3313         (set_max_error): Do not record results above max_valid_error.
3314         (check_float_internal): Only accept errors of up to 0.5ulps if
3315         also at most max_valid_error.
3316         (START): Take new argument EXACT and pass it to init_max_error.
3317         (acos_test): Update call to START.
3318         (acos_test_tonearest): Likewise.
3319         (acos_test_towardzero): Likewise.
3320         (acos_test_downward): Likewise.
3321         (acos_test_upward): Likewise.
3322         (acosh_test): Likewise.
3323         (asin_test): Likewise.
3324         (asin_test_tonearest): Likewise.
3325         (asin_test_towardzero): Likewise.
3326         (asin_test_downward): Likewise.
3327         (asin_test_upward): Likewise.
3328         (asinh_test): Likewise.
3329         (atan_test): Likewise.
3330         (atanh_test): Likewise.
3331         (atan2_test): Likewise.
3332         (cabs_test): Likewise.
3333         (cacos_test): Likewise.
3334         (cacosh_test): Likewise.
3335         (carg_test): Likewise.
3336         (casin_test): Likewise.
3337         (casinh_test): Likewise.
3338         (catan_test): Likewise.
3339         (catanh_test): Likewise.
3340         (cbrt_test): Likewise.
3341         (ccos_test): Likewise.
3342         (ccosh_test): Likewise.
3343         (ceil_test): Likewise.
3344         (cexp_test): Likewise.
3345         (cimag_test): Likewise.
3346         (clog_test): Likewise.
3347         (clog10_test): Likewise.
3348         (conj_test): Likewise.
3349         (copysign_test): Likewise.
3350         (cos_test): Likewise.
3351         (cos_test_tonearest): Likewise.
3352         (cos_test_towardzero): Likewise.
3353         (cos_test_downward): Likewise.
3354         (cos_test_upward): Likewise.
3355         (cosh_test): Likewise.
3356         (cosh_test_tonearest): Likewise.
3357         (cosh_test_towardzero): Likewise.
3358         (cosh_test_downward): Likewise.
3359         (cosh_test_upward): Likewise.
3360         (cpow_test): Likewise.
3361         (cproj_test): Likewise.
3362         (creal_test): Likewise.
3363         (csin_test): Likewise.
3364         (csinh_test): Likewise.
3365         (csqrt_test): Likewise.
3366         (ctan_test): Likewise.
3367         (ctan_test_tonearest): Likewise.
3368         (ctan_test_towardzero): Likewise.
3369         (ctan_test_downward): Likewise.
3370         (ctan_test_upward): Likewise.
3371         (ctanh_test): Likewise.
3372         (ctanh_test_tonearest): Likewise.
3373         (ctanh_test_towardzero): Likewise.
3374         (ctanh_test_downward): Likewise.
3375         (ctanh_test_upward): Likewise.
3376         (erf_test): Likewise.
3377         (erfc_test): Likewise.
3378         (exp_test): Likewise.
3379         (exp_test_tonearest): Likewise.
3380         (exp_test_towardzero): Likewise.
3381         (exp_test_downward): Likewise.
3382         (exp_test_upward): Likewise.
3383         (exp10_test): Likewise.
3384         (exp10_test_tonearest): Likewise.
3385         (exp10_test_towardzero): Likewise.
3386         (exp10_test_downward): Likewise.
3387         (exp10_test_upward): Likewise.
3388         (pow10_test): Likewise.
3389         (exp2_test): Likewise.
3390         (expm1_test): Likewise.
3391         (expm1_test_tonearest): Likewise.
3392         (expm1_test_towardzero): Likewise.
3393         (expm1_test_downward): Likewise.
3394         (expm1_test_upward): Likewise.
3395         (fabs_test): Likewise.
3396         (fdim_test): Likewise.
3397         (floor_test): Likewise.
3398         (fma_test): Likewise.
3399         (fma_test_towardzero): Likewise.
3400         (fma_test_downward): Likewise.
3401         (fma_test_upward): Likewise.
3402         (fmax_test): Likewise.
3403         (fmin_test): Likewise.
3404         (fmod_test): Likewise.
3405         (fpclassify_test): Likewise.
3406         (frexp_test): Likewise.
3407         (hypot_test): Likewise.
3408         (ilogb_test): Likewise.
3409         (isfinite_test): Likewise.
3410         (finite_test): Likewise.
3411         (isgreater_test): Likewise.
3412         (isgreaterequal_test): Likewise.
3413         (isinf_test): Likewise.
3414         (isless_test): Likewise.
3415         (islessequal_test): Likewise.
3416         (islessgreater_test): Likewise.
3417         (isnan_test): Likewise.
3418         (isnormal_test): Likewise.
3419         (issignaling_test): Likewise.
3420         (isunordered_test): Likewise.
3421         (j0_test): Likewise.
3422         (j1_test): Likewise.
3423         (jn_test): Likewise.
3424         (ldexp_test): Likewise.
3425         (lgamma_test): Likewise.
3426         (gamma_test): Likewise.
3427         (lrint_test): Likewise.
3428         (lrint_test_tonearest): Likewise.
3429         (lrint_test_towardzero): Likewise.
3430         (lrint_test_downward): Likewise.
3431         (lrint_test_upward): Likewise.
3432         (llrint_test): Likewise.
3433         (llrint_test_tonearest): Likewise.
3434         (llrint_test_towardzero): Likewise.
3435         (llrint_test_downward): Likewise.
3436         (llrint_test_upward): Likewise.
3437         (log_test): Likewise.
3438         (log10_test): Likewise.
3439         (log1p_test): Likewise.
3440         (log2_test): Likewise.
3441         (logb_test): Likewise.
3442         (logb_test_downward): Likewise.
3443         (lround_test): Likewise.
3444         (llround_test): Likewise.
3445         (modf_test): Likewise.
3446         (nearbyint_test): Likewise.
3447         (nextafter_test): Likewise.
3448         (nexttoward_test): Likewise.
3449         (pow_test): Likewise.
3450         (pow_test_tonearest): Likewise.
3451         (pow_test_towardzero): Likewise.
3452         (pow_test_downward): Likewise.
3453         (pow_test_upward): Likewise.
3454         (remainder_test): Likewise.
3455         (drem_test): Likewise.
3456         (remainder_test_tonearest): Likewise.
3457         (drem_test_tonearest): Likewise.
3458         (remainder_test_towardzero): Likewise.
3459         (drem_test_towardzero): Likewise.
3460         (remainder_test_downward): Likewise.
3461         (drem_test_downward): Likewise.
3462         (remainder_test_upward): Likewise.
3463         (drem_test_upward): Likewise.
3464         (remquo_test): Likewise.
3465         (rint_test): Likewise.
3466         (rint_test_tonearest): Likewise.
3467         (rint_test_towardzero): Likewise.
3468         (rint_test_downward): Likewise.
3469         (rint_test_upward): Likewise.
3470         (round_test): Likewise.
3471         (scalb_test): Likewise.
3472         (scalbn_test): Likewise.
3473         (scalbln_test): Likewise.
3474         (signbit_test): Likewise.
3475         (sin_test): Likewise.
3476         (sin_test_tonearest): Likewise.
3477         (sin_test_towardzero): Likewise.
3478         (sin_test_downward): Likewise.
3479         (sin_test_upward): Likewise.
3480         (sincos_test): Likewise.
3481         (sinh_test): Likewise.
3482         (sinh_test_tonearest): Likewise.
3483         (sinh_test_towardzero): Likewise.
3484         (sinh_test_downward): Likewise.
3485         (sinh_test_upward): Likewise.
3486         (sqrt_test): Likewise.
3487         (sqrt_test_tonearest): Likewise.
3488         (sqrt_test_towardzero): Likewise.
3489         (sqrt_test_downward): Likewise.
3490         (sqrt_test_upward): Likewise.
3491         (tan_test): Likewise.
3492         (tan_test_tonearest): Likewise.
3493         (tan_test_towardzero): Likewise.
3494         (tan_test_downward): Likewise.
3495         (tan_test_upward): Likewise.
3496         (tanh_test): Likewise.
3497         (tgamma_test): Likewise.
3498         (trunc_test): Likewise.
3499         (y0_test): Likewise.
3500         (y1_test): Likewise.
3501         (yn_test): Likewise.
3502         (significand_test): Likewise.
3503
3504         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3505         individual tests in comment.
3506         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3507         (prev_max_error): New variable.
3508         (prev_real_max_error): Likewise.
3509         (prev_imag_max_error): Likewise.
3510         (compare_ulp_data): Don't refer to test names in comment.
3511         (find_test_ulps): Remove function.
3512         (find_function_ulps): Likewise.
3513         (find_complex_function_ulps): Likewise.
3514         (init_max_error): Take function name as argument.  Look up ulps
3515         for that function.
3516         (print_ulps): Remove function.
3517         (print_max_error): Use prev_max_error instead of calling
3518         find_function_ulps.
3519         (print_complex_max_error): Use prev_real_max_error and
3520         prev_imag_max_error instead of calling find_complex_function_ulps.
3521         (check_float_internal): Take max_ulp parameter instead of calling
3522         find_test_ulps.  Don't call print_ulps.
3523         (check_float): Update call to check_float_internal.
3524         (check_complex): Update calls to check_float_internal.
3525         (START): Pass argument to init_max_error.
3526         * math/gen-libm-test.pl (%results): Don't include "kind"
3527         information.
3528         (parse_ulps): Don't handle ulps of individual tests.
3529         (print_ulps_file): Likewise.
3530         (output_ulps): Likewise.
3531         * math/README.libm-test: Update.
3532         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3533         individual tests.
3534         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3535         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3536         * sysdeps/arm/libm-test-ulps: Likewise.
3537         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3538         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3539         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3540         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3541         * sysdeps/microblaze/libm-test-ulps: Likewise.
3542         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3543         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3544         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3545         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3546         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3547         * sysdeps/sh/libm-test-ulps: Likewise.
3548         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3549         * sysdeps/tile/libm-test-ulps: Likewise.
3550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3551
3552 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
3553
3554         * math/libm-test.inc (print_complex_max_error): Check separately
3555         whether real and imaginary errors are within allowed range and
3556         pass 0 to print_complex_function_ulps instead of value within
3557         allowed range.
3558
3559 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3560
3561         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3562         formatting.
3563         (get_handles_fopen): Likewise.
3564         (do_write_test): Likewise.
3565
3566         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3567
3568         * libio/fileops.c (do_ftell): Use cached offset when
3569         available.
3570         * libio/iofwide.c (do_ftell_wide): Likewise.
3571         * libio/iofdopen.c (_IO_new_fdopen): Don't use
3572         _IO_file_attach.
3573         * libio/wfileops.c (_IO_fwide): Don't cache offset.
3574
3575         [BZ #16532]
3576         * libio/libioP.h (get_file_offset): New function.
3577         * libio/fileops.c (get_file_offset): Likewise.
3578         (do_ftell): Likewise.
3579         (_IO_new_file_seekoff): Split out ftell logic.
3580         * libio/wfileops.c (do_ftell_wide): Likewise.
3581         (_IO_wfile_seekoff): Split out ftell logic.
3582         * libio/tst-ftell-active-handler.c: New test case.
3583         * libio/Makefile (tests): Add it.
3584
3585 2014-03-03  Roland McGrath  <roland@hack.frob.com>
3586
3587         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3588         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3589
3590 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3591
3592         [BZ #16639]
3593         * nscd/connections.c (nscd_init): Call do_exit.
3594         (start_threads): Call do_exit and notify_parent.
3595         (begin_drop_privileges): Call do_exit.
3596         (finish_drop_privileges): Likewise.
3597         * nscd/selinux.c (preserve_capabilities): Likewise.
3598         (install_real_capabilities): Likewise.
3599         (nscd_selinux_enabled): Likewise.
3600         (avc_create_thread): Likewise.
3601         (avc_alloc_lock): Likewise.
3602         (nscd_avc_init): Likewise.
3603         * nscd/nscd.c (parent_fd): New static variable.
3604         (main): Create a pipe between parent and child processes.
3605         Skip closing parent_fd.
3606         (monitor_child): New function.
3607         (do_exit): Likewise.
3608         (notify_parent): Likewise.
3609         * nscd/nscd.h (notify_parent): Likewise.
3610         (do_exit): Likewise.
3611
3612 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
3613
3614         * malloc/malloc.c (__libc_calloc): Revert last change.
3615
3616 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3617
3618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3619
3620 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3621
3622         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3624         implementation.
3625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3626         (__libc_ifunc_impl_list): Likewise.
3627         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3628         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3629         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3630         * string/strrchr.c: Define STRRCHR.
3631
3632 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
3633
3634         * benchtest/bench-strtok.c (simple_strtok): Delete.
3635         (strtok_string): Use as benchmark.
3636         * string/strtok (STRTOK): New macro.
3637
3638 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
3639
3640         * manual/threads.texi: Add header and standard comments to all
3641         functions.
3642
3643         * elf/dl-lookup.c (check_match): New function.
3644         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3645         (do_lookup_x): Remove nested function check_match. Use non-nested
3646         function check_match.
3647
3648 2014-02-28  Roland McGrath  <roland@hack.frob.com>
3649
3650         * csu/Makefile (generated, before-compile): Use += rather than =.
3651         * catgets/Makefile (generated, generated-dirs): Likewise.
3652         * debug/Makefile (generated): Likewise.
3653         * dlfcn/Makefile (generated): Likewise.
3654         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3655         * iconvdata/Makefile (before-compile, generated): Likewise.
3656         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3657         * libio/Makefile (generated): Likewise.
3658         * malloc/Makefile (generated): Likewise.
3659         * manual/Makefile (generated, generated-dirs): Likewise.
3660         * misc/Makefile (generated): Likewise.
3661         * posix/Makefile (generated): Likewise.
3662         * resolv/Makefile (generated): Likewise.
3663         * sunrpc/Makefile (generated, generated-dirs): Likewise.
3664         * timezone/Makefile (generated, generated-dirs): Likewise.
3665
3666         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3667
3668 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3669
3670         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3671         power8 implementation.
3672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3673         file: POWER8 llround ifunc implementation.
3674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3675         (__lllround): Add POWER8 implementation.
3676         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3677         POWER8 llround implementation.
3678
3679         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3680         power8 implementation.
3681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3682         file: POWER8 llrint ifunc implementation.
3683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3684         Add POWER8 implementation.
3685         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3686         POWER8 llrint implementation.
3687
3688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3689         power8 implementation.
3690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3691         file: POWER8 finite ifunc implementation.
3692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3693         Add POWER8 implementation.
3694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3695         Likewise.
3696         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3697         POWER8 finite implementation.
3698         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3699
3700         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3701         power8 implementation.
3702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3703         file: POWER8 isinf ifunc implementation.
3704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3705         POWER8 implementation.
3706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3707         Likewise.
3708         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3709         isinf implementation.
3710         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3711
3712         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3713         (INIT_ARCH): Add hwcap2 initialization.
3714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3715         power8 implementation.
3716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3717         file: POWER8 isnan ifunc implementation.
3718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3719         POWER8 implementation.
3720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3721         Likewise.
3722         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3723         isnan implementation.
3724         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3725
3726 2014-02-27  Joey Ye  <joey.ye@arm.com>
3727
3728         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3729         (_FP_NANFRAC_Q): Set to zero.
3730
3731 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3732
3733         [BZ #16623]
3734         * math/auto-libm-test-in: New test inputs.
3735         * math/auto-libm-test-out: Regenerate.
3736         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3737         and DA.
3738         (__cos): Likewise.
3739         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3740
3741 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
3742
3743         * scripts/evaluate-test.sh: Take new argument indicating whether
3744         failure is expected.
3745         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3746         indicating whether failure is expected.
3747         * conform/Makefile (test-xfail-run-conformtest): New variable.
3748         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3749         level.
3750         * posix/Makefile (test-xfail-annexc): New variable.
3751         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3752
3753 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
3754
3755         * argp/Makefile: Include Makeconfig immediately after defining
3756         subdir.
3757         * assert/Makefile: Likewise.
3758         * benchtests/Makefile: Likewise.
3759         * catgets/Makefile: Likewise.
3760         * conform/Makefile: Likewise.
3761         * crypt/Makefile: Likewise.
3762         * csu/Makefile: Likewise.
3763         (all): Remove target.
3764         * ctype/Makefile: Include Makeconfig immediately after defining
3765         subdir.
3766         * debug/Makefile: Likewise.
3767         * dirent/Makefile: Likewise.
3768         * dlfcn/Makefile: Likewise.
3769         * gmon/Makefile: Likewise.
3770         * gnulib/Makefile: Likewise.
3771         * grp/Makefile: Likewise.
3772         * gshadow/Makefile: Likewise.
3773         * hesiod/Makefile: Likewise.
3774         * hurd/Makefile: Likewise.
3775         (all): Remove target.
3776         * iconvdata/Makefile: Include Makeconfig immediately after
3777         defining subdir.
3778         * inet/Makefile: Likewise.
3779         * intl/Makefile: Likewise.
3780         * io/Makefile: Likewise.
3781         * libio/Makefile: Likewise.
3782         (all): Remove target.
3783         * locale/Makefile: Include Makeconfig immediately after defining
3784         subdir.
3785         * login/Makefile: Likewise.
3786         * mach/Makefile: Likewise.
3787         (all): Remove target.
3788         * malloc/Makefile: Include Makeconfig immediately after defining
3789         subdir.
3790         (all): Remove target.
3791         * manual/Makefile: Include Makeconfig immediately after defining
3792         subdir.
3793         * math/Makefile: Likewise.
3794         * misc/Makefile: Likewise.
3795         * nis/Makefile: Likewise.
3796         * nss/Makefile: Likewise.
3797         * po/Makefile: Likewise.
3798         (all): Remove target.
3799         * posix/Makefile: Include Makeconfig immediately after defining
3800         subdir.
3801         * pwd/Makefile: Likewise.
3802         * resolv/Makefile: Likewise.
3803         * resource/Makefile: Likewise.
3804         * rt/Makefile: Likewise.
3805         * setjmp/Makefile: Likewise.
3806         * shadow/Makefile: Likewise.
3807         * signal/Makefile: Likewise.
3808         * socket/Makefile: Likewise.
3809         * soft-fp/Makefile: Likewise.
3810         * stdio-common/Makefile: Likewise.
3811         * stdlib/Makefile: Likewise.
3812         * streams/Makefile: Likewise.
3813         * string/Makefile: Likewise.
3814         * sunrpc/Makefile: Likewise.
3815         (all): Remove target.
3816         * sysvipc/Makefile: Include Makeconfig immediately after defining
3817         subdir.
3818         * termios/Makefile: Likewise.
3819         * time/Makefile: Likewise.
3820         * timezone/Makefile: Likewise.
3821         (all): Remove target.
3822         * wcsmbs/Makefile: Include Makeconfig immediately after defining
3823         subdir.
3824         * wctype/Makefile: Likewise.
3825
3826 2014-02-26  Steve Ellcey  <sellcey@mips.com>
3827
3828         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3829         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3830         (libc_feholdexcept_setround_mips): Ditto.
3831         (libc_feholdsetround): New.
3832         (libc_feholdsetroundf): New.
3833         (libc_feholdsetroundl): New.
3834         (libc_feupdateenv_test_mips): New.
3835         (libc_feupdateenv_test): New.
3836         (libc_feupdateenv_testf): New.
3837         (libc_feupdateenv_testl): New.
3838         (libc_feresetround): New.
3839         (libc_feresetroundf): New.
3840         (libc_feresetroundl): New.
3841         (libc_fetestexcept_mips): New.
3842         (libc_fetestexcept): New.
3843         (libc_fetestexceptf): New.
3844         (libc_fetestexceptl): New.
3845         (HAVE_RM_CTX): New.
3846         (libc_feholdexcept_setround_mips_ctx): New.
3847         (libc_feholdexcept_setround_ctx): New.
3848         (libc_feholdexcept_setroundf_ctx): New.
3849         (libc_feholdexcept_setroundl_ctx): New.
3850         (libc_fesetenv_mips_ctx): New.
3851         (libc_fesetenv_ctx): New.
3852         (libc_fesetenv_ctxf): New.
3853         (libc_fesetenv_ctxl): New.
3854         (libc_feupdateenv_mips_ctx): New.
3855         (libc_feupdateenv_ctx): New.
3856         (libc_feupdateenvf_ctx): New.
3857         (libc_feupdateenvl_ctx): New.
3858         (libc_feholdsetround_mips_ctx): New.
3859         (libc_feholdsetround_ctx): New.
3860         (libc_feholdsetroundf_ctx): New.
3861         (libc_feholdsetroundl_ctx): New.
3862         (libc_feresetround_mips_ctx): New.
3863         (libc_feresetround_ctx): New.
3864         (libc_feresetroundf_ctx): New.
3865         (libc_feresetroundl_ctx): New.
3866
3867 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
3868
3869         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3870
3871         * manual/ipc.texi: New file.
3872         * manual/Makefile (chapters): Add ipc.
3873         * manual/job.texi: Add "Inter-Process Communication" to next.
3874         * manual/process.texi: Add "Inter-Process Communication" to prev.
3875
3876 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3877
3878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3879
3880 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
3881
3882         * malloc/malloc.c (__libc_calloc): Simplify implementation.
3883
3884         * manual/arith.texi: Fix spaces after sentences.
3885         * manual/charset.texi: Likewise.
3886         * manual/errno.texi: Likewise.
3887         * manual/install.texi: Likewise.
3888         * manual/llio.texi: Likewise.
3889         * manual/locale.texi: Likewise.
3890         * manual/maint.texi: Likewise.
3891         * manual/math.texi: Likewise.
3892         * manual/memory.texi: Likewise.
3893         * manual/message.texi: Likewise.
3894         * manual/probes.texi: Likewise.
3895         * manual/resource.texi: Likewise.
3896         * manual/signal.texi: Likewise.
3897         * manual/socket.texi: Likewise.
3898         * manual/stdio.texi: Likewise.
3899         * manual/string.texi: Likewise.
3900         * manual/time.texi: Likewise.
3901         * manual/users.texi: Likewise.
3902
3903 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
3904
3905         [BZ #16632]
3906         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3907         _DEFAULT_SOURCE is defined.
3908
3909 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
3910             Carlos O'Donell  <carlos@redhat.com>
3911
3912         [BZ #16613]
3913         * elf/dl-tls.c (_dl_count_modids): New function.
3914         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3915         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3916         audit library and increment generation counter.
3917         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3918         * elf/tst-audit9.c: New file.
3919         * elf/tst-auditmod9a.c: New file.
3920         * elf/tst-auditmod9b.c: New file.
3921         * elf/Makefile: Add rules to build and run tst-audit9.
3922
3923 2014-02-25  Florian Weimer  <fweimer@redhat.com>
3924
3925         [BZ #15347]
3926         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3927
3928 2014-02-25  Will Newton  <will.newton@linaro.org>
3929
3930         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3931         (__longjmp): Restore sp and lr before restoring callee
3932         saved registers.  Add longjmp and longjmp_target
3933         SystemTap probe point.
3934         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3935         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3936         Define to zero to match jmpbuf layout.
3937         * sysdeps/arm/setjmp.S: Include stap-probe.h.
3938         (__sigsetjmp): Save sp and lr before saving callee
3939         saved registers.  Add setjmp SystemTap probe point.
3940
3941 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3942
3943         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3944
3945 2014-02-24  Andreas Schwab  <schwab@suse.de>
3946
3947         [BZ #15804]
3948         * elf/pldd.c (wait_for_ptrace_stop): New function.
3949         (main): Call it after attaching.
3950
3951 2014-02-22  Roland McGrath  <roland@hack.frob.com>
3952
3953         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3954         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3955         Versions files is now verboten.
3956         * hurd/Versions (libc: GLIBC_2.0):
3957         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3958         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3959         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3960         * mach/Versions: Likewise.
3961
3962         * csu/Versions: Remove unused %include.
3963         * resolv/Versions: Likewise.
3964
3965 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
3966
3967         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3968         ($(objpfx)check-local-headers.out): Likewise.
3969         ($(objpfx)begin-end-check.out): Likewise.
3970         * Makerules (check-abi-%.out): Likewise.
3971         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3972         ($(objpfx)test2.cat): Likewise.
3973         ($(objpfx)de/libc.cat): Likewise.
3974         ($(objpfx)test-gencat.out): Likewise.
3975         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3976         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3977         ($(objpfx)noload-mem): Likewise.
3978         ($(objpfx)tst-pathopt.out): Likewise.
3979         ($(objpfx)tst-rtld-load-self.out): Likewise.
3980         ($(objpfx)tst-array1-cmp.out): Likewise.
3981         ($(objpfx)tst-array1-static-cmp.out): Likewise.
3982         ($(objpfx)tst-array2-cmp.out): Likewise.
3983         ($(objpfx)tst-array3-cmp.out): Likewise.
3984         ($(objpfx)tst-array4-cmp.out): Likewise.
3985         ($(objpfx)tst-array5-cmp.out): Likewise.
3986         ($(objpfx)tst-array5-static-cmp.out): Likewise.
3987         ($(objpfx)check-textrel.out): Likewise.
3988         ($(objpfx)check-execstack.out): Likewise.
3989         ($(objpfx)check-localplt.out): Likewise.
3990         ($(objpfx)order2-cmp.out): Likewise.
3991         ($(objpfx)tst-leaks1-mem): Likewise.
3992         ($(objpfx)tst-leaks1-static-mem): Likewise.
3993         ($(objpfx)tst-initorder-cmp.out): Likewise.
3994         ($(objpfx)tst-initorder2-cmp.out): Likewise.
3995         ($(objpfx)tst-unused-dep.out): Likewise.
3996         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3997         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3998         * iconv/Makefile (test-iconvconfig): Likewise.
3999         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4000         ($(objpfx)iconv-test.out): Likewise.
4001         ($(objpfx)tst-tables.out): Likewise.
4002         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4003         ($(objpfx)tst-gettext.out): Likewise.
4004         ($(objpfx)tst-translit.out): Likewise.
4005         ($(objpfx)tst-gettext2.out): Likewise.
4006         ($(objpfx)tst-gettext4.out): Likewise.
4007         ($(objpfx)tst-gettext6.out): Likewise.
4008         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4009         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4010         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4011         ($(objpfx)tst-fopenloc-mem.out): Likewise.
4012         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4013         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4014         * posix/Makefile ($(objpfx)globtest.out): Likewise.
4015         ($(objpfx)wordexp-tst.out): Likewise.
4016         ($(objpfx)annexc.out): Likewise.
4017         ($(objpfx)tst-fnmatch-mem): Likewise.
4018         ($(objpfx)bug-regex2-mem): Likewise.
4019         ($(objpfx)bug-regex14-mem): Likewise.
4020         ($(objpfx)bug-regex21-mem): Likewise.
4021         ($(objpfx)bug-regex31-mem): Likewise.
4022         ($(objpfx)tst-vfork3-mem): Likewise.
4023         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4024         ($(objpfx)tst-pcre-mem): Likewise.
4025         ($(objpfx)tst-boost-mem): Likewise.
4026         ($(objpfx)tst-getconf.out): Likewise.
4027         ($(objpfx)bug-ga2-mem): Likewise.
4028         ($(objpfx)bug-glob2-mem): Likewise.
4029         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4030         ($(objpfx)mtrace-tst-leaks2): Likewise.
4031         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4032         ($(objpfx)tst-printf.out): Likewise.
4033         ($(objpfx)tst-setvbuf1.out): Likewise.
4034         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4035         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4036         ($(objpfx)tst-fmtmsg.out): Likewise.
4037         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4038         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4039
4040         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4041         * bits/sigaction.h [__USE_MISC]: Likewise.
4042         * bits/waitstatus.h: Update #endif comments.
4043         * ctype/ctype.h: Likewise.
4044         * dirent/dirent.h: Likewise.
4045         [__USE_MISC]: Remove redundant conditionals.
4046         * grp/grp.h: Update #endif comments.
4047         [__USE_GNU]: Remove redundant conditionals.
4048         [__USE_MISC]: Likewise.
4049         * inet/netinet/in.h [__USE_GNU]: Likewise.
4050         * io/sys/stat.h [__USE_MISC]: Likewise.
4051         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4052         * libio/bits/stdio.h: Update #endif comments.
4053         [__USE_MISC]: Remove redundant conditionals.
4054         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4055         * libio/stdio.h: Update #endif comments.
4056         [__USE_MISC]: Remove redundant conditionals.
4057         * math/bits/math-finite.h [__USE_MISC]: Likewise.
4058         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4059         * math/math.h: Update #else and #endif comments.
4060         [__USE_MISC]: Remove redundant conditionals.
4061         * misc/sys/uio.h: Update #endif comments.
4062         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4063         * posix/glob.h [__USE_MISC]: Likewise.
4064         * posix/sys/types.h: Update #endif comments.
4065         [__USE_MISC]: Remove redundant conditionals.
4066         * posix/sys/wait.h: Update #endif comments.
4067         [__USE_MISC]: Remove redundant conditionals.
4068         * posix/unistd.h: Update #endif comments.
4069         [__USE_MISC]: Remove redundant conditionals.
4070         * pwd/pwd.h [__USE_GNU]: Likewise.
4071         [__USE_MISC]: Likewise.
4072         * resolv/netdb.h [__USE_GNU]: Likewise.
4073         * signal/signal.h: Update #endif comments.
4074         [__USE_MISC]: Remove redundant conditionals.
4075         * stdlib/stdlib.h: Update #else and #endif comments.
4076         [__USE_MISC]: Remove redundant conditionals.
4077         [__USE_GNU]: Likewise.
4078         * string/bits/string2.h [__USE_MISC]: Likewise.
4079         * string/string.h: Update #endif comments.
4080         [__USE_MISC]: Remove redundant conditionals.
4081         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4082         Likewise.
4083         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4084         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4085         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4086         Likewise.
4087         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4088         Likewise.
4089         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4090         comments.
4091         [__USE_MISC]: Remove redundant conditionals.
4092         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4093         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4094         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4095         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4096         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4097         Likewise.
4098         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4099         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4100         Likewise.
4101         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4102         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4103         Likewise.
4104         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4105         Likewise.
4106         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4107         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4108         Likewise.
4109         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4110         Likewise.
4111         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4112         * sysdeps/x86/bits/string.h: Update #endif comments.
4113         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4114         conditionals.
4115         * time/sys/time.h: Update #endif comments.
4116         * time/time.h: Likewise.
4117         [__USE_MISC]: Remove redundant conditionals.
4118
4119 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
4120
4121         [BZ #16600]
4122         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4123
4124 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
4125
4126         * Versions.def (librt): Add GLIBC_2.17.
4127
4128 2014-02-21  Adam Conrad  <adconrad@0c3.net>
4129
4130         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4131         synonym for _SYS_AUXV_H to allow direct inclusion.
4132         * sysdeps/sparc/bits/hwcap.h: Likewise.
4133         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4134         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4135         * sysdeps/sparc/sysdep.h: Likewise.
4136
4137 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4138
4139         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4140
4141 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4142
4143         * benchtests/bench-strrchr.c: Print length instead of position.
4144
4145 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
4146
4147         [BZ #16611]
4148         * sysdeps/unix/sysv/linux/kernel-features.h
4149         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4150         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4151         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4152         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4153         Likewise.
4154         [__i386__ || __powerpc__ || __sh__ || __sparc__]
4155         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4156         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4157         (__ASSUME_SENDMMSG): Define instead of using previous
4158         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4159         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4160         (__ASSUME_SENDMMSG_SYSCALL): Define.
4161         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4162         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4163         Likewise.
4164         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4165         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4166         Likewise.
4167         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4168         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4169         Likewise.
4170         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4171         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4172         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4173         [__ASSUME_SENDMMSG]: Change conditionals to
4174         [__ASSUME_SENDMMSG_SOCKETCALL].
4175         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4176         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4177         Define.
4178         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4179         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4180         Likewise.
4181         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4182         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4183         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4184         [!__ASSUME_SENDMMSG]: Change conditional to
4185         [!__ASSUME_SENDMMSG_SOCKETCALL].
4186         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4187         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4188         Define.
4189
4190         [BZ #16610]
4191         * sysdeps/unix/sysv/linux/kernel-features.h
4192         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4193         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4194         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4195         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4196         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4197         [__i386__ || __sparc__]
4198         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4199         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4200         (__ASSUME_RECVMMSG): Define instead of using previous
4201         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4202         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4203         (__ASSUME_RECVMMSG_SYSCALL): Define.
4204         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4205         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4206         Likewise.
4207         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4208         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4209         Likewise.
4210         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4211         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4212         Likewise.
4213         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4214         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4215         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4216         [__ASSUME_RECVMMSG]: Change condition to
4217         [__ASSUME_RECVMMSG_SOCKETCALL].
4218         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4219         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4220         Define.
4221         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4222         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4223         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4224         Likewise.
4225         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4226         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4227         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4228         [!__ASSUME_RECVMMSG]: Change condition to
4229         [!__ASSUME_RECVMMSG_SOCKETCALL].
4230         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4231         (__ASSUME_RECVMMSG_SYSCALL): Define.
4232
4233         [BZ #16609]
4234         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4235         __powerpc__ || __s390__ || __sh__ || __sparc__]
4236         (__ASSUME_SOCKETCALL): Define.
4237         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4238         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4239         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4240         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4241         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4242         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4243         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4244         (__ASSUME_ACCEPT4): Define instead of using previous
4245         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4246         __powerpc__ || __sparc__ || __s390__)] condition.
4247         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4248         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4249         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4250         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4251         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4252         [!__ASSUME_ACCEPT4]: Change condition to
4253         [!__ASSUME_ACCEPT4_SOCKETCALL].
4254         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4255         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
4256         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4257         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4258         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4259         __ASSUME_ACCEPT4_SYSCALL.
4260         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4261         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4262         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4263         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4264         __ASSUME_ACCEPT4_SYSCALL.
4265         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4266         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4267         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4268         [__ASSUME_ACCEPT4]: Change condition to
4269         [__ASSUME_ACCEPT4_SOCKETCALL].
4270         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4271         (__ASSUME_SOCKETCALL): Define.
4272         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4273         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4274         (__ASSUME_SOCKETCALL): Define.
4275         (__ASSUME_ACCEPT4): Remove.
4276         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4277         Define.
4278         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4279         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4280         Likewise.
4281         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4282         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4283
4284         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4285         macro.
4286         (HWCAP_ARM_LPAE): Likewise.
4287         (HWCAP_ARM_EVTSTRM): Likewise.
4288         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4289         Add vpfd32, lpae and evtstrm.
4290         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4291         Increase to 22.
4292
4293 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
4294
4295         * math/auto-libm-test-in: Add tests of clog10.
4296         * math/auto-libm-test-out: Regenerated.
4297         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4298         * sysdeps/i386/fpu/libm-test-ulps: Update.
4299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4300
4301 2014-02-18  Andreas Schwab  <schwab@suse.de>
4302
4303         [BZ #16574]
4304         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4305         Store non-zero if the second buffer was newly allocated.
4306         (send_dg): Likewise.
4307         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4308         to send_vc and send_dg.
4309         (res_nsend): Pass NULL for ansp2_malloced.
4310         * resolv/res_query.c (__libc_res_nquery): Add parameter
4311         answerp2_malloced and pass it down to __libc_res_nsend.
4312         (res_nquery): Pass additional NULL to __libc_res_nquery.
4313         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4314         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
4315         second answer buffer if answerp2_malloced was set.
4316         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4317         (__libc_res_nquerydomain): Add parameter
4318         answerp2_malloced and pass it down to __libc_res_nquery.
4319         (res_nquerydomain): Pass additional NULL to
4320         __libc_res_nquerydomain.
4321         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4322         additional NULL to __libc_res_nsend and __libc_res_nquery.
4323         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4324         additional NULL to __libc_res_nsearch.
4325         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
4326         parameter of __libc_res_nsearch to check for separately allocated
4327         second buffer.
4328         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4329         __libc_res_nquery.
4330         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4331         additional NULL to __libc_res_nquery.
4332         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4333         __libc_res_nsearch.
4334         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4335         * include/resolv.h: Update prototypes of __libc_res_nquery,
4336         __libc_res_nsearch, __libc_res_nsend.
4337
4338 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
4339
4340         * math/auto-libm-test-in: Add tests of fma.
4341         * math/auto-libm-test-out: Regenerated.
4342         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4343         (fma_towardzero_test_data): Likewise.
4344         (fma_downward_test_data): Likewise.
4345         (fma_upward_test_data): Likewise.
4346         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4347         mpc_mode.
4348         (rounding_modes): Add values for new field.
4349         (func_calc_method): Add value mpfr_fff_f.
4350         (func_calc_desc): Add mpfr_fff_f union field.
4351         (test_function): Add field exact_args.
4352         (FUNC): Add macro argument EXACT_ARGS.
4353         (FUNC_mpfr_f_f): Update call to FUNC.
4354         (FUNC_mpfr_f_f): Likewise.
4355         (FUNC_mpfr_ff_f): Likewise.
4356         (FUNC_mpfr_if_f): Likewise.
4357         (FUNC_mpc_c_f): Likewise.
4358         (FUNC_mpc_c_c): Likewise.
4359         (test_functions): Add fma.  Update calls to FUNC.
4360         (handle_input_arg): Add argument exact_args.
4361         (add_test): Update call to handle_input_arg.
4362         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
4363         (output_for_one_input_case): Update call to calc_generic_results.
4364         Recalculate exact zero results in each rounding mode.
4365
4366         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4367         non-negative before setting low bit.
4368         * math/auto-libm-test-in: Mark one asin test possibly having
4369         spurious underflow.
4370         * math/auto-libm-test-out: Regenerated.
4371         * sysdeps/i386/fpu/libm-test-ulps: Update.
4372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4373
4374 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
4375
4376         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4377         * sysdeps/unix/sysv/linux/microblaze: Move directory from
4378         ports/sysdeps/unix/sysv/linux/microblaze.
4379         * README: Add missing listing for microblaze*-*-linux-gnu.
4380
4381 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
4382
4383         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4384         * sysdeps/unix/sysv/linux/ia64: Move directory from
4385         ports/sysdeps/unix/sysv/linux/ia64.
4386         * README: Update listing for ia64-*-linux-gnu.
4387
4388 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
4389             Joseph Myers  <joseph@codesourcery.com>
4390
4391         * Makeconfig (test-name): New variable.
4392         (evaluate-test): Likewise.
4393         * Makerules (do-test-clean): Remove .test-result files.
4394         (common-mostlyclean): Likewise.
4395         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4396         * scripts/evaluate-test.sh: New file.
4397
4398 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
4399
4400         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4401         separate $(objpfx)tst-fopenloc-cmp.out and
4402         $(objpfx)tst-fopenloc-mem.out targets.
4403         (tests): Update dependencies.
4404         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4405         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4406         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4407         (tst-rxspencer-no-utf8-ARGS): New variable.
4408         (tst-rxspencer-no-utf8-ENV): Likewise.
4409         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4410         instead of $(objpfx)tst-rxspencer-mem.
4411         ($(objpfx)tst-rxspencer-mem): Change target to
4412         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
4413         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4414         * posix/tst-rxspencer-no-utf8.c: New file.
4415
4416         * elf/Makefile ($(objpfx)order.out): Remove rule.
4417         [$(run-built-tests) = yes] (tests): Depend on
4418         $(objpfx)order-cmp.out.
4419         ($(objpfx)order-cmp.out): New rule.
4420         [$(run-built-tests) = yes] (tests): Depend on
4421         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4422         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4423         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4424         $(objpfx)tst-array5-static-cmp.out.
4425         ($(objpfx)tst-array1.out): Remove rule.
4426         ($(objpfx)tst-array1-cmp.out): New rule.
4427         ($(objpfx)tst-array1-static.out): Remove rule.
4428         ($(objpfx)tst-array1-static-cmp.out): New rule.
4429         ($(objpfx)tst-array2.out): Remove rule.
4430         ($(objpfx)tst-array2-cmp.out): New rule.
4431         ($(objpfx)tst-array3.out): Remove rule.
4432         ($(objpfx)tst-array3-cmp.out): New rule.
4433         ($(objpfx)tst-array4.out): Remove rule.
4434         ($(objpfx)tst-array4-cmp.out): New rule.
4435         ($(objpfx)tst-array5.out): Remove rule.
4436         ($(objpfx)tst-array5-cmp.out): New rule.
4437         ($(objpfx)tst-array5-static.out): Remove rule.
4438         ($(objpfx)tst-array5-static-cmp.out): New rule.
4439         [$(run-built-tests) = yes] (tests): Depend on
4440         $(objpfx)order2-cmp.out.
4441         ($(objpfx)order2.out): Remove rule.
4442         ($(objpfx)order2-cmp.out): New rule.
4443         ($(objpfx)tst-initorder.out): Remove rule.
4444         [$(run-built-tests) = yes] (tests): Depend on
4445         $(objpfx)tst-initorder-cmp.out.
4446         ($(objpfx)tst-initorder-cmp.out): New rule.
4447         ($(objpfx)tst-initorder2.out): Remove rule.
4448         [$(run-built-tests) = yes] (tests): Depend on
4449         $(objpfx)tst-initorder2-cmp.out.
4450         ($(objpfx)tst-initorder2-cmp.out): New rule.
4451         [$(run-built-tests) = yes] (tests): Depend on
4452         $(objpfx)tst-unused-dep-cmp.out.
4453         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4454         ($(objpfx)tst-unused-dep-cmp.out): New rule.
4455         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4456         on $(objpfx)tst-setvbuf1-cmp.out.
4457         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4458         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4459         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4460         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4461         ($(objpfx)tst-svc.out): Remove rule.
4462         ($(objpfx)tst-svc-cmp.out): New rule.
4463
4464 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
4465
4466         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4467         * ctype/ctype.h [__USE_MISC]: Likewise.
4468         * dirent/dirent.h [__USE_MISC]: Likewise.
4469         * grp/grp.h [__USE_MISC]: Likewise.
4470         * io/fcntl.h [__USE_MISC]: Likewise.
4471         * io/sys/stat.h [__USE_MISC]: Likewise.
4472         * libio/stdio.h [__USE_MISC]: Likewise.
4473         * posix/unistd.h [__USE_MISC]: Likewise.
4474         * pwd/pwd.h [__USE_MISC]: Likewise.
4475         * stdlib.h [__USE_MISC]: Likewise.
4476         * string/bits/string2.h [__USE_MISC]: Likewise.
4477         * string/string.h [__USE_MISC]: Likewise.
4478         * time/time.h [__USE_MISC]: Likewise.
4479
4480 2014-02-13  Andreas Schwab  <schwab@suse.de>
4481
4482         [BZ #16574]
4483         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4484         second answer buffer if it was separately allocated.
4485
4486 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
4487
4488         * sysdeps/mips/math-tests.h: Include <features.h>.
4489         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4490         (ROUNDING_TESTS_long_double): Do not define.
4491         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4492         (EXCEPTION_TESTS_long_double): Likewise.
4493         * sysdeps/mips/mips64/libm-test-ulps: Update.
4494
4495         * include/features.h (__USE_BSD): Remove macro definitions.
4496         (__USE_SVID): Likewise.
4497         (_BSD_SOURCE): Likewise.
4498         (_SVID_SOURCE): Likewise.
4499         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4500         from definition of _DEFAULT_SOURCE.
4501         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4502         [_DEFAULT_SOURCE].
4503         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4504         * bits/mman.h [__USE_BSD]: Likewise.
4505         * bits/termios.h [__USE_BSD]: Likewise.
4506         * bits/waitstatus.h [__USE_BSD]: Likewise.
4507         * ctype/ctype.h [__USE_SVID]: Likewise.
4508         * dirent/dirent.h [__USE_BSD]: Likewise.
4509         * grp/grp.h [__USE_SVID]: Likewise.
4510         [__USE_BSD]: Likewise.
4511         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4512         * io/fcntl.h [__USE_BSD]: Likewise.
4513         * io/ftw.h [__USE_BSD]: Likewise.
4514         * io/sys/stat.h [__USE_BSD]: Likewise.
4515         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4516         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4517         * libio/stdio.h [__USE_SVID]: Likewise.
4518         [__USE_BSD]: Likewise.
4519         * math/math.h [__USE_SVID]: Likewise.
4520         [__USE_BSD]: Likewise.
4521         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4522         * misc/bits/syslog.h [__USE_BSD]: Likewise.
4523         * misc/search.h [__USE_SVID]: Likewise.
4524         * misc/sys/mman.h [__USE_BSD]: Likewise.
4525         * misc/sys/syslog.h [__USE_BSD]: Likewise.
4526         * misc/sys/uio.h [__USE_BSD]: Likewise.
4527         * posix/bits/unistd.h [__USE_BSD]: Likewise.
4528         * posix/glob.h [__USE_BSD]: Likewise.
4529         * posix/regex.h [__USE_BSD]: Likewise.
4530         * posix/sys/types.h [__USE_BSD]: Likewise.
4531         [__USE_SVID]: Likewise.
4532         * posix/sys/utsname.h [__USE_SVID]: Likewise.
4533         * posix/sys/wait.h [__USE_BSD]: Likewise.
4534         [__USE_SVID]: Likewise.
4535         * posix/unistd.h [__USE_BSD]: Likewise.
4536         [__USE_SVID]: Likewise.
4537         * pwd/pwd.h [__USE_SVID]: Likewise.
4538         * resolv/netdb.h [__USE_BSD]: Likewise.
4539         * setjmp/setjmp.h [__USE_BSD]: Likewise.
4540         * signal/signal.h [__USE_BSD]: Likewise.
4541         [__USE_SVID]: Likewise.
4542         * socket/sys/socket.h [__USE_BSD]: Likewise.
4543         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4544         * stdlib/stdlib.h [__USE_BSD]: Likewise.
4545         [__USE_SVID]: Likewise.
4546         * string/bits/string2.h [__USE_BSD]: Likewise.
4547         [__USE_SVID]: Likewise.
4548         * string/bits/string3.h [__USE_BSD]: Likewise.
4549         * string/endian.h [__USE_BSD]: Likewise.
4550         * string/string.h [__USE_SVID]: Likewise.
4551         [__USE_BSD]: Likewise.
4552         * string/strings.h [__USE_BSD]: Likewise.
4553         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4554         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4555         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4556         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4557         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4558         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4559         Likewise.
4560         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4561         Likewise.
4562         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4563         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4564         Likewise.
4565         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4566         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4567         Likewise.
4568         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4569         Likewise.
4570         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4571         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4572         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4573         Likewise.
4574         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4575         Likewise.
4576         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4577         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4578         * termios/termios.h [__USE_BSD]: Likewise.
4579         * time/sys/time.h [__USE_BSD]: Likewise.
4580         * time/time.h [__USE_BSD]: Likewise.
4581         [__USE_SVID]: Likewise.
4582
4583         * Makefile (subdir_targets): Remove subdir_lint.out.
4584
4585         * stdio-common/Makefile (do-tst-unbputc): Remove target.
4586         (do-tst-printf): Likewise.
4587         (tests): Depend directly on $(objpfx)tst-unbputc.out and
4588         $(objpfx)tst-printf.out.
4589
4590         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4591
4592         * Makerules (check-abi-%): Change target to
4593         $(objpfx)check-abi-%.out.
4594         (check-abi target): Update dependencies.
4595         (check-abi-pattern variable): Redirect output of diff to $@.
4596         (check-abi variable): Likewise.
4597         * elf/Makefile (check-abi): Update dependencies.
4598
4599         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4600         unused.
4601         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4602         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4603         subnormal range.
4604         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4605         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4606         value has largest subnormal exponent.
4607         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4608         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4609         * sysdeps/aarch64/soft-fp/sfp-machine.h
4610         (_FP_TININESS_AFTER_ROUNDING): New macro.
4611         * sysdeps/alpha/soft-fp/sfp-machine.h
4612         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4613         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4614         Likewise.
4615         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4616         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4617         * sysdeps/mips/soft-fp/sfp-machine.h
4618         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4619         * sysdeps/powerpc/soft-fp/sfp-machine.h
4620         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4621         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4622         Likewise.
4623         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4624         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4625         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4626         (_FP_TININESS_AFTER_ROUNDING): Likewise.
4627         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4628         Likewise.
4629
4630 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
4631
4632         [BZ #16545]
4633         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4634         model 1.
4635
4636 2014-02-12  Richard Henderson  <rth@redhat.com>
4637
4638         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4639         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4640         * sysdeps/unix/sysv/linux/alpha: Move directory from
4641         ports/sysdeps/unix/sysv/linux/alpha.
4642         * README: Update listing for alpha-*-linux-gnu.
4643
4644 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
4645
4646         * include/features.h: Update comment documenting feature test
4647         macros.
4648         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
4649         _DEFAULT_SOURCE.
4650         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4651         (_SVID_SOURCE): Likewise.
4652         (_DEFAULT_SOURCE): Update description of default features.
4653         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4654         with _GNU_SOURCE.
4655         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4656         (S_ISVTX): Likewise.
4657         * manual/math.texi (Mathematical Constants): Likewise.
4658         * manual/signal.texi (Interrupted Primitives): Likewise.
4659         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4660         * math/test-matherr.c (_SVID_SOURCE): Do not define.
4661         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4662         Don't refer to _SVID_SOURCE in warning text.
4663
4664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4665
4666         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4667         already defined.
4668         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4669         * sysdeps/mips/dl-lookup.c: Remove.
4670         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4671
4672 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4673
4674         [BZ #16447]
4675         * math/auto-libm-test-in: Add testcase for expl.
4676         * math/auto-libm-test-out: Regenerate.
4677         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4678         calculation of unsafe.
4679         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4680
4681 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4682
4683         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4684         * sysdeps/unix/sysv/linux/aarch64: Move directory from
4685         ports/sysdeps/unix/sysv/linux/aarch64.
4686         * README: Update listing for aarch64*-*-linux-gnu.
4687
4688 2014-02-11  Will Newton  <will.newton@linaro.org>
4689
4690         * manual/probes.texi (Mathematical Function Probes): Use
4691         "triggered" instead of "hit".
4692
4693         * manual/probes.texi (Internal Probes): Add documentation
4694         of setjmp, longjmp and longjmp_target probes.
4695
4696         * include/stap-probe.h: Add comment about probe argument
4697         format.
4698
4699         * malloc/mtrace.c (attribute_hidden): Remove unused macro
4700         definition.  (tr_where, tr_freehook, tr_mallochook,
4701         tr_reallochook, tr_memalignhook): Use ANSI protoype.
4702
4703 2014-02-11  David S. Miller  <davem@davemloft.net>
4704
4705         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4706         processing int_tests.
4707
4708 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
4709
4710         * sysdeps/mips: Move directory from ports/sysdeps/mips.
4711         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4712         * sysdeps/unix/sysv/linux/mips: Move directory from
4713         ports/sysdeps/unix/sysv/linux/mips.
4714         * README: Update listing for mips-*-linux-gnu and
4715         mips64-*-linux-gnu.
4716
4717 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
4718
4719         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4720         * sysdeps/unix/sysv/linux/m68k: Move directory from
4721         ports/sysdeps/unix/sysv/linux/m68k.
4722         * README: Update listing for m68k-*-linux-gnu.
4723
4724 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
4725
4726         * sysdeps/tile: Move directory from ports/sysdeps/tile.
4727         * sysdeps/unix/sysv/linux/generic: Move directory from
4728         ports/sysdeps/unix/sysv/linux/generic.
4729         * sysdeps/unix/sysv/linux/tile: Move directory from
4730         ports/sysdeps/unix/sysv/linux/tile.
4731         * README: Update listing for tile*-*-linux-gnu.
4732
4733 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4734
4735         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4736         __builtin_expect.
4737         * benchtests/bench-memmem.c (simple_memmem): Likewise.
4738         * catgets/open_catalog.c (__open_catalog): Likewise.
4739         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4740         * debug/confstr_chk.c: Likewise.
4741         * debug/fread_chk.c (__fread_chk): Likewise.
4742         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4743         * debug/getgroups_chk.c: Likewise.
4744         * debug/mbsnrtowcs_chk.c: Likewise.
4745         * debug/mbsrtowcs_chk.c: Likewise.
4746         * debug/mbstowcs_chk.c: Likewise.
4747         * debug/memcpy_chk.c: Likewise.
4748         * debug/memmove_chk.c: Likewise.
4749         * debug/mempcpy_chk.c: Likewise.
4750         * debug/memset_chk.c: Likewise.
4751         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4752         * debug/strcat_chk.c (__strcat_chk): Likewise.
4753         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4754         * debug/strncat_chk.c (__strncat_chk): Likewise.
4755         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4756         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4757         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4758         * debug/wcpncpy_chk.c: Likewise.
4759         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4760         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4761         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4762         * debug/wcsncpy_chk.c: Likewise.
4763         * debug/wcsnrtombs_chk.c: Likewise.
4764         * debug/wcsrtombs_chk.c: Likewise.
4765         * debug/wcstombs_chk.c: Likewise.
4766         * debug/wmemcpy_chk.c: Likewise.
4767         * debug/wmemmove_chk.c: Likewise.
4768         * debug/wmempcpy_chk.c: Likewise.
4769         * debug/wmemset_chk.c: Likewise.
4770         * dirent/scandirat.c (SCANDIRAT): Likewise.
4771         * dlfcn/dladdr1.c (dladdr1): Likewise.
4772         * dlfcn/dladdr.c (dladdr): Likewise.
4773         * dlfcn/dlclose.c (dlclose_doit): Likewise.
4774         * dlfcn/dlerror.c (__dlerror): Likewise.
4775         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4776         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4777         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4778         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4779         * dlfcn/dlsym.c (dlsym_doit): Likewise.
4780         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4781         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4782         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4783         Likewise.
4784         * elf/dl-conflict.c: Likewise.
4785         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4786         * elf/dl-dst.h: Likewise.
4787         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4788         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4789         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4790         * elf/dl-init.c (call_init, _dl_init): Likewise.
4791         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4792         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4793         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4794         Likewise.
4795         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4796         Likewise.
4797         * elf/dl-minimal.c (__libc_memalign): Likewise.
4798         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4799         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4800         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4801         * elf/dl-sym.c (do_sym): Likewise.
4802         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4803         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4804         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4805         * elf/dl-writev.h (_dl_writev): Likewise.
4806         * elf/ldconfig.c (search_dir): Likewise.
4807         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4808         (dl_main): Likewise.
4809         * elf/setup-vdso.h (setup_vdso): Likewise.
4810         * grp/compat-initgroups.c (compat_call): Likewise.
4811         * grp/fgetgrent.c (fgetgrent): Likewise.
4812         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4813         * grp/putgrent.c (putgrent): Likewise.
4814         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4815         Likewise.
4816         * hurd/hurdinit.c: Likewise.
4817         * iconvdata/8bit-gap.c (struct): Likewise.
4818         * iconvdata/ansi_x3.110.c : Likewise.
4819         * iconvdata/big5.c : Likewise.
4820         * iconvdata/big5hkscs.c : Likewise.
4821         * iconvdata/cp1255.c: Likewise.
4822         * iconvdata/cp1258.c : Likewise.
4823         * iconvdata/cp932.c : Likewise.
4824         * iconvdata/euc-cn.c: Likewise.
4825         * iconvdata/euc-jisx0213.c : Likewise.
4826         * iconvdata/euc-jp.c: Likewise.
4827         * iconvdata/euc-jp-ms.c : Likewise.
4828         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4829         * iconvdata/gb18030.c : Likewise.
4830         * iconvdata/gbbig5.c (const): Likewise.
4831         * iconvdata/gbgbk.c: Likewise.
4832         * iconvdata/gbk.c : Likewise.
4833         * iconvdata/ibm1364.c : Likewise.
4834         * iconvdata/ibm930.c : Likewise.
4835         * iconvdata/ibm932.c: Likewise.
4836         * iconvdata/ibm933.c : Likewise.
4837         * iconvdata/ibm935.c : Likewise.
4838         * iconvdata/ibm937.c : Likewise.
4839         * iconvdata/ibm939.c : Likewise.
4840         * iconvdata/ibm943.c: Likewise.
4841         * iconvdata/iso_11548-1.c: Likewise.
4842         * iconvdata/iso-2022-cn.c : Likewise.
4843         * iconvdata/iso-2022-cn-ext.c : Likewise.
4844         * iconvdata/iso-2022-jp-3.c: Likewise.
4845         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4846         * iconvdata/iso-2022-kr.c : Likewise.
4847         * iconvdata/iso646.c (gconv_end): Likewise.
4848         * iconvdata/iso_6937-2.c : Likewise.
4849         * iconvdata/iso_6937.c : Likewise.
4850         * iconvdata/iso8859-1.c: Likewise.
4851         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4852         * iconvdata/shift_jisx0213.c : Likewise.
4853         * iconvdata/sjis.c : Likewise.
4854         * iconvdata/t.61.c : Likewise.
4855         * iconvdata/tcvn5712-1.c : Likewise.
4856         * iconvdata/tscii.c: Likewise.
4857         * iconvdata/uhc.c : Likewise.
4858         * iconvdata/unicode.c (gconv_end): Likewise.
4859         * iconvdata/utf-16.c (gconv_end): Likewise.
4860         * iconvdata/utf-32.c (gconv_end): Likewise.
4861         * iconvdata/utf-7.c (base64): Likewise.
4862         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4863         * iconv/gconv_close.c (__gconv_close): Likewise.
4864         * iconv/gconv_open.c (__gconv_open): Likewise.
4865         * iconv/gconv_simple.c (internal_ucs4_loop_single)
4866         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4867         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4868         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4869         (ucs4le_internal_loop_single): Likewise.
4870         * iconv/iconv.c (iconv): Likewise.
4871         * iconv/iconv_close.c: Likewise.
4872         * iconv/loop.c (SINGLE): Likewise.
4873         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4874         * include/atomic.h: Likewise.
4875         * inet/inet6_option.c (option_alloc): Likewise.
4876         * intl/bindtextdom.c (set_binding_values): Likewise.
4877         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4878         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4879         * intl/localealias.c (read_alias_file): Likewise.
4880         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4881         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4882         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4883         * libio/fmemopen.c (fmemopen): Likewise.
4884         * libio/iofgets.c (_IO_fgets): Likewise.
4885         * libio/iofgets_u.c (fgets_unlocked): Likewise.
4886         * libio/iofgetws.c (fgetws): Likewise.
4887         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4888         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4889         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4890         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4891         * locale/findlocale.c (_nl_find_locale): Likewise.
4892         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4893         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4894         Likewise.
4895         * locale/setlocale.c (setlocale): Likewise.
4896         * login/programs/pt_chown.c (main): Likewise.
4897         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4898         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4899         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4900         (mmap, mmap64, mremap, munmap): Likewise.
4901         * math/e_exp2l.c: Likewise.
4902         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4903         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4904         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4905         * math/s_catan.c (__catan): Likewise.
4906         * math/s_catanf.c (__catanf): Likewise.
4907         * math/s_catanh.c (__catanh): Likewise.
4908         * math/s_catanhf.c (__catanhf): Likewise.
4909         * math/s_catanhl.c (__catanhl): Likewise.
4910         * math/s_catanl.c (__catanl): Likewise.
4911         * math/s_ccosh.c (__ccosh): Likewise.
4912         * math/s_ccoshf.c (__ccoshf): Likewise.
4913         * math/s_ccoshl.c (__ccoshl): Likewise.
4914         * math/s_cexp.c (__cexp): Likewise.
4915         * math/s_cexpf.c (__cexpf): Likewise.
4916         * math/s_cexpl.c (__cexpl): Likewise.
4917         * math/s_clog10.c (__clog10): Likewise.
4918         * math/s_clog10f.c (__clog10f): Likewise.
4919         * math/s_clog10l.c (__clog10l): Likewise.
4920         * math/s_clog.c (__clog): Likewise.
4921         * math/s_clogf.c (__clogf): Likewise.
4922         * math/s_clogl.c (__clogl): Likewise.
4923         * math/s_csin.c (__csin): Likewise.
4924         * math/s_csinf.c (__csinf): Likewise.
4925         * math/s_csinh.c (__csinh): Likewise.
4926         * math/s_csinhf.c (__csinhf): Likewise.
4927         * math/s_csinhl.c (__csinhl): Likewise.
4928         * math/s_csinl.c (__csinl): Likewise.
4929         * math/s_csqrt.c (__csqrt): Likewise.
4930         * math/s_csqrtf.c (__csqrtf): Likewise.
4931         * math/s_csqrtl.c (__csqrtl): Likewise.
4932         * math/s_ctan.c (__ctan): Likewise.
4933         * math/s_ctanf.c (__ctanf): Likewise.
4934         * math/s_ctanh.c (__ctanh): Likewise.
4935         * math/s_ctanhf.c (__ctanhf): Likewise.
4936         * math/s_ctanhl.c (__ctanhl): Likewise.
4937         * math/s_ctanl.c (__ctanl): Likewise.
4938         * math/w_pow.c: Likewise.
4939         * math/w_powf.c: Likewise.
4940         * math/w_powl.c: Likewise.
4941         * math/w_scalb.c (sysv_scalb): Likewise.
4942         * math/w_scalbf.c (sysv_scalbf): Likewise.
4943         * math/w_scalbl.c (sysv_scalbl): Likewise.
4944         * misc/error.c (error_tail): Likewise.
4945         * misc/pselect.c (__pselect): Likewise.
4946         * nis/nis_callback.c (__nis_create_callback): Likewise.
4947         * nis/nis_call.c (__nisfind_server): Likewise.
4948         * nis/nis_creategroup.c (nis_creategroup): Likewise.
4949         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4950         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4951         * nis/nis_getservlist.c (nis_getservlist): Likewise.
4952         * nis/nis_lookup.c (nis_lookup): Likewise.
4953         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4954         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4955         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4956         * nis/nis_xdr.c (xdr_endpoint): Likewise.
4957         * nis/nss_compat/compat-grp.c (getgrent_next_file)
4958         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4959         * nis/nss_compat/compat-initgroups.c (add_group)
4960         (internal_getgrent_r): Likewise.
4961         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4962         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4963         * nis/nss_compat/compat-spwd.c (getspent_next_file)
4964         (internal_getspnam_r): Likewise.
4965         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4966         (_nss_nis_getaliasbyname_r): Likewise.
4967         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4968         (_nss_nis_getntohost_r): Likewise.
4969         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4970         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4971         (_nss_nis_getgrgid_r): Likewise.
4972         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4973         (internal_nis_gethostent_r, internal_gethostbyname2_r)
4974         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4975         (_nss_nis_gethostbyname4_r): Likewise.
4976         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4977         (initgroups_netid): Likewise.
4978         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4979         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4980         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4981         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4982         (_nss_nis_getprotobynumber_r): Likewise.
4983         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4984         (_nss_nis_getsecretkey): Likewise.
4985         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4986         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4987         (_nss_nis_getpwuid_r): Likewise.
4988         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4989         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4990         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4991         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4992         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4993         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4994         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4995         Likewise.
4996         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4997         (_nss_nisplus_getntohost_r): Likewise.
4998         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4999         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5000         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5001         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5002         Likewise.
5003         * nis/nss_nisplus/nisplus-initgroups.c
5004         (_nss_nisplus_initgroups_dyn): Likewise.
5005         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5006         (_nss_nisplus_getnetbyaddr_r): Likewise.
5007         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5008         (_nss_nisplus_getprotobynumber_r): Likewise.
5009         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5010         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5011         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5012         Likewise.
5013         * nis/nss_nisplus/nisplus-service.c
5014         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5015         (_nss_nisplus_getservbyport_r): Likewise.
5016         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5017         (_nss_nisplus_getspnam_r): Likewise.
5018         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5019         Likewise.
5020         * nscd/aicache.c (addhstaiX): Likewise.
5021         * nscd/cache.c (cache_search, prune_cache): Likewise.
5022         * nscd/connections.c (register_traced_file, send_ro_fd)
5023         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5024         (main_loop_epoll): Likewise.
5025         * nscd/grpcache.c (addgrbyX): Likewise.
5026         * nscd/hstcache.c (addhstbyX): Likewise.
5027         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5028         * nscd/mem.c (gc, mempool_alloc): Likewise.
5029         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5030         (addinnetgrX): Likewise.
5031         * nscd/nscd-client.h (__nscd_acquire_maplock)
5032         (__nscd_drop_map_ref): Likewise.
5033         * nscd/nscd_getai.c (__nscd_getai): Likewise.
5034         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5035         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5036         Likewise.
5037         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5038         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5039         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5040         (__nscd_get_map_ref): Likewise.
5041         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5042         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5043         Likewise.
5044         * nscd/pwdcache.c (addpwbyX): Likewise.
5045         * nscd/selinux.c (preserve_capabilities): Likewise.
5046         * nscd/servicescache.c (addservbyX): Likewise.
5047         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5048         * posix/fnmatch.c (fnmatch): Likewise.
5049         * posix/getopt.c (_getopt_internal_r): Likewise.
5050         * posix/glob.c (glob, glob_in_dir): Likewise.
5051         * posix/wordexp.c (exec_comm_child): Likewise.
5052         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5053         (getanswer_r, gaih_getanswer_slice): Likewise.
5054         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5055         * resolv/res_init.c: Likewise.
5056         * resolv/res_mkquery.c (res_nmkquery): Likewise.
5057         * resolv/res_query.c (__libc_res_nquery): Likewise.
5058         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5059         Likewise.
5060         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5061         * stdio-common/perror.c (perror): Likewise.
5062         * stdio-common/printf_fp.c (___printf_fp): Likewise.
5063         * stdio-common/tmpnam.c (tmpnam): Likewise.
5064         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5065         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5066         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5067         Likewise.
5068         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5069         * stdlib/putenv.c (putenv): Likewise.
5070         * stdlib/setenv.c (__add_to_environ): Likewise.
5071         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5072         * stdlib/strtol_l.c (INTERNAL): Likewise.
5073         * string/memmem.c (memmem): Likewise.
5074         * string/strerror.c (strerror): Likewise.
5075         * string/strnlen.c (__strnlen): Likewise.
5076         * string/test-memmem.c (simple_memmem): Likewise.
5077         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5078         * sunrpc/pm_getport.c (__get_socket): Likewise.
5079         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5080         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5081         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5082         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5083         Likewise.
5084         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5085         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5086         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5087         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5088         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5089         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5090         Likewise.
5091         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5092         Likewise.
5093         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5094         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5095         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5096         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5097         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5098         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5099         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5100         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5101         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5102         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5103         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5104         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5105         Likewise.
5106         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5107         Likewise.
5108         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5109         Likewise.
5110         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5111         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5112         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5113         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5114         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5115         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5116         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5117         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5118         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5119         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5120         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5121         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5122         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5123         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5124         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5125         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5126         Likewise.
5127         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5128         Likewise.
5129         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5130         Likewise.
5131         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5132         Likewise.
5133         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5134         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5135         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5136         Likewise.
5137         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5138         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5139         * sysdeps/posix/opendir.c (__opendirat): Likewise.
5140         * sysdeps/posix/sleep.c: Likewise.
5141         * sysdeps/posix/tempname.c: Likewise.
5142         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5143         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5144         Likewise.
5145         * sysdeps/powerpc/powerpc32/dl-machine.h
5146         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5147         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5148         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5149         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5150         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5151         Likewise.
5152         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5153         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5154         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5155         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5156         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5157         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5158         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5159         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5160         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5161         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5162         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5163         (elf_machine_lazy_rel): Likewise.
5164         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5165         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5166         (elf_machine_lazy_rel): Likewise.
5167         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5168         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5169         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5170         * sysdeps/unix/grantpt.c (grantpt): Likewise.
5171         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5172         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5173         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5174         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5175         Likewise.
5176         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5177         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5178         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5179         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5180         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5181         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5182         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5183         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5184         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5185         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5186         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5187         Likewise.
5188         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5189         (__posix_fallocate64_l64): Likewise.
5190         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5191         (posix_fallocate): Likewise.
5192         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5193         Likewise.
5194         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5195         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5196         (getifaddrs_internal): Likewise.
5197         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5198         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5199         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5200         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5201         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5202         (__posix_fallocate64_l64): Likewise.
5203         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5204         Likewise.
5205         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5206         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5207         (__get_clockfreq): Likewise.
5208         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5209         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5210         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5211         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5212         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5213         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5214         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5215         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5216         Likewise.
5217         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5218         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5219         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5220         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5221         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5222         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5223         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5224         Likewise.
5225         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5226         (posix_fallocate): Likewise.
5227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5228         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5229         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5230         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5231         (elf_machine_rela, elf_machine_rela_relative)
5232         (elf_machine_lazy_rel): Likewise.
5233         * time/asctime.c (asctime_internal): Likewise.
5234         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5235         * time/tzset.c (__tzset_parse_tz): Likewise.
5236         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5237         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5238         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5239         * wcsmbs/wcsmbsload.h: Likewise.
5240
5241         [BZ #15894]
5242         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5243
5244         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5245         (arena_get2): Remove THREAD_STATS conditionals.
5246         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5247         (__malloc_stats, int): Likewise.
5248
5249 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
5250
5251         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5252         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
5253
5254         * manual/setjmp.texi: Fix typos/grammar errors.
5255
5256         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5257         Only return early when n is <= 0.  Delete unused return statement.
5258
5259         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5260         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5261         * debug/tst-longjmp_chk3.c: New file.
5262
5263         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5264         (test_main): Replace code with set_fortify_handler call.
5265         * debug/test-strcpy_chk.c: Likewise.
5266         * debug/tst-chk1.c: Likewise.
5267         * debug/tst-longjmp_chk.c: Likewise.
5268         * test-skeleton.c: Include fcntl.h & paths.h
5269         (set_fortify_handler): Define.
5270
5271         * debug/tst-longjmp_chk.c: Add header comment and include
5272         ../test-skeleton.c.
5273         (do_test): Mark static.
5274         (TEST_FUNCTION): Define.
5275
5276         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5277         (IP_PMTUDISC_INTERFACE): Likewise.
5278         (IP_MULTICAST_IF): Likewise.
5279         (IP_MULTICAST_TTL): Likewise.
5280         (IP_MULTICAST_LOOP): Likewise.
5281         (IP_ADD_MEMBERSHIP): Likewise.
5282         (IP_DROP_MEMBERSHIP): Likewise.
5283         (IP_UNBLOCK_SOURCE): Likewise.
5284         (IP_BLOCK_SOURCE): Likewise.
5285         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5286         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5287         (IP_MSFILTER): Likewise.
5288         (MCAST_JOIN_GROUP): Likewise.
5289         (MCAST_BLOCK_SOURCE): Likewise.
5290         (MCAST_UNBLOCK_SOURCE): Likewise.
5291         (MCAST_LEAVE_GROUP): Likewise.
5292         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5293         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5294         (MCAST_MSFILTER): Likewise.
5295         (IP_MULTICAST_ALL): Likewise.
5296         (IP_UNICAST_IF): Likewise.
5297
5298         * timezone/Makefile: Delete $(have-ksh) check.
5299         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5300         * timezone/tzselect.ksh: Add +x mode bits.
5301
5302         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5303         (ANON_INODE_FS_MAGIC): Likewise.
5304         (BDEVFS_MAGIC): Likewise.
5305         (BINFMTFS_MAGIC): Likewise.
5306         (BTRFS_TEST_MAGIC): Likewise.
5307         (CRAMFS_MAGIC_WEND): Likewise.
5308         (DEBUGFS_MAGIC): Likewise.
5309         (ECRYPTFS_SUPER_MAGIC): Likewise.
5310         (EXT3_SUPER_MAGIC): Likewise.
5311         (EXT4_SUPER_MAGIC): Likewise.
5312         (FUTEXFS_SUPER_MAGIC): Likewise.
5313         (HOSTFS_SUPER_MAGIC): Likewise.
5314         (HUGETLBFS_MAGIC): Likewise.
5315         (MINIX3_SUPER_MAGIC): Likewise.
5316         (MTD_INODE_FS_MAGIC): Likewise.
5317         (NILFS_SUPER_MAGIC): Likewise.
5318         (OPENPROM_SUPER_MAGIC): Likewise.
5319         (PIPEFS_MAGIC): Likewise.
5320         (PSTOREFS_MAGIC): Likewise.
5321         (QNX6_SUPER_MAGIC): Likewise.
5322         (RAMFS_MAGIC): Likewise.
5323         (REISERFS_SUPER_MAGIC_STRING): Likewise.
5324         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5325         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5326         (SECURITYFS_MAGIC): Likewise.
5327         (SELINUX_MAGIC): Likewise.
5328         (SMACK_MAGIC): Likewise.
5329         (SOCKFS_MAGIC): Likewise.
5330         (SQUASHFS_MAGIC): Likewise.
5331         (STACK_END_MAGIC): Likewise.
5332         (TMPFS_MAGIC): Likewise.
5333         (USBDEVICE_SUPER_MAGIC): Likewise.
5334         (V9FS_MAGIC): Likewise.
5335         (XENFS_SUPER_MAGIC): Likewise.
5336         (CRAMFS_MAGIC): Fix typo in comment.
5337         (EXT2_SUPER_MAGIC): Update comment.
5338         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5339
5340 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
5341
5342         * sysdeps/arm: Move directory from ports/sysdeps/arm.
5343         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5344         * sysdeps/unix/sysv/linux/arm: Move directory from
5345         ports/sysdeps/unix/sysv/linux/arm.
5346         * README: Update listing for arm-*-linux-gnueabi.
5347
5348         * README: Remove mention of am33.
5349
5350 2014-02-07  Roland McGrath  <roland@hack.frob.com>
5351
5352         * bits/sigset.h (__sigemptyset): Use a statement expression rather
5353         than the comma operator, to avoid "rhs of comma has no effect"
5354         compiler warnings.
5355         (__sigfillset, __sigandset, __sigorset): Likewise.
5356         * include/signal.h (__sigemptyset): Likewise.
5357         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5358
5359 2014-02-07  Allan McRae  <allan@archlinux.org>
5360
5361         * version.h (RELEASE): Set to "development".
5362         (VERSION): Set to "2.19.90"
5363         * NEWS: Add 2.20 section.
5364
5365 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
5366
5367         [BZ #16529]
5368         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5369
5370 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5371
5372         * manual/contrib.texi: Update entry for Carlos O'Donell,
5373         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5374
5375 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
5376
5377         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5378
5379         * sysdeps/unix/sysv/linux/kernel-features.h
5380         [__LINUX_KERNEL_VERSION >= 0x020621]
5381         (__ASSUME_PROC_PID_TASK_COMM): Define.
5382
5383 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5384
5385         [BZ #16398]
5386         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5387         conversion when destination buffer does not have enough space.
5388         * libio/tst-ftell-partial-wide.c: New test case.
5389         * libio/Makefile (tests): Add tst-ftell-partial-wide.
5390
5391         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5392         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
5393         Leonard and Allan McRae.
5394
5395 2014-02-04  David S. Miller  <davem@davemloft.net>
5396
5397         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5398         32-bit.
5399
5400 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5401
5402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5403         New file
5404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5405         New file
5406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5407         New file.
5408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5409         New file.
5410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5411         New file.
5412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5413         New file.
5414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5415         New file.
5416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5417         New file.
5418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5419         New file.
5420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5421         New file.
5422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5423         New file.
5424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5425         New file.
5426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5427         New file.
5428
5429 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5430
5431         * nptl/shlib-versions: Change powerpc*le start to 2.17.
5432         * shlib-versions: Likewise.
5433
5434 2014-02-04  Roland McGrath  <roland@hack.frob.com>
5435             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5436
5437         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5438         (abilist-pattern): New variable, set to %-le.abilist.
5439
5440         * Makerules (abilist-pattern): New variable.
5441         (vpath): Use $(abilist-pattern) in place of %.abilist.
5442         (check-abi-% pattern rule): Likewise.
5443         (check-abi, update-abi): Likewise.
5444
5445 2014-02-04  Eric Wong  <normalperson@yhbt.net>
5446
5447         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5448
5449 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
5450
5451         * manual/startup.texi: Add next, previous, and top entries for
5452         the `Program Arguments' and `Environment Variables' nodes.
5453
5454 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
5455
5456         * manual/macros.texi: Add comments before MTASC-safety macros.
5457
5458         * manual/users.texi: Document MTASC-safety properties.
5459
5460         * manual/threads.texi (pthread_key_create, pthread_key_delete)
5461         (pthread_getspecific, pthread_setspecific): Format with
5462         @deftypefun, and add @safety note.
5463         * manual/signal.texi: Move comments that analyze the above
5464         functions to their home place.
5465
5466 2014-02-03  Allan McRae  <allan@archlinux.org>
5467
5468         * po/sl.po: Update Slovenian translation from translation project.
5469
5470 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
5471
5472         * manual/time.texi (timegm): Add missing blank after @c.
5473         Reported by Joseph Myers <joseph@codesourcery.com>.
5474
5475 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
5476
5477         * manual/check-safety.sh: New.
5478         * manual/Makefile ($(objpfx)stamp-summary): Run it.
5479
5480         * manual/terminal.texi: Document MTASC-safety properties.
5481
5482         * manual/filesys.texi: Document MTASC-safety properties.
5483
5484         * manual/errno.texi: Document MTASC-safety properties.
5485
5486         * manual/intro.texi: Document safety identifiers and
5487         conditionals.
5488
5489         * manual/string.texi (wcstok): Fix prototype.
5490         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5491
5492         * manual/time.texi: Document MTASC-safety properties.
5493
5494         * manual/string.texi: Document MTASC-safety properties.
5495
5496         * manual/threads.texi: Document MTASC-safety properties.
5497
5498         * manual/stdio.texi: Document MTASC-safety properties.
5499
5500         * manual/syslog.texi: Document MTASC-safety properties.
5501
5502         * manual/sysinfo.texi: Document MTASC-safety properties.
5503
5504         * manual/startup.texi: Document MTASC-safety properties.
5505
5506         * manual/socket.texi: Document MTASC-safety properties.
5507
5508         * manual/signal.texi: Document MTASC-safety properties.
5509
5510 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
5511
5512         * manual/setjmp.texi: Document MTASC-safety properties.
5513
5514         * manual/search.texi: Document MTASC-safety properties.
5515
5516         * manual/resource.texi: Document MTASC-safety properties.
5517
5518         * manual/process.texi: Document MTASC-safety properties.
5519
5520         * manual/platform.texi: Document MTASC-safety properties.
5521
5522         * manual/pipe.texi: Document MTASC-safety properties.
5523
5524         * manual/pattern.texi: Document MTASC-safety properties.
5525
5526         * manual/message.texi: Document MTASC-safety properties.
5527
5528         [BZ #12751]
5529         * manual/memory.texi: Document MTASC-safety properties.
5530
5531         * manual/math.texi: Document MTASC-safety properties.
5532
5533         * manual/locale.texi: Document MTASC-safety properties.
5534
5535         * manual/llio.texi: Document MTASC-safety properties.
5536
5537         * manual/libdl.texi: New.
5538
5539         * manual/lang.texi: Document MTASC-safety properties.
5540
5541         * manual/job.texi: Document MTASC-safety properties.
5542
5543         * manual/getopt.texi: Document MTASC-safety properties.
5544
5545         * manual/ctype.texi: Document MTASC-safety properties.
5546
5547 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
5548
5549         [BZ #16046]
5550         * csu/libc-tls.c (static_map): Remove variable.
5551         (__libc_setup_tls): Use main executable's link map for TLS data.
5552         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5553         casing for LM_ID_BASE and GL(dl_nns).
5554         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5555         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
5556         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5557         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5558         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5559         member.
5560         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5561         l_phnum members.
5562
5563 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
5564
5565         * manual/debug.texi: Document MTASC-safety properties.
5566
5567 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
5568
5569         [BZ #16510]
5570         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5571         of __x86_64__ when disabling x87 inline functions.
5572
5573 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
5574
5575         * manual/charset.texi: Document MTASC-safety properties.
5576
5577         * manual/crypt.texi: Document MTASC-safety properties.
5578
5579         * manual/conf.texi: Document MTASC-safety properties.
5580
5581         * manual/arith.texi: Document MTASC-safety properties.
5582
5583         * manual/argp.texi: Document MTASC-safety properties.
5584
5585         * manual/macros.texi: Introduce macros to document multi
5586         thread, asynchronous signal and asynchronous cancellation
5587         safety properties.
5588         * manual/intro.texi: Introduce the properties themselves.
5589
5590 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5591
5592         * sysdeps/sh/sh4/Makefile: New file.
5593
5594 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
5595
5596         * math/gen-libm-test.pl ($srcdir): New variable.
5597         ($auto_input): Use it.
5598
5599 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5600
5601         [BZ #16506]
5602         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5603         access beyond array bounds when parsing netgroups file.
5604
5605         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5606         the old buffer before realloc.
5607
5608 2014-01-27  Allan McRae  <allan@archlinux.org>
5609
5610         * po/fr.po: Update French translation from translation project.
5611
5612 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5613
5614         * sysdeps/sh/libm-test-ulps: Regenerate.
5615
5616 2014-01-24  David S. Miller  <davem@davemloft.net>
5617
5618         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5619
5620 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5621
5622         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5623         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5624
5625 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5626
5627         [BZ #16474]
5628         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5629         string pointers after reallocation.
5630
5631 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5632
5633         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5634         __SH4A__ instead of __SH_FPU_ANY__.
5635
5636 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5637
5638         * sysdeps/sh/fpu_control.h: New file.
5639         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5640         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5641         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5642         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5643         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5644         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5645         * sysdeps/sh/sys/ucontext.h: Remove.
5646         * sysdeps/sh/sys: Remove directory.
5647
5648 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5649
5650         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5651         s390/sys/ucontext.h.
5652         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5653         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5654
5655 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
5656
5657         [BZ #15605]
5658         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5659
5660 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5661
5662         [BZ#16431]
5663         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5664         Adjust the vDSO correctly for internal calls.
5665         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5666
5667 2014-01-20  Allan McRae  <allan@archlinux.org>
5668
5669         * po/ca.po: Update Catalan translation from translation project.
5670
5671 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
5672
5673         * sysdeps/s390/sotruss-lib.c: New file.
5674
5675 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5676
5677         [BZ#16430]
5678         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5679         (__GI___gettimeofday): Alias for a different internal symbol to avoid
5680         local calls issues by not having a PLT stub required for IFUNC calls.
5681         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5682
5683 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
5684
5685         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5686         * math/test-fpucw-static.c: Likewise.
5687
5688 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5689
5690         [BZ #16453]
5691         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5692
5693 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5694
5695         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5696         implementation for powerpc.
5697
5698 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
5699
5700         [BZ #14782]
5701         * sysdeps/posix/system.c (__libc_system): Do not enable
5702         asynchronous cancellation.
5703
5704 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5705
5706         [BZ #16427]
5707         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5708         handling only for numbers special also in the IEEE case.
5709
5710 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5711
5712         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5713
5714 2014-01-11  Allan McRae  <allan@archlinux.org>
5715
5716         * po/bg.po: Update Bulgarian translation from translation project.
5717
5718         * po/de.po: Update German translation from translation project.
5719
5720 2014-01-10  Roland McGrath  <roland@hack.frob.com>
5721
5722         * sysdeps/generic/gcc-compat.h: New file.
5723
5724 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5725
5726         * benchtests/asin-inputs: Correct slow inputs.
5727         * benchtests/acos-inputs: Likewise.
5728
5729 2014-01-10  Allan McRae  <allan@archlinux.org>
5730
5731         * po:sv.po: Update Swedish translation from translation project.
5732
5733         * po/vi.po: Update Vietnamese translation from translation project.
5734
5735         * po/eo.po: Update Esperanto translation from translation project.
5736
5737         * po/cs.po: Update Czech translation from translation project.
5738
5739         * po/nl.po: Update Dutch translation from translation project.
5740
5741         * po/pl.po: Update Polish translation from translation project.
5742
5743         * po/ru.po: Update Russian translation from translation project.
5744
5745         * po/uk.po: Update Ukrainian translation from translation project.
5746
5747 2014-01-08  Brooks Moses  <bmoses@google.com>
5748
5749         * elf/dl-load.c: Fix comment typo.
5750
5751 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
5752
5753         * po/header.pot: Rename to...
5754         * po/pot.header: ... this.
5755         * po/Makefile: Use pot.header.
5756
5757 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
5758             Maxim Kuvyrkov  <maxim@kugelworks.com>
5759
5760         [BZ #16394]
5761         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5762         SRC and DEST against LEN.
5763
5764 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5765
5766         [BZ #16414]
5767         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5768         implementation.
5769         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5770
5771 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5772
5773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5774
5775 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
5776
5777         [BZ #16408]
5778         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5779         for large positive arguments.
5780
5781 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
5782
5783         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5784
5785         * math/auto-libm-test-in: Mark various tests with
5786         xfail-rounding:ldbl-128ibm.
5787         * math/auto-libm-test-out: Regenerated.
5788
5789         [BZ #16407]
5790         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5791         Increase overflow threshold.
5792
5793 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
5794
5795         [BZ #14286]
5796         * stdio-common/vfprintf.c: Check for integer overflow.
5797
5798 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5799
5800         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5801         the first argument and return value of __tls_get_addr_internal.
5802
5803 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5804
5805         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5806         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5807
5808 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5809
5810         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5811         * sysdeps/s390/rtld-global-offsets.sym: New file.
5812         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5813         GLIBC_2.19 symbol.
5814         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5815         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5816         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5817         ... this.
5818         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5819         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5820         ... this.
5821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5822         Regenerate.
5823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5824         Regenerate.
5825         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5826         halfs of GPRs for high_gprs contexts.
5827         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5828         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
5829         field.
5830         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5831         uc_flags field.
5832         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5833         64 bit versions:
5834         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5835         for high GPRs (uc_high_gprs) and for future extensions
5836         (__reserved).
5837         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5838         for future extensions (__reserved).
5839         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5840         64 bit versions:
5841         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5842         SC_HIGHGPRS offset definition.
5843         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5844         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5845
5846         * Versions.def: Add GLIBC_2.19 for libpthread.
5847         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5848         siglongjmp for libpthread with GLIBC_2.19 symver.
5849         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5850         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5851         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5852         * sysdeps/s390/__longjmp.c: New file.
5853         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5854         * sysdeps/s390/longjmp.c: New file.
5855         * sysdeps/s390/setjmp.S: New file.
5856         * sysdeps/s390/sigjmp.S: New file.
5857         * sysdeps/s390/v1-longjmp.c: New file.
5858         * sysdeps/s390/v1-setjmp.h: New file.
5859         * sysdeps/s390/v1-sigjmp.c: New file.
5860         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5861         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5862         GLIBC_2.19 version.
5863         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5864         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5865         versioned symbols for ____longjmp_chk.
5866         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5867         Likewise.
5868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5869         Regenerate.
5870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5871         Regenerate.
5872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5873         Regenerate.
5874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5875         Regenerate.
5876         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5877         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5878         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5879         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5880         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5881         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5882         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5883         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5884         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5885         * sysdeps/s390/rtld-__longjmp.c: New file.
5886         * sysdeps/s390/rtld-setjmp.S: New file.
5887
5888 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
5889
5890         [BZ #16400]
5891         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5892         Return -__logl (x) for small positive arguments without evaluating
5893         a polynomial.
5894
5895 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
5896
5897         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5898         Rename to ...
5899         (__ptrace_peeksiginfo_args): ... this.
5900         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5901         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5902         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5903
5904 2014-01-06  Allan McRae  <allan@archlinux.org>
5905
5906         * inet/netinet/in.h: Fix typo in comment.
5907
5908 2014-01-05  Andreas Jaeger  <aj@suse.de>
5909
5910         * sysdeps/i386/fpu/libm-test-ulps: Update.
5911
5912 2014-01-05  Allan McRae  <allan@archlinux.org>
5913
5914         * po/libc.pot: Regenerated.
5915
5916         * malloc/memusagestat.c: Fix gettext call formatting.
5917
5918 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
5919
5920         * nscd/nscd.c: Improve usage() output.
5921
5922 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
5923
5924         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5925         * sysdeps/unix/sysv/linux/configure: Regenerated.
5926         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5927         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5928
5929 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
5930
5931         [BZ #16390]
5932         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5933         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5934
5935 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5936
5937         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5938         extra tokens at end of #undef directive.
5939         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5940         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5941         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5942
5943 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
5944
5945         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5946
5947         * math/auto-libm-test-in: Mark various tests with
5948         xfail-rounding:ldbl-128ibm.
5949         * math/auto-libm-test-out: Regenerated.
5950
5951 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
5952
5953         [BZ #16386]
5954         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5955         numbers with subnormal high part when calculating exponent.
5956
5957         [BZ #16385]
5958         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5959         fabs.
5960
5961         [BZ #16384]
5962         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5963         M_LN2l.
5964         (__ieee754_acoshl): Use __log1pl not __log1p.
5965
5966 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
5967
5968         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5969         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5970         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5971         (grow_heap, heap_trim, _int_new_arena, get_free_list)
5972         (reused_arena, arena_get2): Convert to GNU style.
5973         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5974         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5975         (memalign_check, __malloc_set_state): Likewise.
5976         * malloc/mallocbug.c (main): Likewise.
5977         * malloc/malloc.c (__malloc_assert, malloc_init_state)
5978         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5979         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5980         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5981         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5982         (__posix_memalign, malloc_info): Likewise.
5983         * malloc/malloc.h: Likewise.
5984         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5985         (mallochook, memalignhook, reallochook, mabort): Likewise.
5986         * malloc/mcheck.h: Likewise.
5987         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5988         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5989         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5990         * malloc/morecore.c (__default_morecore): Likewise.
5991         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5992         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5993         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5994         (print_and_abort): Likewise.
5995         * malloc/obstack.h: Likewise.
5996         * malloc/set-freeres.c (__libc_freeres): Likewise.
5997         * malloc/tst-mallocstate.c (main): Likewise.
5998         * malloc/tst-mtrace.c (main): Likewise.
5999         * malloc/tst-realloc.c (do_test): Likewise.
6000
6001 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6002
6003         [BZ #16366]
6004         * nscd/netgroupcache.c (do_notfound): New function.
6005         (addgetnetgrentX): Use it.
6006
6007         [BZ # 16365]
6008         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6009         NSS_STATUS_NOTFOUND.
6010
6011 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
6012
6013         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6015
6016 2014-01-01  Allan McRae  <allan@archlinux.org>
6017
6018         * scripts/update-copyrights: Update configure input file suffix.
6019
6020         * NEWS: Update copyright year.
6021         * catgets/gencat.c: Likewise.
6022         * csu/version.c: Likewise.
6023         * debug/catchsegv.sh: Likewise.
6024         * debug/pcprofiledump.c: Likewise.
6025         * debug/xtrace.sh: Likewise.
6026         * elf/ldconfig.c: Likewise.
6027         * elf/ldd.bash.in: Likewise.
6028         * elf/pldd.c: Likewise.
6029         * elf/sotruss.ksh: Likewise.
6030         * elf/sprof.c: Likewise.
6031         * iconv/iconv_prog.c: Likewise.
6032         * iconv/iconvconfig.c: Likewise.
6033         * locale/programs/locale.c: Likewise.
6034         * locale/programs/localedef.c: Likewise.
6035         * login/programs/pt_chown.c: Likewise.
6036         * malloc/memusage.sh: Likewise.
6037         * malloc/memusagestat.c: Likewise.
6038         * malloc/mtrace.pl: Likewise.
6039         * manual/libc.texinfo: Likewise.
6040         * nscd/nscd.c: Likewise.
6041         * nss/getent.c: Likewise.
6042         * nss/makedb.c: Likewise.
6043         * posix/getconf.c: Likewise.
6044         * scripts/test-installation.pl: Likewise.
6045
6046         * All files with FSF copyright notices: Update copyright dates
6047         using scripts/update-copyrights.
6048         * intl/plural.c: Regenerated.
6049         * locale/programs/charmap-kw.h: Likewise.
6050         * locale/programs/locfile-kw.h: Likewise.
6051
6052 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
6053
6054         * sysdeps/unix/sysv/linux/configure: Regenerated.
6055         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6056         the linux/fanotify.h header.
6057         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6058         HAVE_LINUX_FANOTIFY_H is defined.
6059
6060 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6061
6062         * benchtests/cos-inputs: New inputs.
6063         * benchtests/sin-inputs: Likewise.
6064
6065         * benchtests/atan-inputs: New inputs. Fix name of multiple
6066         precision fallback inputs.
6067
6068         * benchtests/atanh-inputs: New inputs.
6069         * benchtests/tanh-inputs: Likewise.
6070
6071         * benchtests/acosh-inputs: New inputs.
6072         * benchtests/asinh-inputs: Likewise.
6073
6074         * benchtests/cosh-inputs: New inputs.
6075         * benchtests/sinh-inputs: Likewise.
6076
6077         * benchtests/acos-inputs: Add more inputs.
6078         * benchtests/asin-inputs: Likewise.
6079
6080 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
6081
6082         [BZ #16375]
6083         * manual/arith.texi: Fix spelling.
6084         * manual/charset.texi: Likewise.
6085         * manual/errno.texi: Likewise.
6086         * manual/filesys.texi: Likewise.
6087         * manual/lang.texi: Likewise.
6088         * manual/llio.texi: Likewise.
6089         * manual/locale.texi: Likewise.
6090         * manual/message.texi: Likewise.
6091         * manual/resource.texi: Likewise.
6092         * manual/search.texi: Likewise.
6093         * manual/setjmp.texi: Likewise.
6094         * manual/stdio.texi: Likewise.
6095         * manual/string.texi: Likewise.
6096         * manual/sysinfo.texi: Likewise.
6097         * manual/time.texi: Likewise.
6098
6099 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
6100
6101         * po/sl.po: New file.
6102
6103 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
6104
6105         * .gitignore: Add core/.gdbinit/.gdb_history.
6106
6107 2013-12-27  Allan McRae  <allan@archlinux.org>
6108
6109         [BZ #16369]
6110         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6111         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6112
6113 2013-12-24  Brooks Moses  <bmoses@google.com>
6114
6115         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6116         all compilers that claim C++98 compliance, not just GCC.
6117         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6118         Likewise.
6119
6120 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6121
6122         * NEWS: Restore accidentally deleted bug-fix entries.
6123
6124 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6125             Ondřej Bílka  <neleai@seznam.cz>
6126
6127         [BZ #15073]
6128         * malloc/malloc.c (_int_free): Perform sanity check only if we
6129         have_lock.
6130
6131 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
6132
6133         [BZ #12986]
6134         * manual/stdio.texi (String Input Conversions): Clarify that character
6135         classes are not supported.
6136
6137 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6138
6139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6140
6141 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
6142
6143         [BZ #16337]
6144         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6145         Calculate results for small negative arguments directly rather
6146         than using reflection formula with special underflow handling.
6147
6148         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6149         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6150         sysdeps/unix/bsd/bsd4.4/syscalls.list.
6151         (fchflags): Likewise.
6152         (revoke): Likewise.
6153         (setlogin): Likewise.
6154         (sigaltstack): Likewise.
6155         (wait4): Likewise.
6156         (sigblock): Remove.
6157         (sigsetmask): Likewise.
6158         (wait3): Likewise.
6159         (waitpid): Likewise.
6160         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6161         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6162         file.
6163         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6164         * sysdeps/unix/bsd/Makefile: ... here.
6165         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6166         * sysdeps/unix/bsd/Versions: ... here.
6167         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6168         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6169         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6170         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6171         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6172         * sysdeps/unix/bsd/sigblock.c: ... here.
6173         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6174         * sysdeps/unix/bsd/sigsetmask.c: ... here.
6175         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6176         * sysdeps/unix/bsd/sigvec.c: ... here.
6177         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6178         * sysdeps/unix/bsd/tcdrain.c: ... here.
6179         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6180         * sysdeps/unix/bsd/tcgetattr.c: ... here.
6181         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6182         * sysdeps/unix/bsd/tcsetattr.c: ... here.
6183         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6184         * sysdeps/unix/bsd/wait.c: ... here.
6185         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6186         * sysdeps/unix/bsd/wait3.c: ... here.
6187         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6188         * sysdeps/unix/bsd/waitpid.c: ... here.
6189
6190 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
6191
6192         [BZ #16356]
6193         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6194         round-to-nearest for [!USE_AS_EXPM1L].
6195         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6196         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
6197         more tests of exp and exp10.  Expect some exp10 tests to miss
6198         exceptions or fail in directed rounding modes.
6199         * math/auto-libm-test-out: Regenerated.
6200         * math/libm-test.inc (exp10_tonearest_test_data): New array.
6201         (exp10_test_tonearest): New function.
6202         (exp10_towardzero_test_data): New array.
6203         (exp10_test_towardzero): New function.
6204         (exp10_downward_test_data): New array.
6205         (exp10_test_downward): New function.
6206         (exp10_upward_test_data): New array.
6207         (exp10_test_upward): New function.
6208         (main): Call the new functions.
6209         * sysdeps/i386/fpu/libm-test-ulps: Update.
6210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6211
6212 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
6213
6214         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6215         asinh, atan, atan2, atanh, cbrt, cos and cosh.
6216         * math/auto-libm-test-out: Regenerated.
6217         * math/libm-test.inc (acosh_test_data): Add more tests.
6218         (atanh_test_data): Likewise.
6219         (ceil_test_data): Likewise.
6220         (copysign_test_data): Likewise.
6221         * sysdeps/i386/fpu/libm-test-ulps: Update.
6222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6223
6224         * timezone/checktab.awk: Update from tzcode 2013i.
6225         * timezone/private.h: Likewise.
6226         * timezone/scheck.c: Likewise.
6227         * timezone/tzfile.h: Likewise.
6228         * timezone/tzselect.ksh: Likewise.
6229         * timezone/zdump.c: Likewise.
6230         * timezone/zic.c: Likewise.
6231
6232         * math/auto-libm-test-in: Add tests of cpow.
6233         * math/auto-libm-test-out: Regenerated.
6234         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6235         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6236         mpc_cc_c.
6237         (func_calc_desc): Add mpc_cc_c union field.
6238         (test_functions): Add cpow.
6239         (special_fill_2pi): New function.
6240         (special_real_inputs): Add 2pi.
6241         (calc_generic_results): Handle mpc_cc_c.
6242         * sysdeps/i386/fpu/libm-test-ulps: Update.
6243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6244
6245         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6246         csqrt, ctan and ctanh.
6247         * math/auto-libm-test-out: Regenerated.
6248         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6249         (TEST_COND_x86): Likewise.
6250         (ccos_test_data): Use AUTO_TESTS_c_c.
6251         (ccosh_test_data): Likewise.
6252         (cexp_test_data): Likewise.
6253         (clog_test_data): Likewise.
6254         (csqrt_test_data): Likewise.
6255         (ctan_test_data): Likewise.
6256         (ctan_tonearest_test_data): Likewise.
6257         (ctan_towardzero_test_data): Likewise.
6258         (ctan_downward_test_data): Likewise.
6259         (ctan_upward_test_data): Likewise.
6260         (ctanh_test_data): Likewise.
6261         (ctanh_tonearest_test_data): Likewise.
6262         (ctanh_towardzero_test_data): Likewise.
6263         (ctanh_downward_test_data): Likewise.
6264         (ctanh_upward_test_data): Likewise.
6265         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6266         mpc_c_c.
6267         (func_calc_desc): Add mpc_c_c union field.
6268         (FUNC_mpc_c_c): New macro.
6269         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6270         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6271         ctanh.
6272         (special_fill_min_subnorm_p120): New function.
6273         (special_real_inputs): Add min_subnorm_p120.
6274         (calc_generic_results): Handle mpc_c_c.
6275         * sysdeps/i386/fpu/libm-test-ulps: Update.
6276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6277
6278 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6279
6280         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6281         (do_sin_slow): New functions.
6282         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6283         (cslow2, csloww1, csloww2): Use the new functions.
6284
6285         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6286         Use M to change sign of result instead of X.  Assume X is
6287         positive.
6288         (csloww1): Likewise.
6289         (__sin): Adjust.
6290         (__cos): Adjust.
6291
6292         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6293         arguments A and DA.
6294         (__sin): Adjust.
6295         (__cos): Likewise.
6296
6297         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6298         (__cos): Likewise.
6299         (sloww1): Don't adjust sign of DX.
6300         (csloww1): Likewise.
6301         (sloww2): Use X directly and don't adjust sign of DX.
6302         (csloww2): Likewise.
6303
6304 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6305
6306         * math/auto-libm-test-in: Add tests of cabs and carg.
6307         * math/auto-libm-test-out: Regenerated.
6308         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6309         (carg_test_data): Likewise.
6310         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6311         mpc_c_f.
6312         (func_calc_desc): Add mpc_c_f union field.
6313         (test_functions): Add cabs and carg.
6314         (calc_generic_results): Handle mpc_c_f.
6315
6316         * sysdeps/powerpc/powerpc32/libgcc-compat.S
6317         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6318         as a macro and a compat symbol.
6319         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6320         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6321         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6322         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6323         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6324         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6325         not use .hidden.
6326         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6327         Likewise.
6328         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6329         Likewise.
6330         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6331         Likewise.
6332         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6333         Likewise.
6334         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6335         Likewise.
6336         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6337         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6338         from GLIBC_2.3.2.
6339
6340 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6341
6342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6343
6344 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6345
6346         * manual/texinfo.tex: Update to version 2013-11-26.10 with
6347         trailing whitespace removed.
6348         * scripts/config.guess: Update to version 2013-11-29.
6349         * scripts/config.sub: Update to version 2013-10-01.
6350
6351         * math/auto-libm-test-in: Add tests of sincos.
6352         * math/auto-libm-test-out: Regenerated.
6353         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6354         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6355         mpfr_f_11.
6356         (func_calc_desc): Add mpfr_f_11 union field.
6357         (test_functions): Add sincos.
6358         (calc_generic_results): Handle mpfr_f_11.
6359         * sysdeps/i386/fpu/libm-test-ulps: Update.
6360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6361
6362 2013-12-19  Andreas Schwab  <schwab@suse.de>
6363
6364         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6365         CALL_MCOUNT.
6366         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6367         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6368         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6369
6370 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6371
6372         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6373         * sysdeps/i386/fpu/libm-test-ulps: Update.
6374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6375
6376         [BZ #16293]
6377         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6378         round-to-nearest mode when using frndint.
6379         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6380         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6381         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6382         Likewise.
6383         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
6384         sinh test to fail.
6385         * math/auto-libm-test-out: Regenerated.
6386         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6387         (TEST_COND_x86): Likewise.
6388         (expm1_tonearest_test_data): New array.
6389         (expm1_test_tonearest): New function.
6390         (expm1_towardzero_test_data): New array.
6391         (expm1_test_towardzero): New function.
6392         (expm1_downward_test_data): New array.
6393         (expm1_test_downward): New function.
6394         (expm1_upward_test_data): New array.
6395         (expm1_test_upward): New function.
6396         (main): Run the new test functions.
6397         * sysdeps/i386/fpu/libm-test-ulps: Update.
6398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6399
6400         * include/features.h: Update comment documenting feature test
6401         macros.  Mention _DEFAULT_SOURCE in comment.
6402         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6403         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6404         _BSD_SOURCE and _SVID_SOURCE.
6405         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6406         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6407         !_SVID_SOURCE]: Likewise.
6408         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6409         (__USE_POSIX_IMPLICITLY): Define.
6410         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6411         (_POSIX_SOURCE): Undefine and redefine.
6412         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6413         (_POSIX_C_SOURCE): Likewise.
6414         * manual/creature.texi (_DEFAULT_SOURCE): Document.
6415         (Feature Test Macros): Update documentation of default features.
6416
6417 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6418
6419         * benchtests/Makefile: Add bench-strtok.
6420         * benchtests/bench-strtok.c: New file: strtok benchtest.
6421
6422 2013-12-19  Allan McRae  <allan@archlinux.org>
6423
6424         * manual/install.texi: Suppress menu for plain text output.
6425         * INSTALL: Regenerated.
6426
6427 2013-12-18  Brooks Moses  <bmoses@google.com>
6428
6429         [BZ #15846]
6430         * misc/getauxval.c: Include errno.h.
6431         (__getauxval): Set errno to ENOENT if the requested type is not
6432         found.
6433         * misc/sys/auxv.h (getauxval): Document that it may set errno;
6434         don't declare with __attribute_const__.
6435         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6436         * manual/startup.texi: Document that getauxval sets errno.
6437
6438 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
6439
6440         * math/auto-libm-test-in: Add tests of jn and yn.
6441         * math/auto-libm-test-out: Regenerated.
6442         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6443         (yn_test_data): Likewise.
6444         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6445         mpfr_if_f.
6446         (func_calc_desc): Add mpfr_if_f union field.
6447         (FUNC_mpfr_if_f): New macro.
6448         (test_functions): Add jn and yn.
6449         (calc_generic_results): Assert type of second input for
6450         mpfr_ff_f.  Handle mpfr_if_f.
6451         (output_for_one_input_case): Disable all checking for arguments
6452         fitting floating-point types in case of an integer argument.
6453         * sysdeps/i386/fpu/libm-test-ulps: Update.
6454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6455
6456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6457         Don't expect fegetround reference in libm.so.
6458
6459 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6460
6461         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6462         $(config-cflags-nofma).
6463
6464 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
6465
6466         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6467         * math/auto-libm-test-out: Regenerated.
6468
6469         [BZ #16338]
6470         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6471         to determine exponent and adjust argument to have exponent of -1.
6472         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6473         log2.
6474         * math/auto-libm-test-out: Regenerated.
6475         * sysdeps/i386/fpu/libm-test-ulps: Update.
6476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6477
6478 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
6479
6480         * manual/probes.texi: Remove cases when per-thread arenas are
6481         disabled.
6482
6483 2013-12-18  Andreas Schwab  <schwab@suse.de>
6484
6485         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6486         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6487         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6488         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6489         * sysdeps/i386/i686/multiarch/Makefile: Update.
6490         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6491
6492 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6493
6494         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6495         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6496
6497 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
6498
6499         [BZ #15968]
6500         Support TZ transition times < 00:00:00.
6501         This is needed for version-3 tz-format files; it supports time
6502         stamps past 2037 for America/Godthab (the only entry in the tz
6503         database for which this change is relevant).
6504         * manual/time.texi (TZ Variable): Document transition times
6505         from -167:59:59 through -00:00:01.
6506         * time/tzset.c (tz_rule): Time of day is now signed.
6507         (__tzset_parse_tz): Parse negative time of day.
6508
6509         Document TZ transition times >= 25:00:00.
6510         * manual/time.texi (TZ Variable): Document transition times from
6511         25:00:00 through 167:59:59.  These are already supported, and this
6512         support will help with version-3 tz-format files.
6513
6514         * manual/time.texi (TZ Variable): Modernize North America example
6515         to reflect current (i.e., 2007-and-later) daylight saving rules.
6516
6517         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6518
6519 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6520
6521         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6522         * sysdeps/unix/bsd/bits/stat.h: Likewise.
6523         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6524         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6525         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6526         * sysdeps/unix/bsd/bsdstat.h: Likewise.
6527         * sysdeps/unix/bsd/clock.c: Likewise.
6528         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6529         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6530         * sysdeps/unix/bsd/init-posix.c: Likewise.
6531         * sysdeps/unix/bsd/poll.c: Likewise.
6532         * sysdeps/unix/bsd/ptsname.c: Likewise.
6533         * sysdeps/unix/bsd/seekdir.c: Likewise.
6534         * sysdeps/unix/bsd/setegid.c: Likewise.
6535         * sysdeps/unix/bsd/seteuid.c: Likewise.
6536         * sysdeps/unix/bsd/setgid.c: Likewise.
6537         * sysdeps/unix/bsd/setrgid.c: Likewise.
6538         * sysdeps/unix/bsd/setruid.c: Likewise.
6539         * sysdeps/unix/bsd/setsid.c: Likewise.
6540         * sysdeps/unix/bsd/setuid.c: Likewise.
6541         * sysdeps/unix/bsd/sigaction.c: Likewise.
6542         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6543         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6544         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6545         * sysdeps/unix/bsd/telldir.c: Likewise.
6546         * sysdeps/unix/bsd/times.c: Likewise.
6547         * sysdeps/unix/bsd/usleep.c: Likewise.
6548
6549         * misc/Makefile (install-lib): Remove libbsd-compat.a.
6550         ($(objpfx)libbsd-compat.a): Remove rule.
6551
6552         * include/features.h (__FAVOR_BSD): Do not define.
6553         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6554         features conflicting with POSIX.
6555         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6556         (_BSD_SOURCE): Remove description of not being a subset of other
6557         feature test macros.
6558         * manual/job.texi (getpgrp): Do not document BSD version.
6559         (getpgid): Do not document by reference to BSD getpgrp.
6560         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6561         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6562         * signal/signal.h [__FAVOR_BSD]: Likewise.
6563         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6564         instead of making contents conditional on [__FAVOR_BSD].
6565         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6566
6567 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6568
6569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6570
6571 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
6572
6573         [BZ #16314]
6574         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6575         values below 2**-450, not 2**-500.
6576         * math/auto-libm-test-in: Don't allow spurious underflow from
6577         hypot.
6578         * math/auto-libm-test-out: Regenerated.
6579
6580         [BZ #16316]
6581         [BZ #16330]
6582         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6583         values of ha and hb and sort them after adjusting subnormal
6584         arguments.
6585         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6586         Likewise.
6587         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6588         values of ea and eb and sort them after adjusting subnormal
6589         arguments.
6590         * math/auto-libm-test-in: Do not expect some hypot tests of
6591         subnormals to fail.  Add more hypot tests.
6592         * math/auto-libm-test-out: Regenerated.
6593
6594 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6595
6596         [BZ #13304]
6597         * sysdeps/sh/s_fma.c: New file.
6598         * sysdeps/sh/s_fmaf.c: New file.
6599         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
6600         version.
6601         * sysdeps/sh/Implies: Add sh/soft-fp.
6602
6603 2013-12-16  Roland McGrath  <roland@hack.frob.com>
6604
6605         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
6606         level of indirection to members `objname', `errstring', `malloced'.
6607         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6608         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
6609         it as the __longjmp argument (just pass 1 instead).
6610         (_dl_catch_error): Initialize C with argument pointers and address of
6611         volatile local ERRCODE rather than copying values out of C at return.
6612
6613 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
6614
6615         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6616         * math/auto-libm-test-out: Regenerated.
6617         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6618         (hypot_test_data): Likewise.
6619         (pow_test_data): Likewise.
6620         (pow_tonearest_test_data): Likewise.
6621         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6622         mpfr_ff_f.
6623         (func_calc_desc): Add mpfr_ff_f union field.
6624         (FUNC_mpfr_ff_f): New macro.
6625         (test_functions): Add atan2, hypot and pow.
6626         (special_fill_min): New function.
6627         (special_fill_minus_min): Likewise.
6628         (special_fill_min_subnorm): Likewise.
6629         (special_fill_minus_min_subnorm): Likewise.
6630         (special_real_inputs): Add min, -min, min_subnorm and
6631         -min_subnorm.
6632         (calc_generic_results): Handle mpfr_ff_f.
6633         * sysdeps/i386/fpu/libm-test-ulps: Update.
6634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6635
6636 2013-12-16  Will Newton  <will.newton@linaro.org>
6637
6638         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6639         (Aligned Memory Blocks): Add documentation for aligned_alloc
6640         and suggest it as an alternative to posix_memalign.
6641         (Hooks for Malloc): Document __memalign_hook is also called
6642         for aligned_alloc.  (Summary of Malloc): Add summary for
6643         aligned alloc.  Document __memalign_hook is also called
6644         for aligned_alloc.
6645
6646 2013-12-16  Will Newton  <will.newton@linaro.org>
6647
6648         * manual/memory.texi (Malloc Examples): Clarify default
6649         alignment documentation.  Suggest posix_memalign rather
6650         than memalign or valloc.
6651         (Aligned Memory Blocks): Remove suggestion to use memalign
6652         or valloc.  Remove obsolete comment about BSD.
6653         Document memalign errno values and mark the function obsolete.
6654         Document posix_memalign returned error codes.  Mark valloc
6655         as obsolete.  (Hooks for Malloc): __memalign_hook is also
6656         called for posix_memalign and valloc.
6657         (Summary of Malloc): Add posix_memalign to function summary.
6658         __memalign_hook is also called for posix_memalign and valloc.
6659
6660 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6661
6662         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6663         TAYLOR_SIN.
6664         (__sin): Adjust.
6665         (__cos): Likewise.
6666         (sloww): Use mynumber union.  Expand ternary operator into
6667         if-else statements.
6668         (cslow): use mynumber union.
6669
6670 2013-12-16  Allan McRae  <allan@archlinux.org>
6671
6672         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6673         * configure: Regenerated.
6674
6675         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6676
6677         [BZ #14120]
6678         * configure.ac: Added --enable-maintainer-mode. Check for
6679         autoconf when enabled.
6680         * configure: Regenerated.
6681
6682         * nscd/nscd.service: New file.
6683         * nscd/nscd.tmpfiles: New file.
6684
6685 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
6686
6687         [BZ #12100]
6688         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6689         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6690         * sysdeps/x86_64/multiarch/strstr.c: ... here.
6691         (strstr): Add __strstr_sse2_unaligned ifunc.
6692         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6693         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6694         (strcasestr): Remove __strcasestr_sse42 ifunc.
6695         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6698
6699 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6700
6701         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6702         * sysdeps/sh/bits/fenv.h: ... here.
6703         * sysdeps/sh/sh4/fpu/bits: Remove directory.
6704
6705 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6706
6707         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6708
6709         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6710         hypotf multiarch implementations.
6711         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6712         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6713         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6714         multiarch hypot for PPC64.
6715         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6716         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6717         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6718         multiarch hypotf for PPC64.
6719
6720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6721         modff multiarch implementations.
6722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6725         multiarch modf for PPC64.
6726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6729         multiarch modff for PPC64.
6730
6731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6732         and logl multiarch implementations.
6733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6736         multiarch logb for PPC64.
6737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6740         multiarch logb for PPC64.
6741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6744         multiarch logb for PPC64.
6745
6746         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6747         isinff multiarch implementation.
6748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6749         file.
6750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6752         multiarch isinf for PPC64.
6753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6754         file.
6755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6756         multiarch isinff for PPC64.
6757
6758         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6759         finitef multiarch implementation.
6760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6761         file.
6762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6764         multiarch finite for PPC64.
6765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6766         file.
6767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6768         multiarch finitef for PPC64.
6769
6770         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6771         lrint multiarch implementation.
6772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6773         file.
6774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6776         multiarch llrint for PPC64.
6777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6778         multiarch lrint for PPC64.
6779
6780         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6781         copysignf multiarch implementation.
6782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6783         file.
6784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6785         file.
6786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6787         multiarch copysign for PPC64.
6788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6789         multiarch copysignf for PPC64.
6790
6791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6792         multiarch implementation.
6793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6794         file.
6795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6796         file.
6797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6798         file.
6799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6800         file.
6801         multiarch llround for PPC64.
6802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6803         multiarch trunc for PPC64.
6804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6805         multiarch truncf for PPC64.
6806
6807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6808         multiarch implementation.
6809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6810         file.
6811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6812         file.
6813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6814         file.
6815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6816         file.
6817         multiarch llround for PPC64.
6818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6819         multiarch round for PPC64.
6820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6821         multiarch roundf for PPC64.
6822
6823         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6824         multiarch implementation.
6825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6826         file.
6827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6828         file.
6829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6830         file.
6831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6832         file.
6833         multiarch llround for PPC64.
6834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6835         multiarch floor for PPC64.
6836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6837         multiarch floorf for PPC64.
6838
6839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6840         multiarch implementation.
6841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6842         file.
6843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6844         file.
6845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6846         file.
6847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6848         file.
6849         multiarch llround for PPC64.
6850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6851         multiarch ceil for PPC64.
6852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6853         multiarch ceilf for PPC64.
6854
6855         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6856         multiarch implementation.
6857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6858         file.
6859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6860         file.
6861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6862         file.
6863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6864         multiarch llround for PPC64.
6865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6866         multiarch lround for PPC64.
6867
6868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6869         multiarch implementation.
6870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6873         file.
6874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6877         multiarch isnan for PPC64.
6878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6879         multiarch isnanf for PPC64.
6880
6881         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6882         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6883         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6884         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6885         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6887
6888         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6889         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6890         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6891         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6892
6893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6894         multiarch implementations.
6895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6896         (__libc_ifunc_impl_list): Likewise.
6897         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6898         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6899         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6900         multiarch stpcpy for PPC64.
6901
6902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6903         multiarch implementations.
6904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6905         (__libc_ifunc_impl_list): Likewise.
6906         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6907         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6908         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6909         multiarch strcpy for PPC64.
6910
6911         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6912         redefine function name.
6913         (_wordcopy_fwd_dest_aligned): Likewise.
6914         (_wordcopy_bwd_aligned): Likewise.
6915         (_wordcopy_bwd_dest_aligned): Likewise.
6916         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6917         multiarch implementations.
6918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6919         (__libc_ifunc_impl_list): Likewise.
6920         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6921         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6922         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6923         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6924         multiarch wcscpy for PPC64.
6925
6926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6927         multiarch implementations.
6928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6929         (__libc_ifunc_impl_list): Likewise.
6930         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6931         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6932         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6933         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6934         multiarch wcscpy for PPC64.
6935
6936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6937         multiarch implementations.
6938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6939         (__libc_ifunc_impl_list): Likewise.
6940         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6941         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6942         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6943         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6944         multiarch wcsrchr for PPC64.
6945
6946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6947         multiarch implementations.
6948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6949         (__libc_ifunc_impl_list): Likewise.
6950         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6951         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6952         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6953         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6954         multiarch wcschr for PPC64.
6955
6956         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6957         multiarch implementations.
6958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6959         (__libc_ifunc_impl_list): Likewise.
6960         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6961         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6962         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6963         multiarch strchrnul for PPC64.
6964
6965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6966         implementations.
6967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6968         (__libc_ifunc_impl_list): Likewise.
6969         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6970         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6971         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6972         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6973         strchr for PPC64.
6974
6975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6976         implementations.
6977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6978         (__libc_ifunc_impl_list): Likewise.
6979         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6980         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6981         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6982         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6983         strncmp for PPC64.
6984
6985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6986         multiarch implementations.
6987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6988         (__libc_ifunc_impl_list): Likewise.
6989         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6990         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6991         strncasecmp for PPC64.
6992         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6993         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6994         multiarch strncasecmp_l for PPC64.
6995
6996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6997         multiarch implementations.
6998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6999         (__libc_ifunc_impl_list): Likewise.
7000         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7001         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7002         multiarch strcasecmp for PPC64.
7003         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7004         file.
7005         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7006         multiarch strcasecmp_l for PPC64.
7007
7008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7009         implementations.
7010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7011         (__libc_ifunc_impl_list): Likewise.
7012         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7013         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7014         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7015         strnlen for PPC64.
7016
7017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7018         implementations.
7019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7020         (__libc_ifunc_impl_list): Likewise.
7021         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7022         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7023         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7024         strlen for PPC64.
7025
7026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7027         implementations.
7028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7029         (__libc_ifunc_impl_list): Likewise.
7030         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7031         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7032         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7033         rawmemrchr for PPC64.
7034
7035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7036         implementation.
7037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7038         (__libc_ifunc_impl_list): Likewise.
7039         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7040         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7041         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7042         memrchr for PPC64.
7043
7044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7045         implementation.
7046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7047         (__libc_ifunc_impl_list): Likewise.
7048         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7049         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7050         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7051         memchr for PPC64.
7052
7053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7054         implementation.
7055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7056         (__libc_ifunc_impl_list): Likewise.
7057         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7058         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7059         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7060         mempcpy for PPC64.
7061
7062         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7063         avoid cretion of __bzero symbol.
7064         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7065         Likewise.
7066         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7067         Likewise.
7068         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7069         Likewise.
7070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7071         multiarch implementations.
7072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7073         (__libc_ifunc_impl_list): Likewise.
7074         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7075         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7076         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7077         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7078         bzero for PPC32.
7079         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7080         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7081         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7082         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7083         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7084         memset for PPC64.
7085         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7086
7087         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7089         implementations.
7090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7091         (__libc_ifunc_impl_list): Likewise.
7092         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7093         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7094         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7095         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7096         memcmp for PPC64.
7097
7098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7099         multiarch for POWER/PPC64.
7100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7101         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7102         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7103         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7104         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7105         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7106         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7107         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7108         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7109         memcpy for PPC64.
7110
7111         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7112         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7113         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7114         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7115         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7116         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7117         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7118         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7119         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7120         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7121         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7122         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7123         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7124         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7125         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7133
7134 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7135
7136         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7137
7138 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7139
7140         * benchtests/Makefile (bench): Add exp2 and log2.
7141         (LDLIBS-bench-exp2): Add -lm.
7142         (LDLIBS-bench-log2): Likewise.
7143         * benchtests/exp2-inputs: New inputs file.
7144         * benchtests/log2-inputs: New inputs file.
7145         * benchtests/log-inputs: Add new inputs.
7146         * benchtests/tan-inputs: Likewise.
7147
7148 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7149
7150         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7151         definition...
7152         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7153         (csloww2): ... from here.
7154
7155         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7156         instead of structures.
7157         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7158         (POLYNOMIAL): Likewise.
7159         (TAYLOR_SLOW): Likewise.
7160         (__sin): Likewise.
7161         (__cos): Likewise.
7162         (slow1): Likewise.
7163         (slow2): Likewise.
7164         (sloww): Likewise.
7165         (sloww1); Likewise.
7166         (sloww2): Likewise.
7167         (bsloww1): Likewise.
7168         (bsloww2): Likewise.
7169         (cslow2): Likewise.
7170         (csloww): Likewise.
7171         (csloww1): Likewise.
7172         (csloww2): Likewise.
7173
7174 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
7175
7176         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7177         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7178         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7179         * malloc/hooks.c (realloc_check): Likewise.
7180
7181         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7182         * malloc/arena.c: Remove PER_THREAD conditional.
7183         [!PER_THREAD]: Remove code.
7184         (ptmalloc_unlock_all2): Likewise.
7185         (ptmalloc_init): Likewise.
7186         (_int_new_arena): Likewise.
7187         (arena_get2): Likewise.
7188         * malloc/hooks.c (__malloc_get_state): Likewise.
7189         (__malloc_set_state): Likewise.
7190         * malloc/malloc.c: Likewise.
7191         (struct malloc_state): Likewise.
7192         (struct malloc_par): Likewise.
7193         (__libc_realloc): Likewise.
7194         (__libc_mallopt): Likewise.
7195
7196 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7197
7198         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7199
7200 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
7201
7202         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7203         macro to a function.  Check for zero perturb_byte.
7204         (_int_malloc, _int_free): Remove zero perturb_byte checks.
7205
7206         * malloc/malloc.c: (force_reg): Remove.
7207         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7208         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7209         force_reg by atomic_forced_read.
7210         * malloc/arena.c (ptmalloc_init): Likewise.
7211         * malloc/hooks.c (top_check): Likewise.
7212
7213 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7214
7215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7216
7217 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
7218
7219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7220
7221 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
7222
7223         * math/auto-libm-test-in: Add tests of lgamma.
7224         * math/auto-libm-test-out: Regenerated.
7225         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7226         (M_LOG_2_SQRT_PIl): Likewise.
7227         (lgamma_test_data): Use AUTO_TESTS_f_f1.
7228         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7229         mpfr_f_f1.
7230         (func_calc_desc): Add mpfr_f_f1 union field.
7231         (ARGS1): New macro.
7232         (ARGS2): Likewise.
7233         (ARGS3): Likewise.
7234         (ARGS4): Likewise.
7235         (RET1): Likewise.
7236         (RET2): Likewise.
7237         (CALC): Likewise.
7238         (FUNC): Likewise.
7239         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7240         (test_functions): Add lgamma.
7241         (calc_generic_results): Handle mpfr_f_f1.
7242         * sysdeps/i386/fpu/libm-test-ulps: Update.
7243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7244
7245 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7246
7247         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7248         __mpn_add_n for PowerPC64/POWER7.
7249         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7250         __mpn_sub_n for PowerPC64/POWER7.
7251
7252         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7253         __mpn_addmul_1 for PowerPC64.
7254         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7255         __mpn_submul_1 for PowerPC64.
7256         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7257         for PowerPC64.
7258         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7259         for PowerPC64.
7260
7261 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
7262
7263         [BZ #15089]
7264         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7265
7266 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7267
7268         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7269
7270         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7271         add multiarch folders.
7272         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7273         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7274         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7275         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7276         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7277         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7278         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7279         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7280         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7281         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7282         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7289
7290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7291         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7293         New file.
7294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7295         New file.
7296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7297         multiarch __ieee754_hypot for PowerPC32.
7298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7299         New file.
7300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7301         New file.
7302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7303         multiarch __ieee754_hypotf for PowerPC32.
7304
7305         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7306         long_double_symbol only if __logbl is defined.
7307         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7308         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7309         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7310         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7311         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7312         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7313         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7314         path for implementation.
7315         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7316         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7318         logb, and logbl multiarch implementations for PowerPC32.
7319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7320         file.
7321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7322         file.
7323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7324         multiarch logb for PowerPC32.
7325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7326         file.
7327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7328         file.
7329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7330         multiarch logbf for PowerPC32.
7331         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7333         file.
7334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7335         multiarch logbl implementation for PowerPC32.
7336
7337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7338         and modff multiarch implementations.
7339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7340         New file.
7341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7342         New file.
7343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7344         multiarch modf for PowerPC32.
7345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7346         New file.
7347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7348         New file.
7349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7350         multiarch modff for PowerPC32.
7351
7352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7353         and lrintf multiarch implementations.
7354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7355         New file.
7356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7357         New file.
7358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7359         multiarch lrint for PowerPC32.
7360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7361         file: multiarch lrintf for PowerPC32.
7362
7363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7364         and lroundf multiarch implementations.
7365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7366         New file.
7367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7368         New file.
7369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7370         New file.
7371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7372         multiarch lround for PowerPC32.
7373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7374         file: multiarch lroundf for PowerPC32.
7375
7376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7377         copysign and copysignf multiarch implementations.
7378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7379         New file.
7380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7381         New file.
7382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7383         file: multiarch copysign for PowerPC32.
7384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7385         file: multiarch copysignf for PowerPC32.
7386
7387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7388         and truncf multiarch implementations.
7389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7390         New file.
7391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7392         file.
7393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7394         multiarch trunc for PowerPC32.
7395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7396         New file.
7397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7398         New file.
7399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7400         multiarch truncf for PowerPC32.
7401
7402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7403         and roundf multiarch implementations.
7404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7405         New file.
7406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7407         file.
7408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7409         multiarch round for PowerPC32.
7410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7411         New file.
7412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7413         New file.
7414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7415         multiarch roundf for PowerPC32.
7416
7417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7418         and floorf multiarch implementations.
7419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7420         New file.
7421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7422         file.
7423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7424         multiarch floor for PowerPC32.
7425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7426         New file.
7427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7428         New file.
7429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7430         multiarch floorf for PowerPC32.
7431
7432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7433         and ceilf multiarch implementations.
7434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7435         New file.
7436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7437         file.
7438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7439         multiarch ceil for PowerPC32.
7440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7441         New file.
7442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7443         file.
7444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7445         multiarch ceilf for PowerPC32.
7446
7447         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7448         is defined.
7449         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7450         FINITEF is defined.
7451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7452         and finitef multiarch implementations.
7453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7454         New file.
7455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7456         file.
7457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7458         multiarch finite for PowerPC32.
7459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7460         New file.
7461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7462         file: multiarch finitef for PowerPC32.
7463
7464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7465         and isinff multiarch implementations.
7466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7467         file.
7468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7469         file.
7470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7471         multiarch isinf for PowerPC32.
7472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7473         New file.
7474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7475         multiarch isinff for PowerPC32.
7476
7477         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7478         alias when __isnan is defined.
7479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7480         and isnanf multiarch implementations.
7481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7482         file.
7483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7484         file.
7485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7486         file.
7487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7488         file.
7489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7490         multiarch isnan for PowerPC32.
7491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7492         New file.
7493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7494         New file.
7495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7496         multiarch isnanf for PowerPC32.
7497
7498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7499         and sqrtf multiarch implementations.
7500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7501         file.
7502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7503         file.
7504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7505         multiarch sqrt for PowerPC32.
7506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7507         file.
7508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7509         file.
7510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7511         multiarch sqrtf for PowerPC32.
7512
7513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7514         and llroundf multiarch implementations.
7515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7516         New file.
7517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7518         New file.
7519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7520         New file.
7521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7522         file: multiarch llround for PowerPC32.
7523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7524         file: multiarch llroundf for PowerPC32.
7525
7526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7527         multiarch PowerPC32 fpu implementations.
7528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7529         New file.
7530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7531         New file.
7532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7533         multiarch llrint for PowerPC32.
7534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7535         New file.
7536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7537         New file.
7538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7539         file.
7540
7541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7542
7543         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7544         file.
7545         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7546         file.
7547         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7548         file.
7549         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7550         multiarch wordcopy for PPC32.
7551         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7552         wordcopy objects.
7553         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7554         (__libc_ifunc_impl_list): Likewise.
7555         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7556         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7557         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7558         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7559         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7560         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7561
7562         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7563         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7564         file.
7565         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7566         file.
7567         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7568         file.
7569         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7570         multiarch wcscpy for PPC32.
7571         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7572         multiarch objects.
7573         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7574         (__libc_ifunc_impl_list): Likewise.
7575         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7576         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7577         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7578         sysdeps/powerpc/power6/wcscpy.c.
7579
7580         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7581         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7582         file.
7583         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7584         file.
7585         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7586         file.
7587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7588         multiarch wcsrchr for PPC32.
7589         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7590         multiarch objects.
7591         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7592         (__libc_ifunc_impl_list): Likewise.
7593         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7594         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7595         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7596         sysdeps/powerpc/power6/wcsrchr.c.
7597
7598         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7599         file.
7600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7601         file.
7602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7603         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7604         multiarch wcschr for PPc32.
7605         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7606         multiarch objects.
7607         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7608         (__libc_ifunc_impl_list): Likewise.
7609         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7610         * sysdeps/powerpc/power6/wcschr.c: ... to here.
7611         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7612         sysdeps/powerpc/power6/wcschr.c.
7613
7614         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7615         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7616         file.
7617         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7618         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7619         file: multiarch strchr for PPC32.
7620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7621         multiarch objects.
7622         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7623         (__libc_ifunc_impl_list): Likewise.
7624
7625         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7626         name.
7627         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7628         file.
7629         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7630         file.
7631         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7632         multiarch strchrnul for PPC32.
7633         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7634         multiarch objects.
7635         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7636         (__libc_ifunc_impl_list): Likewise.
7637
7638         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7639         file.
7640         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7641         multiarch strncasecmp for PPC32.
7642         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7643         file.
7644         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7645         multiarch strncasecmp_l for PPC32.
7646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7647         strncasecmp multiarch objects.
7648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7649         (__libc_ifunc_impl_list): Likewise.
7650
7651         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7652         file.
7653         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7654         multiarch strncasecmp for PPC32.
7655         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7656         New file.
7657         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7658         multiarch strcasecmp_l for PPC32.
7659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7660         multiarch objects.
7661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7662         (__libc_ifunc_impl_list): Likewise.
7663
7664         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7665         file.
7666         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7667         file.
7668         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7669         multiarch strncmp for PPC32.
7670         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7671         multiarch objects.
7672         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7673         (__libc_ifunc_impl_list): Likewise.
7674
7675         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7676         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7677         file.
7678         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7679         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7681         multiarch objects.
7682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7683         (__libc_ifunc_impl_list): Likewise.
7684
7685         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7686         file.
7687         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7688         file.
7689         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7691         multiarch objects.
7692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7693         (__libc_ifunc_impl_list): Likewise.
7694
7695         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7696         file.
7697         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7698         file.
7699         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7700         multiarch rawmemchr for PPC32.
7701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7702         multiarch objects.
7703         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7704         (__libc_ifunc_impl_list): Likewise.
7705
7706         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7707         file.
7708         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7709         file.
7710         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7711         file: memrchr multiarch for PPC32.
7712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7713         multiarch objects.
7714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7715         (__libc_ifunc_impl_list): Likewise.
7716
7717         * string/memchr.c (__memchr): Using macro to redefine symbol name.
7718         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7719         file.
7720         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7721         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7722         multiarch memchr for PPC32.
7723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7724         multiarch objects.
7725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7726         (__libc_ifunc_impl_list): Likewise.
7727
7728         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7729         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7730         file.
7731         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7732         file.
7733         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7734         file: multiarch mempcpy for PPC32.
7735         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7736         multiarch objects.
7737         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7738         (__libc_ifunc_impl_list): Likewise.
7739
7740         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7741         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7742         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7743         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7744         multiarch bzero for PPC32.
7745         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7746         file.
7747         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7748         file.
7749         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7750         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7751         file: multiarch memset for PPC32.
7752         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7754         memset multiarch objects.
7755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7756         (__libc_ifunc_impl_list): Likewise.
7757
7758         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7759         file.
7760         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7761         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7762         memcmp for PPC32.
7763         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7764         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7765         multiarch objects.
7766         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7767         (__libc_ifunc_impl_list): Likewise.
7768
7769         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7771         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7772         file.
7773         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7774         file.
7775         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7776         file.
7777         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7778         multiarch memcpy for PPC32.
7779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7780         multiarch objects.
7781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7782         (__libc_ifunc_impl_list): Likewise.
7783
7784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7785         support multiarch for POWER/PPC32.
7786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7787         Likewise.
7788         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7790         Implies file to make multiarch folder appers before the fpu and
7791         default folder for power4 configuration.
7792
7793 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7794
7795         * scripts/bench.pl: Append volatile keyword to type.
7796
7797 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7798
7799         * sysdeps/sh/sotruss-lib.c: New file.
7800         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7801
7802 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7803
7804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7805
7806 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
7807
7808         [BZ #6810]
7809         * math/w_tgamma.c: Include <errno.h>.
7810         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
7811         * math/w_tgammaf.c: Include <errno.h>.
7812         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
7813         * math/w_tgammal.c: Include <errno.h>.
7814         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
7815         * math/auto-libm-test-in: Do not allow missing errno on tgamma
7816         underflow.  Add more tgamma tests.
7817         * math/auto-libm-test-out: Regenerated.
7818         * sysdeps/i386/fpu/libm-test-ulps: Update.
7819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7820
7821         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7822         sin, sinh, tan, tanh, tgamma, y0 and y1.
7823         * math/auto-libm-test-out: Regenerated.
7824         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7825         (TEST_COND_x86): Likewise.
7826         (M_E2l): Remove macro.
7827         (M_E3l): Likewise.
7828         (M_2_SQRT_PIl): Likewise.
7829         (M_SQRT_PIl): Likewise.
7830         (M_1_DIV_El): Likewise.
7831         (log_test_data): Use AUTO_TESTS_f_f.
7832         (log10_test_data): Likewise.
7833         (log1p_test_data): Likewise.
7834         (log2_test_data): Likewise.
7835         (sin_test_data): Likewise.
7836         (sin_tonearest_test_data): Likewise.
7837         (sin_towardzero_test_data): Likewise.
7838         (sin_downward_test_data): Likewise.
7839         (sin_upward_test_data): Likewise.
7840         (sinh_test_data): Likewise.
7841         (sinh_tonearest_test_data): Likewise.
7842         (sinh_towardzero_test_data): Likewise.
7843         (sinh_downward_test_data): Likewise.
7844         (sinh_upward_test_data): Likewise.
7845         (tan_test_data): Likewise.
7846         (tan_tonearest_test_data): Likewise.
7847         (tan_towardzero_test_data): Likewise.
7848         (tan_downward_test_data): Likewise.
7849         (tan_upward_test_data): Likewise.
7850         (tanh_test_data): Likewise.
7851         (tgamma_test_data): Likewise.
7852         (y0_test_data): Likewise.
7853         (y1_test_data): Likewise.
7854         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7855         (special_real_inputs): Add pi/4.
7856         * sysdeps/i386/fpu/libm-test-ulps: Update.
7857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7858
7859 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7860
7861         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7862         "longjmp_target" static probes.
7863         (__longjmp): Rename to __longjmp_symbol.
7864         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7865         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7866         on which longjmp to generate.
7867         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7868         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7869         probe.
7870         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7871         (__sigjmp_save): Rename to __sigjmp_save_symbol.
7872         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7873         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7874         and __sigjmp_save_symbol based on which sigsetjmp to generated.
7875         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7877         __longjmp_symbol based on which __longjmp to generate.
7878         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7879         probe.
7880         (setjmp): Rename to setjmp_symbol.
7881         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7882         (_setjmp): Rename to _setjmp_symbol.
7883         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7884         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7885         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7886         which setjmp to generate.
7887         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7888         "longjmp_target" static probes.
7889
7890 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7891
7892         * benchtests/README: Add note about output arguments.
7893         * benchtests/bench-sincos.c: Remove file.
7894         * benchtests/sincos-inputs: New file.
7895         * scripts/bench.pl: Identify output arguments and define
7896         static variables for them.
7897
7898         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7899
7900         [BZ #15941]
7901         * Makefile (INSTALL): Add install-plain.texi as the primary
7902         dependency.
7903         * manual/install-plain.texi: New file.
7904         * manual/install.texi: Include node directive only for
7905         non-plaintext output.
7906
7907 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
7908
7909         * stdlib/longlong.h: Update from GCC.
7910
7911         [BZ #6807]
7912         [BZ #15901]
7913         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7914         * math/w_j0f.c (y0f): Likewise.
7915         * math/w_j0l.c (__y0l): Likewise.
7916         * math/w_j1.c (y1): Likewise.
7917         * math/w_j1f.c (y1f): Likewise.
7918         * math/w_j1l.c (__y1l): Likewise
7919         * math/w_jn.c (yn): Likewise.
7920         * math/w_jnf.c (ynf): Likewise.
7921         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7922         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
7923         value for Bessel function domain errors outside _SVID_ mode.
7924         Adjust sign of return value for yn (negative integer, 0).
7925         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7926         by zero in return for negative x and set sign appropriately for
7927         negative n.
7928         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7929         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7930         * math/libm-test.inc (y0_test_data): Add more tests and adjust
7931         expectations in error cases.
7932         (y1_test_data): Likewise.
7933         (yn_test_data): Likewise.
7934         * sysdeps/i386/fpu/libm-test-ulps: Update.
7935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7936
7937 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7938
7939         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7940         "64" to "64-v1".  Add "64-v2".
7941         (abi-64-options): Rename to ...
7942         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
7943         (abi-64-condition): Rename to ...
7944         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
7945         (abi-64-ld-soname): Rename to ...
7946         (abi-64-v1-ld-soname): ... this.
7947         (abi-64-v2-options): Define.
7948         (abi-64-v2-condition): Likewise.
7949         (abi-64-v2-ld-soname): Likewise.
7950         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7951         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7955
7956 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7957             Alan Modra  <amodra@gmail.com>
7958
7959         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7960         New versions for use with the ELFv2 ABI.
7961         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7962         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7963         declaration.
7964         (struct La_ppc64v2_retval): Likewise.
7965         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7966         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7967         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7968         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7969         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7970         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7971         Do not save or restore CR.
7972         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7973         (_dl_profile_resolve): Do no save or restore CR.  Support extended
7974         return values for ELFv2 ABI.  Fix location of FPR return registers.
7975         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7976         updated values for _CALL_ELF == 2.
7977         (La_regs, La_retval, int_retval): Likewise.
7978
7979 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7980
7981         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7982         (FRAME_MIN_SIZE_PARM): Likewise.
7983         (FRAME_BACKCHAIN): Likewise.
7984         (FRAME_CR_SAVE): Likewise.
7985         (FRAME_LR_SAVE): Likewise.
7986         (FRAME_TOC_SAVE): Likewise.
7987         (FRAME_PARM_SAVE): Likewise.
7988         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7989         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7990         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7991         (call_mcount_parm_offset): New macro.
7992         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7993         (PROF): Use symbolic stack frame offsets.
7994         (TAIL_CALL_SYSCALL_ERROR): Likewise.
7995         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7996         Redefine in terms of FRAME_MIN_SIZE.
7997         (_dl_runtime_resolve): Use symbolic stack frame offsets.
7998         (_dl_profile_resolve): Likewise.  Update comment.
7999         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8000         symbols stack frame offsets.
8001         (__sigsetjmp): Likewise.
8002         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8003         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8004         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8005         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8006
8007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8008         (FRAME_BACKCHAIN): Remove.
8009         (FRAME_CR_SAVE): Likewise.
8010         (FRAME_LR_SAVE): Likewise.
8011         (FRAME_COMPILER_DW): Likewise.
8012         (FRAME_LINKER_DW): Likewise.
8013         (FRAME_TOC_SAVE): Likewise.
8014         (FRAME_PARM_SAVE): Likewise.
8015         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8016         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8017         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8019         (CHECK_SP): Use symbolic stack frame offsets.
8020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8021         zone" instead of caller's parameter save area for temp storage.
8022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8023         Likewise.  Also, use symbolic stack frame offsets.
8024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8025         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8026         our own stack frame instead of the caller's.
8027         (__socket): Use symbolic stack frame offsets.
8028
8029 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8030             Alan Modra  <amodra@gmail.com>
8031
8032         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8033         Define.
8034         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8035         (PPC64_LOCAL_ENTRY_OFFSET): Define.
8036         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8037         New function.
8038         (elf_machine_fixup_plt): Call it.
8039         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
8040         reloc arguments.
8041         (elf_machine_rela): Update call to elf_machine_plt_conflict.
8042         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8043         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8044         r2 before calling target.
8045
8046 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8047             Alan Modra  <amodra@gmail.com>
8048
8049         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8050         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8051         versions of macros to support ELFv2 ABI.
8052         (LOCALENTRY): New macro.
8053         (ENTRY, EALIGN): Use it.
8054         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8055         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8056         fall through into ENTRY entry point.
8057         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8058         Only define if _CALL_ELF != 2.
8059
8060         (elf_machine_matches_host): Verify ABI version matches.
8061         (RTLD_START): Use LOCALENTRY.
8062         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8063         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8064         (PLT_ENTRY_WORDS): New macro.
8065         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8066         (elf_machine_runtime_setup): Support ELFv2 ABI.
8067         (elf_machine_fixup_plt): Likewise.
8068         (elf_machine_plt_conflict): Likewise.
8069         (resolve_ifunc): Likewise.
8070         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8071         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8072         Likewise.
8073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8074         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8076         (makecontext): Support ELFv2 ABI.
8077         * elf/elf.h (EF_PPC64_ABI): Define.
8078
8079 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8080
8081         * sysdeps/powerpc/powerpc64/sysdep.h
8082         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8083         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8084         (ENTRY) [ASSEMBLER]: ... but instead here ...
8085         (EALIGN) [ASSEMBLER]: ... and here.
8086         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8087         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8088         (ENTRY_2) [!ASSEMBLER]: Use it.
8089         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8090         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
8091         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8092         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8093         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8095         Use PPC64_LOAD_FUNCPTR.
8096
8097         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8098
8099 2013-12-04  Alan Modra  <amodra@gmail.com>
8100
8101         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8102         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8103         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8104         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8105
8106         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8107         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8108         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8109         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8110         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8111         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8112
8113 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8114
8115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8116         (__makecontext): Fix incorrect CFI when backtracing out of
8117         context created via makecontext.
8118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8119         (__setcontext): Fix incorrect CFI during switch to new context.
8120         (__novec_setcontext): Likewise.
8121
8122 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8123
8124         [BZ #4772]
8125         * time/strptime_l.c (__strptime_internal): Allow modifiers
8126         in strptime.
8127         * time/tst-strptime.c (day_tests): Add testcase.
8128
8129 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8130
8131         * scripts/bench.pl: Skip over blank lines.
8132
8133 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8134
8135         [BZ #926]
8136         * manual/time.texi (Calendar Time): Clarify what timezone functions
8137         use.
8138
8139 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8140
8141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8142
8143 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8144
8145         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8146         implementation.
8147         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8148         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8149         * debug/memset_chk.c (__memset_chk): Likewise.
8150         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8151         * debug/strncpy_chk.c: Likewise.
8152
8153 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8154
8155         [BZ #15268]
8156         [BZ #15425]
8157         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8158         (__ieee754_exp): For possibly underflowing results, check size of
8159         result and force underflow exception if required.
8160         * math/auto-libm-test-in: Add more tests of exp.
8161         * math/auto-libm-test-out: Regenerated.
8162         * sysdeps/i386/fpu/libm-test-ulps: Update.
8163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8164
8165         [BZ #16283]
8166         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8167         * math/w_exp2f.c (__exp2f): Likewise.
8168         * math/w_exp2l.c (__exp2l): Likewise.
8169         * math/auto-libm-test-in: Do not allow missing errno on exp2
8170         underflow.
8171         * math/auto-libm-test-out: Regenerated.
8172
8173 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
8174
8175         [BZ #16274]
8176         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8177         handle filename validation.
8178         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8179         (do_open): Delete.
8180
8181 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8182
8183         [BZ #6786]
8184         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8185         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8186         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8187         <float.h>.
8188         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8189         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8190         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8191         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8192         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8193         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8194         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8195         * math/auto-libm-test-in: Don't allow missing errno from erfc.
8196         Add more erfc tests.
8197         * math/auto-libm-test-out: Regenerated.
8198         * sysdeps/i386/fpu/libm-test-ulps: Update.
8199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8200
8201         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8202         exp2, expm1, j0 and j1.
8203         * math/auto-libm-test-out: Regenerated.
8204         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8205         (erfc_test_data): Likewise.
8206         (exp_test_data): Likewise.
8207         (exp_tonearest_test_data): Likewise.
8208         (exp_towardzero_test_data): Likewise.
8209         (exp_downward_test_data): Likewise.
8210         (exp_upward_test_data): Likewise.
8211         (exp10_test_data): Likewise.
8212         (exp2_test_data): Likewise.
8213         (expm1_test_data): Likewise.
8214         (j0_test_data): Likewise.
8215         (j1_test_data): Likewise.
8216         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8217         (input_flag_type): Add flag_xfail_rounding.
8218         (input_flags): Add xfail-rounding.
8219         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8220         (output_for_one_input_case): Handle flag_xfail_rounding.
8221         * sysdeps/i386/fpu/libm-test-ulps: Update.
8222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8223
8224 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
8225
8226         [BZ #16289]
8227         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8228         division by 0.
8229
8230 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8231
8232         [BZ #16195]
8233         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8234         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8235         (STAP_PROBE0): New macro.
8236         (STAP_PROBE1): Likewise.
8237         (STAP_PROBE2): Likewise.
8238         (STAP_PROBE3): Likewise.
8239         (STAP_PROBE4): Likewise.
8240
8241 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
8242
8243         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8244
8245 2013-12-02  Steve Ellcey  <sellcey@mips.com>
8246
8247         * benchtests/Makefile (bench): Add sqrt.
8248         (LDLIBS-bench-sqrt): New.
8249         * benchtests/sqrt-input: New.
8250
8251 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
8252
8253         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8254         (GAIH_EAI): Likewise.
8255         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8256         (gaih_inet): Likewise.
8257         (getaddrinfo): Don't use GAIH_EAI.
8258
8259         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8260         (struct gaih): Remove definition.
8261
8262 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8263
8264         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8265         Use HERRNOP directly.
8266
8267 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8268
8269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8270
8271 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
8272
8273         * math/gen-auto-libm-tests.c (test_functions): Add more
8274         single-argument functions.
8275         (special_fill_pi_2): New function.
8276         (special_fill_minus_pi_2): Likewise.
8277         (special_fill_pi_6): Likewise.
8278         (special_fill_minus_pi_6): Likewise.
8279         (special_fill_pi_3): Likewise.
8280         (special_fill_2pi_3): Likewise.
8281         (special_fill_e): Likewise.
8282         (special_fill_1_e): Likewise.
8283         (special_fill_e_minus_1): Likewise.
8284         (special_real_inputs): Add more special inputs.
8285         (output_for_one_input_case): Do not require ERANGE on underflow to
8286         zero if round-to-nearest result does not underflow to zero, unless
8287         exact results required.
8288         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8289         atan, atanh, cbrt, cos and cosh.
8290         * math/auto-libm-test-out: Regenerated.
8291         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8292         (acos_tonearest_test_data): Likewise.
8293         (acos_towardzero_test_data): Likewise.
8294         (acos_downward_test_data): Likewise.
8295         (acos_upward_test_data): Likewise.
8296         (acosh_test_data): Likewise.
8297         (asin_test_data): Likewise.
8298         (asin_tonearest_test_data): Likewise.
8299         (asin_towardzero_test_data): Likewise.
8300         (asin_upward_test_data): Likewise.
8301         (asinh_test_data): Likewise.
8302         (atan_test_data): Likewise.
8303         (atanh_test_data): Likewise.
8304         (cbrt_test_data): Likewise.
8305         (cos_test_data): Likewise.
8306         (cos_tonearest_test_data): Likewise.
8307         (cos_towardzero_test_data): Likewise.
8308         (cos_downward_test_data): Likewise.
8309         (cos_upward_test_data): Likewise.
8310         (cosh_test_data): Likewise.
8311         (cosh_tonearest_test_data): Likewise.
8312         (cosh_towardzero_test_data): Likewise.
8313         (cosh_downward_test_data): Likewise.
8314         (cosh_upward_test_data): Likewise.
8315         * sysdeps/i386/fpu/libm-test-ulps: Update.
8316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8317
8318 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
8319
8320         [BZ #6787]
8321         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8322         * math/w_exp10f.c (__exp10f): Likewise.
8323         * math/w_exp10l.c (__exp10l): Likewise.
8324         * math/libm-test.inc (exp10_test_data): Add more tests and expect
8325         errno settings in existing tests.
8326
8327         [BZ #14032]
8328         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8329         precision control set to double precision.
8330         * sysdeps/i386/fpu/w_sqrt.c: New file.
8331         * math/auto-libm-test-in: Add more tests.
8332         * math/auto-libm-test-out: Update.
8333
8334         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8335         (sqrt_test_tonearest): New function.
8336         (sqrt_towardzero_test_data): New variable.
8337         (sqrt_test_towardzero): New function.
8338         (sqrt_downward_test_data): New variable.
8339         (sqrt_test_downward): New function.
8340         (sqrt_upward_test_data): New variable.
8341         (sqrt_test_upward): New function.
8342         (main): Call the new functions.
8343
8344         * math/gen-auto-libm-tests.c: New file.
8345         * math/auto-libm-test-in: Likewise.
8346         * math/auto-libm-test-out: New generated file.
8347         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8348         variables.
8349         (%beautify): Add generated representations of zero.
8350         (top level): Set $auto_input and call parse_auto_input.
8351         (beautify): Remove trailing "f" from hex float constants.
8352         (parse_args): Handle XFAIL_TEST.
8353         (convert_condition): New function.
8354         (or_value): Likewise.
8355         (or_cond_value): Likewise.
8356         (generate_testfile): Handle AUTO_TESTS_* lines.
8357         (parse_auto_input): New function.
8358         * math/libm-test.inc (XFAIL_TEST): New macro.
8359         (ERRNO_UNCHANGED): Update value.
8360         (ERRNO_EDOM): Likewise.
8361         (ERRNO_ERANGE): Likewise.
8362         (IGNORE_RESULT): Likewise.
8363         (TEST_COND_flt_32): New macro.
8364         (TEST_COND_dbl_64): Likewise.
8365         (TEST_COND_ldbl_96_intel): Likewise.
8366         (TEST_COND_ldbl_96_m68k): Likewise.
8367         (TEST_COND_ldbl_128): Likewise.
8368         (TEST_COND_ldbl_128ibm): Likewise.
8369         (TEST_COND_long32): Likewise.
8370         (TEST_COND_long64): Likewise.
8371         (TEST_COND_before_rounding): Likewise.
8372         (TEST_COND_after_rounding): Likewise.
8373         (enable_test): Handle XFAIL_TEST flag.
8374         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8375         with finite results.
8376         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8377         auto-libm-test-out.
8378
8379 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8380             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8381
8382         [BZ #16214]
8383         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8384         __tls_get_addr_internal instead of __tls_get_offset in order to
8385         avoid GOT pointer dependency.  Make rtld export
8386         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8387         __tls_get_addr since we are a __tls_get_offset platform.
8388         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8389         GOT pointer being set up before.
8390         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8391
8392 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
8393
8394         * manual/math.texi (Errors in Math Functions): Document accuracy
8395         goals.
8396
8397         [BZ #15004]
8398         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8399         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8400         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8401         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8402         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8403         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8404         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8405         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8406         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8407         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8408         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8409         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8410         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8411         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8412         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8413         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8414
8415         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8416         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8417         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8418         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8419         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8420         Likewise.
8421         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8422         Likewise.
8423         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8424         Likewise.
8425         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8426         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8427         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8428         atomic-feupdateenv and flt-rounds.
8429         * sysdeps/powerpc/nofpu/Versions (libc): Add
8430         __atomic_feholdexcept, __atomic_feclearexcept,
8431         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8432         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8433         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8434         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8435         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8436         here.
8437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8438         Update.
8439
8440         * manual/arith.texi (FP Exceptions): Document that exceptions may
8441         not be raised when matherr is used.
8442         (Math Error Reporting): Document overflow in directed rounding
8443         modes.  Document that errno may not be set when finite values are
8444         returned on overflow.  Document intent to set errno on underflow
8445         only for underflow to zero.
8446
8447         [BZ #16271]
8448         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8449         round-to-nearest then adjust result for other rounding modes.
8450         * include/fenv.h (fegetround): Use libm_hidden_proto.
8451         * math/fegetround.c (fegetround): Use libm_hidden_def.
8452         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8453         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8454         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8455         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8456         Likewise.
8457         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8458         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8459         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8460         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8461
8462 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8463
8464         [BZ #16077]
8465         * nss/Versions (libnss_files): Add
8466         _nss_files_gethostbyname3_r.
8467         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8468         New function.
8469         (HOST_DB_LOOKUP): Remove macro.
8470         (_nss_files_gethostbyname_r): Implement function without the
8471         HOST_DB_LOOKUP macro.
8472         (_nss_files_gethostbyname2_r): Likewise.
8473
8474 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
8475
8476         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8477
8478 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
8479
8480         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8481         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8482         warning.
8483
8484 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8485
8486         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8487         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8488         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8489         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8490         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8491         __fe_nomask_env_priv and attribute_hidden.
8492         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8493         (libc_feupdateenv_test_ppc): Likewise.
8494         (libc_feresetround_ppc): Likewise.
8495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8496         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8497         compat_symbol macro.
8498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8499         (__fe_nomask_env): Likewise.
8500         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8501
8502 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8503
8504         * string/Makefile: Remove ifunc tests.
8505         * string/test-string.h: Define TEST_IFUNC.
8506         * string/test-bcopy-ifunc.c: Remove.
8507         * string/test-bzero-ifunc.c: Likewise.
8508         * string/test-memccpy-ifunc.c: Likewise.
8509         * string/test-memchr-ifunc.c: Likewise.
8510         * string/test-memcmp-ifunc.c: Likewise.
8511         * string/test-memcpy-ifunc.c: Likewise.
8512         * string/test-memmem-ifunc.c: Likewise.
8513         * string/test-memmove-ifunc.c: Likewise.
8514         * string/test-mempcpy-ifunc.c: Likewise.
8515         * string/test-memrchr-ifunc.c: Likewise.
8516         * string/test-memset-ifunc.c: Likewise.
8517         * string/test-rawmemchr-ifunc.c: Likewise.
8518         * string/test-stpcpy-ifunc.c: Likewise.
8519         * string/test-stpncpy-ifunc.c: Likewise.
8520         * string/test-strcasecmp-ifunc.c: Likewise.
8521         * string/test-strcasestr-ifunc.c: Likewise.
8522         * string/test-strcat-ifunc.c: Likewise.
8523         * string/test-strchr-ifunc.c: Likewise.
8524         * string/test-strchrnul-ifunc.c: Likewise.
8525         * string/test-strcmp-ifunc.c: Likewise.
8526         * string/test-strcpy-ifunc.c: Likewise.
8527         * string/test-strcspn-ifunc.c: Likewise.
8528         * string/test-strlen-ifunc.c: Likewise.
8529         * string/test-strncasecmp-ifunc.c: Likewise.
8530         * string/test-strncat-ifunc.c: Likewise.
8531         * string/test-strncmp-ifunc.c: Likewise.
8532         * string/test-strncpy-ifunc.c: Likewise.
8533         * string/test-strnlen-ifunc.c: Likewise.
8534         * string/test-strpbrk-ifunc.c: Likewise.
8535         * string/test-strrchr-ifunc.c: Likewise.
8536         * string/test-strspn-ifunc.c: Likewise.
8537         * string/test-strstr-ifunc.c: Likewise.
8538
8539 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8540
8541         * benchtests/Makefile: Remove ifunc tests.
8542         * benchtests/bench-string.h: Define TEST_IFUNC.
8543         * benchtests/bench-bcopy-ifunc.c: Remove.
8544         * benchtests/bench-bzero-ifunc.c: Likewise.
8545         * benchtests/bench-memccpy-ifunc.c: Likewise.
8546         * benchtests/bench-memchr-ifunc.c: Likewise.
8547         * benchtests/bench-memcmp-ifunc.c: Likewise.
8548         * benchtests/bench-memcpy-ifunc.c: Likewise.
8549         * benchtests/bench-memmem-ifunc.c: Likewise.
8550         * benchtests/bench-memmove-ifunc.c: Likewise.
8551         * benchtests/bench-mempcpy-ifunc.c: Likewise.
8552         * benchtests/bench-memrchr-ifunc.c: Likewise.
8553         * benchtests/bench-memset-ifunc.c: Likewise.
8554         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8555         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8556         * benchtests/bench-stpcpy-ifunc.c: Likewise.
8557         * benchtests/bench-stpncpy-ifunc.c: Likewise.
8558         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8559         * benchtests/bench-strcasestr-ifunc.c: Likewise.
8560         * benchtests/bench-strcat-ifunc.c: Likewise.
8561         * benchtests/bench-strchr-ifunc.c: Likewise.
8562         * benchtests/bench-strchrnul-ifunc.c: Likewise.
8563         * benchtests/bench-strcmp-ifunc.c: Likewise.
8564         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8565         * benchtests/bench-strcpy-ifunc.c: Likewise.
8566         * benchtests/bench-strcspn-ifunc.c: Likewise.
8567         * benchtests/bench-strlen-ifunc.c: Likewise.
8568         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8569         * benchtests/bench-strncat-ifunc.c: Likewise.
8570         * benchtests/bench-strncmp-ifunc.c: Likewise.
8571         * benchtests/bench-strncpy-ifunc.c: Likewise.
8572         * benchtests/bench-strnlen-ifunc.c: Likewise.
8573         * benchtests/bench-strpbrk-ifunc.c: Likewise.
8574         * benchtests/bench-strrchr-ifunc.c: Likewise.
8575         * benchtests/bench-strsep-ifunc.c: Likewise.
8576         * benchtests/bench-strspn-ifunc.c: Likewise.
8577         * benchtests/bench-strstr-ifunc.c: Likewise.
8578
8579 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8580
8581         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8582
8583 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
8584
8585         * resolv/netdb.h: Use __glibc_reserved instead __unused.
8586         * rt/aio.h: Likewise.
8587         * sysdeps/gnu/bits/utmp.h: Likewise.
8588         * sysdeps/gnu/bits/utmpx.h: Likewise.
8589         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8590         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8591         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8592         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8593         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8594         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8595         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8596         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8597         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8598         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8599         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8600         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8601         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8603         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8604         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8605         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8606         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8607         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8608         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8609         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8610         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8611         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8612         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8613         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8615         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8616         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8617         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8618         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8619         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8620         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8621         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8622         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8623         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8624         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8625         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8626         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8627         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8628         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8629         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8630         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8631
8632 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
8633
8634         [BZ #16245]
8635         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8636         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8637
8638 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
8639
8640         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8641         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8642         Likewise.
8643
8644 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8645
8646         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8647         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8648         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8649         (__fesetround): Remove define.
8650         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8651         rounding and exceptions handling.
8652         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8653         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8654         (__fe_nomask_env): Likewise.
8655         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8656         __fegetround instead of fegetround.
8657         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8658         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8659
8660 2013-11-21  Roland McGrath  <roland@hack.frob.com>
8661
8662         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8663         it's there.
8664
8665         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8666
8667 2013-11-21  Meador Inge  <meadori@codesourcery.com>
8668
8669         [BZ #11157]
8670         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8671         (encrypt_r): Likewise.
8672         * malloc/obstack.h (obstack_free): Likewise.
8673         * posix/unistd.h (encrypt): Likewise.
8674
8675 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
8676
8677         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8678         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8679         DL_CALL_DT_FINI() that call the functions directly.
8680         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8681         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8682         * elf/dl-fini.c: Likewise.
8683
8684 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
8685
8686         * malloc/hooks.c (memalign_check): Add alignment rounding.
8687         * malloc/malloc.c (_mid_memalign): New function.
8688         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8689         Implement by calling _mid_memalign.
8690         * manual/probes.texi (Memory Allocation Probes): Remove
8691         memory_valloc_retry and memory_pvalloc_retry.
8692
8693 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8694
8695         * locale/programs/locarchive.c (open_archive): Add const
8696         qualifier to ARCHIVEFNAME and copy default fname to
8697         DEFAULT_FNAME.
8698
8699         [BZ #15601]
8700         * libio/tst-widetext.input: Rename Oriya to Odia.
8701         * locale/iso-639.def: Likewise.
8702
8703         * manual/probes.texi (Mathematical Function Probes): Add
8704         documentation for sin, cos, asin and acos probes.
8705         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8706         (__sin32): Add slowasin probe.
8707         (__cos32): Add slowacos probe.
8708         (__mpsin): Add slowsin probe.
8709         (__mpcos): Add slowcos probe.
8710
8711 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
8712
8713         [BZ #15483]
8714         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8715         thread-local __sim_exceptions_thread and global
8716         __sim_exceptions_global.
8717         (__sim_disabled_exceptions): Change to thread-local
8718         __sim_disabled_exceptions_thread and global
8719         __sim_disabled_exceptions_global.
8720         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8721         and global __sim_round_mode_global.
8722         (__simulate_exceptions): Use thread-local floating-point state and
8723         set global state from it as needed.
8724         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8725         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8726         __sim_round_mode_thread.
8727         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8728         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8729         and global __sim_exceptions_global.
8730         (__sim_disabled_exceptions): Change to thread-local
8731         __sim_disabled_exceptions_thread and global
8732         __sim_disabled_exceptions_global.
8733         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8734         and global __sim_round_mode_global.
8735         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8736         (SIM_SET_GLOBAL): Likewise.
8737         * sysdeps/powerpc/soft-fp/sfp-machine.h
8738         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8739         __sim_round_mode_thread.
8740         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8741         __sim_disabled_exceptions_thread.
8742         (__sim_exceptions): Change to __sim_exceptions_thread.
8743         (__sim_disabled_exceptions): Change to
8744         __sim_disabled_exceptions_thread.
8745         (__sim_round_mode): Change to __sim_round_mode_thread.
8746         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8747         thread-local floating-point state and set global state from it as
8748         needed.
8749         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8750         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8751         (__sim_disabled_exceptions): Remove extern declaration.
8752         (feenableexcept): Use thread-local floating-point state and set
8753         global state from it as needed.
8754         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8755         extern declaration.
8756         (__sim_disabled_exceptions): Likewise.
8757         (__sim_round_mode): Likewise.
8758         (__fegetenv): Use thread-local floating-point state.
8759         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8760         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8761         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8762         floating-point state and set global state from it as needed.
8763         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8764         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8765         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8766         Likewise.
8767         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8768         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8769         Likewise.
8770         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8771         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8772         Use __sim_round_mode_thread.
8773         * math/test-fenv-tls.c: New file.
8774         * math/Makefile (tests): Add test-fenv-tls.
8775         ($(objpfx)test-fenv-tls): Depend on
8776         $(common-objpfx)nptl/libpthread.so.
8777
8778 2013-11-19  Andreas Schwab  <schwab@suse.de>
8779
8780         * locale/programs/locale.c (show_info): Decode wordarray elements.
8781         * locale/categories.def (LC_MONETARY): Add element for
8782         _NL_MONETARY_CRNCYSTR.
8783         * locale/C-monetary.c (conversion_rate): New variable.
8784         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8785         element.
8786
8787 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
8788
8789         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8790         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8791
8792 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8793
8794         * elf/Makefile (tst-auxv): New test.
8795         * elf/tst-auxv.c: New
8796         * elf/rtld.c (dl_main): Adjust AT_EXECFN
8797
8798 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
8799
8800         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8801         (hidden_proto): Caller changed.
8802         (hidden_tls_proto): New macro.
8803         (libc_hidden_tls_proto): Likewise.
8804         (rtld_hidden_tls_proto): Likewise.
8805         (libm_hidden_tls_proto): Likewise.
8806         (libresolv_hidden_tls_proto): Likewise.
8807         (librt_hidden_tls_proto): Likewise.
8808         (libdl_hidden_tls_proto): Likewise.
8809         (libnss_files_hidden_tls_proto): Likewise.
8810         (libnsl_hidden_tls_proto): Likewise.
8811         (libnss_nisplus_hidden_tls_proto): Likewise.
8812         (libutil_hidden_tls_proto): Likewise.
8813
8814 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
8815
8816         [BZ #10253]
8817         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8818         (decompose_rpath): Defer expansion to fillin_rpath.
8819         (_dl_init_paths): Pass linkmap to fillin_rpath.
8820
8821 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8822
8823         * benchtests/Makefile: Add strsep.
8824         * benchtests/bench-strsep.c: New file: strsep benchtest.
8825         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8826
8827 2013-11-18  Andreas Schwab  <schwab@suse.de>
8828
8829         * locale/programs/locale.c (show_info) [case byte]: Check for
8830         '\377' instead of '\177'.
8831         * locale/C-monetary.c (not_available): Always use "\377".
8832         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8833         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
8834         detect unavailable sign_posn locale elements.
8835         * locale/localeconv.c (__localeconv): For grouping and
8836         mon_grouping handle "\177" and "\377" like no grouping.
8837         (INT_ELEM): New macro.  Use it to set all numeric members.
8838         * locale/programs/ld-monetary.c (monetary_read)
8839         <tok_mon_grouping>: Normalize single -1 to the empty string.
8840         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8841         Likewise.
8842
8843 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8844
8845         [BZ #16055]
8846         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8847         when we match (nil).
8848         * stdio-common/tst-sscanf.c (struct test): Add testcase.
8849
8850 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
8851
8852         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8853         (NO_TEST_INLINE): Update value.
8854         (ERRNO_UNCHANGED): Likewise.
8855         (ERRNO_EDOM): Likewise.
8856         (ERRNO_ERANGE): Likewise.
8857         (IGNORE_RESULT): Likewise.
8858         (check_float_internal): Check signs of NaN results if
8859         TEST_NAN_SIGN used.
8860         (check_complex): Pass TEST_NAN_SIGN flag through to second
8861         check_float_internal call.
8862         (copysign_test_data): Add tests with quiet NaNs as second
8863         argument.  Use TEST_NAN_SIGN.
8864         (fabs_test_data): Add test of negative quiet NaN argument.  Use
8865         TEST_NAN_SIGN.
8866         (signbit_test_data): Add tests of quiet NaN argument.
8867         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8868
8869         * math/gen-libm-test.pl (show_exceptions): Take extra argument
8870         $ignore_result.
8871         (parse_args): Handle function results specified as IGNORE.
8872         * math/libm-test.inc (IGNORE_RESULT): New macro.
8873         (check_float_internal): Do not check numerical result if flag
8874         IGNORE_RESULT set.
8875         (check_complex): Pass through IGNORE_RESULT to second
8876         check_float_internal call.
8877         (check_int): Do not check numerical result if flag IGNORE_RESULT
8878         set.
8879         (check_long): Likewise.
8880         (check_bool): Likewise.
8881         (check_longlong): Likewise.
8882         (lrint_test_data): Add tests of infinite and NaN arguments.
8883         (lrint_tonearest_test_data): Likewise.
8884         (lrint_towardzero_test_data): Likewise.
8885         (lrint_downward_test_data): Likewise.
8886         (lrint_upward_test_data): Likewise.
8887         (llrint_test_data): Likewise.
8888         (llrint_tonearest_test_data): Likewise.
8889         (llrint_towardzero_test_data): Likewise.
8890         (llrint_downward_test_data): Likewise.
8891         (llrint_upward_test_data): Likewise.
8892         (lround_test_data): Likewise.
8893         (llround_test_data): Likewise.
8894
8895         * math/libm-test.inc (NO_TEST_INLINE): New macro.
8896         (ERRNO_UNCHANGED): Update value.
8897         (ERRNO_EDOM): Likewise.
8898         (ERRNO_ERANGE): Likewise.
8899         (NO_TEST_INLINE_FLOAT): New macro.
8900         (NO_TEST_INLINE_DOUBLE): Likewise.
8901         (enable_test): New function.
8902         (RUN_TEST_f_f): Check enable_test before running test.
8903         (RUN_TEST_2_f): Likewise.
8904         (RUN_TEST_fff_f): Likewise.
8905         (RUN_TEST_c_f): Likewise.
8906         (RUN_TEST_f_f1): Likewise.
8907         (RUN_TEST_fF_f1): Likewise.
8908         (RUN_TEST_fI_f1): Likewise.
8909         (RUN_TEST_ffI_f1): Likewise.
8910         (RUN_TEST_c_c): Likewise.
8911         (RUN_TEST_cc_c): Likewise.
8912         (RUN_TEST_f_i): Likewise.
8913         (RUN_TEST_f_i_tg): Likewise.
8914         (RUN_TEST_ff_i_tg): Likewise.
8915         (RUN_TEST_f_b): Likewise.
8916         (RUN_TEST_f_b_tg): Likewise.
8917         (RUN_TEST_f_l): Likewise.
8918         (RUN_TEST_f_L): Likewise.
8919         (RUN_TEST_fFF_11): Likewise.
8920         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8921         conditionals.
8922         (cosh_test_data): Likewise.
8923         (exp_test_data): Likewise.
8924         (expm1_test_data): Likewise.
8925         (hypot_test_data): Likewise.
8926         (pow_test_data): Likewise.
8927         (sinh_test_data): Likewise.
8928         (tanh_test_data): Likewise.
8929         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8930         flags argument.
8931
8932         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8933         tests with quiet NaN input and output.
8934         (acosh_test_data): Likewise.
8935         (asin_test_data): Likewise.
8936         (asinh_test_data): Likewise.
8937         (atan_test_data): Likewise.
8938         (atanh_test_data): Likewise.
8939         (atan2_test_data): Likewise.
8940         (cbrt_test_data): Likewise.
8941         (cos_test_data): Likewise.
8942         (cosh_test_data): Likewise.
8943         (erf_test_data): Likewise.
8944         (erfc_test_data): Likewise.
8945         (exp_test_data): Likewise.
8946         (exp10_test_data): Likewise.
8947         (exp2_test_data): Likewise.
8948         (expm1_test_data): Likewise.
8949         (hypot_test_data): Likewise.
8950         (j0_test_data): Likewise.
8951         (j1_test_data): Likewise.
8952         (jn_test_data): Likewise.
8953         (lgamma_test_data): Likewise.
8954         (log_test_data): Likewise.
8955         (log10_test_data): Likewise.
8956         (log1p_test_data): Likewise.
8957         (log2_test_data): Likewise.
8958         (pow_test_data): Likewise.
8959         (scalb_test_data): Likewise.
8960         (sin_test_data): Likewise.
8961         (sincos_test_data): Likewise.
8962         (sinh_test_data): Likewise.
8963         (tan_test_data): Likewise.
8964         (tanh_test_data): Likewise.
8965         (tgamma_test_data): Likewise.
8966         (y0_test_data): Likewise.
8967         (y1_test_data): Likewise.
8968         (yn_test_data): Likewise.
8969
8970         [BZ #16167]
8971         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8972         argument being NaN and avoid computations with second argument in
8973         that case.
8974         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8975         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8976         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8977
8978 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
8979
8980         * locale/iso-639.def: Add Chitwani Tharu (the).
8981
8982 2013-11-14  Andreas Schwab  <schwab@suse.de>
8983
8984         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8985         word instead of empty string.
8986
8987 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8988
8989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8990         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8992         (__fe_nomask_env): Likewise.
8993
8994 2013-11-13  Steve Ellcey  <sellcey@mips.com>
8995
8996         * benchtests/bench-timing.h: Include time.h.
8997
8998 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
8999
9000         [BZ #15997]
9001         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9002         to 3.4.0 for x32.
9003         * sysdeps/unix/sysv/linux/configure: Regenerated.
9004
9005 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
9006
9007         [BZ #16151]
9008         * stdlib/strtod_l.c (round_and_return): Do not consider
9009         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9010         exponent one less than half the least subnormal exponent.
9011         * stdlib/test-strtod-round-data: Add more tests.
9012         * stdlib/tst-strtod-round.c (tests): Regenerated.
9013
9014 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9015
9016         [BZ #14143]
9017         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9018         (__fe_mask_env): Likewise.
9019         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9020         libm_hidden_proto and add function prototype.
9021         (__fe_mask_env): Add function prototype.
9022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9023         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9025         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9027         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9028
9029 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9030
9031         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9032         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9033
9034 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9035
9036         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9037         of htab_find_slot().
9038
9039 2013-11-11  David S. Miller  <davem@davemloft.net>
9040
9041         [BZ #16150]
9042         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9043         symbol in the non-vis3 case in static builds.
9044         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9045         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9046         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9047         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9048
9049 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9050
9051         [BZ #387]
9052         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9053         it is empty.
9054
9055 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9056
9057         * benchtests/Makefile: Add bench-strtod.
9058         * benchtests/bench-strtod.c: New file: strtod benchtest
9059
9060 2013-11-11  Andreas Schwab  <schwab@suse.de>
9061
9062         [BZ #16153]
9063         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9064         terminating NUL in key length.
9065
9066 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9067
9068         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9069         Add artificial ODP entry for vDSO symbol for PPC64.
9070         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9071         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9072
9073 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9074
9075         [BZ #15374]
9076         * nss/getent.c (services_keys): Recognize services starting with digit.
9077
9078 2013-11-06  David S. Miller  <davem@davemloft.net>
9079
9080         [BZ #15985]
9081         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9082         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9083
9084 2013-11-06  Will Newton  <will.newton@linaro.org>
9085
9086         * manual/memory.texi (Malloc Examples): Remove register
9087         keyword from examples.
9088
9089 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
9090
9091         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9092
9093 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
9094
9095         [BZ #6981]
9096         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9097         depending on [__GCC_IEC_559 > 0].
9098         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9099         depending on [__GCC_IEC_559_COMPLEX > 0].
9100
9101 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
9102
9103         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9104         to iso-639.def.
9105
9106 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
9107
9108         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9109
9110 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
9111
9112         [BZ #16112]
9113         * malloc/malloc (malloc_info): Do not handle first bin as
9114         special case.
9115
9116 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
9117
9118         * locale/iso-639.def: Add Central Nahuatl (nhn).
9119
9120 2013-11-01  Bruno Haible  <bruno@clisp.org>
9121
9122         [BZ #7003]
9123         * manual/math.texi (BSD Random): Specify range upper bound as
9124         in POSIX.
9125
9126 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
9127
9128         * locale/iso-639.def: Add Meadow Mari (mhr).
9129
9130 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
9131
9132         [BZ #14752], [BZ #15763]
9133         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9134         Validate name.
9135         * rt/tst_shm.c: Add test for escaping directory.
9136
9137 2013-10-31  Andreas Schwab  <schwab@suse.de>
9138
9139         [BZ #15917]
9140         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9141         followed by 'x' as part of digit sequence.
9142         * stdio-common/tst-sscanf.c (double_tests2): New tests.
9143
9144 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9145
9146         [BZ #16037]
9147         * configure.ac: allow GNU Make 4.0 and greater.
9148         * configure: Regenerated.
9149
9150 2013-10-30  Will Newton  <will.newton@linaro.org>
9151
9152         [BZ #16038]
9153         * malloc/hooks.c (memalign_check): Limit alignment to the
9154         maximum representable power of two.
9155         * malloc/malloc.c (__libc_memalign): Likewise.
9156         * malloc/tst-memalign.c (do_test): Add test for very
9157         large alignment values.
9158         * malloc/tst-posix_memalign.c (do_test): Likewise.
9159
9160 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9161
9162         [BZ #11087]
9163         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9164         (munmap_chunk): Likewise.
9165         (mremap_chunk): Likewise.
9166
9167 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9168
9169         [BZ #15799]
9170         * stdlib/div.c (div): Remove obsolete code.
9171         * stdlib/ldiv.c (ldiv): Likewise.
9172         * stdlib/lldiv.c (lldiv): Likewise.
9173
9174 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9175
9176         [BZ #16071]
9177         * nss/nss_files/files-XXX.c (get_contents_ret): New
9178         enumerator.
9179         (get_contents): New function.
9180         (internal_getent): Use it.  Expand size of LINEBUFLEN.
9181
9182 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
9183
9184         * configure.in: Moved to ...
9185         * configure.ac: ... here. Change reference to configure.in
9186         to configure.ac.
9187         * sysdeps/arm/preconfigure.ac: ... here.
9188         configure.in to configure.ac.
9189         * sysdeps/gnu/configure.in: Moved to ...
9190         * sysdeps/gnu/configure.ac: ... here.
9191         * sysdeps/i386/configure.in: Moved to ...
9192         * sysdeps/i386/configure.ac: ... here.
9193         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9194         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9195         * sysdeps/mach/configure.in: Moved to ...
9196         * sysdeps/mach/configure.ac: ... here.
9197         * sysdeps/mach/hurd/configure.in: Moved to ...
9198         * sysdeps/mach/hurd/configure.ac: ... here.
9199         * sysdeps/powerpc/configure.in: Moved to ...
9200         * sysdeps/powerpc/configure.ac: ... here.
9201         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9202         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9203         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9204         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9205         * sysdeps/s390/s390-32/configure.in: Moved to ...
9206         * sysdeps/s390/s390-32/configure.ac: ... here.
9207         * sysdeps/s390/s390-64/configure.in: Moved to ...
9208         * sysdeps/s390/s390-64/configure.ac: ... here.
9209         * sysdeps/sh/configure.in: Moved to ...
9210         * sysdeps/sh/configure.ac: ... here.
9211         * sysdeps/sparc/configure.in: Moved to ...
9212         * sysdeps/sparc/configure.ac: ... here.
9213         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9214         * sysdeps/unix/sysv/linux/configure.ac: ... here.
9215         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9216         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9217         * sysdeps/x86_64/configure.in: Moved to ...
9218         * sysdeps/x86_64/configure.ac: ... here.
9219         * sysdeps/x86_64/preconfigure.in: Moved to ...
9220         * sysdeps/x86_64/preconfigure.ac: ... here.
9221         * aclocal.m4: Change reference to configure.in to configure.ac.
9222         * config.h.in: Likewise.
9223         * manual/install.texi: Likewise.
9224         * manual/maint.texi: Likewise.
9225         * Makefile: Likewise.
9226         * malloc/Makefile: Likewise.
9227         * nscd/Makefile: Likewise.
9228         * Makeconfig: Change reference to configure.in and
9229         preconfigure.in to configure.ac and preconfigure.ac
9230         respectively.
9231         * INSTALL: Regenerated.
9232         * configure: Likewise.
9233         * sysdeps/gnu/configure: Likewise.
9234         * sysdeps/i386/configure: Likewise.
9235         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9236         * sysdeps/mach/configure: Likewise.
9237         * sysdeps/mach/hurd/configure: Likewise.
9238         * sysdeps/powerpc/configure: Likewise.
9239         * sysdeps/powerpc/powerpc32/configure: Likewise.
9240         * sysdeps/powerpc/powerpc64/configure: Likewise.
9241         * sysdeps/s390/s390-32/configure: Likewise.
9242         * sysdeps/s390/s390-64/configure: Likewise.
9243         * sysdeps/sh/configure: Likewise.
9244         * sysdeps/sparc/configure: Likewise.
9245         * sysdeps/unix/sysv/linux/configure: Likewise.
9246         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9247         * sysdeps/x86_64/configure: Likewise.
9248         * sysdeps/x86_64/preconfigure: Likewise.
9249
9250 2013-10-29  Andreas Schwab  <schwab@suse.de>
9251
9252         * stdio-common/Makefile (tst-swscanf-ENV): Define.
9253
9254 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9255
9256         * benchtests/pow-inputs: Add new inputs.
9257
9258         * benchtests/exp-inputs: Add new inputs.
9259
9260         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9261         conditional check for return value.
9262         (__cos32): Likewise.
9263
9264 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9265
9266         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9267         to provide a boost for large inputs with word alignment.
9268         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9269         implementation based on optimized PPC64 strcpy.
9270         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9271         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9272         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9273         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9274
9275 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9276
9277         [BZ #2801]
9278         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9279
9280 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9281
9282         [BZ #14876]
9283         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9284         * time/tst-strptime.c (day_tests): Add testcase.
9285
9286 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9287
9288         [BZ #14029]
9289         * manual/pattern.texi: Acknowledge that fnmatch can fail.
9290
9291 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
9292
9293         [BZ #16074]
9294         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9295         MAP_FAILED on error.
9296
9297 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9298
9299         [BZ #16072]
9300         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9301         heap for large requests.
9302
9303 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
9304
9305         [BZ #9954]
9306         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9307         result if the result has no associated interface.
9308         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9309         interface for all 127.X.Y.Z addresses.
9310
9311 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
9312
9313         * locale/iso-639.def: Add Ligurian (lij)
9314
9315 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
9316
9317         [BZ #15825]
9318         * sunrpc/rpc_main.c: Document rpcgen -5.
9319
9320 2013-10-19  Michael Stahl  <mstahl@redhat.com>
9321
9322         * elf/rtld.c (do_preload): Print the reason why preloading failed.
9323
9324 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9325
9326         [BZ #10278]
9327         * posix/glob.c: Match only directories when trailing slash is present.
9328         * posix/tst-gnuglob.c (my_opendir): Do not open files.
9329         (main): Add testcase.
9330
9331 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9332
9333         [BZ #15670]
9334         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9335
9336 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
9337
9338         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9339         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9340         AUTH_DES and cindex for FIPS 140-2.
9341         (DES Encryption): Add cindex FIPS 46-3.
9342
9343         * locale/locarchive.h (struct locarhandle): Add fname.
9344         * locale/programs/localedef.c (main): Pass ARGV[remaining]
9345         if an optional argument was specified to --list-archive,
9346         otherwise NULL.
9347         * locale/programs/locarchive.c (show_archive_content): Take new
9348         argument fname and pass it via ah.fname to open_archive.
9349         * locale/programs/localedef.h: Update decl.
9350         (open_archive): If AH->fname is non-null, open that file
9351         rather than the default file name, and don't ignore ENOENT.
9352         (create_archive): Set AH.fname to NULL.
9353         (delete_locales_from_archive): Likewise.
9354         (add_locales_to_archive): Likewise.
9355         * locale/programs/locfile.c (write_all_categories): Likewise.
9356
9357 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
9358             Aldy Hernandez  <aldyh@redhat.com>
9359
9360         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9361         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9362         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9363         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9364         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9365         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9366         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9367         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9368         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9369         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9370         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9371         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9372         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9373         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9374         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9375         Likewise.
9376         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9377         Likewise.
9378         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9379         Likewise.
9380         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9381         Likewise.
9382         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9383         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9384         Likewise.
9385         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9386         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9387         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9388         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9389         Likewise.
9390         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9391         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9392         * sysdeps/powerpc/preconfigure: Likewise.
9393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9394         Likewise.
9395         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9396         Replace contents of file by #include of <fenv_libc.h>.
9397         * sysdeps/powerpc/soft-fp/sfp-machine.h
9398         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9399         and <sys/prctl.h>.
9400         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9401         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9402         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9403         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9404         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9405         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9406         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9407         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9408         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9409         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9413         Allow copysignl PLT reference to be missing.
9414
9415 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
9416             Joseph Myers  <joseph@codesourcery.com
9417
9418         [BZ #15948]
9419         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9420         single character.
9421         (add_to_tablewc): Assert sequence of wide characters is nonempty.
9422
9423 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9424
9425         * elf/tst-tls-dlinfo.c: Don't include tls.h.
9426         * elf/tst-tls1.c: Likewise.
9427         * elf/tst-tls10.h: Likewise.
9428         * elf/tst-tls14.c: Likewise.
9429         * elf/tst-tls2.c: Likewise.
9430         * elf/tst-tls3.c: Likewise.
9431         * elf/tst-tls4.c: Likewise.
9432         * elf/tst-tls5.c: Likewise.
9433         * elf/tst-tls6.c: Likewise.
9434         * elf/tst-tls7.c: Likewise.
9435         * elf/tst-tls8.c: Likewise.
9436         * elf/tst-tls9.c: Likewise.
9437         * elf/tst-tlsmod1.c: Likewise.
9438         * elf/tst-tlsmod13.c: Likewise.
9439         * elf/tst-tlsmod13a.c: Likewise.
9440         * elf/tst-tlsmod14a.c: Likewise.
9441         * elf/tst-tlsmod16a.c: Likewise.
9442         * elf/tst-tlsmod16b.c: Likewise.
9443         * elf/tst-tlsmod2.c: Likewise.
9444         * elf/tst-tlsmod3.c: Likewise.
9445         * elf/tst-tlsmod4.c: Likewise.
9446         * elf/tst-tlsmod5.c: Likewise.
9447         * elf/tst-tlsmod6.c: Likewise.
9448
9449 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
9450
9451         [BZ #12486]
9452         * malloc/malloc.c: remove checks for statistics.
9453
9454 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
9455
9456         [BZ #15277]
9457         * inet/inet_net.c (inet_network): Detect additional invalid strings.
9458         * inet/tst-network.c: Add testcase.
9459
9460 2013-10-17  Andreas Schwab  <schwab@suse.de>
9461
9462         [BZ #15218]
9463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9464         to determine canonical name.
9465
9466 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
9467
9468         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9469         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9470         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9471         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9472         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9473         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9474         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9475         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9476         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9477         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9478         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9479         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9480         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9481         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9482         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9483         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9484         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9485         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9486         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9487         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9488         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9489         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9490         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9491         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9492         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9493         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9494         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9495         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9496         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9497         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9498         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9499         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9500         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9501         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9502         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9503         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9504         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9505         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9506         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9507         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9508         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9509         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9510         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9511         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9512         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9513         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9514         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9515         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9516         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9517         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9518         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9519         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9520         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9521         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9522         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9523         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9524         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9525         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9526
9527 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
9528
9529         [BZ #16041]
9530         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9531         make result into a quiet NaN.
9532
9533 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
9534
9535         * soft-fp/adddf3.c: Fix horizontal whitespace.
9536         * soft-fp/addsf3.c: Likewise.
9537         * soft-fp/addtf3.c: Likewise.
9538         * soft-fp/divdf3.c: Likewise.
9539         * soft-fp/divsf3.c: Likewise.
9540         * soft-fp/divtf3.c: Likewise.
9541         * soft-fp/double.h: Likewise.
9542         * soft-fp/eqdf2.c: Likewise.
9543         * soft-fp/eqsf2.c: Likewise.
9544         * soft-fp/eqtf2.c: Likewise.
9545         * soft-fp/extenddftf2.c: Likewise.
9546         * soft-fp/extended.h: Likewise.
9547         * soft-fp/extendsfdf2.c: Likewise.
9548         * soft-fp/extendsftf2.c: Likewise.
9549         * soft-fp/extendxftf2.c: Likewise.
9550         * soft-fp/fixdfdi.c: Likewise.
9551         * soft-fp/fixdfsi.c: Likewise.
9552         * soft-fp/fixdfti.c: Likewise.
9553         * soft-fp/fixsfdi.c: Likewise.
9554         * soft-fp/fixsfsi.c: Likewise.
9555         * soft-fp/fixsfti.c: Likewise.
9556         * soft-fp/fixtfdi.c: Likewise.
9557         * soft-fp/fixtfsi.c: Likewise.
9558         * soft-fp/fixtfti.c: Likewise.
9559         * soft-fp/fixunsdfdi.c: Likewise.
9560         * soft-fp/fixunsdfsi.c: Likewise.
9561         * soft-fp/fixunsdfti.c: Likewise.
9562         * soft-fp/fixunssfdi.c: Likewise.
9563         * soft-fp/fixunssfsi.c: Likewise.
9564         * soft-fp/fixunssfti.c: Likewise.
9565         * soft-fp/fixunstfdi.c: Likewise.
9566         * soft-fp/fixunstfsi.c: Likewise.
9567         * soft-fp/fixunstfti.c: Likewise.
9568         * soft-fp/floatdidf.c: Likewise.
9569         * soft-fp/floatdisf.c: Likewise.
9570         * soft-fp/floatditf.c: Likewise.
9571         * soft-fp/floatsidf.c: Likewise.
9572         * soft-fp/floatsisf.c: Likewise.
9573         * soft-fp/floatsitf.c: Likewise.
9574         * soft-fp/floattidf.c: Likewise.
9575         * soft-fp/floattisf.c: Likewise.
9576         * soft-fp/floattitf.c: Likewise.
9577         * soft-fp/floatundidf.c: Likewise.
9578         * soft-fp/floatundisf.c: Likewise.
9579         * soft-fp/floatunditf.c: Likewise.
9580         * soft-fp/floatunsidf.c: Likewise.
9581         * soft-fp/floatunsisf.c: Likewise.
9582         * soft-fp/floatunsitf.c: Likewise.
9583         * soft-fp/floatuntidf.c: Likewise.
9584         * soft-fp/floatuntisf.c: Likewise.
9585         * soft-fp/floatuntitf.c: Likewise.
9586         * soft-fp/fmadf4.c: Likewise.
9587         * soft-fp/fmasf4.c: Likewise.
9588         * soft-fp/fmatf4.c: Likewise.
9589         * soft-fp/gedf2.c: Likewise.
9590         * soft-fp/gesf2.c: Likewise.
9591         * soft-fp/getf2.c: Likewise.
9592         * soft-fp/ledf2.c: Likewise.
9593         * soft-fp/lesf2.c: Likewise.
9594         * soft-fp/letf2.c: Likewise.
9595         * soft-fp/muldf3.c: Likewise.
9596         * soft-fp/mulsf3.c: Likewise.
9597         * soft-fp/multf3.c: Likewise.
9598         * soft-fp/negdf2.c: Likewise.
9599         * soft-fp/negsf2.c: Likewise.
9600         * soft-fp/negtf2.c: Likewise.
9601         * soft-fp/op-1.h: Likewise.
9602         * soft-fp/op-2.h: Likewise.
9603         * soft-fp/op-4.h: Likewise.
9604         * soft-fp/op-8.h: Likewise.
9605         * soft-fp/op-common.h: Likewise.
9606         * soft-fp/quad.h: Likewise.
9607         * soft-fp/single.h: Likewise.
9608         * soft-fp/soft-fp.h: Likewise.
9609         * soft-fp/sqrtdf2.c: Likewise.
9610         * soft-fp/sqrtsf2.c: Likewise.
9611         * soft-fp/sqrttf2.c: Likewise.
9612         * soft-fp/subdf3.c: Likewise.
9613         * soft-fp/subsf3.c: Likewise.
9614         * soft-fp/subtf3.c: Likewise.
9615         * soft-fp/truncdfsf2.c: Likewise.
9616         * soft-fp/trunctfdf2.c: Likewise.
9617         * soft-fp/trunctfsf2.c: Likewise.
9618         * soft-fp/trunctfxf2.c: Likewise.
9619         * soft-fp/unorddf2.c: Likewise.
9620         * soft-fp/unordsf2.c: Likewise.
9621         * soft-fp/unordtf2.c: Likewise.
9622
9623 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
9624
9625         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9626         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9627
9628 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
9629
9630         * elf/dl-libc.c: Clear initfini list after freeing.
9631
9632 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
9633
9634         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9635         * soft-fp/addsf3.c: Likewise.
9636         * soft-fp/addtf3.c: Likewise.
9637         * soft-fp/divdf3.c: Likewise.
9638         * soft-fp/divsf3.c: Likewise.
9639         * soft-fp/divtf3.c: Likewise.
9640         * soft-fp/double.h: Likewise.
9641         * soft-fp/eqdf2.c: Likewise.
9642         * soft-fp/eqsf2.c: Likewise.
9643         * soft-fp/eqtf2.c: Likewise.
9644         * soft-fp/extenddftf2.c: Likewise.
9645         * soft-fp/extended.h: Likewise.
9646         * soft-fp/extendsfdf2.c: Likewise.
9647         * soft-fp/extendsftf2.c: Likewise.
9648         * soft-fp/extendxftf2.c: Likewise.
9649         * soft-fp/fixdfdi.c: Likewise.
9650         * soft-fp/fixdfsi.c: Likewise.
9651         * soft-fp/fixdfti.c: Likewise.
9652         * soft-fp/fixsfdi.c: Likewise.
9653         * soft-fp/fixsfsi.c: Likewise.
9654         * soft-fp/fixsfti.c: Likewise.
9655         * soft-fp/fixtfdi.c: Likewise.
9656         * soft-fp/fixtfsi.c: Likewise.
9657         * soft-fp/fixtfti.c: Likewise.
9658         * soft-fp/fixunsdfdi.c: Likewise.
9659         * soft-fp/fixunsdfsi.c: Likewise.
9660         * soft-fp/fixunsdfti.c: Likewise.
9661         * soft-fp/fixunssfdi.c: Likewise.
9662         * soft-fp/fixunssfsi.c: Likewise.
9663         * soft-fp/fixunssfti.c: Likewise.
9664         * soft-fp/fixunstfdi.c: Likewise.
9665         * soft-fp/fixunstfsi.c: Likewise.
9666         * soft-fp/fixunstfti.c: Likewise.
9667         * soft-fp/floatdidf.c: Likewise.
9668         * soft-fp/floatdisf.c: Likewise.
9669         * soft-fp/floatditf.c: Likewise.
9670         * soft-fp/floatsidf.c: Likewise.
9671         * soft-fp/floatsisf.c: Likewise.
9672         * soft-fp/floatsitf.c: Likewise.
9673         * soft-fp/floattidf.c: Likewise.
9674         * soft-fp/floattisf.c: Likewise.
9675         * soft-fp/floattitf.c: Likewise.
9676         * soft-fp/floatundidf.c: Likewise.
9677         * soft-fp/floatundisf.c: Likewise.
9678         * soft-fp/floatunsidf.c: Likewise.
9679         * soft-fp/floatunsisf.c: Likewise.
9680         * soft-fp/floatuntidf.c: Likewise.
9681         * soft-fp/floatuntisf.c: Likewise.
9682         * soft-fp/floatuntitf.c: Likewise.
9683         * soft-fp/fmadf4.c: Likewise.
9684         * soft-fp/fmasf4.c: Likewise.
9685         * soft-fp/fmatf4.c: Likewise.
9686         * soft-fp/gedf2.c: Likewise.
9687         * soft-fp/gesf2.c: Likewise.
9688         * soft-fp/getf2.c: Likewise.
9689         * soft-fp/ledf2.c: Likewise.
9690         * soft-fp/lesf2.c: Likewise.
9691         * soft-fp/letf2.c: Likewise.
9692         * soft-fp/muldf3.c: Likewise.
9693         * soft-fp/mulsf3.c: Likewise.
9694         * soft-fp/multf3.c: Likewise.
9695         * soft-fp/negdf2.c: Likewise.
9696         * soft-fp/negsf2.c: Likewise.
9697         * soft-fp/negtf2.c: Likewise.
9698         * soft-fp/op-1.h: Likewise.
9699         * soft-fp/op-2.h: Likewise.
9700         * soft-fp/op-4.h: Likewise.
9701         * soft-fp/op-8.h: Likewise.
9702         * soft-fp/op-common.h: Likewise.
9703         * soft-fp/quad.h: Likewise.
9704         * soft-fp/single.h: Likewise.
9705         * soft-fp/soft-fp.h: Likewise.
9706         * soft-fp/sqrtdf2.c: Likewise.
9707         * soft-fp/sqrtsf2.c: Likewise.
9708         * soft-fp/sqrttf2.c: Likewise.
9709         * soft-fp/subdf3.c: Likewise.
9710         * soft-fp/subsf3.c: Likewise.
9711         * soft-fp/subtf3.c: Likewise.
9712         * soft-fp/truncdfsf2.c: Likewise.
9713         * soft-fp/trunctfdf2.c: Likewise.
9714         * soft-fp/trunctfsf2.c: Likewise.
9715         * soft-fp/trunctfxf2.c: Likewise.
9716         * soft-fp/unorddf2.c: Likewise.
9717         * soft-fp/unordsf2.c: Likewise.
9718         * soft-fp/unordtf2.c: Likewise.
9719
9720 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
9721
9722         [BZ #15672]
9723         * misc/error.c (error_tail): Fix possible buffer overflow.
9724
9725 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
9726
9727         [BZ #13028]
9728         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9729         address.
9730
9731 2013-10-14  P. J. McDermott  <pj@pehjota.net>
9732
9733         [BZ #832]
9734         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
9735         testing pipefail option.
9736
9737 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9738
9739         * soft-fp/double.h: Indent preprocessor directives inside #if.
9740         * soft-fp/extended.h: Likewise.
9741         * soft-fp/op-2.h: Likewise.
9742         * soft-fp/op-4.h: Likewise.
9743         * soft-fp/op-common.h: Likewise.
9744         * soft-fp/quad.h: Likewise.
9745         * soft-fp/single.h: Likewise.
9746         * soft-fp/soft-fp.h: Likewise.
9747
9748 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
9749
9750         * iconv/iconv_prog.c: Fix typos.
9751         * stdio-common/psiginfo-data.h: Likewise.
9752
9753 2013-10-12   Reuben Thomas <rrt@sc3d.org>
9754
9755         [BZ #15764]
9756         * locale/setlocale.c: Fix typo.
9757
9758 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9759
9760         [BZ #16036]
9761         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9762         signaling NaN arguments.
9763         * soft-fp/unordsf2.c (__unordsf2): Likewise.
9764         * soft-fp/unordtf2.c (__unordtf2): Likewise.
9765
9766         [BZ #14910]
9767         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9768         unordered operands.
9769         * soft-fp/gesf2.c (__gesf2): Likewise.
9770         * soft-fp/getf2.c (__getf2): Likewise.
9771         * soft-fp/ledf2.c (__ledf2): Likewise.
9772         * soft-fp/lesf2.c (__lesf2): Likewise.
9773         * soft-fp/letf2.c (__letf2): Likewise.
9774
9775         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9776         * soft-fp/eqsf2.c (__eqsf2): Likewise.
9777         * soft-fp/eqtf2.c (__eqtf2): Likewise.
9778         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9779         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9780         * soft-fp/fixdfti.c (__fixdfti): Likewise.
9781         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9782         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9783         * soft-fp/fixsfti.c (__fixsfti): Likewise.
9784         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9785         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9786         * soft-fp/fixtfti.c (__fixtfti): Likewise.
9787         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9788         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9789         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9790         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9791         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9792         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9793         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9794         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9795         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9796         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9797         * soft-fp/floatdisf.c (__floatdisf): Likewise.
9798         * soft-fp/floatsisf.c (__floatsisf): Likewise.
9799         * soft-fp/floattidf.c (__floattidf): Likewise.
9800         * soft-fp/floattisf.c (__floattisf): Likewise.
9801         * soft-fp/floattitf.c (__floattitf): Likewise.
9802         * soft-fp/floatundidf.c (__floatundidf): Likewise.
9803         * soft-fp/floatundisf.c (__floatundisf): Likewise.
9804         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9805         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9806         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9807         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9808         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9809         * soft-fp/gesf2.c (__gesf2): Likewise.
9810         * soft-fp/getf2.c (__getf2): Likewise.
9811         * soft-fp/ledf2.c (__ledf2): Likewise.
9812         * soft-fp/lesf2.c (__lesf2): Likewise.
9813         * soft-fp/letf2.c (__letf2): Likewise.
9814
9815         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9816         Undefine and redefine.
9817         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9818         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9819         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9820         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9821         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9822         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9823         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9824         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9825         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9826         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9827         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9828         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9829         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9830         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9831         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9832
9833         [BZ #16032]
9834         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9835         without decrementing exponent if mantissa >= that for the
9836         denominator, not >.
9837         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9838         denominator, not >.  Decrement exponent in < case instead of
9839         incrementing in >= case.
9840         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9841         without decrementing exponent if mantissa >= that for the
9842         denominator, not >.
9843
9844         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9845         computing saturated result for unsigned overflow.
9846
9847 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9848             Jeff Law  <law@redhat.com>
9849
9850         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9851         (atan2Mp): Add systemtap probe marker.
9852         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9853         (__ieee754_log): Add systemtap probe marker.
9854         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9855         (atanMp): Add systemtap probe marker.
9856         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9857         (tanMp): Add systemtap probe marker.
9858         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9859         (__slowexp): Add systemtap probe marker.
9860         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9861         (__slowpow): Add systemtap probe marker.
9862         * manual/probes.texi: Document probes.
9863
9864 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
9865
9866         [BZ #15362]
9867         * libio/fileops.c (_IO_new_file_write): Return count of bytes
9868         written.
9869         (_IO_new_file_xsputn): Don't return EOF if nothing has been
9870         written.
9871         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9872         written to buffer but not flushed.
9873         * libio/iofwrite_u.c:  Likewise.
9874         * libio/iopadn.c:  Return bytes returned even if EOF was
9875         encountered.
9876         * libio/iowpadn.c:  Likewise.
9877         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9878         if _IO_padn does not write the whole buffer.
9879         [!COMPILE_WPRINTF] (PAD): Likewise.
9880
9881 2013-10-10  David S. Miller  <davem@davemloft.net>
9882
9883         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9884         directory block.
9885
9886 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9887
9888         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
9889         instead of FSF address.
9890         * soft-fp/fixdfti.c: Likewise.
9891         * soft-fp/fixsfti.c: Likewise.
9892         * soft-fp/fixtfti.c: Likewise.
9893         * soft-fp/fixunsdfti.c: Likewise.
9894         * soft-fp/fixunssfti.c: Likewise.
9895         * soft-fp/fixunstfti.c: Likewise.
9896         * soft-fp/floattidf.c: Likewise.
9897         * soft-fp/floattisf.c: Likewise.
9898         * soft-fp/floattitf.c: Likewise.
9899         * soft-fp/floatuntidf.c: Likewise.
9900         * soft-fp/floatuntisf.c: Likewise.
9901         * soft-fp/floatuntitf.c: Likewise.
9902         * soft-fp/trunctfxf2.c: Likewise.
9903
9904         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
9905         * soft-fp/fixdfti.c: Likewise.
9906         * soft-fp/fixsfti.c: Likewise.
9907         * soft-fp/fixtfti.c: Likewise.
9908         * soft-fp/fixunsdfti.c: Likewise.
9909         * soft-fp/fixunssfti.c: Likewise.
9910         * soft-fp/fixunstfti.c: Likewise.
9911         * soft-fp/floattidf.c: Likewise.
9912         * soft-fp/floattisf.c: Likewise.
9913         * soft-fp/floattitf.c: Likewise.
9914         * soft-fp/floatuntidf.c: Likewise.
9915         * soft-fp/floatuntisf.c: Likewise.
9916         * soft-fp/floatuntitf.c: Likewise.
9917         * soft-fp/trunctfxf2.c: Likewise.
9918
9919 2013-10-10  David S. Miller  <davem@davemloft.net>
9920
9921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9922
9923 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
9924
9925         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9926         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9927         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9928         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9929         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9930         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9931         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9932
9933         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9934         for NaNs before doing comparisons on argument.
9935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9936         Likewise.
9937
9938 2013-10-10  Will Newton  <will.newton@linaro.org>
9939
9940         * malloc/hooks.c (memalign_check): Ensure the value of bytes
9941         passed to _int_memalign does not overflow.
9942
9943 2013-10-10  Torvald Riegel  <triegel@redhat.com>
9944
9945         * scripts/bench.pl: Add include-sources directive.
9946         * benchtests/README: Update documentation.
9947
9948 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9949
9950         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9951         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9952         instead of FP_INIT_ROUNDMODE.
9953         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9954         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9955
9956         [BZ #16034]
9957         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
9958         copy class of input value.
9959         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
9960         not handle exceptions.
9961         * soft-fp/negsf2.c (__negsf2): Likewise.
9962         * soft-fp/negtf2.c (__negtf2): Likewise.
9963         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9964
9965 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
9966
9967         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9968         semicolon.  From Linux kernel.
9969
9970 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
9971
9972         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9973
9974 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
9975
9976         [BZ #156]
9977         * manual/socket.texi: Added statement about buffer
9978         for gethostbyname2_r.
9979
9980 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
9981
9982         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9983         Use .p2align directive instead, throughout.
9984         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9985         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9986         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9987         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9988         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9989         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9990         * sysdeps/x86_64/strchr.S: Likewise.
9991         * sysdeps/x86_64/strrchr.S: Likewise.
9992
9993 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9994
9995         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9996
9997         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9998
9999         * sysdeps/generic/math_private.h (__mpsin1): Remove
10000         declaration.
10001         (__mpcos1): Likewise.
10002         (__mpsin): New argument __range_reduce.
10003         (__mpcos): Likewise.
10004         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10005         (slow): Use __mpsin and __mpcos.
10006         (slow1): Likewise.
10007         (slow2): Likewise.
10008         (sloww): Likewise.
10009         (sloww1): Likewise.
10010         (sloww2): Likewise.
10011         (bsloww): Likewise.
10012         (bsloww1): Likewise.
10013         (bsloww2): Likewise.
10014         (cslow2): Likewise.
10015         (csloww): Likewise.
10016         (csloww1): Likewise.
10017         (csloww2): Likewise.
10018         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10019         range_reduce.  Merge in __mpsin1.
10020         (__mpcos): Likewise.
10021         (__mpsin1): Remove.
10022         (__mpcos1): Likewise.
10023
10024 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
10025
10026         * locale/loadlocale.c (_nl_intern_locale_data): Use
10027         LOCFILE_ALIGNED_P.
10028         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10029         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10030         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10031         obstack data is appropriately aligned.
10032         (obstack_int32_grow_fast): Likewise.
10033         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10034         * locale/programs/locfile.c (add_locale_uint32): Likewise.
10035         (add_locale_uint32_array): Likewise.
10036
10037 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10038
10039         * benchtests/Makefile: Remove ARGLIST and RET variables.
10040         ($(objpfx)bench-%.c): Pass only function name to the script.
10041         * benchtests/README: Update documentation.
10042         * benchtests/acos-inputs: Add new directives.
10043         * benchtests/acosh-inputs: Likewise.
10044         * benchtests/asin-inputs: Likewise.
10045         * benchtests/asinh-inputs: Likewise.
10046         * benchtests/atan-inputs: Likewise.
10047         * benchtests/atanh-inputs: Likewise.
10048         * benchtests/cos-inputs: Likewise.
10049         * benchtests/cosh-inputs: Likewise.
10050         * benchtests/exp-inputs: Likewise.
10051         * benchtests/log-inputs: Likewise.
10052         * benchtests/pow-inputs: Likewise.
10053         * benchtests/rint-inputs: Likewise.
10054         * benchtests/sin-inputs: Likewise.
10055         * benchtests/sinh-inputs: Likewise.
10056         * benchtests/tan-inputs: Likewise.
10057         * benchtests/tanh-inputs: Likewise.
10058         * scripts/bench.pl: Add support for new directives.
10059
10060 2013-10-07  Alan Modra  <amodra@gmail.com>
10061
10062         * README: Fix careless merge.
10063
10064 2013-10-05  Alan Modra  <amodra@gmail.com>
10065
10066         * NEWS: Mention powerpc64le support and bugs fixed.
10067         * README: Both big-endian and little-endian powerpc64 supported.
10068
10069 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10070
10071         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10072         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10073         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10074         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10075
10076 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
10077
10078         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10079         match prototype.
10080
10081 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
10082
10083         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10084         Move -mhard-float appending from
10085         ports/sysdeps/powerpc/powerpc32/Makefile.
10086         [$(with-fp) = yes] (ASFLAGS): Likewise.
10087         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10088         * sysdeps/powerpc/nofpu: Move directory from
10089         ports/sysdeps/powerpc/nofpu.
10090         * sysdeps/powerpc/soft-fp: Move directory from
10091         ports/sysdeps/powerpc/soft-fp.
10092         * sysdeps/powerpc/powerpc32/405: Move directory from
10093         ports/sysdeps/powerpc/powerpc32/405.
10094         * sysdeps/powerpc/powerpc32/440: Move directory from
10095         ports/sysdeps/powerpc/powerpc32/440.
10096         * sysdeps/powerpc/powerpc32/464: Move directory from
10097         ports/sysdeps/powerpc/powerpc32/464.
10098         * sysdeps/powerpc/powerpc32/476: Move directory from
10099         ports/sysdeps/powerpc/powerpc32/476.
10100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10101         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10103         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10105         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10107         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10109         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10110         * README: Update for powerpc-*-linux-gnu software floating point
10111         support in libc.
10112
10113         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10114         case to powerpc/powerpc32*.
10115         * sysdeps/unix/sysv/linux/configure: Regenerated.
10116
10117         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10118         (_FPU_MASK_OM): Define as 0x04.
10119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10121         0x00c10080.
10122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10123         0x0000003c.
10124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10125
10126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10127         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10128         getcontext_e500.
10129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10130         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10131         setcontext_e500.
10132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10133         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10134         and setcontext_e500.
10135
10136 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
10137
10138         * locale/iso-3166.def: Update iso-1366.def and related occurrences
10139
10140 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10141
10142         * manual/threads.texi (Default Thread Attributes): Fix typo.
10143
10144 2013-10-04  Will Newton  <will.newton@linaro.org>
10145
10146         * malloc/Makefile: Add tst-memalign.
10147         * malloc/tst-memalign.c: New file.
10148
10149         * malloc/tst-posix_memalign.c: Add comments.
10150         (do_test): Add comments and call free on all potentially
10151         allocated pointers. Add space after cast.
10152
10153         * malloc/tst-pvalloc.c: Add comments.
10154         (do_test): Add comments and call free on all potentially
10155         allocated pointers. Remove duplicate check for NULL pointer.
10156         Add space after cast.
10157
10158         * malloc/tst-valloc.c: Add comments.
10159         (do_test): Add comments and call free on all potentially
10160         allocated pointers. Remove duplicate check for NULL pointer.
10161         Add space after cast.
10162
10163 2013-10-04  Alan Modra  <amodra@gmail.com>
10164
10165         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10166         Use stdint types in rather than __attribute__((mode())).
10167         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10168
10169 2013-10-04  Alan Modra  <amodra@gmail.com>
10170
10171         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10172         Correct handling of unaligned relocs for little-endian.
10173         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10174
10175 2013-10-04  Alan Modra  <amodra@gmail.com>
10176
10177         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10178         * configure: Regenerate.
10179         * nptl/shlib-versions: Powerpc*le starts at 2.18.
10180         * shlib-versions: Likewise.
10181
10182 2013-10-04  Alan Modra  <amodra@gmail.com>
10183
10184         * string/tester.c (test_memrchr): Increment reported test cycle.
10185
10186 2013-10-04  Alan Modra  <amodra@gmail.com>
10187
10188         * string/test-memcpy.c (do_one_test): When reporting errors, print
10189         string address and don't overrun end of string.
10190
10191 2013-10-04  Alan Modra  <amodra@gmail.com>
10192
10193         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10194         insrdi.  Make better use of reg selection to speed exit slightly.
10195         Schedule entry path a little better.  Remove useless "are we done"
10196         checks on entry to main loop.  Handle wrapping around zero address.
10197         Correct main loop count.  Handle single left-over word from main
10198         loop inline rather than by using loop_small.  Remove extra word
10199         case in loop_small caused by wrong loop count.  Add little-endian
10200         support.
10201         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10202         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
10203         cache hint.
10204         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10205         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10206         support.  Avoid rlwimi.
10207         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10208
10209 2013-10-04  Alan Modra  <amodra@gmail.com>
10210
10211         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10212         insrdi.  Formatting.
10213         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10214         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10215         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10216         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10217         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10218         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10219
10220 2013-10-04  Alan Modra  <amodra@gmail.com>
10221
10222         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10223         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10224         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10225         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10226         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10227         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10228         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10229         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10230         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
10231         use of regs.  Use power7 mtocrf.  Tidy function tails.
10232
10233 2013-10-04  Alan Modra  <amodra@gmail.com>
10234
10235         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10236         Formatting.  Consistently use rXXX register defines or rN defines.
10237         Use early exit labels that avoid restoring unused non-volatile regs.
10238         Make cr field use more consistent with rWORDn compares.  Rename
10239         regs used as shift registers for unaligned loop, using rN defines
10240         for short lifetime/multiple use regs.
10241         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10242         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
10243         addi 1,1,64 to pop stack frame.  Simplify return value code.
10244         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10245
10246 2013-10-04  Alan Modra  <amodra@gmail.com>
10247
10248         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10249         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
10250         rather than rlwimi.
10251         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10252         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10253         little-endian support.  Correct typos.
10254         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
10255         rather than rlwimi.
10256         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
10257         in loop and entry code to keep "and." results.
10258         (strchr): Add little-endian support.  Comment.  Move cntlzd
10259         earlier in tail.
10260         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10261
10262 2013-10-04  Alan Modra  <amodra@gmail.com>
10263
10264         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10265         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10266         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10267         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10268
10269 2013-10-04  Alan Modra  <amodra@gmail.com>
10270
10271         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10272         (rTMP): Define as r11.
10273         (strcmp): Add little-endian support.  Optimise tail.
10274         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10275         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10276         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10277         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10278         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10279         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10280         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10281
10282 2013-10-04  Alan Modra  <amodra@gmail.com>
10283
10284         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10285         little-endian support.  Remove unnecessary "are we done" tests.
10286         Handle "s" wrapping around zero and extremely large "size".
10287         Correct main loop count.  Handle single left-over word from main
10288         loop inline rather than by using small_loop.  Correct comments.
10289         Delete "zero" tail, use "end_max" instead.
10290         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10291
10292 2013-10-04  Alan Modra  <amodra@gmail.com>
10293
10294         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10295         support.  Don't branch over align.
10296         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10297         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10298         support.  Rearrange tmp reg use to suit.  Comment.
10299         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10300
10301 2013-10-04  Alan Modra  <amodra@gmail.com>
10302
10303         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10304
10305 2013-10-04  Alan Modra  <amodra@gmail.com>
10306
10307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10308         conditional form of branch and link when obtaining pc.
10309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10310
10311 2013-10-04  Alan Modra  <amodra@gmail.com>
10312
10313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10314         HIWORD/LOWORD.
10315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10317
10318 2013-10-04  Alan Modra  <amodra@gmail.com>
10319
10320         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10321         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10322         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10323         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10324         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10325         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10326         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10327         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10328         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10329         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10330
10331 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10332             Alistair Popple <alistair@ozlabs.au.ibm.com>
10333             Alan Modra <amodra@gmail.com>
10334
10335         [BZ #15723]
10336         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10337         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10338         _dl_hwcap access for little-endian.
10339         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
10340         destroy vmx regs when saving unaligned.
10341         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10342         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
10343         destroy vmx regs when saving unaligned.
10344
10345 2013-10-04  Alan Modra  <amodra@gmail.com>
10346
10347         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10348         Don't use a union to pack hi/low value.
10349
10350 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10351
10352         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10353         for little-endian.
10354         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10355         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10356         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10357         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10358         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10359
10360 2013-10-04  Alan Modra  <amodra@gmail.com>
10361
10362         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10363         constants to usual value for .cst8 section, and remove redundant
10364         high address load.
10365         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10366         constant for 0x1p52.  Load little-endian words of double from
10367         correct stack offsets.
10368
10369 2013-10-04  Alan Modra  <amodra@gmail.com>
10370
10371         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10372         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10373         words of double from correct stack offsets.
10374         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10375         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10376         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10377         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10378         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10379         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10380         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10381         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10382         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10383         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10384         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10385         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10386         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10387         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10388         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10389         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10390         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10391
10392 2013-10-04  Alan Modra  <amodra@gmail.com>
10393
10394         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10395         64-bit int/double union.
10396         (_FPU_SETCW): Likewise.
10397         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10398         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10399
10400 2013-10-04  Alan Modra  <amodra@gmail.com>
10401
10402         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10403         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10404
10405 2013-10-04  Alan Modra  <amodra@gmail.com>
10406
10407         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10408         use vector int constants.
10409         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10410
10411 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10412
10413         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10414         array with long long.
10415         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10416         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10417         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10418         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10419         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10420         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10421         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10422         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10423         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10424         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10425         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10426         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10427         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10428
10429 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10430
10431         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10432         (__signbit): Likewise.  Correct for little-endian.
10433         (__signbitl): Call __signbit.
10434         (lrint): Correct for little-endian.
10435         (lrintf): Call lrint.
10436
10437 2013-10-04  Alan Modra  <amodra@gmail.com>
10438
10439         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10440         union 32-bit int array member with 64-bit int array.
10441         (t515, tm256): Double rather than long double.
10442         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10443
10444 2013-10-04  Alan Modra  <amodra@gmail.com>
10445
10446         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10447         Delete.
10448         (IEEE854_LONG_DOUBLE_BIAS): Delete.
10449         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10450         version of math_ldbl.h.
10451
10452 2013-10-04  Alan Modra  <amodra@gmail.com>
10453
10454         [BZ #15734], [BZ #15735]
10455         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10456         all uses of ieee875 long double macros and unions.  Simplify test
10457         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
10458         ldbl_extract_mantissa value for ix,iy exponents.  Properly
10459         normalize after ldbl_extract_mantissa, and don't add hidden bit
10460         already handled.  Don't treat low word of ieee854 mantissa like
10461         low word of IBM long double and mask off bit when testing for
10462         zero.
10463         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10464         all uses of ieee875 long double macros and unions.  Simplify tests
10465         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
10466         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
10467         two1022, instead use their values.  Recognise that tests for large
10468         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
10469         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10470         Rewrite all uses of ieee875 long double macros and unions.  Simplify
10471         test for 0.0L and nan.  Correct negation.
10472         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10473         ieee875 long double macros and unions.  Correct output for large
10474         magnitude x.  Correct absolute value calculation.
10475         (__erfcl): Likewise.
10476         * math/libm-test.inc: Add tests for errors discovered in IBM long
10477         double versions of fmodl, remainderl, erfl and erfcl.
10478
10479 2013-10-04  Alan Modra  <amodra@gmail.com>
10480
10481         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10482         all uses of ieee854 long double macros and unions.  Simplify tests
10483         for long doubles that are fully specified by the high double.
10484         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10485         Likewise.
10486         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10487         Remove dead code too.
10488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10489         (__ieee754_ynl): Likewise.
10490         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10491         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10492         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10493         Remove dead code too.
10494         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10495         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10496         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10497         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10498         Simplify.
10499         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10500         Simplify.
10501         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10502         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10503         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10504         Comment on variable precision.
10505         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10506         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10507         Likewise.
10508         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10509         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10510         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10511         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10512         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10513
10514 2013-10-04  Alan Modra  <amodra@gmail.com>
10515
10516         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10517         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10518         all uses of ieee854 long double macros and unions.
10519         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10520         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10521         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10522         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10523         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10524         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10525         Likewise.
10526         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10527         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10528         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10529         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10530         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10531         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10532         Simplify sign and nan test too.
10533         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10534         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10535         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10536         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10537         Likewise.
10538         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10539         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10540         Likewise.
10541         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10542         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10543         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10544         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10545         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10546         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10547
10548 2013-10-04  Alan Modra  <amodra@gmail.com>
10549
10550         * stdio-common/printf_size.c (__printf_size): Don't use
10551         union ieee854_long_double in fpnum union.
10552         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
10553         signbit macro to retrieve sign from long double.
10554         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10555         retrieve sign from long double.
10556         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10557         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10558         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10559         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10560         * math/test-misc.c (main): Don't use union ieee854_long_double.
10561
10562 2013-10-04  Alan Modra  <amodra@gmail.com>
10563
10564         [BZ #15680]
10565         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10566         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10567         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10568         calculation.  Remove unnecessary test for denormal exponent.
10569         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10570         Correct handling of denormals.  Avoid undefined shift behaviour.
10571         Correct normalisation of low mantissa when low double is denormal.
10572         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10573         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
10574         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10575         Correct normalisation of low mantissa.  Test for overflow of high
10576         mantissa and normalise.
10577         (ldbl_nearbyint): Use more readable constant for two52.
10578         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10579         (__mpn_construct_long_double): Fix test for overflow of high
10580         mantissa and correct normalisation.  Avoid undefined shift.
10581
10582 2013-10-04  Alan Modra  <amodra@gmail.com>
10583
10584         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10585         (union ibm_extended_long_double): Define as an array of ieee754_double.
10586         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10587         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10588         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10589         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10590         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10591         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10592         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10593         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10594         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10595         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10596         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10597
10598 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
10599
10600         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10601         page size instead of calling getpagesize.
10602
10603         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10604         (LOCFILE_ALIGN_MASK): Likewise.
10605         (LOCFILE_ALIGN_UP): Likewise.
10606         (LOCFILE_ALIGNED_P): Likewise.
10607         * locale/programs/ld-collate.c (collate_output): Use the new
10608         macros instead of __alignof__ (int32_t).
10609         * locale/weight.h (findidx): Likewise.
10610
10611 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
10612
10613         [BZ #431]
10614         * manual/string.texi: Fix strncat and wcsncat.
10615
10616 2013-10-03  Brooks Moses  <bmoses@google.com>
10617
10618         [BZ #15915]
10619         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10620         * Makerules: ...here, and adjust associated comments.
10621
10622 2013-10-02  Will Newton  <will.newton@linaro.org>
10623
10624         * malloc/Makefile: Add tst-pvalloc.
10625         * malloc/tst-pvalloc.c: New file.
10626
10627 2013-10-02  Will Newton  <will.newton@linaro.org>
10628
10629         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10630         improve test coverage.
10631
10632 2013-10-02  Will Newton  <will.newton@linaro.org>
10633
10634         * malloc/Makefile: Add tst-posix_memalign.
10635         * malloc/tst-posix_memalign.c: New file.
10636
10637 2013-10-01  Eric Blake  <eblake@redhat.com>
10638
10639         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10640         Use __THROWNL rather than __THROW on static functions.
10641
10642 2013-09-30  Petr Machata  <pmachata@redhat.com>
10643
10644         * elf/elf.h (R_AARCH64_ABS16): New macro.
10645         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10646         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10647         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10648         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10649         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10650         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10651         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10652         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10653         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10654         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10655         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10656         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10657         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10658         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10659         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10660         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10661         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10662         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10663         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10664         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10665         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10666         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10667         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10668         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10669         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10670         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10671         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10672         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10673         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10674         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10675         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10676         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10677         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10678         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10679         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10680         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10681         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10682         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10683         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10684         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10685         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10686         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10687         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10688         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10689         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10690         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10691         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10692         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10693         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10694         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10695         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10696         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10697         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10698         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10699         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10700         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10701         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10702         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10703         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10704         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10705         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10706         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10707         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10708         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10709         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10710         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10711         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10712         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10713         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10714         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10715         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10716         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10717         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10718         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10719         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10720         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10721         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10722         (R_AARCH64_TLSDESC_LDR): Likewise.
10723         (R_AARCH64_TLSDESC_ADD): Likewise.
10724         (R_AARCH64_TLSDESC_CALL): Likewise.
10725
10726 2013-09-30  Andreas Schwab  <schwab@suse.de>
10727
10728         [BZ #15048]
10729         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10730         the nss database lookup.
10731         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10733
10734 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
10735
10736         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10737
10738 2013-09-28  P. J. McDermott  <pj@pehjota.net>
10739
10740         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10741         ${Bash-specific parameter/pattern/string} parameter expansion.
10742         * sysdeps/unix/make-syscalls.sh: Likewise.
10743
10744 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10745
10746         * sysdeps/sh/stackguard-macros.h: New file.
10747
10748 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
10749
10750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10751         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10752         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10753         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10754         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10755         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10756
10757 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10758
10759         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10760         Fix thread ID register.
10761
10762 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
10763
10764         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10765         [POSIX || UNIX98]: Require rather than permitting all symbols from
10766         <time.h>.
10767         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10768         element of struct sched_param.
10769         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10770         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10771         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10772         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10773         constant.
10774
10775 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
10776
10777         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10778         argument calculation.
10779
10780 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10781
10782         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10783         Expect macro.
10784         [POSIX] (pthread_attr_t): Do not require type.
10785         [POSIX] (pthread_cond_t): Likewise.
10786         [POSIX] (pthread_condattr_t): Likewise.
10787         [POSIX] (pthread_key_t): Likewise.
10788         [POSIX] (pthread_mutex_t): Likewise.
10789         [POSIX] (pthread_mutexattr_t): Likewise.
10790         [POSIX] (pthread_once_t): Likewise.
10791         [POSIX] (pthread_t): Likewise.
10792         [POSIX-based standards] (pthread_atfork): Expect function.
10793
10794 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10795             Richard Sandiford  <richard@codesourcery.com>
10796
10797         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10798         (swap_endianness_p): New extern variable.
10799         (set_big_endian): New inline function.
10800         (maybe_swap_uint32): Likewise.
10801         (maybe_swap_uint32_array): Likewise.
10802         (maybe_swap_uint32_obstack): Likewise.
10803         * locale/programs/locfile.c: Include <stdbool.h>.
10804         (swap_endianness_p): New variable.
10805         (add_locale_uint32): Call maybe_swap_uint32.
10806         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10807         (write_locale_data): Call maybe_swap_uint32_array.
10808         * locale/programs/ld-collate.c (obstack_int32_grow): Call
10809         maybe_swap_uint32.
10810         (obstack_int32_grow_fast): Likewise.
10811         (output_weightwc): Call maybe_swap_uint32_obstack.
10812         (collate_output): Likewise.
10813         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10814         (OPT_LITTLE_ENDIAN): Likewise.
10815         (options): Add --little-endian and --big-endian options.
10816         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10817         * locale/programs/locarchive.c: Include "locfile.h".
10818         (GET): New macro.
10819         (SET): Likewise.
10820         (INC): Likewise.
10821         (create_archive): Use the new macros to access fields of
10822         structures directly mapped from or written to locale archives.
10823         (oldlocrecentcmp): Likewise.
10824         (enlarge_archive): Likewise.
10825         (insert_name): Likewise.
10826         (add_alias): Likewise.
10827         (add_locale): Likewise.
10828         (delete_locales_from_archive): Likewise.
10829         (show_archive_content): Likewise.
10830         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
10831         locale data.
10832
10833 2013-09-24  Roland McGrath  <roland@hack.frob.com>
10834
10835         * manual/freemanuals.texi: Updated from (newly) canonical copy at
10836         http://www.gnu.org/doc/freemanuals.texi.
10837         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10838
10839 2013-09-24  Will Newton  <will.newton@linaro.org>
10840
10841         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10842         macro.
10843
10844 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
10845
10846         * locale/hashval.h (compute_hashval): Interpret bytes of key as
10847         unsigned char.
10848
10849 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
10850
10851         * manual/threads.texi (POSIX Threads): Fix a typo.
10852
10853 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10854
10855         [BZ #14547]
10856         * string/tst-strcoll-overflow.c: New test case.
10857         * string/Makefile (xtests): Add tst-strcoll-overflow.
10858         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10859         cache if string sizes may cause integer overflow.
10860
10861         [BZ #14547]
10862         * string/strcoll_l.c (coll_seq): New members rule, idx,
10863         save_idx and back_us.
10864         (get_next_seq_nocache): New function.
10865         (do_compare_nocache): New function.
10866         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10867         when malloc fails.
10868
10869 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
10870
10871         [BZ #15754]
10872         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10873         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10874         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10875
10876         [BZ #15754]
10877         * elf/Makefile (tests): Add tst-ptrguard1.
10878         (tests-static): Add tst-ptrguard1-static.
10879         (tst-ptrguard1-ARGS): Define.
10880         (tst-ptrguard1-static-ARGS): Define.
10881         * elf/tst-ptrguard1.c: New file.
10882         * elf/tst-ptrguard1-static.c: New file.
10883         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10884         * sysdeps/i386/stackguard-macros.h: Likewise.
10885         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10886         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10887         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10888         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10889         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10890         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10891
10892 2013-09-23  Hector Marco  <hecmargi@upv.es>
10893             Ismael Ripoll  <iripoll@disca.upv.es>
10894             Carlos O'Donell  <carlos@redhat.com>
10895
10896         [BZ #15754]
10897         * sysdeps/generic/stackguard-macros.h: Define
10898         __pointer_chk_guard_local and POINTER_CHK_GUARD.
10899         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10900         Define __pointer_chk_guard_local.
10901         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10902         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10903
10904 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
10905
10906         [BZ #15859]
10907         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10908
10909 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
10910
10911         * include/string.h (__ffs): Declare as hidden.
10912         * string/ffs.c (__ffs): Define as hidden.
10913         * sysdeps/i386/ffs.c (__ffs): Likewise.
10914         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10915         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10916         * sysdeps/s390/ffs.c (__ffs): Likewise.
10917         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10918
10919 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
10920
10921         * NEWS: Mention malloc probes.
10922
10923         * malloc/arena.c (new_heap): New memory_heap_new probe.
10924         (grow_heap): New memory_heap_more probe.
10925         (shrink_heap): New memory_heap_less probe.
10926         (heap_trim): New memory_heap_free probe.
10927         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10928         (systrim): New memory_sbrk_less probe.
10929         * manual/probes.texi: Document them.
10930
10931         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10932         * manual/probes.texi: Document it.
10933
10934         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10935         (__libc_realloc): Add memory_realloc_retry probe.
10936         (__libc_memalign): Add memory_memalign_retry probe.
10937         (__libc_valloc): Add memory_valloc_retry probe.
10938         (__libc_pvalloc): Add memory_pvalloc_retry probe.
10939         (__libc_calloc): Add memory_calloc_retry probe.
10940         * manual/probes.texi: Document them.
10941
10942         * malloc/arena.c (get_free_list): Add probe
10943         memory_arena_reuse_free_list.
10944         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10945         and memory_arena_reuse.
10946         (arena_get2) [!PER_THREAD]: Likewise.
10947         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10948         memory_arena_reuse_realloc.
10949         * manual/probes.texi: Document them.
10950
10951         * malloc/malloc.c (__libc_free): Add
10952         memory_mallopt_free_dyn_thresholds probe.
10953         (__libc_mallopt): Add multiple memory_mallopt probes.
10954         * manual/probes.texi: Document them.
10955
10956         * malloc/malloc.c: Include stap-probe.h.
10957         (__libc_mallopt): Add memory_mallopt probe.
10958         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10959         * manual/probes.texi: New.
10960         * manual/Makefile (chapters): Add probes.
10961         * manual/threads.texi: Set next node.
10962
10963 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
10964
10965         [BZ #15963, #13985]
10966         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10967         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10968         Add `Chinese' to `nan' entry name.
10969
10970 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10971
10972         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10973         (POLYNOMIAL): Likewise.
10974         (TAYLOR_SINCOS): Likewise.
10975         (TAYLOR_SLOW): Likewise.
10976         (__sin): Use TAYLOR_SINCOS.
10977         (__cos): Likewise.
10978         (slow): Use TAYLOR_SLOW.
10979         (sloww): Likewise.
10980         (bsloww): Likewise.
10981         (csloww): Likewise.
10982
10983 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10984
10985         * stdlib/strtod_l.c: Fix buffer overrun.
10986
10987 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10988
10989         * benchtests/Makefile (bench): Add sincos.
10990         * benchtests/bench-sincos.c: New file.
10991
10992         * math/libm-test.inc (cos_test_data): New test inputs.
10993         (sin_test_data): Likewise.
10994
10995         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10996         macro.
10997         (__sin): Use it.
10998         (__cos): Likewise.
10999         (slow1): Likewise.
11000         (slow2): Likewise.
11001         (sloww1): Likewise.
11002         (sloww2): Likewise.
11003         (bsloww1): Likewise.
11004         (bsloww2): Likewise.
11005         (cslow2): Likewise.
11006         (csloww1): Likewise.
11007         (csloww2): Likewise.
11008
11009         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11010         function.
11011         (__sin): Use it.
11012         (__cos): Likewise.
11013
11014         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11015         gotos.
11016         (__cos): Likewise.
11017
11018 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
11019
11020         * config.h.in (HAVE_MIPS_NAN2008): New macro.
11021         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11022         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11023         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11024         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11025         * elf/cache.c (print_entry): Handle the new cache flags.
11026
11027 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11028             Aldy Hernandez  <aldyh@redhat.com>
11029
11030         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11031         Change condition to [_SOFT_FLOAT].
11032         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11033         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11034         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11036         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11037         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11040         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11044         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11047         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11048         declaration.
11049
11050 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11051
11052         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11053         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11054         (__longjmp): Use LOAD_GP to load saved GPRs.
11055         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11056         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11057         (__sigsetjmp): Use SAVE_GP to save GPRs.
11058
11059         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11060         Do not append -msoft-float.
11061         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11062
11063 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11064
11065         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11066
11067 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
11068
11069         [BZ #15966]
11070         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11071         (_FPU_GETCW): Use initial "__" on variable and field names but not
11072         on macro parameter name.
11073         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
11074         parentheses around reference to macro parameter.
11075
11076 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
11077
11078         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11079         prototype.
11080         (ctype_startup): Use uint32_t in cast and sizeof for
11081         ctype->charnames.
11082
11083 2013-09-11  Jia Liu  <proljc@gmail.com>
11084
11085         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11086         __daddr_t_defined.
11087         [__FreeBSD__]: Likewise.
11088
11089 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
11090
11091         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11092         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11093         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11094         (strchr): Remove __strchr_sse42 ifunc selection.
11095         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11096         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11097
11098 2013-09-11  Will Newton  <will.newton@linaro.org>
11099
11100         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11101         parameter to RES. Remove hardcoded 1000 value.
11102         * benchtests/bench-skeleton.c (main): Pass RES parameter
11103         to TIMING_INIT and multiply result by 1000.
11104
11105 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11106
11107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11108
11109 2013-09-11  Andreas Schwab  <schwab@suse.de>
11110
11111         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11112         if not defined.
11113         (O_TMPFILE) [__USE_GNU]: Define.
11114         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11115         Define.
11116
11117 2013-09-11  Will Newton  <will.newton@linaro.org>
11118
11119         [BZ #15857]
11120         * malloc/malloc.c (__libc_memalign): Check the value of bytes
11121         does not overflow.
11122
11123 2013-09-11  Will Newton  <will.newton@linaro.org>
11124
11125         [BZ #15856]
11126         * malloc/malloc.c (__libc_valloc): Check the value of bytes
11127         does not overflow.
11128
11129 2013-09-11  Will Newton  <will.newton@linaro.org>
11130
11131         [BZ #15855]
11132         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11133         does not overflow.
11134
11135 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
11136
11137         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11138         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11139         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11140         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11141         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11142
11143 2013-09-10  Allan McRae  <allan@archlinux.org>
11144
11145         [BZ #15748]
11146         * manual/arith.texi (Parsing of Floats): Clarify
11147         cross-reference.
11148
11149         [BZ #15849]
11150         * manual/install.texi (Running make install): Mention
11151         --enable-pt-chown.
11152         * INSTALL: Regenerated.
11153
11154 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
11155
11156         * csu/init-first.c (_init): Remove the !SHARED condition around
11157         FPU control word initialization.
11158         * elf/dl-support.c (_dl_fpu_control): New variable.
11159         (_dl_aux_init) <AT_FPUCW>: Initialize it.
11160         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11161         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11162         * math/test-fpucw-static.c: New file.
11163         * math/test-fpucw-ieee.c: New file.
11164         * math/test-fpucw-ieee-static.c: New file.
11165         * math/Makefile (tests): Add `test-fpucw-ieee' and
11166         `$(tests-static)'.
11167         (tests-static): New variable.
11168         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11169         dependency to...
11170         [($(build-shared),yes)]
11171         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11172         ... this.
11173         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11174         New dependency.
11175
11176 2013-09-09  Allan McRae  <allan@archlinux.org>
11177
11178         [BZ #15939]
11179         * manual/string.texi (Collation Functions): Fix typo in
11180         strcoll example.
11181         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11182
11183         [BZ #15893]
11184         * stdlib/isomac.c (get_null_defines): Fix memory leak.
11185
11186         [BZ #15892]
11187         * libio/memstream.c (open_memstream): Fix memory leak.
11188         * libio/wmemstream.c (open_wmemstream): Likewise.
11189
11190         [BZ #15895]
11191         * nscd/netgroupcache.c: Fix nesting of ifdefs.
11192
11193 2013-09-09  Will Newton  <will.newton@linaro.org>
11194
11195         * malloc/Makefile: Add tst-realloc to tests.
11196         * malloc/tst-realloc.c: New file.
11197
11198 2013-09-09  Allan McRae  <allan@archlinux.org>
11199
11200         [BZ #15844]
11201         * COPYING: Update from GNU website to fix FSF address.
11202         * COPYING.LIB: Likewise.
11203
11204 2013-09-06  David S. Miller  <davem@davemloft.net>
11205
11206         * po/zh_TW.po: Update Chinese (traditional) translation from
11207         translation project.
11208
11209 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
11210             Joseph Myers  <joseph@codesourcery.com>
11211
11212         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11213         "localeinfo.h".
11214         (obstack_chunk_alloc): New macro.
11215         (obstack_chunk_free): Likewise.
11216         (record_offset): New function.
11217         (init_locale_data): Likewise.
11218         (align_locale_data): Likewise.
11219         (add_locale_empty): Likewise.
11220         (add_locale_raw_data): Likewise.
11221         (add_locale_raw_obstack): Likewise.
11222         (add_locale_string): Likewise.
11223         (add_locale_wstring): Likewise.
11224         (add_locale_uint32): Likewise.
11225         (add_locale_uint32_array): Likewise.
11226         (add_locale_char): Likewise.
11227         (start_locale_structure): Likewise.
11228         (end_locale_structure): Likewise.
11229         (start_locale_prelude): Likewise.
11230         (end_locale_prelude): Likewise.
11231         (write_locale_data): Take locale_file structure rather than an
11232         iovec.
11233         * locale/programs/locfile.h: Include "obstack.h".
11234         (struct locale_file): Change to store locale file contents instead
11235         of header.
11236         (init_locale_data): New prototype.
11237         (align_locale_data): Likewise.
11238         (add_locale_empty): Likewise.
11239         (add_locale_raw_data): Likewise.
11240         (add_locale_raw_obstack): Likewise.
11241         (add_locale_string): Likewise.
11242         (add_locale_wstring): Likewise.
11243         (add_locale_uint32): Likewise.
11244         (add_locale_uint32_array): Likewise.
11245         (add_locale_char): Likewise.
11246         (start_locale_structure): Likewise.
11247         (end_locale_structure): Likewise.
11248         (start_locale_prelude): Likewise.
11249         (end_locale_prelude): Likewise.
11250         (write_locale_data): Update prototype.
11251         * locale/programs/3level.h (struct TABLE): Remove result field.
11252         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11253         Use new locale_file interface.
11254         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11255         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11256         * locale/programs/ld-address.c (address_output): Use new
11257         locale_file interface.
11258         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11259         NO_ADD_LOCALE.
11260         (collate_finish): Don't call collseq_table_finalize.
11261         (collate_output): Use new locale_file interface.
11262         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11263         in file.
11264         (NO_FINALIZE): Change to NO_ADD_LOCALE.
11265         (TABLE): Move defines earlier in file.
11266         (ELEMENT): Likewise.
11267         (DEFAULT): Likewise.
11268         (wctrans_table_add): Move macro and inline function earlier in
11269         file.
11270         (struct wctype_table): Move type earlier in file.
11271         (add_locale_wctype_table): New static prototype.
11272         (struct locale_ctype_t): Use logical types instead of struct iovec
11273         pointers for members.
11274         (ctype_output): Use new locale_file interface.
11275         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
11276         new locale_file interface.
11277         (allocate_arrays): Update for use of new locale_file interface.
11278         * locale/programs/ld-identification.c (identification_output): Use
11279         new locale_file interface.
11280         * locale/programs/ld-measurement.c (measurement_output): Likewise.
11281         * locale/programs/ld-messages.c (messages_output): Likewise.
11282         * locale/programs/ld-monetary.c (monetary_output): Likewise.
11283         * locale/programs/ld-name.c (name_output): Likewise.
11284         * locale/programs/ld-numeric.c (numeric_output): Likewise.
11285         * locale/programs/ld-paper.c (paper_output): Likewise.
11286         * locale/programs/ld-telephone.c (telephone_output): Likewise.
11287         * locale/programs/ld-time.c (time_output): Likewise.
11288
11289 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11290
11291         * benchtests/Makefile: Add memrchr benchmark.
11292         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11293         benchmark as memrchr.
11294         * benchtests/bench-memrchr-ifunc.c: New file.
11295         * benchtests/bench-memrchr.c: New file.
11296
11297 2013-09-06   Will Newton  <will.newton@linaro.org>
11298
11299         * benchtests/Makefile (string-bench): Add memcpy.
11300
11301 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
11302             Cong Wang  <amwang@redhat.com>
11303
11304         [BZ #15850]
11305         * sysdeps/unix/sysv/linux/bits/in.h
11306         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11307         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11308         before __USE_KERNEL_IPV6_DEFS uses.
11309         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11310         IPPROTO_BEETPH.
11311         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11312         sockaddr_in6, or ipv6_mreq.
11313
11314 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11315
11316         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11317         memory access for final bytes in some large inputs.
11318         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11319
11320 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11321
11322         * string/test-memrchr.c: New file.
11323         * string/test-memrchr-ifunc.c: New file.
11324         * string/Makefile: Add new memrchr testcase.
11325
11326 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
11327
11328         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11329         fanotify_init returns EPERM.
11330
11331 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11332
11333         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11334         errors.
11335         (top level): Treat second token from macro or constant entries for
11336         allowed headers as allowed.
11337         * include/complex.h: Condition internal declarations on
11338         [!_ISOMAC].
11339         * include/fenv.h: Condition include of <stdbool.h> and internal
11340         declarations on [!_ISOMAC].
11341
11342 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
11343
11344         [BZ #15923]
11345         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11346
11347 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11348
11349         * configure.in (--enable-versioning): Remove configure option.
11350         (libc_cv_asm_symver_directive): Remove configure test.
11351         (libc_cv_ld_version_script_option): Likewise.
11352         (VERSIONING): Remove variable and AC_SUBST.
11353         (DO_VERSIONING): Remove AC_DEFINE.
11354         * configure: Regenerated.
11355         * config.h.in (DO_VERSIONING): Remove macro.
11356         * Makerules [$(versioning) = yes]: Change conditionals to
11357         [$(build-shared) = yes].
11358         * config.make.in (versioning): Remove variable.
11359         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11360         [$(build-shared) = yes].
11361         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11362         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11363         * elf/Makefile [$(versioning) = yes]: Change conditionals to
11364         [$(build-shared) = yes].
11365         * extra-lib.mk [$(versioning) = yes]: Likewise.
11366         * hurd/Makefile [$(versioning) = yes]: Likewise.
11367         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11368         [SHARED].
11369         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11370         [SHARED].
11371         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11372         [SHARED && !NO_HIDDEN].
11373         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11374         [SHARED].
11375         [SHARED && DO_VERSIONING]: Likewise..
11376         * libio/Makefile [$(versioning) = yes]: Change conditionals to
11377         [$(build-shared) = yes].
11378         * manual/install.texi (--disable-versioning): Remove
11379         documentation.
11380         * INSTALL: Regenerated.
11381         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11382         to [SHARED].
11383         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11384         [$(build-shared) = yes].
11385         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11386         * sysdeps/i386/i686/multiarch/strstr-c.c
11387         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11388         [SHARED && !NO_HIDDEN].
11389         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11390         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11391         * sysdeps/powerpc/powerpc32/dl-machine.c
11392         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11393         * sysdeps/powerpc/powerpc32/sysdep.h
11394         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11395         to [SHARED && PIC && !NO_HIDDEN].
11396         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11397         conditional to [SHARED].
11398
11399 2013-09-04   Will Newton  <will.newton@linaro.org>
11400
11401         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11402         * benchtests/bench-string.h: Include bench-timing.h instead
11403         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11404         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11405         call to HP_TIMING_DIFF_INIT.
11406         * benchtests/bench-memccpy.c: Use bench-timing.h macros
11407         instead of hp-timing.h macros.
11408         * benchtests/bench-memchr.c: Likewise.
11409         * benchtests/bench-memcmp.c: Likewise.
11410         * benchtests/bench-memcpy.c: Likewise.
11411         * benchtests/bench-memmem.c: Likewise.
11412         * benchtests/bench-memmove.c: Likewise.
11413         * benchtests/bench-memset.c: Likewise.
11414         * benchtests/bench-rawmemchr.c: Likewise.
11415         * benchtests/bench-strcasecmp.c: Likewise.
11416         * benchtests/bench-strcasestr.c: Likewise.
11417         * benchtests/bench-strcat.c: Likewise.
11418         * benchtests/bench-strchr.c: Likewise.
11419         * benchtests/bench-strcmp.c: Likewise.
11420         * benchtests/bench-strcpy.c: Likewise.
11421         * benchtests/bench-strcpy_chk.c: Likewise.
11422         * benchtests/bench-strlen.c: Likewise.
11423         * benchtests/bench-strncasecmp.c: Likewise.
11424         * benchtests/bench-strncat.c: Likewise.
11425         * benchtests/bench-strncmp.c: Likewise.
11426         * benchtests/bench-strncpy.c: Likewise.
11427         * benchtests/bench-strnlen.c: Likewise.
11428         * benchtests/bench-strpbrk.c: Likewise.
11429         * benchtests/bench-strrchr.c: Likewise.
11430         * benchtests/bench-strspn.c: Likewise.
11431         * benchtests/bench-strstr.c: Likewise.
11432
11433 2013-09-04  Will Newton  <will.newton@linaro.org>
11434
11435         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11436
11437 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
11438
11439         [BZ #15427]
11440         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11441         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11442         * math/libm-test.inc (lgamma_test_data): Add more tests.
11443         * sysdeps/i386/fpu/libm-test-ulps: Update.
11444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11445
11446 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
11447
11448         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11449         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11450         Add ifunc.
11451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11452         Add strcmp-sse2-unaligned
11453         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11454
11455 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
11456
11457         * Versions.def (libc): Add GLIBC_2.19.
11458
11459 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
11460
11461         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11462         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11463
11464 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
11465
11466         [BZ #14155]
11467         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11468         intermediate calculations in recurrence.
11469         (__ieee754_ynf): Likewise.
11470         * math/libm-test.inc (jn_test_data): Do not allow spurious
11471         underflow exception.  Add more tests.
11472         (yn_test_data): Add more tests.
11473         * sysdeps/i386/fpu/libm-test-ulps: Update.
11474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11475
11476 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
11477
11478         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11479
11480 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
11481
11482         * csu/init-first.c: Fix then/than typos.
11483         * locale/programs/ld-collate.c: Likewise.
11484         * locale/programs/linereader.h: Likewise.
11485         * manual/charset.texi: Likewise.
11486         * manual/filesys.texi: Likewise.
11487         * manual/stdio.texi: Likewise.
11488         * manual/string.texi: Likewise.
11489         * stdlib/fmtmsg.c: Likewise.
11490         * sysdeps/i386/stpncpy.S: Likewise.
11491         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11492         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11493         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11494         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11495
11496 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
11497
11498         * elf/dl-open.c: Fix typos.
11499         * iconvdata/gbbig5.c: Likewise.
11500         * iconvdata/iso-2022-jp.c: Likewise.
11501         * iconv/gconv_int.h: Likewise.
11502         * iconv/loop.c: Likewise.
11503         * nis/rpcsvc/nis.h: Likewise.
11504         * resolv/ns_name.c: Likewise.
11505         * stdio-common/vfscanf.c: Likewise.
11506         * streams/stropts.h: Likewise.
11507         * sunrpc/rpc_thread.c: Likewise.
11508         * sysdeps/i386/strpbrk.S: Likewise.
11509         * sysdeps/ieee754/k_standard.c: Likewise.
11510         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11511         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11512         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11513         * sysdeps/mach/hurd/profil.c: Likewise.
11514         * sysdeps/s390/dl-procinfo.h: Likewise.
11515         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11516         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11517         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11518         * sysdeps/x86_64/dl-trampoline.S: Likewise.
11519         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11520
11521 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
11522
11523         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11525
11526 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
11527
11528         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11529         aix specific files.
11530         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11531         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11532         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11533         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11534         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11535         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11536         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11537         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11538
11539 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
11540             Roland McGrath  <roland@hack.frob.com>
11541
11542         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11543         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11544
11545 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11546
11547         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11548         __executable_start symbol instead of _start.
11549
11550 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
11551
11552         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11553         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11554         Move macros to...
11555         * sysdeps/gnu/ldsodefs.h: ... this new file.
11556
11557         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11558         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11559         instead of ELFOSABI_LINUX.
11560
11561         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11562         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11563         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11564         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11565         Likewise.
11566         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11567         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11568         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11569         Likewise.
11570         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11571         (ibm_extended_long_double): Add ieee_nan member.
11572         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11573         (do_test): New function.
11574
11575         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11576         TEST_TRUNC.
11577         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11578         functions, renamed from truncdfsf_test, trunctfsf_test,
11579         trunctfdf_test.
11580         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11581         functions.
11582         (do_test): Run all these.
11583
11584 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
11585
11586         * argp/argp-help.c: Fix typos.
11587         * argp/argp-parse.c: Likewise.
11588         * debug/backtracesyms.c: Likewise.
11589         * elf/elf.h: Likewise.
11590         * malloc/malloc.c: Likewise.
11591         * nis/nis_print.c: Likewise.
11592         * resolv/res_comp.c: Likewise.
11593         * stdlib/stdlib.h: Likewise.
11594         * sunrpc/clnt_tcp.c: Likewise.
11595         * sunrpc/clnt_udp.c: Likewise.
11596         * sunrpc/clnt_unix.c: Likewise.
11597         * sysdeps/unix/bsd/ptsname.c: Likewise.
11598         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11599         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11601         Likewise.
11602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11603         Likewise.
11604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11605         Likewise.
11606         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11607
11608 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11609
11610         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11611         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11612
11613 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
11614
11615         [BZ #15897]
11616         * dlfcn/Makefile (tests): Add bug-dl-leaf.
11617         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11618         ($(objpfx)bug-dl-leaf): New rule.
11619         ($(objpfx)bug-dl-leaf.so): Likewise.
11620         ($(objpfx)bug-dl-leaf.out): Likewise.
11621         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11622         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11623         * dlfcn/bug-dl-leaf.c: New test.
11624         * dlfcn/bug-dl-leaf-lib.c: Likewise.
11625         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11626         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11627         (dlclose): Likewise.
11628         (dlmopen): Likewise.
11629
11630 2013-08-27  Roland McGrath  <roland@hack.frob.com>
11631
11632         * include/netdb.h [!_ISOMAC]:
11633         Don't include <tls.h>.
11634         (h_errno, __libc_h_errno): Move declaration and macros out of
11635         [_LIBC_REENTRANT].
11636
11637         * include/resolv.h [_RESOLV_H_]:
11638         Don't include <tls.h>.
11639         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11640         * resolv/res_libc.c: Don't include <tls.h>.
11641         (_res): Use __attribute__ ((nocommon)) in place of
11642         __attribute__ ((section (".bss"))).
11643
11644         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11645         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11646
11647         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11648
11649         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11650         only under [SIOCGIFCONF && SIOCGIFNETMASK].
11651
11652         * resolv/res_mkquery.c: Include <sys/time.h>.
11653
11654         * inet/ifreq.c: Moved to ...
11655         * sysdeps/unix/ifreq.c: ... here.
11656         * inet/ifreq.c: New file, true stub version.
11657
11658         * socket/sa_len.c: New file.
11659         * socket/Makefile (aux): Add it.
11660         * sysdeps/unix/sysv/linux/Makefile
11661         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11662         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11663         and #include <socket/sa_len.c>.
11664         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11665         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11666
11667         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11668         * bits/socket.h: ... here.
11669
11670         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11671         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11672         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11673
11674 2013-08-27  Andreas Schwab  <schwab@suse.de>
11675
11676         [BZ #15736]
11677         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11678         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11679         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11680         * string/test-strcasecmp.c (test_main): Run tests in several
11681         locales.
11682         * string/test-strncasecmp.c (test_main): Likewise.
11683
11684         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11685         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11686         to __strcasecmp_nonascii and __strncasecmp_nonascii.
11687         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11688         (__strncasecmp_ssse3) [PIC]: Likewise.
11689
11690 2013-08-26  Roland McGrath  <roland@hack.frob.com>
11691
11692         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11693
11694         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11695         instead of explicitly declaring xdecrypt.
11696         * nis/nss_nis/nis-publickey.c: Likewise.
11697
11698 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11699
11700         [BZ #15890]
11701         * nscd/aicache.c: Include res_hconf.h.
11702         (addhstaiX): Initialize res_hconf.
11703
11704 2013-08-26  Andreas Schwab  <schwab@suse.de>
11705
11706         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11707         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11708
11709 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11710
11711         * nscd/aicache.c (addhstaiX): Fix indentation.
11712
11713 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
11714
11715         * configure.ac: Quote $build_pt_chown test.
11716         * configure: Regenerated.
11717
11718 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
11719
11720         [BZ #15532]
11721         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11722         * math/s_cexpf.c (__cexpf): Likewise.
11723         * math/s_cexpl.c (__cexpl): Likewise.
11724         * math/libm-test.inc (cexp_test_data): Correct expected return
11725         value for NaN + i0.  Add another test.
11726
11727 2013-08-22  David S. Miller  <davem@davemloft.net>
11728
11729         * po/ca.po: Update Catalan translation from translation project.
11730         * po/uk.po: Add Ukrainian translations from translation project.
11731
11732 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
11733
11734         [BZ #15797]
11735         * math/s_fdim.c (__fdim): Check for infinite arguments if result
11736         is infinite, not alongside NaN test.
11737         * math/s_fdimf.c (__fdimf): Likewise.
11738         * math/s_fdiml.c (__fdiml): Likewise.
11739         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
11740         errno is unchanged.
11741
11742 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
11743
11744         * argp/argp-help.c: Fix typos.
11745         * crypt/speeds.c: Likewise.
11746         * csu/check_fds.c: Likewise.
11747         * elf/dl-load.c: Likewise.
11748         * elf/dl-open.c: Likewise.
11749         * elf/reldep3.c: Likewise.
11750         * elf/reldep.c: Likewise.
11751         * elf/sprof.c: Likewise.
11752         * iconv/iconv_charmap.c: Likewise.
11753         * iconv/skeleton.c: Likewise.
11754         * iconv/strtab.c: Likewise.
11755         * io/lockf64.c: Likewise.
11756         * libio/libioP.h: Likewise.
11757         * resolv/gai_notify.c: Likewise.
11758         * resolv/ns_name.c: Likewise.
11759         * resolv/ns_samedomain.c: Likewise.
11760         * resolv/res_send.c: Likewise.
11761         * stdlib/random.c: Likewise.
11762         * sunrpc/rpc/xdr.h: Likewise.
11763         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11764         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11765         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11766         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11767         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11768         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11769         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11770         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11771         * sysdeps/mach/hurd/check_fds.c: Likewise.
11772         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11773         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11774         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11775         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11776         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11777         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11778         * sysdeps/pthread/aio_notify.c: Likewise.
11779         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11780         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11781         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11782         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11783         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11784
11785 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11786
11787         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11788         version if bit_Slow_SSE4_2 is set.
11789         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11790         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11791
11792 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11793
11794         [BZ #15867]
11795         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11796         trampoline stack frame information.
11797         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11798         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11799         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11800         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11801         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11802         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11803         (_libc_vdso_platform_setup): Initialize the signal trampolines.
11804         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11805         sa_flags value.
11806         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11807         interrupting a syscall and set with option SA_SIGINFO.
11808
11809 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11810
11811         [BZ #15531]
11812         * math/s_cproj.c (__cproj): Only return an infinity if one part of
11813         argument is infinite.
11814         * math/s_cprojf.c (__cprojf): Likewise.
11815         * math/s_cprojl.c (__cprojl): Likewise.
11816         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11817         * math/libm-test.inc (cproj_test_data): Add more tests.
11818
11819         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11820
11821         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11822         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11823         size.  Use __ffs to determine corresponding shift.
11824
11825 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11826             Roland McGrath  <roland@hack.frob.com>
11827
11828         * Makefile (INSTALL): Remove trailing blank lines from output of
11829         makeinfo.
11830
11831 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11832
11833         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11834         Align 32 bit compat elf_greg to 8 bytes.
11835
11836 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11837
11838         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11839
11840 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11841
11842         * string/strcoll_l.c (coll_seq): New structure.
11843         (get_next_seq_cached): New function.
11844         (get_next_seq): New function.
11845         (do_compare): New function.
11846         (STRCOLL): Use GNU style definition.  Simplify implementation
11847         by using get_next_seq, get_next_seq_cached and do_compare.
11848
11849 2013-08-16  Florian Weimer  <fweimer@redhat.com>
11850
11851         [BZ #14699]
11852         CVE-2013-4237
11853         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11854         member.
11855         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11856         member.
11857         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11858         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11859         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
11860         conditional.
11861         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11862         GETDENTS_64BIT_ALIGNED.
11863         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11864         * manual/filesys.texi (Reading/Closing Directory): Document
11865         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
11866         strongly.
11867         * manual/conf.texi (Limits for Files): Add portability note to
11868         NAME_MAX, PATH_MAX.
11869         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11870
11871 2013-08-13  Andreas Schwab  <schwab@suse.de>
11872
11873         [BZ #15749]
11874         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11875         of fabs.
11876         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11877         LDBL_MAX_EXP >= 16384]: Add tests for it.
11878
11879 2013-08-12  David S. Miller  <davem@davemloft.net>
11880
11881         * version.h (RELEASE): Set to "development".
11882         (VERSION): Set to "2.18.90".
11883         * NEWS: Add 2.19 section.
11884
11885 2013-08-03  David S. Miller  <davem@davemloft.net>
11886
11887         * po/ko.po: Update Korean translation from translation project.
11888
11889 2013-08-01  David S. Miller  <davem@davemloft.net>
11890
11891         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
11892         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11893         Bilka.
11894
11895 2013-07-30  David S. Miller  <davem@davemloft.net>
11896
11897         * po/fr.po: Update French translation from translation project.
11898
11899 2013-07-28  David S. Miller  <davem@davemloft.net>
11900
11901         * po/cs.po: Update Czech translation from translation project.
11902
11903         * po/sv.po: Update Swedish translation from translation project.
11904
11905 2013-07-27  David S. Miller  <davem@davemloft.net>
11906
11907         * po/eo.po: Update Esperanto translation from translation project.
11908
11909         * po/vi.po: Update Vietnamese translation from translation project.
11910
11911         * po/de.po: Update German translation from translation project.
11912
11913 2013-07-26  David S. Miller  <davem@davemloft.net>
11914
11915         * po/bg.po: Update Bulgarian translation from translation project.
11916
11917         * po/nl.po: Update Dutch translation from translation project.
11918         * po/pl.po: Update Polish translation from translation project.
11919         * po/ru.po: Update Russian translation from translation project.
11920
11921 2013-07-24  David S. Miller  <davem@davemloft.net>
11922
11923         * po/libc.pot: Update.
11924
11925 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11926
11927         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11928         variable page size.
11929         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11930         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11931         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11932
11933 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11934
11935         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11936
11937 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11938             Andreas Schwab  <schwab@suse.de>
11939             Roland McGrath  <roland@hack.frob.com>
11940             Joseph Myers  <joseph@codesourcery.com>
11941             Carlos O'Donell  <carlos@redhat.com>
11942
11943         [BZ #15755]
11944         * config.h.in: Define HAVE_PT_CHOWN.
11945         * config.make.in (build-pt-chown): New variable.
11946         * configure.in (--enable-pt_chown): New configure option.
11947         * configure: Regenerate.
11948         * login/Makefile: Include Makeconfig.  Build pt_chown only if
11949         build-pt-chown is enabled.
11950         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11951         pt_chown to fix pty ownership.
11952         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11953         CLOSE_ALL_FDS.
11954         * manual/install.texi (Configuring and compiling): Mention
11955         --enable-pt_chown. Add @findex for grantpt.
11956         * INSTALL: Regenerate.
11957
11958 2013-07-20  David S. Miller  <davem@davemloft.net>
11959
11960         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11961         difference between 32-bit and 64-bit.
11962
11963 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
11964
11965         [BZ #15711]
11966         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11967         Avoid system header dependency with -ffreestanding.
11968         ($(objpfx)bits/syscall%d): Likewise.
11969
11970 2013-07-13  David S. Miller  <davem@davemloft.net>
11971
11972         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11973         underflows from atanl/atan2l due to bug 15319.
11974         (casinh_test_data): Likewise.
11975
11976 2013-07-07  David S. Miller  <davem@davemloft.net>
11977
11978         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11979
11980 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
11981
11982         * sysdeps/i386/fpu/libm-test-ulps: Update.
11983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11984
11985 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11986
11987         * configure.in (--enable-lock-elision): Fix message text.
11988         * INSTALL: Regenerate.
11989         * configure: Regenerate.
11990
11991 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11992
11993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11994
11995 2013-07-03  Andreas Jaeger  <aj@suse.de>
11996
11997         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11998         define.
11999         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12000         (ptrace_peeksiginfo_args): Add.
12001         (__ptrace_peeksiginfo_flags): Add.
12002         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12003         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12004         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12005
12006 2013-07-03  Allan McRae  <allan@archlinux.org>
12007
12008         * sysdeps/i386/fpu/libm-test-ulps: Update.
12009
12010 2013-07-02  David S. Miller  <davem@davemloft.net>
12011
12012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12013
12014 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
12015
12016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12017
12018 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12019
12020         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12022
12023 2013-07-02  Andi Kleen <ak@linux.intel.com>
12024
12025         * config.h.in (ENABLE_LOCK_ELISION): Add.
12026         * configure.in (--enable-lock-elision): Add option.
12027         * manual/install.texi: Document --enable lock elision.
12028         * configure: Regenerate
12029         * INSTALL: Regenerate.
12030
12031 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12032
12033         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12034         SSE4.2 strcasecmp for libc.a.
12035         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12036
12037 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12038
12039         [BZ #13304]
12040         * soft-fp/op-common.h (_FP_FMA): New macro.
12041         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12042         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
12043         (_FP_MUL_MEAT_1_imm): ... here.
12044         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
12045         (_FP_MUL_MEAT_1_wide): ... here.
12046         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
12047         (_FP_MUL_MEAT_1_hard): ... here.
12048         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12049         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
12050         (_FP_MUL_MEAT_2_wide): ... here.
12051         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
12052         (_FP_MUL_MEAT_2_wide_3mul): ... here.
12053         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
12054         (_FP_MUL_MEAT_2_gmp): ... here.
12055         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12056         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
12057         (_FP_MUL_MEAT_4_wide): ... here.
12058         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
12059         (_FP_MUL_MEAT_4_gmp): ... here.
12060         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12061         (_FP_WFRACBITS_DW_S): Likewise.
12062         (_FP_WFRACXBITS_DW_S): Likewise.
12063         (_FP_HIGHBIT_DW_S): Likewise.
12064         (FP_FMA_S): Likewise.
12065         (_FP_FRAC_HIGH_DW_S): Likewise.
12066         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12067         (_FP_WFRACBITS_DW_D): Likewise.
12068         (_FP_WFRACXBITS_DW_D): Likewise.
12069         (_FP_HIGHBIT_DW_D): Likewise.
12070         (FP_FMA_D): Likewise.
12071         (_FP_FRAC_HIGH_DW_D): Likewise.
12072         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12073         (_FP_WFRACBITS_DW_E): Likewise.
12074         (_FP_WFRACXBITS_DW_E): Likewise.
12075         (_FP_HIGHBIT_DW_E): Likewise.
12076         (FP_FMA_E): Likewise.
12077         (_FP_FRAC_HIGH_DW_E): Likewise.
12078         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12079         (_FP_WFRACBITS_DW_Q): Likewise.
12080         (_FP_WFRACXBITS_DW_Q): Likewise.
12081         (_FP_HIGHBIT_DW_Q): Likewise.
12082         (FP_FMA_Q): Likewise.
12083         (_FP_FRAC_HIGH_DW_Q): Likewise.
12084         * soft-fp/fmasf4.c: New file.
12085         * soft-fp/fmadf4.c: Likewise.
12086         * soft-fp/fmatf4.c: Likewise.
12087
12088 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12089
12090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12091         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12092         Silvermont.
12093         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12094         macro.
12095         (index_Slow_SSE4_2): Likewise.
12096         (index_Prefer_PMINUB_for_stringop): Likewise.
12097         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12098         bit_Slow_SSE4_2 is set.
12099         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12100         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12101
12102 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12103
12104         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12105         rtld_global._dl_hwcap2.
12106         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12107         POWER8.
12108         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12109         POWER8 feature descriptions defined in _dl_hwcap2.
12110         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12111         string handling for POWER8 feature bits.
12112         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12113         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12114         _dl_powerpc_cap_flags.
12115         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12116         * sysdeps/powerpc/rtld-global-offsets.sym
12117         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12118         _dl_hwcap2 in the rtld_global_ro structure.
12119
12120 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12121
12122         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12123         hardware capabilities in support of AT_HWCAP2.
12124         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12125         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12126         GLRO(dl_hwcap2).
12127         (_dl_show_auxv): Add support for calling _dl_procinfo to display
12128         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
12129         explicitly the unknown a_type display mechanism is used.
12130         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12131         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12132         struct member.
12133         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12134         to macro prototype for AT_HWCAP2 support.
12135         * sysdeps/i386/dl-procinfo.h: Likewise.
12136         * sysdeps/s390/dl-procinfo.h: Likewise.
12137         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12138         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
12139         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
12140         return -1 for unknown a_type display fallback.
12141         * sysdeps/sparc/dl-procinfo.h: Likewise.
12142         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12143         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12144
12145 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
12146
12147         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12148         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12149
12150 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
12151
12152         [BZ #12492]
12153         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12154         mprotect making __stack_prot writable.
12155
12156 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
12157             Joseph Myers  <joseph@codesourcery.com>
12158
12159         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12160         as being properly aligned.
12161
12162 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
12163
12164         * dlfcn/modstatic5.c: New file.
12165         * dlfcn/tststatic5.c: New file.
12166         * dlfcn/Makefile (tests): Add tststatic5.
12167         (tests-static): Likewise.
12168         (modules-names): Add modstatic5.
12169         (tststatic5-ENV): New variable.
12170         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12171
12172         [BZ #15022]
12173         * elf/dl-support.c (_dl_main_map): New variable.
12174         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12175         (_dl_nns, _dl_load_adds): Set to 1.
12176         (_dl_initial_searchlist): Refer to _dl_main_map.
12177         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12178         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12179         call to _dl_get_origin.
12180         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12181         around call_map.
12182         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12183         * dlfcn/modstatic3.c: New file.
12184         * dlfcn/tststatic3.c: New file.
12185         * dlfcn/tststatic4.c: New file.
12186         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12187         (tests-static): Likewise.
12188         (modules-names): Add modstatic3.
12189         (tststatic3-ENV, tststatic4-ENV): New variables.
12190         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12191         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12192
12193 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
12194
12195         * configure.in (CC): Require GCC version 4.4 or later.
12196         * configure: Regenerated.
12197         * manual/install.texi (Tools for Compilation): Update GCC version
12198         requirement.
12199         * INSTALL: Regenerated.
12200
12201 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12202
12203         [BZ #15674]
12204         * string/test-memcmp.c (check2): New.
12205         (main): Call check2.
12206
12207         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12208
12209 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
12210
12211         [BZ #15022]
12212         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12213         over to...
12214         (dl_open_worker) [!SHARED]: ... here.
12215
12216 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12217
12218         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12219
12220 2013-06-25  Richard Henderson  <rth@redhat.com>
12221
12222         * locale/programs/locarchive.c: Include <libc-internal.h>
12223
12224 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
12225
12226         * manual/texinfo.tex: Update to version 2013-06-21.17, with
12227         trailing whitespace removed.
12228
12229 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12230
12231         [BZ #10283]
12232         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12233         * locale/programs/locarchive.c: Include libc-mmap.h.
12234         (prepare_address_space): Take two new outputs (the mmap base and len).
12235         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
12236         values.
12237         (create_archive): Declare new mmap base and len values for
12238         prepare_address_space, and store the result in ah.
12239         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12240         (enlarge_archive): If ah->mmap_base is not NULL, use that and
12241         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12242         Declare new mmap base and len values for
12243         prepare_address_space, and store the result in new_ah.
12244         (open_archive): Declare new mmap base and len values for
12245         prepare_address_space, and store the result in ah.
12246         (close_archive): If ah->mmap_base is not NULL, use that and
12247         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12248         * sysdeps/generic/libc-mmap.h: New file.
12249
12250 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12251
12252         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12253         (ALIGN_UP): Likewise.
12254         (PTR_ALIGN_DOWN): Likewise.
12255         (PTR_ALIGN_UP): Likewise.
12256
12257 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12258
12259         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12260         entry mapped to PPC_PLATFORM_POWER8.
12261         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12262         POWER8.
12263         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12264         (_dl_string_platform): Add case for exporting platform position for
12265         POWER8.
12266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12267         search path to sysdeps/powerpc/powerpc32/power8 directory.
12268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12269         search path to sysdeps/powerpc/powerpc64/power8 directory.
12270         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12271         power7 directories.
12272         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12273         power7 directories.
12274
12275 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12276
12277         * INSTALL: Regenerate.
12278
12279         * nscd/connections.c (nscd_init): Fix comment.
12280
12281 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
12282
12283         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12284
12285         [BZ #15667]
12286         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12287         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12288
12289 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12290
12291         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12292         DL_DST_REQ_STATIC.
12293         (DL_DST_REQ_STATIC): Remove macro.
12294
12295 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
12296
12297         [BZ #7006]
12298         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12299         with a shift of 0 bits.
12300
12301 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12302
12303         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12304         $(tststatic-ENV).
12305
12306 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12307
12308         [BZ #15655]
12309         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12310
12311 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12312
12313         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12314         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12315         accepts -fno-tree-loop-distribute-patterns.
12316         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12317         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12318         recursive call.
12319         * string/memset.c (memset): Likewise.
12320         * string/test-memmove.c (simple_memmove): Disable loop transformation
12321         to library calls.
12322         * string/test-memset.c (simple_memset): Likewise.
12323         * benchtests/bench-memmove.c (simple_memmove): Likewise.
12324         * benchtests/bench-memset.c (simple_memset): Likewise.
12325         * configure: Regenerated.
12326
12327 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
12328
12329         * math/test-misc.c (main): Ignore fesetround failure when failures
12330         of subsequent rounding tests would be ignored.
12331
12332         [BZ #15654]
12333         * math/fedisblxcpt.c (fedisableexcept): Return 0.
12334         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12335         * math/fegetenv.c (__fegetenv): Return 0.
12336         * math/fegetexcept.c (fegetexcept): Return 0.
12337         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12338         FE_TONEAREST.
12339         * math/feholdexcpt.c (feholdexcept): Return 0.
12340         * math/fesetenv.c (__fesetenv): Return 0.
12341         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12342         argument FE_TONEAREST.
12343         * math/feupdateenv.c (__feupdateenv): Return 0.
12344         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12345
12346 2013-06-18  Roland McGrath  <roland@hack.frob.com>
12347
12348         * elf/rtld-Rules (rtld-compile-command.S): New variable.
12349         (rtld-compile-command.s, rtld-compile-command.c): New variables.
12350         ($(objpfx)rtld-%.os rules): Use them.
12351
12352 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12353
12354         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12355         fields.
12356
12357 2013-06-17  Roland McGrath  <roland@hack.frob.com>
12358
12359         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12360         length of target pattern, then descending length of dependency pattern.
12361         * configure.in (AWK): Require gawk 3.1.2 or newer.
12362         * manual/install.texi (Tools for Compilation): Say that we do.
12363         * configure: Regenerated.
12364
12365         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12366         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12367         * scripts/sysd-rules.awk: ... this new script.
12368         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12369         than a glob-style pattern.
12370
12371 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
12372
12373         * math/test-misc.c (main): Do not treat incorrectly rounded
12374         conversions as failure unless ROUNDING_TESTS passes.
12375
12376 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
12377
12378         [BZ #15631]
12379         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12380         restore exception state around main square root computation, then
12381         check for inexactness explicitly.
12382
12383         * math/libm-test.inc (fma_test_data): Add another test.
12384
12385 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12386
12387         * manual/threads.texi (Non-POSIX Extensions): New document
12388         node.  Document pthread_getattr_default_np and
12389         pthread_setattr_default_np.
12390
12391         * Versions.def (libpthread): Add GLIBC_2.18.
12392         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12394         Likewise.
12395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12396         Likewise.
12397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12398         Likewise.
12399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12400         Likewise.
12401         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12402         Likewise.
12403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12404         Likewise.
12405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12406         Likewise.
12407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12408         Likewise.
12409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12410         Likewise.
12411
12412 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12413
12414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12415         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12416
12417 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12418             H.J. Lu  <hjl.tools@gmail.com>
12419
12420         [BZ #15627]
12421         * sysdeps/x86_64/rtld-memset.c: Remove file.
12422         * sysdeps/x86_64/rtld-memset.S: New file.
12423
12424 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
12425
12426         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12427         (test_in_one_mode): Take arguments for whether the rounding mode
12428         is supported for each floating-point type.
12429         (do_test): Pass new arguments to test_in_one_mode using
12430         ROUNDING_TESTS.
12431
12432 2013-06-13  Roland McGrath  <roland@hack.frob.com>
12433
12434         * posix/tst-waitid.c (do_test): Distinguish different instances of
12435         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
12436         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12437         before entering the kernel for waitpid.
12438
12439 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12440
12441         * NEWS: Fix note on clock function precision.  Text by Roland
12442         McGrath.
12443
12444 2013-06-13  Roland McGrath  <roland@hack.frob.com>
12445
12446         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12447         it into place only when and if the sanity check passes.
12448
12449 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
12450
12451         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12452         output for whether conversion result is exact.  Take argument
12453         indicating whether type is IBM long double.
12454         (round_for_all): Change need_exact field to ibm_ld.
12455         * stdlib/tst-strtod-round.c (struct exactness): New type.
12456         (struct test): Change bool ld_ok field to struct exactness exact.
12457         (TEST): Update all definitions for change to field.
12458         (tests): Regenerate array contents.
12459         (test_in_one_mode): Take pointer to new field instead of old ld_ok
12460         field value.  Check for IBM long double here.
12461         (do_test): Update calls to test_in_one_mode.
12462
12463 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12464
12465         [BZ #12515]
12466         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12467         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12468
12469 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12470
12471         [BZ #15605]
12472         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12473         generated by the compiler on loop optimizations.
12474         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12475         general definitions.
12476
12477 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
12478
12479         * math/bug-nextafter.c: Include <math-tests.h>.
12480         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12481         the relevant type.
12482         * math/bug-nexttoward.c: Include <math-tests.h>.
12483         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12484         the relevant type.
12485         * math/test-misc.c: Include <math-tests.h>.
12486         (main): Only test for exceptions if EXCEPTION_TESTS is true for
12487         the relevant type.
12488
12489 2013-06-12  Andreas Jaeger  <aj@suse.de>
12490
12491         * po/ia.po: Update Interlingua translation from translation
12492         project.
12493
12494 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12495
12496         * include/fenv.h: Include stdbool.h.
12497         (struct rm_ctx): New structure.
12498         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12499         Define macro.
12500         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12501         (SET_RESTORE_ROUNDF): Likewise.
12502         (SET_RESTORE_ROUNDL): Likewise.
12503         (SET_RESTORE_ROUND_NOEX): Likewise.
12504         (SET_RESTORE_ROUND_NOEXF): Likewise.
12505         (SET_RESTORE_ROUND_NOEXL): Likewise.
12506         (SET_RESTORE_ROUND_53BIT): Likewise.
12507         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12508         (libc_feresetround_noexf_ctx): Likewise.
12509         (libc_feresetround_noexl_ctx): Likewise.
12510         (libc_feholdsetround_53bit_ctx): Likewise.
12511         (libc_feresetround_53bit_ctx): Likewise.
12512         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12513         (libc_feholdexcept_setround_sse_ctx): New function.
12514         (libc_fesetenv_sse_ctx): Likewise.
12515         (libc_feupdateenv_sse_ctx): Likewise.
12516         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12517         (libc_feholdexcept_setround_387_ctx): Likewise.
12518         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12519         (libc_feholdsetround_387_prec_ctx): Likewise.
12520         (libc_feholdsetround_387_ctx): Likewise.
12521         (libc_feholdsetround_387_53bit_ctx): Likewise.
12522         (libc_feholdsetround_sse_ctx): Likewise.
12523         (libc_feresetround_sse_ctx): Likewise.
12524         (libc_feresetround_387_ctx): Likewise.
12525         (libc_feupdateenv_387_ctx): Likewise.
12526         (libc_feholdexcept_setroundf_ctx): Define macro.
12527         (libc_fesetenvf_ctx): Likewise.
12528         (libc_feupdateenvf_ctx): Likewise.
12529         (libc_feholdsetroundf_ctx): Likewise.
12530         (libc_feresetroundf_ctx): Likewise.
12531         (libc_feholdexcept_setround_ctx): Likewise.
12532         (libc_fesetenv_ctx): Likewise.
12533         (libc_feupdateenv_ctx): Likewise.
12534         (libc_feholdsetround_ctx): Likewise.
12535         (libc_feresetround_ctx): Likewise.
12536         (libc_feholdexcept_setroundl_ctx): Likewise.
12537         (libc_feupdateenvl_ctx): Likewise.
12538         (libc_feholdsetroundl_ctx): Likewise.
12539         (libc_feresetroundl_ctx): Likewise.
12540         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12541         (libc_feresetround_53bit_ctx): Likewise.
12542
12543 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12544
12545         * locale/iso-639.def: Convert to UTF-8.
12546
12547 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
12548
12549         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12550         (EXCEPTION_TESTS_double): Likewise.
12551         (EXCEPTION_TESTS_long_double): Likewise.
12552         (EXCEPTION_TESTS): Likewise.
12553         * math/libm-test.inc (test_exceptions): Only test exceptions if
12554         EXCEPTION_TESTS (FLOAT).
12555
12556 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12557
12558         * benchtests/Makefile (string-bench): Add strcpy_chk and
12559         stpcpy_chk.
12560         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12561         * benchtests/bench-stpcpy_chk.c: New file.
12562         * benchtests/bench-strcpy_chk-ifunc.c: New file.
12563         * benchtests/bench-strcpy_chk.c: New file.
12564         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12565         code.
12566         (do_test): Likewise.
12567
12568 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12569
12570         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12571         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12572         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12573         with tabs where appropriate.
12574         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12575         dl-procinfo.h.
12576         [PPC_PLATFORM_PPC440]: Likewise.
12577         [PPC_PLATFORM_PPC464]: Likewise.
12578         [PPC_PLATFORM_PPC476]: Likewise.
12579         (_dl_string_platform): Add support for detecting ppc405, ppc440,
12580         ppc464, and ppc476 platform strings merging from ports/
12581         dl-procinfo.h.
12582
12583 2013-06-11  Andreas Schwab  <schwab@suse.de>
12584
12585         [BZ #14991]
12586         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12587         (from_ucs4_idx): Regenerate.
12588         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12589         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12590         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12591         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12592         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12593         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12594         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12595         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12596         from FROM_LOOP and TO_LOOP specific macros.
12597         (BODY): Handle combining characters.
12598         * iconvdata/BIG5HKSCS.irreversible: Update.
12599         * iconvdata/BIG5HKSCS.precomposed: New file.
12600         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12601         characters.
12602         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12603
12604 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12605
12606         * include/sys/time.h: Fix indentation and add copyright header.
12607
12608         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12609         (do_test): Likewise.
12610         * string/test-memchr.c (do_one_test): Likewise.
12611         (do_test): Likewise.
12612         * string/test-memcmp.c (do_one_test): Likewise.
12613         (do_test): Likewise.
12614         * string/test-memcpy.c (do_one_test): Likewise.
12615         (do_test): Likewise.
12616         * string/test-memmem.c (do_one_test): Likewise.
12617         (do_test): Likewise.
12618         (do_random_tests): Likewise.
12619         * string/test-memmove.c (do_one_test): Likewise.
12620         (do_test): Likewise.
12621         * string/test-memset.c (do_one_test): Likewise.
12622         (do_test): Likewise.
12623         * string/test-rawmemchr.c (do_one_test): Likewise.
12624         (do_test): Likewise.
12625         * string/test-strcasecmp.c (do_one_test): Likewise.
12626         (do_test): Likewise.
12627         * string/test-strcasestr.c (do_one_test): Likewise.
12628         (do_test): Likewise.
12629         * string/test-strcat.c (do_one_test): Likewise.
12630         (do_test): Likewise.
12631         * string/test-strchr.c (do_one_test): Likewise.
12632         (do_test): Likewise.
12633         * string/test-strcmp.c (do_one_test): Likewise.
12634         (do_test): Likewise.
12635         * string/test-strcpy.c (do_one_test): Likewise.
12636         (do_test): Likewise.
12637         * string/test-string.h: Likewise.
12638         (test_init): Likewise.
12639         * string/test-strlen.c (do_one_test): Likewise.
12640         (do_test): Likewise.
12641         * string/test-strncasecmp.c (do_one_test): Likewise.
12642         (do_test): Likewise.
12643         * string/test-strncat.c (do_one_test): Likewise.
12644         (do_test): Likewise.
12645         * string/test-strncmp.c (do_one_test): Likewise.
12646         (do_test_limit): Likewise.
12647         (do_test): Likewise.
12648         * string/test-strncpy.c (do_one_test): Likewise.
12649         (do_test): Likewise.
12650         * string/test-strnlen.c (do_one_test): Likewise.
12651         (do_test): Likewise.
12652         * string/test-strpbrk.c (do_one_test): Likewise.
12653         (do_test): Likewise.
12654         * string/test-strrchr.c (do_one_test): Likewise.
12655         (do_test): Likewise.
12656         * string/test-strspn.c (do_one_test): Likewise.
12657         (do_test): Likewise.
12658         * string/test-strstr.c (do_one_test): Likewise.
12659         (do_test): Likewise.
12660
12661         * benchtests/Makefile (string-bench): Add string benchmarks.
12662         * benchtests/bench-bcopy-ifunc.c: New file.
12663         * benchtests/bench-bcopy.c: New file.
12664         * benchtests/bench-bzero-ifunc.c: New file.
12665         * benchtests/bench-bzero.c: New file.
12666         * benchtests/bench-memccpy-ifunc.c: New file.
12667         * benchtests/bench-memccpy.c: New file.
12668         * benchtests/bench-memchr-ifunc.c: New file.
12669         * benchtests/bench-memchr.c: New file.
12670         * benchtests/bench-memcmp-ifunc.c: New file.
12671         * benchtests/bench-memcmp.c: New file.
12672         * benchtests/bench-memmem-ifunc.c: New file.
12673         * benchtests/bench-memmem.c: New file.
12674         * benchtests/bench-memmove-ifunc.c: New file.
12675         * benchtests/bench-memmove.c: New file.
12676         * benchtests/bench-mempcpy-ifunc.c: New file.
12677         * benchtests/bench-mempcpy.c: New file.
12678         * benchtests/bench-memset-ifunc.c: New file.
12679         * benchtests/bench-memset.c: New file.
12680         * benchtests/bench-rawmemchr-ifunc.c: New file.
12681         * benchtests/bench-rawmemchr.c: New file.
12682         * benchtests/bench-stpcpy-ifunc.c: New file.
12683         * benchtests/bench-stpcpy.c: New file.
12684         * benchtests/bench-stpncpy-ifunc.c: New file.
12685         * benchtests/bench-stpncpy.c: New file.
12686         * benchtests/bench-strcasecmp-ifunc.c: New file.
12687         * benchtests/bench-strcasecmp.c: New file.
12688         * benchtests/bench-strcasestr-ifunc.c: New file.
12689         * benchtests/bench-strcasestr.c: New file.
12690         * benchtests/bench-strcat-ifunc.c: New file.
12691         * benchtests/bench-strcat.c: New file.
12692         * benchtests/bench-strchr-ifunc.c: New file.
12693         * benchtests/bench-strchr.c: New file.
12694         * benchtests/bench-strchrnul-ifunc.c: New file.
12695         * benchtests/bench-strchrnul.c: New file.
12696         * benchtests/bench-strcmp-ifunc.c: New file.
12697         * benchtests/bench-strcmp.c: New file.
12698         * benchtests/bench-strcpy-ifunc.c: New file.
12699         * benchtests/bench-strcpy.c: New file.
12700         * benchtests/bench-strcspn-ifunc.c: New file.
12701         * benchtests/bench-strcspn.c: New file.
12702         * benchtests/bench-strlen-ifunc.c: New file.
12703         * benchtests/bench-strlen.c: New file.
12704         * benchtests/bench-strncasecmp-ifunc.c: New file.
12705         * benchtests/bench-strncasecmp.c: New file.
12706         * benchtests/bench-strncat-ifunc.c: New file.
12707         * benchtests/bench-strncat.c: New file.
12708         * benchtests/bench-strncmp-ifunc.c: New file.
12709         * benchtests/bench-strncmp.c: New file.
12710         * benchtests/bench-strncpy-ifunc.c: New file.
12711         * benchtests/bench-strncpy.c: New file.
12712         * benchtests/bench-strnlen-ifunc.c: New file.
12713         * benchtests/bench-strnlen.c: New file.
12714         * benchtests/bench-strpbrk-ifunc.c: New file.
12715         * benchtests/bench-strpbrk.c: New file.
12716         * benchtests/bench-strrchr-ifunc.c: New file.
12717         * benchtests/bench-strrchr.c: New file.
12718         * benchtests/bench-strspn-ifunc.c: New file.
12719         * benchtests/bench-strspn.c: New file.
12720         * benchtests/bench-strstr-ifunc.c: New file.
12721         * benchtests/bench-strstr.c: New file.
12722
12723         * benchtests/Makefile: Disable parallel execution of targets.
12724         (string-bench): Add memcpy.
12725         (benchset): New variable to store a list of benchmark sets.
12726         (bench-func): Renamed from bench.
12727         (bench-set): New target.
12728         (bench): Depend on bench-func and bench-set.
12729         * benchtests/README: Add section on benchmark sets.
12730         * benchtests/bench-memcpy-ifunc.c: New file.
12731         * benchtests/bench-memcpy.c: New file.
12732         * benchtests/bench-string.h: New file.
12733
12734 2013-06-11  Andreas Schwab  <schwab@suse.de>
12735
12736         [BZ #15577]
12737         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12738         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12739         values in the triple.
12740         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12741         terminator in the group key.
12742
12743 2013-06-11  Andreas Jaeger  <aj@suse.de>
12744
12745         * po/zh_TW.po: Update Chinese (traditional) translation from
12746         translation project.
12747
12748 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12749
12750         * include/time.h (__clock_gettime): Add libc_hidden_proto.
12751         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12752         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
12753         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12754         (clock_getcpuclockid): Likewise.
12755         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12756         Add weak_alias and libc_hidden_def.
12757         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12758         * rt/clock_gettime.c (clock_gettime): Rename to
12759         __clock_gettime.  Add weak_alias and libc_hidden_def.
12760         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12761         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12762         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
12763         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12764         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12765         Likewise.
12766         * rt/clock_settime.c (clock_settime): Rename to
12767         __clock_settime.  Add weak_alias and libc_hidden_def.
12768         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12769
12770 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
12771
12772         * mach/err_boot.sub: Remove trailing whitespace.
12773         * mach/err_ipc.sub: Likewise.
12774         * mach/err_mach.sub: Likewise.
12775
12776         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12777         (ROUNDING_TESTS_double): Likewise.
12778         (ROUNDING_TESTS_long_double): Likewise.
12779         (ROUNDING_TESTS): Likewise.
12780         * math/libm-test.inc: Include <math-tests.h>.
12781         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12782         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12783         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12784         (IF_ROUND_INIT_FE_UPWARD): Likewise.
12785
12786 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12787
12788         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12789         of assigning.
12790
12791 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
12792
12793         * sysdeps/gnu/errlist.awk: Do not generate space at end of
12794         otherwise empty TRANS lines.
12795         * sysdeps/gnu/errlist.c: Regenerated.
12796
12797         * catgets/gencat.c (error_print): Use (void) in function
12798         definition.
12799         * crypt/crypt_util.c (__init_des): Likewise.
12800         * crypt/speeds.c (Stop): Likewise.
12801         (main): Likewise.
12802         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12803         * inet/ruserpass.c (token): Likewise.
12804         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12805         * intl/localealias.c (extend_alias_table): Likewise.
12806         * intl/plural-exp.c (init_germanic_plural): Likewise.
12807         * libio/fcloseall.c (__fcloseall): Likewise.
12808         * libio/genops.c (_IO_flush_all): Likewise.
12809         (_IO_flush_all_linebuffered): Likewise.
12810         (_IO_cleanup): Likewise.
12811         (_IO_iter_begin): Likewise.
12812         (_IO_iter_end): Likewise.
12813         (_IO_list_lock): Likewise.
12814         (_IO_list_unlock): Likewise.
12815         (_IO_list_resetlock): Likewise.
12816         * libio/getchar.c (getchar): Likewise.
12817         * libio/getchar_u.c (getchar_unlocked): Likewise.
12818         * libio/getwchar.c (getwchar): Likewise.
12819         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12820         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12821         * login/getpt.c (__getpt): Likewise.
12822         * login/tst-utmp.c (main): Likewise.
12823         * malloc/hooks.c (__malloc_check_init): Likewise.
12824         * malloc/malloc.c (__malloc_stats): Likewise.
12825         * malloc/mtrace.c (tr_break): Likewise.
12826         (mtrace): Likewise.
12827         (muntrace): Likewise.
12828         * misc/fstab.c (endfsent): Likewise.
12829         * misc/getclktck.c (__getclktck): Likewise.
12830         * misc/getdtsz.c (__getdtablesize): Likewise.
12831         * misc/gethostid.c (gethostid): Likewise.
12832         * misc/getpagesize.c (__getpagesize): Likewise.
12833         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12834         (__get_nprocs): Likewise.
12835         (__get_phys_pages): Likewise.
12836         (__get_avphys_pages): Likewise.
12837         * misc/getttyent.c (getttyent): Likewise.
12838         (setttyent): Likewise.
12839         (endttyent): Likewise.
12840         * misc/getusershell.c (getusershell): Likewise.
12841         (endusershell): Likewise.
12842         (setusershell): Likewise.
12843         (initshells): Likewise.
12844         * misc/hsearch.c (__hdestroy): Likewise.
12845         * misc/sync.c (sync): Likewise.
12846         * misc/syslog.c (closelog_internal): Likewise.
12847         (closelog): Likewise.
12848         * misc/ttyslot.c (ttyslot): Likewise.
12849         * misc/vhangup.c (vhangup): Likewise.
12850         * posix/fork.c (__fork): Likewise.
12851         * posix/getegid.c (__getegid): Likewise.
12852         * posix/geteuid.c (__geteuid): Likewise.
12853         * posix/getgid.c (__getgid): Likewise.
12854         * posix/getpid.c (__getpid): Likewise.
12855         * posix/getppid.c (__getppid): Likewise.
12856         * posix/getuid.c (__getuid): Likewise.
12857         * posix/pause.c (pause): Likewise.
12858         * posix/setpgrp.c (setpgrp): Likewise.
12859         * posix/setsid.c (__setsid): Likewise.
12860         * posix/test-vfork.c (noop): Likewise.
12861         * resolv/gethnamaddr.c (_endhtent): Likewise.
12862         (_gethtent): Likewise.
12863         (ht_endhostent): Likewise.
12864         (gethostent): Likewise.
12865         (dns_service): Likewise.
12866         * stdlib/drand48.c (drand48): Likewise.
12867         * stdlib/lrand48.c (lrand48): Likewise.
12868         * stdlib/mrand48.c (mrand48): Likewise.
12869         * stdlib/rand.c (rand): Likewise.
12870         * stdlib/random.c (__random): Likewise.
12871         * stdlib/setenv.c (clearenv): Likewise.
12872         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12873         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12874         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12875         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12876         (__get_nprocs): Likewise.
12877         (__get_phys_pages): Likewise.
12878         (__get_avphys_pages): Likewise.
12879         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12880         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12881         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12882         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12883         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12884         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12885         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12886         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12887         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12888         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12889         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12890         * sysdeps/mach/hurd/sync.c (sync): Likewise.
12891         * sysdeps/posix/clock.c (clock): Likewise.
12892         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12893         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12894         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12895         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12896         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12897         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12898         (__get_nprocs_conf): Likewise.
12899         (__get_phys_pages): Likewise.
12900         (__get_avphys_pages): Likewise.
12901         * time/clock.c (clock): Likewise.
12902         * time/tzset.c (__tzname_max): Likewise.
12903
12904 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
12905
12906         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12907         (__bswap_32): Do not use "register".
12908         * crypt/crypt.c (_ufc_doit_r): Likewise.
12909         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12910         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12911         * gmon/gmon.c (__monstartup): Likewise.
12912         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12913         * hurd/hurdmalloc.c (more_memory): Likewise.
12914         (malloc): Likewise.
12915         (free): Likewise.
12916         (realloc): Likewise.
12917         (malloc_fork_prepare): Likewise.
12918         (malloc_fork_parent): Likewise.
12919         (malloc_fork_child): Likewise.
12920         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12921         (_svcauth_des): Likewise.
12922         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12923         * inet/inet_net.c (inet_network): Likewise.
12924         * inet/inet_netof.c (inet_netof): Likewise.
12925         * inet/rcmd.c (__validuser2_sa): Likewise.
12926         * io/fts.c (fts_open): Likewise.
12927         (fts_load): Likewise.
12928         (fts_close): Likewise.
12929         (fts_read): Likewise.
12930         (fts_children): Likewise.
12931         (fts_build): Likewise.
12932         (fts_stat): Likewise.
12933         (fts_sort): Likewise.
12934         (fts_alloc): Likewise.
12935         (fts_lfree): Likewise.
12936         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12937         (_IO_file_xsgetn): Likewise.
12938         (_IO_file_xsgetn_mmap): Likewise.
12939         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12940         (_IO_cookie_write): Likewise.
12941         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12942         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12943         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12944         * malloc/obstack.c (_obstack_begin): Likewise.
12945         (_obstack_begin_1): Likewise.
12946         (_obstack_newchunk): Likewise.
12947         (_obstack_allocated_p): Likewise.
12948         (obstack_free): Likewise.
12949         (_obstack_memory_used): Likewise.
12950         * misc/getttyent.c (getttynam): Likewise.
12951         (getttyent): Likewise.
12952         (skip): Likewise.
12953         (value): Likewise.
12954         * misc/getusershell.c (initshells): Likewise.
12955         * misc/syslog.c (__vsyslog_chk): Likewise.
12956         * misc/ttyslot.c (ttyslot): Likewise.
12957         * nis/nis_hash.c (__nis_hash): Likewise.
12958         * posix/fnmatch_loop.c (FCT): Likewise.
12959         * posix/getconf.c (print_all): Likewise.
12960         (main): Likewise.
12961         * posix/getopt.c (exchange): Likewise.
12962         * posix/glob.c (globfree): Likewise.
12963         (prefix_array): Likewise.
12964         (__glob_pattern_type): Likewise.
12965         * resolv/arpa/nameser.h (NS_GET16): Likewise.
12966         (NS_GET32): Likewise.
12967         (NS_PUT16): Likewise.
12968         (NS_PUT32): Likewise.
12969         * resolv/gethnamaddr.c (getanswer): Likewise.
12970         (gethostbyname2): Likewise.
12971         (gethostbyaddr): Likewise.
12972         (_gethtent): Likewise.
12973         (_gethtbyname2): Likewise.
12974         (_gethtbyaddr): Likewise.
12975         * resolv/ns_print.c (dst_s_get_int16): Likewise.
12976         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12977         * resolv/res_init.c (__res_vinit): Likewise.
12978         (net_mask): Likewise.
12979         * resolv/res_mkquery.c (outchar): Likewise.
12980         (PRINT): Likewise.
12981         * stdio-common/printf_fp.c (outchar): Likewise.
12982         (PRINT): Likewise.
12983         * stdio-common/printf_fphex.c (outchar): Likewise.
12984         (PRINT): Likewise.
12985         * stdio-common/printf_size.c (outchar): Likewise.
12986         (PRINT): Likewise.
12987         * stdio-common/test_rdwr.c (main): Likewise.
12988         * stdio-common/tfformat.c (matches): Likewise.
12989         * stdio-common/vfprintf.c (outchar): Likewise.
12990         (printf_unknown): Likewise.
12991         (buffered_vfprintf): Likewise.
12992         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12993         * stdio-common/xbug.c (AppendToBuffer): Likewise.
12994         (ReadFile): Likewise.
12995         * stdlib/qsort.c (SWAP): Likewise.
12996         (_quicksort): Likewise.
12997         * stdlib/setenv.c (__add_to_environ): Likewise.
12998         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12999         * stdlib/strtol_l.c (__strtol_l): Likewise.
13000         * stdlib/tst-strtod.c (main): Likewise.
13001         * stdlib/tst-strtol.c (main): Likewise.
13002         * stdlib/tst-strtoll.c (main): Likewise.
13003         * string/bits/string2.h (__strcmp_cc): Likewise.
13004         (__strcmp_cg): Likewise.
13005         (__strcspn_c1): Likewise.
13006         (__strcspn_c2): Likewise.
13007         (__strcspn_c3): Likewise.
13008         (__strspn_c1): Likewise.
13009         (__strspn_c2): Likewise.
13010         (__strspn_c3): Likewise.
13011         (__strsep_1c): Likewise.
13012         (__strsep_2c): Likewise.
13013         (__strsep_3c): Likewise.
13014         * string/memccpy.c (__memccpy): Likewise.
13015         * string/stpcpy.c (__stpcpy): Likewise.
13016         * string/strcmp.c (strcmp): Likewise.
13017         * string/strrchr.c (strrchr): Likewise.
13018         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13019         Likewise.
13020         * sysdeps/mach/hurd/getcwd.c
13021         (_hurd_canonicalize_directory_name_internal): Likewise.
13022         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13023         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13024         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13025         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13026         Likewise, in both definitions.
13027         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13028         definitions.
13029         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13030         64] (__bswap_64): Likewise.
13031         * time/test_time.c (main): Likewise.
13032         * time/tzfile.c (__tzfile_read): Likewise.
13033         (__tzfile_compute): Likewise.
13034         * time/tzset.c (__tzset_parse_tz): Likewise.
13035         (tzset_internal): Likewise.
13036         (compute_change): Likewise.
13037         * wcsmbs/wcscat.c (__wcscat): Likewise.
13038         * wcsmbs/wcschr.c (wcschr): Likewise.
13039         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13040         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13041         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13042         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13043         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13044         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13045         * wcsmbs/wmemchr.c (wmemchr): Likewise.
13046         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13047         * wcsmbs/wmemset.c (wmemset): Likewise.
13048
13049 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
13050
13051         * scripts/config.guess: Update to version 2013-05-16.
13052         * scripts/config.sub: Update to version 2013-04-24.
13053         * scripts/install-sh: Update to version 2011-11-20.07.
13054         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13055         * scripts/move-if-change: Update to version 2012-01-06 07:23.
13056
13057 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
13058
13059         * debug/fgetws_u_chk.c: Fix leading whitespaces.
13060         * elf/sln.c: Likewise.
13061         * hurd/hurd/ioctl.h: Likewise.
13062         * hurd/hurdmalloc.c: Likewise.
13063         * hurd/xattr.c: Likewise.
13064         * include/shlib-compat.h: Likewise.
13065         * inet/ruserpass.c: Likewise.
13066         * libio/iofgets_u.c: Likewise.
13067         * libio/iofgetws_u.c: Likewise.
13068         * locale/programs/ld-identification.c: Likewise.
13069         * locale/programs/ld-time.c: Likewise.
13070         * mach/msg-destroy.c: Likewise.
13071         * nss/nss_files/files-netgrp.c: Likewise.
13072         * resolv/res_data.c: Likewise.
13073         * soft-fp/op-1.h: Likewise.
13074         * soft-fp/op-2.h: Likewise.
13075         * soft-fp/op-4.h: Likewise.
13076         * soft-fp/op-common.h: Likewise.
13077         * stdio-common/printf_fphex.c: Likewise.
13078         * stdlib/strtod_l.c: Likewise.
13079         * sunrpc/rpc/clnt.h: Likewise.
13080         * sysdeps/generic/framestate.c: Likewise.
13081         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13082         * sysdeps/i386/bsd-setjmp.S: Likewise.
13083         * sysdeps/i386/__longjmp.S: Likewise.
13084         * sysdeps/i386/setjmp.S: Likewise.
13085         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13086         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13087         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13088         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13089         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13090         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13091         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13092         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13093         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13094         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13095         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13096         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13097         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13098         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13099         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13100         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13101         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13102         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13103         * sysdeps/ieee754/support.c: Likewise.
13104         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13105         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13106         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13107         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13108         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13109         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13110         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13111         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13112         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13113         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13114         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13115         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13116         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13117         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13118         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13119         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13120         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13122
13123 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
13124
13125         * posix/transbug.c: Remove executable mode.
13126
13127 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
13128
13129         * crypt/speeds.c: Remove trailing whitespace.
13130         * dlfcn/default.c: Likewise.
13131         * elf/ifuncdep2.c: Likewise.
13132         * elf/ifuncmain1.c: Likewise.
13133         * elf/ifuncmain1vis.c: Likewise.
13134         * elf/testobj.h: Likewise.
13135         * elf/tst-stackguard1.c: Likewise.
13136         * gmon/sys/gmon.h: Likewise.
13137         * hurd/hurdmsg.c: Likewise.
13138         * hurd/new-fd.c: Likewise.
13139         * hurd/ports-get.c: Likewise.
13140         * iconvdata/ibm1008_420.c: Likewise.
13141         * inet/tst-getni1.c: Likewise.
13142         * inet/tst-getni2.c: Likewise.
13143         * libio/ioungetc.c: Likewise.
13144         * libio/wfiledoalloc.c: Likewise.
13145         * manual/libm-err-tab.pl: Likewise.
13146         * math/w_dremf.c: Likewise.
13147         * misc/ftruncate.c: Likewise.
13148         * posix/bug-glob2.c: Likewise.
13149         * posix/tst-pcre.c: Likewise.
13150         * posix/wait4.c: Likewise.
13151         * resolv/README: Likewise.
13152         * resolv/res_debug.h: Likewise.
13153         * resolv/tst-inet_ntop.c: Likewise.
13154         * setjmp/bug269-setjmp.c: Likewise.
13155         * soft-fp/extended.h: Likewise.
13156         * soft-fp/op-1.h: Likewise.
13157         * soft-fp/op-2.h: Likewise.
13158         * soft-fp/op-4.h: Likewise.
13159         * soft-fp/op-8.h: Likewise.
13160         * soft-fp/testit.c: Likewise.
13161         * stdio-common/bug16.c: Likewise.
13162         * stdlib/random.c: Likewise.
13163         * sunrpc/rpcsvc/rquota.x: Likewise.
13164         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13165         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13166         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13167         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13168         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13169         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13170         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13171         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13172         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13173         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13174         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13175         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13176         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13177         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13178         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13179         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13180         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13181         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13182         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13183         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13184         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13185         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13186         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13187         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13188         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13189         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13190         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13191         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13192         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13193         * sysdeps/ieee754/s_lib_version.c: Likewise.
13194         * sysdeps/mach/hurd/check_fds.c: Likewise.
13195         * sysdeps/mach/hurd/getsockname.c: Likewise.
13196         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13197         * sysdeps/mach/hurd/recvfrom.c: Likewise.
13198         * sysdeps/powerpc/bits/link.h: Likewise.
13199         * sysdeps/powerpc/dl-procinfo.c: Likewise.
13200         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13201         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13202         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13203         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13204         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13205         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13206         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13207         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13208         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13209         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13210         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13211         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13212         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13213         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13214         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13215         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13216         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13217         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13218         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13219         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13220         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13221         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13222         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13223         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13224         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13225         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13226         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13227         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13228         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13229         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13230         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13231         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13232         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13233         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13234         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13235         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13236         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13237         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13238         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13239         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13240         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13241         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13242         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13243         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13244         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13245         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13246         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13247         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13248         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13249         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13250         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13251         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13252         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13253         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13254         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13255         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13256         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13257         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13258         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13259         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13260         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13261         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13262         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13263         * sysdeps/powerpc/sysdep.h: Likewise.
13264         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13265         * sysdeps/s390/s390-64/sub_n.S: Likewise.
13266         * sysdeps/sh/dl-trampoline.S: Likewise.
13267         * sysdeps/sh/memset.S: Likewise.
13268         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13269         * sysdeps/sh/strlen.S: Likewise.
13270         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13271         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13272         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13273         * sysdeps/sparc/sparc32/rem.S: Likewise.
13274         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13275         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13276         * sysdeps/sparc/sparc32/strchr.S: Likewise.
13277         * sysdeps/sparc/sparc32/udiv.S: Likewise.
13278         * sysdeps/sparc/sparc32/urem.S: Likewise.
13279         * sysdeps/sparc/sparc64/add_n.S: Likewise.
13280         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13281         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13282         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13283         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13284         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13285         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13286         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13287         * sysdeps/unix/bsd/times.c: Likewise.
13288         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13289         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13293         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13294         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13295         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13296         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13297         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13298         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13299         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13300         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13301         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13302         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13303         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13304         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13305         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13306         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13307         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13308         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13309         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13310         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13311         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13312         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13313         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13314         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13315         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13316         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13317         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13318         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13319         * sysdeps/x86_64/strcspn.S: Likewise.
13320
13321 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13322
13323         * locale/C-translit.h: Revert #include <stdint.h> because this is a
13324         generated file.  Regenerate properly from gen-translit.pl.
13325         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
13326         locale/C-translit.h.
13327
13328 2013-06-05  Andreas Schwab  <schwab@suse.de>
13329
13330         [BZ #15100]
13331         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13332         week as 6 instead of -1.
13333         * time/tst-strptime.c (day_tests): Add test case.
13334
13335 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13336
13337         * sysdeps/generic/math_private.h
13338         (libc_feholdexcept_setround_53bit): Replace with
13339         libc_feholdsetround_53bit.
13340         (libc_feupdateenv_53bit): Replace with
13341         libc_feresetround_53bit.
13342         (SET_RESTORE_ROUND_53BIT): Adjust.
13343
13344 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13345
13346         * string/test-strchrnul.c: Add copyright header.
13347
13348         * posix/tst-getaddrinfo4.c: Increase test timeout.
13349
13350 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
13351
13352         [BZ #15536]
13353         * math/libm-test.inc (MAX_EXP): Remove
13354         (MIN_EXP): Define.
13355         (ulp): Use MIN_EXP - MANT_DIG.
13356         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13357
13358 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
13359
13360         * po/be.po: Revert last change.
13361         * po/zh_CN.po: Likewise.
13362         * po/header.pot: Likewise.
13363
13364 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
13365
13366         * Makefile ($(common-objpfx)linkobj/libc.so): Define
13367         link-libc-deps to empty as target-specific variable.
13368         * Makerules (link-libc-args): New variable.
13369         (libc-for-link): Likewise.
13370         (link-libc-deps): Likewise.
13371         (lib%.so): Depend on $(link-libc-deps).  Link with
13372         $(link-libc-args).
13373         (build-module): Link with $(link-libc-args).
13374         (build-module-asneeded): Likewise.
13375         (build-module-helper-objlist): Filter out $(link-libc-deps) from
13376         list of objects.
13377         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13378         target-specific variable.
13379         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13380         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13381         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13382         libc.
13383         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13384         libc and ld.so.
13385         ($(objpfx)libpcprofile.so): Likewise.
13386         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13387         libc_nonshared.a.
13388         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13389         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13390         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13391         $(link-libc-deps).
13392         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13393         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13394         * login/Makefile ($(objpfx)libutil.so): Likewise.
13395         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13396         * math/Makefile ($(objpfx)libm.so): Likewise.
13397         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13398         $(objpfx)libnsl.so): Define libc-for-link as target-specific
13399         variable instead of depending directly on libc.
13400         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13401         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13402         $(link-libc-deps).
13403         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13404         libc.
13405         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13406         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13407         ($(objpfx)libanl.so): Likewise.
13408         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13409         ld.so.
13410         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13411         $(link-libc-deps).
13412         * sysdeps/i386/fpu/Makefile: Remove file.
13413         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13414         ($(objpfx)libm.so): Remove dependency on ld.so.
13415
13416 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
13417
13418         [BZ # 15553]
13419         * nis/yp_xdr.c (XDRMAXNAME): Define.
13420         (XDRMAXRECORD): Define.
13421         (xdr_domainname): Use XDRMAXNAME.
13422         (xdr_mapname): Likewise.
13423         (xdr_peername): Likewise.
13424         (xdr_keydat): Use XDRMAXRECORD.
13425         (xdr_valdat): Likewise.
13426
13427 2013-05-30  Jeff Law  <law@redhat.com>
13428
13429         [BZ #14256]
13430         * manual/errno.texi (ESTALE): Update to account for more than
13431         just NFS file systems.
13432         * sysdeps/gnu/errlist.c: Regenerated.
13433
13434 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13435
13436         [BZ #15465]
13437         * elf/Makefile (tests): Add tst-null-argv.
13438         (modules-names):  Add tst-null-argv-lib.
13439         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13440         (tst-null-argv-ENV): Set environment for tst-null-argv.
13441         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13442         (RTLD_PROGNAME): New macro.
13443         * elf/tst-null-argv.c: New test case.
13444         * elf/tst-null-argv-lib.c: Library for test case.
13445         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13446         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13447         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13448         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13449         * elf/dl-init.c (call_init): Likewise.
13450         (_dl_init): Likewise.
13451         * elf/dl-load.c (print_search_path): Likewise.
13452         (_dl_map_object): Likewise.
13453         * elf/dl-lookup.c (do_lookup_x): Likewise.
13454         (add_dependency): Likewise.
13455         (_dl_lookup_symbol_x): Likewise.
13456         (_dl_debug_bindings): Likewise.
13457         * elf/dl-open.c (_dl_show_scope): Likewise.
13458         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13459         * elf/dl-version.c (match_symbol): Likewise.
13460         (_dl_check_map_versions): Likewise.
13461         * elf/rtld.c (dl_main): Likewise.
13462         (print_unresolved): Use RTLD_PROGNAME.
13463         (print_missing_version): Likewise.
13464         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13465         (elf_machine_rela): Likewise.
13466         * sysdeps/powerpc/powerpc32/dl-machine.c
13467         (__process_machine_rela): Likewise.
13468         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13469         Likewise.
13470         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13471         Likewise.
13472         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13473         Likewise.
13474         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13475         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13476         Likewise.
13477         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13478         Likewise.
13479         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13480
13481 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
13482
13483         * po/be.po: Add descriptive title.
13484         * po/zh_CN.po: Likewise.
13485         * po/header.pot: Likewise.
13486
13487 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
13488
13489         * locale/programs/locarchive.c (create_archive): Inlucde fname in
13490         error message.
13491         (enlarge_archive): Likewise.
13492
13493 2013-05-28  Ben North  <ben@redfrontdoor.org>
13494
13495         * manual/arith.texi (frexp): It is the magnitude of the return
13496         value which lies in [0.5, 1), not the return value itself.
13497
13498 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13499
13500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13501
13502 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
13503
13504         * stdio-common/bug26.c (main): Correct fscanf template.
13505
13506         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13507         declare _dl_skip_args.
13508
13509         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13510         Don't declare.
13511
13512         * manual/platform.texi: Add missing @end deftypefun.
13513
13514 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
13515
13516         [BZ #15529]
13517         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13518         bit of mantissa of 2^16382.
13519         * math/libm-test.inc (hypot_test_data): Add more tests.
13520
13521         * math/libm-test.inc: Add drem and pow10 to list of tested
13522         functions.
13523         (pow10_test): New function.
13524         (drem_test): Likewise.
13525         (drem_test_tonearest): Likewise.
13526         (drem_test_towardzero): Likewise.
13527         (drem_test_downward): Likewise.
13528         (drem_test_upward): Likewise.
13529         (main): Call the new functions.
13530
13531         * math/libm-test.inc (finite_test_data): Remove.
13532         (finite_test): Run tests from isfinite_test_data.
13533         (gamma_test_data): Remove.
13534         (gamma_test): Run tests from lgamma_test_data.
13535         * sysdeps/i386/fpu/libm-test-ulps: Update.
13536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13537
13538 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13539
13540         * manual/platform.texi: Add PowerPC PPR function set documentation.
13541         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13542         implementation.
13543
13544 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
13545
13546         * math/libm-test.inc (MAX_EXP): Define.
13547         (ULPDIFF): Define.
13548         (ulp): New function.
13549         (check_float_internal): Use ULPDIFF.
13550         (cpow_test): Disable failing test.
13551         (check_ulp): Test ulp() implemetnation.
13552         (main): Call check_ulp before starting tests.
13553
13554 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
13555
13556         * math/gen-libm-test.pl (generate_testfile): Do not handle
13557         START_DATA and END_DATA.
13558         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13559         END_DATA.
13560         (acos_tonearest_test_data): Likewise.
13561         (acos_towardzero_test_data): Likewise.
13562         (acos_downward_test_data): Likewise.
13563         (acos_upward_test_data): Likewise.
13564         (acosh_test_data): Likewise.
13565         (asin_test_data): Likewise.
13566         (asin_tonearest_test_data): Likewise.
13567         (asin_towardzero_test_data): Likewise.
13568         (asin_downward_test_data): Likewise.
13569         (asin_upward_test_data): Likewise.
13570         (asinh_test_data): Likewise.
13571         (atan_test_data): Likewise.
13572         (atanh_test_data): Likewise.
13573         (atan2_test_data): Likewise.
13574         (cabs_test_data): Likewise.
13575         (cacos_test_data): Likewise.
13576         (cacosh_test_data): Likewise.
13577         (carg_test_data): Likewise.
13578         (casin_test_data): Likewise.
13579         (casinh_test_data): Likewise.
13580         (catan_test_data): Likewise.
13581         (catanh_test_data): Likewise.
13582         (cbrt_test_data): Likewise.
13583         (ccos_test_data): Likewise.
13584         (ccosh_test_data): Likewise.
13585         (ceil_test_data): Likewise.
13586         (cexp_test_data): Likewise.
13587         (cimag_test_data): Likewise.
13588         (clog_test_data): Likewise.
13589         (clog10_test_data): Likewise.
13590         (conj_test_data): Likewise.
13591         (copysign_test_data): Likewise.
13592         (cos_test_data): Likewise.
13593         (cos_tonearest_test_data): Likewise.
13594         (cos_towardzero_test_data): Likewise.
13595         (cos_downward_test_data): Likewise.
13596         (cos_upward_test_data): Likewise.
13597         (cosh_test_data): Likewise.
13598         (cosh_tonearest_test_data): Likewise.
13599         (cosh_towardzero_test_data): Likewise.
13600         (cosh_downward_test_data): Likewise.
13601         (cosh_upward_test_data): Likewise.
13602         (cpow_test_data): Likewise.
13603         (cproj_test_data): Likewise.
13604         (creal_test_data): Likewise.
13605         (csin_test_data): Likewise.
13606         (csinh_test_data): Likewise.
13607         (csqrt_test_data): Likewise.
13608         (ctan_test_data): Likewise.
13609         (ctan_tonearest_test_data): Likewise.
13610         (ctan_towardzero_test_data): Likewise.
13611         (ctan_downward_test_data): Likewise.
13612         (ctan_upward_test_data): Likewise.
13613         (ctanh_test_data): Likewise.
13614         (ctanh_tonearest_test_data): Likewise.
13615         (ctanh_towardzero_test_data): Likewise.
13616         (ctanh_downward_test_data): Likewise.
13617         (ctanh_upward_test_data): Likewise.
13618         (erf_test_data): Likewise.
13619         (erfc_test_data): Likewise.
13620         (exp_test_data): Likewise.
13621         (exp_tonearest_test_data): Likewise.
13622         (exp_towardzero_test_data): Likewise.
13623         (exp_downward_test_data): Likewise.
13624         (exp_upward_test_data): Likewise.
13625         (exp10_test_data): Likewise.
13626         (exp2_test_data): Likewise.
13627         (expm1_test_data): Likewise.
13628         (fabs_test_data): Likewise.
13629         (fdim_test_data): Likewise.
13630         (finite_test_data): Likewise.
13631         (floor_test_data): Likewise.
13632         (fma_test_data): Likewise.
13633         (fma_towardzero_test_data): Likewise.
13634         (fma_downward_test_data): Likewise.
13635         (fma_upward_test_data): Likewise.
13636         (fmax_test_data): Likewise.
13637         (fmin_test_data): Likewise.
13638         (fmod_test_data): Likewise.
13639         (fpclassify_test_data): Likewise.
13640         (frexp_test_data): Likewise.
13641         (gamma_test_data): Likewise.
13642         (hypot_test_data): Likewise.
13643         (ilogb_test_data): Likewise.
13644         (isfinite_test_data): Likewise.
13645         (isgreater_test_data): Likewise.
13646         (isgreaterequal_test_data): Likewise.
13647         (isinf_test_data): Likewise.
13648         (isless_test_data): Likewise.
13649         (islessequal_test_data): Likewise.
13650         (islessgreater_test_data): Likewise.
13651         (isnan_test_data): Likewise.
13652         (isnormal_test_data): Likewise.
13653         (issignaling_test_data): Likewise.
13654         (isunordered_test_data): Likewise.
13655         (j0_test_data): Likewise.
13656         (j1_test_data): Likewise.
13657         (jn_test_data): Likewise.
13658         (ldexp_test_data): Likewise.
13659         (lgamma_test_data): Likewise.
13660         (lrint_test_data): Likewise.
13661         (lrint_tonearest_test_data): Likewise.
13662         (lrint_towardzero_test_data): Likewise.
13663         (lrint_downward_test_data): Likewise.
13664         (lrint_upward_test_data): Likewise.
13665         (llrint_test_data): Likewise.
13666         (llrint_tonearest_test_data): Likewise.
13667         (llrint_towardzero_test_data): Likewise.
13668         (llrint_downward_test_data): Likewise.
13669         (llrint_upward_test_data): Likewise.
13670         (log_test_data): Likewise.
13671         (log10_test_data): Likewise.
13672         (log1p_test_data): Likewise.
13673         (log2_test_data): Likewise.
13674         (logb_test_data): Likewise.
13675         (logb_downward_test_data): Likewise.
13676         (lround_test_data): Likewise.
13677         (llround_test_data): Likewise.
13678         (modf_test_data): Likewise.
13679         (nearbyint_test_data): Likewise.
13680         (nextafter_test_data): Likewise.
13681         (nexttoward_test_data): Likewise.
13682         (pow_test_data): Likewise.
13683         (pow_tonearest_test_data): Likewise.
13684         (pow_towardzero_test_data): Likewise.
13685         (pow_downward_test_data): Likewise.
13686         (pow_upward_test_data): Likewise.
13687         (remainder_test_data): Likewise.
13688         (remainder_tonearest_test_data): Likewise.
13689         (remainder_towardzero_test_data): Likewise.
13690         (remainder_downward_test_data): Likewise.
13691         (remainder_upward_test_data): Likewise.
13692         (remquo_test_data): Likewise.
13693         (rint_test_data): Likewise.
13694         (rint_tonearest_test_data): Likewise.
13695         (rint_towardzero_test_data): Likewise.
13696         (rint_downward_test_data): Likewise.
13697         (rint_upward_test_data): Likewise.
13698         (round_test_data): Likewise.
13699         (scalb_test_data): Likewise.
13700         (scalbn_test_data): Likewise.
13701         (scalbln_test_data): Likewise.
13702         (signbit_test_data): Likewise.
13703         (sin_test_data): Likewise.
13704         (sin_tonearest_test_data): Likewise.
13705         (sin_towardzero_test_data): Likewise.
13706         (sin_downward_test_data): Likewise.
13707         (sin_upward_test_data): Likewise.
13708         (sincos_test_data): Likewise.
13709         (sinh_test_data): Likewise.
13710         (sinh_tonearest_test_data): Likewise.
13711         (sinh_towardzero_test_data): Likewise.
13712         (sinh_downward_test_data): Likewise.
13713         (sinh_upward_test_data): Likewise.
13714         (sqrt_test_data): Likewise.
13715         (tan_test_data): Likewise.
13716         (tan_tonearest_test_data): Likewise.
13717         (tan_towardzero_test_data): Likewise.
13718         (tan_downward_test_data): Likewise.
13719         (tan_upward_test_data): Likewise.
13720         (tanh_test_data): Likewise.
13721         (tgamma_test_data): Likewise.
13722         (trunc_test_data): Likewise.
13723         (y0_test_data): Likewise.
13724         (y1_test_data): Likewise.
13725         (yn_test_data): Likewise.
13726         (significand_test_data): Likewise.
13727
13728         * math/gen-libm-test.pl (@functions): Remove variable.
13729         (generate_testfile): Don't handle START and END lines.
13730         * math/libm-test.inc (START): New macro.
13731         (END): Likewise.
13732         (END_COMPLEX): Likewise.
13733         (acos_test): Use END macro without arguments.
13734         (acos_test_tonearest): Likewise.
13735         (acos_test_towardzero): Likewise.
13736         (acos_test_downward): Likewise.
13737         (acos_test_upward): Likewise.
13738         (acosh_test): Likewise.
13739         (asin_test): Likewise.
13740         (asin_test_tonearest): Likewise.
13741         (asin_test_towardzero): Likewise.
13742         (asin_test_downward): Likewise.
13743         (asin_test_upward): Likewise.
13744         (asinh_test): Likewise.
13745         (atan_test): Likewise.
13746         (atanh_test): Likewise.
13747         (atan2_test): Likewise.
13748         (cabs_test): Likewise.
13749         (cacos_test): Use END_COMPLEX macro without arguments.
13750         (cacosh_test): Likewise.
13751         (carg_test): Use END macro without arguments.
13752         (casin_test): Use END_COMPLEX macro without arguments.
13753         (casinh_test): Likewise.
13754         (catan_test): Likewise.
13755         (catanh_test): Likewise.
13756         (cbrt_test): Use END macro without arguments.
13757         (ccos_test): Use END_COMPLEX macro without arguments.
13758         (ccosh_test): Likewise.
13759         (ceil_test): Use END macro without arguments.
13760         (cexp_test): Use END_COMPLEX macro without arguments.
13761         (cimag_test): Use END macro without arguments.
13762         (clog_test): Use END_COMPLEX macro without arguments.
13763         (clog10_test): Likewise.
13764         (conj_test): Likewise.
13765         (copysign_test): Use END macro without arguments.
13766         (cos_test): Likewise.
13767         (cos_test_tonearest): Likewise.
13768         (cos_test_towardzero): Likewise.
13769         (cos_test_downward): Likewise.
13770         (cos_test_upward): Likewise.
13771         (cosh_test): Likewise.
13772         (cosh_test_tonearest): Likewise.
13773         (cosh_test_towardzero): Likewise.
13774         (cosh_test_downward): Likewise.
13775         (cosh_test_upward): Likewise.
13776         (cpow_test): Use END_COMPLEX macro without arguments.
13777         (cproj_test): Likewise.
13778         (creal_test): Use END macro without arguments.
13779         (csin_test): Use END_COMPLEX macro without arguments.
13780         (csinh_test): Likewise.
13781         (csqrt_test): Likewise.
13782         (ctan_test): Likewise.
13783         (ctan_test_tonearest): Likewise.
13784         (ctan_test_towardzero): Likewise.
13785         (ctan_test_downward): Likewise.
13786         (ctan_test_upward): Likewise.
13787         (ctanh_test): Likewise.
13788         (ctanh_test_tonearest): Likewise.
13789         (ctanh_test_towardzero): Likewise.
13790         (ctanh_test_downward): Likewise.
13791         (ctanh_test_upward): Likewise.
13792         (erf_test): Use END macro without arguments.
13793         (erfc_test): Likewise.
13794         (exp_test): Likewise.
13795         (exp_test_tonearest): Likewise.
13796         (exp_test_towardzero): Likewise.
13797         (exp_test_downward): Likewise.
13798         (exp_test_upward): Likewise.
13799         (exp10_test): Likewise.
13800         (exp2_test): Likewise.
13801         (expm1_test): Likewise.
13802         (fabs_test): Likewise.
13803         (fdim_test): Likewise.
13804         (finite_test): Likewise.
13805         (floor_test): Likewise.
13806         (fma_test): Likewise.
13807         (fma_test_towardzero): Likewise.
13808         (fma_test_downward): Likewise.
13809         (fma_test_upward): Likewise.
13810         (fmax_test): Likewise.
13811         (fmin_test): Likewise.
13812         (fmod_test): Likewise.
13813         (fpclassify_test): Likewise.
13814         (frexp_test): Likewise.
13815         (gamma_test): Likewise.
13816         (hypot_test): Likewise.
13817         (ilogb_test): Likewise.
13818         (isfinite_test): Likewise.
13819         (isgreater_test): Likewise.
13820         (isgreaterequal_test): Likewise.
13821         (isinf_test): Likewise.
13822         (isless_test): Likewise.
13823         (islessequal_test): Likewise.
13824         (islessgreater_test): Likewise.
13825         (isnan_test): Likewise.
13826         (isnormal_test): Likewise.
13827         (issignaling_test): Likewise.
13828         (isunordered_test): Likewise.
13829         (j0_test): Likewise.
13830         (j1_test): Likewise.
13831         (jn_test): Likewise.
13832         (ldexp_test): Likewise.
13833         (lgamma_test): Likewise.
13834         (lrint_test): Likewise.
13835         (lrint_test_tonearest): Likewise.
13836         (lrint_test_towardzero): Likewise.
13837         (lrint_test_downward): Likewise.
13838         (lrint_test_upward): Likewise.
13839         (llrint_test): Likewise.
13840         (llrint_test_tonearest): Likewise.
13841         (llrint_test_towardzero): Likewise.
13842         (llrint_test_downward): Likewise.
13843         (llrint_test_upward): Likewise.
13844         (log_test): Likewise.
13845         (log10_test): Likewise.
13846         (log1p_test): Likewise.
13847         (log2_test): Likewise.
13848         (logb_test): Likewise.
13849         (logb_test_downward): Likewise.
13850         (lround_test): Likewise.
13851         (llround_test): Likewise.
13852         (modf_test): Likewise.
13853         (nearbyint_test): Likewise.
13854         (nextafter_test): Likewise.
13855         (nexttoward_test): Likewise.
13856         (pow_test): Likewise.
13857         (pow_test_tonearest): Likewise.
13858         (pow_test_towardzero): Likewise.
13859         (pow_test_downward): Likewise.
13860         (pow_test_upward): Likewise.
13861         (remainder_test): Likewise.
13862         (remainder_test_tonearest): Likewise.
13863         (remainder_test_towardzero): Likewise.
13864         (remainder_test_downward): Likewise.
13865         (remainder_test_upward): Likewise.
13866         (remquo_test): Likewise.
13867         (rint_test): Likewise.
13868         (rint_test_tonearest): Likewise.
13869         (rint_test_towardzero): Likewise.
13870         (rint_test_downward): Likewise.
13871         (rint_test_upward): Likewise.
13872         (round_test): Likewise.
13873         (scalb_test): Likewise.
13874         (scalbn_test): Likewise.
13875         (scalbln_test): Likewise.
13876         (signbit_test): Likewise.
13877         (sin_test): Likewise.
13878         (sin_test_tonearest): Likewise.
13879         (sin_test_towardzero): Likewise.
13880         (sin_test_downward): Likewise.
13881         (sin_test_upward): Likewise.
13882         (sincos_test): Likewise.
13883         (sinh_test): Likewise.
13884         (sinh_test_tonearest): Likewise.
13885         (sinh_test_towardzero): Likewise.
13886         (sinh_test_downward): Likewise.
13887         (sinh_test_upward): Likewise.
13888         (sqrt_test): Likewise.
13889         (tan_test): Likewise.
13890         (tan_test_tonearest): Likewise.
13891         (tan_test_towardzero): Likewise.
13892         (tan_test_downward): Likewise.
13893         (tan_test_upward): Likewise.
13894         (tanh_test): Likewise.
13895         (tgamma_test): Likewise.
13896         (trunc_test): Likewise.
13897         (y0_test): Likewise.
13898         (y1_test): Likewise.
13899         (yn_test): Likewise.
13900         (significand_test): Likewise.
13901
13902 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
13903
13904         [BZ #15381]
13905         * libio/genops.c (_IO_no_init): Initialize wide struct info.
13906
13907 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13908
13909         [BZ #14894]
13910         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13911         __ppc_mdoio and __ppc_mdoom.
13912         * manual/platform.texi: Document new functions __ppc_yield,
13913         __ppc_mdoio and __ppc_mdoom.
13914
13915 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
13916
13917         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13918         (main): Mention "tls" pseudo-hwcap is legacy.
13919         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13920
13921 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13922
13923         * math/gen-libm-test.pl (parse_args): Output only string of
13924         arguments as text for test name, not full call or descriptions of
13925         tests for extra outputs.
13926         (generate_testfile): Do not pass function name to parse_args.
13927         Generate this_func variable from START.
13928         * math/libm-test.inc (struct test_f_f_data): Rename test_name
13929         field to arg_str.
13930         (struct test_ff_f_data): Likewise.
13931         (test_ff_f_data_nexttoward): Likewise.
13932         (struct test_fi_f_data): Likewise.
13933         (struct test_fl_f_data): Likewise.
13934         (struct test_if_f_data): Likewise.
13935         (struct test_fff_f_data): Likewise.
13936         (struct test_c_f_data): Likewise.
13937         (struct test_f_f1_data): Likewise.  Remove field extra_name.
13938         (struct test_fF_f1_data): Likewise.
13939         (struct test_ffI_f1_data): Likewise.
13940         (struct test_c_c_data): Rename test_name field to arg_str.
13941         (struct test_cc_c_data): Likewise.
13942         (struct test_f_i_data): Likewise.
13943         (struct test_ff_i_data): Likewise.
13944         (struct test_f_l_data): Likewise.
13945         (struct test_f_L_data): Likewise.
13946         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
13947         and extra2_name.
13948         (COMMON_TEST_SETUP): New macro.
13949         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13950         (COMMON_TEST_CLEANUP): Likewise.
13951         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13952         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
13953         macros.
13954         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13955         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
13956         macros.
13957         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13958         (RUN_TEST_fff_f): Take argument string.  Call new setup and
13959         cleanup macros.
13960         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13961         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
13962         macros.
13963         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13964         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
13965         macros.
13966         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13967         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
13968         cleanup macros.
13969         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13970         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
13971         cleanup macros.
13972         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13973         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
13974         cleanup macros.
13975         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13976         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
13977         macros.
13978         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13979         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
13980         macros.
13981         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13982         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
13983         macros.
13984         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13985         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
13986         cleanup macros.
13987         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13988         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
13989         cleanup macros.
13990         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13991         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
13992         macros.
13993         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13994         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
13995         cleanup macros.
13996         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13997         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
13998         macros.
13999         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14000         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
14001         macros.
14002         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14003         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
14004         cleanup macros.
14005         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14006
14007 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14008
14009         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14010         to _sifields.sigfault.
14011         (si_addr_lsb): Define new macro.
14012         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14013         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14014         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14015
14016 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
14017
14018         [BZ #15441]
14019         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14020         returns -1.
14021         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14022         null return -1.
14023         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14024         loading the domain.
14025
14026 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14027
14028         * math/gen-libm-test.pl (parse_args): Do not include expected
14029         result in test name.
14030         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14031         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14032         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14033         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14034         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14036
14037 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14038
14039         * benchtests/Makefile: Sort function entries.
14040
14041         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14042         tanh, asinh, acosh, atanh.
14043         * benchtests/acos-inputs: New file.
14044         * benchtests/acosh-inputs: New file.
14045         * benchtests/asin-inputs: New file.
14046         * benchtests/asinh-inputs: New file.
14047         * benchtests/atanh-inputs: New file.
14048         * benchtests/cosh-inputs: New file.
14049         * benchtests/log-inputs: New file.
14050         * benchtests/sinh-inputs: New file.
14051         * benchtests/tanh-inputs: New file.
14052
14053 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
14054
14055         [BZ #15339]
14056         * posix/tst-getaddrinfo4.c: New test.
14057         * posix/Makefile (tests): Add it.
14058
14059 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14060
14061         [BZ #15339]
14062         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14063         when no services were used.
14064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14065         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14066
14067 2013-05-21  Andreas Schwab  <schwab@suse.de>
14068
14069         [BZ #15014]
14070         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14071         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14072         successful.
14073         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14074         redundant variable declarations and reallocation of buffer when
14075         parsing as IPv6 address.  Always set NSS status when called from
14076         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
14077         buffer too small.  Correct computation of needed size.
14078         * nss/Makefile (tests): Add test-digits-dots.
14079         * nss/test-digits-dots.c: New test.
14080
14081 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14082
14083         * benchtests/Makefile: Remove instructions for adding
14084         benchmark tests.
14085         * benchtests/README: New file to explain how to execute and
14086         enhance the benchmark tests.
14087
14088 2013-05-21  Andreas Schwab  <schwab@suse.de>
14089
14090         [BZ #15493]
14091         * setjmp/Makefile (tests): Add tst-sigsetjmp.
14092         * setjmp/tst-sigsetjmp.c: New test.
14093
14094 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14095
14096         * sysdeps/x86_64/memset.S (memset): New implementation.
14097         (__bzero): Likewise.
14098         (__memset_tail): New function.
14099
14100 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14101
14102         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14103         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14104         __memcpy_sse2_unaligned ifunc selection.
14105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14106         Add memcpy-sse2-unaligned.S.
14107         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14108         Add: __memcpy_sse2_unaligned.
14109
14110 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
14111
14112         [BZ #15490]
14113         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14114         math_force_eval before restoring floating-point envrionment.
14115         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14116         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14117         Likewise.
14118         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14119         <math_private.h>.
14120         (__nearbyintl): Use math_force_eval before restoring
14121         floating-point environment.
14122         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14123
14124         * math/gen-libm-test.pl (special_functions): Remove.
14125         (parse_args): Don't handle TEST_extra.  Handle functions with no
14126         return value.
14127         * math/libm-test.inc (struct test_sincos_data): Replace with
14128         struct test_fFF_11_data.
14129         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14130         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14131         (sincos_test_data): Change element type to struct
14132         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
14133         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14134         RUN_TEST_LOOP_sincos.
14135         * math/README.libm-test: Don't mention special handling of
14136         individual functions.
14137         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14138         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14139         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14140         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14141         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14143
14144         * math/gen-libm-test.pl (get_variable): Remove function.
14145         (parse_args): Don't show pointer parameters to call in test
14146         names.  Use "extra output N" in test names for extra outputs
14147         rather than naming variables.
14148
14149 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
14150
14151         [BZ #15488]
14152         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14153         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14154         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14155         double tests.
14156         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14157         disable.
14158         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14159         check_long_double.
14160
14161         * math/gen-libm-test.pl (@tests): Remove variable.
14162         ($count): Likewise.
14163         (new_test): Remove function.
14164         (show_exceptions): New function.
14165         (special_functions): Use show_exceptions instead of new_test.
14166         (parse_args): Likewise.
14167         (generate_testfile): Pass only function name in generated call to
14168         print_max_error or print_complex_max_error.
14169         (get_ulps): Do not handle complex tests specially.
14170         (output_test): Rename to ...
14171         (get_all_ulps_for_test): ... this.  Return a string rather than
14172         printing to a file.  Require ulps to be present.
14173         (output_ulps): Generate arrays rather than #defines.
14174         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14175         (struct ulp_data): New type.
14176         (BUILD_COMPLEX_ULP): Remove macro.
14177         (compare_ulp_data): New function.
14178         (find_ulps): Likewise.
14179         (find_test_ulps): Likewise.
14180         (find_function_ulps): Likewise.
14181         (find_complex_function_ulps): Likewise.
14182         (print_max_error): Determine allowed ulps using
14183         find_function_ulps.
14184         (print_complex_max_error): Determine allowed ulps using
14185         find_complex_function_ulps.
14186         (check_float_internal): Determine max ulps using find_test_ulps.
14187         (check_float): Do not take max_ulp parameter.  Update call to
14188         check_float_internal.
14189         (check_complex): Likewise.
14190         (check_int): Do not take max_ulp parameter.
14191         (check_long): Likewise.
14192         (check_bool): Likewise.
14193         (check_longlong): Likewise.
14194         (struct test_f_f_data): Remove max_ulp field.
14195         (struct test_ff_f_data): Likewise.
14196         (struct test_ff_f_data_nexttoward): Likewise.
14197         (struct test_fi_f_data): Likewise.
14198         (struct test_fl_f_data): Likewise.
14199         (struct test_if_f_data): Likewise.
14200         (struct test_fff_f_data): Likewise.
14201         (struct test_c_f_data): Likewise.
14202         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14203         (struct test_fF_f1_data): Likewise.
14204         (struct test_ffI_f1_data): Likewise.
14205         (struct test_c_c_data): Remove max_ulp field.
14206         (struct test_cc_c_data): Likewise.
14207         (struct test_f_i_data): Likewise.
14208         (struct test_ff_i_data): Likewise.
14209         (struct test_f_l_data): Likewise.
14210         (struct test_f_L_data): Likewise.
14211         (struct test_sincos_data): Likewise.
14212         (RUN_TEST_f_f): Do not handle ulps.
14213         (RUN_TEST_LOOP_f_f): Likewise.
14214         (RUN_TEST_2_f): Likewise.
14215         (RUN_TEST_LOOP_2_f): Likewise.
14216         (RUN_TEST_fff_f): Likewise.
14217         (RUN_TEST_LOOP_fff_f): Likewise.
14218         (RUN_TEST_c_f): Likewise.
14219         (RUN_TEST_LOOP_c_f): Likewise.
14220         (RUN_TEST_f_f1): Likewise.
14221         (RUN_TEST_LOOP_f_f1): Likewise.
14222         (RUN_TEST_fF_f1): Likewise.
14223         (RUN_TEST_LOOP_fF_f1): Likewise.
14224         (RUN_TEST_fI_f1): Likewise.
14225         (RUN_TEST_LOOP_fI_f1): Likewise.
14226         (RUN_TEST_ffI_f1): Likewise.
14227         (RUN_TEST_LOOP_ffI_f1): Likewise.
14228         (RUN_TEST_c_c): Likewise.
14229         (RUN_TEST_LOOP_c_c): Likewise.
14230         (RUN_TEST_cc_c): Likewise.
14231         (RUN_TEST_LOOP_cc_c): Likewise.
14232         (RUN_TEST_f_i): Likewise.
14233         (RUN_TEST_LOOP_f_i): Likewise.
14234         (RUN_TEST_f_i_tg): Likewise.
14235         (RUN_TEST_LOOP_f_i_tg): Likewise.
14236         (RUN_TEST_ff_i_tg): Likewise.
14237         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14238         (RUN_TEST_f_b): Likewise.
14239         (RUN_TEST_LOOP_f_b): Likewise.
14240         (RUN_TEST_f_b_tg): Likewise.
14241         (RUN_TEST_LOOP_f_b_tg): Likewise.
14242         (RUN_TEST_f_l): Likewise.
14243         (RUN_TEST_LOOP_f_l): Likewise.
14244         (RUN_TEST_f_L): Likewise.
14245         (RUN_TEST_LOOP_f_L): Likewise.
14246         (RUN_TEST_sincos): Likewise.
14247         (RUN_TEST_LOOP_sincos): Likewise.
14248
14249 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
14250
14251         [BZ #15480]
14252         [BZ #15485]
14253         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14254         main case of finite arguments, set rounding mode to FE_TONEAREST
14255         and discard exceptions.
14256         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14257         exceptions.
14258         (remainder_tonearest_test_data): New variable.
14259         (remainder_test_tonearest): New function.
14260         (remainder_towardzero_test_data): New variable.
14261         (remainder_test_towardzero): New function.
14262         (remainder_downward_test_data): New variable.
14263         (remainder_test_downward): New function.
14264         (remainder_upward_test_data): New variable.
14265         (remainder_test_upward): New function.
14266         (main): Call the new test functions.
14267
14268         * math/libm-test.inc (struct test_f_f1_data): Remove field
14269         extra_init.
14270         (struct test_fF_f1_data): Likewise.
14271         (struct test_ffI_f1_data): Likewise.
14272         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
14273         based on value of EXTRA_EXPECTED.
14274         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14275         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
14276         EXTRA_VAR based on value of EXTRA_EXPECTED.
14277         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14278         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
14279         EXTRA_VAR based on value of EXTRA_EXPECTED.
14280         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14281         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
14282         EXTRA_VAR based on value of EXTRA_EXPECTED.
14283         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14284         * math/gen-libm-test.pl (parse_args): Don't output initializers
14285         for extra output values.
14286
14287         * math/libm-test.inc (check_int): Expect result to be exactly
14288         equal to expected value and do not handle ulps.
14289         (check_long): Likewise.
14290         (check_longlong): Likewise.
14291
14292         * math/libm-test.inc (ceil_test_data): Test for "inexact"
14293         exceptions.
14294         (cimag_test_data): Likewise.
14295         (conj_test_data): Likewise.
14296         (copysign_test_data): Likewise.
14297         (cproj_test_data): Likewise.
14298         (creal_test_data): Likewise.
14299         (fabs_test_data): Likewise.
14300         (fdim_test_data): Likewise.
14301         (finite_test_data): Likewise.
14302         (floor_test_data): Likewise.
14303         (fmax_test_data): Likewise.
14304         (fmin_test_data): Likewise.
14305         (fmod_test_data): Likewise.
14306         (fpclassify_test_data): Likewise.
14307         (frexp_test_data): Likewise.
14308         (ilogb_test_data): Likewise.
14309         (isfinite_test_data): Likewise.
14310         (isgreater_test_data): Likewise.
14311         (isgreaterequal_test_data): Likewise.
14312         (isinf_test_data): Likewise.
14313         (isless_test_data): Likewise.
14314         (islessequal_test_data): Likewise.
14315         (islessgreater_test_data): Likewise.
14316         (isnan_test_data): Likewise.
14317         (isnormal_test_data): Likewise.
14318         (issignaling_test_data): Likewise.
14319         (isunordered_test_data): Likewise.
14320         (ldexp_test_data): Likewise.
14321         (lrint_test_data): Likewise.
14322         (lrint_test_data) [TEST_FLOAT]: Disable one test.
14323         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14324         (lrint_tonearest_test_data): Test for "inexact" exceptions.
14325         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14326         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14327         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14328         test input.
14329         (lrint_towardzero_test_data): Test for "inexact" exceptions.
14330         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14331         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14332         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14333         that test input.
14334         (lrint_downward_test_data): Test for "inexact" exceptions.
14335         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14336         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14337         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14338         test input.
14339         (lrint_upward_test_data): Test for "inexact" exceptions.
14340         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14341         test input.
14342         (llrint_test_data): Test for "inexact" exceptions.
14343         (llrint_test_data) [TEST_FLOAT]: Disable one test.
14344         (llrint_tonearest_test_data): Test for "inexact" exceptions.
14345         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14346         (llrint_towardzero_test_data): Test for "inexact" exceptions.
14347         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14348         (llrint_downward_test_data): Test for "inexact" exceptions.
14349         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14350         (llrint_upward_test_data): Test for "inexact" exceptions.
14351         (logb_test_data): Likewise.
14352         (logb_downward_test_data): Likewise.
14353         (nextafter_test_data): Likewise.
14354         (nexttoward_test_data): Likewise.
14355         (remainder_test_data): Likewise.
14356         (remquo_test_data): Likewise.
14357         (scalbn_test_data): Likewise.
14358         (scalbln_test_data): Likewise.
14359         (signbit_test_data): Likewise.
14360         (sqrt_test_data): Likewise.
14361         (significand_test_data): Likewise.
14362
14363 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14364
14365         [BZ #15424]
14366         * benchtests/bench-modf.c (struct args): Mark arg0 as
14367         volatile.
14368         * scripts/bench.pl: Mark members of struct args as volatile.
14369
14370 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14371
14372         [BZ # 15497]
14373         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14374         negative infinity on POWER6 or lower.
14375         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14376
14377 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
14378
14379         [BZ #15442]
14380         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14381         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14382         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14383         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14384         (_FP_SETQNAN): New macro.
14385         (_FP_SETQNAN_SEMIRAW): Likewise.
14386         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14387         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14388         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14389         (FP_EXTEND): Use _FP_FRAC_SNANP.
14390         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14391         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14392         into account.
14393         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14394         New macro.
14395         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14396         Likewise.
14397
14398 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14399
14400         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14401         with DIVIDE_BY_ZERO_EXCEPTION.
14402         (gamma_test_data): Likewise.
14403         (lgamma_test_data): Likewise.
14404         (log_test_data): Likewise.
14405         (log10_test_data): Likewise.
14406         (log2_test_data): Likewise.
14407         (tgamma_test_data): Likewise.
14408
14409         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14410         (acos_test_tonearest): Likewise.
14411         (acos_test_towardzero): Likewise.
14412         (acos_test_downward): Likewise.
14413         (acos_test_upward): Likewise.
14414         (acosh_test): Likewise.
14415         (asin_test): Likewise.
14416         (asin_test_tonearest): Likewise.
14417         (asin_test_towardzero): Likewise.
14418         (asin_test_downward): Likewise.
14419         (asin_test_upward): Likewise.
14420         (asinh_test): Likewise.
14421         (atan_test): Likewise.
14422         (atanh_test): Likewise.
14423         (atan2_test): Likewise.
14424         (cabs_test): Likewise.
14425         (cacos_test): Likewise.
14426         (cacosh_test): Likewise.
14427         (casin_test): Likewise.
14428         (casinh_test): Likewise.
14429         (catan_test): Likewise.
14430         (catanh_test): Likewise.
14431         (cbrt_test): Likewise.
14432         (ccos_test): Likewise.
14433         (ccosh_test): Likewise.
14434         (cexp_test): Likewise.
14435         (clog_test): Likewise.
14436         (clog10_test): Likewise.
14437         (cos_test): Likewise.
14438         (cos_test_tonearest): Likewise.
14439         (cos_test_towardzero): Likewise.
14440         (cos_test_downward): Likewise.
14441         (cos_test_upward): Likewise.
14442         (cosh_test): Likewise.
14443         (cosh_test_tonearest): Likewise.
14444         (cosh_test_towardzero): Likewise.
14445         (cosh_test_downward): Likewise.
14446         (cosh_test_upward): Likewise.
14447         (cpow_test): Likewise.
14448         (csin_test): Likewise.
14449         (csinh_test): Likewise.
14450         (csqrt_test): Likewise.
14451         (ctan_test): Likewise.
14452         (ctan_test_tonearest): Likewise.
14453         (ctan_test_towardzero): Likewise.
14454         (ctan_test_downward): Likewise.
14455         (ctan_test_upward): Likewise.
14456         (ctanh_test): Likewise.
14457         (ctanh_test_tonearest): Likewise.
14458         (ctanh_test_towardzero): Likewise.
14459         (ctanh_test_downward): Likewise.
14460         (ctanh_test_upward): Likewise.
14461         (erf_test): Likewise.
14462         (erfc_test): Likewise.
14463         (exp_test): Likewise.
14464         (exp_test_tonearest): Likewise.
14465         (exp_test_towardzero): Likewise.
14466         (exp_test_downward): Likewise.
14467         (exp_test_upward): Likewise.
14468         (exp10_test): Likewise.
14469         (exp2_test): Likewise.
14470         (expm1_test): Likewise.
14471         (fmod_test): Likewise.
14472         (gamma_test): Likewise.
14473         (hypot_test): Likewise.
14474         (j0_test): Likewise.
14475         (j1_test): Likewise.
14476         (jn_test): Likewise.
14477         (lgamma_test): Likewise.
14478         (log_test): Likewise.
14479         (log10_test): Likewise.
14480         (log1p_test): Likewise.
14481         (log2_test): Likewise.
14482         (logb_test_downward): Likewise.
14483         (pow_test): Likewise.
14484         (pow_test_tonearest): Likewise.
14485         (pow_test_towardzero): Likewise.
14486         (pow_test_downward): Likewise.
14487         (pow_test_upward): Likewise.
14488         (remainder_test): Likewise.
14489         (remquo_test): Likewise.
14490         (sin_test): Likewise.
14491         (sin_test_tonearest): Likewise.
14492         (sin_test_towardzero): Likewise.
14493         (sin_test_downward): Likewise.
14494         (sin_test_upward): Likewise.
14495         (sincos_test): Likewise.
14496         (sinh_test): Likewise.
14497         (sinh_test_tonearest): Likewise.
14498         (sinh_test_towardzero): Likewise.
14499         (sinh_test_downward): Likewise.
14500         (sinh_test_upward): Likewise.
14501         (sqrt_test): Likewise.
14502         (tan_test): Likewise.
14503         (tan_test_tonearest): Likewise.
14504         (tan_test_towardzero): Likewise.
14505         (tan_test_downward): Likewise.
14506         (tan_test_upward): Likewise.
14507         (tanh_test): Likewise.
14508         (tgamma_test): Likewise.
14509         (y0_test): Likewise.
14510         (y1_test): Likewise.
14511         (yn_test): Likewise.
14512
14513         * math/gen-libm-test.pl (adjust_arg): Remove function.
14514         (special_function): Remove argument $in_func.  Only handle
14515         generating output for tables of tests, not inside functions.
14516         (parse_args): Likewise.
14517         (generate_testfile): Remove variable $in_func.  Update call to
14518         parse_args.
14519         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14520         (MINUS_ZERO_INIT): Rename macro to minus_zero.
14521         (PLUS_INFTY_INIT): Rename macro to plus_infty.
14522         (MINUS_INFTY_INIT): Rename macro to minus_infty.
14523         (QNAN_VALUE_INIT): Rename macro to qnan_value.
14524         (MAX_VALUE_INIT): Rename macro to max_value.
14525         (MIN_VALUE_INIT): Rename macro to min_value.
14526         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14527         (plus_zero): Remove variable.
14528         (minus_zero): Likewise.
14529         (plus_infty): Likewise.
14530         (minus_infty): Likewise.
14531         (qnan_value): Likewise.
14532         (max_value): Likewise.
14533         (min_value): Likewise.
14534         (min_subnorm_value): Likewise.
14535
14536 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14537
14538         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14539         uint64_t or uint32_t usage.
14540         * crypt/sha256-block.c: Likewise.
14541         * crypt/sha256-crypt.c: Likewise.
14542         * crypt/sha256.c: Likewise.
14543         * crypt/sha512-block.c: Likewise.
14544         * crypt/sha512-crypt.c: Likewise.
14545         * crypt/sha512.c: Likewise.
14546         * debug/backtrace-tst.c: Likewise.
14547         * debug/pcprofiledump.c: Likewise.
14548         * elf/cache.c: Likewise.
14549         * elf/dl-cache.c: Likewise.
14550         * elf/dl-misc.c: Likewise.
14551         * elf/dl-profile.c: Likewise.
14552         * elf/dl-support.c: Likewise.
14553         * elf/ldconfig.c: Likewise.
14554         * elf/sprof.c: Likewise.
14555         * iconv/dummy-repertoire.c: Likewise.
14556         * iconv/iconv_charmap.c: Likewise.
14557         * iconv/skeleton.c: Likewise.
14558         * iconvdata/8bit-generic.c: Likewise.
14559         * iconvdata/cp737.h: Likewise.
14560         * iconvdata/cp775.h: Likewise.
14561         * iconvdata/ibm1008.h: Likewise.
14562         * iconvdata/ibm1025.h: Likewise.
14563         * iconvdata/ibm1046.h: Likewise.
14564         * iconvdata/ibm1097.h: Likewise.
14565         * iconvdata/ibm1112.h: Likewise.
14566         * iconvdata/ibm1122.h: Likewise.
14567         * iconvdata/ibm1123.h: Likewise.
14568         * iconvdata/ibm1124.h: Likewise.
14569         * iconvdata/ibm1129.h: Likewise.
14570         * iconvdata/ibm1130.h: Likewise.
14571         * iconvdata/ibm1132.h: Likewise.
14572         * iconvdata/ibm1133.h: Likewise.
14573         * iconvdata/ibm1137.h: Likewise.
14574         * iconvdata/ibm1140.h: Likewise.
14575         * iconvdata/ibm1141.h: Likewise.
14576         * iconvdata/ibm1142.h: Likewise.
14577         * iconvdata/ibm1143.h: Likewise.
14578         * iconvdata/ibm1144.h: Likewise.
14579         * iconvdata/ibm1145.h: Likewise.
14580         * iconvdata/ibm1146.h: Likewise.
14581         * iconvdata/ibm1147.h: Likewise.
14582         * iconvdata/ibm1148.h: Likewise.
14583         * iconvdata/ibm1149.h: Likewise.
14584         * iconvdata/ibm1153.h: Likewise.
14585         * iconvdata/ibm1154.h: Likewise.
14586         * iconvdata/ibm1155.h: Likewise.
14587         * iconvdata/ibm1156.h: Likewise.
14588         * iconvdata/ibm1157.h: Likewise.
14589         * iconvdata/ibm1158.h: Likewise.
14590         * iconvdata/ibm1160.h: Likewise.
14591         * iconvdata/ibm1161.h: Likewise.
14592         * iconvdata/ibm1162.h: Likewise.
14593         * iconvdata/ibm1163.h: Likewise.
14594         * iconvdata/ibm1164.h: Likewise.
14595         * iconvdata/ibm1166.h: Likewise.
14596         * iconvdata/ibm1167.h: Likewise.
14597         * iconvdata/ibm12712.h: Likewise.
14598         * iconvdata/ibm1390.h: Likewise.
14599         * iconvdata/ibm1399.h: Likewise.
14600         * iconvdata/ibm16804.h: Likewise.
14601         * iconvdata/ibm4517.h: Likewise.
14602         * iconvdata/ibm4899.h: Likewise.
14603         * iconvdata/ibm4909.h: Likewise.
14604         * iconvdata/ibm4971.h: Likewise.
14605         * iconvdata/ibm5347.h: Likewise.
14606         * iconvdata/ibm803.h: Likewise.
14607         * iconvdata/ibm856.h: Likewise.
14608         * iconvdata/ibm901.h: Likewise.
14609         * iconvdata/ibm902.h: Likewise.
14610         * iconvdata/ibm9030.h: Likewise.
14611         * iconvdata/ibm9066.h: Likewise.
14612         * iconvdata/ibm921.h: Likewise.
14613         * iconvdata/ibm922.h: Likewise.
14614         * iconvdata/ibm9448.h: Likewise.
14615         * iconvdata/isiri-3342.h: Likewise.
14616         * iconvdata/jis0201.h: Likewise.
14617         * include/link.h: Likewise.
14618         * include/netdb.h: Likewise.
14619         * inet/check_native.c: Likewise.
14620         * inet/check_pf.c: Likewise.
14621         * inet/getipv4sourcefilter.c: Likewise.
14622         * inet/getnameinfo.c: Likewise.
14623         * inet/getsourcefilter.c: Likewise.
14624         * inet/htonl.c: Likewise.
14625         * inet/setipv4sourcefilter.c: Likewise.
14626         * inet/setsourcefilter.c: Likewise.
14627         * inet/test-inet6_opt.c: Likewise.
14628         * inet/tst-network.c: Likewise.
14629         * locale/C-collate.c: Likewise.
14630         * locale/C-ctype.c: Likewise.
14631         * locale/C-time.c: Likewise.
14632         * locale/C-translit.h: Likewise.
14633         * locale/loadarchive.c: Likewise.
14634         * locale/programs/3level.h: Likewise.
14635         * locale/programs/charmap.c: Likewise.
14636         * locale/programs/charmap.h: Likewise.
14637         * locale/programs/ld-address.c: Likewise.
14638         * locale/programs/ld-collate.c: Likewise.
14639         * locale/programs/ld-ctype.c: Likewise.
14640         * locale/programs/ld-identification.c: Likewise.
14641         * locale/programs/ld-measurement.c: Likewise.
14642         * locale/programs/ld-messages.c: Likewise.
14643         * locale/programs/ld-monetary.c: Likewise.
14644         * locale/programs/ld-name.c: Likewise.
14645         * locale/programs/ld-numeric.c: Likewise.
14646         * locale/programs/ld-paper.c: Likewise.
14647         * locale/programs/ld-telephone.c: Likewise.
14648         * locale/programs/ld-time.c: Likewise.
14649         * locale/programs/linereader.c: Likewise.
14650         * locale/programs/locale.c: Likewise.
14651         * locale/programs/locarchive.c: Likewise.
14652         * locale/programs/locfile.h: Likewise.
14653         * locale/programs/repertoire.c: Likewise.
14654         * locale/programs/simple-hash.c: Likewise.
14655         * locale/programs/simple-hash.h: Likewise.
14656         * malloc/memusage.c: Likewise.
14657         * malloc/memusagestat.c: Likewise.
14658         * nis/nis_defaults.c: Likewise.
14659         * nis/nis_hash.c: Likewise.
14660         * nis/nis_print.c: Likewise.
14661         * nis/nis_xdr.c: Likewise.
14662         * nscd/connections.c: Likewise.
14663         * nscd/hstcache.c: Likewise.
14664         * nscd/nscd_gethst_r.c: Likewise.
14665         * nscd/nscd_getserv_r.c: Likewise.
14666         * nscd/nscd_helper.c: Likewise.
14667         * nscd/servicescache.c: Likewise.
14668         * nss/makedb.c: Likewise.
14669         * nss/nss_db/db-XXX.c: Likewise.
14670         * nss/nss_db/db-initgroups.c: Likewise.
14671         * nss/nss_db/db-netgrp.c: Likewise.
14672         * nss/nss_files/files-network.c: Likewise.
14673         * nss/nss_files/files-parse.c: Likewise.
14674         * posix/bug-regex5.c: Likewise.
14675         * posix/fnmatch_loop.c: Likewise.
14676         * posix/regcomp.c: Likewise.
14677         * posix/regexec.c: Likewise.
14678         * posix/tst-rfc3484-2.c: Likewise.
14679         * posix/tst-rfc3484-3.c: Likewise.
14680         * posix/tst-rfc3484.c: Likewise.
14681         * resolv/nss_dns/dns-canon.c: Likewise.
14682         * resolv/nss_dns/dns-network.c: Likewise.
14683         * resolv/res_init.c: Likewise.
14684         * resolv/res_mkquery.c: Likewise.
14685         * resolv/tst-aton.c: Likewise.
14686         * stdlib/cxa_atexit.c: Likewise.
14687         * stdlib/cxa_finalize.c: Likewise.
14688         * stdlib/gen-fpioconst.c: Likewise.
14689         * stdlib/strtol_l.c: Likewise.
14690         * string/tst-endian.c: Likewise.
14691         * sunrpc/auth_des.c: Likewise.
14692         * sunrpc/clnt_udp.c: Likewise.
14693         * sunrpc/rtime.c: Likewise.
14694         * sunrpc/svcauth_des.c: Likewise.
14695         * sunrpc/xdr.c: Likewise.
14696         * sunrpc/xdr_intXX_t.c: Likewise.
14697         * sunrpc/xdr_rec.c: Likewise.
14698         * sysdeps/generic/ldconfig.h: Likewise.
14699         * sysdeps/generic/ldsodefs.h: Likewise.
14700         * sysdeps/generic/memusage.h: Likewise.
14701         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14702         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14703         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14704         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14705         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14706         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14707         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14708         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14709         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14710         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14711         * sysdeps/posix/getaddrinfo.c: Likewise.
14712         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14713         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14714         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14715         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14716         * sysdeps/powerpc/test-gettimebase.c: Likewise.
14717         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14718         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14719         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14720         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14721         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14722         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14723         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14724         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14725         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14726         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14727         * sysdeps/x86_64/dl-tls.h: Likewise.
14728         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14729         * time/alt_digit.c: Likewise.
14730         * time/era.c: Likewise.
14731         * wcsmbs/tst-c16c32-1.c: Likewise.
14732
14733 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14734
14735         * math/libm-test.inc (struct test_sincos_data): New type.
14736         (RUN_TEST_LOOP_sincos): New macro.
14737         (sincos_test_data): New variable.
14738         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14739
14740 2013-05-16  Richard Henderson  <rth@redhat.com>
14741
14742         * math/atest-exp2.c (LIMB64): New macro.
14743         (CONSTSZ): New macro.
14744         (mp_exp1, mp_exp_m1, mp_log2): New variables.
14745         (hexdig): Move ...
14746         (print_mpn_fp): ... to function scope.
14747         (read_mpn_hex): Remove.
14748         (get_log2): Remove.
14749         (exp2_mpn): Use mp_log2.
14750         (main): Use mp_exp1.
14751
14752 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14753
14754         * math/libm-test.inc: Remove comment about not testing "inexact"
14755         exceptions.
14756         (INEXACT_EXCEPTION): New macro.
14757         (NO_INEXACT_EXCEPTION): Likewise.
14758         (INVALID_EXCEPTION_OK): Update value.
14759         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14760         (OVERFLOW_EXCEPTION_OK): Likewise.
14761         (UNDERFLOW_EXCEPTION_OK): Likewise.
14762         (IGNORE_ZERO_INF_SIGN): Likewise.
14763         (ERRNO_UNCHANGED): Likewise.
14764         (ERRNO_EDOM): Likewise.
14765         (ERRNO_ERANGE): Likewise.
14766         (test_exceptions): Handle testing "inexact" exceptions.
14767         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14768         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14769         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14770         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14771         INEXACT_EXCEPTION.
14772         (rint_towardzero_test_data): Likewise.
14773         (rint_downward_test_data): Likewise.
14774         (rint_upward_test_data): Likewise.
14775
14776         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14777         with OVERFLOW_EXCEPTION.
14778         (exp10_test_data): Likewise.
14779         (exp2_test_data): Likewise.
14780         (expm1_test_data): Likewise.
14781         (lgamma_test_data): Likewise.
14782         (pow_test_data): Likewise.
14783         (tgamma_test_data): Likewise.
14784         (yn_test_data): Remove duplicate test of overflow.
14785
14786         * math/libm-test.inc (struct test_cc_c_data): New type.
14787         (RUN_TEST_LOOP_cc_c): New macro.
14788         (cpow_test_data): New variable.
14789         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14790
14791         * math/libm-test.inc (struct test_f_L_data): New type.
14792         (RUN_TEST_LOOP_f_L): New macro.
14793         (llrint_test_data): New variable.
14794         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14795         (llrint_tonearest_test_data): New variable.
14796         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14797         (llrint_towardzero_test_data): New variable.
14798         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14799         (llrint_downward_test_data): New variable.
14800         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14801         (llrint_upward_test_data): New variable.
14802         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14803         (llround_test_data): New variable.
14804         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14805
14806 2013-05-13  Peter Collingbourne  <pcc@google.com>
14807
14808         * math/atest-exp2.c (get_log2): Remove const attribute.
14809
14810 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14811
14812         * math/libm-test.inc (struct test_f_l_data): New type.
14813         (RUN_TEST_LOOP_f_l): New macro.
14814         (lrint_test_data): New variable.
14815         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14816         (lrint_tonearest_test_data): New variable.
14817         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14818         (lrint_towardzero_test_data): New variable.
14819         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14820         (lrint_downward_test_data): New variable.
14821         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14822         (lrint_upward_test_data): New variable.
14823         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14824         (lround_test_data): New variable.
14825         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14826
14827 2013-05-15  Peter Collingbourne  <pcc@google.com>
14828
14829         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14830         (EXTRACT_WORDS64) Use where appropriate.
14831         (INSERT_WORDS64) Likewise.
14832
14833         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14834         constraints with x constraints.
14835         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14836
14837         * malloc/obstack.c (_obstack_compat): Add initializer.
14838
14839 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14840
14841         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14842         si_trapno and add si_addr_lsb to _sifields.sigfault.
14843         (si_trapno): Remove macro.
14844         (si_addr_lsb): Define new macro.
14845         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14846
14847 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14848
14849         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14850         instead of TEST_f_l.
14851         (llrint_test_tonearest): Likewise.
14852         (llrint_test_towardzero): Likewise.
14853         (llrint_test_downward): Likewise.
14854         (llrint_test_upward): Likewise.
14855         (llround_test): Likewise.
14856
14857         * math/libm-test.inc (struct test_f_i_data): Add comment.
14858         (RUN_TEST_LOOP_f_b): New macro.
14859         (RUN_TEST_LOOP_f_b_tg): Likewise.
14860         (finite_test_data): New variable.
14861         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14862         (isfinite_test_data): New variable.
14863         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14864         (isinf_test_data): New variable.
14865         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14866         (isnan_test_data): New variable.
14867         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14868         (isnormal_test_data): New variable.
14869         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14870         (issignaling_test_data): New variable.
14871         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14872         (signbit_test_data): New variable.
14873         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14874
14875         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14876         with INVALID_EXCEPTION.
14877         (acosh_test_data): Likewise.
14878         (asin_test_data): Likewise.
14879         (atanh_test_data): Likewise.
14880         (fmod_test_data): Likewise.
14881         (log_test_data): Likewise.
14882         (log10_test_data): Likewise.
14883         (log2_test_data): Likewise.
14884         (pow_test_data): Likewise.
14885         (sqrt_test_data): Likewise.
14886         (y0_test_data): Likewise.
14887         (y1_test_data): Likewise.
14888         (yn_test_data): Likewise.
14889
14890         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14891         function contents.
14892
14893         * math/libm-test.inc (struct test_ff_i_data): New type.
14894         (RUN_TEST_LOOP_ff_i_tg): New macro.
14895         (isgreater_test_data): New variable.
14896         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14897         (isgreaterequal_test_data): New variable.
14898         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14899         (isless_test_data): New variable.
14900         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14901         (islessequal_test_data): New variable.
14902         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14903         (islessgreater_test_data): New variable.
14904         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14905         (isunordered_test_data): New variable.
14906         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14907
14908 2013-05-14  David S. Miller  <davem@davemloft.net>
14909
14910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14911
14912 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
14913
14914         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14915
14916         * math/libm-test.inc (struct test_fF_f1_data): Change type of
14917         extra_test to int.
14918         (struct test_f_i_data): Change type of max_ulp to int.
14919
14920         * math/libm-test.inc (test_ffI_f1_data): New type.
14921         (RUN_TEST_LOOP_ffI_f1): New macro.
14922         (remquo_test_data): New variable.
14923         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14924
14925         * setjmp/tst-setjmp-fp.c: New file.
14926         * setjmp/Makefile (tests): Add tst-setjmp-fp.
14927         (link-libm): New variable.
14928         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14929
14930         * math/libm-test.inc (struct test_f_i_data): New type.
14931         (RUN_TEST_LOOP_f_i): New macro.
14932         (RUN_TEST_LOOP_f_i_tg): Likewise.
14933         (fpclassify_test_data): New variable.
14934         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14935         (ilogb_test_data): New variable.
14936         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14937
14938         * math/libm-test.inc (scalbln_test): Correct function name in END
14939         call.
14940
14941         * math/libm-test.inc (struct test_f_f1_data): Add comment.
14942         (RUN_TEST_LOOP_fI_f1): New macro.
14943         (frexp_test_data): New variable.
14944         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14945
14946         * math/libm-test.inc (struct test_fF_f1_data): New type.
14947         (RUN_TEST_LOOP_fF_f1): New macro.
14948         (modf_test_data): New variable.
14949         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14950
14951         * math/libm-test.inc (struct test_f_f1_data): New type.
14952         (RUN_TEST_LOOP_f_f1): New macro.
14953         (gamma_test_data): New variable.
14954         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14955         (lgamma_test_data): New variable.
14956         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14957
14958 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
14959
14960         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14961         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14962         (main): Comment "tls" pseudo-hwcap.
14963
14964 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
14965
14966         * math/libm-test.inc (struct test_fl_f_data): New type.
14967         (RUN_TEST_LOOP_fl_f): New variable.
14968         (scalbln_test_data): New variable.
14969         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14970
14971         * math/libm-test.inc (struct test_fi_f_data): New type.
14972         (RUN_TEST_LOOP_fi_f): New macro.
14973         (ldexp_test_data): New variable.
14974         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14975         (scalbn_test_data): New variable.
14976         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14977
14978         * math/libm-test.inc (struct test_c_f_data): New type.
14979         (RUN_TEST_LOOP_c_f): New macro.
14980         (cabs_test_data): New variable.
14981         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14982         (carg_test_data): New variable.
14983         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14984         (cimag_test_data): New variable.
14985         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14986         (creal_test_data): New variable.
14987         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14988
14989         * math/libm-test.inc (struct test_if_f_data): New type.
14990         (RUN_TEST_LOOP_if_f): New macro.
14991         (jn_test_data): New variable.
14992         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14993         (yn_test_data): New variable.
14994         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14995
14996         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14997
14998 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14999
15000         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15001         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15002
15003 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15004
15005         * benchtests/Makefile (CPPFLAGS-nonlib): Add
15006         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15007         (bench-deps): Add bench-timing.h.
15008         * benchtests-bench-skeleton.c: Include bench-timing.h.
15009         (main): Use TIMING_* macros instead of clock_gettime.
15010         * benchtests/bench-timing.h: New file.
15011
15012         [BZ #14582]
15013         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15014         Renamed from _LIB_VERSION.
15015         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15016
15017 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
15018
15019         * math/libm-test.inc (struct test_fff_f_data): New type.
15020         (RUN_TEST_LOOP_fff_f): New macro.
15021         (fma_test_data): New variable.
15022         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15023         (fma_towardzero_test_data): New variable.
15024         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15025         (fma_downward_test_data): New variable.
15026         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15027         (fma_upward_test_data): New variable.
15028         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15029
15030         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15031         (struct test_c_c_data): New type.
15032         (RUN_TEST_LOOP_c_c): New macro.
15033         (cacos_test_data): New variable.
15034         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15035         (cacosh_test_data): New variable.
15036         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15037         (casin_test_data): New variable.
15038         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15039         (casinh_test_data): New variable.
15040         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15041         (catan_test_data): New variable.
15042         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15043         (catanh_test_data): New variable.
15044         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15045         (ccos_test_data): New variable.
15046         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15047         (ccosh_test_data): New variable.
15048         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15049         (cexp_test_data): New variable.
15050         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15051         (clog_test_data): New variable.
15052         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15053         (clog10_test_data): New variable.
15054         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15055         (conj_test_data): New variable.
15056         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15057         (cproj_test_data): New variable.
15058         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15059         (csin_test_data): New variable.
15060         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15061         (csinh_test_data): New variable.
15062         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15063         (csqrt_test_data): New variable.
15064         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15065         (ctan_test_data): New variable.
15066         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15067         (ctan_tonearest_test_data): New variable.
15068         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15069         (ctan_towardzero_test_data): New variable.
15070         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15071         (ctan_downward_test_data): New variable.
15072         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15073         (ctan_upward_test_data): New variable.
15074         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15075         (ctanh_test_data): New variable.
15076         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15077         (ctanh_tonearest_test_data): New variable.
15078         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15079         (ctanh_towardzero_test_data): New variable.
15080         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15081         (ctanh_downward_test_data): New variable.
15082         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15083         (ctanh_upward_test_data): New variable.
15084         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15085         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15086         of BUILD_COMPLEX.
15087
15088         * math/libm-test.inc (struct test_ff_f_data): New type.
15089         (struct test_ff_f_data_nexttoward): Likewise.
15090         (RUN_TEST_LOOP_2_f): New macro.
15091         (RUN_TEST_LOOP_ff_f): Likewise.
15092         (atan2_test_data): New variable.
15093         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15094         (copysign_test_data): New variable.
15095         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15096         (fdim_test_data): New variable.
15097         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15098         (fmax_test_data): New variable.
15099         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15100         (fmin_test_data): New variable.
15101         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15102         (fmod_test_data): New variable.
15103         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15104         (hypot_test_data): New variable.
15105         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15106         (nextafter_test_data): New variable.
15107         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15108         (nexttoward_test_data): New variable.
15109         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15110         (pow_test_data): New variable.
15111         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15112         (pow_tonearest_test_data): New variable.
15113         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15114         (pow_towardzero_test_data): New variable.
15115         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15116         (pow_downward_test_data): New variable.
15117         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15118         (pow_upward_test_data): New variable.
15119         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15120         (remainder_test_data): New variable.
15121         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15122         (scalb_test_data): New variable.
15123         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15124         * sysdeps/i386/fpu/libm-test-ulps: Update.
15125
15126 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
15127
15128         * math/libm-test.inc (fma_test): Use max_value instead of local
15129         variable fltmax.
15130         (nextafter_test): Likewise.
15131
15132         * math/libm-test.inc (acos_towardzero_test_data): New variable.
15133         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15134         (acos_downward_test_data): New variable.
15135         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15136         (acos_upward_test_data): New variable.
15137         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15138         (acosh_test_data): New variable.
15139         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15140         (asin_test_data): New variable.
15141         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15142         (asin_tonearest_test_data): New variable.
15143         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15144         (asin_towardzero_test_data): New variable.
15145         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15146         (asin_downward_test_data): New variable.
15147         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15148         (asin_upward_test_data): New variable.
15149         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15150         (asinh_test_data): New variable.
15151         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15152         (atan_test_data): New variable.
15153         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15154         (atanh_test_data): New variable.
15155         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15156         (cbrt_test_data): New variable.
15157         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15158         (ceil_test_data): New variable.
15159         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15160         (cos_test_data): New variable.
15161         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15162         (cos_tonearest_test_data): New variable.
15163         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15164         (cos_towardzero_test_data): New variable.
15165         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15166         (cos_downward_test_data): New variable.
15167         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15168         (cos_upward_test_data): New variable.
15169         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15170         (cosh_test_data): New variable.
15171         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15172         (cosh_tonearest_test_data): New variable.
15173         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15174         (cosh_towardzero_test_data): New variable.
15175         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15176         (cosh_downward_test_data): New variable.
15177         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15178         (cosh_upward_test_data): New variable.
15179         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15180         (erf_test_data): New variable.
15181         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15182         (erfc_test_data): New variable.
15183         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15184         (exp_test_data): New variable.
15185         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15186         (exp_tonearest_test_data): New variable.
15187         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15188         (exp_towardzero_test_data): New variable.
15189         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15190         (exp_downward_test_data): New variable.
15191         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15192         (exp_upward_test_data): New variable.
15193         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15194         (exp10_test_data): New variable.
15195         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15196         (exp2_test_data): New variable.
15197         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15198         (expm1_test_data): New variable.
15199         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15200         (fabs_test_data): New variable.
15201         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15202         (floor_test_data): New variable.
15203         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15204         (j0_test_data): New variable.
15205         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15206         (j1_test_data): New variable.
15207         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15208         (log_test_data): New variable.
15209         (log_test): Run tests with RUN_TEST_LOOP_f_f.
15210         (log10_test_data): New variable.
15211         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15212         (log1p_test_data): New variable.
15213         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15214         (log2_test_data): New variable.
15215         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15216         (logb_test_data): New variable.
15217         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15218         (logb_downward_test_data): New variable.
15219         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15220         (nearbyint_test_data): New variable.
15221         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15222         (rint_test_data): New variable.
15223         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15224         (rint_tonearest_test_data): New variable.
15225         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15226         (rint_towardzero_test_data): New variable.
15227         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15228         (rint_downward_test_data): New variable.
15229         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15230         (rint_upward_test_data): New variable.
15231         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15232         (round_test_data): New variable.
15233         (round_test): Run tests with RUN_TEST_LOOP_f_f.
15234         (sin_test_data): New variable.
15235         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15236         (sin_tonearest_test_data): New variable.
15237         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15238         (sin_towardzero_test_data): New variable.
15239         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15240         (sin_downward_test_data): New variable.
15241         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15242         (sin_upward_test_data): New variable.
15243         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15244         (sinh_test_data): New variable.
15245         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15246         (sinh_tonearest_test_data): New variable.
15247         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15248         (sinh_towardzero_test_data): New variable.
15249         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15250         (sinh_downward_test_data): New variable.
15251         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15252         (sinh_upward_test_data): New variable.
15253         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15254         (sqrt_test_data): New variable.
15255         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15256         (tan_test_data): New variable.
15257         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15258         (tan_tonearest_test_data): New variable.
15259         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15260         (tan_towardzero_test_data): New variable.
15261         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15262         (tan_downward_test_data): New variable.
15263         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15264         (tan_upward_test_data): New variable.
15265         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15266         (tanh_test_data): New variable.
15267         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15268         (tgamma_test_data): New variable.
15269         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15270         (trunc_test_data): New variable.
15271         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15272         (y0_test_data): New variable.
15273         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15274         (y1_test_data): New variable.
15275         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15276         (significand_test_data): New variable.
15277         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15278
15279 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
15280
15281         [BZ #12387]
15282         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15283
15284 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15285
15286         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15287
15288 2013-05-10  Andreas Jaeger  <aj@suse.de>
15289
15290         [BZ #15448]
15291         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15292         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15293
15294 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15295
15296         * math/gen-libm-test.pl (adjust_arg): New function.
15297         (special_functions): Handle generating output in both functions
15298         and arrays.
15299         (parse_args): Likewise.
15300         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
15301         $in_func argument to parse_args.
15302         * math/libm-test.inc (struct test_f_f_data): New type.
15303         (IF_ROUND_INIT_): New macro.
15304         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15305         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15306         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15307         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15308         (ROUND_RESTORE_): Likewise.
15309         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15310         (ROUND_RESTORE_FE_TONEAREST): Likewise.
15311         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15312         (ROUND_RESTORE_FE_UPWARD): Likewise.
15313         (RUN_TEST_LOOP_f_f): New macro.
15314         (acos_test_data): New variable.
15315         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15316         (acos_tonearest_test_data): New variable.
15317         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15318
15319 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15320
15321         * benchtests/bench-skeleton.c (startup): Fix coding style.
15322
15323 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15324
15325         [BZ #6809]
15326         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15327         negative infinity argument.
15328         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15329         negative infinity argument.
15330         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15331         negative infinity argument.
15332         * math/libm-test.inc (tgamma_test): Expect errno to be set for
15333         domain errors.
15334
15335 2013-05-10  Florian Weimer  <fweimer@redhat.com>
15336
15337         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15338         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15339         * iconv/iconv_prog.c (main): Likewise.
15340         * locale/programs/charmap-dir.c (charmap_readdir)
15341         (fopen_uncompressed): Likewise.
15342         * locale/programs/locfile.c (siblings_uncached)
15343         (write_locale_data): Use lstat64 instead of lstat.
15344         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15345         stat.
15346
15347 2013-05-10  Andreas Jaeger  <aj@suse.de>
15348
15349         [BZ #15395]
15350         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15351         localization.
15352         Include <locale.h>.
15353
15354 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
15355
15356         * elf/dl-close.c (_dl_close_worker): Add comments.
15357
15358 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
15359
15360         [BZ #15359]
15361         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15362         high part of pi/2.
15363         (__ieee754_rem_pio2l): Update comments.
15364
15365         [BZ #15429]
15366         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15367         high part of pi/2.
15368         (__ieee754_rem_pio2l): Update comments.
15369
15370         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15371         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15372
15373         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15374         M_PI_4l.
15375
15376         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15377         (M_PI_34_LOG10El): Likewise.
15378         (M_PI2_LOG10El): Likewise.
15379         (M_PI4_LOG10El): Likewise.
15380         (M_PI_LOG10El): Likewise.
15381
15382 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15383
15384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15385
15386 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
15387
15388         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15389         (MINUS_ZERO_INIT): Likewise.
15390         (PLUS_INFTY_INIT): Likewise.
15391         (MINUS_INFTY_INIT): Likewise.
15392         (QNAN_VALUE_INIT): Likewise.
15393         (MAX_VALUE_INIT): Likewise.
15394         (MIN_VALUE_INIT): Likewise.
15395         (MIN_SUBNORM_VALUE_INIT): Likewise.
15396         (plus_zero): Initialize with PLUS_ZERO_INIT.
15397         (minus_zero): Initialize with MINUS_ZERO_INIT.
15398         (plus_infty): Initialize with PLUS_INFTY_INIT.
15399         (minus_infty): Initialize with MINUS_INFTY_INIT.
15400         (qnan_value): Initialize with QNAN_VALUE_INIT.
15401         (max_value): Initialize with MAX_VALUE_INIT.
15402         (min_value): Initialize with MIN_VALUE_INIT.
15403         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15404
15405         * math/libm-test.inc (RUN_TEST_if_f): New macro.
15406         (jn_test): Use TEST_if_f instead of TEST_ff_f.
15407         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15408         (yn_test): Use TEST_if_f instead of TEST_ff_f.
15409
15410         * math/libm-test.inc (RUN_TEST_f_f): New macro.
15411         (RUN_TEST_2_f): Likewise.
15412         (RUN_TEST_ff_f): Likewise.
15413         (RUN_TEST_fi_f): Likewise.
15414         (RUN_TEST_fl_f): Likewise.
15415         (RUN_TEST_fff_f): Likewise.
15416         (RUN_TEST_c_f): Likewise.
15417         (RUN_TEST_f_f1): Likewise.
15418         (RUN_TEST_fF_f1): Likewise.
15419         (RUN_TEST_fI_f1): Likewise.
15420         (RUN_TEST_ffI_f1): Likewise.
15421         (RUN_TEST_c_c): Likewise.
15422         (RUN_TEST_cc_c): Likewise.
15423         (RUN_TEST_f_i): Likewise.
15424         (RUN_TEST_f_i_tg): Likewise.
15425         (RUN_TEST_ff_i_tg): Likewise.
15426         (RUN_TEST_f_b): Likewise.
15427         (RUN_TEST_f_b_tg): Likewise.
15428         (RUN_TEST_f_l): Likewise.
15429         (RUN_TEST_f_L): Likewise.
15430         (RUN_TEST_sincos): Likewise.
15431         * math/gen-libm-test.pl (new_test): Take new argument to indicate
15432         whether to show exceptions.  Do not include ");\n" in return
15433         value.
15434         (special_functions): Output call to RUN_TEST_sincos instead of
15435         check_float calls.  Update calls to new_test.
15436         (parse_args): Output call to single RUN_TEST_* macro instead of
15437         check_* calls and other assignments.  Update calls to new_test.
15438
15439         [BZ #2546]
15440         [BZ #2560]
15441         [BZ #5159]
15442         [BZ #15426]
15443         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15444         input to result for tgamma overflow.
15445         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15446         (gamma_coeff): New variable.
15447         (NCOEFF): New macro.
15448         (gamma_positive): New function.
15449         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15450         underflow here.  Use gamma_positive instead of exp (lgamma) for
15451         other arguments.
15452         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15453         (gamma_coeff): New variable.
15454         (NCOEFF): New macro.
15455         (gammaf_positive): New function.
15456         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15457         underflow here.  Use gamma_positive instead of exp (lgamma) for
15458         other arguments.
15459         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15460         (gamma_coeff): New variable.
15461         (NCOEFF): New macro.
15462         (gammal_positive): New function.
15463         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15464         underflow here.  Use gamma_positive instead of exp (lgamma) for
15465         other arguments.
15466         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15467         (gamma_coeff): New variable.
15468         (NCOEFF): New macro.
15469         (gammal_positive): New function.
15470         (__ieee754_gammal_r): Handle positive infinity, overflow and
15471         underflow here.  Handle NaN the same as positive infinity.  Remove
15472         check x < 0xffffffff for negative integers.  Use gamma_positive
15473         instead of exp (lgamma) for other arguments.
15474         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15475         (gamma_coeff): New variable.
15476         (NCOEFF): New macro.
15477         (gammal_positive): New function.
15478         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15479         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15480         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15481         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15482         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15483         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15484         * sysdeps/generic/math_private.h (__gamma_productf): New
15485         prototype.
15486         (__gamma_product): Likewise.
15487         (__gamma_productl): Likewise.
15488         * math/Makefile (libm-calls): Add gamma_product.
15489         * math/libm-test.inc (tgamma_test): Add more tests.
15490         * sysdeps/i386/fpu/libm-test-ulps: Update.
15491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15492
15493 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
15494
15495         * benchtests/bench-skeleton.c (main): Preheat CPU.
15496
15497 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
15498
15499         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15500
15501 2013-05-07  Roland McGrath  <roland@hack.frob.com>
15502
15503         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15504         and _dl_skip_args_internal.
15505
15506 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
15507
15508         * manual/message.texi (Message Translation): Talk about users.
15509         Message to key mapping impacts design.
15510
15511 2013-05-06  Roland McGrath  <roland@hack.frob.com>
15512
15513         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15514
15515         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15516
15517         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15518         * sysdeps/wordsize-64/glob64.c: ... here.
15519
15520         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15521         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15522         New macros.
15523
15524         * debug/getlogin_r_chk.c: Moved to ...
15525         * login/getlogin_r_chk.c: ... here.
15526         * debug/Makefile (routines): Move getlogin_r_chk to ...
15527         * login/Makefile (routines): ... here.
15528         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15529         * login/Versions (libc: GLIBC_2.4): ... here.
15530
15531         * io/poll.c (__poll): Renamed from poll.
15532         Add libc_hidden_def.
15533         (poll): Define as weak alias.
15534
15535         * debug/ptsname_r_chk.c: Moved to ...
15536         * login/ptsname_r_chk.c: ... here.
15537         * debug/Makefile (routines): Move ptsname_r_chk to ...
15538         * login/Makefile (routines): ... here.
15539         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15540         * login/Versions (libc: GLIBC_2.4): ... here.
15541
15542         * posix/getlogin.c: Moved to ...
15543         * login/getlogin.c: ... here.
15544         * posix/getlogin_r.c: Moved to ...
15545         * login/getlogin_r.c: ... here.
15546         * posix/getlogin_r.c: Moved to ...
15547         * login/getlogin_r.c: ... here.
15548         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15549         * login/Makefile (routines): ... here.
15550         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15551         * login/Versions (libc: GLIBC_2.0): ... here.
15552
15553         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15554         (setrlimit): Define as weak alias.
15555
15556         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15557         Call __ names for open, ftruncate, and close.
15558         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15559         (truncate): Define as weak alias.
15560
15561 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
15562
15563         * math/gen-libm-test.pl (parse_args): Initialize x before each
15564         test of frexp, modf and remquo.
15565
15566         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15567         test signgam value.
15568
15569 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15570
15571         [BZ #15418]
15572         [BZ #15419]
15573         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15574         internal tests.
15575         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15576
15577 2013-05-06  Roland McGrath  <roland@hack.frob.com>
15578
15579         * elf/dl-writev.h: New file.
15580         * elf/dl-misc.c: Include it.
15581         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15582         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15583
15584 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
15585
15586         * math/libm-test.inc (noXFails): Remove variable.
15587         (noXPasses): Likewise.
15588         (BUILD_COMPLEX_INT): Remove macro.
15589         (print_screen): Remove xfail argument.
15590         (print_screen_max_error): Likewise.
15591         (update_stats): Likewise.
15592         (print_max_error): Likewise.  Update calls to other affected
15593         functions.
15594         (print_complex_max_error): Likewise.
15595         (test_single_exception): Update calls to print_screen.
15596         (test_single_errno): Likewise.
15597         (check_float_internal): Remove xfail argument.  Update calls to
15598         other affected functions.
15599         (check_float): Likewise.
15600         (check_complex): Likewise.
15601         (check_int): Likewise.
15602         (check_long): Likewise.
15603         (check_bool): Likewise.
15604         (check_longlong): Likewise.
15605         (main): Don't print noXFails and noXPasses.
15606         * math/gen-libm-test.pl (top level): Don't mention expected
15607         failure handling in comment.
15608         (new_test): Don't handle expected failures.
15609         (parse_args): Don't mention expected failure handling in comment.
15610         (generate_testfile): Don't handle expected failures.
15611         (parse_ulps): Likewise.
15612         (print_ulps_file): Likewise.
15613         (get_failure): Remove function.
15614         (output_test): Don't handle expected failures.
15615         * make/README.libm-test: Don't mention expected failure handling.
15616
15617         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
15618         (minus_zero): Likewise.
15619         (plus_infty): Likewise.
15620         (minus_infty): Likewise.
15621         (qnan_value): Likewise.
15622         (max_value): Likewise.
15623         (min_value): Likewise.
15624         (min_subnorm_value): Likewise.
15625         (initialize): Do not initialize those variables dynamically.
15626
15627 2013-05-03  Roland McGrath  <roland@hack.frob.com>
15628
15629         * io/open.c (__open_2): Moved to ...
15630         * io/open_2.c: ... this new file.
15631         * io/open64.c (__open64_2): Moved to ...
15632         * io/open64_2.c: ... this new file.
15633         * io/openat.c (__openat_2): Moved to ...
15634         * io/openat_2.c: ... this new file.
15635         * io/openat64.c (__openat64_2): Moved to ...
15636         * io/openat64_2.c: ... this new file.
15637         * io/Makefile (routines): Add them.
15638         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15639         * sysdeps/unix/sysv/linux/open_2.c: File removed.
15640         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15641         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15642         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15643         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15644         (__openat64): Add hidden_ver.
15645         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15646         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15647
15648         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15649         Separately conditionalize setting of GLRO(dl_sysinfo) so
15650         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15651         as well, but the actual setting is only under [NEED_DL_SYSINFO].
15652
15653 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15654
15655         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15656         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15657         definition.
15658         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15659         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15660         (_libc_vdso_platform_setup): Add __vdso_time initialization.
15661         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15662         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15663
15664 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
15665
15666         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15667         test signgam value.
15668
15669         * math/libm-test.inc (hypot_test): Do not use
15670         IGNORE_ZERO_INF_SIGN.
15671
15672 2013-05-03  Andreas Jaeger  <aj@suse.de>
15673
15674         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15675         Linux 3.9.
15676         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15677         (PF_MAX): Adjust for VSOCK change.
15678
15679 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15680
15681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15682
15683 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
15684
15685         [BZ #15264]
15686         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15687         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15688         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15689
15690 2013-05-02  David S. Miller  <davem@davemloft.net>
15691
15692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15693
15694 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
15695
15696         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15697
15698 2013-05-01  Roland McGrath  <roland@hack.frob.com>
15699
15700         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15701
15702 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
15703
15704         [BZ #14952]
15705         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15706         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15707         Use __attribute__ ((__gnu_inline__)).
15708         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15709         Don't use __attribute__ ((__gnu_inline__)).
15710
15711 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
15712
15713         [BZ #15423]
15714         * math/s_catan.c (__catan): Handle small real or imaginary part of
15715         input specially to avoid spurious underflow.
15716         * math/s_catanf.c (__catanf): Likewise.
15717         * math/s_catanh.c (__catanh): Likewise.
15718         * math/s_catanhf.c (__catanhf): Likewise.
15719         * math/s_catanhl.c (__catanhl): Likewise.
15720         * math/s_catanl.c (__catanl): Likewise.
15721         * math/libm-test.inc (catan_test): Add more tests.
15722         (catanh_test): Likewise.
15723         * sysdeps/i386/fpu/libm-test-ulps: Update.
15724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15725
15726 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15727
15728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15729
15730 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
15731
15732         [BZ #15416]
15733         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15734         accurately for denominator in atan2.
15735         * math/s_catanf.c (__catanf): Likewise.
15736         * math/s_catanh.c (__catanh): Likewise.
15737         * math/s_catanhf.c (__catanhf): Likewise.
15738         * math/s_catanhl.c (__catanhl): Likewise.
15739         * math/s_catanl.c (__catanl): Likewise.
15740         * math/libm-test.inc (catan_test): Add more tests.
15741         (catanh_test): Likewise.
15742         * sysdeps/i386/fpu/libm-test-ulps: Update.
15743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15744
15745 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15746
15747         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15748
15749         * benchtests/Makefile (bench): Remove slow benchmarks.
15750         * benchtests/atan-inputs: Add slow benchmark inputs.
15751         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15752         (BENCH_FUNC): Accept variant offset.
15753         (VARIANT): Define.
15754         * benchtests/bench-skeleton.c (main): Run benchmark for each
15755         variant.
15756         * benchtests/cos-inputs: Add slow benchmark inputs.
15757         * benchtests/exp-inputs: Likewise.
15758         * benchtests/pow-inputs: Likewise.
15759         * benchtests/sin-inputs: Likewise.
15760         * benchtests/slowatan-inputs: Remove.
15761         * benchtests/slowatan.c: Remove.
15762         * benchtests/slowcos-inputs: Remove.
15763         * benchtests/slowcos.c: Remove.
15764         * benchtests/slowexp-inputs: Remove.
15765         * benchtests/slowexp.c: Remove.
15766         * benchtests/slowpow-inputs: Remove.
15767         * benchtests/slowpow.c: Remove.
15768         * benchtests/slowsin-inputs: Remove.
15769         * benchtests/slowsin.c: Remove.
15770         * benchtests/slowtan-inputs: Remove.
15771         * benchtests/slowtan.c: Remove.
15772         * benchtests/tan-inputs: Add slow benchmark inputs.
15773         * scripts/bench.pl: Parse comments and directives.
15774
15775         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
15776         in CPPFLAGS.
15777         ($(objpfx)bench-%.c): Remove *-ITER.
15778         * benchtests/bench-modf.c: Remove definition of ITER.
15779         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15780         (main): Loop for DURATION seconds instead of fixed number of
15781         iterations.
15782         * scripts/bench.pl: Don't expect iterations in parameters.
15783
15784 2013-04-29  Roland McGrath  <roland@hack.frob.com>
15785
15786         * io/fchdir.c (__fchdir): Renamed from fchdir.
15787         (fchdir): Define as weak alias.
15788
15789 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15790
15791         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15792         (ERRNO_EDOM): Likewise.
15793         (ERRNO_ERANGE): Likewise.
15794         (noErrnoTests): New variable.
15795         (init_max_error): Set errno to 0.
15796         (test_single_errno): New function.
15797         (test_errno): Likewise.
15798         (check_float_internal): Call test_errno.  Set errno to 0.
15799         (check_complex): Refer to errno tests in comment.
15800         (check_int): Call test_errno.  Set errno to 0.
15801         (check_long): Likewise.
15802         (check_bool): Likewise.
15803         (check_longlong): Likewise.
15804         (cos_test): Use ERRNO_* flags for errno tests instead of
15805         check_int.
15806         (expm1_test): Likewise.
15807         (fmod_test): Likewise.
15808         (ilogb_test): Likewise.
15809         (lgamma_test): Likewise.
15810         (pow_test): Likewise.
15811         (remainder_test): Likewise.
15812         (sin_test): Likewise.
15813         (tan_test): Likewise.
15814         (yn_test): Likewise.
15815         (initialize): Set errno to 0.
15816         (main): Print number of errno tests.
15817         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15818
15819 2013-04-29  Andreas Jaeger  <aj@suse.de>
15820
15821         [BZ #15084]
15822         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15823         and RES_USEVC.
15824
15825         [BZ #15085]
15826         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15827         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15828         unimplemented.
15829
15830         [BZ #15380]
15831         * stdlib/random.c (__initstate): Return NULL if
15832         __initstate fails.
15833
15834         [BZ #15086]
15835         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15836         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15837         RES_SNGLKUPREOP.
15838
15839 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15840
15841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15842
15843 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15844
15845         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15846         of individual tests.
15847         (casin_test): Likewise.
15848         (casinh_test): Likewise.
15849
15850 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
15851
15852         [BZ #15409]
15853         * math/s_catan.c (__catan): Handle arguments with large real or
15854         imaginary part separately without squaring.
15855         * math/s_catanf.c (__catanf): Likewise.
15856         * math/s_catanh.c (__catanh): Likewise.
15857         * math/s_catanhf.c (__catanhf): Likewise.
15858         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15859         and redefine.
15860         (__catanhl): Handle arguments with large real or imaginary part
15861         separately without squaring.
15862         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15863         and redefine.
15864         (__catanl): Handle arguments with large real or imaginary part
15865         separately without squaring.
15866         * math/libm-test.inc (catan_test): Add more tests.
15867         (catanh_test): Likewise.
15868         * sysdeps/i386/fpu/libm-test-ulps: Update.
15869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15870
15871 2013-04-27  Andreas Jaeger  <aj@suse.de>
15872
15873         [BZ #15007]
15874         * stdlib/stdlib.h: Update guards for qecvt.
15875         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15876         <stdlib.h>.
15877
15878 2013-04-27  Allan McRae  <allan@archlinux.org>
15879
15880         * sysdeps/i386/fpu/libm-test-ulps: Update.
15881
15882 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
15883
15884         [BZ #15406]
15885         * math/s_catan.c: Include <float.h>.
15886         (__catan): Ensure underflow exception occurs for underflowed
15887         result.
15888         * math/s_catanf.c: Include <float.h>.
15889         (__catanf): Ensure underflow exception occurs for underflowed
15890         result.
15891         * math/s_catanh.c: Include <float.h>.
15892         (__catanh): Ensure underflow exception occurs for underflowed
15893         result.
15894         * math/s_catanhf.c: Include <float.h>.
15895         (__catanhf): Ensure underflow exception occurs for underflowed
15896         result.
15897         * math/s_catanhl.c: Include <float.h>.
15898         (__catanhl): Ensure underflow exception occurs for underflowed
15899         result.
15900         * math/s_catanl.c: Include <float.h>.
15901         (__catanl): Ensure underflow exception occurs for underflowed
15902         result.
15903         * math/libm-test.inc (catan_test): Add more tests.
15904         (catanh_test): Likewise.
15905
15906         [BZ #15405]
15907         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15908         underflowed result.
15909         * math/s_ccoshf.c (__ccoshf): Likewise.
15910         * math/s_ccoshl.c (__ccoshl): Likewise.
15911         * math/s_csin.c (__csin): Likewise.
15912         * math/s_csinf.c (__csinf): Likewise.
15913         * math/s_csinh.c (__csinh): Likewise.
15914         * math/s_csinhf.c (__csinhf): Likewise.
15915         * math/s_csinhl.c (__csinhl): Likewise.
15916         * math/s_csinl.c (__csinl): Likewise.
15917         * math/libm-test.inc (ccos_test): Add more tests.
15918         (ccosh_test): Likewise.
15919         (csin_test): Likewise.
15920         (csinh_test): Likewise.
15921
15922 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15923
15924         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15925         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15926         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15927         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15928         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15929         powerpc/power5+/fpu folders.
15930         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15931
15932
15933 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15934
15935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15936
15937 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
15938
15939         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15940         additions to variable.
15941         [$(config-machine) = x86_64] (modules-names): Likewise.
15942         ($(objpfx)tst-audit3): Remove dependency.
15943         ($(objpfx)tst-audit3.out): Likewise.
15944         ($(objpfx)tst-audit4): Likewise.
15945         ($(objpfx)tst-audit4.out): Likewise.
15946         ($(objpfx)tst-audit5): Likewise.
15947         ($(objpfx)tst-audit5.out): Likewise.
15948         ($(objpfx)tst-audit6): Likewise.
15949         ($(objpfx)tst-audit6.out): Likewise.
15950         ($(objpfx)tst-audit7): Likewise.
15951         ($(objpfx)tst-audit7.out): Likewise.
15952         (tst-audit3-ENV): Remove variable.
15953         (tst-audit4-ENV): Likewise.
15954         (tst-audit5-ENV): Likewise.
15955         (tst-audit6-ENV): Likewise.
15956         (tst-audit7-ENV): Likewise.
15957         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15958         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15959         addition to variable.
15960         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15961         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15962         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15963         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15964         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15965         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15966         tst-audit3, tst-audit4 and tst-audit5.
15967         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15968         tst-audit6 and tst-audit7.
15969         [$(subdir) = elf] (modules-names): Add audit modules for those
15970         tests.
15971         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15972         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15973         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15974         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15975         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15976         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15977         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15978         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15979         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15980         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15981         [$(subdir) = elf] (tst-audit3-ENV): New variable.
15982         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15983         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15984         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15985         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15986         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15987         Likewise.
15988         [$(subdir) = elf && $(config-cflags-avx) = yes]
15989         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15990         [$(subdir) = elf && $(config-cflags-avx) = yes]
15991         (CFLAGS-tst-auditmod4a.c): Likewise.
15992         [$(subdir) = elf && $(config-cflags-avx) = yes]
15993         (CFLAGS-tst-auditmod4b.c): Likewise.
15994         [$(subdir) = elf && $(config-cflags-avx) = yes]
15995         (CFLAGS-tst-auditmod6b.c): Likewise.
15996         [$(subdir) = elf && $(config-cflags-avx) = yes]
15997         (CFLAGS-tst-auditmod6c.c): Likewise.
15998         [$(subdir) = elf && $(config-cflags-avx) = yes]
15999         (CFLAGS-tst-auditmod7b.c): Likewise.
16000         * elf/tst-audit3.c: Move to ...
16001         * sysdeps/x86_64/tst-audit3.c: ... here.
16002         * elf/tst-audit4.c: Move to ...
16003         * sysdeps/x86_64/tst-audit4.c: ... here.
16004         * elf/tst-audit5.c: Move to ...
16005         * sysdeps/x86_64/tst-audit5.c: ... here.
16006         * elf/tst-audit6.c: Move to ...
16007         * sysdeps/x86_64/tst-audit6.c: ... here.
16008         * elf/tst-audit7.c: Move to ...
16009         * sysdeps/x86_64/tst-audit7.c: ... here.
16010         * elf/tst-auditmod3a.c: Move to ...
16011         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16012         * elf/tst-auditmod3b.c: Move to ...
16013         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16014         * elf/tst-auditmod4a.c: Move to ...
16015         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16016         * elf/tst-auditmod4b.c: Move to ...
16017         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16018         * elf/tst-auditmod5a.c: Move to ...
16019         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16020         * elf/tst-auditmod5b.c: Move to ...
16021         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16022         * elf/tst-auditmod6a.c: Move to ...
16023         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16024         * elf/tst-auditmod6b.c: Move to ...
16025         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16026         * elf/tst-auditmod6c.c: Move to ...
16027         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16028         * elf/tst-auditmod7a.c: Move to ...
16029         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16030         * elf/tst-auditmod7b.c: Move to ...
16031         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16032
16033 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
16034
16035         [BZ #15366]
16036         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16037         define unconditionally.
16038         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16039         define unconditionally.
16040         (INT8_C, INT16_C, etc.): Likewise.
16041
16042 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
16043
16044         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16045         __ehdr_start with hidden visibility.
16046
16047         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16048
16049 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
16050
16051         * math/libm-test.inc (cos_test): Use accurate hex constants.
16052         (sincost_test): Likewise.
16053
16054 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
16055
16056         * math/libm-test.inc (catan_test): Add more tests.
16057         (catanh_test): Likewise.
16058
16059         * math/s_catanf.c (__catanf): Use suffixed floating-point
16060         constants.
16061         * math/s_catanhf.c (__catanhf): Likewise.
16062         * math/s_catanhl.c (__catanhl): Likewise.
16063         * math/s_catanl.c (__catanl): Likewise.
16064
16065         [BZ #15394]
16066         * math/s_catan.c (__catan): Calculate imaginary part of result
16067         with log1p not log unless computing log of number close to 0.
16068         * math/s_catanf.c (__catanf): Likewise.
16069         * math/s_catanl.c (__catanl): Likewise.
16070         * math/s_catanh.c (__catanh): Calculate real part of result with
16071         log1p not log unless computing log of number close to 0.
16072         * math/s_catanhf.c (__catanhf): Likewise.
16073         * math/s_catanhl.c (__catanhl): Likewise.
16074         * math/libm-test.inc (catan_test): Add more tests.
16075         (catanh_test): Likewise.
16076         * sysdeps/i386/fpu/libm-test-ulps: Update.
16077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16078
16079 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16080
16081         * benchtests/Makefile: Mention files in which fast and slow
16082         paths of math functions are implemented.
16083
16084 2013-04-23  Roland McGrath  <roland@hack.frob.com>
16085
16086         * sysdeps/posix/timespec_get.c: New file.
16087
16088 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16089
16090         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16091         POWER.
16092         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16093         for POWER.
16094         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16095         powerpc/power5/fpu folders.
16096         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16097         * benchtests/Makefile: Add modf testcase.
16098         * benchtests/bench-modf.c: New file: Benchmark test for mo
16099
16100 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16101
16102         [BZ #14888]
16103         * time/Makefile (tests): Add tst-strptime-whitespace.
16104         * time/strptime_l.c (get_number): Use ISSPACE.
16105         (__strptime_internal): Likewise.
16106         * time/tst-strptime-whitespace.c: New test case.
16107
16108 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
16109
16110         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16111         member.
16112         (_nss_files_init): Set it here.
16113
16114 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
16115
16116         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16117         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16118         unsigned.
16119
16120 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
16121
16122         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16123
16124 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16125
16126         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16127         size just once.
16128
16129 2013-04-21  David S. Miller  <davem@davemloft.net>
16130
16131         * po/ru.po: Update Russion translation from translation project.
16132
16133 2013-04-17  Adam Conrad  <adconrad@0c3.net>
16134
16135         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16136         and setfsgid.
16137
16138 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
16139
16140         * configure.in: Remove i386 configure warning. Remove i386 case.
16141         * configure: Regenerate.
16142         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16143         Add example to error message.
16144         * sysdeps/i386/configure: Regenerate.
16145
16146 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16147
16148         * benchtests/Makefile (bench): Add cos, tan, slowcos and
16149         slowtan.
16150         * benchtests/cos-inputs: New file.
16151         * benchtests/slowcos-inputs: New file.
16152         * benchtests/slowcos.c: New file.
16153         * benchtests/slowtan-inputs: New file.
16154         * benchtests/slowtan.c: New file.
16155         * benchtests/tan-inputs: New file.
16156
16157 2013-04-16  Roland McGrath  <roland@hack.frob.com>
16158
16159         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16160         considered kosher.
16161
16162 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16163
16164         * benchtests/Makefile: Include cppflags-iterator.mk to add
16165         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16166
16167         * Makefile.in (bench-clean): New target.
16168         * benchtests/Makefile (bench-clean): Likewise.
16169
16170 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
16171
16172         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16173
16174 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
16175
16176         * stdio-common/tstdiomisc.c: Fix coding-style violation.
16177
16178 2013-04-15  Andreas Schwab  <schwab@suse.de>
16179
16180         * nscd/grpcache.c (cache_addgr): Properly check for short write.
16181         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16182         * nscd/pwdcache.c (cache_addpw): Likewise.
16183         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
16184         more than recsize.
16185
16186 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16187
16188         * benchtests/Makefile (bench): Write all output to
16189         bench-out.tmp together.
16190
16191 2013-04-15  Andreas Schwab  <schwab@suse.de>
16192
16193         * nscd/nscd.c (main): Don't fork again after closing files.
16194
16195 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16196
16197         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16198
16199         * benchtests/Rules (bench-deps): Collect dependencies into a
16200         single variable.  Add Makefile to dependencies.
16201         ($(objpfx)bench-%.c): Depend on bench-deps.
16202
16203 2013-04-12  Roland McGrath  <roland@hack.frob.com>
16204             Xavier Roche  <roche+kml2@exalead.com>
16205
16206         [BZ #15361]
16207         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16208         just that it's a file descriptor.
16209         * manual/llio.texi (Synchronizing AIO Operations): Update description
16210         for EBADF error from aio_fsync.
16211
16212 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16213
16214         * Rules (bench): Move target definition...
16215         * benchtests/Makefile: ... here.
16216
16217 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
16218
16219         * math/libm-test.inc (cos_test): Fix PI/2 test.
16220         (sincos_test): Likewise.
16221         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16222         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16223
16224 2013-04-11  Andreas Schwab  <schwab@suse.de>
16225
16226         [BZ #13988]
16227         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16228         accept exponent character only when digits were seen.
16229         * stdio-common/Makefile (tests): Add bug26.
16230         * stdio-common/bug26.c: New file.
16231
16232         [BZ #14293]
16233         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16234         non-freeable.
16235
16236 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16237
16238         * Makeconfig (rtld-prefix): Define built linker prefix.
16239         * Rules (run-bench): Use it.
16240         * math/Makefile (run-regen-ulps): Likewise.
16241
16242         * Rules (bench): Remove eval.
16243
16244 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16245             Roland McGrath  <roland@hack.frob.com>
16246             Ondrej Bilka  <neleai@seznam.cz>
16247
16248         [BZ #15346]
16249         * time/getdate.c: Include ctype.h and alloca.h.
16250         (__getdate_r): Trim leading and trailing spaces of input.
16251         * time/tst-getdate.c (tests): Add tests with leading and
16252         trailing spaces.
16253
16254 2013-04-08  Roland McGrath  <roland@hack.frob.com>
16255
16256         [BZ #14280]
16257         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16258         when computing value.
16259
16260 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16261
16262         * math/README.libm-test (How can I generate "libm-test-ulps"?):
16263         Use testrun.sh to run libm tests.
16264
16265         [BZ #15309]
16266         * elf/dl-open.c (dl_open_worker): memset all of seen array.
16267
16268 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
16269
16270         [BZ #15264]
16271         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16272
16273 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16274
16275         * Makefile.in (regen-ulps): New target.
16276         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16277         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16278         [ifneq (no,$(PERL)] (regen-ulps): New target.
16279         [ifeq (no,$(PERL)] (regen-ulps): New target.
16280         * math/libm-test.inc (ulps_file_name): Define.
16281         (output_dir): New variable.
16282         (options): Add "output-dir" option.
16283         (parse_opt): Handle 'o' case.
16284         (main): If output_dir is non-NULL use it as a prefix
16285         otherwise use "".
16286         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16287
16288 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16289
16290         [BZ #10060, #10062]
16291         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16292         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16293         fail configure if __sync_val_compare_and_swap is not inlined.
16294         * sysdeps/i386/configure: Regenerate.
16295         * configure.in: Build for i686 when configured for i386.
16296         * configure: Regenerate.
16297         * README: Remove i386 reference.
16298
16299 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16300
16301         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16302         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16303
16304 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16305
16306         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16307         (lmsnanval): New variables.
16308         (F): Add conversion tests.
16309         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16310         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16311
16312         * stdio-common/tstdiomisc.c (F): Properly collect individual
16313         tests' results.
16314
16315         [BZ #14686, #15336]
16316         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16317         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16318         Instead, use input NaN values or generate a qNaN by arithmetic
16319         operation.  Also fix bugs to comply with the standard.
16320         * math/libm-test.inc (remainder_test): Add more tests.
16321
16322         [BZ #15335, #15342]
16323         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16324         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16325         input NaN values or generate a qNaN by arithmetic operation.
16326
16327         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16328         unreachable code.
16329
16330         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16331         definitions.
16332
16333 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
16334
16335         [BZ #14478]
16336         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16337         underflowed result.
16338         * math/s_cexpf.c (__cexpf): Likewise.
16339         * math/s_cexpl.c (__cexpl): Likewise.
16340         * math/libm-test.inc (cexp_test): Add more tests.
16341
16342 2013-04-03  Andreas Schwab  <schwab@suse.de>
16343
16344         [BZ #15330]
16345         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16346         order arrays from heap if bigger than alloca cutoff.
16347
16348 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
16349
16350         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16351         (SNAN_TESTS_double): Refer to GCC PR56831.
16352         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16353         GCC PR56828.
16354
16355 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16356
16357         * Rules (bench): Move bench.out after the run is complete.
16358
16359         * Rules (bench): Echo currently running benchmark.
16360
16361         * benchtests/Makefile (bench): Add atan and slowatan.
16362         * benchtests/atan-inputs: New file.
16363         * benchtests/slowatan-inputs: New file.
16364         * benchtests/slowatan.c: New file.
16365
16366         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16367         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16368         its value.
16369
16370         [BZ #15305]
16371         * sysdeps/unix/sysv/linux/kernel-features.h
16372         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16373         __ASSUME_XFS_RESTRICTED_CHOWN.
16374         * sysdeps/unix/sysv/linux/pathconf.c
16375         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16376         Save and restore errno.
16377
16378 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
16379
16380         [BZ #15327]
16381         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16382         arguments using __kernel_casinh.
16383         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16384         arguments using __kernel_casinhf.
16385         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16386         arguments using __kernel_casinhl.
16387         * math/libm-test.inc (cacosh_test): Add more tests.
16388         * sysdeps/i386/fpu/libm-test-ulps: Update.
16389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16390
16391 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16392
16393         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16394         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16395
16396         * bench/Makefile (bench): Add sin and slowsin.
16397         * benchtests/sin-inputs: New file.
16398         * benchtests/slowsin-inputs: New file.
16399         * benchtests/slowsin.c: New file.
16400
16401         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16402         (bench): Add slowexp and slowpow.
16403         (exp-ITER): Increase iterations.
16404         (pow-ITER): Likewise.
16405         * benchtests/exp-inputs: Change input.
16406         * benchtests/pow-inputs: Likewise.
16407         * benchtests/slowexp-inputs: New file.
16408         * benchtests/slowexp.c: New file.
16409         * benchtests/slowpow-inputs: New file.
16410         * benchtests/slowpow.c: New file.
16411
16412 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16413
16414         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16415         instructions.
16416         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16417         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16418         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16419         * benchtests/Makefile: Add rint benchtest.
16420         * benchtests/rint-inputs: Input for rint benchtest.
16421
16422 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16423
16424         * Versions.def (libm): Add GLIBC_2.18.
16425         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16426         hidden libm prototypes.
16427         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16428         * math/Makefile (libm-calls): Add s_issignaling.
16429         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16430         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
16431         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16432         declaration.
16433         * math/math.h [__USE_GNU] (issignaling): New macro.
16434         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16435         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16436         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16437         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16438         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16439         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16440         * manual/arith.texi (issignaling): New section.
16441         * manual/libm-err-tab.pl (@all_functions): Update comment.
16442         * math/gen-libm-test.pl (parse_args): Apply special handling for
16443         issignaling.
16444         * math/libm-test.inc (print_float, issignaling_test): New
16445         functions.
16446         (check_float_internal): Add issignaling checks.
16447         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16448         default definition.
16449         * sysdeps/powerpc/math-tests.h: New file.
16450         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16451         tests.
16452         * math/test-snan.c (TEST_FUNC): Likewise.
16453
16454 2013-03-30  David S. Miller  <davem@davemloft.net>
16455
16456         * po/de.po: Update from translation team.
16457
16458 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
16459
16460         [BZ #10357]
16461         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16462         imaginary part less than 1.0 and real part less than 0.5
16463         specially.
16464         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16465         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16466         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16467         (cacos_test): Add more tests.
16468         (casin_test): Likewise.
16469         (casinh_test): Likewise.
16470         * sysdeps/i386/fpu/libm-test-ulps: Update.
16471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16472
16473 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16474
16475         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16476         ONE with its value.
16477
16478         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16479         (__pow_mp): Replace ONE and MONE with their values.
16480         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16481         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16482         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16483         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16484         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16485         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16486
16487         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16488
16489         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16490         (__pow_mp): Replace ZERO and MZERO with their values.
16491         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16492         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16493         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16494         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16495         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16496         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16497         (__sqr): Likewise.
16498
16499         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16500
16501         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16502
16503 2013-03-28  Roland McGrath  <roland@hack.frob.com>
16504
16505         * include/stdlib.h [!SHARED] (__call_tls_dtors):
16506         Declare with __attribute__ ((weak)).
16507         * stdlib/exit.c (__libc_atexit) [!SHARED]:
16508         Call __call_tls_dtors only if it's not NULL.
16509
16510 2013-03-28  Roland McGrath  <roland@hack.frob.com>
16511
16512         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16513         didn't do it already, then set _dl_phdr and _dl_phnum based on the
16514         magic __ehdr_start linker symbol if it's defined.
16515         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16516         them up here if it was already done.
16517
16518         * elf/dl-support.c (_dl_phdr): Make pointer to const.
16519         (_dl_aux_init): Use const in cast when setting it.
16520         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16521         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16522         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16523
16524         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16525         Declare them here.
16526         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16527         * csu/libc-tls.c: Nor here.
16528         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16529
16530         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16531         (__libc_message): Never call vsyslog.
16532
16533 2013-03-28  Alan Modra  <amodra@gmail.com>
16534
16535         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16536         Define as empty.
16537         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16538         Likewise.
16539
16540 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16541
16542         [BZ #15214]
16543         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16544         underflow.
16545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16546
16547 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16548
16549         [BZ #15304]
16550         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16551         Don't add gid passed as argument.
16552
16553         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16554
16555 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
16556
16557         [BZ #15307]
16558         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16559         imaginary part between 1.0 and 1.5 and real part less than 0.5
16560         specially.
16561         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16562         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16563         * math/libm-test.inc (cacos_test): Add more tests.
16564         (casin_test): Likewise.
16565         (casinh_test): Likewise.
16566         * sysdeps/i386/fpu/libm-test-ulps: Update.
16567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16568
16569 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16570
16571         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16572         constants.
16573         (norm): Likewise.
16574         (denorm): Likewise.
16575         (__dbl_mp): Likewise.
16576         (add_magnitudes): Likewise.
16577         (sub_magnitudes): Likewise.
16578         (__add): Likewise.
16579         (__sub): Likewise.
16580         (__mul): Likewise.
16581         (__sqr): Likewise.
16582         (__inv): Likewise.
16583         (__dvd): Likewise.
16584
16585         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16586         commented code.
16587         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16588         (__dubcos): Likewise.
16589         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16590         (__ieee754_acos): Likewise.
16591         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16592         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16593         (__exp1): Likewise.
16594         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16595         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16596         (log1): Likewise.
16597         (my_log2): Likewise.
16598         (checkint): Likewise.
16599         * sysdeps/ieee754/dbl-64/e_remainder.c
16600         (__ieee754_remainder): Likewise.
16601         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16602         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16603         (bsloww): Likewise.
16604         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16605
16606         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16607         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16608         MANTISSA_STORE_T to store computations on mantissa.  Use
16609         macros for rounding and division.
16610         (denorm): Likewise.
16611         (__dbl_mp): Likewise.
16612         (add_magnitudes): Likewise.
16613         (sub_magnitudes): Likewise.
16614         (__mul): Likewise.
16615         (__sqr): Likewise.
16616         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16617         powers of two in terms of TWOPOW macro.
16618         (mp_no): Make type of mantissa as MANTISSA_T.
16619         [!RADIXI]: Define RADIXI.
16620         [!TWO52]: Define TWO52.
16621         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16622
16623 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16624
16625         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16626         llroundl symbol when building for PPC32.
16627
16628 2013-03-24  Mark H Weaver  <mhw@netris.org>
16629
16630         * manual/arith.texi (Normalization Functions): Fix prototypes for
16631         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16632
16633 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16634
16635         [BZ #13889]
16636         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16637         high value to check if expl overflow.
16638         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16639         to check for underflow and overflow.
16640         * math/libm-test.inc: Add exp test.
16641
16642 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
16643
16644         [BZ #11120]
16645         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16646         with NOT_IN_libc.
16647
16648 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16649
16650         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16651         symbol.
16652
16653 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16654
16655         * math/gen-libm-test.pl (parse_args, special_functions): Properly
16656         wrap blocks consisting of several statements.
16657
16658         * sysdeps/generic/math-tests.h: New file.
16659         * sysdeps/i386/fpu/math-tests.h: Likewise.
16660         * math/test-snan.c: Include it.
16661         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16662
16663 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16664
16665         [BZ #15285]
16666         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16667         (__ieee754_j0l): Do not improve calculations using cos of twice
16668         input for inputs above LDBL_MAX / 2.0L.
16669         (__ieee754_y0l): Likewise.
16670         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16671         (__ieee754_j1l): Do not improve calculations using cos of twice
16672         input for inputs above LDBL_MAX / 2.0L.
16673         (__ieee754_y1l): Likewise.
16674         * math/libm-test.inc (j0_test): Add another test.
16675         (j1_test): Likewise.
16676         (y0_test): Likewise.
16677         (y1_test): Likewise.
16678         * sysdeps/i386/fpu/libm-test-ulps: Update.
16679
16680 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16681
16682         * Rules ($(objpfx)bench-%.c): Include code from a C source
16683         file.
16684
16685 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16686
16687         [BZ #15287]
16688         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16689         imaginary part 1.0 and real part less than 0.5 specially.
16690         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16691         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16692         * math/libm-test.inc (cacos_test): Add more tests.
16693         (casin_test): Likewise.
16694         (casinh_test): Likewise.
16695         * sysdeps/i386/fpu/libm-test-ulps: Update.
16696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16697
16698 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16699
16700         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16701         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16702
16703 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
16704
16705         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16706         * config.make.in (config-cflags-sse4): Remove variable.
16707         (config-cflags-avx): Likewise.
16708         (config-cflags-sse2avx): Likewise.
16709         (config-cflags-novzeroupper): Likewise.
16710         (config-asflags-i686): Likewise.
16711         (have-mfma4): Likewise.
16712         (have-as-vis3): Likewise.
16713         (MIG): Likewise.
16714         * configure.in (MIG): Do not AC_SUBST.
16715         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16716         (libc_cv_cc_sse4): Do not AC_SUBST.
16717         (libc_cv_cc_avx): Likewise.
16718         (libc_cv_cc_sse2avx): Likewise.
16719         (libc_cv_cc_novzeroupper): Likewise.
16720         (libc_cv_cc_fma4): Likewise.
16721         (libc_cv_as_i686): Likewise.
16722         (libc_cv_sparc_as_vis3): Likewise.
16723         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16724         LIBC_CONFIG_VAR.
16725         (config-asflags-i686): Likewise.
16726         (config-cflags-avx): Likewise.
16727         (config-cflags-sse2avx): Likewise.
16728         (have-mfma4): Likewise.
16729         (config-cflags-novzeroupper): Likewise.
16730         * sysdeps/mach/configure.in (MIG): Likewise.
16731         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16732         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16733         LIBC_CONFIG_VAR.
16734         (config-cflags-avx): Likewise.
16735         (config-cflags-sse2avx): Likewise.
16736         (have-mfma4): Likewise.
16737         (config-cflags-novzeroupper): Likewise.
16738         * configure: Regenerated.
16739         * sysdeps/i386/configure: Likewise.
16740         * sysdeps/mach/configure: Likewise.
16741         * sysdeps/sparc/configure: Likewise.
16742         * sysdeps/x86_64/configure: Likewise.
16743
16744 2013-03-20  Roland McGrath  <roland@hack.frob.com>
16745
16746         [BZ #14812]
16747         * locale/programs/localedef.c (options): Put N_ translation marker
16748         on argument names, not just descriptions.
16749
16750 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16751
16752         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16753
16754 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
16755
16756         [BZ #14176]
16757         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16758
16759 2013-03-19  Roland McGrath  <roland@hack.frob.com>
16760
16761         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16762         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16763         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16764         [!BEFORE_ABORT] (before_abort): New function.
16765         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16766         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16767         (writev_for_fatal): New function.
16768         (WRITEV_FOR_FATAL): New macro; call that.
16769         (backtrace_and_maps): New function.
16770         (BEFORE_ABORT): New macro; call that.
16771         (struct str_list): Type removed.
16772         (__libc_message, __libc_fatal): Functions removed.
16773         Include <sysdeps/posix/libc_fatal.c> instead.
16774
16775 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
16776
16777         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16778         constants.
16779         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16780         double constants.
16781
16782 2013-03-19  Andreas Schwab  <schwab@suse.de>
16783
16784         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16785         * sysdeps/gnu/configure: Regenerate.
16786
16787         * configure.in: Substitute libc_cv_rtlddir.
16788         * configure: Regenerate.
16789         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16790         * Makeconfig (rtlddir, inst_rtlddir): New variables.
16791         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16792         * elf/Makefile (install-others, CFLAGS-interp.c)
16793         (ldso_install, common-ldd-rewrite): Likewise.
16794         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16795         $(inst_slibdir)/$(rtld-installed-name).
16796         * scripts/rellns-sh: Add -p option.
16797         * Makerules (make-shlib-link): Use rellns-sh to get relative name
16798         for source.
16799
16800 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16801
16802         * manual/nptl.texi: Renamed to ...
16803         * manual/threads.texi: ... this.
16804         * manual/Makefile (chapters): Update.
16805
16806 2013-03-18  Roland McGrath  <roland@hack.frob.com>
16807
16808         [BZ #14812]
16809         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16810         on argument names, not just descriptions.
16811         * malloc/memusagestat.c (options): Likewise.
16812         * nss/getent.c (options): Likewise.
16813
16814 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
16815
16816         [BZ #14812]
16817         * iconv/iconv_prog.c (options): Put N_ translation marker
16818         on argument names, not just descriptions.
16819         * iconv/iconvconfig.c (options): Likewise.
16820
16821 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
16822
16823         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16824         implementation which is faster on all x86_64 architectures.
16825         Tested on AMD, Intel Nehalem, SNB, IVB.
16826         * sysdeps/x86_64/strnlen.S: Likewise.
16827
16828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16829         Remove all multiarch strlen and strnlen versions.
16830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16831         Remove strlen and strnlen related parts.
16832
16833         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16834         Inline strlen part.
16835         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16836
16837         * sysdeps/x86_64/multiarch/strlen.S: Remove.
16838         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16839         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16840         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16841         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16842         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16843
16844 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
16845
16846         * manual/memory.texi (Malloc Tunable Parameters):
16847         Sort parameters alphabetically. Add comments for missing entries.
16848
16849 2013-03-17  David S. Miller  <davem@davemloft.net>
16850
16851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16852
16853 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
16854
16855         [BZ #15283]
16856         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16857         for arguments at most half maximum finite value.
16858         * math/libm-test.inc (j0_test): Add more tests.
16859         (j1_test): Likewise.
16860         (y0_test): Likewise.
16861         (y1_test): Likewise.
16862         * sysdeps/i386/fpu/libm-test-ulps: Update.
16863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16864
16865         [BZ #14155]
16866         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16867         1 / x and functions P and Q for arguments above 0x1p256L.
16868         (__ieee754_y0l): Likewise.
16869         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16870         (__ieee754_y1l): Likewise.
16871         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16872         (j1_test): Likewise.
16873         (y0_test): Likewise.
16874         (y1_test): Likewise.
16875
16876 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
16877
16878         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16879         variable.
16880
16881 2013-03-15  Roland McGrath  <roland@hack.frob.com>
16882
16883         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16884         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16885         zero since it's initialized to EXEC_PAGESIZE.
16886
16887         * sysdeps/unix/sysv/linux/ldsodefs.h
16888         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16889         * sysdeps/generic/ldsodefs.h: ... here.
16890
16891 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
16892
16893         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16894
16895         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16896         math/test-snan.c.
16897         * math/test-snan.c: Renamed from
16898         sysdeps/powerpc/fpu/test-powerpc-snan.c.
16899         * math/Makefile (tests): Add test-snan.
16900         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16901         test-powerpc-snan.
16902
16903         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16904         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
16905         functions.
16906         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
16907         __builtin_nan family of functions.
16908         * math/libm-test.inc (initialize): Initialize qnan_value with
16909         __builtin_nan family of functions.
16910         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16911         Remove variables.
16912         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16913         Remove functions.
16914         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
16915         storage class.  Initialize qNaN_var and sNaN_var with
16916         __builtin_nan and __builtin_nans families of functions,
16917         respectively.
16918
16919         * math/libm-test.inc (acosh_test): Also test with qNaN input.
16920         (sqrt_test): Remove duplicate test with qNaN input.
16921         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16922         (round_test, signbit_test, significand_test): Note missing +/-Inf
16923         as well as qNaN tests.
16924
16925         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16926         qNaN_var.  Fix a few strings, too.
16927         * math/libm-test.inc (nan_value): Rename to qnan_value.
16928         * math/gen-libm-test.pl (%beautify): Adjust to that.
16929         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16930         * math/test-misc.c (main): Likewise.
16931         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16932         to __qnan_bytes, and __qnan_union, respectively.
16933         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16934         Likewise.
16935         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16936         and lqnanval, respectively.
16937         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16938         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16939         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16940         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16941
16942         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16943         * math/test-misc.c (main) [__x86_64__]: Enable test for long
16944         doubles.
16945
16946         * math/test-misc.c (main): Fix copy'n'pastos.
16947         * misc/tst-efgcvt.c (special): Likewise.
16948
16949         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16950         Remove declarations.
16951
16952 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16953
16954         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16955         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16956         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16957         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16958
16959 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16960
16961         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16962         macro to return vdso values correctly in IFUNC implementations.
16963         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16964         Optimization by using IFUNC.
16965
16966 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16967             Richard Henderson  <rth@redhat.com>
16968             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16969
16970         * Makefile.in (bench): New target.
16971         * NEWS: Mention the benchmark framework.
16972         * Rules (bench): Likewise.
16973         (binaries-bench): Generate binaries for functions to
16974         benchmark.
16975         * benchtests/Makefile: New makefile for benchmark tests.
16976         * benchtests/bench-skeleton.c: New skeleton file for benchmark
16977         programs.
16978         * benchtests/exp-inputs: New input file for EXP function.
16979         * benchtests/pow-inputs: New input file for POW function.
16980         * scripts/bench.pl: New script to generate source files for
16981         benchmark programs.
16982
16983 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16984
16985         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16986         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16987         computations on mantissa.  Use macros for rounding and
16988         division.
16989         (denorm): Likewise.
16990         (__dbl_mp): Likewise.
16991         (add_magnitudes): Likewise.
16992         (sub_magnitudes): Likewise.
16993         (__mul): Likewise.
16994         (__sqr): Likewise.
16995         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16996         powers of two in terms of TWOPOW macro.
16997         (mp_no): Make type of mantissa as MANTISSA_T.
16998         [!RADIXI]: Define RADIXI.
16999         [!TWO52]: Define TWO52.
17000         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17001
17002         * manual/nptl.texi (cindex): Modify threads to pthreads.
17003
17004 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
17005
17006         * sysdeps/x86_64/preconfigure: Regenerated.
17007
17008 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
17009
17010         [BZ #14155]
17011         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17012         0x1p28 and above.
17013         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17014         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17015         0x1p28 and above.
17016         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17017         * math/libm-test.inc (j0_test): Do not allow one spurious
17018         underflow exception.
17019         (y1_test): Likewise.
17020
17021 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17022
17023         * manual/Makefile (chapters): Add nptl.
17024         * manual/debug.texi (Debugging Support): Add link to Threads
17025         chapter.
17026         * manual/nptl.texi: New file.
17027
17028         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17029
17030 2013-03-14  Petr Baudis  <pasky@ucw.cz>
17031
17032         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17033         for non-NULL pointer before the memory validity test. Pointed
17034         out by Holger Brunck <holger.brunck@keymile.com>.
17035
17036 2013-03-13  Andreas Schwab  <schwab@suse.de>
17037
17038         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17039         instead of .os.
17040
17041 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
17042
17043         * timezone/zic.c: Update from tzcode 2013b.
17044
17045 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
17046
17047         * manual/install.texi (Configuring and compiling):
17048         Mention i686 and i586.
17049         * INSTALL: Regenerate.
17050
17051 2013-03-12  Roland McGrath  <roland@hack.frob.com>
17052
17053         * sysdeps/init_array/elf-init.c: New file.
17054         * csu/elf-init.c
17055         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17056         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17057
17058         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17059         __gmon_start__ as global, but as static with a .preinit_array pointer.
17060         * sysdeps/init_array/gmon-start.c: New file.  Use that.
17061         * sysdeps/init_array/crti.S: New file, empty except for comments.
17062         * sysdeps/init_array/crtn.S: Likewise.
17063
17064 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
17065
17066         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17067         definining bcopy.
17068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17069         Remove Prefer_SSE_for_memop.
17070         * sysdeps/x86_64/multiarch/init-arch.h: Remove
17071         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17072         HAS_PREFER_SSE_FOR_MEMOP.
17073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17074         memset-x86-64.
17075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17076         Remove bzero, memset ifunc support.
17077         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17078         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17079         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17080         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17081
17082 2013-03-11  Andreas Schwab  <schwab@suse.de>
17083
17084         [BZ #15234]
17085         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17086         by SHLIB_COMPAT.
17087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17088         (GLIBC_2.16): Remove pthread_atfork.
17089
17090 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17091
17092         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17093         (ptestcases.h): Likewise.
17094
17095 2013-03-08  Roland McGrath  <roland@hack.frob.com>
17096
17097         * Makeconfig ($(common-objpfx)config.status): Depend on
17098         sysdeps/*/preconfigure{,.in} too.
17099
17100 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
17101
17102         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17103         (__free_hook): Use void * instead of __malloc_ptr_t.
17104         (__malloc_hook): Likewise.
17105         (__realloc_hook): Likewise.
17106         (__memalign_hook): Likewise.
17107         (__after_morecore_hook): Likewise.
17108         * malloc/arena.c (save_malloc_hook): Likewise.
17109         (save_free_hook): Likewise.
17110         * malloc/hooks.c (malloc_hook_ini): Likewise.
17111         (realloc_hook_ini): Likewise.
17112         (memalign_hook_ini): Likewise.
17113         * malloc/malloc.c (malloc_hook_ini): Likewise.
17114         (realloc_hook_ini): Likewise.
17115         (memalign_hook_ini): Likewise.
17116         (__free_hook): Likewise.
17117         (__malloc_hook): Likewise.
17118         (__realloc_hook): Likewise.
17119         (__memalign_hook): Likewise.
17120         (__libc_malloc): Likewise.
17121         (__libc_free): Likewise.
17122         (__libc_realloc): Likewise.
17123         (__libc_memalign): Likewise.
17124         (__libc_valloc): Likewise.
17125         (__libc_pvalloc): Likewise.
17126         (__libc_calloc): Likewise.
17127         (__posix_memalign): Likewise.
17128         * malloc/morecore.c (__sbrk): Likewise.
17129         (__default_morecore): Likewise.
17130
17131         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17132
17133         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17134         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17135         __malloc_ptrdiff_t.
17136
17137         * malloc/malloc.h (__malloc_size_t): Remove macro.
17138         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17139         __malloc_size_t.
17140         (old_memalign_hook): Likewise.
17141         (old_realloc_hook): Likewise.
17142         (struct hdr): Likewise.
17143         (flood): Likewise.
17144         (mallochook): Likewise.
17145         (memalignhook): Likewise.
17146         (reallochook): Likewise.
17147         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17148         (tr_old_realloc_hook): Likewise.
17149         (tr_old_memalign_hook): Likewise.
17150         (tr_mallochook): Likewise.
17151         (tr_reallochook): Likewise.
17152         (tr_memalignhook): Likewise.
17153
17154 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17155
17156         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17157         default_ldbl_pack and using as default implementation.
17158         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17159         implementation.
17160         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17161         redundant definition.
17162         (ldbl_insert_mantissa): Likewise.
17163         (ldbl_canonicalize): Likewise.
17164         (ldbl_nearbyint): Likewise.
17165         (ldbl_pack): Rename to ldbl_pack_ppc.
17166         (ldbl_unpack): Rename to ldbl_unpack_ppc.
17167         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17168         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17169
17170 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17171
17172         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17173         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17174         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17175         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17176         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17177         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17178         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17179         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17180
17181 2013-03-07  Andreas Jaeger  <aj@suse.de>
17182
17183         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17184         bits/mman-linux.h.
17185
17186 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17187
17188         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17189         Include mpa.h and declare __MPEXP.
17190         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17191         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17192         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17193         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17194         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17195         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17196         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17197
17198         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17199         (__slowpow): Use long double EXPL and LOGL functions to
17200         compute POW.
17201         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17202         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17203         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17204         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17205         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17206         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17207
17208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17209         intermediate variable to calculate exponent.
17210         (__sqr): Likewise.
17211         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17212         Likewise.
17213         (__sqr): Likewise.
17214
17215         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17216         [!NO__SQR]: Define __sqr.
17217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17218         and NO__SQR.  Remove all code except __mul and __sqr.  Include
17219         sysdeps/ieee754/dbl-64/mpa.c.
17220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17221
17222         [BZ #12723]
17223         * posix/Makefile (tests): Add tst-pathconf.
17224         * posix/tst-pathconf.c: New test case.
17225         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17226         _PC_PIPE_BUF.
17227         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17228
17229 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
17230
17231         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17232
17233 2013-03-06  Andreas Jaeger  <aj@suse.de>
17234
17235         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17236         definition via __MAP_ANONYMOUS.
17237
17238         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17239         it's not part of Linux headers.
17240
17241         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17242         (MAP_HUGE_MASK): Define.
17243
17244         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17245         Define.
17246         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17247         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17248         Define.
17249         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17250         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17251         Define.
17252         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17253         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17254         Define.
17255         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17256
17257         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17258         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17259         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17260         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17261         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17262         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17263
17264         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17265         Handle f2fs.
17266
17267         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17268         Handle f2fs and efivarfs.
17269
17270         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17271         f2fs.
17272
17273         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17274         (EFIVARFS_MAGIC): Add.
17275         (F2FS_LINK_MAX): Add.
17276
17277 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17278
17279         * stdio-common/vfprintf.c: Replace __builtin_expect with
17280         __glibc_unlikely.
17281
17282 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
17283
17284         [BZ #13550]
17285         * sysdeps/generic/bp-sym.h: Remove file.
17286         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17287         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17288         <bp-sym.h> and <bp-asm.h>.
17289         (__longjmp): Don't use BP_SYM.
17290         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17291         and <bp-asm.h>.
17292         (memcpy): Don't use BP_SYM.
17293         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17294         <bp-sym.h> and <bp-asm.h>.
17295         (memcpy): Don't use BP_SYM.
17296         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17297         <bp-asm.h>.
17298         (memcpy): Don't use BP_SYM.
17299         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17300         <bp-asm.h>.
17301         (memset): Don't use BP_SYM.
17302         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17303         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17304         (__bzero): Don't use BP_SYM.
17305         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17306         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17307         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17308         <bp-sym.h> and <bp-asm.h>.
17309         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17310         pointers.
17311         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17312         <bp-sym.h> and <bp-asm.h>.
17313         (memcpy): Don't use BP_SYM.
17314         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17315         <bp-sym.h> and <bp-asm.h>.
17316         (memset): Don't use BP_SYM.
17317         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17318         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17319         (__bzero): Don't use BP_SYM.
17320         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17321         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17322         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17323         <bp-sym.h> and <bp-asm.h>.
17324         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17325         pointers.
17326         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17327         <bp-sym.h> and <bp-asm.h>.
17328         (memcpy): Don't use BP_SYM.
17329         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17330         <bp-sym.h> and <bp-asm.h>.
17331         (memset): Don't use BP_SYM.
17332         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17333         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17334         (__bzero): Don't use BP_SYM.
17335         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17336         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17337         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17338         <bp-sym.h> and <bp-asm.h>.
17339         (__memchr): Don't use BP_SYM.
17340         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17341         <bp-sym.h> and <bp-asm.h>.
17342         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17343         pointers.
17344         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17345         <bp-sym.h> and <bp-asm.h>.
17346         (memcpy): Don't use BP_SYM.
17347         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17348         <bp-sym.h> and <bp-asm.h>.
17349         (__mempcpy): Don't use BP_SYM.
17350         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17351         <bp-sym.h> and <bp-asm.h>.
17352         (__memrchr): Don't use BP_SYM.
17353         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17354         <bp-sym.h> and <bp-asm.h>.
17355         (memset): Don't use BP_SYM.
17356         (__bzero): Likewise.
17357         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17358         <bp-sym.h> and <bp-asm.h>.
17359         (__rawmemchr): Don't use BP_SYM.
17360         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17361         <bp-sym.h> and <bp-asm.h>.
17362         (__STRCMP): Don't use BP_SYM.
17363         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17364         <bp-sym.h> and <bp-asm.h>.
17365         (strchr): Don't use BP_SYM.
17366         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17367         <bp-sym.h> and <bp-asm.h>.
17368         (__strchrnul): Don't use BP_SYM.
17369         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17370         <bp-sym.h> and <bp-asm.h>.
17371         (strlen): Don't use BP_SYM.
17372         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17373         <bp-sym.h> and <bp-asm.h>.
17374         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17375         pointers.
17376         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17377         <bp-sym.h> and <bp-asm.h>.
17378         (__strnlen): Don't use BP_SYM.
17379         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17380         <bp-sym.h> and <bp-asm.h>.
17381         (__GI__setjmp): Don't use BP_SYM.
17382         (_setjmp): Likewise.
17383         (__sigsetjmp): Likewise.
17384         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17385         (L(start_addresses)): Don't use BP_SYM.
17386         (_start): Likewise.
17387         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17388         <bp-asm.h>.
17389         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17390         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17391         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17392         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17393         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17394         <bp-asm.h>.
17395         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17396         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
17397         about bounded pointers.
17398         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17399         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17400         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17401         <bp-asm.h>.
17402         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
17403         about bounded pointers.  Remove GKM FIXME comments.
17404         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17405         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17406         <bp-asm.h>.
17407         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17408         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
17409         Remove GKM FIXME comments.
17410         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17411         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17412         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17413         <bp-asm.h>.
17414         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
17415         about bounded pointers.  Remove GKM FIXME comment.
17416         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17417         and <bp-asm.h>.
17418         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17419         pointers.
17420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17421         <bp-sym.h> and <bp-asm.h>.
17422         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17424         <bp-sym.h> and <bp-asm.h>.
17425         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
17426         comment.
17427
17428 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17429
17430         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17431         call free(NULL).
17432
17433 2013-03-05  David S. Miller  <davem@davemloft.net>
17434
17435         * po/es.po: Update from translation team.
17436
17437 2013-03-05  Andreas Jaeger  <aj@suse.de>
17438
17439         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17440         <bits/mman-linux.h>.
17441         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17442         is fine.
17443         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17444         <bits/mman-linux.h> to end of file.
17445         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17446         is fine.
17447         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17448         <bits/mman-linux.h> to end of file.
17449         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17450         is fine.
17451         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17452         <bits/mman-linux.h> to end of file.
17453
17454         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17455         (MCL_CURRENT, MCL_FUTURE): Define here.
17456
17457 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17458
17459         [BZ #15232]
17460         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17461         attribute_hidden.
17462         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17463
17464 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17465
17466         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17467         fourth parameter needed for rt_sigprocmask syscall.
17468         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17469         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17470         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17471         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17472         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17473         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17474
17475 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
17476
17477         [BZ #13550]
17478         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17479         comment about bounded pointers.
17480         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17481         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17482
17483 2013-03-04  Andreas Jaeger  <aj@suse.de>
17484
17485         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17486         common definitions.
17487
17488         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17489         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17490         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17491         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17492         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17493         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17494
17495 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17496
17497         [BZ #15055]
17498         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17499         __ieee754_sqrl instead of __sqrl.
17500
17501 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
17502
17503         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17504         * sysdeps/powerpc/fpu_control.h: ... here.
17505         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17506         * sysdeps/powerpc/bits/fenvinline.h: ... here.
17507         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17508         * sysdeps/powerpc/bits/mathinline.h: ... here.
17509
17510 2013-03-01  Roland McGrath  <roland@hack.frob.com>
17511
17512         * elf/dl-hwcaps.c (_dl_important_hwcaps):
17513         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17514         to just [NEED_DL_SYSINFO_DSO].
17515         * elf/dl-support.c: Likewise.
17516         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17517         * elf/rtld.c (dl_main): Likewise.
17518         * elf/setup-vdso.h (setup_vdso): Likewise.
17519         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17520         * sysdeps/unix/sysv/linux/dl-sysdep.c
17521         (_dl_discover_osversion): Likewise.
17522
17523 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
17524
17525         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17526         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17527
17528 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17529
17530         * NEWS: Mention libm performance improvements and non-x86 PI
17531         futex support.
17532
17533         * csu/libc-start.c (__pthread_initialize_minimal): Change
17534         function arguments.
17535         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17536
17537 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
17538
17539         [BZ #13550]
17540         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17541         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17542         <bp-sym.h> and <bp-asm.h>.
17543         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17544         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17545         and <bp-asm.h>.
17546         (memcpy): Don't use BP_SYM.
17547         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17548         <bp-asm.h>.
17549         (__mpn_add_n): Don't use BP_SYM.
17550         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17551         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17552         and <bp-asm.h>.
17553         (__mpn_addmul_1): Don't use BP_SYM.
17554         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17555         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17556         <bp-sym.h>.
17557         (_setjmp): Don't use BP_SYM.
17558         (__novmx_setjmp): Likewise.
17559         (__GI__setjmp): Likewise.
17560         (__vmx_setjmp): Likewise.
17561         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17562         <bp-sym.h>.
17563         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17564         (__bzero): Don't use BP_SYM.
17565         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17566         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17567         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17568         <bp-sym.h> and <bp-asm.h>.
17569         (memcpy): Don't use BP_SYM.
17570         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17571         <bp-sym.h> and <bp-asm.h>.
17572         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17573         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17574         <bp-sym.h> and <bp-asm.h>.
17575         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17576         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17577         <bp-asm.h>.
17578         (__mpn_lshift): Don't use BP_SYM.
17579         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17580         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17581         <bp-asm.h>.
17582         (memset): Don't use BP_SYM.
17583         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17584         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17585         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17586         <bp-asm.h>.
17587         (__mpn_mul_1): Don't use BP_SYM.
17588         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17589         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17590         <bp-sym.h> and <bp-asm.h>.
17591         (memcmp): Don't use BP_SYM.
17592         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17593         <bp-sym.h> and <bp-asm.h>.
17594         (memcpy): Don't use BP_SYM.
17595         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17596         <bp-sym.h> and <bp-asm.h>.
17597         (memset): Don't use BP_SYM.
17598         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17599         <bp-sym.h> and <bp-asm.h>.
17600         (strncmp): Don't use BP_SYM.
17601         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17602         <bp-sym.h> and <bp-asm.h>.
17603         (memcpy): Don't use BP_SYM.
17604         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17605         <bp-sym.h> and <bp-asm.h>.
17606         (memset): Don't use BP_SYM.
17607         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17608         <bp-sym.h> and <bp-asm.h>.
17609         (__memchr): Don't use BP_SYM.
17610         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17611         <bp-sym.h> and <bp-asm.h>.
17612         (memcmp): Don't use BP_SYM.
17613         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17614         <bp-sym.h> and <bp-asm.h>.
17615         (memcpy): Don't use BP_SYM.
17616         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17617         <bp-sym.h> and <bp-asm.h>.
17618         (__mempcpy): Don't use BP_SYM.
17619         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17620         <bp-sym.h> and <bp-asm.h>.
17621         (__memrchr): Don't use BP_SYM.
17622         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17623         <bp-sym.h> and <bp-asm.h>.
17624         (memset): Don't use BP_SYM.
17625         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17626         <bp-sym.h> and <bp-asm.h>.
17627         (__rawmemchr): Don't use BP_SYM.
17628         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17629         <bp-sym.h> and <bp-asm.h>.
17630         (__STRCMP): Don't use BP_SYM.
17631         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17632         <bp-sym.h> and <bp-asm.h>.
17633         (strchr): Don't use BP_SYM.
17634         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17635         <bp-sym.h> and <bp-asm.h>.
17636         (__strchrnul): Don't use BP_SYM.
17637         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17638         <bp-sym.h> and <bp-asm.h>.
17639         (strlen): Don't use BP_SYM.
17640         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17641         <bp-sym.h> and <bp-asm.h>.
17642         (strncmp): Don't use BP_SYM.
17643         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17644         <bp-sym.h> and <bp-asm.h>.
17645         (__strnlen): Don't use BP_SYM.
17646         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17647         <bp-asm.h>.
17648         (__mpn_rshift): Don't use BP_SYM.
17649         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17650         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17651         <bp-sym.h> and <bp-asm.h>.
17652         (__sigsetjmp): Don't use BP_SYM.
17653         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17654         (L(start_addresses)): Don't use BP_SYM.
17655         (_start): Likewise.
17656         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17657         <bp-asm.h>.
17658         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17659         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17660         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17661         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17662         <bp-asm.h>.
17663         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17664         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17665         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17666         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17667         <bp-asm.h>.
17668         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17669         comments.
17670         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17671         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17672         <bp-asm.h>.
17673         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
17674         FIXME comments.
17675         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17676         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17677         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17678         <bp-asm.h>.
17679         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17680         comment.
17681         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17682         and <bp-asm.h>.
17683         (strncmp): Don't use BP_SYM,
17684         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17685         <bp-asm.h>.
17686         (__mpn_sub_n): Don't use BP_SYM.
17687         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17688         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17689         and <bp-asm.h>.
17690         (__mpn_submul_1): Don't use BP_SYM.
17691         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17693         <bp-sym.h> and <bp-asm.h>.
17694         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17696         <bp-sym.h> and <bp-asm.h>.
17697         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
17698         comment.
17699
17700 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17701
17702         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17703         Use ZK to minimize writes to Z.
17704         (sub_magnitudes): Simplify code a bit.
17705         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17706         Use ZK to minimize writes to Z.
17707         (sub_magnitudes): Simplify code a bit.
17708
17709 2013-02-27  Roland McGrath  <roland@hack.frob.com>
17710
17711         * csu/gmon-start.c: Add special exception to license text.
17712
17713 2013-02-27  Richard Henderson  <rth@redhat.com>
17714
17715         * scripts/config.guess: Update from config.git.
17716         * scripts/config.sub: Likewise.
17717
17718 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17719
17720         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17721
17722         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17723
17724         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17725
17726         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17727
17728         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17729
17730 2013-02-26  Roland McGrath  <roland@hack.frob.com>
17731
17732         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17733         [$(build-shared = yes].
17734
17735 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17736
17737         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17738         (__mul): Reduce iterations for calculating mantissa.
17739
17740         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17741         MPTWO.
17742         (__mpranred): Likewise.
17743
17744         [BZ #15160]
17745         * malloc/memusagestat.c (main): Draw graphs for heap and stack
17746         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17747
17748 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
17749
17750         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17751         Define __attribute__.
17752
17753 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17754
17755         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17756         unused.
17757         * posix/regex_internal.h (__attribute): Remove.
17758         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17759         (re_string_context_at): Likewise.
17760         (bitset_not): Use __attribute__ and mark function as possibly
17761         unused.
17762         (bitset_merge): Likewise.
17763         (bitset_mask): Likewise.
17764         (re_string_char_size_at): Likewise.
17765         (re_string_wchar_at): Likewise.
17766         (re_string_elem_size_at): Likewise.
17767
17768 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17769
17770         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17771         code.
17772         (cc32): Likewise.
17773
17774         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17775         (__acr): Likewise.
17776         (__cpy): Likewise.
17777         (norm): Likewise.
17778         (denorm): Likewise.
17779         (__dbl_mp): Likewise.
17780         (add_magnitudes): Likewise.
17781         (sub_magnitudes): Likewise.
17782         (__mul): Likewise.
17783         (__inv): Likewise.
17784
17785         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17786         style.
17787
17788         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17789         style.
17790
17791         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17792         code.
17793
17794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17795         up changes with default code.
17796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17797         Likewise.
17798
17799 2013-02-24  Allan McRae  <allan@archlinux.org>
17800
17801         * manual/socket.texi (The Internet Namespace): Order menu items
17802         to match that in the file.
17803
17804         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17805         node listing of the info page menu.
17806
17807 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
17808
17809         [BZ #13550]
17810         * sysdeps/i386/bp-asm.h: Remove file.
17811         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17812         (PARMS): Do not use macros from bp-asm.h.
17813         (S1): Likewise.
17814         (S2): Likewise.
17815         (SIZE): Likewise.
17816         (__mpn_add_n): Do not use BP_SYM
17817         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17818         "bp-asm.h".
17819         (PARMS): Do not use macros from bp-asm.h.
17820         (S1): Likewise.
17821         (SIZE): Likewise.
17822         (__mpn_addmul_1): Do not use BP_SYM
17823         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17824         "bp-asm.h".
17825         (PARMS): Do not use macros from bp-asm.h.
17826         (SIGMSK): Likewise.
17827         (_setjmp): Likewise.  Do not use BP_SYM.
17828         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17829         "bp-asm.h".
17830         (PARMS): Do not use macros from bp-asm.h.
17831         (SIGMSK): Likewise.
17832         (setjmp): Likewise.  Do not use BP_SYM.
17833         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17834         "bp-asm.h".
17835         (PARMS): Do not use macros from bp-asm.h.
17836         (__frexp): Do not use BP_SYM.
17837         (frexp): Likewise.
17838         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17839         "bp-asm.h".
17840         (PARMS): Do not use macros from bp-asm.h.
17841         (__frexpf): Do not use BP_SYM.
17842         (frexpf): Likewise.
17843         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17844         "bp-asm.h".
17845         (PARMS): Do not use macros from bp-asm.h.
17846         (__frexpl): Do not use BP_SYM.
17847         (frexpl): Likewise.
17848         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17849         "bp-asm.h".
17850         (PARMS): Do not use macros from bp-asm.h.
17851         (__remquo): Do not use BP_SYM.
17852         (remquo): Likewise.
17853         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17854         "bp-asm.h".
17855         (PARMS): Do not use macros from bp-asm.h.
17856         (__remquof): Do not use BP_SYM.
17857         (remquof): Likewise.
17858         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17859         "bp-asm.h".
17860         (PARMS): Do not use macros from bp-asm.h.
17861         (__remquol): Do not use BP_SYM.
17862         (remquol): Likewise.
17863         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17864         "bp-asm.h".
17865         (PARMS): Do not use macros from bp-asm.h.
17866         (DEST): Likewise.
17867         (SRC): Likewise.
17868         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
17869         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17870         "bp-asm.h".
17871         (PARMS): Do not use macros from bp-asm.h.
17872         (strlen): Do not use BP_SYM.
17873         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17874         "bp-asm.h".
17875         (PARMS): Do not use macros from bp-asm.h.
17876         (S1): Likewise.
17877         (S2): Likewise.
17878         (SIZE): Likewise.
17879         (__mpn_add_n): Do not use BP_SYM.
17880         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17881         "bp-asm.h".
17882         (PARMS): Do not use macros from bp-asm.h.
17883         (S1): Likewise.
17884         (SIZE): Likewise.
17885         (__mpn_addmul_1): Do not use BP_SYM.
17886         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17887         weak_alias.
17888         (bzero): Likewise.
17889         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17890         "bp-asm.h".
17891         (PARMS): Do not use macros from bp-asm.h.
17892         (S): Likewise.
17893         (SIZE): Likewise.
17894         (__mpn_lshift): Do not use BP_SYM.
17895         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17896         "bp-asm.h".
17897         (PARMS): Do not use macros from bp-asm.h.
17898         (DEST): Likewise.
17899         (SRC): Likewise.
17900         (LEN): Likewise.
17901         (memcpy): Likewise.  Do not use BP_SYM.
17902         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17903         libc_hidden_def and weak_alias.
17904         (mempcpy): Do not use BP_SYM in weak_alias.
17905         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17906         "bp-asm.h".
17907         (PARMS): Do not use macros from bp-asm.h.
17908         (DEST): Likewise.
17909         (LEN): Likewise.
17910         [!BZERO_P] (CHR): Likewise.
17911         (memset): Likewise.  Do not use BP_SYM.
17912         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17913         "bp-asm.h".
17914         (PARMS): Do not use macros from bp-asm.h.
17915         (S1): Likewise.
17916         (SIZE): Likewise.
17917         (__mpn_mul_1): Do not use BP_SYM.
17918         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17919         "bp-asm.h".
17920         (PARMS): Do not use macros from bp-asm.h.
17921         (S): Likewise.
17922         (SIZE): Likewise.
17923         (__mpn_rshift): Do not use BP_SYM.
17924         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17925         "bp-asm.h".
17926         (PARMS): Do not use macros from bp-asm.h.
17927         (STR): Likewise.
17928         (CHR): Likewise.
17929         (strchr): Likewise.  Do not use BP_SYM.
17930         (index): Do not use BP_SYM in weak_alias.
17931         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17932         "bp-asm.h".
17933         (PARMS): Do not use macros from bp-asm.h.
17934         (DEST): Likewise.
17935         (SRC): Likewise.
17936         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
17937         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17938         "bp-asm.h".
17939         (PARMS): Do not use macros from bp-asm.h.
17940         (strlen): Do not use BP_SYM.
17941         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17942         "bp-asm.h".
17943         (PARMS): Do not use macros from bp-asm.h.
17944         (S1): Likewise.
17945         (S2): Likewise.
17946         (SIZE): Likewise.
17947         (__mpn_sub_n): Do not use BP_SYM.
17948         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17949         "bp-asm.h".
17950         (PARMS): Do not use macros from bp-asm.h.
17951         (S1): Likewise.
17952         (SIZE): Likewise.
17953         (__mpn_submul_1): Do not use BP_SYM.
17954         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17955         "bp-asm.h".
17956         (PARMS): Do not use macros from bp-asm.h.
17957         (S1): Likewise.
17958         (S2): Likewise.
17959         (SIZE): Likewise.
17960         (__mpn_add_n): Do not use BP_SYM.
17961         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17962         weak_alias.
17963         (bzero): Likewise.
17964         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17965         "bp-asm.h".
17966         (PARMS): Do not use macros from bp-asm.h.
17967         (BLK2): Likewise.
17968         (LEN): Likewise.
17969         (memcmp): Do not use BP_SYM.
17970         (bcmp): Do not use BP_SYM in weak_alias.
17971         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17972         "bp-asm.h".
17973         (PARMS): Do not use macros from bp-asm.h.
17974         (DEST): Likewise.
17975         (SRC): Likewise.
17976         (LEN): Likewise.
17977         (memcpy): Likewise.  Do not use BP_SYM.
17978         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17979         "bp-asm.h".
17980         (PARMS): Do not use macros from bp-asm.h.
17981         (DEST): Likewise.
17982         (SRC): Likewise.
17983         (LEN): Likewise.
17984         (memmove): Likewise.  Do not use BP_SYM.
17985         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17986         "bp-asm.h".
17987         (PARMS): Do not use macros from bp-asm.h.
17988         (DEST): Likewise.
17989         (SRC): Likewise.
17990         (LEN): Likewise.
17991         (__mempcpy): Likewise.  Do not use BP_SYM.
17992         (mempcpy): Do not use BP_SYM in weak_alias.
17993         * sysdeps/i386/i686/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/i686/strcmp.S: Do not include "bp-sym.h" and
18001         "bp-asm.h".
18002         (PARMS): Do not use macros from bp-asm.h.
18003         (STR2): Likewise.
18004         (strcmp): Do not use BP_SYM.
18005         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18006         "bp-asm.h".
18007         (PARMS): Do not use macros from bp-asm.h.
18008         (STR): Likewise.
18009         (DELIM): Likewise.
18010         [USE_AS_STRTOK_R] (SAVE): Likewise.
18011         (FUNCTION): Likewise.  Do not use BP_SYM.
18012         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18013         aliases.
18014         (strtok_r): Likewise.
18015         (__GI___strtok_r): Likewise.
18016         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18017         (PARMS): Do not use macros from bp-asm.h.
18018         (S): Likewise.
18019         (SIZE): Likewise.
18020         (__mpn_lshift): Do not use BP_SYM.
18021         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18022         (PARMS): Do not use macros from bp-asm.h.
18023         (STR): Likewise.
18024         (CHR): Likewise.
18025         (__memchr): Do not use BP_SYM.
18026         (memchr): Do not use BP_SYM in weak_alias.
18027         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18028         (PARMS): Do not use macros from bp-asm.h.
18029         (BLK2): Likewise.
18030         (LEN): Likewise.
18031         (memcmp): Do not use BP_SYM.
18032         (bcmp): Do not use BP_SYM in weak_alias.
18033         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18034         (PARMS): Do not use macros from bp-asm.h.
18035         (S1): Likewise.
18036         (SIZE): Likewise.
18037         (__mpn_mul_1): Do not use BP_SYM.
18038         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18039         "bp-asm.h".
18040         (PARMS): Do not use macros from bp-asm.h.
18041         (STR): Likewise.
18042         (CHR): Likewise.
18043         (__rawmemchr): Do not use BP_SYM.
18044         (rawmemchr): Do not use BP_SYM in weak_alias.
18045         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18046         (PARMS): Do not use macros from bp-asm.h.
18047         (S): Likewise.
18048         (SIZE): Likewise.
18049         (__mpn_rshift): Do not use BP_SYM.
18050         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18051         (PARMS): Do not use macros from bp-asm.h.
18052         (SIGMSK): Likewise.
18053         (__sigsetjmp): Likewise.  Do not use BP_SYM.
18054         * sysdeps/i386/start.S: Do not include "bp-sym.h".
18055         (_start): Do not use BP_SYM.
18056         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18057         (PARMS): Do not use macros from bp-asm.h.
18058         (DEST): Likewise.
18059         (SRC): Likewise.
18060         (__stpcpy): Likewise.  Do not use BP_SYM.
18061         (stpcpy): Do not use BP_SYM in weak_alias.
18062         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18063         "bp-asm.h".
18064         (PARMS): Do not use macros from bp-asm.h.
18065         (DEST): Likewise.
18066         (SRC): Likewise.
18067         (LEN): Likewise.
18068         (__stpncpy): Likewise.  Do not use BP_SYM.
18069         (stpncpy): Do not use BP_SYM in weak_alias.
18070         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18071         (PARMS): Do not use macros from bp-asm.h.
18072         (STR): Likewise.
18073         (CHR): Likewise.
18074         (strchr): Likewise.  Do not use BP_SYM.
18075         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18076         "bp-asm.h".
18077         (PARMS): Do not use macros from bp-asm.h.
18078         (STR): Likewise.
18079         (CHR): Likewise.
18080         (__strchrnul): Likewise.  Do not use BP_SYM.
18081         (strchrnul): Do not use BP_SYM in weak_alias.
18082         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18083         "bp-asm.h".
18084         (PARMS): Do not use macros from bp-asm.h.
18085         (STOP): Likewise.
18086         (strcspn): Do not use BP_SYM.
18087         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18088         "bp-asm.h".
18089         (PARMS): Do not use macros from bp-asm.h.
18090         (STR): Likewise.
18091         (STOP): Likewise.
18092         (strpbrk): Likewise.  Do not use BP_SYM.
18093         * sysdeps/i386/strrchr.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         (CHR): Likewise.
18098         (strrchr): Likewise.  Do not use BP_SYM.
18099         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18100         (PARMS): Do not use macros from bp-asm.h.
18101         (SKIP): Likewise.
18102         (strspn): Do not use BP_SYM.
18103         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18104         (PARMS): Do not use macros from bp-asm.h.
18105         (STR): Likewise.
18106         (DELIM): Likewise.
18107         (SAVE): Likewise.
18108         (FUNCTION): Likewise.  Do not use BP_SYM.
18109         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18110         aliases.
18111         (strtok_r): Likewise.
18112         (__GI___strtok_r): Likewise.
18113         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18114         (PARMS): Do not use macros from bp-asm.h.
18115         (S1): Likewise.
18116         (S2): Likewise.
18117         (SIZE): Likewise.
18118         (__mpn_sub_n): Do not use BP_SYM.
18119         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18120         "bp-asm.h".
18121         (PARMS): Do not use macros from bp-asm.h.
18122         (S1): Likewise.
18123         (SIZE): Likewise.
18124         (__mpn_submul_1): Do not use BP_SYM.
18125         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18126         <bp-sym.h>.
18127         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18128         and <bp-asm.h>.
18129         (PARMS): Do not use macros from bp-asm.h.
18130         (FLAGS): Likewise.
18131         (PTID): Likewise.
18132         (TLS): Likewise.
18133         (CTID): Likewise.
18134         (__clone): Do not use BP_SYM.
18135         (clone): Do not use BP_SYM in weak_alias.
18136         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18137         and <bp-asm.h>.
18138         (PARMS): Do not use macros from bp-asm.h.
18139         (LEN): Likewise.
18140         (__mmap64): Do not use BP_SYM.
18141         (mmap64): Do not use BP_SYM in weak_alias.
18142         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18143         <bp-sym.h> and <bp-asm.h>.
18144         (PARMS): Do not use macros from bp-asm.h.
18145         (__posix_fadvise64_l64): Do not use BP_SYM.
18146         * sysdeps/unix/sysv/linux/i386/semtimedop.S
18147         (PARMS): Do not use macros from bp-asm.h.
18148         (NSOPS): Likewise.
18149         (semtimedop): Do not use BP_SYM.
18150         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18151         and <bp-asm.h>.
18152
18153 2013-02-21  Allan McRae  <allan@archlinux.org>
18154
18155         * manual/message.texi (Charset conversion in gettext):
18156         Move @end statement to beginning of line.
18157
18158 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18159
18160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18161         static.
18162         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18163         Likewise.
18164
18165         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18166         (denorm): Likewise.
18167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18169
18170 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18171
18172         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18173         tail-call to the resolved function if pltexit isn't needed.
18174
18175 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18176
18177         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18178         or Y being zero as being unlikely.
18179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18180         Likewise.
18181
18182 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
18183
18184         * manual/nss.texi (System Databases and Name Service Switch):
18185         Remove frobnicate @pxref.
18186
18187 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18188
18189         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18190         __attribute__ ((unused)) to __attribute__ ((__unused__)).
18191
18192 2013-02-20  Petr Machata  <pmachata@redhat.com>
18193
18194         * elf/elf.h (R_ARM_TARGET1): New macro.
18195         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18196         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18197         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18198         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18199         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18200         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18201         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18202         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18203         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18204         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18205         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18206         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18207         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18208         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18209         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18210         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18211         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18212         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18213         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18214         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18215         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18216         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18217         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18218         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18219         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18220         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18221         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18222         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18223         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18224         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18225         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18226         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18227         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18228         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18229         (R_ARM_THM_GOT_BREL12): Likewise.
18230         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18231         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18232         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18233         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18234         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18235         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18236         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18237         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18238         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18239
18240 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18241
18242         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18243         __attribute_used__ to __attribute__ ((unused)).
18244
18245 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18246
18247         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18248         powerpc mpa.c.
18249         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18250         comment formatting.
18251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18252
18253 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
18254
18255         [BZ #13550]
18256         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18257         Remove macro.
18258         (ENTER): Remove both macro definitions.
18259         (LEAVE): Likewise.
18260         (CHECK_BOUNDS_LOW): Likewise.
18261         (CHECK_BOUNDS_HIGH): Likewise.
18262         (CHECK_BOUNDS_BOTH): Likewise.
18263         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18264         (RETURN_BOUNDED_POINTER): Likewise.
18265         (RETURN_NULL_BOUNDED_POINTER): Likewise.
18266         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18267         (POP_ERRNO_LOCATION_RETURN): Likewise.
18268         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18269         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18270         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18271         macros.
18272         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18273         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18274         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18275         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18276         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18277         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18278         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18279         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18280         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18281         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18282         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18283         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18284         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18285         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18286         removed macros.
18287         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18288         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18289         macros.
18290         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18291         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18292         * sysdeps/i386/i586/memset.S (memset): Likewise.
18293         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18294         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18295         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18296         macros.
18297         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18298         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18299         Change uses of L(2) to L(out).
18300         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18301         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18302         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18303         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18304         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18305         removed macros.
18306         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18307         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18308         macros.
18309         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18310         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18311         (RETURN): Do not use macro LEAVE.
18312         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18313         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18314         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18315         * sysdeps/i386/i686/memset.S (memset): Likewise.
18316         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18317         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18318         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18319         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18320         Likewise.
18321         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18322         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
18323         L(1_2) and L(1_3) into L(1).
18324         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18325         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18326         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18327         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18328         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18329         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18330         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18331         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18332         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18333         macros.
18334         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18335         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18336         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18337         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18338         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18339         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18340         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18341         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18342         * sysdeps/i386/strcspn.S (strcspn): Likewise.
18343         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18344         * sysdeps/i386/strrchr.S (strrchr): Likewise.
18345         * sysdeps/i386/strspn.S (strspn): Likewise.
18346         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18347         conditional code.
18348         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18349         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18350         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18351         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
18352         L(1_3) into L(1_1).
18353         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18354         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18355         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18356         macros.
18357         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18358
18359 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
18360
18361         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18362         macro.
18363
18364 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18365
18366         * math/atest-exp.c (exp_mpn): Remove ROUND.
18367         * math/atest-exp2.c (exp_mpn): Likewise.
18368         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18369
18370         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18371         * stdlib/tst-tls-atexit-lib.c: Likewise.
18372         * stdlib/tst-tls-atexit.c: Likewise.
18373
18374 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18375
18376         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18377         and __attribute_alloc_size__.
18378
18379 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18380
18381         * include/programs/xmalloc.h: Change __attribute_alloc_size to
18382         __attribute_alloc_size__.
18383         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18384         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18385
18386 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18387
18388         * include/programs/xmalloc.h: New file.
18389         * catgets/gencat.c: Include it.
18390         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18391         * elf/pldd.c: Likewise.
18392         * iconv/iconv_charmap.c: Likewise.
18393         * iconv/iconvconfig.c: Likewise.
18394         * iconv/strtab.c: Likewise.
18395         * locale/programs/locale.c: Likewise.
18396         * locale/programs/localedef.h: Likewise.
18397         * locale/programs/simple-hash.c: Likewise.
18398         * nscd/nscd.h: Likewise.
18399         * nss/makedb.c: Likewise.
18400         * sysdeps/generic/ldconfig.h: Likewise.
18401
18402 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18403
18404         * Versions.def: Add GLIBC_2.18.
18405         * include/link.h (struct link_map): New member l_tls_dtor_count.
18406         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18407         (__call_tls_dtors): Likewise.
18408         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18409         __cxa_thread_atexit_impl.
18410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18411         Likewise.
18412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18413         Likewise.
18414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18415         Likewise.
18416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18417         Likewise.
18418         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18420         Likewise.
18421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18422         Likewise.
18423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18425         Likewise.
18426         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18427         (tests): Add test case tst-tls-atexit.
18428         (modules-names): Add shared library for tst-tls-atexit.
18429         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18430         (GLIBC_PRIVATE): Add __call_tls_dtors.
18431         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18432         for libstdc++.
18433         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18434         * stdlib/tst-tls-atexit.c: New test case.
18435         * stdlib/tst-tls-atexit-lib.c: New test case.
18436
18437         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18438
18439         * elf/Versions (ld): Add _dl_find_dso_for_object.
18440         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18441         * elf/dl-open.c (_dl_find_dso_for_object): New function.
18442         (dl_open_worker): Use _dl_find_dso_for_object.
18443         * elf/dl-sym.c (do_sym): Likewise.
18444         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18445
18446 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18447
18448         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18449         Syntactic changes only.
18450         (_dl_runtime_profile): Do a tail-call to the resolved function.
18451
18452 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
18453
18454         [BZ #13550]
18455         * sysdeps/x86_64/bp-asm.h: Remove file.
18456         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18457         <bp-sym.h> and <bp-asm.h>.
18458         (__clone): Do not use BP_SYM.
18459         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18460         <bp-sym.h> and <bp-asm.h>.
18461         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18462         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18463         "bp-asm.h".
18464         (_setjmp): Do not use BP_SYM.
18465         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18466         "bp-asm.h".
18467         (setjmp): Do not use BP_SYM.
18468         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18469         libc_hidden_def.
18470         (mempcpy): Do not use BP_SYM in weak_alias.
18471         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18472         "bp-asm.h".
18473         (strchr): Do not use BP_SYM.
18474         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18475         "bp-asm.h".
18476         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18477         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18478         (_start): Do not use BP_SYM.
18479         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18480         "bp-asm.h".
18481         (strcat): Do not use BP_SYM.
18482         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18483         "bp-asm.h".
18484         (STRCMP): Do not use BP_SYM.
18485         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18486         "bp-asm.h".
18487         (STRCPY): Do not use BP_SYM.
18488         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18489         "bp-asm.h".
18490         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18491         "bp-asm.h".
18492         (FUNCTION): Do not use BP_SYM.
18493         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18494         weak_alias.
18495         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18496
18497 2013-02-17  Andreas Jaeger  <aj@suse.de>
18498
18499         * time/Versions: Sort entries.
18500         * string/Versions: Likewise.
18501         * resolv/Versions: Likewise.
18502         * posix/Versions: Likewise.
18503         * iconv/Versions: Likewise.
18504         * elf/Versions: Likewise.
18505         * wcsmbs/Versions: Likewise.
18506
18507 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508
18509         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18510         loop termination condition.
18511
18512         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18513         variable to calculate EZ.
18514         (__sqr): Likewise.
18515
18516         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18517         the lower precision input.
18518
18519 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
18520
18521         [BZ #13550]
18522         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18523         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18524         (run-via-rtld-prefix): Do not handle %-bp tests.
18525         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18526         (all-object-suffixes): Remove .ob.
18527         (bppfx): Remove variable.
18528         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18529         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18530         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18531         [$(build-bounded) = yes] (libtype.ob): Likewise.
18532         * Makerules (elide-routines.ob): Remove variable.
18533         (do-tests-clean): Do not handle *-bp.out.
18534         (common-mostlyclean): Do not handle *-bp and *-bp.out.
18535         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18536         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18537         (tests): Do not include $(tests-bp.out).
18538         (xtests): Do not include $(xtests-bp.out).
18539         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18540         [$(build-bounded) = yes] ($(addprefix
18541         $(objpfx),$(binaries-bounded))): Remove rule.
18542         ($(objpfx)%-bp.out): Remove rule.
18543         * config.make.in (build-bounded): Remove variable.
18544         * crypt/Makefile [$(build-bounded) = yes]
18545         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18546         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18547         append to variable.
18548         [$(build-bounded) = yes] (install-lib): Likewise.
18549         [$(build-bounded) = yes] (generated): Likewise.
18550         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18551         Remove rule.
18552         * intl/Makefile [$(build-bounded) = yes]
18553         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18554         * math/Makefile [$(build-bounded) = yes]
18555         ($(tests:%=$(objpfx)%-bp): Likewise.
18556         * misc/Makefile [$(build-bounded) = yes]
18557         ($(objpfx)tst-tsearch-bp): Likewise.
18558         * nptl/Makeconfig (bounded-thread-library): Remove variable.
18559         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18560         Remove dependency.
18561         * string/Makefile (o-objects.ob): Remove variable.
18562         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18563         (CFLAGS-.ob): Remove variable.
18564         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18565         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18566         both definitions of variable.
18567         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18568         (ASFLAGS-.ob): Remove variable.
18569
18570 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
18571
18572         [BZ #13550]
18573         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18574         Remove __BOUNDED_POINTERS__ from condition.
18575         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18576         * string/bits/string2.h [!__NO_STRING_INLINES &&
18577         !__BOUNDED_POINTERS__]: Likewise.
18578         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18579         Likewise.
18580         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18581         Remove conditional code.
18582         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18583         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18584         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18585         condition.
18586
18587         [BZ #13550]
18588         * csu/libc-start.c: Do not include <bp-sym.h>.
18589         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18590         * elf/dl-open.c: Do not include <bp-sym.h>.
18591         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18592         * math/fegetenv.c: Do not include <bp-sym.h>.
18593         (fegetenv): Do not use BP_SYM in versioned symbols.
18594         * nptl/sysdeps/pthread/bits/libc-lockP.h
18595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18596         <bp-sym.h>.
18597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18598         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18600         (__pthread_mutex_destroy): Likewise.
18601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18602         (__pthread_mutex_lock): Likewise.
18603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18604         (__pthread_mutex_trylock): Likewise.
18605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18606         (__pthread_mutex_unlock): Likewise.
18607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18608         (__pthread_mutexattr_init): Likewise.
18609         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18610         (__pthread_mutexattr_destroy): Likewise.
18611         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18612         (__pthread_mutexattr_settype): Likewise.
18613         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18614         (__pthread_rwlock_init): Likewise.
18615         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18616         (__pthread_rwlock_destroy): Likewise.
18617         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18618         (__pthread_rwlock_rdlock): Likewise.
18619         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18620         (__pthread_rwlock_tryrdlock): Likewise.
18621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18622         (__pthread_rwlock_wrlock): Likewise.
18623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18624         (__pthread_rwlock_trywrlock): Likewise.
18625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18626         (__pthread_rwlock_unlock): Likewise.
18627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18628         (__pthread_key_create): Likewise.
18629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18630         (__pthread_setspecific): Likewise.
18631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18632         (__pthread_getspecific): Likewise.
18633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18634         Likewise.
18635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18636         (_pthread_cleanup_push_defer): Likewise.
18637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18638         (_pthread_cleanup_pop_restore): Likewise.
18639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18640         (pthread_setcancelstate): Likewise.
18641         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18642         <bp-sym.h>.
18643         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18644         (memchr): Do not use BP_SYM in weak_alias.
18645         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18646         (fegetenv): Do not use BP_SYM in versioned symbols.
18647         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18648         (fesetenv): Do not use BP_SYM in versioned symbols.
18649         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18650         (feupdateenv): Do not use BP_SYM in versioned symbols.
18651         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18652         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18653         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18654         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18655         (open64): Do not use BP_SYM in weak_alias.
18656         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18657         (fegetenv): Do not use BP_SYM in versioned symbols.
18658         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18659         (fesetenv): Do not use BP_SYM in versioned symbols.
18660         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18661         (feupdateenv): Do not use BP_SYM in versioned symbols.
18662         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18663         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18664         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18665         (feraiseexcept): Do not use BP_SYM in versioned symbols.
18666         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18667         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18668         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18669         <bp-sym.h>.
18670         (__libc_start_main): Do not use BP_SYM.
18671
18672 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18673
18674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18675         redundant return line.
18676         (norm): Likewise.
18677         (denorm): Likewise.
18678         (dbl_mp): Likewise.
18679         (sub_magnitudes): Likewise.
18680         (__add): Likewise.
18681         (__sub): Likewise.
18682         (__mul): Likewise.
18683         (__inv): Likewise.
18684         (__dvd): Likewise.
18685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18686         (norm): Likewise.
18687         (denorm): Likewise.
18688         (dbl_mp): Likewise.
18689         (sub_magnitudes): Likewise.
18690         (__add): Likewise.
18691         (__sub): Likewise.
18692         (__mul): Likewise.
18693         (__inv): Likewise.
18694         (__dvd): Likewise.
18695
18696         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18697         instead of __mul.
18698         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18699         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18700         (cc32): Likewise.
18701
18702         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18703         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18704         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18705         of __mul for squares.
18706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18707         function
18708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18709         Likewise.
18710         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18711         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18712
18713 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
18714
18715         [BZ #13550]
18716         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18717         code.
18718         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18719         prototype or function definition.  Rename ubp_* variables and
18720         parameters.  Remove argv definitions conditional on
18721         [__BOUNDED_POINTERS__].
18722         * debug/backtrace.c (__backtrace): Do not use __unbounded.
18723         * elf/dl-runtime.c (_dl_fixup): Likewise.
18724         * include/set-hooks.h (RUN_HOOK): Likewise.
18725         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18726         definition.
18727         * string/strcpy.c (strcpy): Do not use __unbounded.
18728         * sysdeps/generic/frame.h (struct layout): Likewise.
18729         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18730         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18731         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18732         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18733         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18734         (__backtrace): Likewise.
18735         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18736         use __ptrvalue.
18737         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18738         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18739         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18740         Likewise.
18741         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18742         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18743         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18744         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18745         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18746         Do not use __unbounded.
18747         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18748         Rename __unboundedrlimits parameter to rlimits in prototype.
18749         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18750         Do not use __unbounded.
18751         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18752         not use __ptrvalue.
18753         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18754         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18755         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18756         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18757         __ptrvalue or __unbounded.
18758         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18759         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18760         use __unbounded.
18761         (__new_msgctl): Do not use __ptrvalue.
18762         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18763         __unbounded.
18764         (__libc_msgrcv): Do not use __ptrvalue.
18765         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18766         startup_info): Do not use __unbounded.
18767         (__libc_start_main): Likewise.  Rename ubp_* variables and
18768         parameters.  Remove argv definitions conditional on
18769         [__BOUNDED_POINTERS__].
18770         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18771         __ptrvalue.
18772         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18773         use __unbounded.
18774         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18775         or __ptrvalue.
18776         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18777         use __unbounded.
18778         (__new_shmctl): Do not use __ptrvalue.
18779         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18780         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18781         Likewise.
18782         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18783         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18784         (__libc_sigaction): Likewise.
18785         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18786         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18787         Likewise.
18788         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18789
18790 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
18791
18792         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18793
18794         * string/mempcpy.c: Implement by calling memcpy.
18795
18796 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18797
18798         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18799
18800         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18801         evaluation.
18802
18803         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18804         values in the mantissa.
18805
18806         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18807         minimize writes to Z.
18808         (sub_magnitudes): Simplify code a bit.
18809
18810 2013-02-12  Roland McGrath  <roland@hack.frob.com>
18811
18812         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18813         from the message.  The linker prefixes all warnings with that already.
18814
18815 2013-02-12  Andreas Schwab  <schwab@suse.de>
18816
18817         [BZ #15078]
18818         * posix/regexec.c (extend_buffers): Add parameter min_len.
18819         (check_matching): Pass minimum needed length.
18820         (clean_state_log_if_needed): Likewise.
18821         (get_subexp): Likewise.
18822         * posix/Makefile (tests): Add bug-regex34.
18823         (bug-regex34-ENV): Define.
18824         * posix/bug-regex34.c: New file.
18825
18826         [BZ #11561]
18827         * posix/regcomp.c (parse_bracket_exp): When looking up collating
18828         elements compare against the byte sequence of it, not its name.
18829         * posix/Makefile (tests): Add bug-regex35.
18830         (bug-regex35-ENV): Define.
18831         * posix/bug-regex35.c: New file.
18832
18833 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18834
18835         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
18836         comment.
18837         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18838         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18839         (CHECK_EOL): Add undef.
18840
18841 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
18842
18843         * bits/stdlib-bsearch.h: New file.
18844         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18845         * stdlib/stdlib.h: Likewise.
18846
18847 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18848
18849         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18850         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18851         declaration.
18852         * manual/search.texi (Array Search Function): Add missing const in
18853         lfind prototype.
18854         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18855         declaration to use rlim_t.
18856         (Basic Scheduling Functions): Remove erroneous const from
18857         sched_getparam prototype.  Remove erroneous * from
18858         sched_get_priority_max and sched_get_priority_min prototypes.
18859         (Resource Usage): Fix summary @comment on vtimes to refer to
18860         sys/vtimes.h rather than vtimes.h.
18861         Add missing *s in vtimes prototype.
18862         (Limits on Resources): Fix ulimit prototype to return long int.
18863         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18864         prototypes to use long int rather than double.
18865         (BSD Random): Fix initstate and setstate to use char *, not void *.
18866         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18867         prototype to make second argument 'struct aiocb64 *const[]'.
18868         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18869         (Status of AIO Operations): Remove erroneous const in aio_return and
18870         aio_return64 prototypes.
18871         (Synchronizing I/O): Fix sync prototype to return void.
18872         * manual/startup.texi (Suboptions): Remove an erroneous const in
18873         getsubopt prototype.
18874         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18875         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18876         use size_t rather than int.
18877         (Scanning All Users): Likewise for getpwent_r.
18878         (Setting Groups): Add missing const to setgroups prototype.
18879         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18880         * manual/socket.texi (Host Names): Fix gethostbyaddr and
18881         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18882         'const void *' rather than 'const char *'.
18883         (Host Address Functions): Likewise for inet_ntop.
18884         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18885         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18886         ssize_t for return value.
18887         (Sending Data): Likewise for send, sendto, sendmsg.
18888         (Socket Option Functions): Add a missing const in setsockopt prototype.
18889         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18890         use wchar_t for the argument.
18891         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18892         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18893         take no arguments.
18894         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18895         double/float/long double for second argument.
18896         Fix return types of significand, significandf, significandl.
18897         * manual/filesys.texi (Setting Permissions): Use mode_t for second
18898         argument in fchmod prototype.
18899         (File Owner): Use uid_t and gid_t in fchown prototype.
18900         (File Times): Add const to utimes, futimes, and lutimes prototypes.
18901         (Making Special Files): Use mode_t and dev_t in mknod prototype.
18902         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18903         use 'const struct dirent **' as argument types to CMP function pointer
18904         argument.
18905         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18906         (File Times): Fix summary magic @comment for struct utimbuf and utime
18907         to refer to utime.h, not time.h.
18908         * manual/string.texi (Argz Functions): Add missing const in
18909         argz_extract and argz_next prototypes.
18910         (Finding Tokens in a String): Likewise for basename.
18911         (String/Array Comparison): Fix typo in wcscasecmp prototype.
18912         (Copying and Concatenation): Fix typo in wmemmove prototype.
18913         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18914         (Signal Stack): Remove erroneous const in sigstack prototype.
18915         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18916         prototype.
18917         (Simple Calendar Time): Likewise for stime.
18918         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18919         prototype.
18920         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18921         say sys/sysctl.h instead.
18922         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18923         and vsyslog prototypes.
18924
18925 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18926
18927         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18928         Remove.
18929
18930 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18931
18932         * misc/sys/mman.h: Fix typo in mremap comment.
18933
18934 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18935
18936         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18937         the '\0' terminator.
18938
18939 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18940
18941         [BZ #13550]
18942         * debug/segfault.c: Don't include <bp-checks.h>.
18943         * sysdeps/generic/bp-checks.h: Remove file.
18944         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18945         (__GETDENTS): Don't use CHECK_N.
18946         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18947         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18948         (__getgroups): Don't use CHECK_N.
18949         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18950         (setgroups): Don't use CHECK_N.
18951         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18952         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18953         (__libc_msgrcv): Don't use CHECK_N.
18954         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18955         (__libc_msgsnd): Don't use CHECK_N.
18956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18957         <bp-checks.h>.
18958         (__libc_pread): Don't use CHECK_N.
18959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18960         include <bp-checks.h>.
18961         (__libc_pread64): Don't use CHECK_N.
18962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18963         include <bp-checks.h>.
18964         (__libc_pwrite): Don't use CHECK_N.
18965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18966         include <bp-checks.h>.
18967         (__libc_pwrite64): Don't use CHECK_N.
18968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18969         <bp-checks.h>.
18970         (__libc_pread): Don't use CHECK_N.
18971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18972         include <bp-checks.h>.
18973         (__libc_pread64): Don't use CHECK_N.
18974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18975         include <bp-checks.h>.
18976         (__libc_pwrite): Don't use CHECK_N.
18977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18978         include <bp-checks.h>.
18979         (__libc_pwrite64): Don't use CHECK_N.
18980         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18981         (do_pread): Don't use CHECK_N.
18982         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18983         (do_pread64): Don't use CHECK_N.
18984         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18985         (do_pwrite): Don't use CHECK_N.
18986         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18987         (do_pwrite64): Don't use CHECK_N.
18988         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18989         (__libc_readv): Don't use CHECK_N.
18990         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18991         (semop): Don't use CHECK_N.
18992         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18993         <bp-checks.h>.
18994         (semtimedop): Don't use CHECK_N.
18995         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18996         (__libc_pread): Don't use CHECK_N.
18997         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18998         <bp-checks.h>.
18999         (__libc_pread64): Don't use CHECK_N.
19000         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19001         <bp-checks.h>.
19002         (__libc_pwrite): Don't use CHECK_N.
19003         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19004         <bp-checks.h>.
19005         (__libc_pwrite64): Don't use CHECK_N.
19006         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19007         <bp-checks.h>.
19008         (__libc_msgrcv): Don't use CHECK_N.
19009         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19010         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
19011         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19012         (__libc_writev): Don't use CHECK_N.
19013
19014 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19015
19016         * string/strcpy.c: Removed unused variable.
19017
19018         * Makeconfig (+sysdep-includes): Define with := rather than =.
19019         Use an existing include/ subdir of each sysdeps dir before it.
19020
19021 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19022
19023         * nscd/connection.c (register_traced_file): Comment function.
19024         [HAVE_INOTIFY] (union __inev): Define.
19025         [HAVE_INOTIFY] (inotify_check_files): New function.
19026         [HAVE_INOTIFY] (clear_db_cache): Likewise.
19027         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19028         clear_db_cache.
19029         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19030
19031 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19032
19033         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19034         loaded if not already and that a failure is permanent.
19035
19036 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19037
19038         [BZ #15006]
19039         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19040         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19041
19042 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19043
19044         [BZ #13550]
19045         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19046         (CHECK_1_NULL_OK): Likewise.
19047         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19048         (__fxstat): Do not use CHECK_1.
19049         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19050         <bp-checks.h>.
19051         (___fxstat64): Do not use CHECK_1.
19052         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19053         <bp-checks.h>.
19054         (__fxstatat): Do not use CHECK_1.
19055         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19056         <bp-checks.h>.
19057         (__fxstatat64): Do not use CHECK_1.
19058         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19059         <bp-checks.h>.
19060         (__fxstat): Do not use CHECK_1.
19061         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19062         <bp-checks.h>.
19063         (__fxstatat): Do not use CHECK_1.
19064         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19065         <bp-checks.h>.
19066         (__getresgid): Do not use CHECK_1.
19067         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19068         <bp-checks.h>.
19069         (__getresuid): Do not use CHECK_1.
19070         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19071         <bp-checks.h>.
19072         (__lxstat): Do not use CHECK_1.
19073         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19074         <bp-checks.h>.
19075         (__old_msgctl): Do not use CHECK_1.
19076         (__new_msgctl): Likewise.
19077         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19078         <bp-checks.h>.
19079         (__new_setrlimit): Do not use CHECK_1.
19080         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19081         <bp-checks.h>.
19082         (__old_shmctl): Do not use CHECK_1.
19083         (__new_shmctl): Likewise.
19084         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19085         <bp-checks.h>.
19086         (__xstat): Do not use CHECK_1.
19087         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19088         (__lxstat): Do not use CHECK_1.
19089         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19090         <bp-checks.h>.
19091         (___lxstat64): Do not use CHECK_1.
19092         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19093         (__old_msgctl): Do not use CHECK_1.
19094         (__new_msgctl): Likewise.
19095         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19096         <bp-checks.h>.
19097         (__gettimeofday): Do not use CHECK_1.
19098         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19099         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19100         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19101         <bp-checks.h>.
19102         (__gettimeofday): Do not use CHECK_1.
19103         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19104         (__old_shmctl): Do not use CHECK_1_NULL_OK.
19105         (__new_shmctl): Do not use CHECK_1.
19106         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19107         <bp-checks.h>.
19108         (do_sigtimedwait): Do not use CHECK_1.
19109         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19110         <bp-checks.h>.
19111         (do_sigwaitinfo): Do not use CHECK_1.
19112         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19113         <bp-checks.h>.
19114         (msgctl): Do not use CHECK_1.
19115         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19116         <bp-checks.h>.
19117         (shmctl): Do not use CHECK_1.
19118         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19119         (ustat): Do not use CHECK_1.
19120         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19121         <bp-checks.h>.
19122         (__fxstat): Do not use CHECK_1.
19123         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19124         <bp-checks.h>.
19125         (__fxstatat): Do not use CHECK_1.
19126         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19127         <bp-checks.h>.
19128         (__lxstat): Do not use CHECK_1.
19129         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19130         <bp-checks.h>.
19131         (__xstat): Do not use CHECK_1.
19132         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19133         (__xstat): Do not use CHECK_1.
19134         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19135         (___xstat64): Do not use CHECK_1.
19136
19137         [BZ #13550]
19138         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19139         definitions.
19140         (CHECK_BOUNDS_HIGH): Likewise.
19141         * string/strcpy.c: Do not include <bp-checks.h>.
19142         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19143
19144 2013-02-07  Roland McGrath  <roland@hack.frob.com>
19145
19146         * nscd/nscd-client.h (__nscd_drop_map_ref):
19147         Add __attribute__ ((unused)).
19148         * nis/nss-nisplus.h (niserr2nss): Likewise.
19149
19150         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19151         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19152
19153         * csu/libc-tls.c (init_static_tls, init_slotinfo):
19154         Remove inline keyword.
19155         * include/rounding-mode.h (round_away): Likewise.
19156         * libio/wfileops.c (adjust_wide_data): Likewise.
19157         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19158         (__m128i_strloadu_tolower): Likewise.
19159         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19160         (__m128i_strloadu_tolower): Likewise.
19161         * time/mktime.c (ydhms_diff): Likewise.
19162         * locale/elem-hash.h (elem_hash): Likewise.
19163         * locale/setlocale.c (setdata): Likewise.
19164         * posix/regex_internal.h (re_string_char_size_at): Likewise.
19165         (re_string_wchar_at): Likewise.
19166         (bitset_not, bitset_merge, bitset_mask): Likewise.
19167         [!(__GNUC__ > 3)] (inline): Remove macro.
19168         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19169         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19170         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19171         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19172         * string/memcmp.c (memcmp_bytes): Likewise.
19173         * locale/programs/locarchive.c (compute_hashval): Likewise.
19174         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19175         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19176         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19177         * nss/getent.c (print_rpc, print_protocols): Likewise.
19178         (print_passwd, print_group, print_aliases): Likewise.
19179         * nis/nss-nisplus.h (niserr2nss): Likewise.
19180         * nscd/connections.c (restart_p): Likewise.
19181         Change return type to bool.
19182
19183 2013-02-05  Roland McGrath  <roland@hack.frob.com>
19184
19185         * Makeconfig (all-Depend-files): Add existing
19186         $(sorted-subdirs:=/Depend) files.
19187         (all-subdirs): Remove nss.
19188         * sysdeps/unix/inet/Subdirs: Add it here instead.
19189         * hesiod/Depend: New file.
19190
19191         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19192         instead of calling alloca.
19193
19194         * io/lseek.c (__lseek): Rename to __libc_lseek.
19195         Define __lseek as an alias.
19196
19197         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19198
19199 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
19200
19201         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19202         else clause and remove check for non-standard endianness.
19203
19204 2013-02-04  David S. Miller  <davem@davemloft.net>
19205
19206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19207
19208 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
19209
19210         [BZ #13550]
19211         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19212         (__ubp_memchr): Remove prototype.
19213         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19214         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19215         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19216         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19217         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19218         Remove alias.
19219         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19220         (__ubp_memchr): Likewise.
19221         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19222         (__ubp_memchr): Likewise.
19223         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19224         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19225         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19226         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19227         CHECK_STRING.
19228         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19229         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19230         (__getcwd): Do not use CHECK_STRING.
19231         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19232         <bp-checks.h>.
19233         (__real_chown): Do not use CHECK_STRING.
19234         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19235         <bp-checks.h>.
19236         (fchownat): Do not use CHECK_STRING.
19237         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19238         CHECK_STRING.
19239         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19240         <bp-checks.h>.
19241         (__lchown): Do not use CHECK_STRING.
19242         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19243         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19244         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19245         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19247         include <bp-checks.h>.
19248         (truncate64): Do not use CHECK_STRING.
19249         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19250         <bp-checks.h>.
19251         (__real_chown): Do not use CHECK_STRING.
19252         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19253         <bp-checks.h>.
19254         (__lchown): Do not use CHECK_STRING.
19255         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19256         <bp-checks.h>.
19257         (__chown): Do not use CHECK_STRING.
19258         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19259         <bp-checks.h>.
19260         (truncate64): Do not use CHECK_STRING.
19261         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19262         Likewise.
19263         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19264         (__xmknod): Do not use CHECK_STRING.
19265         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19266         <bp-checks.h>.
19267         (__xmknodat): Do not use CHECK_STRING.
19268         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19269         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19270
19271 2013-02-04  Andreas Schwab  <schwab@suse.de>
19272
19273         [BZ #14142]
19274         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19275         * include/netdb.h: Likewise for h_errno.
19276         * elf/tst-stackguard1.c: Include <tls.h>.
19277
19278 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
19279
19280         * elf/link.h (struct link_map): Extend the l_addr comment.
19281         * include/link.h (struct link_map): Likewise.
19282
19283 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
19284
19285         [BZ #13550]
19286         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19287         (BOUNDED_1): Remove macro.
19288         * debug/backtrace.c: Don't include <bp-checks.h>.
19289         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19290         (__backtrace): Likewise.
19291         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19292         <bp-checks.h>.
19293         (__backtrace): Don't use BOUNDED_1.
19294         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19295         <bp-checks.h>.
19296         (__backtrace): Don't use BOUNDED_1.
19297         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19298         (__backtrace): Don't use BOUNDED_1.
19299         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19300         (shmat): Don't use BOUNDED_N.
19301
19302 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
19303
19304         [BZ #13550]
19305         * sysdeps/generic/bp-start.h: Remove file.
19306         * csu/libc-start.c: Don't include <bp-start.h>.
19307         (LIBC_START_MAIN): Set up __environ directly instead of using
19308         INIT_ARGV_and_ENVIRON.
19309         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19310         <bp-start.h>.
19311
19312         [BZ #13550]
19313         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19314         definitions.
19315         (CHECK_FCNTL): Likewise.
19316         (CHECK_N_PAGES): Likewise.
19317
19318         [BZ #13550]
19319         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19320         definitions.
19321         (CHECK_SIGSET_NULL_OK): Likewise.
19322         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19323         <bp-checks.h>.
19324         (sigpending): Don't use CHECK_SIGSET.
19325         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19326         <bp-checks.h>.
19327         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19328         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19329         <bp-checks.h>.
19330         (do_sigsuspend): Don't use CHECK_SIGSET.
19331         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19332         use CHECK_SIGSET.
19333         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19334         (do_sigwait): Don't use CHECK_SIGSET.
19335         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19336         use CHECK_SIGSET.
19337         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19338         include <bp-checks.h>.
19339         (sigpending): Don't use CHECK_SIGSET.
19340         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19341         include <bp-checks.h>.
19342         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19343         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19344         <bp-checks.h>.
19345         (sigpending): Don't use CHECK_SIGSET.
19346         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19347         <bp-checks.h>.
19348         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19349
19350         [BZ #13550]
19351         * sysdeps/generic/bp-semctl.h: Remove file.
19352         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19353         <bp-checks.h> and <bp-semctl.h>.
19354         (__old_semctl): Don't use CHECK_SEMCTL.
19355         (__new_semctl): Likewise.
19356         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19357         and <bp-semctl.h>.
19358         (__old_semctl): Don't use CHECK_SEMCTL.
19359         (__new_semctl): Likewise.
19360         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19361         <bp-checks.h> and <bp-semctl.h>.
19362         (__old_semctl): Don't use CHECK_SEMCTL.
19363         (__new_semctl): Likewise.
19364         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19365         <bp-checks.h> and <bp-semctl.h>.
19366         (semctl): Don't use CHECK_SEMCTL.
19367
19368         [BZ #13550]
19369         * Makerules (elide-bp-thunks): Remove variable.
19370         (elide-routines.oS): Don't use $(elide-bp-thunks).
19371         (elide-routines.os): Likewise.
19372         (elide-routines.o): Likewise.
19373         (elide-routines.op): Likewise.
19374         (elide-routines.og): Likewise.
19375         (objects): Don't use $(bp-thunks).
19376         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19377         include.
19378         (common-generated): Do not add s-proto-bp.d.
19379         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19380         (int): Likewise.
19381         (typ): Likewise.
19382         Do not generate makefile rules for bounded-pointer thunks.
19383         * sysdeps/generic/bp-thunks.h: Remove file.
19384         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19385         * sysdeps/unix/s-proto-bp.S: Likewise.
19386
19387         [BZ #15062]
19388         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19389         parts of result separately when argument is not close to line from
19390         -i to i and one part of argument is small.
19391         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19392         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19393         * math/libm-test.inc (cacos_test): Add more tests.
19394         (casin_test): Likewise.
19395         (casinh_test): Likewise.
19396         * sysdeps/i386/fpu/libm-test-ulps: Update.
19397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19398
19399 2013-01-31  David S. Miller  <davem@davemloft.net>
19400
19401         * po/de.po: Update from translation team.
19402
19403 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
19404
19405         * time/tzfile.c: Include stdint.h for SIZE_MAX.
19406
19407 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
19408
19409         * configure.in (_AC_PROG_CC_C89): New definition.
19410         * configure: Regenerate.
19411
19412         * configure.in (AC_PROG_CPP): New definition.
19413         * configure: Regenerate.
19414
19415 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
19416
19417         * debug/tst-backtrace.h: New file.
19418         * debug/tst-backtrace2.c: Include tst-backtrace.h.
19419         (ret): Remove variable.
19420         (x): Likewise.
19421         (FAIL): Remove macro.
19422         (NO_INLINE): Likewise.
19423         (fn1): Use match function instead of strstr.
19424         * debug/tst-backtrace3.c: Include tst-backtrace.h.
19425         (ret): Remove variable.
19426         (x): Likewise.
19427         (FAIL): Remove macro.
19428         (NO_INLINE): Likewise.
19429         (fn): Use match function instead of strstr.
19430         * debug/tst-backtrace4.c: Include tst-backtrace.h.
19431         (ret): Remove variable.
19432         (x): Likewise.
19433         (FAIL): Remove macro.
19434         (NO_INLINE): Likewise.
19435         (handle_signal): Use match function instead of strstr.
19436         * debug/tst-backtrace5.c: Include tst-backtrace.h.
19437         (ret): Remove variable.
19438         (x): Likewise.
19439         (FAIL): Remove macro.
19440         (NO_INLINE): Likewise.
19441         (handle_signal): Use match function instead of strstr.
19442
19443 2013-01-23  Roland McGrath  <roland@hack.frob.com>
19444
19445         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19446
19447 2013-01-23  David S. Miller  <davem@davemloft.net>
19448
19449         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19450         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19451         argument of CAS if possible.
19452         * sysdeps/sparc/sparc64/bits/atomic.h
19453         (__arch_compare_and_exchange_val_32_acq): Likewise.
19454         (__arch_compare_and_exchange_val_64_acq): Likewise.
19455
19456 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
19457
19458         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19459         * sysdeps/posix/ulimit.c: ... this.
19460         Include <limits.h>.
19461         * sysdeps/unix/bsd/ulimit.c: Remove file.
19462
19463 2013-01-23  Adam Conrad  <adconrad@0c3.net>
19464
19465         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19466         (LDFLAGS-tst-array5): Likewise.
19467
19468 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
19469
19470         [BZ #15036]
19471         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19472         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19473         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19474         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19475
19476 2013-01-21  David S. Miller  <davem@davemloft.net>
19477
19478         * sysdeps/sparc/backtrace.c: New file.
19479         * sysdeps/sparc/sparc32/backtrace.h: New file.
19480         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19481         * sysdeps/sparc/sparc64/backtrace.h: New file.
19482         * sysdeps/sparc/sparc64/backtrace.c: Delete.
19483         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19484         -funwind-tables.
19485
19486 2013-01-21  Andreas Schwab  <schwab@suse.de>
19487
19488         [BZ #15020]
19489         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19490         closed its stdout.
19491
19492 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
19493
19494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19495         "mpa2.h".
19496         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19497
19498 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
19499             Mark Mitchell  <mark@codesourcery.com>
19500             Tom de Vries  <tom@codesourcery.com>
19501             Paul Pluzhnikov  <ppluzhnikov@google.com>
19502
19503         * debug/tst-backtrace2.c: New file.
19504         * debug/tst-backtrace3.c: Likewise.
19505         * debug/tst-backtrace4.c: Likewise.
19506         * debug/tst-backtrace5.c: Likewise.
19507         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19508         (CFLAGS-tst-backtrace3.c): Likewise.
19509         (CFLAGS-tst-backtrace4.c): Likewise.
19510         (CFLAGS-tst-backtrace5.c): Likewise.
19511         (LDFLAGS-tst-backtrace2): Likewise.
19512         (LDFLAGS-tst-backtrace3): Likewise.
19513         (LDFLAGS-tst-backtrace4): Likewise.
19514         (LDFLAGS-tst-backtrace5): Likewise.
19515         (tests): Add new tests tst-backtrace2, tst-backtrace3,
19516         tst-backtrace4 and tst-backtrace5.
19517
19518 2013-01-18  Anton Blanchard  <anton@samba.org>
19519             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19520
19521         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19522         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19523         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19524         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19526         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19527         "+r" and remove output regs list as redundant.  Add explicit inline
19528         asm to specify register of return val to work around compiler codegen
19529         bug.  Remove (int) cast on return value.  Add return type parameter to
19530         use in macro so that this macro does not truncate return value for
19531         64-bit values.
19532         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19533         pass to INTERNAL_VSYSCALL_NCS.
19534         (INLINE_VSYSCALL): Add 'long int' as return type to
19535         INTERNAL_VSYSCALL_NCS macro invocation.
19536         (INTERNAL_VSYSCALL): Add 'long int' as return type to
19537         INTERNAL_VSYSCALL_NCS macro invocation.
19538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19539
19540 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19541
19542         [BZ #14496]
19543         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19544         Fix application of SIMD FP exception mask.
19545
19546         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19547         mp_no from a power of two.
19548         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19549         __mpexp_twomm1.  Use __pow_mp.
19550
19551         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19552         multiplication.
19553
19554 2013-01-17  David S. Miller  <davem@davemloft.net>
19555
19556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19557
19558 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
19559
19560         [BZ #15023]
19561         * include/complex.h: Condition contents on [!_COMPLEX_H].
19562         (__kernel_casinhf): New prototype.
19563         (__kernel_casinh): Likewise.
19564         (__kernel_casinhl): Likewise.
19565         * math/Makefile (libm_calls): Add k_casinh.
19566         * math/k_casinh.c: New file.
19567         * math/k_casinhf.c: Likewise.
19568         * math/k_casinhl.c: Likewise.
19569         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19570         finite nonzero arguments.
19571         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19572         finite nonzero arguments.
19573         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19574         finite nonzero arguments.
19575         * math/s_casinh.c: Do not include <float.h>.
19576         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19577         * math/s_casinhf.c: Do not include <float.h>.
19578         (__casinhf): Move code for finite nonzero arguments to
19579         k_casinhf.c.
19580         * math/s_casinhl.c: Do not include <float.h>.
19581         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19582         redefine.
19583         (__casinhl): Move code for finite nonzero arguments to
19584         k_casinhl.c.
19585         * math/libm-test.inc (cacos_test): Add more tests.
19586         * sysdeps/i386/fpu/libm-test-ulps: Update.
19587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19588
19589 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
19590
19591         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19592         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19593         [!HAVE_MREMAP]: Remove [defined linux] case.
19594         * malloc/arena.c: Do not include <malloc-sysdep.h>.
19595
19596 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19597
19598         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19599
19600 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
19601
19602         * elf/elf.h (R_386_SIZE32): New relocation.
19603         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19604         R_386_SIZE32.
19605         (elf_machine_rela): Likewise.
19606         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19607         R_X86_64_SIZE64 and R_X86_64_SIZE32.
19608
19609 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
19610
19611         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19612         (FP_FAST_FMA): Do not define.
19613         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19614         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19615         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19616         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19617         !_SOFT_FLOAT]: Likewise.
19618         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19619         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19620         value.
19621         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19622         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19623         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19624         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19625         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19626         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19627         file.
19628
19629 2013-01-16  Andreas Schwab  <schwab@suse.de>
19630
19631         [BZ #14327]
19632         * include/stdlib.h (__mktemp): Add declaration.
19633         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19634         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19635
19636 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19637
19638         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19639         definitions.
19640         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19641         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19642         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19643         definitions here.
19644         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19645         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19646         definitions.
19647         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19648         and ONE.
19649         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19650         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19651         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19652         definitions.
19653         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19654         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19655         definitions.
19656         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19657
19658         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19659
19660 2013-01-15  David S. Miller  <davem@davemloft.net>
19661
19662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19663         trunc{,f} to libm-sysdep_routes.
19664         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19666         file.
19667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19669         file.
19670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19671         file.
19672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19674         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19675         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19676         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19677         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19678         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19679         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19680
19681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19682         nearbyint{,f} to libm-sysdep_routes.
19683         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19685         New file.
19686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19687         file.
19688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19689         New file.
19690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19691         file.
19692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19694         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19695         file.
19696         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19697         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19698         file.
19699         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19700         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19701         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19702
19703         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19704         libc_feholdexcept and libc_fesetenv.
19705
19706 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
19707
19708         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19709
19710 2013-01-14  David S. Miller  <davem@davemloft.net>
19711
19712         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19713         (SPARC_ASM_VIS2_IFUNC): Likewise.
19714         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19716         use of 'siam' instruction.
19717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19718         Likewise.
19719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19720         Likewise.
19721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19722         Likewise.
19723         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19724         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19725         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19728         file.
19729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19730         file.
19731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19732         file.
19733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19734         file.
19735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19737         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19740         new VIS2 routines.
19741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19744         Likewise.
19745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19746         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19748         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19750         routines to libm-sysdep_routines.
19751         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19752
19753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19754         fdim/fdimf to libm-sysdep_routines.
19755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19756         file.
19757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19759         file.
19760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19763         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19764         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19765         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19766         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19767
19768 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19769
19770         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19771         to optimize copies.
19772
19773         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19774         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19776
19777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19778         local variable MPTWO.
19779         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19780         Likewise.
19781
19782 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19783
19784         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19785         GLOB_NOESCAPE.
19786
19787 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19788
19789         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19790
19791 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19792
19793         * manual/pattern.texi (glob_t): Document gl_flags.
19794         (glob64_t): Likewise.
19795
19796 2013-01-11  David S. Miller  <davem@davemloft.net>
19797
19798         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19799         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19800         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
19801         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19802         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19803         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19804         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19805         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19806         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19807         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19808         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19809         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19810         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19811
19812         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19813         sparc V9 rather than using V8 code.
19814         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19815         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19816
19817         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19818         Move to...
19819         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19820         Here.
19821
19822 2013-01-11  Roland McGrath  <roland@hack.frob.com>
19823
19824         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19825         not in the main loop.
19826         * configure: Regenerated.
19827
19828 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
19829
19830         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19831         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19832         to just #else.
19833         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
19834         [!__GLIBC_HAVE_LONG_LONG] case.
19835         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19836         condition to just #else.
19837         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19838         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19839         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19840         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19841         unconditional.
19842         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19843         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19844         #elif condition to just #else.
19845         * sysdeps/unix/sysv/linux/sys/sysmacros.h
19846         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19847         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19848         #elif condition to just #else.
19849
19850 2013-01-11  Steve Ellcey  <sellcey@mips.com>
19851
19852         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19853         (EF_MIPS_ARCH_64): Fix value.
19854         (EF_MIPS_ARCH_32R2): New.
19855         (EF_MIPS_ARCH_64R2): New.
19856
19857 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
19858
19859         * Makeconfig (+link-pie-before-libc): New.
19860         (+link-pie-after-libc): Likewise.
19861         (+link-pie-tests): Likewise.
19862         (+link-pie): Rewritten.
19863         (link-before-libc): Remove $(config-LDFLAGS).
19864         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19865         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19866         (config-LDFLAGS): Renamed to ...
19867         (rtld-LDFLAGS): This.
19868         (rtld-tests-LDFLAGS): New macro.
19869         (link-libc-rpath-link): Likewise.
19870         (link-libc-tests-rpath-link): Likewise.
19871         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19872         (link-libc): Prepand $(link-libc-rpath-link).
19873         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19874         (test-program-prefix): New macro.
19875         (test-via-rtld-prefix): Likewise.
19876         (test-program-cmd): Likewise.
19877         (host-test-program-cmd): Likewise.
19878         * Makefile ($(common-objpfx)testrun.sh): Replace
19879         $(run-program-prefix) with $(test-program-prefix).
19880         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19881         $(rtld-LDFLAGS).
19882         ($(common-objpfx)shlib.lds): Likewise.
19883         (build-module-helper): Likewise.
19884         ($(common-objpfx)format.lds): Likewise.
19885         * Rules (binaries-pie-tests): New.
19886         (binaries-pie-notests): Likewise.
19887         (binaries-pie): Rewritten.
19888         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19889         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19890         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19891         (make-test-out): Replace $(host-built-program-cmd) with
19892         $(host-test-program-cmd).
19893         * config.make.in (build-hardcoded-path-in-tests): New variable.
19894         * configure.in (--enable-hardcoded-path-in-tests): New configure
19895         option.
19896         (hardcoded_path_in_tests): New AC_SUBST.
19897         * configure: Regenerated.
19898         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19899         $(built-program-cmd) with $(test-program-cmd).
19900         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19901         (test_program_cmd): This.
19902         * elf/Makefile ($(objpfx)order.out): Run test with
19903         $(test-program-prefix).
19904         ($(objpfx)order2.out): Likewise.
19905         ($(objpfx)tst-initorder.out): Likewise.
19906         ($(objpfx)tst-initorder2.out): Likewise.
19907         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19908         $(test-program-cmd).
19909         ($(objpfx)tst-array1-static.out): Likewise.
19910         ($(objpfx)tst-array2.out): Likewise.
19911         ($(objpfx)tst-array3.out): Likewise.
19912         ($(objpfx)tst-array4.out): Likewise.
19913         ($(objpfx)tst-array5.out): Likewise.
19914         ($(objpfx)tst-array5-static.out): Likewise.
19915         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19916         $(test-program-cmd).
19917         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19918         $(run-program-prefix) with $(test-program-prefix).
19919         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19920         (test_program_prefix): This.
19921         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19922         $(run-program-prefix) with $(test-program-prefix).
19923         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19924         (test_program_prefix): This.
19925         * iconvdata/tst-tables.sh: Likewise.
19926         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19927         $(run-program-prefix) with $(test-program-prefix).
19928         ($(objpfx)tst-translit.out): Likewise.
19929         ($(objpfx)tst-gettext2.out): Likewise.
19930         ($(objpfx)tst-gettext4.out): Likewise.
19931         ($(objpfx)tst-gettext6.out): Likewise.
19932         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19933         (test_program_prefix): This.
19934         * intl/tst-gettext2.sh: Likewise.
19935         * intl/tst-gettext4.sh  Likewise.
19936         * intl/tst-gettext6.sh: Likewise.
19937         * intl/tst-translit.sh: Likewise.
19938         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19939         with $(test-program-cmd).
19940         * libio/Makefile ($(objpfx)test-freopen.out): Replace
19941         $(run-program-prefix) with $(test-program-prefix).
19942         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19943         (test_program_prefix): This.
19944         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19945         $(run-program-prefix) with $(test-program-prefix).
19946         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19947         (test_program_prefix): This.
19948         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19949         * posix/Makefile ($(objpfx)globtest.out): Replace
19950         $(run-via-rtld-prefix) and $(test-wrapper) with
19951         $(test-program-prefix) and $(test-via-rtld-prefix).
19952         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19953         $(test-program-prefix).
19954         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19955         $(host-test-program-cmd).
19956         (tst-spawn-ARGS): Likewise.
19957         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19958         $(test-program-prefix).
19959         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19960         (test_via_rtld_prefix): This.
19961         (test_wrapper): Renamed to ...
19962         (test_program_prefix): This.
19963         (run_program_prefix): Replaced by test_program_prefix.
19964         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19965         (test_program_prefix): This.
19966         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19967         with $(host-test-program-cmd).
19968         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19969         $(run-program-prefix) with $(test-program-prefix).
19970         ($(objpfx)tst-printf.out): Likewise.
19971         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19972         $(test-program-cmd).
19973         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19974         (test_program_prefix): This.
19975         * stdio-common/tst-unbputc.sh: Likewise.
19976         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19977         $(run-program-prefix) with $(test-program-prefix).
19978         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19979         (test_program_prefix): This.
19980         * string/Makefile ($(objpfx)tst-svc.out):  Replace
19981         $(built-program-cmd) with $(test-program-cmd).
19982
19983 2013-01-11  Andreas Jaeger  <aj@suse.de>
19984
19985         [BZ #15003]
19986         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19987         value. Sync with Linux 3.7.
19988
19989 2013-01-10  David S. Miller  <davem@davemloft.net>
19990
19991         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19992         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19993         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19994
19995 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19996
19997         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19998         never set.
19999         * configure: Regenerated.
20000
20001 2013-01-10  David S. Miller  <davem@davemloft.net>
20002
20003         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20004         sparc V9 rather than using V8 code.
20005         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20006         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20007
20008 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20009
20010         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20011         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20012         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20013         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20014         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20015         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20016         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20017         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20018         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20019         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20020         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20021         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20022         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20023         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20024         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20025         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20026         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20027         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20028         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20029         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20030         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20031         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20032         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20033         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20034         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20035         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20036         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20037
20038 2013-01-10  David S. Miller  <davem@davemloft.net>
20039
20040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20041
20042 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20043
20044         * posix/Makefile (tests-static): New variable.
20045         (tests): Add $(tests-static).
20046         (tst-exec-static-ARGS): New variable.
20047         (tst-spawn-static-ARGS): Likewise.
20048         * posix/tst-exec-static.c: New file.
20049         * posix/tst-spawn-static.c: Likewise.
20050         * posix/tst-exec.c: Support run directly.
20051         * posix/tst-spawn.c: Likewise.
20052
20053 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
20054
20055         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20056         long.
20057         * math/bits/mathcalls.h (llrint): Likewise.
20058         (llround): Likewise.
20059         * stdlib/stdlib.h (struct drand48_data): Likewise.
20060         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20061         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20062         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20063         Likewise.
20064         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20065         Likewise.
20066         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20067         (elf_greg_t): Likewise.
20068         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20069         (__jmp_buf): Likewise.
20070         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20071         definitions.
20072         (llrint): Likewise, for all definitions.
20073         (llrintl): Likewise.
20074
20075         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20076         Remove [__GNUC__] condition.
20077         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20078         condition to just [__USE_ISOC99].
20079         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20080
20081 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20082
20083         [BZ #14200]
20084         * sysdeps/unix/sysv/linux/x86/bits/environments.h
20085         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20086         defined.
20087         (_POSIX_V6_ILP32_OFF32): Likewise.
20088         (_XBS5_ILP32_OFF32): Likewise.
20089         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20090         (__ILP32_OFFBIG_LDFLAGS): Likewise.
20091
20092 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20093
20094         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20095
20096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20097         doubles __mpexp_twomm1.  Adjust usage.
20098         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20099         Remove.
20100
20101 2013-01-10  Andreas Schwab  <schwab@suse.de>
20102
20103         [BZ #14964]
20104         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20105         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20106
20107 2013-01-09  David S. Miller  <davem@davemloft.net>
20108
20109         [BZ #15003]
20110         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20111         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20112         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20113         (TCP_FASTOPEN): Define.
20114         (tcp_repair_opt): New structure.
20115         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20116         enum values.
20117         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20118         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20119         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20120         (tcp_cookie_transactions): New structure.
20121
20122 2013-01-09  Anton Blanchard  <anton@samba.org>
20123
20124         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20125         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20126         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20127         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20128
20129 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
20130
20131         * include/features.h (__USE_ANSI): Remove.
20132
20133 2013-01-09  Roland McGrath  <roland@hack.frob.com>
20134
20135         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20136
20137         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20138
20139 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20140
20141         * sysdeps/s390/fpu/libm-test-ulps: Update.
20142
20143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20144
20145         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20146         (__acr): Likewise.
20147         (__cpy): Likewise.
20148         (norm): Likewise.
20149         (denorm): Likewise.
20150         (__mp_dbl): Likewise.
20151         (__dbl_mp): Likewise.
20152         (add_magnitudes): Likewise.
20153         (sub_magnitudes): Likewise.
20154         (__add): Likewise.
20155         (__sub): Likewise.
20156         (__mul): Likewise.
20157         (__inv): Likewise.
20158         (__dvd): Likewise.
20159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20160         (__acr): Likewise.
20161         (__cpy): Likewise.
20162         (norm): Likewise.
20163         (denorm): Likewise.
20164         (__mp_dbl): Likewise.
20165         (__dbl_mp): Likewise.
20166         (add_magnitudes): Likewise.
20167         (sub_magnitudes): Likewise.
20168         (__add): Likewise.
20169         (__sub): Likewise.
20170         (__mul): Likewise.
20171         (__inv): Likewise.
20172         (__dvd): Likewise.
20173         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20174         (__acr): Likewise.
20175         (__cpy): Likewise.
20176         (norm): Likewise.
20177         (denorm): Likewise.
20178         (__mp_dbl): Likewise.
20179         (__dbl_mp): Likewise.
20180         (add_magnitudes): Likewise.
20181         (sub_magnitudes): Likewise.
20182         (__add): Likewise.
20183         (__sub): Likewise.
20184         (__mul): Likewise.
20185         (__inv): Likewise.
20186         (__dvd): Likewise.
20187
20188 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
20189
20190         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20191         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20192         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20193         2 && __USE_EXTERN_INLINES]: Likewise.
20194
20195 2013-01-08  Andreas Jaeger  <aj@suse.de>
20196
20197         [BZ# 14985]
20198         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20199         Remove.
20200         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20201         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20202
20203 2013-01-07  Anton Blanchard  <anton@samba.org>
20204
20205         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20206         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20207         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20208         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20209         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20210         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20211         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20212         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20213         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20214         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20215         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20216         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20217         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20218         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20219         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20220         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20221         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20222         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20223         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20224         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20225         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20226         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20227         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20228         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20229         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20230         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20231         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20232         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20233         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20234         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20235         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20236         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20237         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20238         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20239         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20240         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20241         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20242         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20243         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20244         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20245         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20246         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20247         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20248
20249 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
20250
20251         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20252         (__MALLOC_PMT): Likewise.
20253         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20254         [__GNUC__], only on [_LIBC].
20255         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20256         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20257         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20258         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20259         forward declaration.
20260         (realloc_hook_ini): Likewise.
20261         (memalign_hook_ini): Likewise.
20262         (__libc_memalign): Do not use __MALLOC_PMT in variable
20263         declaration.
20264         (__libc_valloc): Likewise.
20265         (__libc_pvalloc): Likewise.
20266         (__libc_calloc): Likewise.
20267         (__posix_memalign): Likewise.
20268
20269         [BZ #14996]
20270         * math/s_casinh.c: Include <float.h>.
20271         (__casinh): Do not do computation with squaring and square root
20272         for large arguments.
20273         * math/s_casinhf.c: Include <float.h>.
20274         (__casinhf): Do not do computation with squaring and square root
20275         for large arguments.
20276         * math/s_casinhl.c: Include <float.h>.
20277         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20278         (__casinhl): Do not do computation with squaring and square root
20279         for large arguments.
20280         * math/libm-test.inc (casin_test): Add more tests.
20281         (casinh_test): Likewise.
20282         * sysdeps/i386/fpu/libm-test-ulps: Update.
20283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20284
20285 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
20286
20287         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20288         (__x86_64_raw_data_cache_size): Likewise.
20289         (__x86_64_data_cache_size_half): Likewise.
20290         (__x86_64_raw_data_cache_size_half): Likewise.
20291         (__x86_64_shared_cache_size): Likewise.
20292         (__x86_64_raw_shared_cache_size): Likewise.
20293         (__x86_64_shared_cache_size_half): Likewise.
20294         (__x86_64_raw_shared_cache_size_half): Likewise.
20295         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20296         to ...
20297         (__x86_data_cache_size): This.
20298         (__x86_64_raw_data_cache_size): Renamed to ...
20299         (__x86_raw_data_cache_size): This.
20300         (__x86_64_data_cache_size_half): Renamed to ...
20301         (__x86_data_cache_size_half): This.
20302         (__x86_64_raw_data_cache_size_half): Renamed to ...
20303         (__x86_raw_data_cache_size_half): This.
20304         (__x86_64_shared_cache_size): Renamed to ...
20305         (__x86_shared_cache_size): This.
20306         (__x86_64_raw_shared_cache_size): Renamed to ...
20307         (__x86_raw_shared_cache_size): This.
20308         (__x86_64_shared_cache_size_half): Renamed to ...
20309         (__x86_shared_cache_size_half): This.
20310         (__x86_64_raw_shared_cache_size_half): Renamed to ...
20311         (__x86_raw_shared_cache_size_half): This.
20312         * sysdeps/x86_64/memcpy.S: Updated.
20313         * sysdeps/x86_64/memset.S: Likewise.
20314         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20315         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20316         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20317
20318 2013-01-04  David S. Miller  <davem@davemloft.net>
20319
20320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20321
20322 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
20323
20324         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20325         1 to avoid redefinition warning.
20326         (__USE_GNU): Don't define.
20327         (init_signaling_nan): Protoize.
20328
20329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20330
20331 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20332
20333         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20335         (__cpymn): Likewise.
20336         (norm): Remove commented code.
20337         (denorm): Likewise.
20338         (__mp_dbl): Likewise.
20339         (__inv): Likewise.
20340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20341         (__cpymn): Likewise.
20342         (norm): Remove commented code.
20343         (denorm): Likewise.
20344         (__mp_dbl): Likewise.
20345         (__inv): Likewise.
20346
20347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20348         mp_no value for 1.0 and 2.0.
20349         (norm): Use RADIXI instead of radixi.d.
20350         (denorm): Likewise.
20351         (__mul): Use 0.0 instead of zero.d.
20352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20353         mp_no value for 1.0 and 2.0.
20354         (norm): Use RADIXI instead of radixi.d.
20355         (denorm): Likewise.
20356         (__mul): Use 0.0 instead of zero.d.
20357
20358 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
20359
20360         [BZ #14994]
20361         * math/s_casinh.c (__casinh): Reduce finite argument to first
20362         quadrant then set signs of results at the end.
20363         * math/s_casinhf.c (__casinhf): Likewise.
20364         * math/s_casinhl.c (__casinhl): Likewise.
20365         * math/libm-test.inc (casin_test): Add more tests.
20366         (casinh_test): Likewise.
20367         * sysdeps/i386/fpu/libm-test-ulps: Update.
20368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20369
20370 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20371
20372         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20373
20374         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20375
20376         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20377         declarations.
20378         (denorm): Likewise.
20379         (__mp_dbl): Likewise.
20380         (__inv): Likewise.
20381
20382         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20383         and adjust the header comment.
20384
20385         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20386         variable name from declaration.
20387
20388 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
20389
20390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20391         Initialize COMMON_CPUID_INDEX_7 element.
20392         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20393         (CPUID_RTM): Likewise.
20394         (HAS_RTM): Likewise.
20395         (COMMON_CPUID_INDEX_7): New enum.
20396
20397 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
20398
20399         [BZ #14981]
20400         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20401         size is zero, record memory as freed.
20402
20403 2013-01-03  Andreas Jaeger  <aj@suse.de>
20404
20405         * po/ia.po: Add new Interlingua translation.
20406
20407 2012-01-03  Allan McRae  <allan@archlinux.org>
20408
20409         * locale/programs/localedef.c: Fix description of '--posix' flag.
20410
20411 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
20412
20413         * NEWS: Update dates in second copyright notice.
20414         * README: Update copyright dates in example.
20415         * manual/libc.texinfo: Update copyright dates.
20416         * scripts/test-installation.pl: Update copyright date in --version
20417         output.
20418
20419         * hurd/ctty-input.c: Fix copyright notice formatting.
20420         * hurd/ctty-output.c: Likewise.
20421         * hurd/dtable.c: Likewise.
20422         * hurd/hurd-raise.c: Likewise.
20423         * hurd/hurdprio.c: Likewise.
20424         * hurd/msgportdemux.c: Likewise.
20425         * misc/sys/file.h: Likewise.
20426         * misc/sys/ioctl.h: Likewise.
20427         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20428         * sysdeps/mach/hurd/chdir.c: Likewise.
20429         * sysdeps/mach/hurd/fchdir.c: Likewise.
20430         * sysdeps/mach/hurd/rename.c: Likewise.
20431         * sysdeps/mach/hurd/rmdir.c: Likewise.
20432         * sysdeps/mach/hurd/seekdir.c: Likewise.
20433         * sysdeps/mach/hurd/setsid.c: Likewise.
20434         * sysdeps/posix/wait3.c: Likewise.
20435
20436         * All files with FSF copyright notices: Update copyright dates
20437         using scripts/update-copyrights.
20438         * intl/plural.c: Regenerated.
20439         * locale/programs/charmap-kw.h: Likewise.
20440         * locale/programs/locfile-kw.h: Likewise.
20441
20442 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20443
20444         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20445         four values.
20446
20447         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20448         calculation loop and add branch prediction.
20449
20450         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20451         check access beyond bounds of m1np.
20452
20453         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20454         MPTWO.
20455         (__inv): Remove local variable MPTWO to use the global
20456         constant.
20457         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20458         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20459         variable MPTWO.
20460         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20461         MP3HALFS static const.
20462
20463 2013-01-01  David S. Miller  <davem@davemloft.net>
20464
20465         * po/ca.po: Update from translation team.
20466
20467 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
20468
20469         * scripts/update-copyrights: New file.
20470         * Makeconfig: Reformat copyright notice.
20471         * ctype/ctype.h: Likewise.
20472         * debug/swprintf_chk.c: Likewise.
20473         * elf/dl-cache.c: Likewise.
20474         * elf/dl-debug.c: Likewise.
20475         * elf/dl-object.c: Likewise.
20476         * grp/initgroups.c: Likewise.
20477         * hurd/Makefile: Likewise.
20478         * hurd/hurd/signal.h: Likewise.
20479         * hurd/hurdfault.c: Likewise.
20480         * hurd/hurdioctl.c: Likewise.
20481         * hurd/hurdlookup.c: Likewise.
20482         * hurd/intr-msg.c: Likewise.
20483         * iconv/gconv_open.c: Likewise.
20484         * libio/swprintf.c: Likewise.
20485         * locale/lc-ctype.c: Likewise.
20486         * locale/nl_langinfo.c: Likewise.
20487         * mach/Machrules: Likewise.
20488         * mach/Makefile: Likewise.
20489         * malloc/obstack.h: Likewise.
20490         * manual/Makefile: Likewise.
20491         * manual/tsort.awk: Likewise.
20492         * misc/bits/stab.def: Likewise.
20493         * nis/nis_print_group_entry.c: Likewise.
20494         * nis/nis_table.c: Likewise.
20495         * nis/nss_compat/compat-pwd.c: Likewise.
20496         * nis/nss_compat/compat-spwd.c: Likewise.
20497         * po/Makefile: Likewise.
20498         * posix/fnmatch.c: Likewise.
20499         * posix/regex.h: Likewise.
20500         * resolv/Makefile: Likewise.
20501         * resolv/nss_dns/dns-network.c: Likewise.
20502         * resolv/res_hconf.c: Likewise.
20503         * scripts/gen-sorted.awk: Likewise.
20504         * soft-fp/soft-fp.h: Likewise.
20505         * stdio-common/printf.h: Likewise.
20506         * stdlib/monetary.h: Likewise.
20507         * stdlib/random.c: Likewise.
20508         * stdlib/random_r.c: Likewise.
20509         * sysdeps/generic/Makefile: Likewise.
20510         * sysdeps/gnu/Makefile: Likewise.
20511         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20512         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20513         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20514         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20515         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20516         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20517         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20518         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20519         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20520         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20521         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20522         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20523         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20524         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20525         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20526         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20527         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20528         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20529         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20530         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20531         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20532         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20533         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20534         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20535         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20536         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20537         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20538         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20539         * sysdeps/mach/hurd/errnos.awk: Likewise.
20540         * sysdeps/mach/hurd/fork.c: Likewise.
20541         * sysdeps/mach/hurd/getcwd.c: Likewise.
20542         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20543         * sysdeps/mach/hurd/mmap.c: Likewise.
20544         * sysdeps/mach/hurd/utimes.c: Likewise.
20545         * sysdeps/mach/hurd/xmknod.c: Likewise.
20546         * sysdeps/posix/profil.c: Likewise.
20547         * sysdeps/posix/readdir_r.c: Likewise.
20548         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20549         * sysdeps/powerpc/bits/setjmp.h: Likewise.
20550         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20551         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20553         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20554         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20555         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20556         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20557         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20558         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20559         * sysdeps/pthread/lio_listio.c: Likewise.
20560         * sysdeps/sparc/dl-procinfo.h: Likewise.
20561         * sysdeps/unix/i386/sysdep.S: Likewise.
20562         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20563         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20564         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20565         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20567         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20568         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20569         * sysdeps/unix/sysv/linux/speed.c: Likewise.
20570         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20571         * sysdeps/wordsize-32/divdi3.c: Likewise.
20572         * time/sys/time.h: Likewise.
20573         * wcsmbs/Makefile: Likewise.
20574
20575 2013-01-01  David S. Miller  <davem@davemloft.net>
20576
20577         * po/fr.po: Update from translation team.
20578
20579         * catgets/gencat.c: Update copyright year.
20580         * csu/version.c: Likewise.
20581         * debug/catchsegv.sh: Likewise.
20582         * debug/pcprofiledump.c: Likewise.
20583         * debug/xtrace.sh: Likewise.
20584         * elf/ldconfig.c: Likewise.
20585         * elf/ldd.bash.in: Likewise.
20586         * elf/pldd.c: Likewise.
20587         * elf/sotruss.ksh: Likewise.
20588         * elf/sprof.c: Likewise.
20589         * iconv/iconv_prog.c: Likewise.
20590         * iconv/iconvconfig.c: Likewise.
20591         * locale/programs/locale.c: Likewise.
20592         * locale/programs/localedef.c: Likewise.
20593         * login/programs/pt_chown.c: Likewise.
20594         * malloc/memusage.sh: Likewise.
20595         * malloc/memusagestat.c: Likewise.
20596         * malloc/mtrace.pl: Likewise.
20597         * nscd/nscd.c: Likewise.
20598         * nss/getent.c: Likewise.
20599         * nss/makedb.c: Likewise.
20600         * posix/getconf.c: Likewise.
20601
20602 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20603
20604         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20605         numbers.
20606
20607 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
20608
20609         * math/bits/mathcalls.h (modf): Use __nonnull.
20610
20611 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20612
20613         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20614         (split): Use macro CN instead of the bare value.
20615         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20616         could be used.
20617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20618         instead of the bare value.
20619         (power1): Likewise.
20620
20621 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20622
20623         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20624         __ATAN_TWOM.
20625         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20626
20627         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20628         their values.
20629         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20630         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20631         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20632         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20633
20634 2012-12-28  Andreas Jaeger  <aj@suse.de>
20635
20636         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
20637         values are from Linux 3.7.
20638
20639         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20640         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
20641
20642 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20643
20644         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20645         TRUE case.
20646
20647         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20648         (norm): Likewise.
20649         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20650         variables with preprocessor constants.
20651         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20652         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20653         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20654
20655 2012-12-27  Bruno Haible  <bruno@clisp.org>
20656
20657         [BZ #14317]
20658         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20659         only if needed.
20660
20661 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20662
20663         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20664         and use variable directly.
20665         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20666
20667         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20668         MPONE.
20669         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20670         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20671         variable MPONE.
20672         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20673         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20674         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20675         include directive.  Remove local variable MPONE.
20676         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20677         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20678         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20679
20680 2012-12-25  David S. Miller  <davem@davemloft.net>
20681
20682         * version.h (RELEASE): Set to "development".
20683         (VERSION): Set to "2.17.90".
20684         * NEWS: Add 2.18 section.
20685
20686 2012-12-21  David S. Miller  <davem@davemloft.net>
20687
20688         * po/hr.po: Update from translation team.
20689
20690 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20691
20692         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20693
20694 2012-12-19  Steve Ellcey  <sellcey@mips.com>
20695
20696         * NEWS:  Mention new memcpy for MIPS.
20697
20698 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20699
20700         * manual/contrib.texi (Contributors): Spelling correction.
20701
20702 2012-12-15  David S. Miller  <davem@davemloft.net>
20703
20704         * po/ru.po: Update from translation team.
20705
20706 2012-12-13  David S. Miller  <davem@davemloft.net>
20707
20708         * NEWS: Mention IFUNC testsuite enhancements.
20709
20710         * po/pl.po: Update from translation team.
20711         * po/bg.po: Likewise.
20712
20713         * manual/contrib.texi (Contributors): Update entries for Hongjiu
20714         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
20715
20716 2012-12-11  David S. Miller  <davem@davemloft.net>
20717
20718         * po/sv.po: Update from translation team.
20719
20720         * po/vi.po: Update from translation team.
20721
20722         * po/cs.po: Update from translation team.
20723
20724         * po/de.po: Update from translation team.
20725         * po/eo.po: Likewise.
20726         * po/nl.po: Likewise.
20727
20728 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20729
20730         [BZ #14246]
20731         * manual/argp.texi (Argp Helper Functions): Move node to follow
20732         Argp Parsing State.
20733
20734         [BZ #14872]
20735         * manual/conf.texi (Limits on File System Capacity): Mention if
20736         terminating null is included in the max size.
20737
20738 2012-12-10  Andreas Jaeger  <aj@suse.de>
20739
20740         * po/cs.po: Update from translation team.
20741
20742 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20743
20744         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20745         void pointer and cast to uintptr_t.
20746         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20747         path.
20748         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20749         * sysdeps/s390/s390-64/memset.S: Likewise.
20750
20751 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
20752
20753         [BZ #14833]
20754         * menual/message.texi (Message Translation): Fix typos.
20755         (Helper programs for gettext): Likewise.
20756
20757 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
20758
20759         [BZ #14898]
20760         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20761         Change to -1.
20762
20763 2012-12-07  David S. Miller  <davem@davemloft.net>
20764
20765         * po/libc.pot: Update.
20766
20767 2012-12-07  Richard Henderson  <rth@redhat.com>
20768
20769         [BZ #10114]
20770         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20771         normal/normal case to before the switch.
20772         (_FP_DIV): Likewise.
20773
20774 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
20775             Mike Frysinger  <vapier@gentoo.org>
20776
20777         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20778         check for __NR_fadvise64_64.
20779
20780 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
20781
20782         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20783         0, not just to plain "0" as a statement.
20784         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20785         with cw.
20786
20787 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
20788
20789         * NEWS: Use sourceware.org in Bugzilla URL.
20790
20791 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20792
20793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20794         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20795
20796         * stdio-common/tst-put-error.c (do_test): Add newline to the
20797         padded test to ensure flush.
20798
20799 2012-12-05  Jeff Law  <law@redhat.com>
20800
20801         * sunrpc/etc.rpc (fedfs_admin): Add entry.
20802
20803 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
20804
20805         * README: Don't refer to ports add-on as distributed separately.
20806         Mention AArch64 in list of systems supported in the ports add-on.
20807
20808         * LICENSES: Add more non-FSF copyright and license notices.
20809
20810         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20811         ((unused)).
20812
20813         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20814
20815         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20816         10000 as width of padded output.
20817
20818 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20819
20820         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20821
20822         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20823         variable LX with __attribute__ ((unused)).
20824         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20825         Likewise.
20826         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20828         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20829         with __attribute__ ((unused)).
20830
20831 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
20832
20833         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20834
20835 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20836
20837         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20838         (CFLAGS-nldbl-acos.c): New variable.
20839         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20840         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20841         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20842         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20843         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20844         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20845         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20846         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20847         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20848         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20849         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20850         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20851         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20852         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20853         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20854         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20855         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20856         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20857         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20858         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20859         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20860         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20861         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20862         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20863         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20864         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20865         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20866         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20867         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20868         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20869         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20870         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20871         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20872         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20873         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20874         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20875         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20876         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20877         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20878         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20879         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20880         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20881         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20882         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20883         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20884         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20885         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20886         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20887         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20888         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20889         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20890         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20891         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20892         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20893         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20894         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20895         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20896         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20897         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20898         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20899         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20900         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20901         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20902         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20903         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20904         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20905         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20906         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20907         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20908         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20909         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20910         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20911         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20912         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20913         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20914         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20915         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20916         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20917         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20918         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20919         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20920         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20921         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20922         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20923         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20924         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20925         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20926         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20927         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20928         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20929         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20930         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20931         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20932         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20933         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20934         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20935         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20936
20937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20938         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20939
20940         [BZ #14914]
20941         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20942         whole low double instead of just low 47 bits when splitting values
20943         into two parts.
20944
20945 2012-12-03  Allan McRae  <allan@archlinux.org>
20946
20947         * manual/stdio.texi (Predefined Printf Handlers): Remove
20948         @hsep and @vsep usage.
20949
20950 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
20951
20952         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20953         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20954
20955 2012-12-03  Jeff Law  <law@redhat.com>
20956
20957         * time/sys/time.h (settimeofday): Do not mark TV argument
20958         as __nonnull.
20959
20960 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
20961
20962         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20963         when currently writing and seek to current position when not.
20964         * libio/Makefile (tests): Remove bug-fclose1.
20965         * libio/bug-fclose1.c: Delete.
20966
20967 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
20968
20969         * manual/arith.texi (feenableexcept): Fix typo.
20970         (fedisableexcept): Likewise.
20971
20972 2012-11-30  Roland McGrath  <roland@hack.frob.com>
20973
20974         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20975         second, differently-typed declaration, rather than a cast.
20976
20977 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20978
20979         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20980         * include/rpc/svc.h: ... here.
20981
20982 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
20983
20984         [BZ #13013]
20985         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20986         depending n and resplen2 to catch cases where answer
20987         equals answerp2.
20988
20989 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
20990
20991         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20992         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20993
20994 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
20995
20996         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20997
20998 2012-11-29  Roland McGrath  <roland@hack.frob.com>
20999
21000         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21001
21002 2012-11-28  Jeff Law  <law@redhat.com>
21003
21004         [BZ #13761]
21005         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21006         dataset_temporary.  Track alloca usage into alloca_used.
21007         If dataset is large allocate and release it via malloc/free.
21008
21009 2012-06-04  Florian Weimer  <fweimer@redhat.com>
21010
21011         [BZ #14197]
21012         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21013
21014 2012-11-28  David S. Miller  <davem@davemloft.net>
21015
21016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21017
21018 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21019
21020         [BZ #14803]
21021         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21022         of pi/2 rounded to nearest to 64 bits.
21023         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21024         nearest to 64 bits.
21025         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21026         bits.
21027
21028 2012-11-28  Jeff Law <law@redhat.com>
21029             Martin Osvald <mosvald@redhat.com>
21030
21031         [BZ #14889]
21032         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21033         * sunrpc/svc.c: Include time.h.
21034         (__svc_accept_failed): New function.
21035         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21036         any reason other than EINTR, call __svc_accept_failed.
21037         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21038         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21039
21040 2012-11-28  Andreas Schwab  <schwab@suse.de>
21041
21042         * scripts/abilist.awk: Also handle indirect functions in .opd
21043         section.
21044
21045 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21046
21047         [BZ #13881]
21048         * sysdeps/x86/fpu/powl_helper.c: New file.
21049         * sysdeps/x86/fpu/Makefile: Likewise.
21050         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21051         (p3): New object.
21052         (__ieee754_powl): Use __powl_helper for finite arguments except
21053         integer exponents below 8.
21054         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21055         (p3): New object.
21056         (__ieee754_powl): Use __powl_helper for finite arguments except
21057         integer exponents below 8.
21058         * math/libm-test.inc (pow_test): Add more tests and enable some
21059         previously disabled tests.
21060         * sysdeps/i386/fpu/libm-test-ulps: Update.
21061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21062
21063 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21064             Carlos O'Donell  <carlos_odonell@mentor.com>
21065
21066         * nss/makedb.c (is_prime): Assert that input is odd and greater
21067         than 4.  Note that fact in a comment too.
21068         (next_prime): Add 4 to input.
21069
21070 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21071
21072         [BZ #11741]
21073         * libio/Makefile (tests): Add test case tst-fwrite-error.
21074         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21075         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21076         * libio/tst-fwrite-error.c: New test case.
21077
21078 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
21079
21080         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21081         before casting to void *.
21082         * include/libc-internal.h (__pointer_type): New macro.
21083         (__integer_if_pointer_type_sub): Likewise.
21084         (__integer_if_pointer_type): Likewise.
21085         (cast_to_integer): Likewise.
21086         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21087         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21088         before casting to atomic64_t.
21089         (atomic_exchange_acq): Likewise.
21090         (__arch_exchange_and_add_body): Likewise.
21091         (__arch_add_body): Likewise.
21092         (atomic_add_negative): Likewise.
21093         (atomic_add_zero): Likewise.
21094
21095 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
21096
21097         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21098         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21099         (add_fdes): Likewise.
21100         (linear_search_fdes): Likewise.
21101         (binary_search_unencoded_fdes): Likewise.
21102
21103 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
21104
21105         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21106
21107 2012-11-24  Adam Conrad  <adconrad@0c3.net>
21108
21109         * configure.in: Autodetect C++ header directories.
21110         * configure: Regenerated.
21111
21112 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
21113
21114         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21115
21116 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
21117
21118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21119
21120 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
21121
21122         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21123         LDBL_MANT_DIG == 106]: Disable some tests.
21124         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21125         Likewise.
21126         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21127         Likewise.
21128
21129         [BZ #14871]
21130         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21131         input for small inputs.  Return +/- pi/2 for large inputs.
21132         * math/libm-test.inc (atan_test): Add more tests.
21133
21134         * sysdeps/generic/unwind-dw2-fde-glibc.c
21135         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21136         __attribute__ ((unused)).
21137
21138         [BZ #14645]
21139         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21140         x * y if x and y are nonzero and z is zero.
21141
21142         [BZ #14811]
21143         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21144         nonzero exponents with absolute value below 0x1p-117 to +/-
21145         0x1p-117.
21146
21147         [BZ #14869]
21148         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21149         up arguments below 2**-450, not just those below 2**-500.
21150         * math/libm-test.inc (hypot_test): Add another test.
21151
21152         [BZ #14868]
21153         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21154         Return a+b for ratio over 2**120, not 2**60.
21155         * math/libm-test.inc (hypot_test): Add another test.
21156
21157         * math/libm-test.inc (clog_test): Use
21158         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21159         (clog10_test): Likewise.
21160
21161         [BZ #6778]
21162         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21163
21164 2012-11-22  Andreas Schwab  <schwab@suse.de>
21165
21166         * sysdeps/i386/fpu/libm-test-ulps: Update.
21167
21168 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
21169
21170         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21171         printf output with newline.
21172
21173 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
21174
21175         [BZ #14865]
21176         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21177         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21178         -z nodlopen, -z initfirst and -z execstack support.
21179         * configure: Regenerated.
21180
21181         * elf/elf.h (DF_1_NODIRECT): New macro.
21182         (DF_1_IGNMULDEF): Likewise.
21183         (DF_1_NOKSYMS): Likewise.
21184         (DF_1_NOHDR): Likewise.
21185         (DF_1_EDITED): Likewise.
21186         (DF_1_NORELOC): Likewise.
21187         (DF_1_SYMINTPOSE): Likewise.
21188         (DF_1_GLOBAUDIT): Likewise.
21189         (DF_1_SINGLETON): Likewise.
21190         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21191         DT_1_SUPPORTED_MASK bits.
21192         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21193
21194 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
21195
21196         * sysdeps/unix/make-syscalls.sh: Document prefixes.
21197
21198 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
21199
21200         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21201         macro.
21202
21203         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21204         (sendmmsg): Move declarations...
21205         * socket/sys/socket.h: ... here.
21206         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21207         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21208         include it from...
21209         * socket/recvmmsg.c: ... this new file.
21210         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21211         (sendmmsg): Rename to __sendmmsg, create weak alias and make
21212         definition of __sendmmsg hidden.
21213         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21214         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21215         Move ENOSYS stub into and include it from...
21216         * socket/sendmmsg.c: ... this new file.
21217         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21218         (sysdep_routines): Move recvmmsg and sendmmsg...
21219         * socket/Makefile (routines): ... here.
21220         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21221         (GLIBC_PRIVATE): Add __sendmmsg.
21222         * include/sys/socket.h (__sendmmsg): Add declarations.
21223         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21224         sendmmsg.
21225
21226 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
21227
21228         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21229         variable I1 with __attribute__ ((unused)).
21230         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21231
21232 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21233
21234         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21235         DUMMY variables with __attribute__ ((unused)).
21236
21237         * bits/byteswap.h: Include <bits/types.h>.
21238         (__bswap_64): Use __uint64_t instead of unsigned long long int.
21239
21240 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
21241
21242         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21243         string_t.  Do not manually set errno.
21244         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21245         length with __strnlen.  Make sure to both set errno and return it on
21246         failure.
21247
21248 2012-11-19  David S. Miller  <davem@davemloft.net>
21249
21250         With help from Joseph Myers.
21251         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21252         very large arguments properly.
21253         * math/libm-test.inc (atan_test): New tests.
21254         (atan2_test): New tests.
21255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21257
21258 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21259
21260         [BZ #14856]
21261         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21262         Define to 3.
21263
21264         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21265         [POSIX] (EADDRNOTAVAIL): Likewise.
21266         [POSIX] (EAFNOSUPPORT): Likewise.
21267         [POSIX] (EALREADY): Likewise.
21268         [POSIX] (ECONNABORTED): Likewise.
21269         [POSIX] (ECONNREFUSED): Likewise.
21270         [POSIX] (ECONNRESET): Likewise.
21271         [POSIX] (EDESTADDRREQ): Likewise.
21272         [POSIX] (EDQUOT): Likewise.
21273         [POSIX] (EHOSTUNREACH): Likewise.
21274         [POSIX] (EIDRM): Likewise.
21275         [POSIX] (EISCONN): Likewise.
21276         [POSIX] (ELOOP): Likewise.
21277         [POSIX] (EMULTIHOP): Likewise.
21278         [POSIX] (ENETDOWN): Likewise.
21279         [POSIX] (ENETUNREACH): Likewise.
21280         [POSIX] (ENOBUFS): Likewise.
21281         [POSIX] (ENODATA): Likewise.
21282         [POSIX] (ENOLINK): Likewise.
21283         [POSIX] (ENOMSG): Likewise.
21284         [POSIX] (ENOPROTOOPT): Likewise.
21285         [POSIX] (ENOSR): Likewise.
21286         [POSIX] (ENOSTR): Likewise.
21287         [POSIX] (ENOTCONN): Likewise.
21288         [POSIX] (ENOTSOCK): Likewise.
21289         [POSIX] (EOPNOTSUPP): Likewise.
21290         [POSIX] (EOVERFLOW): Likewise.
21291         [POSIX] (EPROTO): Likewise.
21292         [POSIX] (EPROTONOSUPPORT): Likewise.
21293         [POSIX] (EPROTOTYPE): Likewise.
21294         [POSIX] (ESTALE): Likewise.
21295         [POSIX] (ETIME): Likewise.
21296         [POSIX] (ETXTBSY): Likewise.
21297         [POSIX] (EWOULDBLOCK): Likewise.
21298         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21299         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21300         [POSIX] (SEEK_CUR): Likewise.
21301         [POSIX] (SEEK_END): Likewise.
21302         [POSIX || UNIX98] (mode_t): Do not require.
21303         [POSIX] (off_t): Likewise.
21304         [POSIX] (pid_t): Likewise.
21305         [POSIX] (sys/stat.h): Do not allow header.
21306         [POSIX] (unistd.h): Likewise.
21307         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21308         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21309         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21310         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21311         require.
21312         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21313         sigevent): Specify elements.
21314         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21315         entry.
21316         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21317         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21318
21319         * conform/data/cpio.h-data [POSIX]: Disable whole file.
21320         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21321         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21322         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21323         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21324         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21325         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21326         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21327         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21328         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21329         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21330         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21331         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21332         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21333         Likewise.
21334         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21335         Likewise.
21336         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21337         Likewise.
21338         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21339         Likewise.
21340         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21341         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21342         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21343         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21344         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21345         Specify lower bound on value.
21346         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21347         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21348         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21349         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21350         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21351         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21352         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21353         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21354         value.
21355         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21356         as optional.
21357         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21358         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21359         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21360         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21361         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21362         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21363         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21364         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21365         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21366         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21367         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21368         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21369         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21370         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21371         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21372         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21373         entry.
21374         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21375         optional.
21376         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21377         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21378         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21379         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21380         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21381         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21382         Likewise.
21383         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21384         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21385         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21386         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21387         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
21388         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21389         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21390         as optional.
21391         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21392         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21393         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21394         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21395         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21396         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21397         specify as optional.
21398         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21399         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21400         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21401         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21402         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21403         [XPG3] (NL_LANGMAX): Likewise.
21404         [POSIX || XPG3] (NL_MSGMAX): Likewise.
21405         [POSIX || XPG3] (NL_NMAX): Likewise.
21406         [POSIX || XPG3] (NL_SETMAX): Likewise.
21407         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21408         [XPG3] (NZERO): Likewise.
21409         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21410         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21411         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21412         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21413         (REG_ERANGE): Expect.
21414         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21415         optional-constant.
21416         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21417         Use (void) in prototype.
21418         [POSIX] (*_t): Allow.
21419         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21420         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21421         (WRDE_BADVAL): Expect.
21422
21423         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21424         expect.
21425         [XPG3 || XPG4] (O_RSYNC): Likewise.
21426         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21427         Likewise.
21428         [XPG3 || XPG4] (pthread_sigmask): Likewise.
21429         [XPG3 || XPG4] (sigqueue): Likewise.
21430         [XPG3 || XPG4] (sigtimedwait): Likewise.
21431         [XPG3 || XPG4] (sigwaitinfo): Likewise.
21432         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21433         [XPG3 || XPG4] (vsnprintf): Likewise.
21434         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21435         Likewise.
21436         [XPG3 || XPG4] (blksize_t): Likewise.
21437         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21438         Likewise.
21439         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21440         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21441         [XPG3 || XPG4] (struct itimerspec): Likewise.
21442         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21443         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21444         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21445         [XPG3 || XPG4] (clockid_t): Likewise.
21446         [XPG3 || XPG4] (timer_t): Likewise.
21447         [XPG3 || XPG4] (clock_getres): Likewise.
21448         [XPG3 || XPG4] (clock_gettime): Likewise.
21449         [XPG3 || XPG4] (clock_settime): Likewise.
21450         [XPG3 || XPG4] (nanosleep): Likewise.
21451         [XPG3 || XPG4] (timer_create): Likewise.
21452         [XPG3 || XPG4] (timer_delete): Likewise.
21453         [XPG3 || XPG4] (timer_gettime): Likewise.
21454         [XPG3 || XPG4] (timer_getoverrun): Likewise.
21455         [XPG3 || XPG4] (timer_settime): Likewise.
21456         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21457         [XPG3 || XPG4] (getlogin_r): Likewise.
21458         [XPG3 || XPG4] (pread): Likewise.
21459         [XPG3 || XPG4] (pthread_atfork): Likewise.
21460         [XPG3 || XPG4] (pwrite): Likewise.
21461
21462         [BZ #14835]
21463         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21464         <bits/siginfo.h>.
21465
21466 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
21467
21468         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21469         finalizing MALLSTREAM.
21470
21471         * sysdeps/mach/hurd/syncfs.c: New file.
21472
21473 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21474
21475         [BZ #14719]
21476         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21477         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21478         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21479         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21480         (_nss_dns_gethostbyname4_r): Likewise.
21481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21482         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21483
21484 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
21485
21486         [BZ #13763]
21487         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21488
21489 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
21490
21491         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21492         * elf/cache.c (print_entry): Print ",AArch64" for
21493         FLAG_AARCH64_LIB64
21494
21495         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21496         * elf/cache.c (print_entry): Print ",hard-float" for
21497         FLAG_ARM_LIBHF.
21498
21499 2012-11-18  David S. Miller  <davem@davemloft.net>
21500
21501         With help from Joseph Myers.
21502         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21503         cutoff to 2**-13.
21504         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21505         cutoff to 2**-25.
21506         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21507         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21508         small.
21509         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21510         * math/libm-test.inc (y0_test): New tests.
21511         (y1_test): New tests.
21512         * sysdeps/i386/fpu/libm-test-ulps: Update.
21513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21515
21516 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
21517
21518         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21519         64-bit targets.
21520         * configure: Regenerated.
21521
21522 2012-11-17  David S. Miller  <davem@davemloft.net>
21523
21524         [BZ #14811]
21525         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21526         nonzero exponents with absolute value below 0x1p-128 to +/-
21527         0x1p-128.
21528
21529 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
21530
21531         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21532
21533         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21534
21535         * posix/getconf-speclist.c: New file.
21536         * posix/posix-envs.def: Likewise.
21537         * posix/confstr.c (START_ENV_GROUP): New macro.
21538         (END_ENV_GROUP): Likewise.
21539         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21540         (KNOWN_PRESENT_ENV_STRING): Likewise.
21541         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21542         (UNKNOWN_ENVIRONMENT): Likewise.
21543         (confstr): Include posix-envs.def instead of handling
21544         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21545         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21546         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21547         (END_ENV_GROUP): Likewise.
21548         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21549         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21550         (UNKNOWN_ENVIRONMENT): Likewise.
21551         (__sysconf): Include posix-envs.def instead of handling associated
21552         cases directly here.
21553         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21554         preprocessing getconf-speclist.c rather than running getconf or
21555         generating empty file.
21556
21557 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
21558
21559         * scripts/check-local-headers.sh: Ignore 'mach' headers.
21560
21561 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
21562
21563         [BZ #14672]
21564         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21565
21566 2012-11-16  David S. Miller  <davem@davemloft.net>
21567
21568         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21569         smaller than LDBL_EPSILON/2.0L, just return xm1.
21570
21571 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
21572
21573         * elf/tst-array1.c (init): Set constructor priority to 1000.
21574         (fini): Set destructor priority to 1000.
21575         * elf/tst-array2dep.c: Likewise.
21576
21577 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21578
21579         [BZ #11741]
21580         * libio/fileops.c (_IO_new_file_write): Correctly return error.
21581         (_IO_new_file_xsputn): Also return EOF if none of the input
21582         data was written when overflow failed.
21583         * libio/iopadn.c (_IO_padn): Likewise.
21584         * libio/iowpadn.c (_IO_wpadn): Likewise.
21585         * stdio-common/tst-put-error.c: Add copyright notice.
21586         (do_test): Add case for printing padded string.
21587         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21588         _IO_padn returned error.
21589         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21590         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21591         return EOF.
21592
21593 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21594
21595         * libio/libioP.h: Add comment note that the references to C++
21596         bits are now obsolete.
21597
21598 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21599
21600         * math/libm-test.inc (check_complex): Use asprintf.
21601
21602 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
21603
21604         * debug/pcprofiledump.c (print_version): Update copyright year.
21605         * malloc/memusagestat.c (print_version): Likewise.
21606
21607 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
21608
21609         [BZ #14831]
21610         * elf/Makefile (tests): Add tst-audit8.
21611         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21612         ($(objpfx)tst-audit8.out): New target.
21613         (tst-audit8-ENV): New variable.
21614         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21615         audit if l_reloc_result is NULL.
21616         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21617         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21618         * elf/tst-audit8.c: New file.
21619
21620 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21621
21622         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21623         * misc/Makefile (CFLAGS-select.c): Define.
21624         * posix/Makefile (CFLAGS-pause.c): Define.
21625
21626 2012-11-13  David S. Miller  <davem@davemloft.net>
21627
21628         * crypt/Makefile: Move test targets after toplevel Rules
21629         inclusion.  Grab any necessary sysdep routines when linking.
21630         * crypt/md5.c (md5_process_block): Remove define, we will always
21631         name it __md5_process_block.
21632         (md5_finish_ctx): Update md5_process_block call.
21633         (md5_stream): Likewise.
21634         (md5_process_bytes): Likewise.
21635         (md5_process_block): Rename to __md5_process_block and move to ...
21636         * crypt/md5-block.c: ... here.
21637         * crypt/sha256.c (sha256_process_block): Move to ...
21638         * crypt/sha256-block.c: ... here.
21639         * crypt/sha512.c (sha512_process_block): Move to ...
21640         * crypt/sha512-block.c: ... here.
21641         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21642         path.
21643         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21644         * sysdeps/sparc/sparc64/multiarch/Makefile
21645         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21646         crypt subdir.
21647         (localedef-aux): Add md5 crypto assembler when in locale subdir.
21648         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21649         multiarch changes.
21650         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21651         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21652         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21653         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21654         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21655         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21656         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21657         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21658         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21659         file.
21660         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21661         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21662         file.
21663         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21664
21665 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
21666
21667         * timezone/tzselect.ksh: Update from tzcode git revision
21668         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21669         * timezone/zdump.c: Likewise.
21670         * timezone/zic.c: Likewise.
21671         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21672         in TZVERSION setting, not $(PKGVERSION).
21673         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
21674         REPORT_BUGS_TO settings.
21675
21676         [BZ #14838]
21677         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21678         macro.
21679
21680 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21681
21682         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21683         detection to immediately after _FP_ROUND().
21684         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21685         bits are 0.
21686
21687 2012-11-11  David S. Miller  <davem@davemloft.net>
21688
21689         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21690         inttypes.h
21691         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21692         __close rather than their public counterparts.
21693
21694 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
21695
21696         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21697         file.
21698         [UNIX98] (sem_timedwait): Do not expect.
21699         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21700         [XPG4 || UNIX98] (sockatmark): Do not expect.
21701         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21702         (clock_getcpuclockid): Do not expect.
21703         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21704         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21705         Do not expect.
21706         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21707         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21708         [UNIX98] (vwscanf): Likewise.
21709         [UNIX98] (vswscanf): Likewise.
21710
21711 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
21712
21713         * timezone/version.h: Remove file.
21714         * timezone/README: Do not refer to version.h.
21715         * timezone/Makefile ($(objpfx)zic.o): New dependency on
21716         $(objpfx)version.h.
21717         ($(objpfx)zdump.o): Likewise.
21718         ($(objpfx)version.h): New target.
21719
21720         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21721         2012i.
21722         * timezone/README: Don't mention modification to tzselect.ksh.
21723         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21724         work on unmodified tzselect.ksh.  Substitute version numbers in
21725         tzselect.ksh.
21726
21727         * Makefile (format-me): Remove.
21728         (INSTALL): Adjust indentation.  Use commands directly instead of
21729         using $(format-me).
21730
21731         * aclocal.m4 (ACX_PKGVERSION): New macro.
21732         (ACX_BUGURL): Likewise.
21733         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21734         (PKGVERSION): New AC_DEFINE_UNQUOTED.
21735         (REPORT_BUGS_TO): Likewise.
21736         * configure: Regenerated.
21737         * config.h.in (PKGVERSION): New macro.
21738         (REPORT_BUGS_TO): Likewise.
21739         * config.make.in (PKGVERSION): New variable.
21740         (PKGVERSION_TEXI): Likewise.
21741         (REPORT_BUGS_TO): Likewise.
21742         (REPORT_BUGS_TEXI): Likewise.
21743         * Makefile (format-me): Use -I$(common-objpfx)manual.
21744         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21745         ($(common-objpfx)manual/%): New target.
21746         (manual/%): Remove target.
21747         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21748         (print_version): Use PKGVERSION.
21749         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21750         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21751         and REPORT_BUGS_TO.
21752         ($(objpfx)xtrace): Likewise.
21753         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21754         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21755         (print_version): Use PKGVERSION.
21756         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21757         (do_version): Use PKGVERSION.
21758         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21759         REPORT_BUGS_TO.
21760         (common-ldd-rewrite): Likewise.
21761         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21762         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21763         (print_version): Use PKGVERSION.
21764         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21765         * elf/pldd.c (argp_program_bug_address): Remove variable.
21766         (more_help): New function.
21767         (argp): Use more_help.
21768         (print_version): Use PKGVERSION.
21769         * elf/sln.c (main): Use PKGVERSION.
21770         (usage): Use REPORT_BUGS_TO.
21771         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21772         (top level): Use PKGVERSION.
21773         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21774         (print_version): Use PKGVERSION.
21775         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21776         (print_version): Use PKGVERSION.
21777         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21778         (print_version): Use PKGVERSION.
21779         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21780         (print_version): Use PKGVERSION.
21781         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21782         (print_version): Use PKGVERSION.
21783         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21784         (print_version): Use PKGVERSION.
21785         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21786         and BUGURL.
21787         ($(objpfx)memusage): Likewise.
21788         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21789         (do_version): Use PKGVERSION.
21790         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21791         (print_version): Use PKGVERSION.
21792         * malloc/mtrace.pl ($PACKAGE): Remove variable.
21793         ($PKGVERSION): New variable.
21794         ($REPORT_BUGS_TO): Likewise.
21795         (usage): Use $REPORT_BUGS_TO.
21796         (top level): Use $PKGVERSION.
21797         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21798         ($(objpfx)pkgvers.texi): New rule.
21799         ($(objpfx)stamp-pkgvers): Likewise.
21800         * manual/install.texi: Include pkgvers.texi.
21801         (--with-pkgversion): Document new configure option.
21802         (--with-bugurl): Likewise.
21803         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21804         than necessarily for this particular distribution.  Use
21805         REPORT_BUGS_TO for where to report bugs.
21806         * INSTALL: Regenerated.
21807         * manual/libc.texinfo: Include pkgvers.texi.
21808         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21809         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21810         (print_version): Use PKGVERSION.
21811         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21812         (print_version): Use PKGVERSION.
21813         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21814         (print_version): Use PKGVERSION.
21815         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21816         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21817         macro.
21818         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21819         (print_version): Use PKGVERSION.
21820         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21821         (print_version): Use PKGVERSION.
21822         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21823         and PKGVERSION.
21824
21825         * timezone/checktab.awk: Update from tzcode 2012i.
21826         * timezone/ialloc.c: Likewise.
21827         * timezone/private.h: Likewise.
21828         * timezone/scheck.c: Likewise.
21829         * timezone/tzfile.h: Likewise.
21830         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21831         (TZVERSION): Hardcode tzcode version number.
21832         * timezone/zdump.c: Update from tzcode 2012i.
21833         * timezone/zic.c: Likewise.
21834         * timezone/version.h: New file.
21835         * timezone/README: Describe version.h.  Update upstream location.
21836
21837         [BZ #14824]
21838         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21839         (mktemp): Enable declaration.
21840         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21841         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21842         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21843         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21844         Likewise.
21845         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21846         Likewise.
21847         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21848         Likewise.
21849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21850         Likewise.
21851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21852         Likewise.
21853         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21854         Likewise.
21855
21856         [BZ #14821]
21857         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21858         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
21859         for copies of such integer values.
21860         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21861         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21862
21863 2012-11-09  Andreas Jaeger  <aj@suse.de>
21864
21865         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21866         definitions and declarations that are provided by
21867         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21868
21869 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21870
21871         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21872         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21873         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21874         definition.
21875
21876 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21877
21878         * elf/elf.h: Update comment before AArch64 relocations.
21879
21880 2012-11-07  David S. Miller  <davem@davemloft.net>
21881
21882         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21883         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21884         (__start_context): Declare.
21885         (__makecontext_ret): Delete.
21886         (__makecontext): Hook up __start_context instead of
21887         __makecontext_ret.
21888         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21889         (sysdep_routines): Add __start_context when in stdlib.
21890
21891 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21892
21893         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21894         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21895         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
21896         hardcoded "nm".
21897         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
21898         (READELF): New variable.  Use it instead of hardcoded "readelf".
21899
21900 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21901
21902         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21903         * sysdeps/x86/Makefile: Here.
21904         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21905         * sysdeps/x86/tst-xmmymm.sh: This.
21906
21907 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21908
21909         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21910         expectations.
21911         [UNIX98] (pthread_barrier_t): Do not expect.
21912         [UNIX98] (pthread_barrierattr_t): Likewise.
21913         [UNIX98] (pthread_spinlock_t): Likewise.
21914         [UNIX98] (pthread_barrier_destroy): Likewise.
21915         [UNIX98] (pthread_barrier_init): Likewise.
21916         [UNIX98] (pthread_barrier_wait): Likewise.
21917         [UNIX98] (pthread_barrierattr_destroy): Likewise.
21918         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21919         [UNIX98] (pthread_barrierattr_init): Likewise.
21920         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21921         [UNIX98] (pthread_getcpuclockid): Likewise.
21922         [UNIX98] (pthread_mutex_timedlock): Likewise.
21923         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21924         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21925         [UNIX98] (pthread_sigmask): Likewise.
21926         [UNIX98] (pthread_spin_destroy): Likewise.
21927         [UNIX98] (pthread_spin_init): Likewise.
21928         [UNIX98] (pthread_spin_lock): Likewise.
21929         [UNIX98] (pthread_spin_trylock): Likewise.
21930         [UNIX98] (pthread_spin_unlock): Likewise.
21931         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21932         Do not expect.
21933         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21934         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21935         [XPG3 || XPG4] (pthread_cond_t): Likewise.
21936         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21937         [XPG3 || XPG4] (pthread_key_t): Likewise.
21938         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21939         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21940         [XPG3 || XPG4] (pthread_once_t): Likewise.
21941         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21942         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21943         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21944         [XPG3 || XPG4] (pthread_t): Likewise.
21945
21946         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21947         not expect.
21948         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21949
21950         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21951         Change function return type to int.
21952
21953         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21954         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21955         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21956         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21957         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21958         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21959         [!POSIX] (posix_madvise): Likewise.
21960         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21961         && !UNIX98].
21962         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21963         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21964         (mode_t): Likewise.
21965         (posix_mem_offset): Likewise.
21966         (posix_typed_mem_get_info): Likewise.
21967         (posix_typed_mem_open): Likewise.
21968
21969         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21970         Change condition to [XOPEN2K8].
21971
21972         * conform/conformtest.pl: Preprocess allow-header data with -x c
21973         instead of from stdin.
21974         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21975         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21976         [C99-based standards] (cerfc): Likewise.
21977         [C99-based standards] (cexp2): Likewise.
21978         [C99-based standards] (cexpm1): Likewise.
21979         [C99-based standards] (clog10): Likewise.
21980         [C99-based standards] (clog1p): Likewise.
21981         [C99-based standards] (clog2): Likewise.
21982         [C99-based standards] (clgamma): Likewise.
21983         [C99-based standards] (ctgamma): Likewise.
21984         [C99-based standards] (cerff): Likewise.
21985         [C99-based standards] (cerfcf): Likewise.
21986         [C99-based standards] (cexp2f): Likewise.
21987         [C99-based standards] (cexpm1f): Likewise.
21988         [C99-based standards] (clog10f): Likewise.
21989         [C99-based standards] (clog1pf): Likewise.
21990         [C99-based standards] (clog2f): Likewise.
21991         [C99-based standards] (clgammaf): Likewise.
21992         [C99-based standards] (ctgammaf): Likewise.
21993         [C99-based standards] (cerfl): Likewise.
21994         [C99-based standards] (cerfcl): Likewise.
21995         [C99-based standards] (cexp2l): Likewise.
21996         [C99-based standards] (cexpm1l): Likewise.
21997         [C99-based standards] (clog10l): Likewise.
21998         [C99-based standards] (clog1pl): Likewise.
21999         [C99-based standards] (clog2l): Likewise.
22000         [C99-based standards] (clgammal): Likewise.
22001         [C99-based standards] (ctgammal): Likewise.
22002         * conform/data/inttypes.h-data [C99-based standards]: Include
22003         stdint.h-data.  Remove all expectations for stdint.h contents.
22004         [C99-based standards] (PRI*): Do not allow.
22005         [C99-based standards] (SCN*): Likewise.
22006         [C99-based standards] (*_t): Likewise.
22007         [C99-based-standards] (PRId8): Expect macro.
22008         [C99-based-standards] (PRIi8): Likewise.
22009         [C99-based-standards] (PRIo8): Likewise.
22010         [C99-based-standards] (PRIu8): Likewise.
22011         [C99-based-standards] (PRIx8): Likewise.
22012         [C99-based-standards] (PRIX8): Likewise.
22013         [C99-based-standards] (SCNd8): Likewise.
22014         [C99-based-standards] (SCNi8): Likewise.
22015         [C99-based-standards] (SCNo8): Likewise.
22016         [C99-based-standards] (SCNu8): Likewise.
22017         [C99-based-standards] (SCNx8): Likewise.
22018         [C99-based-standards] (PRIdLEAST8): Likewise.
22019         [C99-based-standards] (PRIiLEAST8): Likewise.
22020         [C99-based-standards] (PRIoLEAST8): Likewise.
22021         [C99-based-standards] (PRIuLEAST8): Likewise.
22022         [C99-based-standards] (PRIxLEAST8): Likewise.
22023         [C99-based-standards] (PRIXLEAST8): Likewise.
22024         [C99-based-standards] (SCNdLEAST8): Likewise.
22025         [C99-based-standards] (SCNiLEAST8): Likewise.
22026         [C99-based-standards] (SCNoLEAST8): Likewise.
22027         [C99-based-standards] (SCNuLEAST8): Likewise.
22028         [C99-based-standards] (SCNxLEAST8): Likewise.
22029         [C99-based-standards] (PRIdFAST8): Likewise.
22030         [C99-based-standards] (PRIiFAST8): Likewise.
22031         [C99-based-standards] (PRIoFAST8): Likewise.
22032         [C99-based-standards] (PRIuFAST8): Likewise.
22033         [C99-based-standards] (PRIxFAST8): Likewise.
22034         [C99-based-standards] (PRIXFAST8): Likewise.
22035         [C99-based-standards] (SCNdFAST8): Likewise.
22036         [C99-based-standards] (SCNiFAST8): Likewise.
22037         [C99-based-standards] (SCNoFAST8): Likewise.
22038         [C99-based-standards] (SCNuFAST8): Likewise.
22039         [C99-based-standards] (SCNxFAST8): Likewise.
22040         [C99-based-standards] (PRId16): Likewise.
22041         [C99-based-standards] (PRIi16): Likewise.
22042         [C99-based-standards] (PRIo16): Likewise.
22043         [C99-based-standards] (PRIu16): Likewise.
22044         [C99-based-standards] (PRIx16): Likewise.
22045         [C99-based-standards] (PRIX16): Likewise.
22046         [C99-based-standards] (SCNd16): Likewise.
22047         [C99-based-standards] (SCNi16): Likewise.
22048         [C99-based-standards] (SCNo16): Likewise.
22049         [C99-based-standards] (SCNu16): Likewise.
22050         [C99-based-standards] (SCNx16): Likewise.
22051         [C99-based-standards] (PRIdLEAST16): Likewise.
22052         [C99-based-standards] (PRIiLEAST16): Likewise.
22053         [C99-based-standards] (PRIoLEAST16): Likewise.
22054         [C99-based-standards] (PRIuLEAST16): Likewise.
22055         [C99-based-standards] (PRIxLEAST16): Likewise.
22056         [C99-based-standards] (PRIXLEAST16): Likewise.
22057         [C99-based-standards] (SCNdLEAST16): Likewise.
22058         [C99-based-standards] (SCNiLEAST16): Likewise.
22059         [C99-based-standards] (SCNoLEAST16): Likewise.
22060         [C99-based-standards] (SCNuLEAST16): Likewise.
22061         [C99-based-standards] (SCNxLEAST16): Likewise.
22062         [C99-based-standards] (PRIdFAST16): Likewise.
22063         [C99-based-standards] (PRIiFAST16): Likewise.
22064         [C99-based-standards] (PRIoFAST16): Likewise.
22065         [C99-based-standards] (PRIuFAST16): Likewise.
22066         [C99-based-standards] (PRIxFAST16): Likewise.
22067         [C99-based-standards] (PRIXFAST16): Likewise.
22068         [C99-based-standards] (SCNdFAST16): Likewise.
22069         [C99-based-standards] (SCNiFAST16): Likewise.
22070         [C99-based-standards] (SCNoFAST16): Likewise.
22071         [C99-based-standards] (SCNuFAST16): Likewise.
22072         [C99-based-standards] (SCNxFAST16): Likewise.
22073         [C99-based-standards] (PRId32): Likewise.
22074         [C99-based-standards] (PRIi32): Likewise.
22075         [C99-based-standards] (PRIo32): Likewise.
22076         [C99-based-standards] (PRIu32): Likewise.
22077         [C99-based-standards] (PRIx32): Likewise.
22078         [C99-based-standards] (PRIX32): Likewise.
22079         [C99-based-standards] (SCNd32): Likewise.
22080         [C99-based-standards] (SCNi32): Likewise.
22081         [C99-based-standards] (SCNo32): Likewise.
22082         [C99-based-standards] (SCNu32): Likewise.
22083         [C99-based-standards] (SCNx32): Likewise.
22084         [C99-based-standards] (PRIdLEAST32): Likewise.
22085         [C99-based-standards] (PRIiLEAST32): Likewise.
22086         [C99-based-standards] (PRIoLEAST32): Likewise.
22087         [C99-based-standards] (PRIuLEAST32): Likewise.
22088         [C99-based-standards] (PRIxLEAST32): Likewise.
22089         [C99-based-standards] (PRIXLEAST32): Likewise.
22090         [C99-based-standards] (SCNdLEAST32): Likewise.
22091         [C99-based-standards] (SCNiLEAST32): Likewise.
22092         [C99-based-standards] (SCNoLEAST32): Likewise.
22093         [C99-based-standards] (SCNuLEAST32): Likewise.
22094         [C99-based-standards] (SCNxLEAST32): Likewise.
22095         [C99-based-standards] (PRIdFAST32): Likewise.
22096         [C99-based-standards] (PRIiFAST32): Likewise.
22097         [C99-based-standards] (PRIoFAST32): Likewise.
22098         [C99-based-standards] (PRIuFAST32): Likewise.
22099         [C99-based-standards] (PRIxFAST32): Likewise.
22100         [C99-based-standards] (PRIXFAST32): Likewise.
22101         [C99-based-standards] (SCNdFAST32): Likewise.
22102         [C99-based-standards] (SCNiFAST32): Likewise.
22103         [C99-based-standards] (SCNoFAST32): Likewise.
22104         [C99-based-standards] (SCNuFAST32): Likewise.
22105         [C99-based-standards] (SCNxFAST32): Likewise.
22106         [C99-based-standards] (PRId64): Likewise.
22107         [C99-based-standards] (PRIi64): Likewise.
22108         [C99-based-standards] (PRIo64): Likewise.
22109         [C99-based-standards] (PRIu64): Likewise.
22110         [C99-based-standards] (PRIx64): Likewise.
22111         [C99-based-standards] (PRIX64): Likewise.
22112         [C99-based-standards] (SCNd64): Likewise.
22113         [C99-based-standards] (SCNi64): Likewise.
22114         [C99-based-standards] (SCNo64): Likewise.
22115         [C99-based-standards] (SCNu64): Likewise.
22116         [C99-based-standards] (SCNx64): Likewise.
22117         [C99-based-standards] (PRIdLEAST64): Likewise.
22118         [C99-based-standards] (PRIiLEAST64): Likewise.
22119         [C99-based-standards] (PRIoLEAST64): Likewise.
22120         [C99-based-standards] (PRIuLEAST64): Likewise.
22121         [C99-based-standards] (PRIxLEAST64): Likewise.
22122         [C99-based-standards] (PRIXLEAST64): Likewise.
22123         [C99-based-standards] (SCNdLEAST64): Likewise.
22124         [C99-based-standards] (SCNiLEAST64): Likewise.
22125         [C99-based-standards] (SCNoLEAST64): Likewise.
22126         [C99-based-standards] (SCNuLEAST64): Likewise.
22127         [C99-based-standards] (SCNxLEAST64): Likewise.
22128         [C99-based-standards] (PRIdFAST64): Likewise.
22129         [C99-based-standards] (PRIiFAST64): Likewise.
22130         [C99-based-standards] (PRIoFAST64): Likewise.
22131         [C99-based-standards] (PRIuFAST64): Likewise.
22132         [C99-based-standards] (PRIxFAST64): Likewise.
22133         [C99-based-standards] (PRIXFAST64): Likewise.
22134         [C99-based-standards] (SCNdFAST64): Likewise.
22135         [C99-based-standards] (SCNiFAST64): Likewise.
22136         [C99-based-standards] (SCNoFAST64): Likewise.
22137         [C99-based-standards] (SCNuFAST64): Likewise.
22138         [C99-based-standards] (SCNxFAST64): Likewise.
22139         [C99-based-standards] (PRIdMAX): Likewise.
22140         [C99-based-standards] (PRIiMAX): Likewise.
22141         [C99-based-standards] (PRIoMAX): Likewise.
22142         [C99-based-standards] (PRIuMAX): Likewise.
22143         [C99-based-standards] (PRIxMAX): Likewise.
22144         [C99-based-standards] (PRIXMAX): Likewise.
22145         [C99-based-standards] (SCNdMAX): Likewise.
22146         [C99-based-standards] (SCNiMAX): Likewise.
22147         [C99-based-standards] (SCNoMAX): Likewise.
22148         [C99-based-standards] (SCNuMAX): Likewise.
22149         [C99-based-standards] (SCNxMAX): Likewise.
22150         [C99-based-standards] (PRIdPTR): Likewise.
22151         [C99-based-standards] (PRIiPTR): Likewise.
22152         [C99-based-standards] (PRIoPTR): Likewise.
22153         [C99-based-standards] (PRIuPTR): Likewise.
22154         [C99-based-standards] (PRIxPTR): Likewise.
22155         [C99-based-standards] (PRIXPTR): Likewise.
22156         [C99-based-standards] (SCNdPTR): Likewise.
22157         [C99-based-standards] (SCNiPTR): Likewise.
22158         [C99-based-standards] (SCNoPTR): Likewise.
22159         [C99-based-standards] (SCNuPTR): Likewise.
22160         [C99-based-standards] (SCNxPTR): Likewise.
22161         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22162         allow.
22163         * conform/data/stdint.h-data: Update comments to clarify
22164         requirements.
22165         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
22166         type.
22167         [C99-based standards] (INT8_MAX): Likewise.
22168         [C99-based standards] (INT16_MIN): Likewise.
22169         [C99-based standards] (INT16_MAX): Likewise.
22170         [C99-based standards] (INT32_MIN): Likewise.
22171         [C99-based standards] (INT32_MAX): Likewise.
22172         [C99-based standards] (INT64_MIN): Likewise.
22173         [C99-based standards] (INT64_MAX): Likewise.
22174         [C99-based standards] (UINT8_MAX): Likewise.
22175         [C99-based standards] (UINT16_MAX): Likewise.
22176         [C99-based standards] (UINT32_MAX): Likewise.
22177         [C99-based standards] (UINT64_MAX): Likewise.
22178         [C99-based standards] (INT_LEAST8_MIN): Likewise.
22179         [C99-based standards] (INT_LEAST8_MAX): Likewise.
22180         [C99-based standards] (INT_LEAST16_MIN): Likewise.
22181         [C99-based standards] (INT_LEAST16_MAX): Likewise.
22182         [C99-based standards] (INT_LEAST32_MIN): Likewise.
22183         [C99-based standards] (INT_LEAST32_MAX): Likewise.
22184         [C99-based standards] (INT_LEAST64_MIN): Likewise.
22185         [C99-based standards] (INT_LEAST64_MAX): Likewise.
22186         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22187         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22188         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22189         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22190         [C99-based standards] (INT_FAST8_MIN): Likewise.
22191         [C99-based standards] (INT_FAST8_MAX): Likewise.
22192         [C99-based standards] (INT_FAST16_MIN): Likewise.
22193         [C99-based standards] (INT_FAST16_MAX): Likewise.
22194         [C99-based standards] (INT_FAST32_MIN): Likewise.
22195         [C99-based standards] (INT_FAST32_MAX): Likewise.
22196         [C99-based standards] (INT_FAST64_MIN): Likewise.
22197         [C99-based standards] (INT_FAST64_MAX): Likewise.
22198         [C99-based standards] (UINT_FAST8_MAX): Likewise.
22199         [C99-based standards] (UINT_FAST16_MAX): Likewise.
22200         [C99-based standards] (UINT_FAST32_MAX): Likewise.
22201         [C99-based standards] (UINT_FAST64_MAX): Likewise.
22202         [C99-based standards] (INTPTR_MIN): Likewise.
22203         [C99-based standards] (INTPTR_MAX): Likewise.
22204         [C99-based standards] (UINTPTR_MAX): Likewise.
22205         [C99-based standards] (INTMAX_MIN): Likewise.
22206         [C99-based standards] (INTMAX_MAX): Likewise.
22207         [C99-based standards] (UINTMAX_MAX): Likewise.
22208         [C99-based standards] (PTRDIFF_MIN): Likewise.
22209         [C99-based standards] (PTRDIFF_MAX): Likewise.
22210         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22211         [C99-based standards] (SIZE_MAX): Likewise.
22212         [C99-based standards] (WCHAR_MAX): Likewise.
22213         [C99-based standards] (WINT_MAX): Likewise.
22214         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
22215         constraint on value.
22216         [C99-based standards] (WCHAR_MIN): Likewise.
22217         [C99-based standards] (WINT_MIN): Likewise.
22218         [C99-based standards] (*_t): Allow.
22219         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22220         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22221         Include math.h-data and complex.h-data.  Remove all expectations
22222         of math.h and complex.h contents.
22223         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22224         at end of line.
22225         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22226         (struct tm): Expect tag.
22227         [C99-based-standards] (wcstof): Expect function.
22228         [C99-based-standards] (wcstold): Likewise.
22229         [C99-based-standards] (wcstoll): Likewise.
22230         [C99-based-standards] (wcstoull): Likewise.
22231         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22232         macro-int-constant.  Specify type.
22233         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
22234         constraint on value.
22235         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22236         Specify type.
22237         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22238         Specify value.
22239         [ISO C standards]: Do not allow headers.
22240         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22241         wcs[abcdefghijklmnopqrstuvwxyz]*.
22242         [ISO C standards] (*_t): Do not allow.
22243         * conform/data/wctype.h-data [C99-based standards] (iswblank):
22244         Expect function.
22245         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22246         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22247         Specify type.
22248         [ISO C standards]: Do not allow headers.
22249         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22250         is[abcdefghijklmnopqrstuvwxyz]*.
22251         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22252         to[abcdefghijklmnopqrstuvwxyz]*.
22253         [ISO C standards] (*_t): Do not allow.
22254         * conform/data/stdalign.h-data: New file.
22255         * conform/data/stdbool.h-data: Likewise.
22256         * conform/data/stdnoreturn.h-data: Likewise.
22257
22258 2012-11-07  Roland McGrath  <roland@hack.frob.com>
22259
22260         [BZ #14815]
22261         * manual/filesys.texi (Directory Entries): Typo fix.
22262         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22263
22264 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22265
22266         * elf/elf.h (EM_AARCH64): New macro.
22267         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22268         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22269         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22270         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22271         (R_AARCH64_TLSDESC): Likewise.
22272         (NT_ARM_TLS): Likewise.
22273         (NT_ARM_HW_BREAK): Likewise.
22274         (NT_ARM_HW_WATCH): Likewise.
22275
22276 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22277
22278         [BZ #14811]
22279         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22280         (__ieee754_powl): Saturate nonzero exponents with absolute value
22281         below 0x1p-79 to +/- 0x1p-79.
22282         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22283         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22284         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22285         nonzero exponents with absolute value below 0x1p-32 to +/-
22286         0x1p-32.
22287         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22288         (__ieee754_powl): Saturate nonzero exponents with absolute value
22289         below 0x1p-79 to +/- 0x1p-79.
22290         * math/libm-test.inc (pow_test): Add more tests.
22291
22292 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22293
22294         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22295         _dl_s390_cap_flags with kernel. Increase string length.
22296         (_dl_s390_platforms): Add z196 and zEC12.
22297
22298 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22299
22300         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22301         Change XOPEN21K to XOPEN2K.
22302
22303 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
22304
22305         * string/memmove.c: Use memcpy when possible.
22306
22307 2012-11-06  Andreas Jaeger  <aj@suse.de>
22308
22309         * po/eo.po: Update from translation team.
22310
22311 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
22312
22313         [BZ #14793]
22314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22315         exponent and small x and y exponents, scale x or y up.  Increase
22316         by 2 the exponent used in scaling up.
22317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22318         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22319         * math/libm-test.inc (fma_test): Add more tests.
22320         (fma_test_towardzero): Likewise.
22321         (fma_test_downward): Likewise.
22322         (fma_test_upward): Likewise.
22323
22324 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
22325
22326         [BZ #14805]
22327         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22328         fenv_t *.
22329
22330         [BZ #14801]
22331         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22332         namespace for names of struct fields.
22333         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22334         fenv_t fields.
22335         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22336         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22337
22338 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22339
22340         [BZ #3665]
22341         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22342
22343 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
22344
22345         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22346         PTR_DEMANGLE.
22347
22348         [BZ #5246]
22349         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22350         PTR_DEMANGLE.
22351
22352 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
22353
22354         [BZ #14797]
22355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22356         definitely overflow as x * y not x * y + z.
22357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22358         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22359         * math/libm-test.inc (fma_test): Add more tests.
22360         (fma_test_towardzero): Likewise.
22361         (fma_test_downward): Likewise.
22362         (fma_test_upward): Likewise.
22363
22364 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
22365
22366         [BZ #157]
22367
22368         * include/stub-tag.h: Remove file.
22369         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22370         '#include' of it.
22371         * manual/maint.texi (Porting): Don't reference it.
22372         * Makerules ($(objpfx)stubs): Likewise.
22373         * dirent/closedir.c: Don't include <stub-tag.h>.
22374         * dirent/dirfd.c: Likewise.
22375         * dirent/fdopendir.c: Likewise.
22376         * dirent/getdents.c: Likewise.
22377         * dirent/getdents64.c: Likewise.
22378         * dirent/opendir.c: Likewise.
22379         * dirent/readdir.c: Likewise.
22380         * dirent/readdir64.c: Likewise.
22381         * dirent/readdir64_r.c: Likewise.
22382         * dirent/readdir_r.c: Likewise.
22383         * dirent/rewinddir.c: Likewise.
22384         * dirent/seekdir.c: Likewise.
22385         * dirent/telldir.c: Likewise.
22386         * gmon/profil.c: Likewise.
22387         * grp/setgroups.c: Likewise.
22388         * inet/if_index.c: Likewise.
22389         * io/access.c: Likewise.
22390         * io/chdir.c: Likewise.
22391         * io/chmod.c: Likewise.
22392         * io/chown.c: Likewise.
22393         * io/close.c: Likewise.
22394         * io/dup.c: Likewise.
22395         * io/dup2.c: Likewise.
22396         * io/dup3.c: Likewise.
22397         * io/euidaccess.c: Likewise.
22398         * io/faccessat.c: Likewise.
22399         * io/fchdir.c: Likewise.
22400         * io/fchmod.c: Likewise.
22401         * io/fchmodat.c: Likewise.
22402         * io/fchown.c: Likewise.
22403         * io/fchownat.c: Likewise.
22404         * io/fcntl.c: Likewise.
22405         * io/flock.c: Likewise.
22406         * io/fstatfs.c: Likewise.
22407         * io/fstatfs64.c: Likewise.
22408         * io/fstatvfs.c: Likewise.
22409         * io/fstatvfs64.c: Likewise.
22410         * io/futimens.c: Likewise.
22411         * io/fxstat.c: Likewise.
22412         * io/fxstat64.c: Likewise.
22413         * io/fxstatat.c: Likewise.
22414         * io/fxstatat64.c: Likewise.
22415         * io/getcwd.c: Likewise.
22416         * io/isatty.c: Likewise.
22417         * io/lchmod.c: Likewise.
22418         * io/lchown.c: Likewise.
22419         * io/link.c: Likewise.
22420         * io/linkat.c: Likewise.
22421         * io/lseek.c: Likewise.
22422         * io/lseek64.c: Likewise.
22423         * io/lxstat64.c: Likewise.
22424         * io/mkdir.c: Likewise.
22425         * io/mkdirat.c: Likewise.
22426         * io/mkfifo.c: Likewise.
22427         * io/mkfifoat.c: Likewise.
22428         * io/open.c: Likewise.
22429         * io/open64.c: Likewise.
22430         * io/openat.c: Likewise.
22431         * io/openat64.c: Likewise.
22432         * io/pipe.c: Likewise.
22433         * io/pipe2.c: Likewise.
22434         * io/poll.c: Likewise.
22435         * io/posix_fadvise.c: Likewise.
22436         * io/posix_fadvise64.c: Likewise.
22437         * io/posix_fallocate.c: Likewise.
22438         * io/posix_fallocate64.c: Likewise.
22439         * io/read.c: Likewise.
22440         * io/readlink.c: Likewise.
22441         * io/readlinkat.c: Likewise.
22442         * io/rmdir.c: Likewise.
22443         * io/sendfile.c: Likewise.
22444         * io/sendfile64.c: Likewise.
22445         * io/statfs.c: Likewise.
22446         * io/statfs64.c: Likewise.
22447         * io/statvfs.c: Likewise.
22448         * io/statvfs64.c: Likewise.
22449         * io/symlink.c: Likewise.
22450         * io/symlinkat.c: Likewise.
22451         * io/ttyname.c: Likewise.
22452         * io/ttyname_r.c: Likewise.
22453         * io/umask.c: Likewise.
22454         * io/unlink.c: Likewise.
22455         * io/unlinkat.c: Likewise.
22456         * io/utime.c: Likewise.
22457         * io/utimensat.c: Likewise.
22458         * io/write.c: Likewise.
22459         * io/xmknod.c: Likewise.
22460         * io/xmknodat.c: Likewise.
22461         * io/xstat.c: Likewise.
22462         * io/xstat64.c: Likewise.
22463         * login/getpt.c: Likewise.
22464         * login/grantpt.c: Likewise.
22465         * login/unlockpt.c: Likewise.
22466         * math/e_acoshl.c: Likewise.
22467         * math/e_acosl.c: Likewise.
22468         * math/e_asinl.c: Likewise.
22469         * math/e_atan2l.c: Likewise.
22470         * math/e_atanhl.c: Likewise.
22471         * math/e_coshl.c: Likewise.
22472         * math/e_expl.c: Likewise.
22473         * math/e_fmodl.c: Likewise.
22474         * math/e_gammal_r.c: Likewise.
22475         * math/e_hypotl.c: Likewise.
22476         * math/e_j0l.c: Likewise.
22477         * math/e_j1l.c: Likewise.
22478         * math/e_jnl.c: Likewise.
22479         * math/e_lgammal_r.c: Likewise.
22480         * math/e_log10l.c: Likewise.
22481         * math/e_log2l.c: Likewise.
22482         * math/e_logl.c: Likewise.
22483         * math/e_powl.c: Likewise.
22484         * math/e_rem_pio2l.c: Likewise.
22485         * math/e_sinhl.c: Likewise.
22486         * math/e_sqrtl.c: Likewise.
22487         * math/fclrexcpt.c: Likewise.
22488         * math/fedisblxcpt.c: Likewise.
22489         * math/feenablxcpt.c: Likewise.
22490         * math/fegetenv.c: Likewise.
22491         * math/fegetexcept.c: Likewise.
22492         * math/fegetround.c: Likewise.
22493         * math/feholdexcpt.c: Likewise.
22494         * math/fesetenv.c: Likewise.
22495         * math/fesetround.c: Likewise.
22496         * math/feupdateenv.c: Likewise.
22497         * math/fgetexcptflg.c: Likewise.
22498         * math/fraiseexcpt.c: Likewise.
22499         * math/fsetexcptflg.c: Likewise.
22500         * math/ftestexcept.c: Likewise.
22501         * math/k_cosl.c: Likewise.
22502         * math/k_rem_pio2l.c: Likewise.
22503         * math/k_sinl.c: Likewise.
22504         * math/k_tanl.c: Likewise.
22505         * math/s_asinhl.c: Likewise.
22506         * math/s_atanl.c: Likewise.
22507         * math/s_cbrtl.c: Likewise.
22508         * math/s_erfl.c: Likewise.
22509         * math/s_expm1l.c: Likewise.
22510         * math/s_log1pl.c: Likewise.
22511         * math/s_tanhl.c: Likewise.
22512         * misc/acct.c: Likewise.
22513         * misc/brk.c: Likewise.
22514         * misc/chflags.c: Likewise.
22515         * misc/chroot.c: Likewise.
22516         * misc/fchflags.c: Likewise.
22517         * misc/fgetxattr.c: Likewise.
22518         * misc/flistxattr.c: Likewise.
22519         * misc/fremovexattr.c: Likewise.
22520         * misc/fsetxattr.c: Likewise.
22521         * misc/fsync.c: Likewise.
22522         * misc/ftruncate.c: Likewise.
22523         * misc/futimes.c: Likewise.
22524         * misc/futimesat.c: Likewise.
22525         * misc/getdomain.c: Likewise.
22526         * misc/getdtsz.c: Likewise.
22527         * misc/gethostid.c: Likewise.
22528         * misc/gethostname.c: Likewise.
22529         * misc/getloadavg.c: Likewise.
22530         * misc/getpagesize.c: Likewise.
22531         * misc/getsysstats.c: Likewise.
22532         * misc/getxattr.c: Likewise.
22533         * misc/gtty.c: Likewise.
22534         * misc/ioctl.c: Likewise.
22535         * misc/lgetxattr.c: Likewise.
22536         * misc/listxattr.c: Likewise.
22537         * misc/llistxattr.c: Likewise.
22538         * misc/lremovexattr.c: Likewise.
22539         * misc/lsetxattr.c: Likewise.
22540         * misc/lutimes.c: Likewise.
22541         * misc/madvise.c: Likewise.
22542         * misc/mincore.c: Likewise.
22543         * misc/mlock.c: Likewise.
22544         * misc/mlockall.c: Likewise.
22545         * misc/mmap.c: Likewise.
22546         * misc/mprotect.c: Likewise.
22547         * misc/msync.c: Likewise.
22548         * misc/munlock.c: Likewise.
22549         * misc/munlockall.c: Likewise.
22550         * misc/munmap.c: Likewise.
22551         * misc/preadv.c: Likewise.
22552         * misc/preadv64.c: Likewise.
22553         * misc/ptrace.c: Likewise.
22554         * misc/pwritev.c: Likewise.
22555         * misc/pwritev64.c: Likewise.
22556         * misc/readv.c: Likewise.
22557         * misc/reboot.c: Likewise.
22558         * misc/remap_file_pages.c: Likewise.
22559         * misc/removexattr.c: Likewise.
22560         * misc/revoke.c: Likewise.
22561         * misc/select.c: Likewise.
22562         * misc/setdomain.c: Likewise.
22563         * misc/setegid.c: Likewise.
22564         * misc/seteuid.c: Likewise.
22565         * misc/sethostid.c: Likewise.
22566         * misc/sethostname.c: Likewise.
22567         * misc/setregid.c: Likewise.
22568         * misc/setreuid.c: Likewise.
22569         * misc/setxattr.c: Likewise.
22570         * misc/sstk.c: Likewise.
22571         * misc/stty.c: Likewise.
22572         * misc/swapoff.c: Likewise.
22573         * misc/swapon.c: Likewise.
22574         * misc/sync.c: Likewise.
22575         * misc/syncfs.c: Likewise.
22576         * misc/syscall.c: Likewise.
22577         * misc/truncate.c: Likewise.
22578         * misc/ualarm.c: Likewise.
22579         * misc/usleep.c: Likewise.
22580         * misc/ustat.c: Likewise.
22581         * misc/utimes.c: Likewise.
22582         * misc/vhangup.c: Likewise.
22583         * misc/writev.c: Likewise.
22584         * posix/_exit.c: Likewise.
22585         * posix/alarm.c: Likewise.
22586         * posix/execve.c: Likewise.
22587         * posix/fexecve.c: Likewise.
22588         * posix/fork.c: Likewise.
22589         * posix/fpathconf.c: Likewise.
22590         * posix/getaddrinfo.c: Likewise.
22591         * posix/getegid.c: Likewise.
22592         * posix/geteuid.c: Likewise.
22593         * posix/getgid.c: Likewise.
22594         * posix/getgroups.c: Likewise.
22595         * posix/getlogin.c: Likewise.
22596         * posix/getlogin_r.c: Likewise.
22597         * posix/getpgid.c: Likewise.
22598         * posix/getpid.c: Likewise.
22599         * posix/getppid.c: Likewise.
22600         * posix/getresgid.c: Likewise.
22601         * posix/getresuid.c: Likewise.
22602         * posix/getsid.c: Likewise.
22603         * posix/getuid.c: Likewise.
22604         * posix/glob64.c: Likewise.
22605         * posix/nanosleep.c: Likewise.
22606         * posix/pathconf.c: Likewise.
22607         * posix/pause.c: Likewise.
22608         * posix/posix_madvise.c: Likewise.
22609         * posix/pread.c: Likewise.
22610         * posix/pread64.c: Likewise.
22611         * posix/pwrite.c: Likewise.
22612         * posix/pwrite64.c: Likewise.
22613         * posix/sched_getaffinity.c: Likewise.
22614         * posix/sched_getp.c: Likewise.
22615         * posix/sched_gets.c: Likewise.
22616         * posix/sched_primax.c: Likewise.
22617         * posix/sched_primin.c: Likewise.
22618         * posix/sched_rr_gi.c: Likewise.
22619         * posix/sched_setaffinity.c: Likewise.
22620         * posix/sched_setp.c: Likewise.
22621         * posix/sched_sets.c: Likewise.
22622         * posix/sched_yield.c: Likewise.
22623         * posix/setgid.c: Likewise.
22624         * posix/setlogin.c: Likewise.
22625         * posix/setpgid.c: Likewise.
22626         * posix/setresgid.c: Likewise.
22627         * posix/setresuid.c: Likewise.
22628         * posix/setsid.c: Likewise.
22629         * posix/setuid.c: Likewise.
22630         * posix/sleep.c: Likewise.
22631         * posix/spawni.c: Likewise.
22632         * posix/sysconf.c: Likewise.
22633         * posix/times.c: Likewise.
22634         * posix/wait.c: Likewise.
22635         * posix/wait3.c: Likewise.
22636         * posix/wait4.c: Likewise.
22637         * posix/waitpid.c: Likewise.
22638         * resolv/gai_sigqueue.c: Likewise.
22639         * resource/getpriority.c: Likewise.
22640         * resource/getrlimit.c: Likewise.
22641         * resource/getrusage.c: Likewise.
22642         * resource/nice.c: Likewise.
22643         * resource/setpriority.c: Likewise.
22644         * resource/setrlimit.c: Likewise.
22645         * resource/ulimit.c: Likewise.
22646         * rt/aio_cancel.c: Likewise.
22647         * rt/aio_fsync.c: Likewise.
22648         * rt/aio_read.c: Likewise.
22649         * rt/aio_sigqueue.c: Likewise.
22650         * rt/aio_suspend.c: Likewise.
22651         * rt/aio_write.c: Likewise.
22652         * rt/clock_getres.c: Likewise.
22653         * rt/clock_gettime.c: Likewise.
22654         * rt/clock_nanosleep.c: Likewise.
22655         * rt/clock_settime.c: Likewise.
22656         * rt/lio_listio.c: Likewise.
22657         * rt/mq_close.c: Likewise.
22658         * rt/mq_getattr.c: Likewise.
22659         * rt/mq_notify.c: Likewise.
22660         * rt/mq_open.c: Likewise.
22661         * rt/mq_receive.c: Likewise.
22662         * rt/mq_send.c: Likewise.
22663         * rt/mq_setattr.c: Likewise.
22664         * rt/mq_timedreceive.c: Likewise.
22665         * rt/mq_timedsend.c: Likewise.
22666         * rt/mq_unlink.c: Likewise.
22667         * rt/shm_open.c: Likewise.
22668         * rt/shm_unlink.c: Likewise.
22669         * rt/timer_create.c: Likewise.
22670         * rt/timer_delete.c: Likewise.
22671         * rt/timer_getoverr.c: Likewise.
22672         * rt/timer_gettime.c: Likewise.
22673         * rt/timer_settime.c: Likewise.
22674         * setjmp/__longjmp.c: Likewise.
22675         * setjmp/setjmp.c: Likewise.
22676         * signal/kill.c: Likewise.
22677         * signal/killpg.c: Likewise.
22678         * signal/raise.c: Likewise.
22679         * signal/sigaction.c: Likewise.
22680         * signal/sigaltstack.c: Likewise.
22681         * signal/sigblock.c: Likewise.
22682         * signal/sigignore.c: Likewise.
22683         * signal/sigintr.c: Likewise.
22684         * signal/signal.c: Likewise.
22685         * signal/sigpause.c: Likewise.
22686         * signal/sigpending.c: Likewise.
22687         * signal/sigqueue.c: Likewise.
22688         * signal/sigreturn.c: Likewise.
22689         * signal/sigset.c: Likewise.
22690         * signal/sigsetmask.c: Likewise.
22691         * signal/sigstack.c: Likewise.
22692         * signal/sigsuspend.c: Likewise.
22693         * signal/sigtimedwait.c: Likewise.
22694         * signal/sigvec.c: Likewise.
22695         * signal/sigwait.c: Likewise.
22696         * signal/sigwaitinfo.c: Likewise.
22697         * signal/sysv_signal.c: Likewise.
22698         * socket/accept.c: Likewise.
22699         * socket/accept4.c: Likewise.
22700         * socket/bind.c: Likewise.
22701         * socket/connect.c: Likewise.
22702         * socket/getpeername.c: Likewise.
22703         * socket/getsockname.c: Likewise.
22704         * socket/getsockopt.c: Likewise.
22705         * socket/isfdtype.c: Likewise.
22706         * socket/listen.c: Likewise.
22707         * socket/recv.c: Likewise.
22708         * socket/recvfrom.c: Likewise.
22709         * socket/recvmsg.c: Likewise.
22710         * socket/send.c: Likewise.
22711         * socket/sendmsg.c: Likewise.
22712         * socket/sendto.c: Likewise.
22713         * socket/setsockopt.c: Likewise.
22714         * socket/shutdown.c: Likewise.
22715         * socket/sockatmark.c: Likewise.
22716         * socket/socket.c: Likewise.
22717         * socket/socketpair.c: Likewise.
22718         * stdio-common/ctermid.c: Likewise.
22719         * stdio-common/cuserid.c: Likewise.
22720         * stdio-common/remove.c: Likewise.
22721         * stdio-common/rename.c: Likewise.
22722         * stdio-common/renameat.c: Likewise.
22723         * stdio-common/tempname.c: Likewise.
22724         * stdlib/getcontext.c: Likewise.
22725         * stdlib/makecontext.c: Likewise.
22726         * stdlib/setcontext.c: Likewise.
22727         * stdlib/swapcontext.c: Likewise.
22728         * stdlib/system.c: Likewise.
22729         * streams/fattach.c: Likewise.
22730         * streams/fdetach.c: Likewise.
22731         * streams/getmsg.c: Likewise.
22732         * streams/getpmsg.c: Likewise.
22733         * streams/putmsg.c: Likewise.
22734         * streams/putpmsg.c: Likewise.
22735         * sysdeps/unix/bsd/getpt.c: Likewise.
22736         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22737         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22738         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22740         Likewise.
22741         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22742         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22743         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22744         * sysvipc/msgctl.c: Likewise.
22745         * sysvipc/msgget.c: Likewise.
22746         * sysvipc/msgrcv.c: Likewise.
22747         * sysvipc/msgsnd.c: Likewise.
22748         * sysvipc/semctl.c: Likewise.
22749         * sysvipc/semget.c: Likewise.
22750         * sysvipc/semop.c: Likewise.
22751         * sysvipc/semtimedop.c: Likewise.
22752         * sysvipc/shmat.c: Likewise.
22753         * sysvipc/shmctl.c: Likewise.
22754         * sysvipc/shmdt.c: Likewise.
22755         * sysvipc/shmget.c: Likewise.
22756         * termios/tcdrain.c: Likewise.
22757         * termios/tcflow.c: Likewise.
22758         * termios/tcflush.c: Likewise.
22759         * termios/tcgetattr.c: Likewise.
22760         * termios/tcgetpgrp.c: Likewise.
22761         * termios/tcsendbrk.c: Likewise.
22762         * termios/tcsetattr.c: Likewise.
22763         * termios/tcsetpgrp.c: Likewise.
22764         * time/adjtime.c: Likewise.
22765         * time/clock.c: Likewise.
22766         * time/getitimer.c: Likewise.
22767         * time/gettimeofday.c: Likewise.
22768         * time/setitimer.c: Likewise.
22769         * time/settimeofday.c: Likewise.
22770         * time/stime.c: Likewise.
22771         * time/time.c: Likewise.
22772
22773 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
22774
22775         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22776         /usr/old/bin.
22777
22778         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22779         instead of spaces.
22780         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22781
22782 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
22783
22784         [BZ #14796]
22785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22786         FE_TONEAREST before applying Dekker multiplication and Knuth
22787         addition.  Clear inexact exceptions and check for exact zero
22788         results afterwards.
22789         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22790         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22792         * math/libm-test.inc (fma_test): Add more tests.
22793         (fma_test_towardzero): Likewise.
22794         (fma_test_downward): Likewise.
22795         (fma_test_upward): Likewise.
22796         * sysdeps/generic/math_private.h (default_libc_fesetround): New
22797         function.
22798         (libc_fesetround): New macro.
22799         (libc_fesetroundf): Likewise.
22800         (libc_fesetroundl): Likewise.
22801         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22802         function.
22803         (libc_fesetround_387): Likewise.
22804         (libc_fesetroundf): New macro.
22805         (libc_fesetround): Likewise.
22806         (libc_fesetroundl): Likewise.
22807         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22808         function.
22809         (libc_fesetroundf): New macro.
22810         (libc_fesetround): Likewise.
22811         (libc_fesetroundl): Likewise.
22812         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22813         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22814         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22815         libm_hidden_ver.
22816         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22817         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22818         libm_hidden_def.
22819         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22820         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22821         libm_hidden_ver.
22822         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22823         libm_hidden_def.
22824
22825         [BZ #3439]
22826         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22827         integer constant usable in #if and use that to give value to enum
22828         constant.
22829         (FE_DIVBYZERO): Likewise.
22830         (FE_UNDERFLOW): Likewise.
22831         (FE_OVERFLOW): Likewise.
22832         (FE_INVALID): Likewise.
22833         (FE_INVALID_SNAN): Likewise.
22834         (FE_INVALID_ISI): Likewise.
22835         (FE_INVALID_IDI): Likewise.
22836         (FE_INVALID_ZDZ): Likewise.
22837         (FE_INVALID_IMZ): Likewise.
22838         (FE_INVALID_COMPARE): Likewise.
22839         (FE_INVALID_SOFTWARE): Likewise.
22840         (FE_INVALID_SQRT): Likewise.
22841         (FE_INVALID_INTEGER_CONVERSION): Likewise.
22842         (FE_TONEAREST): Likewise.
22843         (FE_TOWARDZERO): Likewise.
22844         (FE_UPWARD): Likewise.
22845         (FE_DOWNWARD): Likewise.
22846         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22847         (FE_DIVBYZERO): Likewise.
22848         (FE_OVERFLOW): Likewise.
22849         (FE_UNDERFLOW): Likewise.
22850         (FE_INEXACT): Likewise.
22851         (FE_TONEAREST): Likewise.
22852         (FE_DOWNWARD): Likewise.
22853         (FE_UPWARD): Likewise.
22854         (FE_TOWARDZERO): Likewise.
22855         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22856         (FE_UNDERFLOW): Likewise.
22857         (FE_OVERFLOW): Likewise.
22858         (FE_DIVBYZERO): Likewise.
22859         (FE_INVALID): Likewise.
22860         (FE_TONEAREST): Likewise.
22861         (FE_TOWARDZERO): Likewise.
22862         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22863         (FE_OVERFLOW): Likewise.
22864         (FE_UNDERFLOW): Likewise.
22865         (FE_DIVBYZERO): Likewise.
22866         (FE_INEXACT): Likewise.
22867         (FE_TONEAREST): Likewise.
22868         (FE_TOWARDZERO): Likewise.
22869         (FE_UPWARD): Likewise.
22870         (FE_DOWNWARD): Likewise.
22871         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22872         (FE_DIVBYZERO): Likewise.
22873         (FE_OVERFLOW): Likewise.
22874         (FE_UNDERFLOW): Likewise.
22875         (FE_INEXACT): Likewise.
22876         (FE_TONEAREST): Likewise.
22877         (FE_DOWNWARD): Likewise.
22878         (FE_UPWARD): Likewise.
22879         (FE_TOWARDZERO): Likewise.
22880
22881 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
22882
22883         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22884
22885 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
22886
22887         * scripts/cross-test-ssh.sh (command): Use newlines to separate
22888         commands.  Quote $PWD.
22889         (blacklist_exports): Don't use remove_newlines.  Replace "declare
22890         -x" by "export".
22891         (remove_newlines): Remove.
22892
22893 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
22894
22895         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22896         * stdlib/stdlib.h (atof): Moved to ...
22897         * include/bits/stdlib-float.h: Here.  New file.
22898         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22899         * stdlib/bits/stdlib-float.h: New file.
22900         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22901         -mno-sse -mno-mmx.
22902         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22903         <xmmintrin.h>.
22904
22905 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22906
22907         * conform/conformtest.pl (@headers): Add fenv.h.
22908         * conform/data/fenv.h-data: New file.
22909         * include/fenv.h [_ISOMAC]: Disable all contents of file except
22910         include of <math/fenv.h>.
22911
22912         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22913         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22914         && !UNIX98].  Enables tests for XOPEN2K8.
22915         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22916         POSIX2008]: Likewise.
22917
22918         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22919         (struct rusage): Do not expect type or its members.
22920
22921         [BZ #3439]
22922         * math/math.h (FP_NAN): Define macro to integer constant usable in
22923         #if and use that to give value to enum constant.
22924         (FP_INFINITE): Likewise.
22925         (FP_ZERO): Likewise.
22926         (FP_SUBNORMAL): Likewise.
22927         (FP_NORMAL): Likewise.
22928
22929 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
22930
22931         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22932         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22933         arguments.
22934
22935 2012-11-02  Roland McGrath  <roland@hack.frob.com>
22936
22937         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22938         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22939         autoconf-time if not.
22940         * configure.in: Remove AC_PREREQ.
22941
22942 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22943
22944         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22945         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22946         of the internal implementation.
22947
22948 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22949
22950         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22951         except include of <misc/sys/syslog.h>.
22952
22953 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22954
22955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22956         function returns with a NULL context exit with zero.
22957
22958 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22959
22960         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22961
22962 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
22963
22964         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22965         (run_program_cmd): This.
22966         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22967         (tst_langinfo): New variable.  Use it.
22968
22969 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
22970
22971         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22972         floating point opcodes.
22973
22974 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22975
22976         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22977         variable.
22978
22979         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22980
22981         * sysdeps/mach/hurd/powerpc: Remove directory.
22982         * sysdeps/mach/powerpc: Likewise.
22983
22984 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22985
22986         * scripts/check-local-headers.sh: Ignore c++ headers.
22987
22988 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22989
22990         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22991         __libc_cleanup_region_start argument.
22992
22993 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
22994
22995         [BZ #14784]
22996         [BZ #14785]
22997         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22998         x * y using scaling, not as x * y + z.
22999         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23000         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23001         * math/libm-test.inc (fma_test): Add more tests.
23002         (fma_test_towardzero): Likewise.
23003         (fma_test_downward): Likewise.
23004         (fma_test_upward): Likewise.
23005
23006 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23007
23008         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23009
23010 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23011
23012         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23013         New variable.
23014
23015 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
23016
23017         * rt/tst-shm.c (worker): Correct checking for mmap failure.
23018
23019 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23020
23021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23022         Fix sort order.
23023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23024         Likewise.
23025
23026 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23027
23028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23029         Fix the order of the list for glibc 2.17.
23030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23031         Likewise.
23032
23033 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23034
23035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23036
23037 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23038
23039         [BZ #14610]
23040         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23041         for low part of x being zero before using __atanl (y).
23042         * math/libm-test.inc (atan2_test): Add another test.
23043
23044         * manual/install.texi (Configuring and compiling): Document
23045         general use of test-wrapper and test-wrapper-env.
23046         * INSTALL: Regenerated.
23047
23048         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23049         (__fma): Do not extract and scale down low bits on after-rounding
23050         systems when result rounded to normal precision would have normal
23051         exponent.
23052         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23053         (__fmal): Do not extract and scale down low bits on after-rounding
23054         systems when result rounded to normal precision would have normal
23055         exponent.
23056         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23057         (__fmal): Do not extract and scale down low bits on after-rounding
23058         systems when result rounded to normal precision would have normal
23059         exponent.
23060         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23061         macro.
23062         (fma_test): Add more tests.
23063         (fma_test_towardzero): Likewise.
23064         (fma_test_downward): Likewise.
23065         (fma_test_upward): Likewise.
23066
23067 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
23068
23069         * sysdeps/i386/tininess.h: Renamed to ...
23070         * sysdeps/x86/tininess.h: This.
23071         * sysdeps/x86_64/tininess.h: Removed.
23072
23073 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23074
23075         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23076         input.  Use $(build-program-cmd).
23077         ($(objpfx)tst-array1-static.out): Likewise.
23078         ($(objpfx)tst-array2.out): Likewise.
23079         ($(objpfx)tst-array3.out): Likewise.
23080         ($(objpfx)tst-array4.out): Likewise.
23081         ($(objpfx)tst-array5.out): Likewise.
23082         ($(objpfx)tst-array5-static.out): Likewise.
23083
23084 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
23085
23086         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23087         if defined.
23088
23089         * nss/nsswitch.h (nss_interface_function): Provide new
23090         macro for use with NSS functions.
23091         * grp/initgroups.c: Use new macro.
23092         * nss/getXXbyYY.c: Likewise.
23093         * nss/getXXbyYY_r.c: Likewise.
23094         * nss/getXXent.c: Likewise.
23095         * nss/getXXent_r.c: Likewise.
23096         * sysdeps/posix/getaddrinfo.c: Likewise.
23097
23098 2012-10-30  Andreas Jaeger  <aj@suse.de>
23099
23100         * po/ru.po: Update Russion translation from translation project.
23101
23102 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23103
23104         [BZ #14152]
23105         [BZ #14783]
23106         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23107         result and shift together with sticky bit instead of replicating
23108         round-to-nearest rounding.
23109         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23110         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23111         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
23112         missing underflow exceptions.
23113         (fma_test_towardzero): Add more tests.
23114         (fma_test_downward): Likewise.
23115         (fma_test_upward): Likewise.
23116
23117         [BZ #14047]
23118         * sysdeps/generic/tininess.h: New file.
23119         * sysdeps/i386/tininess.h: Likewise.
23120         * sysdeps/sh/tininess.h: Likewise.
23121         * sysdeps/x86_64/tininess.h: Likewise.
23122         * stdlib/tst-strtod-underflow.c: Likewise.
23123         * stdlib/tst-tininess.c: Likewise.
23124         * stdlib/strtod_l.c: Include <tininess.h>.
23125         (round_and_return): Do not set errno for exact underflow cases.
23126         Force an underflow exception when setting errno for underflow.
23127         Determine underflow based on rounding to normal precision if
23128         TININESS_AFTER_ROUNDING.
23129         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23130         ERANGE for exact underflow cases.
23131         * stdlib/Makefile (tests): Add tst-tininess and
23132         tst-strtod-underflow.
23133         ($(objpfx)tst-tininess): Use $(link-libm).
23134         ($(objpfx)tst-strtod-underflow): Likewise.
23135
23136 2012-10-30  Andreas Jaeger  <aj@suse.de>
23137
23138         [BZ#14767]
23139         * elf/Makefile (tests): Remove conditional for have-initfini-array
23140         since this is now always required and the variable does not exist
23141         anymore.
23142         (tests-static): Likewise.
23143         (modules-names): Likewise.
23144
23145         * po/eo.po: Add Esperanto translation from translation project.
23146
23147         * elf/tst-array1.c (fini_array): Make writeable so that it can be
23148         merged with constructor/destructor.
23149         (init_array): Likewise.
23150         * elf/tst-array2dep.c (fini_array): Likewise.
23151         (init_array): Likewise.
23152
23153 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
23154
23155         * manual/message.texi: Delete @cartouche tags.
23156
23157 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
23158
23159         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23160         EOPNOTSUPP.
23161         * sysdeps/mach/hurd/fsync.c: Likewise.
23162
23163         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23164         [_POSIX_REALTIME_SIGNALS]: Change condition to
23165         [_POSIX_REALTIME_SIGNALS > 0].
23166
23167 2012-10-27  Andreas Jaeger  <aj@suse.de>
23168
23169         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23170         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23171         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23172         [__WORDSIZE != 64]: Likewise.
23173
23174 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
23175
23176         *  iconvdata/tst-table.sh: Remove ${SHELL}.
23177         *  iconvdata/tst-tables.sh: Likewise.
23178
23179 2012-10-25  David S. Miller  <davem@davemloft.net>
23180
23181         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23182         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23183         of strtoull.
23184
23185         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23186         ifunc-impl-list.c
23187         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23188         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23189         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23190         file.
23191
23192 2012-10-25  Roland McGrath  <roland@hack.frob.com>
23193
23194         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23195         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23196         __getdirentries.
23197
23198 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23199             Jim Blandy  <jimb@codesourcery.com>
23200
23201         * scripts/cross-test-ssh.sh: New file.
23202         * manual/install.texi (Configuring and compiling): Document use of
23203         cross-test-ssh.sh.
23204         * INSTALL: Regenerated.
23205
23206 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
23207
23208         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23209         EOPNOTSUPP.
23210
23211 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23212
23213         * Makeconfig (run-program-prefix): Fix comment.
23214
23215 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23216             Jim Blandy  <jimb@codesourcery.com>
23217
23218         * Makeconfig (test-wrapper): New variable,
23219         (test-wrapper-env): Likewise.
23220         [$(cross-compiling) = yes && $(test-wrapper) != ""]
23221         (run-built-tests): Define to yes.
23222         (run-program-prefix): Use $(test-wrapper).
23223         (built-program-cmd): Likewise.
23224         * Rules (make-test-out): Use $(test-wrapper-env) and
23225         $(host-built-program-cmd).
23226         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23227         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23228         tst-pathopt.sh.
23229         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23230         $(test-wrapper-env) to tst-rtld-load-self.sh.
23231         ($(objpfx)order2.out): Use $(test-wrapper).
23232         ($(objpfx)tst-initorder.out): Likewise.
23233         ($(objpfx)tst-initorder2.out): Likewise.
23234         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23235         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23236         (test_wrapper_env): New variable.  Use it to run ld.so.
23237         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23238         Use it to run ld.so.
23239         (test_wrapper_env): Likewise.
23240         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23241         $(test-wrapper) to run-iconv-test.sh.
23242         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23243         (ICONV): Use $test_wrapper.
23244         * posix/Makefile ($(objpfx)globtest.out): Pass
23245         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23246         globtest.sh, not $(run-program-prefix).
23247         * posix/globtest.sh (run_via_rtld_prefix): New variable.
23248         (test_wrapper): Likewise.
23249         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
23250         set together with run_via_rtld_prefix.
23251         (run_program_prefix): Define in terms of test_wrapper and
23252         run_via_rtld_prefix.
23253
23254 2012-10-24  Roland McGrath  <roland@hack.frob.com>
23255
23256         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23257         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23258         Targets removed.
23259
23260         [BZ #14743]
23261         * include/time.h: Remove librt_hidden_proto (clock_gettime).
23262         Declare __clock_getres, __clock_gettime, __clock_settime,
23263         __clock_nanosleep, and __clock_getcpuclockid.
23264         * rt/clock_gettime.c: Define __clock_gettime as an alias.
23265         Remove librt_hidden_def (clock_gettime).
23266         * sysdeps/unix/clock_gettime.c: Likewise.
23267         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23268         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23269         * rt/clock_getres.c: Define __clock_getres as an alias.
23270         * sysdeps/posix/clock_getres.c: Likewise.
23271         * rt/clock_settime.c: Define __clock_settime as an alias.
23272         * sysdeps/unix/clock_settime.c: Likewise.
23273         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23274         * sysdeps/unix/clock_nanosleep.c: Likewise.
23275         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23276         * rt/clock-compat.c: New file.
23277         * rt/Makefile (librt-routines): Add clock-compat and move
23278         $(clock-routines) to ...
23279         (routines): ... here, new variable.
23280         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23281         Don't add get_clockfreq here.
23282         * rt/Versions (libc: GLIBC_2.17): New version set.
23283         Add clock_* symbols here.
23284         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
23285         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23286         (GLIBC_2.17): Add clock_* symbols.
23287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23289         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23291         Likewise.
23292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23293         Likewise.
23294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23298         * NEWS: Mention the move.
23299
23300         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23301         Use __open, __read, __close rather than their public counterparts.
23302         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23303         (__get_clockfreq_via_cpuinfo): Likewise.
23304         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23305         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23306
23307         * config.h.in (HAVE_IFUNC): New #undef.
23308         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23309         was successful.
23310         * configure: Regenerated.
23311
23312 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23313
23314         * configure.in: Move READELF check to start of file.
23315         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23316         libc_cv_asm_gnu_indirect_function in the process.
23317         * configure: Regenerated.
23318
23319 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23320
23321         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23322         send the output to /dev/null.
23323         (libc_cv_cc_with_libunwind): Likewise.
23324         (libc_cv_as_noexecstack): Likewise.
23325         * configure: Regenerate.
23326
23327 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23328
23329         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23330
23331         * posix/globtest.sh (TMPDIR): Do not set.
23332         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23333         (testout): Likewise.
23334
23335 2012-10-24  Andreas Jaeger  <aj@suse.de>
23336
23337         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23338         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23339         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23340         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23341         posix_fadvise64, posix_fallocate64.
23342
23343         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23344         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23345         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23346         Likewise.
23347         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23348         Likewise.
23349         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23350
23351         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23352         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23353         <bits/fcntl-linux.h>.
23354         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23355
23356         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23357         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23358         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23359         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23360         [__WORDSIZE != 64]: Likewise.
23361
23362 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
23363
23364         * Makeconfig (run-built-tests): New variable.
23365         * Rules [$(cross-compiling) = yes]: Change condition to
23366         [$(run-built-tests) = no].
23367         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23368         to [$(run-built-tests) = yes].
23369         * elf/Makefile [$(cross-compiling) = no]: Likewise
23370         * grp/Makefile [$(cross-compiling) = no]: Likewise.
23371         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23372         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23373         * intl/Makefile [$(cross-compiling) = no]: Likewise.
23374         * io/Makefile [$(cross-compiling) = no]: Likewise.
23375         * libio/Makefile [$(cross-compiling) = no]: Likewise.
23376         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23377         * misc/Makefile [$(cross-compiling) = no]: Likewise.
23378         * posix/Makefile [$(cross-compiling) = no]: Likewise.
23379         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23380         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23381         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23382         * string/Makefile [$(cross-compiling) = no]: Likewise.
23383
23384         * posix/Makefile ($(objpfx)globtest.out): Pass
23385         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23386         $(rtld-installed-name).
23387         * posix/globtest.sh (elf_objpfx): Remove variable.
23388         (rtld_installed_name): Likewise.
23389         (library_path): Likewise.
23390         (run_program_prefix): New variable.  Use for running globtest
23391         binary.
23392
23393 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
23394             Joseph Myers  <joseph@codesourcery.com>
23395
23396         * Makeconfig (host-built-program-cmd): New variable.
23397         * elf/Makefile (tst-stackguard1-ARGS): Use
23398         $(host-built-program-cmd).
23399         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23400         (tst-spawn-ARGS): Likewise.
23401         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23402
23403 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
23404             Jim Blandy  <jimb@codesourcery.com>
23405
23406         * Makeconfig (run-via-rtld-prefix): New variable.
23407         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23408         (built-program-cmd): Likewise.
23409
23410 2012-10-22  Andreas Jaeger  <aj@suse.de>
23411
23412         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23413         __O_RSYNC if it exists, otherwise to O_SYNC.
23414
23415 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
23416             Joseph Myers  <joseph@codesourcery.com>
23417
23418         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23419         /dev/null.
23420         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23421         from /dev/null
23422         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23423         /dev/null.
23424
23425 2012-10-22  Andreas Jaeger  <aj@suse.de>
23426
23427         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23428         Define always.
23429         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23430
23431         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23432         bits/fcntl-linux.h.
23433
23434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23435         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23436
23437         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23438         to __O_LARGEFILE.
23439         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23440         to __O_LARGEFILE.
23441
23442 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
23443             Joseph Myers  <joseph@codesourcery.com>
23444
23445         * config.make.in (NM): New variable.
23446
23447 2012-10-21  Andreas Jaeger  <aj@suse.de>
23448
23449         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23450         definitions and declarations that are provided by
23451         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23452
23453 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
23454
23455         [BZ #14683]
23456         * elf/Makefile (tests-static): Add tst-leaks1-static.
23457         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23458         ($(objpfx)tst-leaks1-static): New rule.
23459         ($(objpfx)tst-leaks1-static-mem): Likewise.
23460         (tst-leaks1-static-ENV): New macro.
23461         * elf/dl-open.c (dl_open_worker): Check the main application
23462         only if SHARED is defined.
23463         * elf/tst-leaks1-static.c: New file.
23464
23465 2012-10-20  Andreas Jaeger  <aj@suse.de>
23466
23467         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23468         generic values for Linux.
23469         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23470         and declarations that are provided by <bits/fcntl-linux.h> and
23471         include <bits/fcntl-linux.h>.
23472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23473         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23474
23475 2012-10-20  Roland McGrath  <roland@hack.frob.com>
23476
23477         * io/fcntl.h: Move include of <bits/types.h> to the top and
23478         include it unconditionally.
23479
23480 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
23481
23482         * wcsmbs/Makefile (tests-ifunc): New variable.
23483         (tests): Add $(tests-ifunc).
23484         * wcsmbs/test-wcschr-ifunc.c: New file.
23485         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23486         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23487         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23488         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23489         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23490
23491         * string/Makefile (tests-ifunc): New variable.
23492         (tests): Add $(tests-ifunc).
23493         * string/test-memccpy.c (TEST_NAME): New macro.
23494         * string/test-memchr.c (TEST_NAME): Likewise.
23495         * string/test-memcmp.c (TEST_NAME): Likewise.
23496         * string/test-memcpy.c (TEST_NAME): Likewise.
23497         * string/test-memmem.c (TEST_NAME): Likewise.
23498         * string/test-memmove.c (TEST_NAME): Likewise.
23499         * string/test-memset.c (TEST_NAME): Likewise.
23500         * string/test-rawmemchr.c (TEST_NAME): Likewise.
23501         * string/test-stpcpy.c (TEST_NAME): Likewise.
23502         * string/test-stpncpy.c (TEST_NAME): Likewise.
23503         * string/test-strcasecmp.c (TEST_NAME): Likewise.
23504         * string/test-strcasestr.c (TEST_NAME): Likewise.
23505         * string/test-strcat.c (TEST_NAME): Likewise.
23506         * string/test-strchr.c (TEST_NAME): Likewise.
23507         * string/test-strcmp.c(TEST_NAME): Likewise.
23508         * string/test-strcpy.c (TEST_NAME): Likewise.
23509         * string/test-strcspn.c (TEST_NAME): Likewise.
23510         * string/test-strlen.c (TEST_NAME): Likewise.
23511         * string/test-strncasecmp.c (TEST_NAME): Likewise.
23512         * string/test-strncmp.c (TEST_NAME): Likewise.
23513         * string/test-strncpy.c (TEST_NAME): Likewise.
23514         * string/test-strnlen.c (TEST_NAME): Likewise.
23515         * string/test-strpbrk.c (TEST_NAME): Likewise.
23516         * string/test-strrchr.c (TEST_NAME): Likewise.
23517         * string/test-strspn.c (TEST_NAME): Likewise.
23518         * string/test-strstr.c (TEST_NAME): Likewise.
23519         * string/test-bcopy-ifunc.c: New file.
23520         * string/test-bzero-ifunc.c: Likewise.
23521         * string/test-memccpy-ifunc.c: Likewise.
23522         * string/test-memchr-ifunc.c: Likewise.
23523         * string/test-memcmp-ifunc.c: Likewise.
23524         * string/test-memcpy-ifunc.c: Likewise.
23525         * string/test-memmem-ifunc.c: Likewise.
23526         * string/test-memmove-ifunc.c: Likewise.
23527         * string/test-mempcpy-ifunc.c: Likewise.
23528         * string/test-memset-ifunc.c: Likewise.
23529         * string/test-rawmemchr-ifunc.c: Likewise.
23530         * string/test-stpcpy-ifunc.c: Likewise.
23531         * string/test-stpncpy-ifunc.c: Likewise.
23532         * string/test-strcasecmp-ifunc.c: Likewise.
23533         * string/test-strcasestr-ifunc.c: Likewise.
23534         * string/test-strcat-ifunc.c: Likewise.
23535         * string/test-strchr-ifunc.c: Likewise.
23536         * string/test-strchrnul-ifunc.c: Likewise.
23537         * string/test-strcmp-ifunc.c: Likewise.
23538         * string/test-strcpy-ifunc.c: Likewise.
23539         * string/test-strcspn-ifunc.c: Likewise.
23540         * string/test-strlen-ifunc.c: Likewise.
23541         * string/test-strncasecmp-ifunc.c: Likewise.
23542         * string/test-strncat-ifunc.c: Likewise.
23543         * string/test-strncmp-ifunc.c: Likewise.
23544         * string/test-strncpy-ifunc.c: Likewise.
23545         * string/test-strnlen-ifunc.c: Likewise.
23546         * string/test-strpbrk-ifunc.c: Likewise.
23547         * string/test-strrchr-ifunc.c: Likewise.
23548         * string/test-strspn-ifunc.c: Likewise.
23549         * string/test-strstr-ifunc.c: Likewise.
23550
23551         * debug/Makefile (tests-ifunc): New variable.
23552         (tests): Add $(tests-ifunc).
23553         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23554         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23555         * debug/test-stpcpy_chk-ifunc.c: New file.
23556         * debug/test-strcpy_chk-ifunc.c: Likewise.
23557
23558 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23559
23560         [BZ #13601]
23561         * elf/dl-load.c (open_verify): Retry read if the entire ELF
23562         header is not read in.
23563
23564 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
23565
23566         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
23567         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
23568         directly.  Pass built executable to script as
23569         $(built-program-cmd).
23570         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
23571         $testprogram without using LD_LIBRARY_PATH and $ldso.
23572
23573         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23574         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23575         $(rtld-installed-name).
23576         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23577         (rtld_installed_name): Likewise.
23578         (library_path): Likewise.
23579         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
23580         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23581         $(run-program-prefix) to tst-tables.sh.
23582         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
23583         it to run tst-table-from and tst-table-to.
23584         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23585         Pass it to tst-table.sh.
23586         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23587         $(run-program-prefix) to tst-gettext.sh.
23588         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23589         tst-translit.sh.
23590         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23591         tst-gettext2.sh.
23592         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
23593         to run tst-gettext.
23594         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
23595         to run tst-gettext2.
23596         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
23597         to run tst-translit.
23598         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23599         $(run-program-prefix) to tst-mtrace.sh.
23600         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
23601         to run tst-mtrace.
23602         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23603         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23604         $(rtld-installed-name).
23605         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23606         (rtld_installed_name): Likewise.
23607         (run_program_prefix): New variable.  Use it to run wordexp-test.
23608
23609         * Makeconfig (ARCH): Remove all definitions.
23610         (machine): Likewise.
23611         [ARCH]: Remove conditional code.
23612         [!objdir]: Give error.
23613         [!objdir] (objpfx): Remove.
23614         [!objdir] (common-objpfx): Likewise.
23615         [!objdir] (common-objdir): Likewise.
23616         * configure.in (config_makefile): Remove.  Hardcode Makefile in
23617         AC_CONFIG_FILES call.
23618         * configure: Regenerated.
23619
23620         [BZ #13888]
23621         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23622         or TMPDIR.
23623         (testout): Likewise.
23624
23625         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23626         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23627         $(rtld-installed-name).
23628         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23629         (rtld_installed_name): Likwise.
23630         (runit): Remove function.
23631         (run_getconf): New variable,  Use it for running getconf binary.
23632
23633 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
23634
23635         [BZ #14716]
23636         * string/test-memmem.c (check_result): New function.
23637         (do_one_test): Use it.
23638         (check1): New function.
23639         (test_main): Use it.
23640
23641 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
23642
23643         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23644
23645 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
23646
23647         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23648         (_G_LSEEK64): Likewise.
23649         (_G_MMAP64): Likewise.
23650         (_G_FSTAT64): Likewise.
23651         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23652         (_G_LSEEK64): Likewise.
23653         (_G_MMAP64): Likewise.
23654         (_G_FSTAT64): Likewise.
23655         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23656         unconditional.  Call __mmap64 directly.
23657         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23658         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
23659         __lseek64 directly.
23660         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23661         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
23662         __mmap64 directly.
23663         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23664         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23665         __lseek64 directly.
23666         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23667         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23668         __lseek64 directly.
23669         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23670         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
23671         __lseek64 directly.
23672         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23673         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
23674         __fxstat64 directly.
23675         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23676         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23677         unconditional.
23678         (freopen64) [!_G_OPEN64]: Remove conditional code.
23679         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23680         unconditional.
23681         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23682         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23683         unconditional.
23684         (ftello64) [!_G_LSEEK64]: Remove conditional code.
23685         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23686         unconditional.
23687         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23688         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23689         unconditional.
23690         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23691         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23692         unconditional.
23693         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23694         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23695         unconditional.
23696         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23697         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23698         unconditional.
23699         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23700
23701 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23702
23703         [BZ #12140]
23704         * manual/memory.texi (Malloc Tunable Parameters): Add note
23705         about free list pointers overwriting some perturb bytes.
23706         Wording suggested by Roland McGrath.
23707
23708 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
23709
23710         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23711         (lgamma_test): Likewise.
23712         (tgamma_test): Likewise.
23713
23714 2012-10-16  Florian Weimer  <fweimer@redhat.com>
23715
23716         [BZ #14700]
23717         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23718         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23719
23720 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
23721
23722         * NEWS: Mention BZ #14716.
23723         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23724         when removing AVAILABLE1_USES_J macro.
23725
23726 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
23727
23728         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23729         (__bswap_64): __uint64_t for unsigned 64-bit int.
23730
23731 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
23732
23733         * include/string.h (memmem): Declare libc hidden alias.
23734         * string/memmem.c (memmem): Define libc hidden alias.
23735         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23736         __read, __close instead of open, read, close.
23737
23738 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
23739
23740         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23741         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23742         global and hidden.
23743         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23744         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23745         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23746         Likewise.
23747         (__rawmemchr_sse2): Likewise.
23748         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23749         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23750         (__strchr_sse2): Likewise.
23751         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23752         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23753         (__strcasecmp_sse2): Likewise.
23754         (__strncasecmp_sse2): Likewise.
23755         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23756         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23757         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23758         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23759         (__strrchr_sse2): Likewise.
23760         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23761         ifunc-impl-list.c.
23762         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23763         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23764         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23765         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23766         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23767         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23768         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23769         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23770         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23771         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23772         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23773         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23774         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23775         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23776         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23777         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23778         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23779         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23780         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23781         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23782         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23783         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23784         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23785         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23786         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23787         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23788         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23789         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23790         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23791         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23792
23793         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23794         global and hidden.
23795         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23796         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23797         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23798         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23799         Likewise.
23800         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23801         Likewise.
23802         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23803         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23804         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23805         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23806         ifunc-impl-list.c.
23807         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23808         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23809         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23810         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23811         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23812         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23813         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23814         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23815         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23816         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23817         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23818         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23819         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23820         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23821         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23822         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23823         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23824         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23825         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23826         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23827         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23828         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23829         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23830         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23831         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23832         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23833         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23834         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23835         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23836         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23837         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23838         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23839         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23840         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23841         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23842         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23843         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23844         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23845         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23846         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23847         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23848
23849         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23850         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23851         * include/ifunc-impl-list.h: New file.
23852         * misc/ifunc-impl-list.c: Likewise.
23853         * misc/Makefile (routines): Add ifunc-impl-list.
23854         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23855         * string/test-string.h: Include <ifunc-impl-list.h>.
23856         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23857         TEST_NAME]: New variables.
23858         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23859         are defined.
23860         (test_init): Call __libc_ifunc_impl_list to initialize
23861         func_list if TEST_IFUNC and TEST_NAME are defined.
23862
23863         * string/Makefile (strop-tests): Add bcopy and bzero.
23864         * string/test-bcopy.c: New file.
23865         * string/test-bzero.c: Likewise.
23866         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23867         defined.
23868         * string/test-memset.c: Support bzero test if TEST_BZERO is
23869         defined.
23870         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23871         __libc_memmove.
23872         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23873         __libc_memset.
23874         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23875         of memset.
23876
23877 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
23878
23879         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23880         * configure: Regenerated.
23881
23882         * Makeconfig (+link-static-before-libc): Don't include
23883         $(link-static-libc).
23884
23885         * libio/libio.h (_IO_pos_t): Remove.
23886
23887 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23888
23889         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
23890         McGrath.
23891
23892 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23893
23894         * crypt/crypt-entry.c: Include fips-private.h.
23895         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23896         * crypt/md5c-test.c (main): Tolerate disabled MD5.
23897         * sysdeps/unix/sysv/linux/fips-private.h: New file.
23898         * sysdeps/generic/fips-private.h: New file, dummy fallback.
23899
23900 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23901
23902         * crypt/crypt-private.h: Include stdbool.h.
23903         (_ufc_setup_salt_r): Return bool.
23904         * crypt/crypt-entry.c: Include errno.h.
23905         (__crypt_r): Return NULL with EINVAL for bad salt.
23906         * crypt/crypt_util.c (bad_for_salt): New.
23907         (_ufc_setup_salt_r): Check that salt is long enough and within
23908         the specified alphabet.
23909         * crypt/badsalttest.c: New file.
23910         * crypt/Makefile (tests): Add it.
23911         ($(objpfx)badsalttest): New.
23912
23913 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
23914
23915         * NEWS: Add entry for BZ #14602.
23916
23917 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23918
23919         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23920         type-generic.
23921         * math/libm-test.inc: Update comment listing what functions and
23922         macros are tested.
23923         (isgreater_test): New function.
23924         (isgreaterequal_test): Likewise.
23925         (isless_test): Likewise.
23926         (islessequal_test): Likewise.
23927         (islessgreater_test): Likewise.
23928         (isunordered_test): Likewise.
23929         (main): Call the new functions.
23930
23931 2012-10-09  Roland McGrath  <roland@hack.frob.com>
23932
23933         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23934         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23935         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23936         * sysdeps/i386/configure: Regenerated.
23937         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23938         * sysdeps/mach/configure: Regenerated.
23939         * sysdeps/mach/hurd/configure: Regenerated.
23940         * sysdeps/powerpc/configure: Regenerated.
23941         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23942         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23943         * sysdeps/s390/s390-32/configure: Regenerated.
23944         * sysdeps/s390/s390-64/configure: Regenerated.
23945         * sysdeps/sh/configure: Regenerated.
23946         * sysdeps/sparc/configure: Regenerated.
23947         * sysdeps/unix/sysv/linux/configure: Regenerated.
23948         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23949         * sysdeps/x86_64/configure: Regenerated.
23950
23951         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23952         defined.  Don't check if MAP is NULL.
23953
23954 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23955
23956         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23957         (_G_stat64): Likewise.
23958         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23959         (_G_stat64): Likewise.
23960         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23961         instead of struct _G_stat64.
23962         * libio/fileops.c (mmap_remap_check): Likewise.
23963         (decide_maybe_mmap): Likewise.
23964         (_IO_new_file_seekoff): Likewise.
23965         (_IO_file_stat): Likewise.
23966         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23967         _G_off64_t.
23968         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23969         instead of struct _G_stat64.
23970         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23971
23972 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
23973
23974         [BZ #14602]
23975         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23976         Replace with ...
23977         (CHECK_EOL): New macro.
23978         (two_way_short_needle): Check beginning of haystack for EOL.  Use
23979         CHECK_EOL.
23980         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23981         Replace with CHECK_EOL.
23982         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23983         Replace with CHECK_EOL.
23984
23985 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
23986
23987         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23988         type-generic.
23989         * math/libm-test.inc: Update comment listing what functions and
23990         macros are tested.
23991         (finite_test): New function.
23992         (isinf_test): Likewise.
23993         (isnan_test): Likewise.
23994         (fpclassify_test): Test subnormal input.
23995         (isfinite_test): Likewise.
23996         (isnormal_test): Likewise.
23997         (main): Call the new functions.
23998
23999 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
24000
24001         [BZ #14660]
24002         * Makerules (%.dynsym): Force C locale when running
24003         $(OBJDUMP) --dynamic-syms.
24004
24005 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
24006
24007         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24008         <stdint.h>.
24009
24010 2012-10-06  David S. Miller  <davem@davemloft.net>
24011
24012         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24013         upper 32-bits of the length value in %o2 since we use branch-on-register
24014         tests which consider the entire 64-bit register.
24015
24016 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
24017
24018         * string/test-strstr.c (check2): Add a test for page boundary.
24019
24020 2012-10-05  David S. Miller  <davem@davemloft.net>
24021
24022         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24023         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24024         file.
24025         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24026         sysdep_routines.
24027         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24028         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24029         and bzero when HWCAP_SPARC_CRYPTO is present.
24030
24031 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
24032
24033         [BZ #14602]
24034         * string/test-strstr.c (check2): New function.
24035         (test_main): Call check2.
24036
24037         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24038         and bug-strchr1.
24039         * string/bug-strcasestr1.c (do_test): Moved to ...
24040         * string/test-strcasestr.c (check1): Here.  New function.
24041         (do_one_test): Break out result checking code into ...
24042         (check_result): This.  New function.
24043         (do_one_test): Call check_result.
24044         (test_main): Call check1.
24045         * string/bug-strchr1.c (do_test): Moved to ...
24046         * string/test-strchr.c (check1): Here.  New function.
24047         (do_one_test): Break out result checking code into ...
24048         (check_result): This.  New function.
24049         (do_one_test): Call check_result.
24050         (test_main): Call check1.
24051         * string/bug-strstr1.c (main): Moved to ...
24052         * string/test-strstr.c (check1): Here.  New function.
24053         (do_one_test): Break out result checking code into ...
24054         (check_result): This.  New function.
24055         (do_one_test): Call check_result.
24056         (test_main): Call check1.
24057         * string/bug-strcasestr1.c: Removed.
24058         * string/bug-strchr1.c: Likewise.
24059         * string/bug-strstr1.c: Likewise.
24060
24061         * elf/Makefile (dl-routines): Add hwcaps.
24062         * elf/dl-support.c (_dl_important_hwcaps): Removed.
24063         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24064         (_dl_important_hwcaps): Moved to ...
24065         * elf/dl-hwcaps.c: Here.  New file.
24066         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24067
24068         [BZ #14557]
24069         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24070         if IS_IN_rtld isn't defined.
24071
24072         * elf/dl-support.c (_dl_sysinfo_map): New.
24073         Include "get-dynamic-info.h" and "setup-vdso.h".
24074         (_dl_non_dynamic_init): Call setup_vdso.
24075         * elf/dynamic-link.h: Don't include <assert.h>.
24076         (elf_get_dynamic_info): Moved to ...
24077         * elf/get-dynamic-info.h: Here.  New file.
24078         * elf/dynamic-link.h: Include "get-dynamic-info.h".
24079         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24080         * elf/setup-vdso.h: Here.  New file.
24081         * elf/rtld.c: Include "setup-vdso.h".
24082         (dl_main): Call setup_vdso.
24083
24084 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
24085
24086         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24087         creal in comment listing functions tested.  List finite, isinf,
24088         isnan, isless, islessequal, isgreater, isgreaterequal,
24089         islessgreater, isunordered, lgamma_r and pow10 as functions and
24090         macros not tested.  Mention which functions not tested are aliases
24091         for other functions.  Fix typo.  Note that signs of NaNs are not
24092         tested.
24093
24094         * scripts/config.guess: Update from config.git.
24095         * scripts/config.sub: Likewise.
24096
24097 2012-10-04  Roland McGrath  <roland@hack.frob.com>
24098
24099         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24100         * misc/madvise.c (madvise): Renamed to __madvise.
24101         Make madvise a weak alias.
24102         * include/sys/mman.h: Declare __madvise.
24103         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24104         * sysdeps/unix/syscalls.list
24105         (madvise): Make __madvise the strong name, and madvise a weak alias.
24106         * sysdeps/unix/sysv/linux/syscalls.list
24107         (madvise, mmap): Remove redundant entries.
24108         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24109         * malloc/malloc.c (mtrim): Likewise.
24110         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24111
24112 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24113
24114         * sysdeps/mach/hurd/dl-cache.c: File removed.
24115         * config.h.in (USE_LDCONFIG): New #undef.
24116         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24117         * configure: Regenerated.
24118         * elf/Makefile (dl-routines): Add dl-cache only under
24119         [$(use-ldconfig) = yes].
24120         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24121         cache on [USE_LDCONFIG].
24122         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24123         [USE_LDCONFIG].
24124         * elf/rtld.c (dl_main): Likewise.
24125
24126 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
24127
24128         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24129         _SC_LEVEL4_CACHE_LINESIZE.
24130
24131 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24132
24133         * sysdeps/unix/bsd/confstr.h: File removed.
24134
24135 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
24136
24137         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24138         sys/sdt-config.h.
24139
24140 2012-10-02  Roland McGrath  <roland@hack.frob.com>
24141
24142         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24143         Make 'mapoff' field ElfW(Off) rather than off_t.
24144
24145 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
24146
24147         * nscd/Makefile: Remove nscd-cflags and all its users.
24148         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24149         (CFLAGS-nonlib): Add compiler flags for nscd modules.
24150
24151         [BZ #10631]
24152         * malloc.c (malloc_printerr): Clarify error message.
24153
24154 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
24155
24156         [BZ #14648]
24157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24158         Set bit_FMA_Usable if FMA is supported.
24159         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24160         macro.
24161         (bit_FMA4_Usable): Updated.
24162         (index_FMA_Usable): New macro.
24163         (CPUID_FMA): Likewise
24164         (HAS_FMA): Defined with bit_FMA_Usable.
24165
24166 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24167
24168         * bits/types.h (__swblk_t): Type removed.
24169         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24170         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24171         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24172         (__SWBLK_T_TYPE): Likewise.
24173         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24174         (__SWBLK_T_TYPE): Likewise.
24175         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24176         (__SWBLK_T_TYPE): Likewise.
24177         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24178         (__SWBLK_T_TYPE): Likewise.
24179
24180 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
24181             Honza Horak <hhorak@redhat.com>
24182
24183         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24184         (xdr_mapname): Use YPMAXMAP as maxsize.
24185         (xdr_peername): Use YPMAXPEER as maxsize.
24186         (xdr_keydat): Use YPAXRECORD as maxsize.
24187         (xdr_valdat): Use YPMAXRECORD as maxsize.
24188
24189 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24190
24191         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24192
24193         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24194         * csu/init-first.c: ... here.
24195         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24196         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24197         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24198         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24199         * sysdeps/i386/init-first.c: File removed.
24200         * sysdeps/sh/init-first.c: File removed.
24201
24202 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
24203
24204         [BZ #14645]
24205         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24206         if x * y might underflow to zero and z is zero.
24207         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24208         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24209         * math/libm-test.inc (min_subnorm_value): New variable.
24210         (fma_test): Add more tests.
24211         (fma_test_towardzero): Likewise.
24212         (fma_test_downward): Likewise
24213         (fma_test_upward): Likewise.
24214         (initialize): Set min_subnorm_value.
24215
24216 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
24217
24218         [BZ #14638]
24219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24220         0 + 0.
24221         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24222         mode for addition resulting in exact zero.
24223         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24224         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24225         exact 0 + 0.
24226         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24227         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24228         * math/libm-test.inc (fma_test): Add more tests.
24229         (fma_test_towardzero): New function.
24230         (fma_test_downward): Likewise.
24231         (fma_test_upward): Likewise.
24232         (main): Call the new functions.
24233
24234 2012-09-28  David S. Miller  <davem@davemloft.net>
24235
24236         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24237
24238 2012-09-28  Roland McGrath  <roland@hack.frob.com>
24239
24240         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24241         instead of SIGALRM.
24242
24243         * sysdeps/gnu/_G_config.h: Moved to ...
24244         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24245         * sysdeps/mach/hurd/_G_config.h: Moved to ...
24246         * sysdeps/generic/_G_config.h: ... here.
24247
24248         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
24249
24250         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24251
24252         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24253         Conditionalize target on [libnss_test1.so-version].
24254
24255         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24256
24257         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24258         (elfobjdir): Move out of conditionals.
24259
24260         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24261         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24262         (__nss_lookup_function): Conditionalize label remove_from_tree on
24263         [!DO_STATIC_NSS || SHARED], matching its only use.
24264
24265 2012-09-28  David S. Miller  <davem@davemloft.net>
24266
24267         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24268         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24269         file.
24270         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24271         sysdep_routines.
24272         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24273         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24274         when HWCAP_SPARC_CRYPTO is present.
24275
24276 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24277
24278         * io/tst-mknodat.c: Create a FIFO instead of a socket.
24279
24280 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
24281
24282         [BZ #6530]
24283         * stdio-common/vfprintf.c (process_string_arg): Revert
24284         2000-07-22 change.
24285
24286 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
24287
24288         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24289         for testcase.
24290         * stdio-common/tst-sprintf.c: Include <locale.h>
24291         (main): Test sprintf's handling of incomplete multibyte
24292         characters.
24293
24294 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
24295
24296         * elf/dl-runtime.c (VERSYMIDX): Removed.
24297         * elf/dl-version.c (VERSYMIDX): Likewise.
24298         * elf/do-rel.h (VERSYMIDX): Likewise.
24299         (VALIDX): Likewise.
24300         * elf/dynamic-link.h (VERSYMIDX): Likewise.
24301         * elf/rtld.c (VALIDX): Likewise.
24302         (ADDRIDX): Likewise.
24303         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24304         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24305         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24306         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24307         (VALIDX): Likewise.
24308         (ADDRIDX): Likewise.
24309
24310 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24311
24312         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24313
24314 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
24315
24316         [BZ #11438]
24317         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24318         to global scope.
24319         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24320         addresses are in the same scope as 192.0.2/24.
24321         * posix/gai.conf: Document new scope table defaults.
24322
24323 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24324
24325         [BZ #5298]
24326         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24327         for ftell.  Compute offsets from write pointers instead.
24328         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24329
24330 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24331
24332         [BZ #14543]
24333         * libio/Makefile (tests): New test case tst-fseek.
24334         * libio/tst-fseek.c: New test case to verify that fseek/ftell
24335         combination works in wide mode.
24336         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24337         state when the external buffer state changes.
24338
24339 2012-09-27  David S. Miller  <davem@davemloft.net>
24340
24341         [BZ #14376]
24342         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24343         pass reloc->r_addend in as the 'high' argument to
24344         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24345
24346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24347
24348 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24349
24350         * rt/tst-aio2.c: Include <pthread.h>.
24351         * rt/tst-aio3.c: Likewise.
24352
24353 2012-09-27  Steve Ellcey  <sellcey@mips.com>
24354
24355         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24356
24357 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
24358
24359         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24360         contents on [SHARED].
24361
24362 2012-09-26  Marek Polacek  <polacek@redhat.com>
24363
24364         [BZ #14530]
24365         [BZ #13741]
24366         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24367         for C++ and GCC <4.3 as well as for non GCC compilers.
24368
24369 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24370
24371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24372
24373 2012-09-25  Roland McGrath  <roland@hack.frob.com>
24374
24375         * Makefile.in (all, install): Declare with .PHONY.
24376         Reported by Michael Hope <michael.hope@linaro.org>.
24377
24378 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24379
24380         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24381         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24382         system header.
24383         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24384         Likewise.
24385         (sydep_routines): Add the new and the internal functions.
24386         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24387         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24389         (GLIBC_2.17): Add the new function.
24390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24391         (GLIBC_2.17): Likewise.
24392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24393         (GLIBC_2.17): Likewise.
24394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24395         (GLIBC_2.17): Likewise.
24396         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24397
24398 2012-09-25  Alan Modra  <amodra@gmail.com>
24399
24400         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24401         Add release barrier before setting once_control to say
24402         initialisation is done.  Add hints on lwarx.  Use macro in
24403         place of isync.
24404         (clear_once_control): Add release barrier.
24405
24406 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
24407
24408         [BZ #13629]
24409         * math/s_clog.c (__clog): Handle more values close to |z| = 1
24410         specially.
24411         * math/s_clog10.c (__clog10): Likewise.
24412         * math/s_clog10f.c (__clog10f): Likewise.
24413         * math/s_clog10l.c (__clog10l): Likewise.
24414         * math/s_clogf.c (__clogf): Likewise.
24415         * math/s_clogl.c (__clogl): Likewise.
24416         * math/Makefile (libm-calls): Add x2y2m1.
24417         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24418         (__x2y2m1): Likewise.
24419         (__x2y2m1l): Likewise.
24420         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24421         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24422         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24423         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24424         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24425         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24426         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24427         * sysdeps/i386/fpu/libm-test-ulps: Update.
24428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24429
24430         [BZ #14621]
24431         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24432         int as type of variable DEPTH.
24433         (glob): Use size_t instead of int as type of variables NEWCOUNT
24434         and OLD_PATHC.
24435
24436 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24437
24438         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24439         Add s_sincosf-sse2.
24440         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24441         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24442         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24443         macros for using routine as __sincosf_ia32.
24444         Use macro for function declaration and weak_alias.
24445         * sysdeps/i386/fpu/libm-test-ulps: Update.
24446
24447         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24449
24450         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24451         subnormal argument.
24452         * math/s_cexpf.c (__cexpf): Likewise.
24453         * math/s_csinf.c (__csinf): Likewise.
24454         * math/s_csinhf.c (__csinhf): Likewise.
24455         * math/s_ctanf.c (__ctanf): Likewise.
24456         * math/s_ctanhf.c (__ctanhf): Likewise.
24457         * math/s_ccosh.c (__ccoshf): Likewise.
24458         * math/s_cexp.c (__cexpl): Likewise.
24459         * math/s_csin.c (__csin): Likewise.
24460         * math/s_csinh.c (__csinh): Likewise.
24461         * math/s_ctan.c (__ctan): Likewise.
24462         * math/s_ctanh.c (ctanh): Likewise.
24463         * math/s_ccoshl.c (__ccoshl): Likewise.
24464         * math/s_cexpl.c (__cexpl): Likewise.
24465         * math/s_csinl.c (__csinl): Likewise.
24466         * math/s_csinhl.c (__csinhl): Likewise.
24467         * math/s_ctanl.c (__ctanl): Likewise.
24468         * math/s_ctanhl.c (__ctanhl): Likewise.
24469
24470 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
24471
24472         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24473         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24474         (_IO_off_t): Define to __off_t, not _G_off_t.
24475         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24476         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24477         (_IO_wint_t): Define to wint_t, not _G_wint_t.
24478         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24479         type of __dummy and __dummy2 fields.
24480         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24481         (_G_ssize_t): Likewise.
24482         (_G_off_t): Likewise.
24483         (_G_pid_t): Likewise.
24484         (_G_uid_t): Likewise.
24485         (_G_wchar_t): Likewise.
24486         (_G_wint_t): Likewise.
24487         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24488         (_G_ssize_t): Likewise.
24489         (_G_off_t): Likewise.
24490         (_G_pid_t): Likewise.
24491         (_G_uid_t): Likewise.
24492         (_G_wchar_t): Likewise.
24493         (_G_wint_t): Likewise.
24494         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24495         (_G_ssize_t): Likewise.
24496         (_G_off_t): Likewise.
24497         (_G_pid_t): Likewise.
24498         (_G_uid_t): Likewise.
24499         (_G_wchar_t): Likewise.
24500         (_G_wint_t): Likewise.
24501
24502 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24503
24504         * malloc/arena.c: Include malloc-sysdep.h.
24505         (shrink_heap): Use check_may_shrink_heap to decide if madvise
24506         is sufficient to shrink the heap or an unmap is needed.
24507         * sysdeps/generic/malloc-sysdep.h: New file.  Define
24508         new function check_may_shrink_heap.
24509         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
24510         new function check_may_shrink_heap.
24511
24512 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24513
24514         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24515         comments.
24516
24517 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
24518
24519         * catgets/test-gencat.sh: Add "set -e".
24520         * elf/tst-pathopt.sh: Likewise.
24521         * grp/tst_fgetgrent.sh: Likewise.
24522         * iconvdata/run-iconv-test.sh: Likewise.
24523         * intl/tst-gettext.sh: Likewise.
24524         * intl/tst-gettext2.sh: Likewise.
24525         * intl/tst-gettext4.sh: Likewise.
24526         * intl/tst-gettext6.sh: Likewise.
24527         * intl/tst-translit.sh: Likewise.
24528         * io/ftwtest-sh: Likewise.
24529         * libio/test-freopen.sh: Likewise.
24530         * malloc/tst-mtrace.sh: Likewise.
24531         * posix/globtest.sh: Likewise.
24532         * posix/tst-getconf.sh: Likewise.
24533         * posix/wordexp-tst.sh: Likewise.
24534         * stdio-common/tst-printf.sh: Likewise.
24535         * stdio-common/tst-unbputc.sh: Likewise.
24536         * stdlib/tst-fmtmsg.sh: Likewise.
24537         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24538         * catgets/Makefile: Do not specify -e option when running
24539         testsuite shell scripts.
24540         * elf/Makefile: Likewise.
24541         * grp/Makefile: Likewise.
24542         * iconvdata/Makefile: Likewise.
24543         * intl/Makefile: Likewise.
24544         * io/Makefile: Likewise.
24545         * libio/Makefile: Likewise.
24546         * malloc/Makefile: Likewise.
24547         * posix/Makefile: Likewise.
24548         * stdio-common/Makefile: Likewise.
24549         * stdlib/Makefile: Likewise.
24550         * sysdeps/x86_64/Makefile: Likewise.
24551
24552         * io/ftwtest-sh: Add copyright header.
24553         * posix/globtest.sh: Likewise.
24554         * posix/tst-getconf.sh: Likewise.
24555         * posix/wordexp-tst.sh: Likewise.
24556         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24557
24558 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
24559
24560         [BZ #13679]
24561         * Makeconfig (+link): Defined as $(+link-static) if
24562         $(build-shared) isn't yes.
24563         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24564         isn't yes.
24565         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24566
24567         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24568
24569         [BZ #14562]
24570         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24571         new chunk size with MALLOC_ALIGN_MASK.
24572
24573 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
24574
24575         [BZ #5044]
24576         * stdio-common/printf_fphex.c: Include <stdbool.h> and
24577         <rounding-mode.h>.
24578         (__printf_fphex): Determine rounding using get_rounding_mode and
24579         round_away.
24580         * stdio-common/tst-printf-round.c (struct hex_test): New
24581         structure.
24582         (hex_tests): New variable.
24583         (test_hex_in_one_mode): New function.
24584         (do_test): Also run tests for hex float output.
24585
24586 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
24587
24588         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24589         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24590         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24591         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24592         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24593         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24594         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24595         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24596
24597 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
24598
24599         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24600         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24601         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24602         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24603
24604 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
24605
24606         [BZ #14579]
24607         * elf/rtld.c (dl_main): Limit the check for self loading to normal
24608         mode only.
24609         * elf/tst-rtld-load-self.sh: New test.
24610         * elf/Makefile: Run it.
24611
24612 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
24613
24614         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24615         (tst-writev-ENV): Remove.
24616         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24617
24618 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
24619
24620         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24621
24622 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
24623
24624         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24625         unconditional.
24626         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24627         Likewise.
24628         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24629         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24630         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24631         Likewise.
24632
24633 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
24634
24635         [BZ #14587]
24636         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24637         * config.make.in (have-cpp-asm-debuginfo): Removed.
24638         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24639         * configure: Regenerated.
24640
24641 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
24642
24643         [BZ #5044]
24644         * stdio-common/printf_fp.c: Include <stdbool.h> and
24645         <rounding-mode.h>.
24646         (___printf_fp): Determine rounding using get_rounding_mode and
24647         round_away.
24648         * stdio-common/tst-printf-round.c: New file.
24649         * stdio-common/Makefile (tests): Add tst-printf-round.
24650         (link-libm): New variable.
24651         ($(objpfx)tst-printf-round): Depend in $(link-libm).
24652
24653 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
24654
24655         [BZ #14576]
24656         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24657         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24658         Likewise.
24659         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24660         Likewise.
24661
24662 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
24663
24664         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24665         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24666         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24667         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24668
24669 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
24670
24671         [BZ #14518]
24672         * include/rounding-mode.h: New file.
24673         * sysdeps/generic/get-rounding-mode.h: Likewise.
24674         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24675         * stdlib/strtod_l.c: Include <rounding-mode.h>.
24676         (MAX_VALUE): New macro.
24677         (MIN_VALUE): Likewise.
24678         (overflow_value): New function.
24679         (underflow_value): Likewise.
24680         (round_and_return): Use overflow_value and underflow_value to
24681         determine return values in overflow and underflow cases.  Use
24682         round_away to determine rounding depending on rounding mode.
24683         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24684         determine return values in overflow and underflow cases.
24685         * stdlib/tst-strtod-round.c: Include <fenv.h>.
24686         (struct test_results): New structure.
24687         (struct test): Use struct test_results to store expected results
24688         for all rounding modes.
24689         (TEST): Include expected results for all rounding modes.
24690         (test_in_one_mode): New function.
24691         (do_test): Use test_in_one_mode to compute and check results.
24692         Check results for all rounding modes.
24693         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24694         $(link-libm).
24695
24696 2012-12-09  Allan McRae  <allan@archlinux.org>
24697
24698         * sysdeps/i386/fpu/libm-test-ulps: Update
24699
24700 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
24701
24702         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24703         (_G_int32_t): Likewise.
24704         (_G_uint16_t): Likewise.
24705         (_G_uint32_t): Likewise.
24706         (_G_HAVE_BOOL): Likewise.
24707         (_G_HAVE_ATEXIT): Likewise.
24708         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24709         (_G_HAVE_IO_FILE_OPEN): Likewise.
24710         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24711         (_G_int32_t): Likewise.
24712         (_G_uint16_t): Likewise.
24713         (_G_uint32_t): Likewise.
24714         (_G_HAVE_BOOL): Likewise.
24715         (_G_HAVE_ATEXIT): Likewise.
24716         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24717         (_G_HAVE_IO_FILE_OPEN): Likewise.
24718         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24719         (_G_int32_t): Likewise.
24720         (_G_uint16_t): Likewise.
24721         (_G_uint32_t): Likewise.
24722         (_G_HAVE_BOOL): Likewise.
24723         (_G_HAVE_ATEXIT): Likewise.
24724         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24725         (_G_HAVE_IO_FILE_OPEN): Likewise.
24726
24727 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
24728
24729         * csu/libc-tls.c: Update copyright years.
24730
24731 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
24732
24733         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24734         [!_G_USING_THUNKS]: Remove conditional code.
24735         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24736         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24737
24738         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24739         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24740         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24741         (_G_VTABLE_LABEL_PREFIX): Likewise.
24742         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24743         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24744         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24745         (_G_VTABLE_LABEL_PREFIX): Likewise.
24746         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24747         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24748         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24749         (_G_VTABLE_LABEL_PREFIX): Likewise.
24750         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24751
24752 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
24753
24754         * libio/Makefile: Include ../Makeconfig before tests.
24755         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24756         only if $(build-shared) is yes.
24757
24758         * iconv/gconv_db.c: Update copyright years.
24759
24760 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24761
24762         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24763         unwind info if defined PIC. Fix special cases description.
24764         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24765
24766         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24767         DP_HI_MASK entry.
24768         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24769
24770 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
24771
24772         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24773
24774         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24775         is NULL.
24776
24777         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24778         (LDLIBS-tst-chk4): This.
24779         (LDFLAGS-tst-chk5): Renamed to ...
24780         (LDLIBS-tst-chk5): This.
24781         (LDFLAGS-tst-chk6): Renamed to ...
24782         (LDLIBS-tst-chk6): This.
24783         (LDFLAGS-tst-lfschk4): Renamed to ...
24784         (LDLIBS-tst-lfschk4): This.
24785         (LDFLAGS-tst-lfschk5): Renamed to ...
24786         (LDLIBS-tst-lfschk5): This.
24787         (LDFLAGS-tst-lfschk6): Renamed to ...
24788         (LDLIBS-tst-lfschk6): This.
24789
24790         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24791         on $(common-objpfx)soversions.mk.
24792
24793 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
24794
24795         [BZ #10014]
24796         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24797         example host name.
24798
24799 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24800
24801         * malloc/arena.c (arena_get_retry): New function that gets
24802         another arena for the caller to try its request on.
24803         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24804         current arena cannot fulfill the request.
24805         (__libc_memalign): Likewise.
24806         (__libc_memalign): Likewise.
24807         (__libc_pvalloc): Likewise.
24808         (__libc_calloc): Likewise.
24809
24810 2012-09-05  John Tobey  <john.tobey@gmail.com>
24811
24812         [BZ #13542]
24813         * manual/arith.texi (Operations on Complex): Fix description
24814         of carg branch cut.
24815
24816 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24817
24818         [BZ #10014]
24819         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24820         host name.
24821
24822         [BZ #10038]
24823         * manual/memory.texi (Memory): Make order of menu items match
24824         order of sections.
24825
24826 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24827
24828         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24829         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
24830         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24831
24832 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24833
24834         * csu/libc-tls.c (static_dtv): Renamed to ...
24835         (_dl_static_dtv): This.  Make it global.
24836         (_dl_initial_dtv): Removed.
24837         (__libc_setup_tls): Updated.
24838         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24839         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24840         DL_INITIAL_DTV.
24841
24842 2012-09-06  Petr Machata  <pmachata@redhat.com>
24843
24844         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24845         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24846         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24847         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24848
24849 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24850
24851         [BZ #14545]
24852         * csu/libc-tls.c (_dl_initial_dtv): New variable.
24853         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24854         freeing dtv[-1].
24855
24856 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24857
24858         [BZ #14544]
24859         * Makeconfig (link-static-before-libc): Replace $(+prector)
24860         with $(+prectorT).
24861         (link-static-after-libc): Replace $(+postctor) with
24862         $(+postctorT).
24863         (link-bounded): Replace $(+prector)/$(+postctor) with
24864         $(+prectorT)/$(+postctorT).
24865         (+prectorT): New macro.
24866         (+postctorT): Likewise.
24867
24868 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24869
24870         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24871         (round_str): Handle values above the maximum for IBM long double
24872         as inexact.
24873         * stdlib/tst-strtod-round.c (tests): Regenerated.
24874
24875 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24876
24877         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24878         assembler flag.
24879         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24880         zarch_nohighgprs around the zarch optimized routines.
24881         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24882         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24883         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24884         for zarch.
24885
24886 2012-09-05  David S. Miller  <davem@davemloft.net>
24887
24888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24889
24890         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24891         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24892         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24893         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24894         entries.
24895
24896 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24897
24898         * malloc/arena.c: Fold copyright years.
24899         * malloc/mcheck.c, malloc/memusage.c: Likewise.
24900
24901 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24902
24903         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24904
24905 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24906
24907         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
24908
24909 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24910
24911         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24912         change internal state upon failure.
24913
24914 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24915
24916         * malloc/mcheck.c (mcheck_check_all): Fix typo.
24917         * malloc/memusage.c (mmap): Likewise.
24918         (mmap64, mremap): Likewise.  Adjust name in comment.
24919
24920 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24921
24922         * libio/fileops.c: Fix typos in comments.
24923         * libio/oldfileops.c: Likewise.
24924         * libio/wfileops.c: Likewise.
24925
24926 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24927
24928         [BZ #1349]
24929         * malloc/Makefile (tests): Add tst-malloc-usable test case.
24930         (tst-malloc-usable-ENV): Set environment for test case.
24931         * malloc/hooks.c (malloc_check_get_size): New function to get
24932         requested size.
24933         * malloc/malloc.c (musable): Use malloc_check_get_size.
24934         * malloc/tst-malloc-usable.c: New test case.
24935
24936 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24937
24938         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24939
24940 2012-09-05  Allan McRae  <allan@archlinux.org>
24941
24942         [BZ #13966]
24943         * configure.in (CXX_SYSINCLUDES): Use compiler output to
24944         determine header location.
24945         * configure: Regenerated.
24946
24947 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24948
24949         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24950         float format.
24951         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24952         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24953         format.
24954         (test): Regenerate.
24955
24956 2012-09-04  David S. Miller  <davem@davemloft.net>
24957
24958         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24959         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24960         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24961
24962 2012-09-04  Florian Weimer  <fweimer@redhat.com>
24963
24964         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24965         failures.
24966
24967         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24968
24969 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
24970
24971         [BZ #9914]
24972         * libio/iogetdelim.c: Include <limits.h>.
24973         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24974         + len + 1 would overflow.
24975
24976 2012-09-03  Andreas Jaeger  <aj@suse.de>
24977
24978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24979         * sysdeps/i386/fpu/libm-test-ulps: Update.
24980
24981 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24982
24983         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24984         Add s_sinf-sse2, s_conf-sse2.
24985
24986         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24987         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24988         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24989         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24990
24991         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24992         for using routine as __sinf_ia32.
24993         Use macro for function declaration and weak_alias.
24994         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24995         for using routine as __cosf_ia32.
24996         Use macro for function declaration and weak_alias.
24997
24998         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24999         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25000
25001         * sysdeps/x86_64/fpu/s_sinf.S: New file.
25002         * sysdeps/x86_64/fpu/s_cosf.S: New file.
25003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25004
25005         * math/libm-test.inc (cos_test): Add more test cases.
25006         (sin_test): Likewise.
25007         (sincos_test): Likewise.
25008
25009 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25010
25011         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25012         (IFUNC_RESOLVE): Make pointers to the specialized implementations
25013         hidden.
25014         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25015
25016 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
25017
25018         [BZ #14538]
25019         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25020         first element of the GOT.
25021         (elf_machine_load_address): Return the difference between
25022         the runtime address of _DYNAMIC and elf_machine_dynamic ().
25023
25024 2012-09-01  Allan McRae  <allan@archlinux.org>
25025
25026         [BZ #13412]
25027         * configure.in (AWK): Require gawk version 3.0 or later.
25028         * configure: Regenerated.
25029
25030 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
25031
25032         * sysdeps/unix/sysv/linux/kernel-features.h
25033         (__ASSUME_POSIX_CPU_TIMERS): Remove.
25034         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25035         [__NR_clock_getres]: Make code unconditional.
25036         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25037         (clock_getcpuclockid): Remove code left unreachable by removal of
25038         conditionals.
25039         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25040         code unconditional.
25041         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25042         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25043         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25044         Make code unconditional.
25045         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25046         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25047         * sysdeps/unix/sysv/linux/clock_settime.c
25048         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25049         conditional code.
25050         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25051         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25052
25053 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
25054
25055         [BZ #14476]
25056         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25057         scripts/test-installation.pl.
25058
25059         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25060         and $ld_so_version if it is set.
25061
25062 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25063
25064         [BZ #14516]
25065         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25066         failure if reading from procfs failed.
25067         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25068
25069 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25070
25071         * sysdeps/unix/sysv/linux/kernel-features.h
25072         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25073         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25074         Remove conditional code.
25075         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25076         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25077         Remove conditional code.
25078         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25079         * sysdeps/unix/sysv/linux/i386/fxstat.c
25080         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25081         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25082         * sysdeps/unix/sysv/linux/i386/fxstatat.c
25083         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25084         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25085         * sysdeps/unix/sysv/linux/i386/lxstat.c
25086         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25087         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25088         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25089         Remove conditional code.
25090         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25091         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25092         Remove conditional code.
25093         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25094         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25095         <kernel-features.h>.
25096         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25097         Remove.
25098         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25099         Remove conditional code.
25100         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25101         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25102         Remove conditional.
25103
25104 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
25105
25106         [BZ #5400]
25107         * NEWS: Add fixed bug number.
25108
25109 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25110
25111         [BZ #14519]
25112         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25113         underflowing exponent in case of negative sign.
25114         * stdlib/tst-strtod-round-data: Add more tests.
25115         * stdlib/tst-strtod-round.c (tests): Regenerated.
25116
25117         [BZ #3479]
25118         * stdlib/strtod_l.c (NDIG): Remove.
25119         (HEXNDIG): Likewise.
25120         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25121         smallest representable value.
25122         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25123         lie within an exact representation of 1/2 ulp of the result.
25124         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25125         unconditionally.
25126         (TENS_P9_IDX): Define unconditionally.
25127         (TENS_P9_SIZE): Likewise.
25128         (TENS_P10_IDX): Likewise.
25129         (TENS_P10_SIZE): Likewise.
25130         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25131         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25132         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25133         entries for 10^2^13 and 10^2^14.
25134         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25135         (TENS_P13_IDX): Define.
25136         (TENS_P13_SIZE): Likewise.
25137         (TENS_P14_IDX): Likewise.
25138         (TENS_P14_SIZE): Likewise.
25139         (_fpioconst_pow10): Change array size to
25140         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
25141         unconditional.
25142         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25143         1024]: Add entries for 10^2^13 and 10^2^14.
25144         [LAST_POW10 > _LAST_POW10]: Remove #error.
25145         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25146         (_fpioconst_pow10): Change array size to
25147         FPIOCONST_POW10_ARRAY_SIZE.
25148         * stdlib/gen-fpioconst.c: New file.
25149         * stdlib/gen-tst-strtod-round.c: Likewise.
25150         * stdlib/tst-strtod-round-data: Likewise.
25151         * stdlib/tst-strtod-round.c: Likewise.
25152         * stdlib/Makefile (tests): Add tst-strtod-round.
25153
25154         [BZ #14459]
25155         * stdlib/strtod_l.c: Include <stdint.h>.
25156         (NDEBUG): Do not define.
25157         (round_and_return): Change EXPONENT parameter to type intmax_t.
25158         Rearrange calculations to avoid internal overflow possibilities.
25159         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25160         Rearrange calculations to avoid internal overflow possibilities.
25161         Assert that number fits inside MPNSIZE limbs.
25162         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25163         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
25164         calculations and add assertions to avoid internal overflow
25165         possibilities.  Add casts to avoid signed/unsigned operations.
25166         * stdlib/tst-strtod-overflow.c: New file.
25167         * stdlib/Makefile (tests): Add tst-strtod-overflow.
25168
25169 2012-08-25  Marek Polacek  <polacek@redhat.com>
25170
25171         * time/time.h: Fix some typos in comments.
25172
25173 2012-08-23  Roland McGrath  <roland@hack.frob.com>
25174
25175         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25176         * posix/tst-rfc3484-2.c: Likewise.
25177         * posix/tst-rfc3484-3.c: Likewise.
25178
25179 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
25180
25181         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25182         (EF_ARM_ABI_FLOAT_HARD): Likewise.
25183
25184 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
25185
25186         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25187         #include of fxstatat64.c.
25188
25189 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25190
25191         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25192         * shadow/getspent_r.c: Likewise.
25193         * shadow/getspnam.c: Likewise.
25194         * shadow/getspnam_r.c: Likewise.
25195         * gshadow/getsgent.c: Likewise.
25196         * gshadow/getsgent_r.c: Likewise.
25197         * gshadow/getsgnam.c: Likewise.
25198         * gshadow/getsgnam_r.c: Likewise.
25199         * inet/getnetbyad.c: Likewise.
25200         * inet/getnetbyad_r.c: Likewise.
25201         * inet/getnetbynm.c: Likewise.
25202         * inet/getnetbynm_r.c: Likewise.
25203         * inet/getnetent.c: Likewise.
25204         * inet/getnetent_r.c: Likewise.
25205         * inet/getproto.c: Likewise.
25206         * inet/getproto_r.c: Likewise.
25207         * inet/getprtent.c: Likewise.
25208         * inet/getprtent_r.c: Likewise.
25209         * inet/getprtname.c: Likewise.
25210         * inet/getprtname_r.c: Likewise.
25211         * inet/getrpcbyname.c: Likewise.
25212         * inet/getrpcbyname_r.c: Likewise.
25213         * inet/getrpcbynumber.c: Likewise.
25214         * inet/getrpcbynumber_r.c: Likewise.
25215         * inet/getrpcent.c: Likewise.
25216         * inet/getrpcent_r.c: Likewise.
25217         * inet/getaliasent.c: Likewise.
25218         * inet/getaliasent_r.c: Likewise.
25219         * inet/getaliasname.c: Likewise.
25220         * inet/getaliasname_r.c: Likewise.
25221         * nscd/getgrgid_r.c: Likewise.
25222         * nscd/getgrnam_r.c: Likewise.
25223         * nscd/gethstbyad_r.c: Likewise.
25224         * nscd/gethstbynm3_r.c: Likewise.
25225         * nscd/getpwnam_r.c: Likewise.
25226         * nscd/getpwuid_r.c: Likewise.
25227         * nscd/getsrvbynm_r.c: Likewise.
25228         * nscd/getsrvbypt_r.c: Likewise.
25229         * nscd/gai.c: Likewise.
25230
25231         * configure.in (build_nscd): New substituted variable, set
25232         by --disable-build-nscd and defaults to $use_nscd.
25233         * configure: Regenerated.
25234         * config.make.in (build-nscd): New substituted variable.
25235         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25236         Change conditional to require [$(build-nscd) = yes] as well.
25237         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25238
25239         [BZ# 13696]
25240         * configure.in (use_nscd): New substituted variable, set by
25241         --disable-nscd.  If enabled, define USE_NSCD.
25242         * configure: Regenerated.
25243         * config.h.in: Add USE_NSCD.
25244         * config.make.in (use-nscd): New substituted variable.
25245         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25246         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25247         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25248         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25249         (CFLAGS-getgrnam_r.c): Likewise.
25250         (CFLAGS-initgroups.c): Likewise.
25251         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25252         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25253         Variables removed.
25254         * inet/getnetgrent_r.c
25255         (nscd_setnetgrent): New function, broken out of ...
25256         (setnetgrent): ... here.  Call it.
25257         (innetgr): Conditionalize nscd bits on [USE_NSCD].
25258         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25259         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25260         * nscd/Makefile (routines, aux): Move definitions after include of
25261         Makeconfig.  Conditionalize on [$(use-nscd) != no].
25262         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25263         Conditionalize on [USE_NSCD].
25264         (is_nscd, nscd_init_cb): Likewise.
25265         (nss_load_library): Conditionalize init callback on [USE_NSCD].
25266         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25267         * nss/nss_db/db-init.c: Likewise.
25268         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25269         [USE_NSCD].
25270         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25271         (make_request): Use it.
25272         (cache_valid_p): New function.
25273         (__check_pf): Use it.
25274         * NEWS: Add item for --disable-nscd.
25275
25276 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
25277
25278         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25279         to support sed >= 4.2.1-20-ga9bf076.
25280         * configure: Regenerated.
25281
25282 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25283
25284         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25285         Conditionalize whole body on [IREL].
25286
25287 2012-08-22  Jeff Law <law@redhat.com>
25288
25289         [BZ #14505]
25290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25291         if the family is PF_UNSPEC.
25292
25293 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
25294
25295         * Makerules (lib-version): Rename from V.
25296         (install-lib-nosubdir): Change V to lib-version.
25297
25298 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
25299
25300         [BZ #14252]
25301         * powerpc32/power6/wcschr.c: New file.
25302         * powerpc32/power6/wcscpy.c: New file.
25303         * powerpc32/power6/wcsrchr.c: New file.
25304         * powerpc64/power6/wcschr.c: New file.
25305         * powerpc64/power6/wcscpy.c: New file.
25306         * powerpc64/power6/wcsrchr.c: New file.
25307
25308 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25309
25310         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25311         (two_way_short_needle): Use it.
25312         * string/strstr.c (AVAILABLE1_USES_J): Define.
25313         * string/strcasestr.c: Likewise.
25314
25315         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25316         array references.
25317         * string/strcasestr.c (TOLOWER): Make side-effect safe.
25318
25319         [BZ #11607]
25320         * NEWS: Add an entry.
25321         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25322         define their defaults.
25323         (two_way_short_needle): Detect end-of-string on-the-fly.
25324         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25325         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25326         * string/bug-strcasestr1.c: New test.
25327         * string/Makefile: Run it.
25328
25329 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25330
25331         [BZ #11607]
25332         * string/str-two-way.h (two_way_short_needle): Optimize matching of
25333         the first character.
25334
25335 2012-08-21  Roland McGrath  <roland@hack.frob.com>
25336
25337         * csu/elf-init.c (__libc_csu_irel): Function removed.
25338         * csu/libc-start.c (apply_irel): New function.
25339         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25340
25341 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
25342
25343         * sysdeps/unix/sysv/linux/kernel-features.h
25344         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25345         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25346         <kernel-features.h>.
25347         [__NR_fadvise64_64]: Make code unconditional.
25348         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25349         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25350         !__NR_fadvise64_64)]: Likewise.
25351         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25352         !__NR_fadvise64_64))]: Likewise.
25353         [__NR_fadvise64]: Make code unconditional.
25354         [!__NR_fadvise64]: Remove conditional code.
25355         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25356         <kernel-features.h>.
25357         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25358         unconditional.
25359         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25360         conditional code.
25361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25362         not include <kernel-features.h>.
25363         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25364         unconditional.
25365         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25366         conditional code.
25367         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25368         include <kernel-features.h>.
25369         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25370         unconditional.
25371         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25372         conditional code.
25373
25374 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25375
25376         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25377         slight instruction rearrangements per scrollpipe analysis.
25378         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25379
25380 2012-08-20  Roland McGrath  <roland@hack.frob.com>
25381
25382         * manual/syslog.texi (syslog; vsyslog, closelog):
25383         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25384         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25385
25386         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25387         DSOCAPS to match condition on defining it.
25388
25389 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
25390
25391         * sysdeps/unix/sysv/linux/kernel-features.h
25392         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25394         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25395         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25397         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25398         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25400         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25401         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25402
25403         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25404         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25405
25406         * sysdeps/unix/sysv/linux/kernel-features.h
25407         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25408         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25409         unconditional.
25410         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25411         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25412         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25413         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25414         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25415         Make code unconditional.
25416         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25417         (__mmap64) [!__NR_mmap2]: Likewise.
25418         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25419         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25420         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25421         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25422         [__NR_mmap2]: Make code unconditional.
25423         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25424         (__mmap64) [!__NR_mmap2]: Likewise.
25425
25426 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25427
25428         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25429
25430 2012-08-18  Andreas Jaeger  <aj@suse.de>
25431
25432         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25433
25434 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
25435
25436         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25437         * include/unistd.h (__have_sock_cloexec): Likewise.
25438         (__have_pipe2): Likewise.
25439         (__have_dup3): Likewise.
25440
25441 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
25442
25443         [BZ #9685]
25444         * include/unistd.h (__have_pipe2): Change define into an extern int.
25445         (__have_dup3): Likewise.
25446         * socket/have_sock_cloexec.c: Include fcntl.h.
25447         (__have_pipe2): New variable.
25448         (__have_dup3): Likewise.
25449
25450 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
25451
25452         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25453
25454 2012-08-17  Marek Polacek  <polacek@redhat.com>
25455
25456         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25457         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25458
25459 2012-08-17  Roland McGrath  <roland@hack.frob.com>
25460
25461         * configure.in: Add AC_SUBST for sysheaders.
25462         * configure: Regenerated.
25463         * config.make.in (sysheaders): New substituted variable.
25464
25465         * sysdeps/unix/mkfifo.c: Moved ...
25466         * sysdeps/posix/mkfifo.c: ... here.
25467         * sysdeps/unix/mkfifoat.c: Moved ...
25468         * sysdeps/posix/mkfifoat.c: ... here.
25469
25470         * sysdeps/unix/utime.c: Moved ...
25471         * sysdeps/posix/utime.c: ... here.
25472
25473         * sysdeps/unix/time.c: Moved ...
25474         * sysdeps/posix/time.c: ... here.
25475         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25476         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25477
25478         * sysdeps/unix/nice.c: Moved ...
25479         * sysdeps/posix/nice.c: ... here.
25480
25481         * sysdeps/unix/alarm.c: Moved ...
25482         * sysdeps/posix/alarm.c: ... here.
25483
25484         * intl/Makefile ($(codeset_mo)): Depend on the input file.
25485
25486 2012-08-17  Jeff Law <law@redhat.com>
25487
25488         * intl/Makefile (codeset_mo): New variable.
25489         ($(codeset_mo)): New target.
25490         (tst-codeset.out): Depend on that.  Remove explicit rule.
25491         (tst-gettext3.out, tst-gettext5.out): Likewise.
25492         (LOCPATH-ENV, tst-codeset-ENV): New variables.
25493         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25494         * intl/tst-codeset.sh: Remove.
25495         * intl/tst-gettext3.sh: Likewise.
25496         * intl/tst-gettext5.sh: Likewise.
25497
25498 2012-08-17  Roland McGrath  <roland@hack.frob.com>
25499
25500         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
25501         * sysdeps/unix/syscalls.list: ... here.
25502
25503         * sysdeps/posix/getaddrinfo.c
25504         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25505         (gaiconf_init, gaiconf_reload): Use them.
25506         [!_STATBUF_ST_NSEC]
25507         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25508         Define using time_t rather than struct timespec.
25509
25510         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25511         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25512         Macros removed.
25513         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25514         [!NO_THREADS].
25515         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25516         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25517         Likewise.
25518
25519         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25520         __libc_cleanup_push argument.
25521
25522         * bits/param.h: New file.
25523         * misc/sys/param.h: New file.
25524         * include/sys/param.h: New file.
25525         * misc/Makefile (headers): Add bits/param.h.
25526         * sysdeps/generic/sys/param.h: File removed.
25527         * sysdeps/unix/sysv/linux/bits/param.h: New file.
25528         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25529         * sysdeps/mach/hurd/bits/param.h: New file.
25530         * sysdeps/mach/hurd/sys/param.h: File removed.
25531
25532         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25533         last change.
25534
25535         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25536         [_IO_MTSAFE_IO].
25537         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25538         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25539         New macros.
25540
25541         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25542         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25543         rather than -D_IO_MTSAFE_IO conditionally.
25544         * stdio-common/Makefile (CPPFLAGS): Likewise.
25545         * wcsmbs/Makefile (CPPFLAGS): Likewise.
25546         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25547         Use $(libio-mtsafe).
25548         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25549         of -D_IO_MTSAFE_IO.
25550         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25551         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25552         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25553         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25554         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25555         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25556         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25557         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25558         (CFLAGS-fread_u_chk.c): Likewise.
25559         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25560         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25561         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25562         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25563         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25564         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25565         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25566         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25567         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25568
25569         * libio/Makefile: Test [$(libc-reentrant) = yes]
25570         instead of [$(filter %REENTRANT, $(defines)) nonempty].
25571
25572         * Makeconfig
25573         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25574         * sysdeps/pthread/configure: File removed.
25575         * sysdeps/pthread/Makeconfig: New file.
25576         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25577         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25578
25579 2012-08-16  Gary Benson  <gbenson@redhat.com>
25580
25581         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25582         unmapping the first object in a namespace.
25583
25584 2012-08-16  Roland McGrath  <roland@hack.frob.com>
25585
25586         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25587         (__internal_setnetgrent): ... this.  Add internal_function to
25588         definition.  Add libc_hidden_def.
25589         (setnetgrent): Update caller.
25590         (internal_endnetgrent): Renamed to ...
25591         (__internal_endnetgrent): ... this.  Add internal_function to
25592         definition.  Add libc_hidden_def.
25593         (endnetgrent): Update caller.
25594         (internal_getnetgrent_r): Renamed to ...
25595         (__internal_getnetgrent_r): ... this.  Add internal_function to
25596         definition.  Add libc_hidden_def.
25597         (__getnetgrent_r): Update caller.
25598         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
25599
25600 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25601
25602         * stdlib/longlong.h: Update from GCC.
25603
25604 2012-08-16  Roland McGrath  <roland@hack.frob.com>
25605
25606         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25607         on _QL, which is set by umul_ppmm but never used.
25608         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25609         variables, which are set by GMP macros but never used.
25610         * stdio-common/_itowa.c (_itowa): Likewise.
25611         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25612         * stdlib/mod_1.c (mpn_mod_1): Likewise.
25613
25614 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
25615
25616         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25617         struct La_sh_regs is not constant.
25618         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25619         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25620         and struct La_sparc64_regs are not constant.
25621
25622 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25623
25624         * sysdeps/unix/sysv/linux/kernel-features.h
25625         (__ASSUME_POSIX_TIMERS): Remove.
25626         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25627         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25628         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25629         Make code unconditional.
25630         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25631         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25632         Make code unconditional.
25633         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25634         * sysdeps/unix/sysv/linux/clock_nanosleep.c
25635         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25636         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25637         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25638         Make code unconditional.
25639         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25640         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25641         (__libc_missing_posix_timers): Remove.
25642
25643 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25644
25645         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25646         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25647
25648         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25649
25650         * elf/dl-sym.c: Include <stdlib.h>.
25651
25652         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25653         constants, which avoids warnings in 32-bit builds.
25654
25655         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25656         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25657
25658         * misc/lseek.c: File moved to ...
25659         * io/lseek.c: ... here.
25660
25661         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25662
25663         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25664         shifting LEN more than 31 bits at once.
25665
25666 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25667
25668         [BZ #14195]
25669         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25670         segmentation fault for a case of two empty input strings.
25671         * string/test-strncasecmp.c (check1): Renamed to...
25672         (bz12205): ...this.
25673         (bz14195): Add new testcase for two empty input strings and N > 0.
25674         (test_main): Call new testcase, adapt for renamed function.
25675
25676 2012-08-15  Andreas Jaeger  <aj@suse.de>
25677
25678         [BZ #14090]
25679         * crypt/md5test2.c: New test, based on test supplied by Serge
25680         Belyshev <belyshev@depni.sinp.msu.ru>.
25681         * crypt/Makefile (xtests): Add md5test-giant..
25682         * crypt/Makefile ($(objpfx)md5test-giant): Add.
25683
25684 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
25685
25686         [BZ #14090]
25687         * crypt/md5.c (md5_process_block): Don't assume the buffer
25688         length is less than 2**32.
25689         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25690         length is less than 2**64.
25691
25692 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25693
25694         * string/str-two-way.h: Include <sys/param.h>.
25695         (MAX): Macro removed.
25696
25697         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25698         Move #define and #undef of memmove to just before and after
25699         including <string.h>.
25700
25701         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25702         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25703         and after including <string.h>.  Move declarations of
25704         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25705         to before #include "string/memmove.c".
25706
25707         * include/dirent.h: Declare __getdirentries.
25708
25709         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25710         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25711
25712 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
25713
25714         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25715         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25716         * sysdeps/i386/configure: Regenerated.
25717         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25718         STABS_CURRENT_FILE, and STABS_FUN.
25719         (END): Remove call to STABS_FUN_END.
25720         (STABS_CURRENT_FILE1): Delete.
25721         (STABS_CURRENT_FILE): Likewise.
25722         (STABS_FUN): Likewise.
25723         (STABS_FUN_END): Likewise.
25724         (STABS_FUN2): Likewise.
25725         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25726         * sysdeps/x86_64/configure: Regenerated.
25727
25728 2012-08-14  Roland McGrath  <roland@hack.frob.com>
25729
25730         * elf/dl-open.c: Include <atomic.h>.
25731         * elf/dl-lookup.c: Likewise.
25732
25733 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
25734
25735         * sysdeps/unix/sysv/linux/kernel-features.h
25736         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25737         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25738         unconditionally.
25739         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25740         unconditionally.
25741         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25742         condition on __ASSUME_CLONE_THREAD_FLAGS.
25743
25744 2012-08-14  Andreas Jaeger  <aj@suse.de>
25745
25746         * sysdeps/i386/fpu/libm-test-ulps: Update.
25747
25748 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
25749
25750         * include/atomic.h (atomic_exchange_and_add): Split into ...
25751         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25752         New atomic macros.
25753
25754 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
25755
25756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25757
25758 2012-08-13  Jeff Law <law@redhat.com>
25759
25760         * manual/stdio.texi (snprintf): Clarify handling of the trailing
25761         null byte in the output string.
25762
25763 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
25764
25765         * sysdeps/unix/sysv/linux/kernel-features.h
25766         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25767         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25768         (__ASSUME_ARG_MAX_STACK_BASED): Define.
25769         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25770         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25771         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
25772         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25773
25774 2012-08-09  Jeff Law <law@redhat.com>
25775
25776         [BZ #13939]
25777         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25778         When avoid_arena is set, don't retry in the that arena.  Pick the
25779         next one, whatever it might be.
25780         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25781         (arena_lock): Pass in new parameter to arena_get2.
25782         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25783         arena_get2.
25784         (__libc_malloc): Unify retrying after main arena failure with
25785         __libc_memalign version.
25786         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25787
25788 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25789
25790         [BZ #14166]
25791         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25792         to __redirect_strstr.
25793         (__strstr_sse42): Use typeof __redirect_strstr.
25794         (__strstr_ia32): Likewise.
25795         (__libc_strstr): New prototype.
25796         (strstr): Renamed to ...
25797         (__libc_strstr): This.
25798         (strstr): New strong alias of __libc_strstr.
25799         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25800         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25801         __redirect_time.
25802         Include <time.h>.
25803         (__libc_time): New prototype.
25804         (time_ifunc): Replace time with __libc_time.
25805         (time): New strong alias and hidden definition of __libc_time.
25806         (__GI_time): Remove strong alias.
25807         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25808         Include <stddef.h>.
25809         (memmove): Redefined to __redirect_memmove.
25810         (__memmove_sse2): Use typeof __redirect_memmove.
25811         (__memmove_ssse3): Likewise.
25812         (__memmove_ssse3_back): Likewise.
25813         (__libc_memmove): New prototype.
25814         (memmove): Renamed to ...
25815         (__libc_memmove): This.
25816         (memmove): New strong alias of __libc_memmove.
25817
25818 2012-08-08  Mark Salter  <msalter@redhat.com>
25819
25820         * elf/elf.h
25821         (R_MN10300_TLS_GD): Define.
25822         (R_MN10300_TLS_LD): Likewise.
25823         (R_MN10300_TLS_LDO): Likewise.
25824         (R_MN10300_TLS_GOTIE): Likewise.
25825         (R_MN10300_TLS_IE): Likewise.
25826         (R_MN10300_TLS_LE): Likewise.
25827         (R_MN10300_TLS_DTPMOD): Likewise.
25828         (R_MN10300_TLS_DTPOFF): Likewise.
25829         (R_MN10300_TLS_TPOFF): Likewise.
25830         (R_MN10300_SYM_DIFF): Likewise.
25831         (R_MN10300_ALIGN): Likewise.
25832         (R_MN10300_NUM): Update.
25833
25834 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
25835
25836         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25837         Remove.
25838
25839 2012-08-08  Roland McGrath  <roland@hack.frob.com>
25840
25841         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25842
25843         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25844         sysdeps/unix -> sysdeps/posix move.
25845         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25846
25847 2012-08-07      Allan McRae     <allan@archlinux.org>
25848
25849         [BZ #14303]
25850         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25851         (SUNOS_CPP): Likewise.
25852         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25853         not found.
25854         (open_input): Call CPP using execvp.
25855
25856 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25857
25858         * sysdeps/unix/sysv/linux/kernel-features.h
25859         (__ASSUME_PROT_GROWSUPDOWN): Remove.
25860         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25861         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25862         (__ASSUME_WAITID_SYSCALL): Likewise.
25863         * sysdeps/unix/sysv/linux/dl-execstack.c
25864         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25865         code unconditional.
25866         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25867         conditional code.
25868         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25869         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25870         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25871         code.
25872         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25873         unconditional.
25874         [__ASSUME_WAITID_SYSCALL]: Likewise.
25875         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25876
25877 2012-08-07  Roland McGrath  <roland@hack.frob.com>
25878
25879         * sysdeps/unix/closedir.c: Renamed to ...
25880         * sysdeps/posix/closedir.c: ... here.
25881         * sysdeps/unix/dirfd.c: Renamed to ...
25882         * sysdeps/posix/dirfd.c: ... here.
25883         * sysdeps/unix/dirstream.h: Renamed to ...
25884         * sysdeps/posix/dirstream.h: ... here.
25885         * sysdeps/unix/fdopendir.c: Renamed to ...
25886         * sysdeps/posix/fdopendir.c: ... here.
25887         * sysdeps/unix/opendir.c: Renamed to ...
25888         * sysdeps/posix/opendir.c: ... here.
25889         * sysdeps/unix/readdir.c: Renamed to ...
25890         * sysdeps/posix/readdir.c: ... here.
25891         * sysdeps/unix/readdir_r.c: Renamed to ...
25892         * sysdeps/posix/readdir_r.c: ... here.
25893         * sysdeps/unix/rewinddir.c: Renamed to ...
25894         * sysdeps/posix/rewinddir.c: ... here.
25895         * sysdeps/unix/seekdir.c: Renamed to ...
25896         * sysdeps/posix/seekdir.c: ... here.
25897         * sysdeps/unix/telldir.c: Renamed to ...
25898         * sysdeps/posix/telldir.c: ... here.
25899         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25900         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25901         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25902         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25903
25904         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25905         * bits/fcntl.h: ... here.
25906
25907         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25908         not 0.
25909         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25910         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25911         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25912         (struct flock): Move l_start, l_len to the beginning.
25913         Use __pid_t for l_pid.
25914         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25915         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25916         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25917         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25918         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25919         [__USE_LARGEFILE64] (struct flock64): New type.
25920         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25921
25922         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25923         * bits/dirent.h: ... here.
25924
25925         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25926         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25927
25928 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25929
25930         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25931         Change from 2.6.0 to 2.6.16.
25932         * sysdeps/unix/sysv/linux/configure: Regenerated.
25933         * sysdeps/unix/sysv/linux/kernel-features.h
25934         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25935         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25936         version.
25937         (__ASSUME_UTIMES): Likewise.
25938         (__ASSUME_CLONE_STOPPED): Remove.
25939         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25940         architectures, not kernel version.
25941         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25942         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25943         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25944         (__ASSUME_WAITID_SYSCALL): Likewise.
25945         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25946         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25947         * README: State 2.6.16 as minimum Linux kernel version.  Do not
25948         refer to older versions.
25949
25950 2012-08-06  Roland McGrath  <roland@hack.frob.com>
25951
25952         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25953         Define alphasort64 as an alias.
25954         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25955         Define versionsort64 as an alias.
25956         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25957         Define scandir64 as an alias.
25958         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25959         Define scandirat64 as an alias.
25960         * dirent/alphasort64.c (alphasort64):
25961         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25962         * dirent/versionsort64.c: Likewise.
25963         * dirent/scandir64.c: Likewise.
25964         * dirent/scandirat64.c: Likewise.
25965         * sysdeps/wordsize-64/alphasort.c: File removed.
25966         * sysdeps/wordsize-64/alphasort64.c: File removed.
25967         * sysdeps/wordsize-64/scandir.c: File removed.
25968         * sysdeps/wordsize-64/scandir64.c: File removed.
25969         * sysdeps/wordsize-64/scandirat.c: File removed.
25970         * sysdeps/wordsize-64/scandirat64.c: File removed.
25971         * sysdeps/wordsize-64/versionsort.c: File removed.
25972         * sysdeps/wordsize-64/versionsort64.c: File removed.
25973         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25974         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25975         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25976         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25977         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25978         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25979         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25980         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25981
25982         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25983         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25984         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25985         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25986         [defined __arch64__ || defined __sparcv9]
25987         (__INO_T_MATCHES_INO64_T): New macro.
25988         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25989         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25990         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25991         * sysdeps/unix/sysv/linux/bits/dirent.h
25992         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25993         (_DIRENT_MATCHES_DIRENT64): New macro.
25994
25995         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25996         Define lockf64 as an alias.
25997         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25998         Define fseeko64 as an alias.
25999         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26000         Define ftello64 as an alias.
26001         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26002         Define _IO_fgetpos64 and fgetpos64 as aliases.
26003         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26004         Define _IO_fsetpos64 and fsetpos64 as aliases.
26005         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26006         Conditionalize body on this.
26007         * libio/fseeko64.c: Likewise.
26008         * libio/ftello64.c: Likewise.
26009         * libio/iofgetpos64.c: Likewise.
26010         * libio/iofsetpos64.c: Likewise.
26011         * sysdeps/wordsize-64/lockf.c: File removed.
26012         * sysdeps/wordsize-64/lockf64.c: File removed.
26013         * sysdeps/wordsize-64/fseeko.c: File removed.
26014         * sysdeps/wordsize-64/fseeko64.c: File removed.
26015         * sysdeps/wordsize-64/ftello.c: File removed.
26016         * sysdeps/wordsize-64/ftello64.c: File removed.
26017         * sysdeps/wordsize-64/iofgetpos.c: File removed.
26018         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26019         * sysdeps/wordsize-64/iofsetpos.c: File removed.
26020         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26021         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26022         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26023         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26024         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26025         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26026         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26027         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26028         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26029         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26030         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26031
26032         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26033         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26034         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26035         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26036         [defined __arch64__ || defined __sparcv9]
26037         (__OFF_T_MATCHES_OFF64_T): New macro.
26038         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26039         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26040         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26041         (__OFF_T_MATCHES_OFF64_T): New macro.
26042
26043 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26044
26045         * stdlib/secure-getenv.c (__secure_getenv): Replace
26046         GLIBC_2_16 with GLIBC_2_17.
26047
26048 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26049
26050         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26051         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26052
26053 2012-08-03  David S. Miller  <davem@davemloft.net>
26054
26055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26056
26057 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26058
26059         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26060         Remove.
26061         (__ASSUME_CORRECT_SI_PID): Likewise.
26062         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26063         (__ASSUME_TMPFS_NAME): Likewise.
26064         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26065         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26066         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26067         (HAVE_AUX_SECURE): Make definition unconditional.
26068         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26069         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26070
26071 2012-08-03  Roland McGrath  <roland@hack.frob.com>
26072
26073         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26074         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26075         * sysdeps/mach/hurd/eloop-threshold.h: New file.
26076         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26077         __eloop_threshold instead of SYMLOOP_MAX.
26078
26079         * sysdeps/generic/eloop-threshold.h: New file.
26080         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26081         of MAXSYMLINKS.
26082         * elf/chroot_canon.c (chroot_canon): Likewise.
26083
26084 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26085
26086         [BZ #13717]
26087         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26088         Change to 2.6.0 everywhere.
26089         * sysdeps/unix/sysv/linux/configure: Regenerated.
26090         * sysdeps/unix/sysv/linux/kernel-features.h
26091         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26092         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26093         kernel versions.
26094         (__ASSUME_POSIX_TIMERS): Define unconditionally.
26095         (__ASSUME_FUTEX_REQUEUE): Remove.
26096         (__ASSUME_STATFS64): Define unconditionally.
26097         (__ASSUME_AT_SECURE): Likewise.
26098         (__ASSUME_CORRECT_SI_PID): Likewise.
26099         (__ASSUME_TGKILL): Define without depending on kernel version for
26100         i386.
26101         (__ASSUME_UTIMES): Likewise.
26102         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26103         kernel version.
26104         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26105         (__ASSUME_TMPFS_NAME): Likewise.
26106         * README: Update reference to Linux kernel versions.
26107
26108 2012-08-02  Marek Polacek  <polacek@redhat.com>
26109
26110         [BZ# 14150]
26111         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
26112         libc_cv_asm_type_prefix with %.
26113         * configure: Regenerated.
26114         * include/libc-symbols.h: Remove comment about
26115         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26116         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26117         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26118         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26119         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26120         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26121         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26122         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26123         * elf/tst-unique2mod1.c: Likewise.
26124         * elf/tst-unique1mod2.c: Likewise.
26125         * elf/tst-unique1mod1.c: Likewise.
26126         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26127         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26128         Replace ASM_TYPE_DIRECTIVE with .type.
26129         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26130         * sysdeps/i386/sysdep.h: Likewise.
26131         * sysdeps/x86_64/sysdep.h: Likewise.
26132         * sysdeps/sh/sysdep.h: Likewise.
26133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26134         Do not define ASM_TYPE_DIRECTIVE.
26135         * sysdeps/powerpc/sysdep.h: Likewise.
26136         * sysdeps/powerpc/powerpc32/sysdep.h:
26137         Replace ASM_TYPE_DIRECTIVE with .type.
26138         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26139         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26140         * sysdeps/i386/fpu/e_powf.S: Likewise.
26141         * sysdeps/i386/fpu/e_expl.S: Likewise.
26142         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26143         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26144         * sysdeps/i386/fpu/e_pow.S: Likewise.
26145         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26146         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26147         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26148         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26149         * sysdeps/i386/fpu/e_log2.S: Likewise.
26150         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26151         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26152         * sysdeps/i386/fpu/e_powl.S: Likewise.
26153         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26154         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26155         * sysdeps/i386/fpu/e_logl.S: Likewise.
26156         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26157         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26158         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26159         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26160         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26161         * sysdeps/i386/fpu/e_log.S: Likewise.
26162         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26163         * sysdeps/i386/fpu/e_logf.S: Likewise.
26164         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26165         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26166         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26167         * sysdeps/i386/fpu/e_log10.S: Likewise.
26168         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26169         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26170         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26171         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26172         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26173         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26174         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26175         * sysdeps/i386/i686/strtok.S: Likewise.
26176         * sysdeps/i386/i386-mcount.S: Likewise.
26177         * sysdeps/i386/strtok.S: Likewise.
26178         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26179         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26180         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26181         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26182         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26183         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26184         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26185         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26186         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26187         * sysdeps/x86_64/_mcount.S: Likewise.
26188         * sysdeps/x86_64/strtok.S: Likewise.
26189         * sysdeps/sh/_mcount.S: Likewise.
26190
26191 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26192
26193         * libio/iofopen.c: Include <fcntl.h>.
26194         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26195         (_IO_fopen64, fopen64): Define as aliases.
26196         * libio/iofopen64.c: Include <fcntl.h>.
26197         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26198         Conditionalize body on this.
26199         * sysdeps/wordsize-64/iofopen.c: File removed.
26200         * sysdeps/wordsize-64/iofopen64.c: File removed.
26201
26202 2012-08-01  Marek Polacek  <polacek@redhat.com>
26203
26204         * libc/Makeconfig: Use elf in place of binfmt-subdir.
26205         Use dlfcn directly instead of a variable.
26206         (binfmt-subdir): Do not define.
26207         (dlfcn): Likewise.
26208
26209 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
26210
26211         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26212         Remove all definitions.
26213         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26214         <kernel-features.h>.
26215         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26216         (miss_F_GETOWN_EX): Remove all definitions.
26217         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26218         macro definition.
26219         [!__ASSUME_FCNTL64]: Remove conditional code.
26220         [__ASSUME_FCNTL64]: Make code unconditional.
26221         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26222         <kernel-features.h>.
26223         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26224         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26225         (lockf64) [__NR_fcntl64]: Make code unconditional.
26226         (lockf64) [__ASSUME_FCNTL64]: Likewise.
26227
26228         * sysdeps/unix/sysv/linux/kernel-features.h
26229         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26230         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26231         Make code unconditional.
26232         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26233         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26235         [__NR_vfork]: Make code unconditional.
26236         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26237         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26239         [__NR_vfork]: Make code unconditional.
26240         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26241         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26242
26243 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26244
26245         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26246         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26247
26248         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26249         Define mkstemp64 as an alias.
26250         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26251         Define mkstemps64 as an alias.
26252         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26253         Define mkostemp64 as an alias.
26254         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26255         Define mkostemps64 as an alias.
26256         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26257         Conditionalize body on this.
26258         * misc/mkostemp64.c: Likewise.
26259         * misc/mkostemps64.c: Likewise.
26260         * misc/mkstemps64.c: Likewise.
26261         * sysdeps/wordsize-64/mkstemp64.c: File removed.
26262         * sysdeps/wordsize-64/mkostemp64.c: File removed.
26263         * sysdeps/wordsize-64/mkostemp.c: File removed.
26264         * sysdeps/wordsize-64/mkstemp.c: File removed.
26265         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26266         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26267         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26268         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26269
26270         [BZ #14138]
26271         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26272         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26273         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26274         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26275
26276         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26277         compat_symbol macros from <shlib-compat.h> rather than the underlying
26278         default_symbol_version and symbol_version macros, so that DEFAULT
26279         lines in shlib-versions are respected.
26280         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26281
26282 2012-08-01  Florian Weimer  <fweimer@redhat.com>
26283
26284         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26285         Declare with warn_unused_result.
26286         (setgid, setregid, setegid, setresgid): Likewise.
26287         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26288         Likewise.
26289         * WUR-REPORT: Remove set*id functions.
26290
26291 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
26292
26293         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26294
26295 2012-07-31  Roland McGrath  <roland@hack.frob.com>
26296
26297         [BZ #10191]
26298         * include/sys/socket.h (__libc_accept, __libc_accept4):
26299         Add attribute_hidden.
26300         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26301
26302         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26303         use of PTR_MANGLE.
26304         * inet/getnetgrent_r.c (setup): Likewise.
26305
26306         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26307
26308 2012-07-31  David S. Miller  <davem@davemloft.net>
26309
26310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26311
26312 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
26313
26314         [BZ #13629]
26315         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26316         value between 1.0 and 2.0 and smaller part has absolute value less
26317         than 1.0.
26318         * math/s_clog10.c (__clog10): Likewise.
26319         * math/s_clog10f.c (__clog10f): Likewise.
26320         * math/s_clog10l.c (__clog10l): Likewise.
26321         * math/s_clogf.c (__clogf): Likewise.
26322         * math/s_clogl.c (__clogl): Likewise.
26323         * math/libm-test.inc (clog_test): Add more tests.
26324         (clog10_test): Likewise.
26325         * sysdeps/i386/fpu/libm-test-ulps: Update.
26326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26327
26328 2012-07-31  Florian Weimer  <fweimer@redhat.com>
26329
26330         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26331         Exit with zero in case no suitable GID is found, and write a
26332         message to standard error.
26333
26334 2012-07-30  Roland McGrath  <roland@hack.frob.com>
26335
26336         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26337         rather than to 1.
26338         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26339         (MAXPATHLEN): Removed.
26340         (NOGROUP, NODEV): New macros.
26341         (setbit, clrbit, isset, isclr): New macros.
26342         (howmany, roundup, powerof2): New macros.
26343         (DEV_BSIZE): New macro.
26344
26345         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26346         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26347
26348         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26349         definition on [!__NO_LONG_DOUBLE_MATH].
26350
26351         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26352         PTR_MANGLE and PTR_DEMANGLE.
26353
26354         * socket/accept4.c (accept4): Rename to __libc_accept4.
26355         Define accept4 as a weak alias.
26356
26357         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26358         on [_DIRENT_HAVE_D_TYPE].
26359         * io/ftw.c (ftw_dir): Likewise.
26360
26361         * io/xmknod.c (__xmknod): Don't check PATH for being null.
26362
26363         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26364
26365         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26366         Use the BSD numbers rather than the arbitrary ones we had.
26367         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26368         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26369         (SIGXCPU, SIGXFSZ): New macros.
26370         (_NSIG): Now 32.
26371
26372         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26373         initializer on [_LIBC_REENTRANT].
26374
26375         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26376         definitions inside [_POSIX_MAPPED_FILES].
26377
26378         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26379
26380         * dirent/opendir.c: Include <fcntl.h>.
26381
26382         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26383         (__libc_getspecific): Likewise.
26384         (__libc_key_create): Likewise.
26385
26386         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26387         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26388         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26389         (tmpfile64): Define as alias.
26390         * sysdeps/wordsize-64/tmpfile.c: File removed.
26391         * sysdeps/wordsize-64/tmpfile64.c: File removed.
26392         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26393         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26394
26395         * stdio-common/vfscanf.c: Include <stdbool.h>.
26396         * nss/makedb.c: Likewise.
26397         * stdio-common/_i18n_number.h: Likewise.
26398         * argp/argp-help.c: Likewise.
26399         * posix/wordexp.c: Likewise.
26400         * sysdeps/posix/spawni.c: Likewise.
26401         * nss/nss_files/files-initgroups.c: Likewise.
26402         * stdio-common/reg-modifier.c: Include <stdlib.h>.
26403         * nss/nss_files/files-initgroups.c: Likewise.
26404         * nss/nss_db/db-netgrp.c: Likewise.
26405         * nss/nss_db/db-initgroups.c: Likewise.
26406         * io/fchmodat.c: Include <sys/stat.h>.
26407
26408         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26409         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26410
26411         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26412         [HAVE_MMAP].
26413
26414         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26415         Add multiple inclusion protection.
26416
26417 2012-07-27  David S. Miller  <davem@davemloft.net>
26418
26419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26420
26421 2012-07-27  Gary Benson  <gbenson@redhat.com>
26422
26423         [BZ #14298]
26424         * elf/rtld.c: Include <stap-probe.h>.
26425         (dl_main): Added static probes "init_start" and "init_complete".
26426         * elf/dl-load.c: Include <stap-probe.h>.
26427         (lose): Take new parameter "nsid".
26428         Added static probe "map_failed".
26429         (_dl_map_object_from_fd): Pass namespace id to lose.
26430         Added static probe "map_start".
26431         (open_verify): Pass namespace id to lose.
26432         * elf/dl-open.c: Include <stap-probe.h>.
26433         (dl_open_worker) Added static probes "map_complete", "reloc_start"
26434         and "reloc_complete".
26435         * elf/dl-close.c: Include <stap-probe.h>.
26436         (_dl_close_worker): Added static probes "unmap_start" and
26437         "unmap_complete".
26438         * elf/rtld-debugger-interface.txt: New file documenting the above.
26439
26440 2012-07-26  Roland McGrath  <roland@hack.frob.com>
26441
26442         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26443         rather than a string variable.
26444         * sunrpc/rpc_main.c (h_output): Likewise.
26445         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26446
26447 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
26448
26449         * inet/check_native.c: New file.
26450
26451 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
26452
26453         [BZ #13629]
26454         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26455         if larger part has absolute value 1.0.
26456         * math/s_clog10.c (__clog10): Likewise.
26457         * math/s_clog10f.c (__clog10f): Likewise.
26458         * math/s_clog10l.c (__clog10l): Likewise.
26459         * math/s_clogf.c (__clogf): Likewise.
26460         * math/s_clogl.c (__clogl): Likewise.
26461         * math/libm-test.inc (clog_test): Add more tests.
26462         (clog10_test): Likewise.
26463         * sysdeps/i386/fpu/libm-test-ulps: Update.
26464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26465
26466         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26467         (pltexit): Likewise.
26468         (La_regs): Likewise.
26469         (La_retval): Likewise.
26470         (int_retval): Likewise.
26471         Update #error for removed macros to refer only to definitions in
26472         tst-audit.h.
26473         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26474         macro.
26475         (pltexit): Likewise.
26476         (La_regs): Likewise.
26477         (La_retval): Likewise.
26478         (int_retval): Likewise.
26479         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26480         macro.
26481         (pltexit): Likewise.
26482         (La_regs): Likewise.
26483         (La_retval): Likewise.
26484         (int_retval): Likewise.
26485         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26486         macro.
26487         (pltexit): Likewise.
26488         (La_regs): Likewise.
26489         (La_retval): Likewise.
26490         (int_retval): Likewise.
26491         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26492         macro.
26493         (pltexit): Likewise.
26494         (La_regs): Likewise.
26495         (La_retval): Likewise.
26496         (int_retval): Likewise.
26497         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26498         macro.
26499         (pltexit): Likewise.
26500         (La_regs): Likewise.
26501         (La_retval): Likewise.
26502         (int_retval): Likewise.
26503         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26504         macro.
26505         (pltexit): Likewise.
26506         (La_regs): Likewise.
26507         (La_retval): Likewise.
26508         (int_retval): Likewise.
26509         * sysdeps/generic/tst-audit.h: Update comment to refer only to
26510         macro definitions in tst-audit.h.
26511         * sysdeps/i386/tst-audit.h: New file.
26512         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26513         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26514         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26515         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26516         * sysdeps/sh/tst-audit.h: Likewise.
26517         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26518         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26519         * sysdeps/x86_64/tst-audit.h: Likewise.
26520
26521 2012-07-26  Andreas Jaeger  <aj@suse.de>
26522
26523         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26524         ptrace.
26525
26526         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26527         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26528         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26529         PTRACE_O_MASK.
26530         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26531         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26532         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26533
26534         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26535         value.
26536
26537         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26538         _sigsys.
26539         (si_call_addr, si_syscall, si_arch): Define new macro.
26540         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26541         _sigsys.
26542         (si_call_addr, si_syscall, si_arch): Define new marcro.
26543         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26544         _sigsys.
26545         (si_call_addr, si_syscall, si_arch): Define new macro.
26546         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26547         _sigsys.
26548         (si_call_addr, si_syscall, si_arch): Define new macro.
26549
26550 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
26551
26552         [BZ #13717]
26553         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26554         Change to 2.4.21 where previously 2.4.1.
26555         * sysdeps/unix/sysv/linux/configure: Regenerated.
26556         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26557         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26558         Linux kernel version.
26559         (__ASSUME_STD_AUXV): Remove.
26560         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26561         kernel version.
26562         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26563         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26564         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26565         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26566         (__ASSUME_NETLINK_SUPPORT): Likewise.
26567         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26568         (__no_netlink_support): Remove conditional definition.
26569         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26570         Remove.
26571         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26572         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26573         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26574         (if_nameindex_ioctl): Remove.
26575         (if_nameindex_netlink): Do not handle __no_netlink_support.
26576         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26577         code.
26578         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26579         Remove conditional code.
26580         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26581         code.
26582         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26583         unconditional.
26584         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26585         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26586         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26587         Remove.
26588         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26589         [!__ASSUME_STD_AUXV]: Remove conditional code.
26590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26591         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26592         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26594         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26595         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26596         code.
26597         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26599         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26600         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26601         conditional code.
26602         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26604         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26605         code.
26606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26607         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26608         conditional code.
26609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26610         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26611         code unconditional.
26612         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26613         conditional code.
26614         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26615         unconditional.
26616         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26617         conditional code.
26618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26619         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26620         unconditional.
26621         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26622         conditional code.
26623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26624         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26625         code unconditional.
26626         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26627         conditional code.
26628         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26629         unconditional.
26630         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26631         conditional code.
26632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26633         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26634         code unconditional.
26635         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26636         conditional code.
26637         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26638         unconditional.
26639         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26640         conditional code.
26641
26642 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
26643
26644         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26645         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26646         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26647         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26648         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26649         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26650         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26651         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26652         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26653         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26654         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26655         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26656         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26657         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26658         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26659         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26660         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26661         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26662         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26664         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26665         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26666         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26667
26668 2012-07-25  Florian Weimer  <fweimer@redhat.com>
26669
26670         * Versions.def: Add GLIBC_2.17.
26671         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26672         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26673         Introduce __libc_secure_getenv.
26674         * stdlib/Versions (2.17): Add secure_getenv
26675         (GLIBC_PRIVATE): Add __libc_secure_getenv.
26676         * stdlib/secure-getenv.c: Rename __secure_getenv to
26677         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
26678         symbol __secure_getenv for GLIBC_2.0.
26679         * stdlib/tst-secure-getenv.c: New.
26680         * stdlib/Makefile (tests): Add testcase.
26681         * manual/startup.texi (Environment Access): Document
26682         secure_getenv.
26683         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26684         __libc_secure_getenv.
26685         * inet/ruserpass.c (ruserpass): Likewise.
26686         * malloc/mtrace.c (mtrace): Likewise.
26687         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26688         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26689         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26690         * sysdeps/posix/tempname.c: Likewise.  Evaluate
26691         HAVE_SECURE_GETENV.
26692         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26693         __secure_getenv to __libc_secure_getenv.
26694         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26696         Likewise.
26697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26698         Likewise.
26699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26701         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26706
26707 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
26708
26709         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26710         (struct La_i86_retval): Likewise.
26711         (struct La_x86_64_regs): Likewise.
26712         (struct La_x86_64_retval): Likewise.
26713         (struct La_x32_regs): Likewise.
26714         (struct La_x32_retval): Likewise.
26715         (struct La_ppc32_regs): Likewise.
26716         (struct La_ppc32_retval): Likewise.
26717         (struct La_ppc64_regs): Likewise.
26718         (struct La_ppc64_retval): Likewise.
26719         (struct La_sh_regs): Likewise.
26720         (struct La_sh_retval): Likewise.
26721         (struct La_s390_32_regs): Likewise.
26722         (struct La_s390_32_retval): Likewise.
26723         (struct La_s390_64_regs): Likewise.
26724         (struct La_s390_64_retval): Likewise.
26725         (struct La_sparc32_regs): Likewise.
26726         (struct La_sparc32_retval): Likewise.
26727         (struct La_sparc64_regs): Likewise.
26728         (struct La_sparc64_retval): Likewise.
26729         (struct audit_ifaces): Remove architecture-specific pltenter and
26730         pltexit members.
26731         * sysdeps/i386/ldsodefs.h: New file.
26732         * sysdeps/powerpc/ldsodefs.h: Likewise.
26733         * sysdeps/s390/ldsodefs.h: Likewise.
26734         * sysdeps/sh/ldsodefs.h: Likewise.
26735         * sysdeps/sparc/ldsodefs.h: Likewise.
26736         * sysdeps/x86_64/ldsodefs.h: Likewise.
26737
26738 2012-07-25  Marek Polacek  <polacek@redhat.com>
26739
26740         [BZ #6808]
26741         * math/libm-test.inc (yn_test): Add another test.
26742         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26743         to ERANGE when the result is +-Inf.
26744         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26745         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26746         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26747         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26748
26749 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
26750
26751         * conform/data/time.h-data (NULL): Use macro-constant.  Require
26752         equal to 0.
26753         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
26754         clock_t.
26755         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
26756
26757 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
26758
26759         * configure.in <sysdeps resolving>: Correct printing
26760         Implies_before.
26761         * configure: Regenerate.
26762
26763 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
26764
26765         * math/w_ilogb.c: Include <limits.h>.
26766         * math/w_ilogbl.c: Likewise.
26767
26768 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26769
26770         * manual/lang.texi (__va_copy): Document primarily as ISO C99
26771         va_copy.  Document allowing for unavailable va_copy only as
26772         pre-C99 compatibility.
26773         * manual/string.texi (Copying and Concatenation): Use va_copy
26774         instead of __va_copy in concat example.
26775
26776 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
26777
26778         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26779         (__sendto): Use create_address_port.  Initialize APORT and deallocate
26780         it if not null.
26781
26782         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26783         with O_NOLINK passed to __file_name_lookup.
26784
26785         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26786         with O_NOLINK passed to __file_name_lookup.
26787
26788         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26789         negative N or less than NGIDS.
26790
26791         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26792         type to string_t.  Set ERANGE as errno and return it if NAME is not big
26793         enough.  Use memcpy instead of strncpy.
26794
26795 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26796
26797         * elf/Makefile (check-data): Remove.
26798         (localplt.data): New vpath directive.
26799         ($(objpfx)check-localplt.out): Use localplt.data from vpath
26800         instead of $(check-data).
26801         * scripts/data/localplt-generic.data: Move to ...
26802         * sysdeps/generic/localplt.data: ... here.
26803         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26804         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26805         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26807         ... here.
26808         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26810         ... here.
26811         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26813         ... here.
26814         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26816         ... here.
26817         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26819         ... here.
26820         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26822         ... here.
26823
26824 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26825
26826         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26827         PPC32 and PPC64 files.
26828         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26829         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26830
26831 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26832
26833         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26834         __makecontext_ret to ...
26835         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26836         ... here and call exit if uc_link is NULL.  New file.
26837         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26838         __makecontext_ret.S.
26839         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26840         __makecontext_ret to ...
26841         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26842         ... here and call exit if uc_link is NULL.  New file.
26843         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26844         __makecontext_ret.S.
26845
26846 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26847
26848         * elf/elf.h (R_390_IRELATIVE): New definition.
26849         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26850         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
26851         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26852         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26853         (elf_machine_lazy_rel): Likewise.
26854         * sysdeps/s390/dl-irel.h: New file.
26855         * sysdeps/s390/s390-64/memcpy.S: New asm code.
26856         * sysdeps/s390/s390-64/memset.S: New asm code.
26857         * sysdeps/s390/s390-64/memcmp.S: New asm code.
26858         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26859         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26860         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26861         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26862         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26863         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26864         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26865         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26866         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26867         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26868         * sysdeps/s390/s390-32/memcpy.S: New asm code.
26869         * sysdeps/s390/s390-32/memset.S: New asm code.
26870         * sysdeps/s390/s390-32/memcmp.S: New asm code.
26871
26872 2012-07-17  Marek Polacek  <polacek@redhat.com>
26873
26874         [BZ #14349]
26875         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26876         * sysdeps/s390/s390-64/configure.in: Likewise.
26877         * sysdeps/sparc/configure.in: Likewise.
26878         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26879         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26880         * sysdeps/i386/configure.in: Likewise.
26881         * sysdeps/x86_64/configure.in: Likewise.
26882         * sysdeps/sh/configure.in: Likewise.
26883         * sysdeps/s390/s390-32/configure: Regenerated.
26884         * sysdeps/s390/s390-64/configure: Likewise.
26885         * sysdeps/x86_64/configure: Likewise.
26886         * sysdeps/sh/configure: Likewise.
26887         * sysdeps/powerpc/powerpc64/configure: Likewise.
26888         * sysdeps/powerpc/powerpc32/configure: Likewise.
26889         * sysdeps/sparc/configure: Likwise.
26890         * sysdeps/i386/configure: Likewise.
26891
26892         * elf/dl-open.c: Comment fixes.
26893
26894 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
26895
26896         * Makefile [CXX] (check-data): Remove.
26897         [CXX] (c++-types.data): New vpath directive.
26898         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26899         vpath.  Do not allow for C++ type data being missing.
26900         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26901         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26902         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26903         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26904         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26905         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26906         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26908         ... here.
26909         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26911         ... here.
26912         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26914         ... here.
26915         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26917         ... here.
26918         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26920         ... here.
26921         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26923         ... here.
26924         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26926         ... here.
26927         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26929
26930         * elf/tls-macros.h (TLS_LE): Move architecture-specific
26931         definitions to architecture-specific files.
26932         (TLS_IE): Likewise.
26933         (TLS_LD): Likewise.
26934         (TLS_GD): Likewise.
26935         * sysdeps/i386/tls-macros.h: New file.
26936         * sysdeps/powerpc/tls-macros.h: Likewise.
26937         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26938         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26939         * sysdeps/sh/tls-macros.h: Likewise.
26940         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26941         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26942         * sysdeps/x86_64/tls-macros.h: Likewise.
26943
26944 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26945
26946         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26947         zero value for regular exit case.
26948
26949         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26950         (__start_context): Preserve zero value for regular exit case.
26951
26952 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26953             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26954
26955         * manual/setjmp.texi (setcontext): Clarify normal process
26956         termination when uc_link is the null pointer.
26957         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26958         exit call.
26959
26960 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
26961
26962         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26963         preprocessor.  Test for each exception mask separately.
26964
26965 2012-07-16  Andreas Jaeger  <aj@suse.de>
26966
26967         * po/ru.po: Update from translation team.
26968
26969 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
26970
26971         * conform/data/string.h-data (NULL): Use macro-constant.  Require
26972         equal to 0.
26973         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26974         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26975         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26976         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26977         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26978
26979 2012-07-13  Andreas Jaeger  <aj@suse.de>
26980
26981         * po/fr.po: Update from translation team.
26982
26983 2012-07-12  Marek Polacek  <polacek@redhat.com>
26984
26985         [BZ #14173]
26986         * math/libm-test.inc (yn_test): Add test for BZ #14173.
26987         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26988         loop condition.
26989
26990 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
26991
26992         [BZ #13717]
26993         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26994         Change to 2.4.1 where previously 2.4.0.
26995         * sysdeps/unix/sysv/linux/configure: Regenerated.
26996         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26997         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26998         version.
26999         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27000         (__ASSUME_AT_CLKTCK): Remove.
27001         (__ASSUME_AT_PAGESIZE): Likewise.
27002         (__ASSUME_AT_XID): Likewise.
27003         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27004         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27005         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27006         unconditionally.
27007         (HAVE_AUX_PAGESIZE): Likewise.
27008         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27009         [__ASSUME_AT_CLKTCK]: Make code unconditional.
27010         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27011
27012 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
27013
27014         [BZ #14307]
27015         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27016         the temporary buffer used to invoke __gethostbyname2_r,
27017         __gethostbyaddr_r and gethostbyname4_r to make room for struct
27018         host_data / struct gaih_addrtuple.
27019         * resolv/nss_dns/dns-host.c (global scope): Move definition of
27020         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27021         header file nss/nsswitch.h.
27022         * nss/nsswitch.h (global scope): Add definition of implementation
27023         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27024         resolv/nss_dns/dns-host.c).
27025
27026 2012-07-11  Andreas Jaeger  <aj@suse.de>
27027
27028         * po/fr.po: Update from translation team.
27029
27030         * po/sv.po: Update from translation team
27031         * po/fr.po: Another update from translation team.
27032
27033 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27034
27035         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27036         for subnormals or multiply small sinh result by itself.
27037         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27039
27040 2012-07-11  David S. Miller  <davem@davemloft.net>
27041
27042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27043
27044 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
27045
27046         [BZ #14347]
27047         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27048         (INTERNAL_MARK): Shift it here.
27049
27050 2012-07-10  Marek Polacek  <polacek@redhat.com>
27051
27052         [BZ #14151]
27053         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
27054         libc_cv_asm_global_directive with .globl.
27055         * configure: Regenerated.
27056         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27057         with .globl.
27058         * sysdeps/i386/configure: Regenerated.
27059         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27060         with .globl.
27061         * sysdeps/x86_64/configure: Regenerated.
27062         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27063         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27064         * elf/tst-unique2mod2.c: Likewise.
27065         * elf/tst-unique2mod1.c: Likewise.
27066         * elf/tst-unique1mod2.c: Likewise.
27067         * elf/tst-unique1mod1.c: Likewise.
27068         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27069         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27070         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27071         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27072         * sysdeps/mach/sysdep.h: Likewise.
27073         * sysdeps/i386/sysdep.h: Likewise.
27074         * sysdeps/i386/i386-mcount.S: Likewise.
27075         * sysdeps/x86_64/_mcount.S: Likewise.
27076         * sysdeps/x86_64/sysdep.h: Likewise.
27077         * sysdeps/sh/_mcount.S: Likewise.
27078         * sysdeps/sh/sysdep.h: Likewise.
27079         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27080         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27081         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27082         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27083         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27084         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27085         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27086         * locale/localeinfo.h: Likewise.
27087         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27088         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27089
27090 2012-07-09  Roland McGrath  <roland@hack.frob.com>
27091
27092         [BZ #14336]
27093         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27094         system".
27095         * manual/message.texi (The Uniforum approach): Likewise.
27096         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27097         (glibc iconv Implementation): Likewise.
27098
27099 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
27100
27101         [BZ #14337]
27102         * math/s_clog.c (__clog): Avoid scaling a value down where that
27103         could result in underflow.
27104         * math/s_clog10.c (__clog10): Likewise.
27105         * math/s_clog10f.c (__clog10f): Likewise.
27106         * math/s_clog10l.c (__clog10l): Likewise.
27107         * math/s_clogf.c (__clogf): Likewise.
27108         * math/s_clogl.c (__clogl): Likewise.
27109         * math/libm-test.inc (clog_test): Add more tests.
27110         (clog10_test): Likewise.
27111         * sysdeps/i386/fpu/libm-test-ulps: Update.
27112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27113
27114 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
27115
27116         [BZ #14283]
27117         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27118         by 7 not 8 to examine high bit of fractional part.
27119
27120         [BZ #14042]
27121         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27122         for call to __mcount_internal.
27123         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27124         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27125         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27126
27127 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
27128
27129         [BZ #14154]
27130         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27131         approximation for values within 0x1p-13f of an odd multiple of
27132         pi/4.
27133         * math/libm-test.inc (tan_test): Do not allow spurious underflow
27134         exception.  Add more tests.
27135         * sysdeps/i386/fpu/libm-test-ulps: Update.
27136
27137         [BZ #6778]
27138         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27139         inputs and return -1 for them.  Do not check for +Inf in case not
27140         reachable for +Inf.
27141         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27142         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27143         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27144         and return -1 for them.  Do not check for +Inf in case not
27145         reachable for +Inf.
27146         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27147         define.
27148         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27149         and return -1 for them.  Do not check for +Inf in case not
27150         reachable for +Inf.
27151         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
27152         spurious underflow.
27153         * sysdeps/i386/fpu/libm-test-ulps: Update.
27154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27155
27156 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
27157
27158         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27159
27160 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
27161
27162         [BZ #14157]
27163         [BZ #14331]
27164         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27165         could result in spurious underflow.  Scale down values above
27166         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27167         * math/s_csqrtf.c (__csqrtf): Likewise.
27168         * math/s_csqrtl.c (__csqrtl): Likewise.
27169         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
27170         spurious underflow.
27171         * sysdeps/i386/fpu/libm-test-ulps: Update.
27172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27173
27174 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
27175
27176         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27177         xopen-msg.sed.
27178         * catgets/xopen-msg.awk: New file.
27179         * catgets/xopen-msg.sed: Removed.
27180
27181         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27182         po2text.sed.
27183         * intl/po2test.awk: New file.
27184         * intl/po2test.sed: Removed.
27185
27186 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
27187
27188         [BZ #14328]
27189         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27190         or multiply small sinh result by itself.
27191         * math/s_ctanf.c (__ctanf): Likewise.
27192         * math/s_ctanh.c (__ctanh): Likewise.
27193         * math/s_ctanhf.c (__ctanhf): Likewise.
27194         * math/s_ctanhl.c (__ctanhl): Likewise.
27195         * math/s_ctanl.c (__ctanl): Likewise.
27196         * math/libm-test.inc (ctan_test_tonearest): New function.
27197         (ctan_test_towardzero): Likewise.
27198         (ctan_test_downward): Likewise.
27199         (ctan_test_upward): Likewise.
27200         (ctanh_test_tonearest): Likewise.
27201         (ctanh_test_towardzero): Likewise.
27202         (ctanh_test_downward): Likewise.
27203         (ctanh_test_upward): Likewise.
27204         (main): Call these new functions.
27205         * sysdeps/i386/fpu/libm-test-ulps: Update.
27206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27207
27208 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
27209
27210         * .gitignore: Delete /ports entry.
27211
27212 2012-07-03  Andreas Jaeger  <aj@suse.de>
27213
27214         * po/bg.po: Update from translation team.
27215         * po/cs.po: Likewise.
27216         * po/de.po: Likewise.
27217         * po/hr.po: Likewise.
27218         * po/nl.pl: Likewise.
27219         * po/pl.po: Likewise.
27220         * po/vi.po: Likewise.
27221
27222 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
27223
27224         * Makeconfig [!+link] (+link-before-libc): New variable.
27225         [!+link] (+link-after-libc): Likewise.
27226         [!+link] (+link-tests): Likewise.
27227         [!+link] (+link): Define in terms of $(+link-before-libc) and
27228         $(+link-after-libc).
27229         [!+link-static] (+link-static-before-libc): New variable.
27230         [!+link-static] (+link-static-after-libc): Likewise.
27231         [!+link-static] (+link-static-tests): Likewise.
27232         [!+link-static] (+link-static): Define in terms of
27233         $(+link-static-before-libc) and $(+link-static-after-libc).
27234         [build-shared] (link-libc-before-gnulib): New variable.
27235         [build-shared] (link-libc-tests): Likewise.
27236         [build-shared] (link-libc): Define in terms of
27237         $(link-libc-before-gnulib).
27238         [!build-shared] (link-libc-tests): New variable.
27239         (link-libc-static-tests): New variable.
27240         [!gnulib] (gnulib-arch): New variable.
27241         [!gnulib] (gnulib-tests): Likewise.
27242         [!gnulib] (static-gnulib-arch): Likewise.
27243         [!gnulib] (static-gnulib-tests): Likewise.
27244         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
27245         Define with "=" instead of ":=".
27246         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
27247         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
27248         * Rules (binaries-all-notests): New variable.
27249         (binaries-all-tests): Likewise.
27250         (binaries-static-notests): Likewise.
27251         (binaries-static-tests): Likewise.
27252         (binaries-all): Define using $(binaries-all-notests) and
27253         $(binaries-all-tests).
27254         (binaries-static): Define using $(binaries-static-notests) and
27255         $(binaries-static-tests).
27256         (binaries-shared-tests): New variable.
27257         (binaries-shared-notests): Likewise.
27258         (binaries-shared): Remove variable.
27259         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27260         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27261         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27262         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27263         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27264         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27265         * elf/Makefile (sln-modules): New variable.
27266         (extra-objs): Add $(sln-modules:=.o).
27267         (ldconfig-modules): Add static-stubs.
27268         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27269         * elf/static-stubs.c: New file.
27270
27271         [BZ #14283]
27272         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27273         by 7 not 8 to examine high bit of fractional part.  Use volatile
27274         variables when splitting into final array of floats if
27275         __FLT_EVAL_METHOD__ != 0.
27276         * math/libm-test.inc (cos_test): Add another test.
27277         (sin_test): Likewise.
27278         * sysdeps/i386/fpu/libm-test-ulps: Update.
27279
27280         [BZ #14273]
27281         * math/libm-test.inc (cosh_test): Add more tests.
27282
27283         * version.h (RELEASE): Set to "development".
27284         (VERSION): Set to "2.16.90".
27285
27286 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
27287
27288         * NEWS: Update copyright. Remove last-updated date.
27289         Mention math library bug fixes and timezone data changes.
27290         * README: Mention GNU/Hurd, x32, and HPPA support status.
27291
27292 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
27293
27294         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27295
27296 2012-06-27  Andreas Jaeger  <aj@suse.de>
27297
27298         * manual/contrib.texi (Contributors): Add Samuel Thibault.
27299
27300 2012-06-25  Andreas Jaeger  <aj@suse.de>
27301
27302         * sysdeps/s390/fpu/libm-test-ulps: Update.
27303
27304 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
27305             Thomas Schwinge  <thomas@codesourcery.com>
27306
27307         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27308         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27309         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27310         fanotify_mark.
27311
27312 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
27313
27314         * sysdeps/mach/start.c: Remove file.
27315         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27316         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27317         * sysdeps/sh/init-first.c: Likewise.
27318
27319         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27320         registers for frame unwinding purposes, add CFI directives.
27321         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27322         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27323         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27324         Likewise.
27325
27326         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27327         __fortify_fail returning.
27328         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27329
27330         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27331         sysdeps/sh/____longjmp_chk.S.
27332         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27333         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27334         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27335         (gen-as-const-headers): Append sigaltstack-offsets.sym.
27336
27337         * sysdeps/sh/abort-instr.h: New file.
27338         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27339         process in case exit returns.
27340
27341         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27342         initialize the GOT register before use.
27343
27344         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27345         calculation of ARGC > 4.
27346
27347         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27348         meaningful names to some local labels.
27349
27350 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27351             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27352
27353         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27354         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27355         (__arch_compare_and_exchange_val_16_acq): Likewise.
27356         (__arch_compare_and_exchange_val_32_acq): Likewise.
27357         (atomic_exchange_and_add): Fix gUSA sequence.
27358         (atomic_add): Likewise.
27359         (atomic_add_negative): Likewise.
27360         (atomic_add_zero): Likewise.
27361         (atomic_bit_test_set): Likewise.
27362
27363 2012-06-22  Andreas Schwab  <schwab@redhat.com>
27364
27365         [BZ #13579]
27366         * include/link.h (struct link_map): Add l_free_initfini.
27367         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27368         l_initfini.
27369         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27370         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27371         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27372         set.
27373
27374 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
27375
27376         * configure.in: Use AC_LANG_SOURCE.
27377         * configure: Regenerate.
27378
27379 2012-06-22  Roland McGrath  <roland@hack.frob.com>
27380
27381         * configure.in (libc_cv_localstatedir): New substituted variable.
27382         * configure: Regenerated.
27383         * config.make.in (localstatedir): New variable, substituted from
27384         libc_cv_localstatedir.
27385         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27386         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27387         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27388         * sysdeps/gnu/configure: Regenerated.
27389
27390 2012-06-21  Jeff Law  <law@redhat.com>
27391
27392         [BZ #14277]
27393         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27394         free.  Simplify list management for _LIBC case.
27395
27396 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
27397
27398         [BZ #14273]
27399         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27400         Clear sign bit of 64-bit integer value before comparing against
27401         overflow value.
27402
27403         * sysdeps/mach/configure: Regenerated.
27404
27405 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
27406
27407         [BZ #14278]
27408         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27409
27410 2012-06-21  Jeff Law  <law@redhat.com>
27411
27412         [BZ #13882]
27413         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
27414         uint16_t for elements in the "seen" array to avoid char overflows.
27415         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27416         * elf/dl-open.c (dl_open_worker): Likewise.
27417
27418 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
27419
27420         * scripts/list-sources.sh: Scan PORTS for translations.
27421         * po/libc.pot: Regenerated.
27422
27423 2012-06-21  Andreas Jaeger  <aj@suse.de>
27424
27425         [BZ #12194]
27426         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27427         warning.
27428         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27429         * bits/byteswap-16.h (__bswap_16): Likewise.
27430         * bits/byteswap.h (__bswap_constant_16): Likewise.
27431
27432 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
27433
27434         [BZ #14117]
27435         * sysdeps/i386/fpu_control.h: Removed.
27436         * sysdeps/x86_64/fpu_control.h: Moved to ...
27437         * sysdeps/x86/fpu_control.h: Here.
27438
27439         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27440         (_FPU_SETCW): Likewise.
27441
27442 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
27443
27444         [BZ #14117]
27445         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27446         * sysdeps/x86/fpu/bits/mathinline.h: This.
27447         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27448
27449         [BZ #14050]
27450         [BZ #14117]
27451         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27452         functions if __x86_64__ is defined.
27453
27454 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
27455
27456         * string/endian.h: Add !__ASSEMBLER__ condition for including
27457         conversion interfaces.
27458
27459 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
27460
27461         [BZ #14241]
27462         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27463         of ABS(x) in calculating zero to negative powers other than odd
27464         integers.
27465         * math/libm-test.inc (pow_test): Add more tests.
27466
27467 2012-06-15  Andreas Jaeger  <aj@suse.de>
27468
27469         * manual/contrib.texi (Contributors): Update entry of Liubov
27470         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27471         Machado Filho.
27472
27473 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
27474
27475         * string/string.h: Add __wur to GNU version of strerror_r.
27476
27477 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
27478
27479         [BZ #14229]
27480         * string/Makefile (tests): Add tst-strtok_r.
27481         * string/tst-strtok_r.c: New file.
27482         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27483         RAX_LP/RDX_LP on SAVE_PTR.
27484
27485 2012-06-14  Roland McGrath  <roland@hack.frob.com>
27486
27487         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27488
27489 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
27490
27491         * libm_test.inc (csqrt_test): Allow more spurious underflow
27492         exceptions.
27493         (j0_test): Likewise.
27494         (j1_test): Likewise.
27495         (y0_test): Likewise.
27496         (y1_test): Likewise.
27497
27498 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
27499
27500         * po/Makefile (libc.pot): Use UTF-8 charset.
27501
27502 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
27503
27504         [BZ #14210]
27505         Suppress sign-conversion warning from FD_SET.
27506         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27507         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27508         not unsigned long int.
27509         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27510
27511 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
27512
27513         [BZ #14050]
27514         [BZ #14117]
27515         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27516         __extern_always_inline instead of __extern_inline.
27517         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27518         (__signbit): Likewise.
27519         (__signbitl): Support C++ namespace.
27520         (lrintf): New inline function.
27521         (lrint): Likewise.
27522         (llrintf): Likewise.
27523         (llrint): Likewise.
27524         (fmaxf): Likewise.
27525         (fmax): Likewise.
27526         (fminf): Likewise.
27527         (fmin): Likewise.
27528         (rint): Likewise.
27529         (rintf): Likewise.
27530         (ceil): Likewise.
27531         (ceilf): Likewise.
27532         (floor): Likewise.
27533         (floorf): Likewise.
27534         (nearbyint): Likewise.
27535         (nearbyintf): Likewise.
27536
27537 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
27538
27539         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27540         non-default versions.
27541
27542 2012-06-11  Roland McGrath  <roland@hack.frob.com>
27543
27544         [BZ #14218]
27545         * manual/argp.texi (Argp): Reword argp_parse description slightly.
27546
27547 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
27548
27549         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27550         (FE_UPWARD, FE_DOWNWARD): Don't define.
27551         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27552         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27553
27554         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27555         reading it.
27556         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27557         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27558
27559 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27560
27561         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27562         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27563         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27564         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27565
27566 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
27567
27568         [BZ #14117]
27569         * sysdeps/i386/fpu/bits/fenv.h: Removed.
27570         * sysdeps/i386/fpu/Implies: New file.
27571         * sysdeps/x86_64/fpu/Implies: Likewise.
27572         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27573         * sysdeps/x86/fpu/bits/fenv.h: This.
27574
27575         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27576         __SSE_MATH__.
27577
27578 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27579
27580         [BZ #14134]
27581         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27582         character 0xffff that matches the last element of the
27583         conversion table.
27584
27585 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27586
27587         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27588         fmodl commit.
27589
27590 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27591
27592         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27593         values higher than 25.6283.
27594
27595 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27596
27597         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27598         subnormal exponent extraction and add some __builtin_expect.
27599         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27600         Fix for subnormal mantissa calculation.
27601
27602 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
27603
27604         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27605         cpu2 is -1 and errno is not ENOSYS.
27606
27607 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
27608
27609         [BZ #14117]
27610         * sysdeps/i386/i486/bits/string.h: Renamed to ...
27611         * sysdeps/x86/bits/string.h: This.
27612         * sysdeps/x86_64/bits/string.h: Removed.
27613
27614         * sysdeps/i386/i486/bits/string.h: Define inline functions only
27615         if not compiling for x86-64, but compiling for >= i486.
27616
27617         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27618         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27619
27620         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27621         New macro from Linux kernel 3.4.0.
27622         (FP_XSTATE_MAGIC2): Likewise.
27623         (FP_XSTATE_MAGIC2_SIZE): Likewise.
27624         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27625         (struct _fpx_sw_bytes): New struct.
27626         (struct _xsave_hdr): Likewise.
27627         (struct _ymmh_state): Likewise.
27628         (struct _xstate): Likewise.
27629
27630         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27631         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27632         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27633         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27634         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27635         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27636
27637         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27638         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27639         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27640         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27641         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27642         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27643
27644 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27645
27646         [BZ #13743]
27647         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27648         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27649         (sysdep_headers): Include sys/platform/ppc.h.
27650         * sysdeps/powerpc/test-gettimebase.c: Test for
27651         __ppc_get_timebase() to catch future ISA opcode/insn changes.
27652         * manual/Makefile (appendices): Include platform.texi.
27653         * manual/contrib.texi (Contributors): Update @node pointers.
27654         * manual/maint.texi (Maintenance): Likewise.
27655         (Platform): New node.
27656         * manual/platform.texi: New file.  Document the new features.
27657
27658 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27659             Jakub Jelinek  <jakub@redhat.com>
27660
27661         [BZ #14188]
27662         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27663         where __builtin_expect is unavailable.
27664
27665 2012-06-03  David S. Miller  <davem@davemloft.net>
27666
27667         * stdlib/longlong.h: Updated from GCC.
27668
27669 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
27670
27671         [BZ #14042]
27672         * sysdeps/powerpc/powerpc32/mcount.c: New file.
27673         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27674         __mcount_internal.
27675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27676         (GLIBC_2.16): Likewise.
27677
27678 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27679
27680         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27681
27682 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27683
27684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27685         (default-abi): New variable.
27686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27687         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27688         variable.
27689         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27690         Likewise.
27691         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27692         Likewise.
27693         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27694         Likewise.
27695
27696         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27697         definition.  Document in comment.
27698
27699 2012-06-01  David S. Miller  <davem@davemloft.net>
27700
27701         * stdlib/longlong.h: Updated from GCC.
27702
27703 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27704
27705         [BZ #14117]
27706         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27707         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27708         sys/debugreg.h sys/io.h here.
27709         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27710         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27711         sys/io.h.
27712         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27713         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27714         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27715         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27716         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27717         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27718
27719         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27720         Define only if __x86_64__ is defined.
27721
27722 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27723
27724         [BZ #14048]
27725         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27726         Use int64_t for variable i.
27727         * math/libm-test.inc (fmod_test): Add more tests.
27728
27729         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27730         z computation is not scheduled after fetestexcept.
27731         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27732         Use math_force_eval instead of asm to ensure calculation scheduled
27733         before exception test.
27734         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27735         Ensure a1 + u.d computation is not scheduled after fetestexcept.
27736
27737 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
27738
27739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27740         computation is not scheduled after fetestexcept.
27741
27742 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27743
27744         [BZ #14117]
27745         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27746         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27747
27748 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27749
27750         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27751         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27752
27753 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27754
27755         [BZ #14117]
27756         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27757         <bits/wordsize.h>.
27758         (__WCHAR_MIN): Support __WORDSIZE == 64.
27759         (__WCHAR_MAX): Likewise.
27760
27761         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27762         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27763
27764         [BZ #14183]
27765         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27766         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27767
27768         [BZ #14117]
27769         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27770         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27771
27772         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27773         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27774
27775         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27776         Defined to 1 if __x86_64__ isn't defined.
27777         (_STAT_VER_LINUX_OLD): New.
27778         (st_atime): Remove duplicate.
27779         (st_mtime): Likewise.
27780         (st_ctime): Likewise.
27781
27782 2012-05-31  David S. Miller  <davem@davemloft.net>
27783
27784         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27785         entries.
27786
27787 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
27788
27789         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27790         gen-libm-test.pl.
27791
27792         [BZ #14132]
27793         * elf/dl-reloc.c: Include <_itoa.h>.
27794         (_dl_reloc_bad_type): Remove use of INTUSE.
27795         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27796         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27797         * stdio-common/psiginfo.c (psiginfo): Likewise.
27798         * stdio-common/psignal.c (psignal): Likewise.
27799         * string/strsignal.c (strsignal): Likewise.
27800         * include/signal.h (_sys_siglist): Declare hidden proto.
27801         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
27802         INTVARDEF with libc_hidden_data_def.
27803         * stdio-common/itoa-udigits.c: Likewise.
27804         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27805         (_itoa_lower_digits_internal): Remove declaration.
27806         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27807         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27808         (_sys_sigabbrev_internal): Remove aliases.
27809         (_sys_siglist): Define hidden alias.
27810
27811 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
27812
27813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27814         bits/sysctl.h.
27815
27816 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27817
27818         [BZ #14117]
27819         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27820         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27821
27822         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27823         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27824         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27825         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27826         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27827         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27828
27829         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27830         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27831         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27832
27833         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27834         with __addr.
27835         (insw): Likewise.
27836         (insl): Likewise.
27837         (outsb): Likewise.
27838         (outsw): Likewise.
27839         (outsl): Likewise.
27840
27841         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27842         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27843         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27844
27845         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27846         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27847         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27848         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27849         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27850         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27851
27852         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27853         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27854
27855         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27856         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27857
27858         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27859         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27860         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27861
27862         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27863         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27864         to ...
27865         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27866
27867         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27868         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27869         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27870
27871         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27872         for x86-64.
27873         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27874
27875 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
27876
27877         * math/math.h (M_El): Use two more decimal places.
27878         (M_LOG2El): Likewise.
27879         (M_LOG10El): Likewise.
27880         (M_LN2l): Likewise.
27881         (M_LN10l): Likewise.
27882         (M_PIl): Likewise.
27883         (M_PI_2l): Likewise.
27884         (M_PI_4l): Likewise.
27885         (M_1_PIl): Likewise.
27886         (M_2_PIl): Likewise.
27887         (M_2_SQRTPIl): Likewise.
27888         (M_SQRT2l): Likewise.
27889         (M_SQRT1_2l): Likewise.
27890
27891 2012-05-31  David S. Miller  <davem@davemloft.net>
27892
27893         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27894         values between float registers.
27895         * sysdeps/sparc/sparc64/memset.S: Likewise.
27896         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27897
27898 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
27899
27900         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27901         -D_FORTIFY_SOURCE=1.
27902         (CPPFLAGS-tst-longjmp_chk.c): Define.
27903         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27904         (CPPFLAGS-tst-longjmp_chk2.c): Define.
27905         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27906         CFLAGS-tst-wchar-h.c.
27907
27908 2012-05-31  Marek Polacek  <polacek@redhat.com>
27909
27910         [BZ #14132]
27911         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27912         __endmntent_internal): Remove declaration.
27913         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27914         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27915         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27916
27917 2012-05-30  David S. Miller  <davem@davemloft.net>
27918
27919         * sysdeps/sparc/sparc32/soft-fp/q_util.c
27920         (___Q_simulate_exceptions): Use real FP ops rather than writing
27921         into the %fsr.
27922         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27923         Likewise.
27924
27925 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27926
27927         [BZ #14117]
27928         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27929         * sysdeps/x86/bits/xtitypes.h: This.
27930
27931         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27932         * sysdeps/x86/bits/wordsize.h: This.
27933
27934         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27935         * sysdeps/x86/bits/huge_vall.h: This.
27936
27937         * sysdeps/i386/bits/select.h: Removed.
27938         * sysdeps/x86_64/bits/select.h: Renamed to ...
27939         * sysdeps/x86/bits/select.h: This.
27940
27941         * sysdeps/i386/bits/setjmp.h: Removed.
27942         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27943         * sysdeps/x86/bits/setjmp.h: This.
27944
27945         * sysdeps/i386/bits/mathdef.h: Removed.
27946         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27947         * sysdeps/x86/bits/mathdef.h: This.
27948
27949 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
27950
27951         [BZ #14132]
27952         * include/sys/socket.h (__connect_internal)
27953         (__libc_sa_len_internal): Remove declaration.
27954         (__connect, __libc_sa_len): Declare hidden_proto.
27955         (SA_LEN): Remove use of INTUSE.
27956         * socket/connect.c: Add libc_hidden_def.
27957         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27958         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27959         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27960         alias.
27961         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27962         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27963         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27964         of adding _internal alias.
27965
27966 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27967
27968         [BZ #14117]
27969         * sysdeps/i386/bits/link.h: Removed.
27970         * sysdeps/i386/bits/linkmap.h: Likewise.
27971         * sysdeps/x86_64/bits/link.h: Renamed to ...
27972         * sysdeps/x86/bits/link.h: This.
27973         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27974         * sysdeps/x86/bits/linkmap.h: This.
27975
27976         * sysdeps/i386/bits/endian.h: Removed.
27977         * sysdeps/x86_64/bits/endian.h: Renamed to ...
27978         * sysdeps/x86/bits/endian.h: This.
27979
27980         * sysdeps/i386/bits/byteswap.h: Removed.
27981         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27982         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27983         * sysdeps/x86/bits/byteswap.h: This.
27984         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27985         * sysdeps/x86/bits/byteswap-16.h: This.
27986         * sysdeps/i386/Implies: Add x86.
27987         * sysdeps/x86_64/Implies: Likewise.
27988
27989 2012-05-30  David S. Miller  <davem@davemloft.net>
27990
27991         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27992         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27993         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27994         (FP_TRAPPING_EXCEPTIONS): Define.
27995         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27996         (FP_TRAPPING_EXCEPTIONS): Define.
27997         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27998         subnormals only when inexact has been signalled or underflow
27999         exceptions are enabled.
28000         (_FP_PACK_CANONICAL): Likewise.
28001
28002 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28003
28004         [BZ #14183]
28005         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28006         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28007
28008 2012-05-30  Richard Henderson  <rth@twiddle.net>
28009
28010         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28011         with #ifndef NOT_IN_libc.
28012
28013         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
28014         marked to avoid plt entry.
28015
28016 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28017
28018         [BZ #14112]
28019         * Makeconfig (default-abi): New macro.
28020         (abi-includes): Likewise.
28021         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
28022         $(abi-$(default-abi)-lib-soname) for soname if defined.
28023         ($(common-objpfx)gnu/lib-names.stmp): Generate from
28024         abi-variants.
28025         * Makefile (installed-stubs): Likewise.
28026         * include/stubs-biarch.h: Removed.
28027         * scripts/lib-names.awk: Only handle one library at a time.
28028         * scripts/soversions.awk: Remove WORDSIZE support.
28029         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28030         entries.
28031         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28032         Removed.
28033         (syscall-list-default-condition): Likewise.
28034         (syscall-list-default-condition): Likewise.
28035         (syscall-list-includes): Likewise.
28036         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28037         syscall-list-* with abi-*.  Handle undefined abi-variants.
28038         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28039         * sysdeps/unix/sysv/linux/i386/Implies: New file.
28040         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28041         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28042         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28043         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28044         Removed.
28045         (syscall-list-32-options): Likewise.
28046         (syscall-list-32-condition): Likewise.
28047         (syscall-list-64-options): Likewise.
28048         (syscall-list-64-condition): Likewise.
28049         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28050         macro.
28051         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28052         Renamed to ...
28053         (abi-*): This.
28054         (abi-64-ld-soname): New macro.
28055         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28056         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28057         Renamed to ...
28058         (abi-*): This.
28059         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28060         * sysdeps/x86_64/x32/shlib-versions: Likewise.
28061
28062 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
28063
28064         * sysdeps/unix/sysv/linux/kernel-features.h
28065         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28066         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28067         include <kernel-features.h>.
28068         [!__NR_ftruncate64]: Remove conditional code.
28069         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28070         [__NR_ftruncate64]: Make code unconditional.
28071         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28072         * sysdeps/unix/sysv/linux/truncate64.c: Do not
28073         include <kernel-features.h>.
28074         [!__NR_ftruncate64]: Remove conditional code.
28075         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28076         [__NR_ftruncate64]: Make code unconditional.
28077         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28079         include <kernel-features.h>.
28080         [!__NR_ftruncate64]: Remove conditional code.
28081         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28082         [__NR_ftruncate64]: Make code unconditional.
28083         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28085         include <kernel-features.h>.
28086         [!__NR_ftruncate64]: Remove conditional code.
28087         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28088         [__NR_ftruncate64]: Make code unconditional.
28089         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28090
28091         * configure.in (libc_cv_fpie): Weaken to a compile test using
28092         LIBC_TRY_CC_OPTION.
28093         * configure: Regenerated.
28094
28095 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28096
28097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28101         Refreshed.
28102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28108         Refreshed.
28109
28110 2012-05-27  David S. Miller  <davem@davemloft.net>
28111
28112         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28113         (___Q_zero): New.
28114         (__Q_simulate_exceptions): Return void.  Change to simulate
28115         exceptions by writing into the %fsr.
28116         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28117         (__Qp_handle_exceptions): Likewise.
28118         (numbers): Delete.
28119         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28120         __Qp_handle_exceptions.
28121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28122         __Qp_handle_exceptions.
28123         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28124         as unused and give dummy FP_RND_NEAREST initializer.
28125         (FP_INHIBIT_RESULTS): Define.
28126         (___Q_simulate_exceptions): Update declaration.
28127         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28128         formatting.
28129         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28130         as unused and give dummy FP_RND_NEAREST initializer.
28131         (__Qp_handle_exceptions): Update declaration.
28132         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28133         formatting.
28134
28135 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
28136
28137         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28138         the temporary FPU control word.
28139         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28140         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28141         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28142         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28143         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28144         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28145         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28146         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28147         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28148         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28149         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28150
28151 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28152
28153         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28154         fields.
28155
28156 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
28157
28158         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28159         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28160         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28161         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28162         Likewise.
28163         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28164         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28165         Likewise.
28166
28167 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
28168
28169         * po/h.po: Update from translation team.
28170
28171 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
28172
28173         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28174
28175         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28176         handling of denormals.
28177         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28178         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28179         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28180         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28181         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28182         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28183         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28184         Likewise.
28185
28186 2012-05-26  Marek Polacek  <polacek@redhat.com>
28187
28188         [BZ #14152]
28189         * math/libm-test.inc (fma_test): Don't always expect underflow
28190         exception.
28191
28192 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28193
28194         [BZ #12416]
28195         * elf/tst-execstack.c: Include stackinfo.h.
28196         (do_test): Adjust test case to ensure that pthread_getattr_np
28197         behaviour remains the same after marking stack executable.
28198
28199 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28200
28201         * sysdeps/unix/sysv/linux/kernel-features.h
28202         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28203         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28204         kernel-features.h.
28205         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28206         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28207         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28208         kernel-features.h.
28209         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28210         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28211
28212 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
28213
28214         * configure.in: Define the default includes to being none.
28215         * configure: Regenerated.
28216
28217 2012-05-25  Roland McGrath  <roland@hack.frob.com>
28218
28219         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28220         * sysdeps/x86_64/setjmp.S: Likewise.
28221         * sysdeps/i386/bsd-setjmp.S: Likewise.
28222         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28223         * sysdeps/i386/setjmp.S: Likewise.
28224         * sysdeps/i386/__longjmp.S: Likewise.
28225         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28226         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28227
28228         * include/stap-probe.h: New file.
28229         * configure.in: Handle --enable-systemtap.
28230         * configure: Regenerated.
28231         * config.h.in (USE_STAP_PROBE): New #undef.
28232         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28233         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28234         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28235
28236 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28237
28238         [BZ #13717]
28239         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28240         to 2.4.0 where earlier.
28241         * sysdeps/unix/sysv/linux/configure: Regenerated.
28242         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28243         <kernel-features.h>.
28244         [__ASSUME_32BITUIDS]: Make code unconditional.
28245         [!__ASSUME_32BITUIDS]: Remove conditional code.
28246         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28247         <kernel-features.h>.
28248         [__ASSUME_32BITUIDS]: Make code unconditional.
28249         [!__ASSUME_32BITUIDS]: Remove conditional code.
28250         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28251         [__ASSUME_32BITUIDS]: Make code unconditional.
28252         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28253         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28254         <kernel-features.h>.
28255         [__ASSUME_32BITUIDS]: Make code unconditional.
28256         [!__ASSUME_32BITUIDS]: Remove conditional code.
28257         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28258         <kernel-features.h>.
28259         [__ASSUME_32BITUIDS]: Make code unconditional.
28260         [!__ASSUME_32BITUIDS]: Remove conditional code.
28261         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28262         <kernel-features.h>.
28263         [__ASSUME_32BITUIDS]: Make code unconditional.
28264         [!__ASSUME_32BITUIDS]: Remove conditional code.
28265         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28266         <kernel-features.h>.
28267         [__ASSUME_32BITUIDS]: Make code unconditional.
28268         [!__ASSUME_32BITUIDS]: Remove conditional code.
28269         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28270         <kernel-features.h>.
28271         [__ASSUME_32BITUIDS]: Make code unconditional.
28272         [!__ASSUME_32BITUIDS]: Remove conditional code.
28273         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28274         <kernel-features.h>.
28275         [__ASSUME_32BITUIDS]: Make code unconditional.
28276         [!__ASSUME_32BITUIDS]: Remove conditional code.
28277         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28278         <kernel-features.h>.
28279         [__ASSUME_32BITUIDS]: Make code unconditional.
28280         [!__ASSUME_32BITUIDS]: Remove conditional code.
28281         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28282         <kernel-features.h>.
28283         [__ASSUME_32BITUIDS]: Make code unconditional.
28284         [!__ASSUME_32BITUIDS]: Remove conditional code.
28285         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28286         <kernel-features.h>.
28287         [__ASSUME_32BITUIDS]: Make code unconditional.
28288         [!__ASSUME_32BITUIDS]: Remove conditional code.
28289         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28290         <kernel-features.h>.
28291         [__ASSUME_32BITUIDS]: Make code unconditional.
28292         [!__ASSUME_32BITUIDS]: Remove conditional code.
28293         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28294         <kernel-features.h>.
28295         [__NR_setresgid] (__setresgid): Do not declare.
28296         [__ASSUME_32BITUIDS]: Make code unconditional.
28297         [!__ASSUME_32BITUIDS]: Remove conditional code.
28298         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28299         <kernel-features.h>.
28300         [__NR_setresuid] (__setresuid): Do not declare.
28301         [__ASSUME_32BITUIDS]: Make code unconditional.
28302         [!__ASSUME_32BITUIDS]: Remove conditional code.
28303         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28304         <kernel-features.h>.
28305         [__ASSUME_32BITUIDS]: Make code unconditional.
28306         [!__ASSUME_32BITUIDS]: Remove conditional code.
28307         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28308         <kernel-features.h>.
28309         [__ASSUME_32BITUIDS]: Make code unconditional.
28310         [!__ASSUME_32BITUIDS]: Remove conditional code.
28311         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28312         <kernel-features.h>.
28313         [__ASSUME_32BITUIDS]: Make code unconditional.
28314         [!__ASSUME_32BITUIDS]: Remove conditional code.
28315         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28316         <kernel-features.h>.
28317         [__ASSUME_32BITUIDS]: Make code unconditional.
28318         [!__ASSUME_32BITUIDS]: Remove conditional code.
28319         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28320         <kernel-features.h>.
28321         [__ASSUME_32BITUIDS]: Make code unconditional.
28322         [!__ASSUME_32BITUIDS]: Remove conditional code.
28323         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28324         <kernel-features.h>.
28325         [__ASSUME_32BITUIDS]: Make code unconditional.
28326         [!__ASSUME_32BITUIDS]: Remove conditional code.
28327         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28328         <kernel-features.h>.
28329         [__ASSUME_32BITUIDS]: Make code unconditional.
28330         [!__ASSUME_32BITUIDS]: Remove conditional code.
28331         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28332         <kernel-features.h>.
28333         [__ASSUME_32BITUIDS]: Make code unconditional.
28334         [!__ASSUME_32BITUIDS]: Remove conditional code.
28335         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28336         <kernel-features.h>.
28337         [__ASSUME_32BITUIDS]: Make code unconditional.
28338         [!__ASSUME_32BITUIDS]: Remove conditional code.
28339         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28340         <kernel-features.h>.
28341         [__ASSUME_32BITUIDS]: Make code unconditional.
28342         [!__ASSUME_32BITUIDS]: Remove conditional code.
28343         * sysdeps/unix/sysv/linux/kernel-features.h
28344         (__ASSUME_SETRESUID_SYSCALL): Remove.
28345         (__ASSUME_SETRESGID_SYSCALL): Likewise.
28346         (__ASSUME_32BITUIDS): Likewise.
28347         (__ASSUME_LDT_WORKS): Likewise.
28348         (__ASSUME_O_DIRECTORY): Likewise.
28349         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28350         architecture but not kernel version.
28351         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28352         (__ASSUME_MMAP2_SYSCALL): Likewise.
28353         (__ASSUME_STAT64_SYSCALL): Likewise.
28354         (__ASSUME_IPC64): Likewise.
28355         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28356         <kernel-features.h>.
28357         [__ASSUME_32BITUIDS]: Make code unconditional.
28358         [!__ASSUME_32BITUIDS]: Remove conditional code.
28359         * sysdeps/unix/sysv/linux/opendir.c: Do not include
28360         <kernel-features.h>.
28361         [__ASSUME_O_DIRECTORY]: Make code unconditional.
28362         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28363         132096]: Remove conditional code.
28364         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28365         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/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/setegid.c: Do not include
28374         <kernel-features.h>.
28375         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28376         unconditional.
28377         (__setresgid): Do not declare.
28378         [__ASSUME_32BITUIDS]: Make code unconditional.
28379         [!__ASSUME_32BITUIDS]: Remove conditional code.
28380         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28381         <kernel-features.h>.
28382         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28383         unconditional.
28384         (__setresuid): Do not declare.
28385         [__ASSUME_32BITUIDS]: Make code unconditional.
28386         [!__ASSUME_32BITUIDS]: Remove conditional code.
28387         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28388         <kernel-features.h>.
28389         [__ASSUME_32BITUIDS]: Make code unconditional.
28390         [!__ASSUME_32BITUIDS]: Remove conditional code.
28391         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28392         <kernel-features.h>.
28393         [__ASSUME_32BITUIDS]: Make code unconditional.
28394         [!__ASSUME_32BITUIDS]: Remove conditional code.
28395
28396 2012-05-25  Richard Henderson  <rth@twiddle.net>
28397
28398         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28399         dl_hwcap to ifunc resolver.
28400         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28401         elf_ifunc_invoke.
28402         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28403         dl_hwcap to ifunc resolver.
28404         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28405
28406 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28407
28408         [BZ #14153]
28409         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28410         for |x| <= 2**-26, not 2**-57.
28411         * math/libm-test.inc (acos_test): Do not allow spurious underflow
28412         exception.
28413
28414 2012-05-24  Jeff Law  <law@redhat.com>
28415
28416         * stdio-common/Makefile (tests): Add bug25.
28417         * stdio-common/bug25.c: New test.
28418
28419 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
28420
28421         [BZ #13576]
28422         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28423         multiple of MALLOC_ALIGNMENT in size.
28424         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28425
28426 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28427
28428         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28429         Require >= 256.
28430         (FILENAME_MAX): Use macro-int-constant.
28431         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
28432         (_IOFBF): Use macro-int-constant.
28433         (_IOLBF): Likewise.
28434         (_IONBF): Likewise.
28435         (SEEK_CUR): Likewise.
28436         (SEEK_END): Likewise.
28437         (SEEK_SET): Likewise.
28438         (TMP_MAX): Likewise.
28439         (EOF): Use macro-int-constant.  Require < 0.
28440         (NULL): Use macro-constant.  Require == 0.
28441         (stdin): Require type to be FILE *.
28442         (stdout): Likewise.
28443         (stderr): Likewise.
28444         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28445         macro-int-constant.
28446         (EXIT_SUCCESS): Likewise.
28447         (NULL): Use macro-constant.  Require == 0.
28448         (RAND_MAX): Use macro-int-constant.
28449         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28450         [C99-based standards] (strtof): Require function.
28451         [C99-based standards] (strtold): Likewise.
28452         [C99-based standards] (strtoll): Likewise.
28453         [C99-based standards] (strtoull): Likewise.
28454         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28455         [ISO || ISO99 || ISO11] (limits.h): Likewise.
28456         [ISO || ISO99 || ISO11] (math.h): Likewise.
28457         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28458         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28459         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28460
28461 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
28462
28463         [BZ #14132]
28464         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28465         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28466         * intl/dgettext.c (DCGETTEXT): Likewise.
28467         * intl/gettext.c (DCGETTEXT): Likewise.
28468         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28469         * posix/regex_internal.h (gettext): Likewise.
28470         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28471         Remove declaration.
28472         * include/argz.h (__argz_count_internal)
28473         (__argz_stringify_internal): Remove declaration.
28474         (__argz_count, __argz_stringify): Declare hidden proto.
28475         * intl/dcgettext.c: Remove use of INTDEF.
28476         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28477         * string/argz-stringify.c: Likewise.
28478         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28479         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28480         Declare hidden proto.
28481         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28482         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28483         Declare hidden proto.
28484         * include/stdio.h (__asprintf_internal): Don't declare.
28485         (__asprintf): Don't define as macro.  Declare hidden proto.
28486         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28487         (__fsetlocking): Declare hidden proto.
28488         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28489         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28490         hidden proto.
28491         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28492         (_IO_setlinebuf): Remove use of INTUSE.
28493         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28494         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28495         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28496         Remove declaration.
28497         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28498         (_IO_do_flush): Remove use of INTUSE.
28499         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28500         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28501         (_IO_adjust_column, _IO_least_wmarker)
28502         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28503         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28504         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28505         (_IO_default_doallocate, _IO_wdefault_doallocate)
28506         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28507         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28508         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28509         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28510         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28511         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28512         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28513         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28514         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28515         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28516         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28517         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28518         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28519         proto.
28520         (_IO_flush_all_internal, _IO_adjust_column_internal)
28521         (_IO_default_uflow_internal, _IO_default_finish_internal)
28522         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28523         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28524         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28525         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28526         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28527         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28528         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28529         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28530         (_IO_file_close_internal, _IO_file_close_it_internal)
28531         (_IO_file_underflow_internal, _IO_file_overflow_internal)
28532         (_IO_file_init_internal, _IO_file_attach_internal)
28533         (_IO_file_fopen_internal, _IO_file_read_internal)
28534         (_IO_file_sync_internal, _IO_file_seek_internal)
28535         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28536         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28537         (_IO_str_underflow_internal, _IO_str_overflow_internal)
28538         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28539         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28540         (_IO_list_all_internal, _IO_link_in_internal)
28541         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28542         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28543         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28544         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28545         (_IO_do_write_internal, _IO_padn_internal)
28546         (_IO_getline_info_internal, _IO_getline_internal)
28547         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28548         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28549         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28550         (_IO_vfscanf_internal, _IO_vfprintf_internal)
28551         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28552         (_IO_init_internal, _IO_un_link_internal): Don't declare.
28553         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28554         with libc_hidden_ver, remove use of INTUSE.
28555         * libio/genops.c: Likewise.
28556         * libio/freopen.c: Likewise.
28557         * libio/freopen64.c: Likewise.
28558         * libio/iofclose.c: Likewise.
28559         * libio/iofdopen.c: Likewise.
28560         * libio/iofflush.c: Likewise.
28561         * libio/iofflush_u.c: Likewise.
28562         * libio/iofgets.c: Likewise.
28563         * libio/iofgets_u.c: Likewise.
28564         * libio/iofopen.c: Likewise.
28565         * libio/iofopncook.c: Likewise.
28566         * libio/iofread.c: Likewise.
28567         * libio/iofread_u.c: Likewise.
28568         * libio/ioftell.c: Likewise.
28569         * libio/iofwrite.c: Likewise.
28570         * libio/iogetline.c: Likewise.
28571         * libio/iogets.c: Likewise.
28572         * libio/iogetwline.c: Likewise.
28573         * libio/iopadn.c: Likewise.
28574         * libio/iopopen.c: Likewise.
28575         * libio/ioseekoff.c: Likewise.
28576         * libio/ioseekpos.c: Likewise.
28577         * libio/iosetbuffer.c: Likewise.
28578         * libio/iosetvbuf.c: Likewise.
28579         * libio/ioungetc.c: Likewise.
28580         * libio/ioungetwc.c: Likewise.
28581         * libio/iovdprintf.c: Likewise.
28582         * libio/iovsprintf.c: Likewise.
28583         * libio/iovsscanf.c: Likewise.
28584         * libio/memstream.c: Likewise.
28585         * libio/obprintf.c: Likewise.
28586         * libio/oldfileops.c: Likewise.
28587         * libio/oldiofclose.c: Likewise.
28588         * libio/oldiofdopen.c: Likewise.
28589         * libio/oldiofopen.c: Likewise.
28590         * libio/oldiopopen.c: Likewise.
28591         * libio/oldstdfiles.c: Likewise.
28592         * libio/putc.c: Likewise.
28593         * libio/setbuf.c: Likewise.
28594         * libio/setlinebuf.c: Likewise.
28595         * libio/stdfiles.c: Likewise.
28596         * libio/strops.c: Likewise.
28597         * libio/vasprintf.c: Likewise.
28598         * libio/vscanf.c: Likewise.
28599         * libio/vsnprintf.c: Likewise.
28600         * libio/vswprintf.c: Likewise.
28601         * libio/wfiledoalloc.c: Likewise.
28602         * libio/wfileops.c: Likewise.
28603         * libio/wgenops.c: Likewise.
28604         * libio/wmemstream.c: Likewise.
28605         * libio/wstrops.c: Likewise.
28606         * libio/__fpurge.c: Likewise.
28607         * libio/__fsetlocking.c: Likewise.
28608         * assert/assert.c: Likewise.
28609         * debug/fgets_chk.c: Likewise.
28610         * debug/fgets_u_chk.c: Likewise.
28611         * debug/fread_chk.c: Likewise.
28612         * debug/fread_u_chk.c: Likewise.
28613         * debug/gets_chk.c: Likewise.
28614         * debug/obprintf_chk.c: Likewise.
28615         * debug/vasprintf_chk.c: Likewise.
28616         * debug/vdprintf_chk.c: Likewise.
28617         * debug/vsnprintf_chk.c: Likewise.
28618         * debug/vsprintf_chk.c: Likewise.
28619         * malloc/mtrace.c: Likewise.
28620         * misc/error.c: Likewise.
28621         * misc/syslog.c: Likewise.
28622         * stdio-common/asprintf.c: Likewise.
28623         * stdio-common/fxprintf.c: Likewise.
28624         * stdio-common/getw.c: Likewise.
28625         * stdio-common/isoc99_fscanf.c: Likewise.
28626         * stdio-common/isoc99_scanf.c: Likewise.
28627         * stdio-common/isoc99_vfscanf.c: Likewise.
28628         * stdio-common/isoc99_vscanf.c: Likewise.
28629         * stdio-common/isoc99_vsscanf.c: Likewise.
28630         * stdio-common/printf-prs.c: Likewise.
28631         * stdio-common/printf_fp.c: Likewise.
28632         * stdio-common/printf_fphex.c: Likewise.
28633         * stdio-common/printf_size.c: Likewise.
28634         * stdio-common/putw.c: Likewise.
28635         * stdio-common/scanf.c: Likewise.
28636         * stdio-common/sprintf.c: Likewise.
28637         * stdio-common/tmpfile.c: Likewise.
28638         * stdio-common/vfprintf.c: Likewise.
28639         * stdio-common/vfscanf.c: Likewise.
28640         * stdlib/strfmon_l.c: Likewise.
28641         * sunrpc/openchild.c: Likewise.
28642         * sunrpc/xdr_stdio.c: Likewise.
28643         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28644         * sysdeps/mach/hurd/tmpfile.c: Likewise.
28645
28646 2012-05-24  Roland McGrath  <roland@hack.frob.com>
28647
28648         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28649
28650         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28651         in the third column, to generate for the shared library an IFUNC
28652         that uses _dl_vdso_vsym.
28653         * Makerules (COMPILE.c, compile-stdin.c): New variables.
28654         * Makeconfig (object-suffixes-noshared): New variable.
28655
28656         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28657         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28658         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28659         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28660
28661         [BZ #14132]
28662         * include/sys/time.h (__gettimeofday): Remove macro.
28663         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28664         * time/gettimeofday.c (__gettimeofday): Remove #undef.
28665         Remove INTDEF.
28666         (__gettimeofday): Add libc_hidden_def.
28667         (gettimeofday): Add libc_hidden_weak.
28668         * sysdeps/mach/gettimeofday.c: Likewise.
28669         * sysdeps/posix/gettimeofday.c: Likewise.
28670         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28671         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28672         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28673         (__gettimeofday_internal): Remove strong_alias.
28674         (__gettimeofday): Add libc_hidden_def.
28675         (gettimeofday): Add libc_hidden_weak.
28676         * sysdeps/unix/syscalls.list (gettimeofday):
28677         Remove __gettimeofday_internal alias.
28678
28679 2012-05-24  Daniel Jacobowitz  <drow@false.org>
28680             H.J. Lu  <hongjiu.lu@intel.com>
28681
28682         [BZ #12495]
28683         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28684         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28685         (largebin_index_32_big): New.
28686         (largebin_index): Use it for 16-byte alignment.
28687         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
28688         correction with front_misalign.
28689
28690 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
28691
28692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28694         Likewise.
28695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28696         Likewise.
28697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28698         Likewise.
28699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28700         Likewise.
28701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28702         Likewise.
28703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28704         Likewise.
28705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28706         Likewise.
28707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28708         Likewise.
28709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28710         Likewise.
28711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28712         Likewise.
28713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28714         Likewise.
28715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28716         Likewise.
28717
28718         * scripts/data/c++-types-x32-linux-gnu.data: New file.
28719         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28720
28721 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28722
28723         [BZ #10846]
28724         [BZ #14036]
28725         * math/libm-test.inc (exp_test): Add test from bug 14036.
28726         (pow_test): Add test from bug 10846.
28727
28728         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28729         and other flags.
28730         (special_function): Do not include flags in test name.
28731         (parse_args): Likewise.
28732         * sysdeps/i386/fpu/libm-test-ulps: Update.
28733         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28734         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28735         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28737
28738         * math/gen-libm-test.pl (%beautify): Add entries for underflow
28739         exceptions.
28740         * math/libm-test.inc ("Philosophy"): Update comment about
28741         exception testing.
28742         (UNDERFLOW_EXCEPTION): New macro.
28743         (UNDERFLOW_EXCEPTION_OK): Likewise.
28744         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28745         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28746         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28747         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28748         (INVALID_EXCEPTION_OK): Update value.
28749         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28750         (OVERFLOW_EXCEPTION_OK): Likewise.
28751         (IGNORE_ZERO_INF_SIGN): Likewise.
28752         (test_exceptions): Handle underflow exceptions.
28753         (acos_test): Update for underflow exception expectations.
28754         (cexp_test): Likewise.
28755         (clog_test): Likewise.
28756         (clog10_test): Likewise.
28757         (csqrt_test): Likewise.
28758         (ctan_test): Likewise.
28759         (ctanh_test): Likewise.
28760         (exp_test): Likewise.
28761         (exp10_test): Likewise.
28762         (exp2_test): Likewise.
28763         (expm1_test): Likewise.
28764         (fma_test): Likewise.
28765         (j0_test): Likewise.
28766         (jn_test): Likewise.
28767         (nexttoward_test): Likewise.
28768         (pow_test): Likewise.
28769         (scalbn_test): Likewise.
28770         (scalbln_test): Likewise.
28771         (tan_test): Likewise.
28772         (y1_test): Likewise.
28773         * sysdeps/i386/fpu/libm-test-ulps: Update.
28774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28775
28776 2012-05-23  David S. Miller  <davem@davemloft.net>
28777
28778         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28779         (__libc_sigaction): Remove unused local variables.
28780
28781 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28782
28783         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28784
28785 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
28786
28787         mktime: avoid signed integer overflow
28788         * time/mktime.c (__mktime_internal): Do not mishandle the case
28789         where diff == INT_MIN.
28790
28791         mktime: simplify computation of average
28792         * time/mktime.c (ranged_convert): Use new time_t_avg function
28793         instead of rolling our own (probably-slower) code.
28794
28795         mktime: do not assume signed right shift propagates sign bit
28796         * time/mktime.c (isdst_differ): New static function.
28797         (__mktime_internal): No need to normalize tm_isdst now.
28798         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28799         tm_isdst values.
28800
28801         mktime: merge another wrapv change from gnulib
28802         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28803         from some compilers.
28804
28805         mktime: remove incorrect attempt at unusual arithmetics
28806         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28807         The code didn't really work on such machines anyway.
28808         (TYPE_MINIMUM): Assume two's complement.
28809         (twos_complement_arithmetic): Verify that long_int and time_t
28810         are two's complement (or unsigned, in the latter case).
28811
28812         mktime: check signed shifts on long_int and time_t, too
28813         * time/mktime.c (SHR): Check that shifts work as desired
28814         on the types long_int and time_t too, as SHR is used on
28815         such types.
28816
28817         mktime: do not assume 'long' is wide enough
28818         * time/mktime.c (verify): Move decl up.
28819         (long_int): New type.
28820         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28821         to remove assumption in the code that 'long' is wide enough to
28822         store year values.  This assumption is not true on x32 and on
28823         some non-glibc platforms.
28824
28825         mktime: merge wrapv change from gnulib
28826         * time/mktime.c (WRAPV): New macro.
28827         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28828         (guess_time_tm, __mktime_internal): Do not assume that signed
28829         integer overflow wraps around; modern compilers generate code
28830         where this assumption is no longer valid.
28831
28832 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28833
28834         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28835         Replace "jmp L(pseudo_end)" with "ret".
28836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28837         Likewise.
28838
28839 2012-05-23  Andreas Jaeger  <aj@suse.de>
28840
28841         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28842         * sysdeps/unix/sysv/linux/poll.c: Remove file.
28843
28844 2012-05-23  Andreas Jaeger  <aj@suse.de>
28845             Maximilian Attems  <max@stro.at>
28846
28847         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28848         New macros.
28849
28850 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28851
28852         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28853         code so that pseudo_end is just ret and the stack pointer is
28854         correct also for static library in error case.
28855
28856 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
28857
28858         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28859         move to syscalls.list.
28860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28864
28865         * manual/install.texi (Running make install): Do not mention Linux
28866         kernel version for which pt_chown is not needed.
28867         (Linux): Do not mention problems with nscd with 2.0 kernels.
28868         * INSTALL: Regenerated.
28869
28870 2012-05-23  Andreas Jaeger  <aj@suse.de>
28871
28872         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28873         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28874         macro.
28875         * sysdeps/unix/sysv/linux/s390/bits/mman.h
28876         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28877         * sysdeps/unix/sysv/linux/sh/bits/mman.h
28878         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28879         * sysdeps/unix/sysv/linux/i386/bits/mman.h
28880         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28881         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28882         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28883         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28884         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28885         * sysdeps/unix/sysv/linux/bits/in.h
28886         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28887
28888 2012-05-22  Roland McGrath  <roland@hack.frob.com>
28889
28890         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28891         (PREPARE_VERSION): Just use assert instead, it will be elided
28892         under [NDEBUG] anyway.
28893
28894 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28895
28896         * sysdeps/unix/sysv/linux/Makefile: Include
28897         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28898         (sysdep_routines): Remove sysctl.
28899         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28900         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28901         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28902         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28903         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28904
28905 2012-05-22  Andreas Jaeger  <aj@suse.de>
28906
28907         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28908         that pseudo_end is just ret and the stack pointer is correct also
28909         for static library in error case.
28910
28911 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28912
28913         [BZ #14122]
28914         * nss/nsswitch.c (defconfig_entries): New variable.
28915         (__nss_database_lookup): Don't leak defconfig entries.
28916         (nss_parse_service_list): Don't leak on error paths.
28917         (free_database_entries): New function.
28918         (free_defconfig): New function.
28919         (free_mem): Move common code to free_database_entries.
28920
28921 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28922
28923         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28924         Add arch_prctl.
28925         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28926
28927         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28928         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28929         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28930         New macro.
28931         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28932         (INTERNAL_SYSCALL_TYPES): Likewise.
28933         (LOAD_ARGS_TYPES_[1-6]): Likewise.
28934         (LOAD_REGS_TYPES_[1-6]): Likewise.
28935         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28936         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28937
28938 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28939
28940         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28941         copysignl for GLIBC_2_0.
28942         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28943         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28944         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28945         logbl for GLIBC_2_0.
28946         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28947         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28948
28949 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28950
28951         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28952         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28953
28954         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28955         Use "neg %eax".
28956
28957         * time/mktime.c: Update copyright years.
28958
28959 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28960
28961         mktime: merge comment-quoting-style change from gnulib
28962         * time/mktime.c: Quote 'like this' in comments.
28963         The GNU coding standards suggest that we no longer quote `like this',
28964         as "`" and "'" are typically rendered asymmetrically nowadays.
28965         The typical gnulib style is to quote 'like this' when quoting
28966         code, and "like this" when quoting English.
28967
28968         * time/mktime.c (compile-command): Add "-I.".
28969
28970         mktime: merge mktime-internal.h change from gnulib
28971         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28972
28973         mktime: merge time_r change from gnulib
28974         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28975
28976         mktime: merge DEBUG change from gnulib
28977         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28978         case system <time.h> has a #define.
28979
28980         mktime: merge <sys/types.h> change from gnulib
28981         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28982         since <time.t> is now guaranteed to define time_t.
28983
28984         mktime: merge HAVE_CONFIG_H change from gnulib
28985         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28986
28987 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28988
28989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28990         Use "neg %eax".
28991
28992         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28993         __rlim_t cast.
28994         (struct rusage): Use anonymous union to pad each field to
28995         __syscall_slong_t.
28996
28997 2012-05-21  David S. Miller  <davem@davemloft.net>
28998
28999         * Makefules (o-iterator): Remove .s cases.
29000         (compile-command.s): Delete.
29001         (COMPILE.s): Delete.
29002         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29003
29004 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
29005
29006         * configure.in (libc_cv_predef_stack_protector): Only consider
29007         "foobar" and "__stack_chk_fail" lines in libc_undefs.
29008         * configure: Regenerated.
29009
29010 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29011
29012         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29013         New macro.  Use R*LP on int and pointer.
29014         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29015         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29016         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29017         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29018
29019         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29020         [__WORDSIZE_TIME64_COMPAT32] instead of
29021         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29022         (struct utmp): Likewise.
29023         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29024         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29025         Renamed to ...
29026         (__WORDSIZE_TIME64_COMPAT32): This.
29027         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29028         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29029         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29030         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29031         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29032         (__WORDSIZE_TIME64_COMPAT32): New macro.
29033
29034 2012-05-21  Andreas Jaeger  <aj@suse.de>
29035
29036         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29037         only if [SHARED]. Add prototype for __wcschr_ia32.
29038
29039 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29040
29041         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29042         of %rbp unmolested in the jmp_buf while mangling the low bits.
29043         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29044         unmolested high bits of %rbp while demangling the low bits.
29045         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29046
29047 2012-05-21  Andreas Jaeger  <aj@suse.de>
29048
29049         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29050         * sunrpc/svc_simple.c: Use it for registerrpc.
29051         * sunrpc/xcrypt.c: Use it for passwd2des.
29052
29053         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29054
29055 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29056
29057         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29058         Don't define if [__SYSCALL_WORDSIZE != 32].
29059         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29060         New macro.
29061
29062 2012-05-21  Bruno Haible  <bruno@clisp.org>
29063             Andreas Jaeger  <aj@suse.de>
29064
29065         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29066         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29067         inptr and inend for must_buffer_ch.
29068         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29069         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29070         * stdio-common/Makefile (tests): Remove bug15.
29071         (bug15-ENV): Remove macro.
29072         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29073         anymore.
29074
29075 2012-05-19  Andreas Jaeger  <aj@suse.de>
29076             Roland McGrath  <roland@hack.frob.com>
29077
29078         * manual/contrib.texi: Completely rewritten. It contains now an
29079         alphabetical list of contributors and their contributions.
29080
29081 2012-05-21  Richard Henderson  <rth@twiddle.net>
29082
29083         * misc/getauxval.c (__getauxval): Use unsigned long int.
29084         * misc/sys/auxv.h: Include <sys/cdefs.h>.
29085         (getauxval): Use unsigned long int.
29086
29087 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29088
29089         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29090
29091 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29092
29093         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29094         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29095         __alignof__ (long double).
29096
29097 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29098
29099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29100
29101 2012-05-20  Richard Henderson  <rth@twiddle.net>
29102
29103         * misc/getauxval.c: New file.
29104         * misc/sys/auxv.h: New file.
29105         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29106         (routines): Add getauxval.
29107         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29108         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29109         * elf/dl-sysdep.c (_dl_auxv): Remove.
29110         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29111         * elf/dl-support.c (_dl_auxv): New variable.
29112         (_dl_aux_init): Initialize it.
29113         * manual/startup.texi (Auxiliary Vector): New node.
29114         * sysdeps/generic/bits/hwcap.h: New file.
29115         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29116         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
29117         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29118         * sysdeps/sparc/sysdep.h: ... here.  Include it.
29119         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29120         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29122         Update.
29123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29126         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29131
29132 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29133
29134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29135
29136 2012-05-19  David S. Miller  <davem@davemloft.net>
29137
29138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29139
29140 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29141
29142         [BZ #14123]
29143         * math/s_ccosh.c: Include <float.h>
29144         (__ccosh): Avoid internal overflow calculating sinh and cosh
29145         values before multiplying by sin and cos values.
29146         * math/s_ccoshf.c: Likewise.
29147         * math/s_ccoshl.c: Likewise.
29148         * math/s_csin.c: Likewise.
29149         * math/s_csinf.c: Likewise.
29150         * math/s_csinl.c: Likewise.
29151         * math/s_csinh.c: Likewise.
29152         * math/s_csinhf.c: Likewise.
29153         * math/s_csinhl.c: Likewise.
29154         * math/libm-test.inc (ccos_test): Add more tests.
29155         (ccosh_test): Likewise.
29156         (csin_test): Likewise.
29157         (csinh_test): Likewise.
29158         * sysdeps/i386/fpu/libm-test-ulps: Update.
29159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29160
29161 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
29162
29163         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29164         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29165
29166         * sysdeps/x86_64/x32/_itoa.h: Add comment.
29167
29168 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29169
29170         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29171         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29172         * sysdeps/powerpc/soft-fp/Versions: Likewise.
29173         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29174         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29175         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29176         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29177         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29178         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29179         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29180         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29181         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29182         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29183         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29184         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29185         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29186         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29187         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29188         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29189         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29190         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29191         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29192         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29193         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29194         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29195         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29196         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29197         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29198         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29199         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29200         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29201
29202 2012-05-18  Andreas Jaeger  <aj@suse.de>
29203
29204         * csu/.gitignore: Delete.
29205
29206 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29207
29208         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29209         (timex): Use __syscall_slong_t.
29210
29211 2012-05-18  Andreas Jaeger  <aj@suse.de>
29212             Carlos O'Donell  <carlos_odonell@mentor.com>
29213
29214         * manual/install.texi (Configuring and compiling): Update
29215         description about files modified in the source directory.
29216         * INSTALL: Regenerated.
29217
29218 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29219
29220         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29221         value.  Use "or" to set return value to -1.
29222         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29223         negate return value.
29224
29225 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29226
29227         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29228         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29229         failure if the compiler has Graphite support disabled.
29230         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29231         Likewise.
29232         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29233         (CFLAGS-memmove.c): Likewise.
29234         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29235         Likewise.
29236
29237 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29238
29239         * sysdeps/x86_64/x32/_itoa.h: New file.
29240
29241         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29242         getdents system call only if kernel and user dirents have the
29243         same d_ino and d_off.
29244
29245         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29246         LLONG_MAX != LONG_MAX.
29247         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29248         (_fitoa_word): Likewise.
29249
29250         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29251         years.
29252         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29253         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29254         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29255
29256         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29257         include <bits/wordsize.h>.  Check __x86_64__ instead of
29258         __WORDSIZE.
29259         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29260         if __x86_64__ is defined.  Use anonymous union on fpstate.
29261
29262         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29263         anonymous union.
29264
29265 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
29266
29267         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29268         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29269         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29270         Refer to _rtld_local_ro instead of _rtld_global_ro.
29271         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29272         Likewise.
29273         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29274         Likewise.
29275         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29276         Likewise.
29277         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29278         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29279         of _rtld_global, and rtld_progname instead of _dl_argv[0].
29280
29281         * sysdeps/powerpc/powerpc32/dl-machine.c
29282         (__elf_machine_runtime_setup) [PROF]: Don't reference
29283         _dl_prof_resolve.
29284
29285 2012-05-18  Andreas Jaeger  <aj@suse.de>
29286
29287         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29288         function only available for GCCs before 3.4 since GCC 3.4
29289         introduced a builtin.
29290         (lrint): Likewise.
29291         (llrintf): Likewise.
29292         (llrint): Likewise.
29293         (fmaxf): Likewise.
29294         (fmax): Likewise.
29295         (fminf): Likewise.
29296         (fmin): Likewise.
29297         (rint): Likewise.
29298         (rintf): Likewise.
29299         (nearbyint): Likewise.
29300         (nearbyintf): Likewise.
29301         (ceil): Likewise.
29302         (ceilf): Likewise.
29303         (floor): Likewise.
29304         (floorf): Likewise.
29305
29306 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29307
29308         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29309         on both fields and cast pointer to __syscall_ulong_t.
29310
29311         * bits/types.h (__fsword_t): New type.
29312         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29313         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29314         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29315         (__FSWORD_T_TYPE): Likewise.
29316         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29317         (__FSWORD_T_TYPE): Likewise.
29318         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29319         (__FSWORD_T_TYPE): Likewise.
29320         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29321         (__FSWORD_T_TYPE): Likewise.
29322         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29323         __SWORD_TYPE with __fsword_t.
29324         (statfs64): Likewise.
29325
29326 2012-05-17  David S. Miller  <davem@davemloft.net>
29327
29328         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29329
29330 2012-05-17  Andreas Jaeger  <aj@suse.de>
29331
29332         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29333         warning.
29334
29335 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29336
29337         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29338
29339 2012-05-17  Andreas Jaeger  <aj@suse.de>
29340
29341         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29342         when it is used.
29343
29344 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
29345
29346         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29347
29348 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29349
29350         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29351         * sysdeps/x86_64/tst-mallocalign1.c: New file.
29352
29353 2012-05-17  Andreas Jaeger  <aj@suse.de>
29354             Carlos O'Donell  <carlos_odonell@mentor.com>
29355
29356         [BZ #14059]
29357         * sysdeps/x86_64/multiarch/init-arch.h
29358         (bit_YMM_Usable): Rename to...
29359         (bit_AVX_Usable): ... this.
29360         (bit_FMA4_Usable): New macro.
29361         (bit_XMM_state): New macro.
29362         (bit_YMM_state): New macro.
29363         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29364         [__ASSEMBLER__] (index_AVX_Usable): ... this.
29365         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29366         (CPUID_OSXSAVE): New macro.
29367         (CPUID_AVX): New macro.
29368         (CPUID_FMA4): New macro.
29369         (index_YMM_Usable): Rename to...
29370         (index_AVX_Usable): ... this.
29371         (HAS_AVX): Use HAS_ARCH_FEATURE.
29372         (HAS_FMA4): Likewise.
29373         (HAS_YMM_USABLE): Remove.
29374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29375         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29376         are present.
29377         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29378         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29379         * sysdeps/x86_64/multiarch/Makefile: Likewise.
29380         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29381         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29382
29383 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
29384
29385         * math/libm-test.c: Support platforms without multiple rounding modes.
29386         * math/bug-nextafter.c: Support platforms without FP exceptions.
29387         * math/bug-nexttoward.c: Likewise.
29388         * math/test-fenv.c: Likewise.
29389         * math/test-misc.c: Likewise.
29390         * stdlib/bug-getcontext.c: Likewise.
29391
29392 2012-05-17  Andreas Jaeger  <aj@suse.de>
29393
29394         * manual/examples/search.c (critter_cmp): Change signature to
29395         avoid warnings.
29396         * manual/string.texi (Collation Functions): Likewise.
29397
29398 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29399
29400         * bits/types.h: Fold copyright years.
29401         * bits/typesizes.h: Likewise.
29402         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29403         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29404         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29405         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29406         * time/time.h: Likewise.
29407
29408 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
29409
29410         [BZ #208]
29411         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29412         in instead of returning them.  Return void.
29413         (__libc_mallinfo): Accumulate over all arenas.
29414         (__malloc_stats): Adjust for change in int_mallinfo interface.
29415
29416 2012-05-16  Roland McGrath  <roland@hack.frob.com>
29417
29418         [BZ #10375]
29419         * configure.in (NM): Add AC_CHECK_TOOL for it.
29420         (libc_extra_cflags): New substituted variable.
29421         Check for -fstack-protector being used implicitly.
29422         * configure: Regenerated.
29423         * config.make.in (config-extra-cflags): New variable,
29424         gets @libc_extra_cflags@.
29425         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29426
29427         [BZ #10375]
29428         * configure.in: Check for _FORTIFY_SOURCE being predefined.
29429         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29430         * configure: Regenerated.
29431         * config.make.in (CPPUNDEFS): New substituted variable.
29432         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29433         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29434         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29435
29436 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29437
29438         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29439         (mq_attr): Use __syscall_slong_t.
29440
29441 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29442
29443         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29444         Check __x86_64__ instead of __WORDSIZE.
29445         (_STAT_VER_LINUX): Likewise.
29446         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
29447         __syscall_ulong_t and __syscall_slong_t.
29448         (stat64): Likewise.
29449
29450 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29451
29452         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29453
29454 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29455
29456         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29457
29458 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29459
29460         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29461         __syscall_ulong_t.
29462
29463         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29464         include <bits/wordsize.h>.  Check __x86_64__ instead of
29465         __WORDSIZE.
29466         (greg_t): Use "__extension__ long long int" if __x86_64__ is
29467         defined.
29468         (mcontext_t): Replace "unsigned long" with "unsigned long long".
29469
29470         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29471         include <bits/wordsize.h>.  Check __x86_64__ instead of
29472         __WORDSIZE.
29473         (user_regs_struct): Use "__extension__ unsigned long long"
29474         instead of "unsigned long" if __x86_64__ is defined.
29475         (user): Likewise.  Pad after pointer field if __ILP32__ is
29476         defined.
29477
29478 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
29479
29480         * configure.in (makeinfo): Require version 4.5 or later.  Allow
29481         versions 5 to 9.
29482         * configure: Regenerated.
29483         * manual/install.texi (texinfo): Increase version requirement to
29484         4.5 or later.
29485         * INSTALL: Regenerated.
29486
29487         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29488
29489 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29490
29491         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29492
29493         * sysdeps/x86_64/x32/ffs.c: New file.
29494
29495         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29496         __syscall_ulong_t.
29497         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29498         defined.  Use __syscall_ulong_t.
29499         (shminfo): Use __syscall_ulong_t.
29500         (shm_info): Likewise.
29501
29502         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29503         __syscall_ulong_t.
29504
29505         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29506         <bits/wordsize.h>.
29507         (msgqnum_t): Use __syscall_ulong_t.
29508         (msglen_t): Likewise.
29509         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
29510         __syscall_ulong_t.
29511
29512         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29513         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29514
29515         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29516
29517         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29518         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29519
29520         * sysvipc/sys/msg.h (msgbuf): Replace long int with
29521         __syscall_slong_t.
29522
29523         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29524         include <bits/wordsize.h>.  Check __x86_64__ instead of
29525         __WORDSIZE.
29526
29527         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29528         "unsigned long long int" if __x86_64__ is defined.
29529         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29530
29531         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29532         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29533         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29534
29535         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29536         <stdint.h>.
29537         (GET_PC): Cast to uintptr_t first.
29538         (GET_FRAME): Likewise.
29539         (GET_STACK): Likewise.
29540
29541         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29542         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29543         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29544         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29545         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29546         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29547         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29548         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29549         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29550         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29551         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29552         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29553         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29554         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29555         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29556         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29557         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29558         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29559         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29560         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29561         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29562         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29563         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29564         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29565         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29566         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29567         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29568         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29569         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29570
29571 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
29572
29573         * Makerules (+depfiles): Also collect depfiles from .oS in
29574         $(extra-objs).
29575         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29576         .oS, $(libnldbl-routines)).
29577
29578         * Makerules (native-compile-mkdep-flags): Define.
29579         * sunrpc/Makefile (extra-objs): Add $(addprefix
29580         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29581         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29582         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
29583         calling $(make-target-directory).
29584
29585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29586
29587         * bits/types.h (__snseconds_t): Removed.
29588         * time/time.h (struct timespec): Replace __snseconds_t with
29589         __syscall_slong_t.
29590         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29591         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29592         Likewise.
29593         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29594         (__SNSECONDS_T_TYPE): Likewise.
29595         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29596         (__SNSECONDS_T_TYPE): Likewise.
29597         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29598         (__SNSECONDS_T_TYPE): Likewise.
29599
29600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29601
29602         * sysdeps/mach/hurd/bits/typesizes.h
29603         (__SYSCALL_SLONG_TYPE): New macro.
29604         (__SYSCALL_ULONG_TYPE): Likewise.
29605
29606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29607
29608         * bits/types.h (__syscall_slong_t): New type.
29609         (__syscall_ulong_t): Likewise.
29610
29611         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29612         (__SYSCALL_ULONG_TYPE): Likewise.
29613         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29614         (__SYSCALL_SLONG_TYPE): Likewise.
29615         (__SYSCALL_ULONG_TYPE): Likewise.
29616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29617         (__SYSCALL_SLONG_TYPE): Likewise.
29618         (__SYSCALL_ULONG_TYPE): Likewise.
29619         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29620         (__SYSCALL_SLONG_TYPE): Likewise.
29621         (__SYSCALL_ULONG_TYPE): Likewise.
29622
29623 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29624
29625         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29626         Add sigaltstack-offsets.sym.
29627         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29628         <sigaltstack-offsets.h>.
29629         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
29630         longjmp_msg pointer.
29631         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
29632         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29633         signal stack.
29634         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29635
29636 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29637
29638         * elf/stackguard-macros.h: Remove file.
29639         * sysdeps/generic/stackguard-macros.h: New file.
29640         * sysdeps/i386/stackguard-macros.h: Likewise.
29641         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29642         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29643         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29644         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29645         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29646         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29647         * sysdeps/x86_64/stackguard-macros.h: Likewise.
29648         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29649         <elf/stackguard-macros.h>.
29650
29651         [BZ #14109]
29652         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29653         __aligned__ in attribute.
29654         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29655         (gregset_t): Likewise.
29656
29657 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29658
29659         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29660         * sysdeps/x86_64/64/Implies-after: Here.  New file.
29661         * sysdeps/x86_64/x32/Implies-after: New file.
29662
29663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29664
29665         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29666         and access return value for _dl_profile_fixup.  Use R10_LP to
29667         load frame size.
29668
29669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29670
29671         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29672
29673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29674
29675         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29676         * sysdeps/x86_64/x32/sysdep.h: New file.
29677
29678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29679
29680         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29681         * sysdeps/x86_64/setjmp.S: Likewise.
29682
29683 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29684
29685         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29686         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29687         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29688         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29689         remove unused global constant.
29690
29691 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
29692
29693         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29694         include of <not-cancel.h>.
29695
29696 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29697
29698         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29699
29700 2012-05-15  Jeff Law  <law@redhat.com>
29701             Andreas Jaeger  <aj@suse.de>
29702
29703         [BZ #13594]
29704         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29705         out from...
29706         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29707         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29708         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29709         code changing __hst_map_handle.map.
29710
29711 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29712
29713         * configure.in (sysnames): Look for Implies-before and Implies-after
29714         files.
29715         * configure: Regenerated.
29716
29717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29718
29719         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29720         8-byte data alignment with LP_SIZE alignment.
29721
29722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29723
29724         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29725         into R10_LP.
29726
29727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29728
29729         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29730
29731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29732
29733         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29734         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29735         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29736         Likewise.
29737         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29738
29739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29740
29741         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29742         (stackinfo_sub_sp): Likewise.
29743
29744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29745
29746         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29747         RAX_LP.
29748
29749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29750
29751         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29752         into R*_LP.
29753
29754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29755
29756         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29757         sizes into R*_LP.
29758
29759 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29760
29761         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29762
29763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29764
29765         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29766         into R11_LP and load __x86_64_shared_cache_size_half into
29767         R8_LP.
29768
29769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29770
29771         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29772         R8_LP.
29773
29774 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29775
29776         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29777         logb for POWER7.
29778         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29779         logbf for POWER7.
29780         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29781         logbl for POWER7.
29782         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29783         powerpc32/power7/fpu/s_logb.c via #include.
29784         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29785         powerpc32/power7/fpu/s_logbf.c via #include.
29786         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29787         powerpc32/power7/fpu/s_logbl.c via #include.
29788
29789 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29790
29791         * README.libm: Remove file.
29792
29793 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29794
29795         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29796         count for x32.  Use R*_LP and omit operand-size suffix.
29797
29798 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29799
29800         * shlib-versions: Move x86_64-.*-linux.* entries to ...
29801         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
29802         * sysdeps/x86_64/x32/shlib-versions: New file.
29803
29804 2012-05-14  Roland McGrath  <roland@hack.frob.com>
29805
29806         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29807         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29808         Use _dl_fatal_printf instead.
29809
29810 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29811
29812         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29813         set if not set by the user.  Do not allow for being unset.
29814         * sysdeps/unix/sysv/linux/configure: Regenerated.
29815
29816 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29817
29818         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29819         the `q' suffix from lea and replace .quad with ASM_ADDR.
29820
29821 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29822
29823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29824         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
29825         instead of $17.
29826         (PTR_DEMANGLE): Likewise.
29827
29828 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29829
29830         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29831         (LP_OP): Likewise.
29832         (ASM_ADDR): Likewise.
29833         (RAX_LP): Likewise.
29834         (RBP_LP): Likewise.
29835         (RBX_LP): Likewise.
29836         (RCX_LP): Likewise.
29837         (RDI_LP): Likewise.
29838         (RSI_LP): Likewise.
29839         (RSP_LP): Likewise.
29840         (R8_LP): Likewise.
29841         (R9_LP): Likewise.
29842         (R10_LP): Likewise.
29843         (R10_LP): Likewise.
29844         (R11_LP): Likewise.
29845         (R12_LP): Likewise.
29846         (R13_LP): Likewise.
29847         (R14_LP): Likewise.
29848         (R15_LP): Likewise.
29849
29850 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29851
29852         * sysdeps/x86_64/x32/dl-machine.h: New file.
29853
29854 2012-05-14  Andreas Jaeger  <aj@suse.de>
29855
29856         * manual/Makefile (subdir): Remove export of subdir.
29857         (all): Remove target.
29858         (.PHONY): Remove all from list.
29859         (mkinstalldirs): Remove.
29860         (.PHONY): Remove installdirs from list.
29861         ($(inst_infodir)/libc.info): Use make-target-directory.
29862         (installdirs): Remove.
29863         (subdir_%): Remove.
29864         (glibc-targets): Remove.
29865         (lib): Remove.
29866         (stubs): Remove.
29867         ($(objpfx)stubs ../po/manual.pot): Remove.
29868         ($(objpfx)stamp%): Remove.
29869         (make-target-directory): Remove.
29870         (subdir_install): Remove.
29871         (routines): Remove.
29872         (aux): Remove.
29873         (sources): Remove.
29874         (objects): Remove.
29875         (headers): Remove.
29876
29877         [BZ #13750]
29878         * manual/.gitignore: Remove, it's not needed anymore.
29879         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29880         all files in it.
29881         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29882         directory.
29883         (texis): Renamed to $(objpfx)texis.
29884         (texis-path): New, contains path to generated files.
29885         (chapters.%): Use texis-path for complete path, add extra argument
29886         libc-texinfo.sh.
29887         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29888         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29889         (summary,texi, stamp-summary): Use complete path of
29890         files. Generate files in build dir.
29891         (dir-add.texi): Build in build dir.
29892         (libm-err.texi,stamp-libm-err): Likewise.
29893         (version.texi, stamp-version): Likewise.
29894         (.%c.texi): Likewise.
29895         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29896         (mostlyclean): Remove target.
29897         (realclean): Remove target.
29898         (generated): Add new variable with contents from mostlyclean and
29899         realclean, remove entries duplicated in common-mostlyclean, add
29900         stamp-libm-err and stamp-version.
29901         (generated-dirs): Add libc directory.
29902         ($(inst_infodir)/libc.info): Install files from build dir.
29903
29904         * manual/install.texi (Configuring and compiling): Adjust since
29905         the info files are not part of the tar ball anymore.
29906
29907 2012-05-14  Andreas Jaeger  <aj@suse.de>
29908
29909         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29910         variable.
29911
29912 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29913
29914         [BZ #13717]
29915         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29916         to 2.2.0 where earlier.
29917         * sysdeps/unix/sysv/linux/configure: Regenerated.
29918         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29919         Remove conditional code.
29920         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29921         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29922         Remove conditional code.
29923         [!__NR_lchown]: Likewise.
29924         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29925         [__NR_lchown]: Likewise.
29926         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29927         comment referencing __ASSUME_LCHOWN_SYSCALL.
29928         * sysdeps/unix/sysv/linux/i386/sigaction.c
29929         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29930         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29931         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29932         Remove conditional code.
29933         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29934         (__protocol_available): Remove #if 0 code.
29935         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29936         conditional code.
29937         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29938         * sysdeps/unix/sysv/linux/kernel-features.h
29939         (__ASSUME_GETCWD_SYSCALL): Don't define.
29940         (__ASSUME_REALTIME_SIGNALS): Likewise.
29941         (__ASSUME_PREAD_SYSCALL): Likewise.
29942         (__ASSUME_PWRITE_SYSCALL): Likewise.
29943         (__ASSUME_POLL_SYSCALL): Likewise.
29944         (__ASSUME_LCHOWN_SYSCALL): Likewise.
29945         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29946         non-SPARC.
29947         (__ASSUME_SIOCGIFNAME): Don't define.
29948         (__ASSUME_MSG_NOSIGNAL): Likewise.
29949         (__ASSUME_SENDFILE): Define unconditionally.
29950         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29951         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29952         conditional code.
29953         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29954         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29955         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29956         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29957         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29958         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29959         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29961         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29962         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29964         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29965         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29967         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29968         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29970         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29971         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29973         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29974         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29976         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29977         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29979         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29980         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29982         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29983         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29984         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29985         Remove conditional code.
29986         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29987         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29988         Remove conditional code.
29989         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29990         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29991         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29992         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29993         Remove conditional code.
29994         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29995         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29996         Remove conditional code.
29997         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29998         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29999         Remove conditional code.
30000         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30001         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30002         Remove conditional code.
30003         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30004         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30005         Remove conditional code.
30006         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30007         * sysdeps/unix/sysv/linux/sh/pwrite64.c
30008         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30009         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30010         * sysdeps/unix/sysv/linux/sigaction.c
30011         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30012         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30013         * sysdeps/unix/sysv/linux/sigpending.c
30014         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30015         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30016         * sysdeps/unix/sysv/linux/sigprocmask.c
30017         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30018         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30019         * sysdeps/unix/sysv/linux/sigsuspend.c
30020         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30021         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30022         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30023         (__libc_missing_rt_sigs): Remove.
30024         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30025         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30026         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30027         Remove conditional code.
30028         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30029         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30030         return 1.
30031         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30032         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30033         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30034         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30035
30036 2012-05-14  Andreas Jaeger  <aj@suse.de>
30037
30038         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30039         it's not used in glibc.
30040         (__coshm1): Likewise.
30041         (__acosh1p): Likewise.
30042         (__sgn): Likewise.
30043
30044         * manual/string.texi (Copying and Concatenation): Add missing
30045         variable in concat example.
30046         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30047
30048 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30049
30050         [BZ #14103]
30051         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30052         __builtin_clzl with __builtin_clzll.
30053
30054 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30055
30056         [BZ #14104]
30057         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30058         libc_freeres_ptr.
30059
30060 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30061
30062         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30063         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30064         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30065         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30066
30067 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
30068
30069         * NEWS: Update ia64 info.
30070
30071 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
30072
30073         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30074         used as bcopy.
30075
30076 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
30077
30078         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30079         * sysdeps/unix/syscalls.list (dup3): Likewise.
30080         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30081         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30082
30083 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30084
30085         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30086         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30087
30088 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30089
30090         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30091         thread pointer.
30092         (TLS_IE): Use mov/add instead of movq/addq to load thread
30093         pointer.
30094         (TLS_GD_PREFIX): New.
30095         (TLS_GD): Use it.
30096
30097 2012-05-11  David S. Miller  <davem@davemloft.net>
30098
30099         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30100         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30101         (_FPU_SETCW): Likewise.
30102
30103 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30104
30105         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30106         is 32-byte aligned.
30107
30108 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
30109
30110         [BZ #11837]
30111         * iconvdata/gb18030.c: Update tables.
30112         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
30113         characters specially.
30114         (BODY for TO_LOOP): Add encoding of missing ranges.
30115
30116 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
30117
30118         [BZ #13673]
30119         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30120         * sysdeps/mach/hurd/dup3.c: Likewise.
30121         * sysdeps/mach/hurd/readlinkat.c: Likewise.
30122         * sysdeps/powerpc/memmove.c:: Likewise.
30123
30124 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30125
30126         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30127         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30128
30129 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30130
30131         * elf/elf.h (R_X86_64_RELATIVE64): New.
30132         (R_X86_64_NUM): Updated.
30133         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30134         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
30135         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30136         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30137         tst-quad1pie tst-quad2pie
30138         (modules-names): Add tst-quadmod1 tst-quadmod2.
30139         ($(objpfx)tst-quad1): New dependency.
30140         ($(objpfx)tst-quad2): Likewise.
30141         ($(objpfx)tst-quad1pie): Likewise.
30142         ($(objpfx)tst-quad2pie): Likewise.
30143         * sysdeps/x86_64/tst-quad1.c: New file.
30144         * sysdeps/x86_64/tst-quad1pie.c: New file.
30145         * sysdeps/x86_64/tst-quad2.c: Likewise.
30146         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30147         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30148         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30149         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30150         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30151
30152 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30153
30154         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30155         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30156         * streams/stropts.h (t_scalar_t): Define type.
30157
30158         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30159         (_PATH_PRESERVE): Set to "/var/lib".
30160         (_PATH_RWHODIR): Set to "/var/spool/rwho".
30161
30162         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30163         instead of int.
30164
30165         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30166         if __dir_mkfile succeeded.
30167
30168         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30169         checking for _hurd_dtablesize.  Unlock it right after having
30170         finished _hurd_dtable allocation.
30171
30172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30173
30174         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30175         * sysdeps/mach/hurd/configure: Regenerated.
30176         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30177         special-casing to...
30178         * sysdeps/gnu/configure.in: ... this new file.
30179         * sysdeps/unix/sysv/linux/configure: Regenerated.
30180         * sysdeps/gnu/configure: New generated file.
30181
30182         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30183         for Linux: use nsec instead of usec, as well as:
30184         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30185         members of type struct timespec.
30186         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30187         New macros.
30188         (struct stat64): Likewise.
30189         (_STATBUF_ST_NSEC): New macro.
30190         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30191
30192         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30193         __strtoul_internal rather than strtoul.
30194
30195 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30196
30197         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30198         and reject them.
30199
30200 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30201
30202         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30203         which preserves existing values.
30204         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30205
30206 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30207
30208         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30209         TIMEOUT values.  Return EINVAL for NFDS values either negative or
30210         greater than FD_SETSIZE.
30211
30212 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30213
30214         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30215         allocated, call __vm_protect to finish enabling the existing space, and
30216         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30217         allocate the remainder.
30218
30219 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30220
30221         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30222         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
30223
30224 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30225
30226         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30227         sysdeps/mach/hurd/readlink.c.
30228
30229         * posix/tst-sysconf.c (posix_options): Only use
30230         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30231         _POSIX_SYNCHRONIZED_IO when they are defined
30232         * sysdeps/mach/hurd/bits/posix_opt.h:
30233         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30234         (_XOPEN_REALTIME): Undefine macro.
30235         (_XOPEN_REALTIME_THREADS): Undefine macro.
30236         (_XOPEN_SHM): Undefine macro.
30237         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30238         macro to -1.
30239         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30240         macro to -1.
30241         (_POSIX_ASYNC_IO): Undefine macro.
30242         (_POSIX_PRIORITIZED_IO): Undefine macro.
30243         (_POSIX_SPIN_LOCKS): Define macro to -1.
30244
30245         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30246         SA_NODEFER, SA_RESETHAND.
30247         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30248         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30249         F_DUPFD_CLOEXEC.
30250
30251 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30252
30253         * elf/Makefile (pldd-modules): Define unconditionally.
30254
30255 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30256
30257         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30258
30259 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30260
30261         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30262         Return ENOENT when name is empty.
30263         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30264
30265 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30266
30267         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30268
30269         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30270
30271 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30272
30273         Fix mlock in all cases except non-readable pages.
30274         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30275         instead of VM_PROT_ALL as parameter to __vm_wire function.
30276
30277         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30278         (__mkdir): When path is `/', just fail with EEXIST.
30279         * sysdeps/mach/hurd/mkdirat.c: Likewise.
30280
30281 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30282
30283         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30284         <sys/uio.h> (for writev).
30285         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30286         and <sys/param.h> (for MIN).
30287
30288 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30289
30290         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30291         REQUESTED_TIME.  Properly set the remaining time and return EINTR
30292         if interrupted.
30293
30294 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30295
30296         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30297         Depend on against $(link-rpcuserlibs).
30298
30299 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30300
30301         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30302         (__libc_stack_end): Do not use attribute_relro.
30303         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30304         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30305         to libthread-provided value.
30306         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30307         attribute_relro.
30308
30309 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30310
30311         [BZ #3748]
30312         * bits/libc-lock.h (__libc_once_get): New macro.
30313         * sysdeps/mach/bits/libc-lock.h: Likewise.
30314         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30315         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30316         instead of using implementation details.
30317
30318         * libio/fileops.c: Unconditionally include <kernel-features.h>.
30319         * libio/freopen.c: Likewise.
30320         * libio/freopen64.c: Likewise.
30321         * misc/syslog.c: Likewise.
30322         * nscd/connections.c: Likewise.
30323         * nscd/netgroupcache.c: Likewise.
30324         * sysdeps/posix/getcwd.c: Likewise.
30325
30326 2012-05-10  Roland McGrath  <roland@hack.frob.com>
30327
30328         * math/w_ilogbf.c: Add #include <limits.h>.
30329
30330 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30331
30332         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30333         path instead of returning without unlocking.
30334
30335         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30336         immediate-write ioctls.
30337         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30338
30339 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30340
30341         * sysdeps/mach/hurd/i386/init-first.c (init): Use
30342         __builtin_frame_address instead of making assumptions about the
30343         location of the return address relative to DATA.  Force early load of
30344         the return address.
30345         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30346         __builtin_frame_address.
30347
30348         dup3 for GNU Hurd.
30349         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30350         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
30351         implement dup3 and do some further code clean-ups.
30352         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30353         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30354
30355 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30356
30357         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30358
30359         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30360         HURD_CRITICAL_END around holding _hurd_dtable_lock.
30361         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30362         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30363         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30364         d->port.lock.
30365
30366         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30367         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
30368         when handler == SIG_ERR, not when handler != SIG_ERR.
30369
30370 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30371
30372         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30373         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30374         definitions.
30375
30376         accept4 for GNU Hurd.
30377         * include/sys/socket.h (__libc_accept4): New prototype.
30378         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
30379         to implement __libc_accept4.
30380         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30381         __libc_accept4.
30382         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30383
30384         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30385         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30386         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30387         signal-defines.sym.
30388
30389 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30390
30391         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30392
30393 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30394
30395         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30396         assertion on O_CLOEXEC flag.
30397         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30398         * hurd/intern-fd.c: Likewise.
30399         * hurd/port2fd.c: Likewise.
30400
30401 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30402
30403         [BZ #3906]
30404         * bits/in.h (IPV6_PKTINFO): Define new macro.
30405         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30406
30407 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30408
30409         [BZ #13954]
30410         [BZ #13955]
30411         [BZ #13956]
30412         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30413         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30414         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30415         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30416         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30417         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30418         * math/libm-test.inc (logb_test) : Additional logb tests.
30419
30420 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
30421             Andreas Jaeger  <aj@suse.de>
30422
30423         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30424         * configure: Regenerated.
30425         * config.h.in (LINK_OBSOLETE_RPC): New macro.
30426         * config.make.in (link-obsolete-rpc): New substituted variable.
30427         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30428         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30429         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30430         (shared-only-routines): Don't set it under [link-obsolete-rpc],
30431         so that libc.a contains the symbols.
30432         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30433         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30434         * sunrpc/auth_none.c: Likewise.
30435         * sunrpc/auth_unix.c: Likewise.
30436         * sunrpc/authdes_prot.c: Likewise.
30437         * sunrpc/authuxprot.c: Likewise.
30438         * sunrpc/clnt_gen.c: Likewise.
30439         * sunrpc/clnt_perr.c: Likewise.
30440         * sunrpc/clnt_raw.c: Likewise.
30441         * sunrpc/clnt_simp.c: Likewise.
30442         * sunrpc/clnt_tcp.c: Likewise.
30443         * sunrpc/clnt_udp.c: Likewise.
30444         * sunrpc/clnt_unix.c: Likewise.
30445         * sunrpc/des_crypt.c: Likewise.
30446         * sunrpc/des_soft.c: Likewise.
30447         * sunrpc/get_myaddr.c: Likewise.
30448         * sunrpc/key_call.c: Likewise.
30449         * sunrpc/key_prot.c: Likewise.
30450         * sunrpc/netname.c: Likewise.
30451         * sunrpc/pm_getmaps.c: Likewise.
30452         * sunrpc/pm_getport.c: Likewise.
30453         * sunrpc/pmap_clnt.c: Likewise.
30454         * sunrpc/pmap_prot.c: Likewise.
30455         * sunrpc/pmap_prot2.c: Likewise.
30456         * sunrpc/pmap_rmt.c: Likewise.
30457         * sunrpc/publickey.c: Likewise.
30458         * sunrpc/rpc_cmsg.c: Likewise.
30459         * sunrpc/rpc_common.c: Likewise.
30460         * sunrpc/rpc_dtable.c: Likewise.
30461         * sunrpc/rpc_prot.c: Likewise.
30462         * sunrpc/rpc_thread.c: Likewise.
30463         * sunrpc/rtime.c: Likewise.
30464         * sunrpc/svc.c: Likewise.
30465         * sunrpc/svc_auth.c: Likewise.
30466         * sunrpc/svc_raw.c: Likewise.
30467         * sunrpc/svc_run.c: Likewise.
30468         * sunrpc/svc_tcp.c: Likewise.
30469         * sunrpc/svc_udp.c: Likewise.
30470         * sunrpc/svc_unix.c: Likewise.
30471         * sunrpc/svcauth_des.c: Likewise.
30472         * sunrpc/xcrypt.c: Likewise.
30473         * sunrpc/xdr.c: Likewise.
30474         * sunrpc/xdr_array.c: Likewise.
30475         * sunrpc/xdr_float.c: Likewise.
30476         * sunrpc/xdr_intXX_t.c: Likewise.
30477         * sunrpc/xdr_mem.c: Likewise.
30478         * sunrpc/xdr_rec.c: Likewise.
30479         * sunrpc/xdr_ref.c: Likewise.
30480         * sunrpc/xdr_sizeof.c: Likewise.
30481         * sunrpc/xdr_stdio.c: Likewise.
30482
30483 2012-05-10  Roland McGrath  <roland@hack.frob.com>
30484
30485         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30486         change.  Update copyright years.
30487
30488 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
30489
30490         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30491
30492 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
30493             Joseph Myers  <joseph@codesourcery.com>
30494             Paul Pluzhnikov  <ppluzhnikov@google.com>
30495
30496         [BZ #14012]
30497         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30498         requiring rpcgen.
30499         [cross-compiling] (extra-libs): Likewise.
30500         [cross-compiling] (extra-libs-others): Likewise.
30501         [cross-compiling] (librpcsvc-routines): Likewise.
30502         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30503         [cross-compiling] (omit-deps): Likewise.
30504         (sunrpc-CPPFLAGS): New variable.
30505         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30506         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30507         (cross-rpcgen-objs): New variable.
30508         (extra-objs): Append $(cross-rpcgen-objs).
30509         ($(cross-rpcgen-objs)): New rule.
30510         ($(objpfx)cross-rpcgen): Likewise.
30511         (rpcgen-cmd): Define to use $(built-program-file).  Expand
30512         comment.
30513         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30514         ($(objpfx)x%.stmp): Likewise.
30515         * sunrpc/proto.h [IS_IN_build] (_): Define.
30516         [IS_IN_build] (_libc_intl_domainname): Likewise.
30517
30518 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30519
30520         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30521         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30522         and R_X86_64_TPOFF64.
30523
30524 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
30525
30526         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30527         sysdeps/unix/sysv/syscalls.list.
30528         (stime): Likewise.
30529         (utime): Likewise.
30530         * sysdeps/unix/sysv/syscalls.list: Remove file.
30531
30532 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
30533
30534         [BZ #3440]
30535         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30536         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30537         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30538         (__LC_IDENTIFICATION): Make these macros useful in #if
30539         expressions, as required by C99.
30540
30541 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
30542
30543         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30544         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
30545         after this.
30546
30547 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
30548
30549         * stdlib/longlong.h: Updated from GCC.
30550
30551 2012-05-09  Andreas Jaeger  <aj@suse.de>
30552
30553         * nscd/nscd.c (run_modes): Make named enum, reorder so that
30554         default is first entry.
30555         (run_mode): Set type.
30556         (main): Remove informal message about syslog.
30557         (options): Fix typo.
30558
30559         [BZ #14053]
30560         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30561         to asm.
30562         (lrint): Likewise.
30563         (llrintf): Likewise.
30564         (llrint): Likewise.
30565         (rint): Likewise.
30566         (rintf): Likewise.
30567         (nearbyint): Likewise.
30568         (nearbyintf): Likewise.
30569
30570 2012-05-09  Andreas Jaeger  <aj@suse.de>
30571             Pedro Alves  <palves@redhat.com>
30572
30573         * nscd/nscd.c (run_mode): Use enum.
30574         (main): Cleanup coding style issue.
30575
30576 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
30577             Andreas Jaeger  <aj@suse.de>
30578
30579         * nscd/nscd.c (go_background): Replaced with...
30580         (run_mode): ... this.
30581         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30582         (options): Add -F --foreground.
30583         (main): Implement it.
30584         (parse_opt): Parse it.
30585
30586 2012-05-09  Andreas Jaeger  <aj@suse.de>
30587
30588         [BZ #14083]
30589         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30590         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30591         -Wconversion warning.
30592         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30593         Likewise.
30594
30595 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
30596
30597         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
30598         == 0.
30599         (LC_ALL): Use macro-int-constant.
30600         (LC_COLLATE): Likewise.
30601         (LC_CTYPE): Likewise.
30602         (LC_MESSAGES): Likewise.
30603         (LC_MONETARY): Likewise.
30604         (LC_NUMERIC): Likewise.
30605         (LC_TIME): Likewise.
30606         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30607         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30608         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30609         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30610         Specify type.
30611         [C99-based standards] (float_t): Expect type.
30612         [C99-based standards] (double_t): Expect type.
30613         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
30614         type.
30615         [C99-based standards] (HUGE_VALL): Likewise.
30616         [C99-based standards] (INFINITY): Likewise.
30617         [C99-based standards] (NAN): Likewise.
30618         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30619         [C99-based standards] (FP_NAN): Likewise.
30620         [C99-based standards] (FP_NORMAL): Likewise.
30621         [C99-based standards] (FP_SUBNORMAL): Likewise.
30622         [C99-based standards] (FP_ZERO): Likewise.
30623         [C99-based standards] (FP_FAST_FMA): Use
30624         optional-macro-int-constant.  Specify type.  Require == 1.
30625         [C99-based standards] (FP_FAST_FMAF): Likewise.
30626         [C99-based standards] (FP_FAST_FMAL): Likewise.
30627         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30628         [C99-based standards] (FP_ILOGBNAN): Likewise.
30629         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30630         Specify type.
30631         [C99-based standards] (MATH_ERREXCEPT): Likewise.
30632         [C99-based standards] (math_errhandling): Specify type.
30633         [ISO99 || ISO11] (signgam): Do not allow.
30634         [non-C99-based standards] (copysignf): Do not allow.
30635         [non-C99-based standards] (exp2f): Likewise.
30636         [non-C99-based standards] (log2f): Likewise.
30637         [non-C99-based standards] (modff): Allow.
30638         [non-C99-based standards] (erff): Do not allow.
30639         [non-C99-based standards] (erfcf): Likewise.
30640         [non-C99-based standards] (gammaf): Likewise.
30641         [non-C99-based standards] (hypotf): Likewise.
30642         [non-C99-based standards] (j0f): Likewise.
30643         [non-C99-based standards] (j1f): Likewise.
30644         [non-C99-based standards] (jnf): Likewise.
30645         [non-C99-based standards] (lgammaf): Likewise.
30646         [non-C99-based standards] (tgammaf): Likewise.
30647         [non-C99-based standards] (y0f): Likewise.
30648         [non-C99-based standards] (y1f): Likewise.
30649         [non-C99-based standards] (ynf): Likewise.
30650         [non-C99-based standards] (isnanf): Likewise.
30651         [non-C99-based standards] (acoshf): Likewise.
30652         [non-C99-based standards] (asinhf): Likewise.
30653         [non-C99-based standards] (atanhf): Likewise.
30654         [non-C99-based standards] (cbrtf): Likewise.
30655         [non-C99-based standards] (expm1f): Likewise.
30656         [non-C99-based standards] (ilogbf): Likewise.
30657         [non-C99-based standards] (log1pf): Likewise.
30658         [non-C99-based standards] (logbf): Likewise.
30659         [non-C99-based standards] (nextafterf): Likewise.
30660         [non-C99-based standards] (remainderf): Likewise.
30661         [non-C99-based standards] (rintf): Likewise.
30662         [non-C99-based standards] (scalbf): Likewise.
30663         [non-C99-based standards] (copysignl): Likewise.
30664         [non-C99-based standards] (exp2l): Likewise.
30665         [non-C99-based standards] (log2l): Likewise.
30666         [non-C99-based standards] (modfl): Allow.
30667         [non-C99-based standards] (erfl): Do not allow.
30668         [non-C99-based standards] (erfcl): Likewise.
30669         [non-C99-based standards] (gammal): Likewise.
30670         [non-C99-based standards] (hypotl): Likewise.
30671         [non-C99-based standards] (j0l): Likewise.
30672         [non-C99-based standards] (j1l): Likewise.
30673         [non-C99-based standards] (jnl): Likewise.
30674         [non-C99-based standards] (lgammal): Likewise.
30675         [non-C99-based standards] (tgammal): Likewise.
30676         [non-C99-based standards] (y0l): Likewise.
30677         [non-C99-based standards] (y1l): Likewise.
30678         [non-C99-based standards] (ynl): Likewise.
30679         [non-C99-based standards] (isnanl): Likewise.
30680         [non-C99-based standards] (acoshl): Likewise.
30681         [non-C99-based standards] (asinhl): Likewise.
30682         [non-C99-based standards] (atanhl): Likewise.
30683         [non-C99-based standards] (cbrtl): Likewise.
30684         [non-C99-based standards] (expm1l): Likewise.
30685         [non-C99-based standards] (ilogbl): Likewise.
30686         [non-C99-based standards] (log1pl): Likewise.
30687         [non-C99-based standards] (logbl): Likewise.
30688         [non-C99-based standards] (nextafterl): Likewise.
30689         [non-C99-based standards] (remainderl): Likewise.
30690         [non-C99-based standards] (rintl): Likewise.
30691         [non-C99-based standards] (scalbl): Likewise.
30692         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30693         [non-C99-based standards] (FP_*): Do not allow.
30694         [C99-based standards] (FP_*): Change to
30695         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30696         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30697         allow.
30698         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30699         (SIG_ERR): Likewise.
30700         [X/Open-based standards] (SIG_HOLD): Likewise.
30701         (SIG_IGN): Likewise.
30702         (SIGABRT): Use macro-int-constant.  Specify type.  Require
30703         positive value.
30704         (SIGFPE): Likewise.
30705         (SIGILL): Likewise.
30706         (SIGINT): Likewise.
30707         (SIGSEGV): Likewise.
30708         (SIGTER): Likewise.
30709         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30710         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30711         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30712         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30713         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30714         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30715         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30716         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30717         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30718         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30719         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30720         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30721         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30722         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30723         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30724         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30725         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30726         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30727         [X/Open-based standards] (SIGTRAP): Likewise.
30728         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30729         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30730         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30731         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30732         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30733         allow.
30734
30735 2012-05-08  Ian Wienand  <ianw@vmware.com>
30736
30737         [BZ #14080]
30738         * time/tzset.c (__tzset_parse_tz): Update default rules for
30739         daylight time changes in the Energy Policy Act of 2005.
30740
30741 2012-05-09  Andreas Jaeger  <aj@suse.de>
30742
30743         [BZ #13983]
30744         * elf/ldconfig.c (parse_conf): Change string to make clear that
30745         ldconfig only issued a warning if ld.so.conf does not exist.
30746
30747 2012-05-08  David S. Miller  <davem@davemloft.net>
30748
30749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30750         movxtod instead of popping the value on the stack.
30751
30752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30753
30754 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
30755
30756         * config.h.in: Add HAVE_ARM_PCS_VFP.
30757
30758 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
30759
30760         [BZ #13979]
30761         * include/features.h: Warn if user requests __FORTIFY_SOURCE
30762         checking but the checks are disabled for any reason.
30763
30764 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
30765
30766         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30767         and ELF64_R_TYPE with ELFW(R_TYPE).
30768
30769 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
30770
30771         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30772         (ulimit): Likewise.
30773
30774         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30775         (settimeofday): Likewise.
30776
30777 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
30778
30779         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
30780         a struct th_u2 inside the union, and move tu_block/tu_code into
30781         a new th_u3 union of tu_block/tu_code inside of that.  Move
30782         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
30783         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
30784         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30785         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30786         (th_stuff): Change to th_u1.tu_stuff.
30787         (th_data): Define.
30788         (th_msg): Change to th_u1.th_u2.tu_data.
30789
30790 2012-05-07  David S. Miller  <davem@davemloft.net>
30791
30792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30793
30794         [BZ #14074]
30795         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30796         (SETUP_PIC_REG): Use it.
30797         (SETUP_PIC_REG_LEAF): Use it.
30798
30799 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
30800
30801         [BZ #13885]
30802         [BZ #13923]
30803         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30804         USE_AS_EXPM1L.
30805         (EXPL_FINITE): Likewise.
30806         (FLDLOG): Likewise.
30807         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30808         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30809         e_expl.S.
30810         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30811         USE_AS_EXPM1L.
30812         (EXPL_FINITE): Likewise.
30813         (FLDLOG): Likewise.
30814         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30815         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30816         e_expl.S.
30817         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
30818         test of -max_value argument for long double.
30819         * sysdeps/i386/fpu/libm-test-ulps: Update.
30820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30821
30822 2012-05-06  David S. Miller  <davem@davemloft.net>
30823
30824         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30825         quad soft-float symbols whose references which are compiler
30826         generated.
30827         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30828
30829 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
30830
30831         [BZ #13884]
30832         [BZ #13914]
30833         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30834         USE_AS_EXP10L.
30835         (EXPL_FINITE): Likewise.
30836         (FLDLOG): Likewise.
30837         (c0): Likewise.
30838         (c1): Likewise.
30839         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30840         Adjust comments for base varying.
30841         (__expl_finite): Change alias to EXPL_FINITE.
30842         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30843         e_expl.S.
30844         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30845         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30846         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30847         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30848         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30849         USE_AS_EXP10L.
30850         (EXPL_FINITE): Likewise.
30851         (FLDLOG): Likewise.
30852         (c0): Likewise.
30853         (c1): Likewise.
30854         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30855         Adjust comments for base varying.
30856         (__expl_finite): Change alias to EXPL_FINITE.
30857         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
30858         tests for bugs.
30859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30860
30861         [BZ #14064]
30862         * math/libm-test.inc (check_float_internal): Correct ulp
30863         calculation for subnormal expected results.
30864
30865 2012-05-06  Andreas Jaeger  <aj@suse.de>
30866
30867         * Makeconfig (+math-flags): New, set to -frounding-math.
30868         (+cflags): Add +math-flags so that all of glibc gets compiled with
30869         it.
30870
30871         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30872
30873 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
30874
30875         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30876         Disable one test.
30877
30878         [BZ #13787]
30879         [BZ #13922]
30880         [BZ #14036]
30881         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30882         (__ieee754_expl): Allow for and saturate large arguments.
30883         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30884         (u_threshold): Likewise.
30885         (__exp): Call __ieee754_exp before checking for overflow and
30886         underflow.
30887         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30888         (u_threshold): Likewise.
30889         (__expf): Call __ieee754_expf before checking for overflow and
30890         underflow.
30891         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30892         (u_threshold): Likewise.
30893         (__expl): Call __ieee754_expl before checking for overflow and
30894         underflow.
30895         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30896         (__ieee754_expl): Allow for and saturate large arguments.
30897         * math/libm-test.inc (exp_test): Add another test.  Do not allow
30898         missing overflow exception on overflow.
30899         (expm1_test): Do not allow missing overflow exception on overflow.
30900
30901         * sysdeps/i386/fpu/e_expl.c: Move to ...
30902         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
30903         rather than using inline asm.
30904         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30905         * sysdeps/x86_64/fpu/e_expl.S: Copy from
30906         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30907
30908         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30909         (nice): Likewise.
30910         (poll): Likewise.
30911         (signal): Likewise.
30912         (time): Likewise.
30913         (times): Likewise.
30914
30915 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30916
30917         * sysdeps/unix/syscalls.list (adjtime): Add entry from
30918         sysdeps/unix/common/syscalls.list.
30919         (fchmod): Likewise.
30920         (fchown): Likewise.
30921         (ftruncate): Likewise.
30922         (getrusage): Likewise.
30923         (gettimeofday): Likewise.
30924         (setpgid): Likewise.
30925         (setregid): Likewise.
30926         (setreuid): Likewise.
30927         (sigaction): Likewise.
30928         (truncate): Likewise.
30929         (vhangup): Likewise.
30930         * sysdeps/unix/common/syscalls.list: Remove file.
30931         * sysdeps/unix/bsd/Implies: Don't include unix/common.
30932         * sysdeps/unix/sysv/linux/Implies: Likewise.
30933
30934 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
30935
30936         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30938         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30939         Moved to ...
30940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30941         Here.
30942         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30943         to ...
30944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30945         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30946         to ...
30947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30948         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30949         to ...
30950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30951         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30952         to ...
30953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30954         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30955         to ...
30956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30957         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30958         to ...
30959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30960         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30961         to ...
30962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30963         Here.
30964         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30965         to ...
30966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30967         Here.
30968         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30969         to ...
30970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30971         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30972         Moved to ...
30973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30974         Here.
30975         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30976         to ...
30977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30978
30979 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30980
30981         * sysdeps/unix/common/bits/dirent.h: Remove file.
30982         * sysdeps/unix/common/bits/fcntl.h: Likewise.
30983
30984         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30985         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30986         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30987         * sysdeps/unix/bsd/isatty.c: Likewise.
30988         * sysdeps/unix/bsd/tcdrain.c: Likewise.
30989         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30990         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30991
30992 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30993
30994         [BZ #13563]
30995         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30996         long double comparison inaccuracies.
30997         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30999
31000 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
31001
31002         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31003         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31004
31005 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31006
31007         [BZ #14049]
31008         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31009         nonzero digits before rounding a hex value.
31010         * stdlib/tst-strtod.c (tests): Add another test.
31011
31012 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31013
31014         * sysdeps/s390/fpu/libm-test-ulps: Update.
31015
31016 2012-05-03  Andreas Jaeger  <aj@suse.de>
31017
31018         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31019         does not get optimized out.
31020         (malloc_opt_barrier): New.
31021
31022 2012-05-03  Andreas Jaeger  <aj@suse.de>
31023             Roland McGrath  <roland@hack.frob.com>
31024
31025         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31026         intermediate file deletion.
31027         (generated): Add .symlist files.
31028
31029 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
31030
31031         [BZ #13775]
31032         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31033         Redirect under this condition.
31034         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31035         [__USE_GNU] (__dprintf_chk): Not under this condition.
31036         [__USE_GNU] (__vdprintf_chk): Likewise.
31037         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31038         under this condition.
31039         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31040         [__USE_XOPEN2K8] (dprintf): Define under this condition.
31041         [__USE_XOPEN2K8] (vdprintf): Likewise.
31042         [__USE_GNU] (__dprintf_chk): Not under this condition.
31043         [__USE_GNU] (__vdprintf_chk): Likewise.
31044         [__USE_GNU] (dprintf): Likewise.
31045         [__USE_GNU] (vdprintf): Likewise.
31046
31047 2012-05-03  Roland McGrath  <roland@hack.frob.com>
31048
31049         * elf/Makefile (common-generated): Set this instead of generated for
31050         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
31051         $(all-built-dso)-derived lists.
31052
31053 2012-05-03  Andreas Jaeger  <aj@suse.de>
31054
31055         * sysdeps/i386/fpu/libm-test-ulps: Update.
31056
31057         * FAQ: Removed.
31058         * FAQ.in: Likewise.
31059         * scripts/gen-FAQ.pl: Likewise.
31060         * manual/install.texi (Installation): Point to online location of
31061         FAQ.
31062         * Makefile (files-for-dist): Remove FAQ.
31063         (FAQ): Remove.
31064
31065 2012-05-02  Allan McRae  <allan@archlinux.org>
31066
31067         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31068         (LDFLAGS-reldepmod5.so): Likewise.
31069         (LDFLAGS-reldep6mod1.so): Likewise.
31070         (LDFLAGS-reldep6mod4.so): Likewise.
31071         (LDFLAGS-reldep8mod3.so): Likewise.
31072         (LDFLAGS-unload4mod1.so): Likewise.
31073         (LDFLAGS-unload4mod2.so): Likewise.
31074         (LDFLAGS-tst-initorder): Likewise.
31075         (LDFLAGS-tst-initordera2.so): Likewise.
31076         (LDFLAGS-tst-initordera3.so): Likewise.
31077         (LDFLAGS-tst-initordera4.so): Likewise.
31078         (LDFLAGS-tst-initorderb2.so): Likewise.
31079         (LDFLAGS-noload): Likewise.
31080         (LDFLAGS-next): Likewise.
31081         (LDFLAGS-order2mod1.so): Likewise.
31082         (LDFLAGS-order2mod2.so): Likewise.
31083         (LDFLAGS-tst-initorder2): Likewise.
31084         (LDFLAGS-tst-initorder2a.so): Likewise.
31085         (LDFLAGS-tst-initorder2b.so): Likewise.
31086         (LDFLAGS-tst-initorder2c.so): Likewise.
31087         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31088
31089 2012-05-02  David S. Miller  <davem@davemloft.net>
31090
31091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31092
31093 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31094
31095         [BZ #14055]
31096         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31097
31098 2012-05-02  Andreas Jaeger  <aj@suse.de>
31099
31100         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31101         since we manipulate rounding mode.
31102         (CPPFLAGS-test-idouble.c): Likewise.
31103         (CPPFLAGS-test-ifloat.c): Likewise.
31104         (CFLAGS-test-ldouble.c): Likewise.
31105         (CFLAGS-test-double.c): Likewise.
31106         (CFLAGS-test-float.c): Likewise.
31107         (CFLAGS-test-misc.c): Likewise.
31108         (CFLAGS-test-test-fenv.c): Likewise.
31109
31110 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31111
31112         [BZ #2550]
31113         [BZ #2570]
31114         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31115         comparisons to determine direction to adjust input.
31116
31117 2012-05-01  Roland McGrath  <roland@hack.frob.com>
31118
31119         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31120         output to the target.
31121
31122         * scripts/localplt.awk: New file.
31123         * elf/Makefile ($(objpfx)check-localplt): Target removed.
31124         (check-localplt-CFLAGS): Variable removed.
31125         ($(all-built-dso:=.jmprel)): New static pattern rule.
31126         (generated): Add those targets.
31127         (localplt-built-dso): New variable.
31128         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31129
31130         * elf/check-localplt.c: File removed.
31131
31132         * scripts/check-execstack.awk: New file.
31133         * elf/Makefile ($(objpfx)check-execstack): Target removed.
31134         (check-execstack-CFLAGS): Variable removed.
31135         ($(objpfx)check-execstack.h): Target removed.
31136         ($(objpfx)execstack-default): New target.
31137         (generated): Add that instead of check-execstack.h.
31138         ($(all-built-dso:=.phdr)): New static pattern rule.
31139         (generated): Add those targets.
31140         * elf/check-execstack.c: File removed.
31141
31142         * scripts/check-textrel.awk: New file.
31143         * elf/Makefile ($(objpfx)check-textrel): Target removed.
31144         (check-textrel-CFLAGS): Variable removed.
31145         (all-built-dso): Use := to define.o
31146         ($(all-built-dso:=.dyn)): New static pattern rule.
31147         (generated): Add those targets.
31148         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31149         * config.make.in (READELF): New substituted variable.
31150         * elf/check-textrel.c: File removed.
31151
31152 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31153
31154         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31155         allow.
31156         * conform/data/ctype.h-data [C99-based standards] (isblank):
31157         Expect function.
31158         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31159         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31160         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31161         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31162         Specify type.  Require positive value.
31163         (EILSEQ): Likewise.
31164         (ERANGE): Likewise.
31165         [ISO || POSIX] (EILSEQ): Do not expect.
31166         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31167         Specify type.  Require positive value.
31168         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31169         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31170         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31171         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31172         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31173         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31174         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31175         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31176         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31177         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31178         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31179         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31180         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31181         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31182         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31183         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31184         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31185         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31186         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31187         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31188         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31189         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31190         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31191         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31192         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31193         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31194         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31195         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31196         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31197         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31198         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31199         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31200         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31201         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31202         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31203         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31204         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31205         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31206         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31207         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31208         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31209         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31210         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31211         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31212         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31213         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31214         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31215         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31216         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31217         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31218         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31219         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31220         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31221         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31222         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31223         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31224         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31225         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31226         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31227         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31228         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31229         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31230         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31231         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31232         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31233         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31234         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31235         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31236         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31237         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31238         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31239         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31240         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31241         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31242         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31243         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31244         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31245         Require >= 2.
31246         (FLT_ROUNDS): Expect as macro, not constant.
31247         (FLT_MANT_DIG): Use macro-int-constant.
31248         (DBL_MANT_DIG): Likewise.
31249         (LDBL_MANT_DIG): Likewise.
31250         (FLT_DIG): Likewise.
31251         (DBL_DIG): Likewise.
31252         (LDBL_DIG): Likewise.
31253         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
31254         (DBL_MIN_EXP): Likewise.
31255         (LDBL_MIN_EXP): Likewise.
31256         (FLT_MAX_EXP): Use macro-int-constant.
31257         (DBL_MAX_EXP): Likewise.
31258         (LDBL_MAX_EXP): Likewise.
31259         (FLT_MAX_10_EXP): Likewise.
31260         (DBL_MAX_10_EXP): Likewise.
31261         (LDBL_MAX_10_EXP): Likewise.
31262         (FLT_MAX): Use macro-constant.
31263         (DBL_MAX): Likewise.
31264         (LDBL_MAX): Likewise.
31265         (FLT_EPSILON): Use macro-constant.  Give upper bound.
31266         (DBL_EPSILON): Likewise.
31267         (LDBL_EPSILON): Likewise.
31268         (FLT_MIN): Likewise.
31269         (DBL_MIN): Likewise.
31270         (LDBL_MIN): Likewise.
31271         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31272         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31273         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31274         [ISO11] (FLT_HAS_SUBNORM): Likewise.
31275         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31276         [ISO11] (DBL_DECIMAL_DIG): Likewise.
31277         [ISO11] (FLT_DECIMAL_DIG): Likewise.
31278         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31279         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31280         [ISO11] (FLT_TRUE_MIN): Likewise.
31281         [ISO11] (LDBL_TRUE_MIN): Likewise.
31282         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31283         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31284         (SCHAR_MIN): Use macro-int-constant.  Specify type.
31285         (SCHAR_MAX): Likewise.
31286         (UCHAR_MAX): Likewise.
31287         (CHAR_MIN): Likewise.
31288         (CHAR_MAX): Likewise.
31289         (MB_LEN_MAX): Use macro-int-constant.
31290         (SHRT_MIN): Use macro-int-constant.  Specify type.
31291         (SHRT_MAX): Likewise.
31292         (USHRT_MAX): Likewise.
31293         (INT_MAX): Likewise.
31294         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
31295         bound negative.
31296         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31297         bound with "U".
31298         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31299         bound with "L".
31300         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
31301         bound negative.  Suffix upper bound with "L".
31302         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31303         bound with "UL".
31304         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31305         Specify type.
31306         [C99-based standards] (LLONG_MAX): Likewise.
31307         [C99-based standards] (ULLONG_MAX): Likewise.
31308         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
31309         == 0.
31310         [ISO11] (max_align_t): Require type.
31311         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31312
31313         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31314         from $CFLAGS, without defining away __attribute__ calls.
31315         (checknamespace): Use $CFLAGS_namespace.
31316
31317         * conform/conformtest.pl (@keywords): Only include C99 keywords
31318         for standards based on C99 or C11.
31319
31320         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31321         Disable tests.
31322         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31323         UNIX98]: Likewise.
31324
31325         * conform/conformtest.pl: Handle "macro-int-constant" and test for
31326         usability of symbols in #if.
31327
31328         * conform/conformtest.pl: If macro or constant types start
31329         "promoted:", expect the symbol to be of the following type
31330         promoted by the integer promotions.
31331
31332         * conform/conformtest.pl: Parse all "constant" and "macro" lines
31333         in one place.  Also handle "macro-constant".
31334
31335         * conform/conformtest.pl: Only accept expected macro values with
31336         "==".  Parse all "macro" lines in one place.
31337         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31338
31339         * conform/conformtest.pl: Handle braced types on "constant" lines
31340         instead of handling "typed-constant".
31341         * conform/data/signal.h-data: Use "constant" instead of
31342         "typed-constant".
31343
31344         * conform/conformtest.pl: Handle "optional-" at start of lines in
31345         one place rather than duplicating several cases.  Handle each
31346         format of "macro" line with initial "optional-".
31347
31348         * conform/conformtest.pl: Only accept expected constant or
31349         optional-constant values with "==".  Parse all "constant" lines in
31350         one place.  Parse all "optional-constant" lines in one place.
31351         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31352         * conform/data/fmtmsg.h-data: Likewise.
31353         * conform/data/netinet/in.h-data: Likewise.
31354         * conform/data/tar.h-data: Likewise.
31355         * conform/data/limits.h-data: Use "==" form on "constant" and
31356         "optional-constant" lines.
31357
31358         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31359         Use -std=c99 for XOPEN2K.
31360         (@knownproblems): Remove.
31361         (newtoken): Don't check %isknown.
31362
31363         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31364         Do not expect macro.
31365         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31366         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31367         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31368         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31369         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31370         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31371         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31372         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31373         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31374         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31375         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31376         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31377         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31378         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31379         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31380         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31381         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31382         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31383         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31384         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31385         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31386         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31387         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31388         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31389         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31390         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31391         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31392         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31393         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31394         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31395         [XPG3] (acosh): Likewise.
31396         [XPG3] (asinh): Likewise.
31397         [XPG3] (atanh): Likewise.
31398         [XPG3] (cbrt): Likewise.
31399         [XPG3] (expm1): Likewise.
31400         [XPG3] (ilogb): Likewise.
31401         [XPG3] (log1p): Likewise.
31402         [XPG3] (logb): Likewise.
31403         [XPG3] (nextafter): Likewise.
31404         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31405         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31406         [XPG3] (remainder): Likewise.
31407         [XPG3] (rint): Likewise.
31408         [XPG3 || XPG4 || UNIX98] (round): Likewise.
31409         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31410         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31411         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31412         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31413         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31414         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31415         [UNIX98 || XOPEN2K] (scalb): Expect.
31416         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31417         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31418         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31419         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31420         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31421         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31422         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31423         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31424         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31425         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31426         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31427         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31428         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31429         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31430         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31431         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31432         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31433         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31434         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31435         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31436         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31437         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31438         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31439         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31440         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31441         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31442         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31443         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31444         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31445         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31446         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31447         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31448         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31449         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31450         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31451         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31452         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31453         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31454         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31455         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31456         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31457         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31458         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31459         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31460         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31461         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31462         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31463         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31464         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31465         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31466         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31467         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31468         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31469         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31470         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31471         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31472         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31473         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31474         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31475         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31476         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31477         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31478         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31479         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31480         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31481         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31482         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31483         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31484         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31485         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31486         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31487         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31488         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31489         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31490         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31491         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31492         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31493         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31494         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31495         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31496         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31497         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31498         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31499         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31500         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31501         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31502         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31503         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31504         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31505         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31506         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31507         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31508         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31509         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31510         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31511         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31512         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31513         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31514         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31515         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31516         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31517         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31518         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31519         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31520         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31521         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31522         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31523         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31524         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31525         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31526         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31527         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31528         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31529         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31530         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31531         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31532         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31533         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31534         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31535         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31536         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31537         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31538         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31539         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31540         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31541         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31542         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31543         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31544         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31545         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31546         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31547         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31548         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31549         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31550         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31551         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31552         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31553
31554         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31555         _XOPEN_SOURCE_EXTENDED for XPG4.
31556
31557         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31558
31559         * Makeconfig (localtime): Remove variable.
31560         (inst_localtime-file): Likewise.
31561
31562 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31563
31564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31565         Update.
31566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31567         Update.
31568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31569         Update.
31570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31571         Update.
31572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31573         Update.
31574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31575         Update.
31576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31577         Update.
31578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31579         Update.
31580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31581         Update.
31582
31583 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31584
31585         [BZ #2550]
31586         [BZ #2570]
31587         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31588         comparisons to determine direction to adjust input.
31589         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31590         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31591         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31592         Likewise.
31593         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31594         Likewise.
31595         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31596         Likewise.
31597         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31598         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31599         Likewise.
31600         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31601         Likewise.
31602         * math/libm-test.inc (nexttoward_test): Add more tests.
31603
31604 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31605
31606         [BZ #14040]
31607         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31608         in version GLIBC_2.1, not GLIBC_2.0.
31609         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31610         Likewise.
31611
31612 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
31613
31614         [BZ #13942]
31615         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31616         (1 - x) * (1 + x).
31617         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31618         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31619         * math/libm-test.inc (acos_test): Add more tests.
31620         (asin_test): Likewise.
31621         * sysdeps/i386/fpu/libm-test-ulps: Update.
31622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31623
31624         [BZ #14034]
31625         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31626         of square root.
31627         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31628         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31629         * math/libm-test.inc (acos_test_tonearest): New function.
31630         (acos_test_towardzero): Likewise.
31631         (acos_test_downward): Likewise.
31632         (acos_test_upward): Likewise.
31633         (asin_test_tonearest): Likewise.
31634         (asin_test_towardzero): Likewise.
31635         (asin_test_downward): Likewise.
31636         (asin_test_upward): Likewise.
31637         (main): Call the new functions.
31638         * sysdeps/i386/fpu/libm-test-ulps: Update.
31639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31640
31641         [BZ #13884]
31642         [BZ #13924]
31643         * math/e_exp10.c: Include <float.h>.
31644         (__ieee754_exp10): Handle underflow here rather than multiplying
31645         large negative argument by M_LN10.
31646         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31647         of __ieee754_expf.
31648         * math/e_exp10l.c: Include <float.h>.
31649         (__ieee754_exp10l): Handle underflow here rather than multiplying
31650         large negative argument by M_LN10l.
31651         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
31652         spurious overflow exception on underflow.
31653
31654 2012-04-29  Marek Polacek  <polacek@redhat.com>
31655
31656         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31657         (__fortify_function): New macro.
31658         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31659         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31660         __extern_always_inline.
31661         * libio/bits/stdio2.h: Likewise.
31662         * libio/bits/stdio.h: Likewise.
31663         * string/string.h: Likewise.
31664         * string/bits/string3.h: Likewise.
31665         * include/stdio.h: Likewise.
31666         * stdlib/bits/stdlib.h: Likewise.
31667         * stdlib/stdlib.h: Likewise.
31668         * rt/bits/mqueue2.h: Likewise.
31669         * rt/mqueue.h: Likewise.
31670         * posix/bits/unistd.h: Likewise.
31671         * posix/unistd.h: Likewise.
31672         * io/bits/poll2.h: Likewise.
31673         * io/bits/fcntl2.h: Likewise.
31674         * io/fcntl.h: Likewise.
31675         * io/sys/poll.h: Likewise.
31676         * misc/bits/syslog.h: Likewise.
31677         * misc/bits/syslog-ldbl.h: Likewise.
31678         * misc/sys/syslog.h: Likewise.
31679         * socket/bits/socket2.h: Likewise.
31680         * socket/sys/socket.h: Likewise.
31681         * debug/tst-chk1.c: Likewise.
31682         * wcsmbs/bits/wchar2.h: Likewise.
31683         * wcsmbs/bits/wchar-ldbl.h: Likewise.
31684         * wcsmbs/wchar.h: Likewise.
31685
31686 2012-04-29  Andreas Jaeger  <aj@suse.de>
31687
31688         * Makerules (tests): Remove enable-check-abi protection.
31689         (check-abi-warn): Remove.
31690         (check-abi-%): Remove check-abi-warn usage.
31691
31692         * configure.in: Remove check-abi configure option.
31693         * configure: Regenerated.
31694         * config.make.in (enable-check-abi): Remove.
31695
31696 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
31697
31698         [BZ #14033]
31699         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31700         double functions to double *_finite functions.
31701
31702         [BZ #13941]
31703         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31704         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31705         LDBL_MIN_EXP.
31706         * stdio-common/Makefile (tests): Add tst-sprintf3.
31707         * stdio-common/tst-sprintf3.c: New file.
31708
31709         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31710         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31711
31712 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31713
31714         * conform/conformtest.pl: Remove duplicate typed-constant
31715         handling.
31716
31717 2012-04-28  David S. Miller  <davem@davemloft.net>
31718
31719         * Makerules (%.abilist): Add vpath on sysdep_dirs.
31720         (check-abi-%): Remove AWK script prerequisite and explicit
31721         abilist directory.
31722         (check-abi): Rewrite to just diff the symlist with the abilist.
31723         (config-tls, config-abi-config): Delete, no longer used.
31724         (update-abi-%): Remove AWK script and explicit abilist directory.
31725         (update-abi): Rewrite to simply compare and conditionally copy the
31726         symlist and the sysdep abilist file.  Remove update-abi-config
31727         checks.
31728         * abilist/ld.abilist: Remove.
31729         * abilist/libBrokenLocale.abilist: Remove.
31730         * abilist/libanl.abilist: Remove.
31731         * abilist/libcrypt.abilist: Remove.
31732         * abilist/libdl.abilist: Remove.
31733         * abilist/librt.abilist: Remove.
31734         * abilist/libthread_db.abilist: Remove.
31735         * abilist/libutil.abilist: Remove.
31736         * scripts/extract-abilist.awk: Remove.
31737         * scripts/merge-abilist.awk: Remove.
31738         * sysdeps/generic/libcidn.abilist: New file.
31739         * sysdeps/generic/libnss_compat.abilist: New file.
31740         * sysdeps/generic/libnss_db.abilist: New file.
31741         * sysdeps/generic/libnss_dns.abilist: New file.
31742         * sysdeps/generic/libnss_files.abilist: New file.
31743         * sysdeps/generic/libnss_hesiod.abilist: New file.
31744         * sysdeps/generic/libnss_nis.abilist: New file.
31745         * sysdeps/generic/libnss_nisplus.abilist: New file.
31746         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31747         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31748         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31749         file.
31750         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31751         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31752         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31753         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31754         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31755         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31756         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31757         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31758         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31759         file.
31760         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31761         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31762         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31763         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31764         file.
31765         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31766         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31767         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31768         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31769         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31770         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31771         file.
31772         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31773         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31774         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31775         file.
31776         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31777         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31778         New file.
31779         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31780         New file.
31781         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31782         New file.
31783         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31784         New file.
31785         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31786         New file.
31787         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31788         New file.
31789         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31790         New file.
31791         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31792         New file.
31793         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31794         New file.
31795         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31796         New file.
31797         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31798         New file.
31799         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31800         New file.
31801         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31802         New file.
31803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31804         file.
31805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31806         New file.
31807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31808         New file.
31809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31810         file.
31811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31812         New file.
31813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31814         New file.
31815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31816         file.
31817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31818         New file.
31819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31820         New file.
31821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31822         New file.
31823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31824         New file.
31825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31826         New file.
31827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31828         New file.
31829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31831         file.
31832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31833         New file.
31834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31835         file.
31836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31837         file.
31838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31839         file.
31840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31841         file.
31842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31843         file.
31844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31845         New file.
31846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31847         file.
31848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31849         file.
31850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31851         New file.
31852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31853         file.
31854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31856         file.
31857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31858         New file.
31859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31860         file.
31861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31862         file.
31863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31864         file.
31865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31866         file.
31867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31868         file.
31869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31870         New file.
31871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31872         file.
31873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31874         file.
31875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31876         New file.
31877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31878         file.
31879         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31880         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31881         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31882         file.
31883         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31884         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31885         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31886         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31887         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31888         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31889         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31890         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31891         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31892         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31895         file.
31896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31897         New file.
31898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31899         file.
31900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31901         file.
31902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31903         file.
31904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31905         file.
31906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31907         file.
31908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31909         New file.
31910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31911         New file.
31912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31913         file.
31914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31915         New file.
31916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31917         file.
31918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31920         file.
31921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31922         New file.
31923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31924         file.
31925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31926         file.
31927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31928         file.
31929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31930         file.
31931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31932         file.
31933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31934         New file.
31935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31936         New file.
31937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31938         file.
31939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31940         New file.
31941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31942         file.
31943
31944 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31945
31946         * conform/conformtest.pl: Fix typo in handling typed-constant from
31947         allow-header.
31948
31949 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31950
31951         * README: Cut down references to pre-2.6 Linux kernels and
31952         Linuxthreads.  Update lists of configurations in libc and ports
31953         and sort alphabetically.  Say "or newer" with Linux kernel version
31954         requirements.
31955
31956         * config.h.in [IS_IN_build]: Allow compiling without optimization.
31957
31958 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31959
31960         [BZ #887]
31961         * math/libm-test.inc (logb_test_downward): New test to expose
31962         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31963         rounding mode.
31964
31965 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31966
31967         [BZ #14027]
31968         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31969         to be done.
31970         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31971         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31972
31973 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
31974
31975         * sysdeps/unix/i386/brk.S: Remove file.
31976         * sysdeps/unix/i386/dl-brk.S: Likewise.
31977         * sysdeps/unix/i386/pipe.S: Likewise.
31978         * sysdeps/unix/i386/sigreturn.S: Likewise.
31979         * sysdeps/unix/i386/syscall.S: Likewise.
31980         * sysdeps/unix/i386/vfork.S: Likewise.
31981         * sysdeps/unix/i386/wait.S: Likewise.
31982
31983         * sysdeps/unix/common/tcsendbrk.c: Move to ...
31984         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31985
31986         * configure.in (arm*-none*): Do not allow without
31987         --enable-hacker-mode.
31988         (netbsd*): Remove case setting base_os.
31989         (386bsd*): Likewise.
31990         (freebsd*): Likewise.
31991         (bsdi*): Likewise.
31992         (osf*): Likewise.
31993         (sunos*): Likewise.
31994         (ultrix*): Likewise.
31995         (newsos*): Likewise.
31996         (dynix*): Likewise.
31997         (*bsd*): Likewise.
31998         (sysv*): Likewise.
31999         (isc*): Likewise.
32000         (esix*): Likewise.
32001         (sco*): Likewise.
32002         (minix*): Likewise.
32003         (irix4*): Likewise.
32004         (irix6*): Likewise.
32005         (solaris[2-9]*): Likewise.
32006         (none): Likewise.
32007         * configure: Regenerated.
32008
32009 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32010
32011         [BZ #11521]
32012         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32013         overflow or cancellation in calculating denominator.
32014         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32015         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32016         down expression to avoid unexpected rounding in newer GCCs.
32017         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32018
32019 2012-04-26  David S. Miller  <davem@davemloft.net>
32020
32021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32022         long-double compat symbols.
32023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32036
32037 2012-04-25  David S. Miller  <davem@davemloft.net>
32038
32039         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32040         HWCAP_* values only after the memory barriers have been defined.
32041         (atomic_full_barrier): Define.
32042         (atomic_read_barrier): Define.
32043         (atomic_write_barrier): Define.
32044
32045 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32046
32047         * shlib-versions: Add libgcc_s version information.
32048         * sysdeps/generic/libgcc_s.h: Remove.
32049         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32050         libgcc_s.h.
32051         * sysdeps/gnu/unwind-resume.c: Likewise.
32052         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32053
32054 2012-04-25  David S. Miller  <davem@davemloft.net>
32055
32056         * sysdeps/unix/sparc/brk.S: Delete.
32057         * sysdeps/unix/sparc/dl-brk.S: Delete.
32058         * sysdeps/unix/sparc/pipe.S: Delete.
32059         * sysdeps/unix/sparc/sysdep.S: Delete.
32060         * sysdeps/unix/sparc/sysdep.h: Delete.
32061         * sysdeps/unix/sparc/vfork.S: Delete.
32062         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32063         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32064         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32065         (ret_ERRVAL, r0, r1, MOVE): Define.
32066         (JUMPTARGET): Remove.
32067         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32068         sysdeps/unix/sparc/sysdep.h
32069         (ENTRY, END): Remove.
32070         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32071
32072 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
32073
32074         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32075         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32076         -DIS_IN_build.
32077
32078         * timezone/README: Update upstream location and email address for
32079         tzcode and tzdata.
32080         * timezone/zdump.c: Update from tzcode 2012b.
32081         * timezone/zic.c: Likewise.
32082
32083         * configure.in (libc_cv_as_needed): Remove test.
32084         * configure: Regenerated.
32085         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32086         conditional definition.
32087         [$(have-as-needed) != yes] (no-as-needed): Likewise.
32088         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32089         * config.make.in (have-as-needed): Remove variable.
32090
32091 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32092             Paul Pluzhnikov  <ppluzhnikov@google.com>
32093
32094         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32095         strings correctly.
32096
32097 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
32098
32099         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32100         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32101         * sysdeps/sh/strlen.S: Likewise.
32102
32103 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32104
32105         * sysdeps/unix/fork.S: Remove file.
32106         * sysdeps/unix/i386/fork.S: Likewise.
32107         * sysdeps/unix/sparc/fork.S: Likewise.
32108
32109         * sysdeps/unix/system.c: Remove file.
32110         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32111
32112         * sysdeps/unix/getegid.S: Remove file.
32113         * sysdeps/unix/geteuid.S: Likewise.
32114
32115 2012-04-24  Roland McGrath  <roland@hack.frob.com>
32116
32117         * scripts/check-localplt.awk: New file.
32118         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32119         of diff.
32120         * scripts/data/localplt-generic.data: Add a comment.
32121
32122         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32123         NODE when __dir_mkfile failed.
32124         * sysdeps/mach/hurd/symlinkat.c: Likewise.
32125         Reported by Ludovic Courtès <ludo@gnu.org>.
32126
32127 2012-04-24  Andreas Jaeger  <aj@suse.de>
32128
32129         * Makerules (common-clean): Also remove gen-as-const-headers
32130         files.
32131
32132 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32133
32134         * Makerules (native-compile): Do not change working directory for
32135         build.  Use $(OUTPUT_OPTION) in command.
32136         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32137
32138 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32139
32140         [BZ #13886]
32141         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32142         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32143         * math/libm-test.inc (floor_test): Add more tests.
32144         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32145
32146 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32147
32148         * sysdeps/unix/getdents.c: Remove file.
32149         * sysdeps/unix/sysv/getdents.c: Likewise.
32150         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32151
32152         * sysdeps/unix/syscalls.list (madvise): Add syscall from
32153         sysdeps/unix/mman/syscalls.list.
32154         (mmap): Likewise.
32155         (mprotect): Likewise.
32156         (msync): Likewise.
32157         (munmap): Likewise.
32158         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32159         * sysdeps/unix/mman/syscalls.list: Remove.
32160         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32161
32162         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32163         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32164         * configure: Regenerated.
32165         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32166         $(libgcc_s_suffix).
32167         * config.make.in (libgcc_s_suffix): Remove variable.
32168
32169 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
32170
32171         * sysdeps/unix/sysv/gethostname.c: Move to ...
32172         * sysdeps/posix/gethostname.c: ... here.
32173
32174         * sysdeps/unix/execve.S: Remove file.
32175
32176         * sysdeps/unix/_exit.S: Remove file.
32177
32178 2012-04-23  Andreas Jaeger  <aj@suse.de>
32179
32180         [BZ #13739]
32181         * manual/Makefile: Remove make dist support, there's no
32182         need for a stand-alone documentation tar ball.
32183         (TEXI2DVI): Define always, it's not in Makeconfig.
32184         (dist): Removed.
32185         (tar-it): Removed.
32186         (edition): Removed.
32187         (glibc-doc-$(edition).tar): Removed
32188         (%.Z): Removed.
32189         (%.gz): Removed.
32190         (%.uu): Removed.
32191         (ETAGS): Remove, it's in Makeconfig.
32192         (move-if-change): Remove, it's in Makeconfig.
32193
32194 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
32195
32196         [BZ #13970]
32197         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32198         (strtod, strtof, strtold, strtol, strtoul, strtoq)
32199         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32200         (strtod_l, strtof_l, strtold_l): Remove __wur.
32201         It is not necessarily an error to ignore strtol's return value.
32202         One can reliably look at the stored endptr to decide whether
32203         the number had valid syntax.
32204
32205 2012-04-21  Andreas Jaeger  <aj@suse.de>
32206
32207         [BZ #13739]
32208         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32209
32210 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
32211
32212         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32213         * sysdeps/unix/sysv/Versions: Remove file.
32214
32215 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
32216
32217         [BZ #13927]
32218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32219
32220 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
32221
32222         [BZ #7064]
32223         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32224         version from __vm86.
32225
32226 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
32227
32228         * sysdeps/unix/common/lxstat.c: Remove file.
32229         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32230
32231         * sysdeps/unix/sysv/Makefile: Remove file.
32232
32233         * sysdeps/unix/sysv/direct.h: Remove file.
32234
32235         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32236         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32237         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32238         * sysdeps/unix/sysv/bits/signum.h: Likewise.
32239         * sysdeps/unix/sysv/bits/stat.h: Likewise.
32240         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32241         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32242
32243         * sysdeps/unix/sysv/setrlimit.c: Remove file.
32244
32245         * sysdeps/unix/xmknod.c: Remove file.
32246         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32247
32248         * sysdeps/unix/sysv/settimeofday.c: Remove file.
32249
32250         * sysdeps/unix/sysv/i386/time.S: Remove file.
32251
32252         * sysdeps/unix/fxstat.c: Remove file.
32253         * sysdeps/unix/xstat.c: Likewise.
32254         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32255
32256         * sysdeps/unix/sysv/sigaction.c: Remove file.
32257
32258         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32259         (sysdep_headers): Remove variable.
32260         [termio.h not in sysdep_headers] (generated): Likewise.
32261         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32262         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32263         * sysdeps/unix/sysv/tcdrain.c: Likewise.
32264         * sysdeps/unix/sysv/tcflow.c: Likewise.
32265         * sysdeps/unix/sysv/tcflush.c: Likewise.
32266         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32267         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32268         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32269         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32270         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32271
32272         * sysdeps/unix/siglist.c: Remove file.
32273
32274         * sysdeps/unix/getppid.S: Remove file.
32275
32276         * sysdeps/unix/mkdir.c: Remove file.
32277         * sysdeps/unix/rmdir.c: Likewise.
32278
32279 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
32280
32281         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32282         ERR_MAX value.
32283         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32284         errlist-compat value.
32285
32286 2012-04-18  David S. Miller  <davem@davemloft.net>
32287
32288         * sysdeps/generic/memcopy.h (reg_char): Delete.
32289         * debug/strcat_chk.c: Use char, not reg_char.
32290         * debug/strcpy_chk.c: Likewise.
32291         * debug/strncat_chk.c: Likewise.
32292         * debug/strncpy_chk.c: Likewise.
32293         * string/memchr.c: Likewise.
32294         * string/memrchr.c: Likewise.
32295         * string/rawmemchr.c: Likewise.
32296         * string/strcat.c: Likewise.
32297         * string/strchr.c: Likewise.
32298         * string/strchrnul.c: Likewise.
32299         * string/strcmp.c: Likewise.
32300         * string/strcpy.c: Likewise.
32301         * string/strncat.c: Likewise.
32302         * string/strncmp.c: Likewise.
32303         * string/strncpy.c: Likewise.
32304
32305 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32306
32307         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32308         __builtin_memcopy is called when src and dest ranges are known to not
32309         overlap.
32310
32311 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32312
32313         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32314         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32315         fwd_align_merge macro call.
32316         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32317         bwd_align_merge macro call.
32318         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32319
32320 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32321
32322         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32323         bwd_align_merge macros.
32324         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32325         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32326         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32327
32328 2012-04-18  David S. Miller  <davem@davemloft.net>
32329
32330         * sysdeps/sparc/sparc64/memcopy.h: Delete.
32331
32332 2012-04-18  Andreas Jaeger  <aj@suse.de>
32333
32334         [BZ# 6794]
32335         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32336         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32337         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32338
32339         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32340         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32341         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32342
32343         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32344         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32345         Adjust for changed ldbl-128 files.
32346
32347         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32348         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32349         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32350
32351 2012-04-17  David S. Miller  <davem@davemloft.net>
32352
32353         * sysdeps/sparc/sparc32/memcopy.h: Delete.
32354
32355 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
32356
32357         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32358         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32359         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32360         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32361         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32362         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32363
32364 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32365
32366         [BZ #6794]
32367         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32368         * math/libm-test.inc: Add ilogb errno and exception tests.
32369         * math/w_ilogb.c: New file: ilogb wrapper.
32370         * math/w_ilogbf.c: New file: ilogbf wrapper.
32371         * math/w_ilogbl.c: New file: ilogbl wrapper.
32372         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32373         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32374         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32375         exception being thrown with 0.0 as argument.
32376         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32377         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32378         exception being thrown with 0.0 as argument.
32379         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32380         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32381         exception being thrown with 0.0 as argument.
32382         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32383         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32384         exception being thrown with 0.0 as argument.
32385         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32386         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32387         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32388         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32389         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32390         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32391         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32392         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32393         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32394
32395 2012-04-17  Petr Baudis  <pasky@ucw.cz>
32396
32397         * include/sys/uio.h: Change __vector to __iovec to avoid clash
32398         with altivec.
32399
32400 2012-04-16  Marek Polacek  <polacek@redhat.com>
32401
32402         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32403
32404 2012-04-16  Marek Polacek  <polacek@redhat.com>
32405
32406         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32407         operands of fdivp instruction.
32408
32409 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
32410
32411         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32412         * elf/tst-auditmod3b.c: Likewise.
32413         * elf/tst-auditmod4b.c: Likewise.
32414         * elf/tst-auditmod5b.c: Likewise.
32415         * elf/tst-auditmod6b.c: Likewise.
32416         * elf/tst-auditmod6c.c: Likewise.
32417         * elf/tst-auditmod7b.c: Likewise.
32418         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32419         * sysdeps/x86_64/preconfigure.in: Likewise.
32420         * sysdeps/x86_64/preconfigure: Regenerated.
32421
32422 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
32423
32424         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32425         __ILP32__.
32426
32427 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
32428
32429         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32430         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32431
32432 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
32433
32434         [BZ #13973]
32435         * locale/iso-639.def: Fix gl language name. Spotted by
32436         Yaron Shahrabani.
32437
32438 2012-04-12  Roland McGrath  <roland@hack.frob.com>
32439
32440         [BZ #2074]
32441         * libio/libio.h (__io_write_fn): Update comment.
32442
32443 2012-04-12  Petr Baudis  <pasky@ucw.cz>
32444
32445         [BZ #2074]
32446         * stdio.texi (Hook Functions): The user provided writer function
32447         is not allowed to return -1.
32448
32449 2012-04-11  David S. Miller  <davem@davemloft.net>
32450
32451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32452
32453 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
32454
32455         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32456         Add a leading slash to rtkaio.
32457
32458 2012-04-11  Jim Meyering  <meyering@redhat.com>
32459
32460         [BZ #11959]
32461         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32462         It is not necessarily an error to ignore fwrite's return
32463         value.  One can reliably use ferror to test for errors after
32464         the fact.
32465
32466 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
32467
32468         * bits/types.h (__snseconds_t): New type.
32469         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32470
32471         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32472         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32473         (__SNSECONDS_T_TYPE): Likewise.
32474         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32475         (__SNSECONDS_T_TYPE): Likewise.
32476         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32477         (__SNSECONDS_T_TYPE): Likewise.
32478
32479 2012-04-10  Andreas Jaeger  <aj@suse.de>
32480
32481         [BZ #2636]
32482         * manual/time.texi (Processor Time): Return type of times is
32483         elapsed real time since an arbitrary point in the past.
32484         (CPU Time): Move CLK_TCK from here...
32485         (Processor Time): ...to here.  Correct description.
32486         * manual/conf.texi (Constants for Sysconf): Correct description of
32487         _SC_CLK_TCK.
32488
32489 2012-04-10  David S. Miller  <davem@davemloft.net>
32490
32491         [BZ #13967]
32492         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32493         where the is a gap between DT_REL(A) and DT_JMPREL.
32494
32495 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
32496
32497         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32498         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32499         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32500
32501 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32502
32503         * elf/dl-support.c (_dl_inhibit_cache): New variable.
32504         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32505         (dl_main): Handle --inhibit-cache.
32506         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32507         _dl_inhibit_cache.
32508         * elf/dl-load.c (_dl_map_object): Use it.
32509         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32510
32511 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
32512
32513         [BZ #13872]
32514         * sysdeps/i386/fpu/e_powl.S (p78): New object.
32515         (__ieee754_powl): Saturate large exponents rather than testing for
32516         overflow of y*log2(x).
32517         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32518         * math/libm-test.inc (pow_test): Do not permit spurious overflow
32519         exceptions.
32520
32521         [BZ #11521]
32522         * math/s_ctan.c: Include <float.h>.
32523         (__ctan): Avoid internal overflow or cancellation in calculating
32524         denominator.
32525         * math/s_ctanf.c: Likewise.
32526         * math/s_ctanl.c: Likewise.
32527         * math/s_ctanh.c: Likewise.
32528         * math/s_ctanhf.c: Likewise.
32529         * math/s_ctanhl.c: Likewise.
32530         * math/libm-test.inc (ctan_test): Add more tests.
32531         (ctanh_test): Likewise.
32532         * sysdeps/i386/fpu/libm-test-ulps: Update.
32533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32534
32535 2012-04-09  Andreas Jaeger  <aj@suse.de>
32536
32537         [BZ #6894]
32538         * manual/filesys.texi (Directory Entries): Mention that d_namlen
32539         is an optional BSD extension.
32540
32541         [BZ #10254]
32542         * manual/stdio.texi (Opening Streams): Document additional fopen
32543         parameters.
32544
32545 2012-04-09  Roland McGrath  <roland@hack.frob.com>
32546
32547         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32548         %eax without telling the compiler.
32549
32550 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
32551
32552         [BZ # 13963]
32553         * manual/install.texi: Use sourceware.org.
32554
32555 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
32556
32557         [BZ #13873]
32558         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32559         (__ieee754_pow): Generate overflow and underflow using huge*huge
32560         and tiny*tiny rather than just returning constant infinity or zero
32561         for large exponents.
32562         * math/libm-test.inc (pow_test): Require overflow exceptions for
32563         applicable cases of large exponents.
32564
32565         [BZ #706]
32566         * sysdeps/i386/fpu/e_pow.S (p10): New object.
32567         (__ieee754_pow): Use iterative multiplication algorithm only for
32568         integer exponents with absolute value below 1024.  Check for odd
32569         integer exponents when using algorithm for real exponents.
32570         * math/libm-test.inc (pow_test): Add more tests.
32571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32572
32573 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
32574
32575         [BZ #13705]
32576         * math/libm-test.inc (exp_test): Do not allow overflow exception
32577         on underflow test.
32578
32579 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
32580
32581         [BZ #13705]
32582         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32583         instead of __kernel_standard_f.
32584
32585 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
32586
32587         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32588         * sysdeps/x86_64/memset_chk.S: Likewise.
32589
32590 2012-04-08  Andreas Jaeger  <aj@suse.de>
32591
32592         [BZ #10153]
32593         * manual/startup.texi (Environment Access): Describe return value
32594         for putenv and setenv.
32595
32596         [BZ #6895]
32597         * manual/filesys.texi (Directory Entries): Add description for
32598         DT_LNK.
32599
32600         [BZ #6890]
32601         * manual/filesys.texi (Directory Entries): Clarify that it's file
32602         system not operating system in the description of DT_UNKNOWN.
32603
32604         [BZ #6578]
32605         * manual/syslog.texi (closelog): Fix reference, it's openlog.
32606
32607 2012-04-08  Stephen Compall  <s11@member.fsf.org>
32608
32609         [BZ #6649]
32610         * manual/llio.texi (Opening and Closing Files): Add cross
32611         reference to explain mode argument.
32612
32613 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
32614
32615         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32616         * sysdeps/x86_64/memset_chk.S: Likewise.
32617
32618 2012-04-07  David S. Miller  <davem@davemloft.net>
32619
32620         * elf/elf.h (R_SPARC_WDISP10): Define.
32621         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32622         R_SPARC_SIZE32.
32623         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32624         R_SPARC_SIZE64 and R_SPARC_H34.
32625
32626 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
32627
32628         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32629         conditions and remove no longer applicable assertion.
32630
32631 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32632
32633         * bits/byteswap.h: Include <features.h>.
32634         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32635         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32636
32637 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32638
32639         * bits/byteswap.h (__bswap_16): Removed.
32640         Include <bits/byteswap-16.h> to get __bswap_16.
32641         * sysdeps/i386/bits/byteswap.h: Likewise.
32642         * sysdeps/s390/bits/byteswap.h: Likewise.
32643         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32644         * bits/byteswap-16.h: New file.
32645         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32646         * sysdeps/s390/bits/byteswap-16.h: Likewise.
32647         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32648         * string/Makefile (headers): Add bits/byteswap-16.h.
32649
32650 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32651
32652         [BZ #13895]
32653         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32654         extra indirection.
32655         * nss/Makefile (tests-static, tests): Add tst-nss-static.
32656         * nss/tst-nss-static.c: New.
32657
32658 2012-04-06  Robert Millan  <rmh@gnu.org>
32659
32660         [BZ #6486]
32661         * manual/llio.texi (File Position Primitive): lseek
32662         refers to WHENCE when it really means OFFSET.
32663
32664 2012-04-06  Andreas Jaeger  <aj@suse.de>
32665
32666         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32667         strncmp declarations.
32668
32669         * abilist/libc.abilist: Add __poll and __ppoll.
32670
32671 2012-04-05  David S. Miller  <davem@davemloft.net>
32672
32673         * scripts/check-local-headers.sh: Accept a host triplet in the
32674         path matched by the exclude regexp.
32675
32676         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32677         definition.
32678         * sysdeps/powerpc/powerpc32/dl-machine.h
32679         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32680         * sysdeps/s390/s390-32/dl-machine.h
32681         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32682         * sysdeps/sparc/sparc32/dl-machine.h
32683         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32684         * sysdeps/sparc/sparc64/dl-machine.h
32685         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32686
32687         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32688         lazy binding.
32689         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32690         undefined symbol errors.
32691
32692         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32693         DT_NEEDED entries.
32694
32695 2012-04-05  Michael Matz  <matz@suse.de>
32696
32697         [BZ #13592]
32698         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32699
32700 2012-04-05  Andreas Jaeger  <aj@suse.de>
32701
32702         [BZ #13908]
32703         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32704         comment.
32705
32706 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32707
32708         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32709         which ROUND is no valid rounding mode.
32710
32711 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32712
32713         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32714         read again.
32715         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32716
32717 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32718
32719         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32720         an exception using FPU order intentionally.
32721
32722 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32723
32724         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32725         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32726         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32727         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32728
32729 2012-04-05  Simon Josefsson  <simon@josefsson.org>
32730
32731         [BZ #12340]
32732         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32733         EINVAL when BUFLEN is too smal.
32734
32735 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32736
32737         [BZ #13553]
32738         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32739         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32740
32741 2012-04-03  Andreas Jaeger  <aj@suse.de>
32742
32743         [BZ #13938]
32744         * manual/setjmp.texi (System V contexts): Fix sentence.
32745
32746         [BZ #13926]
32747         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32748         New macro for this case.
32749         [!__GNUC__] (__bswap_64): New inline function for this case.
32750         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32751         * bits/byteswap.h: Likewise.
32752         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32753         ull, guard with __GLIBC_HAVE_LONG_LONG.
32754
32755         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32756         __GLIBC_HAVE_LONG_LONG.
32757
32758         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32759         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32760
32761 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32762
32763         [BZ #13691]
32764         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32765         inptr and inend, rather than using last_ch.
32766
32767 2012-04-02  David S. Miller  <davem@davemloft.net>
32768
32769         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32770         * stdio-common/printf-parse.h (read_int): Change return type to
32771         'int', return -1 on INT_MAX overflow.
32772         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32773         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
32774         overflows INT_MAX.  Check for overflow of in-format-string precision
32775         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
32776         SIZE_MAX not INT_MAX for integer overflow test.
32777         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32778         skip the construct in the format string but do not record anything.
32779         * stdio-common/bug22.c: Adjust to test both width/prevision
32780         INT_MAX overflow as well as total length INT_MAX overflow.  Check
32781         explicitly for proper errno values.
32782
32783 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32784
32785         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32786         CHAR_MAX.
32787         * string/test-strcmp.c [! WIDE]: Likewise.
32788         * time/tst-mktime2.c: Likewise for INT_MAX.
32789         * string/test-string.h: #include <sys/param.h> for MIN.
32790
32791         * csu/init-first.c (__libc_init_first): Call __ctype_init.
32792         * sysdeps/i386/init-first.c (init): Likewise.
32793         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32794         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32795         * sysdeps/sh/init-first.c (init): Likewise.
32796
32797 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
32798
32799         * po/ru.po: Update from translation team.
32800         * po/vi.po: Likewise.
32801
32802 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32803
32804         * resolv/nss_dns/dns-host.c: Merge copyright years.
32805
32806 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32807
32808         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32809         Optimize memcpy with prefetch if
32810         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
32811         src, dst pointers have unequal 16 byte alignments.
32812
32813 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32814
32815         [BZ #13928]
32816         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32817         from a CNAME entry and return the minimum ttl for the query.
32818         (gaih_getanswer_slice): Likewise.
32819
32820 2012-03-30  Jeff Law  <law@redhat.com>
32821
32822         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32823         due to long keys.
32824         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32825         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32826
32827         * resolv/nss_dns/dns-host.c: Update copyright year.
32828
32829 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
32830
32831         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32832         requests to save a system call.  Fix check that all bytes are sent.
32833
32834         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32835         comments for sendmmsg.
32836
32837 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32838
32839         [BZ #13691]
32840         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32841         with only 1 character between 0x0041 and 0x01b0.
32842         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32843         * wcsmbs/tst-mbsnrtowcs.c: New file.
32844
32845 2012-03-29  David S. Miller  <davem@davemloft.net>
32846
32847         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32848         small copies by hand.
32849
32850 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32851
32852         [BZ #13761]
32853         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32854         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32855         group memberships.
32856
32857 2012-03-28  David S. Miller  <davem@davemloft.net>
32858
32859         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32860         that branches into memcpy.
32861         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32862         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32863         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32864         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32865         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32866         bits.
32867         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32868         implementation too.
32869         * sysdeps/sparc/mempcpy.S: New file.
32870
32871         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32872         the IFUNC routine in the libc case.
32873         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32874
32875         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32876         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32877         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32878         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32879         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32880         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32881         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32882         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32883
32884         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32885         loop to 256 bytes instead of 64 bytes and fix test signedness.
32886
32887         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32888         * sysdeps/sparc/sparc32/Makefile: rather than here...
32889         * sysdeps/sparc/sparc64/Makefile: and here.
32890
32891 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
32892
32893         * malloc/mallocbug.c: Avoid warnings about unused variables.
32894
32895 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32896
32897         [BZ #13760]
32898         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32899         in the right place. Discard and retry query if response is
32900         larger than input buffer size.
32901
32902 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
32903
32904         [BZ #369]
32905         [BZ #2678]
32906         [BZ #3866]
32907         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32908         x for large integer exponent.
32909         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32910         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
32911         sign of result as needed afterwards.
32912         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32913         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32914         result for underflowing pow the same as for overflow.
32915         (__kernel_standard_l): Handle powl overflow and underflow here
32916         rather than calling __kernel_standard.
32917         * math/libm-test.inc (pow_test): Add more tests.
32918
32919         [BZ #3868]
32920         [BZ #13879]
32921         [BZ #13910]
32922         [BZ #13911]
32923         [BZ #13912]
32924         [BZ #13913]
32925         [BZ #13915]
32926         [BZ #13916]
32927         [BZ #13917]
32928         [BZ #13918]
32929         [BZ #13919]
32930         [BZ #13920]
32931         [BZ #13921]
32932         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32933         * sysdeps/ieee754/k_standard.c: Include <float.h>.
32934         (__kernel_standard_l): New function.
32935         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32936         __kernel_standard.
32937         * math/w_acosl.c (__acosl): Likewise.
32938         * math/w_asinl.c (__asinl): Likewise.
32939         * math/w_atan2l.c (__atan2l): Likewise.
32940         * math/w_atanhl.c (__atanhl): Likewise.
32941         * math/w_coshl.c (__coshl): Likewise.
32942         * math/w_exp10l.c (__exp10l): Likewise.
32943         * math/w_exp2l.c (__exp2l): Likewise.
32944         * math/w_fmodl.c (__fmodl): Likewise.
32945         * math/w_hypotl.c (__hypotl): Likewise.
32946         * math/w_j0l.c (__j0l, __y0l): Likewise.
32947         * math/w_j1l.c (__j1l, __y1l): Likewise.
32948         * math/w_jnl.c (__jnl, __ynl): Likewise.
32949         * math/w_lgammal.c (__lgammal): Likewise.
32950         * math/w_log10l.c (__log10l): Likewise.
32951         * math/w_log2l.c (__log2l): Likewise.
32952         * math/w_logl.c (__logl): Likewise.
32953         * math/w_powl.c (__powl): Likewise.
32954         * math/w_remainderl.c (__remainderl): Likewise.
32955         * math/w_scalbl.c (sysv_scalbl): Likewise.
32956         * math/w_sinhl.c (__sinhl): Likewise.
32957         * math/w_sqrtl.c (__sqrtl): Likewise.
32958         * math/w_tgammal.c (__tgammal): Likewise.
32959         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32960         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32961         * math/libm-test.inc (acos_test): Add more tests.
32962         (acosh_test): Likewise.
32963         (asin_test): Likewise.
32964         (atanh_test): Likewise.
32965         (exp_test): Likewise.
32966         (exp10_test): Likewise.
32967         (exp2_test): Likewise.
32968         (expm1_test): Likewise.
32969         (lgamma_test): Likewise.
32970         (log_test): Likewise.
32971         (log10_test): Likewise.
32972         (log1p_test): Likewise.
32973         (log2_test): Likewise.
32974         (pow_test): Do not allow some spurious overflow exceptions.
32975         (sqrt_test): Add more tests.
32976         (tgamma_test): Likewise.
32977         (y0_test): Likewise.
32978         (y1_test): Likewise.
32979         (yn_test): Likewise.
32980
32981 2012-03-27  Anton Blanchard  <anton@samba.org>
32982
32983         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32984         MAP_HUGETLB.
32985         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32986         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32987         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32988
32989 2012-03-27  David S. Miller  <davem@davemloft.net>
32990
32991         * conform/Makefile: Run run-conformtest.sh using $(BASH).
32992
32993         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32994         have-as-vis3 check.
32995
32996 2012-03-27  Andreas Jaeger  <aj@suse.de>
32997
32998         * sysdeps/x86_64/elf/configure.in: Moved to ...
32999         * sysdeps/x86_64/configure.in: ... here.
33000         * sysdeps/x86_64/elf/start.S: Moved to ...
33001         * sysdeps/x86_64/start.S: ... here.
33002         * sysdeps/x86_64/elf/configure: Delete.
33003
33004         * sysdeps/x86_64/configure.in: Merge contents from
33005         sysdeps/i386/configure.in (without i686 check).
33006
33007         * sysdeps/i386/elf/Versions: Merge into ...
33008         * sysdeps/i386/Versions: ... this.
33009         * sysdeps/i386/elf/Versions: Delete file.
33010         * sysdeps/i386/elf/start.S: Moved to ...
33011         * sysdeps/i386/start.S: ...here.
33012         * sysdeps/i386/elf/configure.in: Merge into...
33013         * sysdeps/i386/configure.in: ...here.
33014         * sysdeps/i386/elf/configure.in: Delete file.
33015         * sysdeps/i386/elf/configure: Delete file.
33016
33017         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33018         * debug/backtracesyms.c: ... here.
33019         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33020         * debug/backtracesymsfd.c: ... here.
33021         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33022         * sysdeps/generic/ifunc-sel.h: ... here.
33023
33024         * sysdeps/unix/i386/start.c: Delete file.
33025         * sysdeps/unix/sparc/start.c: Delete file.
33026         * sysdeps/unix/start.c: Delete file.
33027
33028         * sysdeps/sh/elf/configure.in: Moved to ...
33029         * sysdeps/sh/configure.in: ... here.
33030         * sysdeps/sh/elf/start.S: Moved to ...
33031         * sysdeps/sh/start.S: ... here.
33032         * sysdeps/sh/elf/configure: Delete file.
33033
33034         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33035         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33036         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33037         * sysdeps/powerpc/powerpc64/entry.h: ... here.
33038         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33039         * sysdeps/powerpc/powerpc64/start.S: here.
33040         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33041         * sysdeps/powerpc/powerpc64/Makefile: ... this.
33042         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33043         * sysdeps/powerpc/powerpc64/configure.in: ... this.
33044         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33045
33046         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33047         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33048         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33049         * sysdeps/powerpc/powerpc32/start.S: ... here.
33050         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33051         * sysdeps/powerpc/powerpc32/configure.in: ... this.
33052         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33053
33054         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33055         * sysdeps/powerpc/ifunc-sel.h: ... here.
33056         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33057         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33058
33059         * sysdeps/sparc/elf/configure.in: Moved to ...
33060         * sysdeps/sparc/configure.in: ... here.
33061         * sysdeps/sparc/elf/configure: Delete file.
33062         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33063         * sysdeps/sparc/sparc32/start.S: ... here.
33064         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33065         * sysdeps/sparc/sparc64/start.S: ... here.
33066         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33067         * sysdeps/sparc/sparc32/Makefile: ... this.
33068         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33069         * sysdeps/sparc/sparc64/Makefile: ... this.
33070
33071         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33072         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33073         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33074         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33075         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33076         * sysdeps/s390/s390-32/setjmp.S: ... here.
33077         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33078         * sysdeps/s390/s390-32/configure.in: ... here.
33079         * sysdeps/s390/s390-32/elf/configure: Delete file.
33080         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33081         * sysdeps/s390/s390-32/start.S: ... here.
33082
33083         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33084         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33085         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33086         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33087         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33088         * sysdeps/s390/s390-64/setjmp.S: ... here.
33089         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33090         * sysdeps/s390/s390-64/configure.in: ... here
33091         * sysdeps/s390/s390-64/elf/configure: Delete file.
33092         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33093         * sysdeps/s390/s390-64/start.S: ... here.
33094         * sysdeps/s390/s390-64/elf/configure: Delete.
33095
33096         * configure.in: Remove support for elf directories in sysdeps.
33097
33098         * configure: Regenerated.
33099         * sysdeps/i386/configure: Regenerated.
33100         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33101         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33102         * sysdeps/s390/s390-32/configure: Regenerated.
33103         * sysdeps/s390/s390-64/configure: Regenerated.
33104         * sysdeps/sh/configure: Regenerated.
33105         * sysdeps/sparc/configure: Regenerated.
33106         * sysdeps/x86_64/configure: Regenerated.
33107
33108 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
33109
33110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33111
33112         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33113         denormal result into account.
33114
33115 2012-03-25  Roland McGrath  <roland@hack.frob.com>
33116
33117         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33118         Reported by Allan McRae <allan@archlinux.org>.
33119
33120 2012-03-23  Jeff Law  <law@redhat.com>
33121
33122         * nss/getnssent.c (__nss_getent): Fix typo.
33123
33124 2012-03-23  David S. Miller  <davem@davemloft.net>
33125
33126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33127
33128 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
33129
33130         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33131         to pad to uint64_t for each field.
33132         (dl_tls_index): Replace unsigned long with uint64_t.
33133
33134 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
33135         Paul Pluzhnikov  <ppluzhnikov@google.com>
33136
33137         [BZ #6528]
33138         * grp/Makefile (otherlibs): Don't set it.
33139         * inet/Makefile (otherlibs): Likewise.
33140         * login/Makefile (otherlibs): Likewise.
33141         * nscd/Makefile (otherlibs): Likewise.
33142         * posix/Makefile (otherlibs): Likewise.
33143         * pwd/Makefile (otherlibs): Likewise.
33144         * rt/Makefile (otherlibs): Likewise.
33145         * sunrpc/Makefile (otherlibs): Likewise.
33146         * nss/Makefile (otherlibs): Likewise.
33147         Add libnss_files to routines and static-only-routines.
33148         ($(objpfx)getent): Remove rule.
33149         * resolv/Makefile: Add libnss_dns and libresolv to routines and
33150         static-only-routines.
33151
33152 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33153
33154         [BZ #13892]
33155         * math/s_cexp.c: Include <float.h>.
33156         (__cexp): Handle exp result overflowing not necessarily
33157         overflowing both real and imaginary parts of result.
33158         * math/s_cexpf.c: Likewise.
33159         * math/s_cexpl.c: Likewise.
33160         * math/libm-test.inc (cexp_test): Add more tests.
33161         * sysdeps/i386/fpu/libm-test-ulps: Update.
33162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33163
33164 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33165
33166         * include/link.h (ELFW): New macro.
33167         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33168         Replace ELF64_R_TYPE with ELFW(R_TYPE).
33169
33170 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33171
33172         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33173         with uint64_t.
33174
33175 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33176
33177         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33178         declaration.
33179         (struct La_x32_retval): Likewise.
33180
33181 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33182
33183         * sysdeps/x86_64/preconfigure.in: New file.
33184         * sysdeps/x86_64/preconfigure: New generated file.
33185
33186 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33187
33188         [BZ #13824]
33189         * math/e_exp2l.c: Include <float.h>.
33190         (__ieee754_exp2l): Handle overflow and underflow cases
33191         separately.  Only pass fractional part of argument to
33192         __ieee754_expl.
33193         * math/libm-test.inc (exp2_test): Add more tests.
33194
33195         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33196         negating x to take absolute value.
33197         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33198         Likewise.
33199         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33200         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33201         Likewise.
33202         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33203         computing low part if x was negated.
33204         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33205
33206 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33207
33208         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33209         la_x32_gnu_pltexit.
33210         (pltexit): Cast int_retval to ptrdiff_t.
33211         * elf/tst-auditmod3b.c: Likewise.
33212         * elf/tst-auditmod4b.c: Likewise.
33213         * elf/tst-auditmod5b.c: Likewise.
33214         * elf/tst-auditmod6b.c: Likewise.
33215         * elf/tst-auditmod6c.c: Likewise.
33216         * elf/tst-auditmod7b.c: Likewise.
33217
33218         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33219         and x32_gnu_pltexit.
33220
33221         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33222         __ELF_NATIVE_CLASS.
33223         (La_x32_regs): New macro.
33224         (La_x32_retval): Likewise.
33225         (la_x32_gnu_pltenter): New function prototype.
33226         (la_x32_gnu_pltexit): Likewise.
33227
33228 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
33229
33230         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33231         exponent.
33232
33233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33234
33235         * configure.in (libc_cv_cc_nofma): Check for option to disable
33236         generation of FMA instructions.
33237         * configure: Regenerate.
33238         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33239         * sysdeps/ieee754/dbl-64/Makefile: New file.
33240         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33241         Remove brandred-fma4.
33242         (CFLAGS-brandred-fma4.c): Remove.
33243         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33244         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33245         define.
33246         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33247         define.
33248
33249 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33250
33251         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33252         LLONG_MAX != LONG_MAX.
33253         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33254         (_fitoa_word): Likewise.
33255         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33256         LLONG_MAX != LONG_MAX.
33257         * stdio-common/_itowa.h: Include <_itoa.h>.
33258         (_itowa_word): Use _ITOA_WORD_TYPE on value.
33259         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
33260         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
33261         only if not defined.
33262         (_ITOA_WORD_TYPE): Likewise.
33263         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33264         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33265
33266 2012-03-21  David S. Miller  <davem@davemloft.net>
33267
33268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33269
33270 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33271
33272         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33273         of x86_64 when setting libc_cv_slibdir, libdir and
33274         libc_cv_localedir.
33275         * sysdeps/unix/sysv/linux/configure: Regenerated.
33276
33277 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33278
33279         * manual/lang.texi (Old Varargs): Remove section.
33280         (How Variadic): Update menu.
33281         (va_start): Do not mention varargs.h.
33282
33283 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33284             Joseph Myers  <joseph@codesourcery.com>
33285
33286         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33287         link test.
33288         * configure: Regenerated.
33289
33290 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33291
33292         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33293         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33294         conformtest.pl
33295
33296 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33297
33298         * NOTES: Remove.
33299         * Makefile (files-for-dist): Remove NOTES.
33300         (NOTES): Remove rule.
33301         * README: Don't refer to NOTES.
33302         * manual/creature.texi: Don't include macros.texi.
33303         * manual/intro.texi (creature.texi): Remove comment referring to
33304         NOTES.
33305
33306         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33307         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33308         * configure: Regenerated.
33309         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33310         LIBC_TRY_CC_OPTION.
33311         (libc_cv_as_i686): Likewise.
33312         (libc_cv_cc_avx): Likewise.
33313         (libc_cv_cc_sse2avx): Likewise.
33314         (libc_cv_cc_fma4): Likewise.
33315         (libc_cv_cc_novzeroupper): Likewise.
33316         * sysdeps/i386/configure: Regenerated.
33317
33318         [BZ #13883]
33319         * sysdeps/i386/fpu/s_cexp.S: Remove.
33320         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33321         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33322         * math/libm-test.inc (cexp_test): Add more tests.
33323         * sysdeps/i386/fpu/libm-test-ulps: Update.
33324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33325
33326 2012-03-21  Allan McRae  <allan@archlinux.org>
33327
33328         * timezone/Makefile: Do not install iso3166.tab and zone.tab
33329
33330 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33331
33332         [BZ #13871]
33333         * math/w_exp2.c: Do not include <float.h>.
33334         (o_threshold, u_threshold): Remove.
33335         (__exp2): Calculate result before checking finiteness and calling
33336         __kernel_standard.
33337         * math/w_exp2f.c: Likewise.
33338         * math/w_exp2l.c: Likewise.
33339         * math/libm-test.inc (exp2_test): Require overflow exception for
33340         1e6 input.
33341
33342         [BZ #3866]
33343         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33344         range of signed 64-bit integers before using fistpll.  Remove
33345         checks for whether integers fit in mantissa bits.
33346         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33347         the range of signed 32-bit integers before using fistpl.  Remove
33348         checks for whether integers fit in mantissa bits.
33349         * sysdeps/i386/fpu/e_powl.S (p64): New object.
33350         (__ieee754_powl): Test for y outside the range of signed 64-bit
33351         integers before using fistpll.  Reduce 64-bit values to 63-bit
33352         ones as needed.
33353         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33354         divide-by-zero is raised for zero to large negative powers.
33355         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33356         (__ieee754_powl): Test for y outside the range of signed 64-bit
33357         integers before using fistpll.  Reduce 64-bit values to 63-bit
33358         ones as needed.
33359         * math/libm-test.inc (pow_test): Add more tests.
33360
33361 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33362
33363         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33364         <stdio-common/_itoa.h>.
33365         * debug/segfault.c: Likewise.
33366         * elf/dl-cache.c: Likewise.
33367         * elf/dl-minimal.c: Likewise.
33368         * elf/dl-misc.c: Likewise.
33369         * elf/dl-sysdep.c: Likewise.
33370         * elf/dl-version.c: Likewise.
33371         * elf/rtld.c: Likewise.
33372         * hurd/hurdsock.c: Likewise.
33373         * hurd/lookup-retry.c: Likewise.
33374         * malloc/malloc.c: Likewise.
33375         * malloc/mtrace.c: Likewise.
33376         * nscd/nscd_getgr_r.c: Likewise.
33377         * nscd/nscd_getpw_r.c: Likewise.
33378         * nscd/nscd_getserv_r.c: Likewise.
33379         * posix/getopt_init.c: Likewise.
33380         * posix/wordexp.c: Likewise.
33381         * stdio-common/_itoa.c: Likewise.
33382         * stdio-common/printf_fphex.c: Likewise.
33383         * stdio-common/vfprintf.c: Likewise.
33384         * string/_strerror.c: Likewise.
33385         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33386         * sysdeps/i386/i686/hp-timing.h: Likewise.
33387         * sysdeps/mach/_strerror.c: Likewise.
33388         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33389         * sysdeps/mach/hurd/sethostid.c: Likewise.
33390         * sysdeps/mach/hurd/xmknodat.c: Likewise.
33391         * sysdeps/mach/xpg-strerror.c: Likewise.
33392         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33393         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33394         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33395         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33396         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33397         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33398         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33399         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33400         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33401         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33402         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33403         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33404         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33405         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33406         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33407         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33408         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33409         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33410         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33411         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33412         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33413
33414         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33415
33416         * stdio-common/_itoa.h: Moved to ...
33417         * sysdeps/generic/_itoa.h: Here.
33418
33419         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33420
33421         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33422         instead of "_itoa.h" and "_itowa.h".
33423         * stdio-common/vfprintf.: Likewise.
33424
33425 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33426
33427         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33428         <bits/wordsize.h>.
33429         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33430         (__signbit): Likwise.
33431         (llrintf): Likwise.
33432         (llrint): Likwise.
33433
33434 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33435
33436         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33437         __WORDSIZE != 64.
33438
33439 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
33440
33441         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33442         OVERFLOW_EXCEPTION_OK.
33443         * math/libm-test.inc ("Philosophy"): Update comment about
33444         exception testing.
33445         (OVERFLOW_EXCEPTION): Define.
33446         (OVERFLOW_EXCEPTION_OK): Likewise.
33447         (INVALID_EXCEPTION_OK): Renumber.
33448         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33449         (IGNORE_ZERO_INF_SIGN): Likewise.
33450         (test_exceptions): Handle FE_OVERFLOW.
33451         (exp10_test): Expect overflow exceptions.
33452         (exp2_test): Likewise.
33453         (expm1_test): Likewise.
33454         (nextafter_test): Likewise.
33455         (pow_test): Likewise.
33456         (scalbn_test): Likewise.
33457         (scalbln_test): Likewise.
33458
33459 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33460
33461         * sysdeps/x86_64/bits/atomic.h
33462         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33463         64bit integer.
33464         (atomic_exchange_acq): Likewise.
33465         (__arch_exchange_and_add_body): Likewise.
33466         (__arch_add_body): Likewise.
33467         (atomic_add_negative): Likewise.
33468         (atomic_add_zero): Likewise.
33469
33470 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33471
33472         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33473         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33474
33475 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33476
33477         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33478         Check __x86_64__ instead of __WORDSIZE.
33479
33480 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33481
33482         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33483
33484 2012-03-19  David S. Miller  <davem@davemloft.net>
33485
33486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33487
33488         * sysdeps/sparc/fpu/fenv_private.h: New file.
33489         * sysdeps/sparc/fpu/math_private.h: Use it.
33490         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33491         Remove.
33492         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33493         (libc_feholdexcept_setroundl): Remove.
33494         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33495         Remove.
33496         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33497         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33498
33499 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33500
33501         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33502         int64_t instead of long int.
33503         (INSERT_WORDS64): Likwise.
33504
33505 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
33506
33507         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33508         _Unwind_GetCFA return to _Unwind_Ptr first.
33509
33510 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
33511
33512         [BZ #13629]
33513         * math/s_clog.c: Include <float.h>.
33514         (__clog): Scale large or subnormal inputs.
33515         * math/s_clogf.c: Likewise.
33516         * math/s_clogl.c: Likewise.
33517         * math/s_clog10.c: Include <float.h>.
33518         (M_LOG10_2): Define.
33519         (__clog10): Scale large or subnormal inputs.
33520         * math/s_clog10f.c: Likewise.
33521         * math/s_clog10l.c: Likewise.
33522         * math/libm-test.inc (clog_test): Add more tests.
33523         (clog10_test): Likewise.
33524         * sysdeps/i386/fpu/libm-test-ulps: Update.
33525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33526
33527         [BZ #11451]
33528         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33529         x and y.
33530         * math/libm-test.inc (atan2_test): Add another test.
33531
33532         * Makerules (common-objdir-compile): Remove.
33533         * sysdeps/unix/Makefile (config-generated): Do not add
33534         $(unix-generated) to variable.
33535         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33536         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33537         Remove rule.
33538         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33539         Likewise.
33540         [generic bits/local_lim.h] (before-compile): Do not append to
33541         variable.
33542         [generic bits/local_lim.h] (common-generated): Likewise.
33543         [generic sys/param.h] (before-compile): Do not append to variable.
33544         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33545         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33546         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33547         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33548         include.
33549         [generic sys/param.h] (sys/param.h-includes): Remove variable.
33550         [generic sys/param.h] (sys/param.h-includes): Remove rule.
33551         [generic sys/param.h] ($(addprefix
33552         $(common-objpfx),$(sys/param.h-includes))): Likewise.
33553         [generic sys/param.h] (common-generated): Do not append to
33554         variable.
33555         [generic sys/param.h] (sysdep_headers): Likewise.
33556         [generic bits/errno.h] (before-compile): Do not append to
33557         variable.
33558         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33559         rule.
33560         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33561         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33562         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33563         [generic bits/errno.h] (common-generated): Do not append to
33564         variable.
33565         [generic bits/ioctls.h] (before-compile): Do not append to
33566         variable.
33567         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33568         rule.
33569         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33570         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33571         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33572         rule.
33573         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33574         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33575         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33576         [generic bits/ioctls.h] (common-generated): Do not append to
33577         variable.
33578         [generic sys/syscall.h] (syscall.h): Remove variable.
33579         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33580         rule.
33581         [generic sys/syscall.h] (before-compile): Do not append to
33582         variable.
33583         [generic sys/syscall.h] (common-generated): Likewise.
33584         * sysdeps/unix/errnos-tmpl.c: Remove file.
33585         * sysdeps/unix/errnos.awk: Likewise.
33586         * sysdeps/unix/ioctls-tmpl.c: Likewise.
33587         * sysdeps/unix/ioctls.awk: Likewise.
33588         * sysdeps/unix/mk-local_lim.c: Likewise.
33589         * sysdeps/unix/snarf-ioctls: Likewise.
33590
33591 2012-03-19  Richard Henderson  <rth@twiddle.net>
33592
33593         * sysdeps/i386/fpu/fenv_private.h: New file.
33594         * sysdeps/i386/fpu/math_private.h: Use it.
33595         (math_opt_barrier, math_force_eval): Remove.
33596         (libc_feholdexcept_setround_53bit): Remove.
33597         (libc_feupdateenv_53bit): Remove.
33598         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33599         (math_opt_barrier, math_force_eval): Remove.
33600         (libc_feholdexcept): Remove.
33601         (libc_feholdexcept_setround): Remove.
33602         (libc_fetestexcept, libc_fesetenv): Remove.
33603         (libc_feupdateenv_test): Remove.
33604         (libc_feupdateenv, libc_feholdsetround): Remove.
33605         (libc_feresetround): Remove.
33606
33607         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33608         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33609
33610         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33611         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33612         (libc_feupdateenv_testl): New.
33613         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33614         (libc_feupdateenv_testf): New.
33615         (libc_feupdateenv): Use libc_feupdateenv_test.
33616         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33617         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33618
33619         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33620         (libc_feholdsetroundf, libc_feholdsetroundl): New.
33621         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33622         (libc_feresetround_noex): New.
33623         (libc_feresetround_noexf): New.
33624         (libc_feresetround_noexl): New.
33625         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33626         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33627         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33628         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33629         SET_RESTORE_ROUND.
33630         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33631         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33632         (__cos): Likewise.
33633         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33634         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33635         SET_RESTORE_ROUND_NOEX.
33636         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33637         SET_RESTORE_ROUND_NOEXF.
33638         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33639         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33640         (libc_feholdsetroundf): New.
33641         (libc_feresetround, libc_feresetroundf): New.
33642
33643         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33644         (libc_feholdexcept_setround_53bit): Convert from macro to function.
33645         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
33646
33647         * sysdeps/generic/math_private.h: Include <fenv.h>.
33648         (default_libc_feholdexcept): New.
33649         (default_libc_feholdexcept_setround): New.
33650         (default_libc_fesetenv, default_libc_feupdateenv): New.
33651         (libc_feholdexcept): Only define if undefined.
33652         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33653         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33654         (libc_feholdexcept_setroundl): Likewise.
33655         (libc_feholdexcept_setround_53bit): Likewise.
33656         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33657         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33658         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33659         (libc_feupdateenv_53bit): Likewise.
33660         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33661         (libc_feholdexcept): Convert from macro to inline function.
33662         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33663         (libc_fesetenv, libc_feupdateenv): Likewise.
33664
33665         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33666         not previously defined.
33667         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33668         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33669         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33670         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33671         * sysdeps/ieee754/flt-32/math_private.h: New file.
33672         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33673         math_private.h below SET_FLOAT_WORD.
33674         (__isnan, __isinf_ns, __finite): Remove.
33675         (__isnanf, __isinf_nsf, __finitef): Remove.
33676
33677 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
33678
33679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33680
33681 2012-03-17  David S. Miller  <davem@davemloft.net>
33682
33683         [BZ #6471]
33684         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33685         for 2.16.
33686
33687 2012-03-16  David S. Miller  <davem@davemloft.net>
33688
33689         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33690         warnings.
33691
33692         [BZ #6471]
33693         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33694         properly.
33695         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33696         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33697         sysdep_routines when subdir is sysvipc.
33698         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33699         __getshmlba helper.
33700
33701         * sysdeps/sparc/fpu/libm-test/ulps: Update.
33702
33703 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33704
33705         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33706         [__LP64__].
33707
33708 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33709
33710         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33711         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33712         (__lround): Renamed to ...
33713         (__llround): This.  Replace long int with long long int.
33714         Define lround functions as aliases of llround functions.
33715         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33716
33717 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33718
33719         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33720         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
33721         adresses to uintptr_t.  Replace "long int" and "unsigned long
33722         int" with "greg_t" on va_arg.
33723
33724 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33725
33726         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33727         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33728
33729         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33730         Move e_machine check before EI_CLASS check.  Handle x32
33731         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33732         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33733         SKIP_EM_IA_64 and include
33734         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33735
33736         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33737         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33738         (add_system_dir): New macro.
33739
33740         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33741         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33742
33743 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33744
33745         [BZ #2551]
33746         [BZ #2552]
33747         [BZ #2553]
33748         [BZ #2554]
33749         [BZ #2562]
33750         [BZ #2563]
33751         [BZ #2565]
33752         [BZ #2566]
33753         [BZ #2576]
33754         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33755         (y0): Likewise.
33756         * math/w_j0f.c (j0f): Likewise.
33757         (y0f): Likewise.
33758         * math/w_j0l.c (__j0l): Likewise.
33759         (__y0l): Likewise.
33760         * math/w_j1.c (j1): Likewise.
33761         (y1): Likewise.
33762         * math/w_j1f.c (j1f): Likewise.
33763         (y1f): Likewise.
33764         * math/w_j1l.c (__j1l): Likewise.
33765         (__y1l): Likewise.
33766         * math/w_jn.c (jn): Likewise.
33767         (yn): Likewise.
33768         * math/w_jnf.c (jnf): Likewise.
33769         (ynf): Likewise.
33770         * math/w_jnl.c (__jnl): Likewise.
33771         (__ynl): Likewise.
33772         * math/libm-test.inc (j0_test): Add more tests.
33773         (j1_test): Likewise.
33774         (jn_test): Likewise.  Add trailing semicolon to existing test.
33775         (y0_test): Likewise.
33776         (y1_test): Likewise.
33777         * sysdeps/i386/fpu/libm-test-ulps: Update.
33778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33779
33780         [BZ #13851]
33781         [BZ #13854]
33782         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33783         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33784         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33785         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33786         (__tanl): Set errno for infinite argument.
33787         * sysdeps/i386/fpu/mptan.c: Remove.
33788         * sysdeps/i386/fpu/s_tan.S: Likewise.
33789         * sysdeps/i386/fpu/s_tanl.S: Likewise.
33790         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33791         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33792         * math/libm-test.inc (tan_test): Add more tests and enable more
33793         tests for double and long double.
33794         * sysdeps/i386/fpu/libm-test-ulps: Update.
33795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33796
33797 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
33798
33799         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33800         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33801
33802 2012-03-16  Roland McGrath  <roland@hack.frob.com>
33803
33804         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33805         * configure.in: Use it for both main tree and add-ons.
33806         * configure: Regenerated.
33807
33808 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33809
33810         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33811
33812 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33813
33814         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33815         in comment.
33816
33817         [BZ #13851]
33818         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33819         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33820         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33821         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33822         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33823         infinite argument.
33824         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33825         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33826         != 0 for prec == 2.
33827         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33828         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33829         * sysdeps/i386/fpu/s_cosl.S: Likewise.
33830         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33831         * sysdeps/i386/fpu/s_sinl.S: Likewise.
33832         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33833         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33834         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33835         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33836         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33837         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33838         * math/libm-test.inc (cos_test): Add more tests and enable more
33839         tests for long double.
33840         (sin_test): Likewise.
33841         (sincos_test): Likewise.
33842         * sysdeps/i386/fpu/libm-test-ulps: Update.
33843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33844
33845 2012-03-16  David S. Miller  <davem@davemloft.net>
33846
33847         * sysdeps/sparc/fpu/math_private.h: New file.
33848
33849 2012-03-15  David S. Miller  <davem@davemloft.net>
33850
33851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33852         file.
33853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33855         file.
33856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33857         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33858         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33859         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33860         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33861         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33862         sysdep routines.
33863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33864
33865         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33866         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33867
33868         * sysdeps/sparc/sparc-ifunc.h: New file.
33869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33870         sparc-ifunc.h
33871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33873         Likewise.
33874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33875         Likewise.
33876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33880         Likewise.
33881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33886         Likewise.
33887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33888         Likewise.
33889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33895         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33896         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33899         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33900         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33903         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33904         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33905         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33906         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33907         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33908         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33909         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33910         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33911         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33912         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33913
33914 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33915
33916         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33917         scaling.
33918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33919
33920 2012-03-15  Andreas Jaeger  <aj@suse.de>
33921
33922         [BZ #13852]
33923         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33924         ieee754/flt-32 implementation for sin, cos and sincos.
33925         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33926         * sysdeps/i386/fpu/s_cosf.S: Likewise.
33927         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33928         * sysdeps/i386/fpu/s_sinf.S: Likewise.
33929         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33930         ieee754/flt-32 implementation for tan.
33931
33932         * math/libm-test.inc (cos_test): Enable some large input tests for
33933         float as well
33934         (sin_test): Likewise.
33935         (sincos_test): Likewise.
33936         (tan_test): Add tests for large input.
33937
33938         * sysdeps/i386/fpu/libm-test-ulps: Update.
33939
33940 2012-03-15  Andreas Jaeger  <aj@suse.de>
33941
33942         [BZ #13658]
33943         * math/libm-test.inc (cos_test): Add more test cases.
33944         (sin_test): Likewise.
33945         (sincos_test): Likewise.
33946
33947 2012-03-15  Andreas Jaeger  <aj@suse.de>
33948
33949         [BZ #13837]
33950         * math/libm-test.inc (cos_test): Add a test case for large input
33951         value.
33952         (sin_test): Likewise.
33953         (sincos_test): Likewise.
33954
33955 2012-03-15  Andreas Jaeger  <aj@suse.de>
33956             Joseph Myers  <joseph@codesourcery.com>
33957
33958         [BZ #13658]
33959         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33960         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33961         * sysdeps/i386/fpu/branred.c: Likewise.
33962         * sysdeps/i386/fpu/dosincos.c: Likewise.
33963         * sysdeps/i386/fpu/mpa.c: Likewise.
33964         * sysdeps/i386/fpu/s_cos.S: Likewise.
33965         * sysdeps/i386/fpu/s_sin.S: Likewise.
33966         * sysdeps/i386/fpu/s_sincos.S: Likewise.
33967         * sysdeps/i386/fpu/sincos32.c: Likewise.
33968
33969         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33970         Define.
33971         (libc_feupdateenv_53bit): Define.
33972         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33973         Define.
33974         (libc_feupdateenv_53bit): Define.
33975
33976         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33977         53 bit (without extend i386 double precision).
33978
33979         * math/libm-test.inc (sincos_test): Add tests for large input.
33980         (sin): Likewise.
33981         (cos): Likewise.
33982
33983         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33984
33985 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33986
33987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33988
33989 2012-03-15  David S. Miller  <davem@davemloft.net>
33990
33991         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33992         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33993         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33994         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33999         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34001         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34002         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34003         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34004         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34007         file.
34008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34010         file.
34011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34013         file.
34014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34016         file.
34017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34018         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34019         fmin/fmax sysdep routines.
34020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34021
34022 2012-03-14  David S. Miller  <davem@davemloft.net>
34023
34024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34025         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34027         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34028         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34029         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34030         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34031         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34032         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34033         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34034         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34036         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34037         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34038         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34039         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34040         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34041         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34044         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34045         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34046         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34047         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34048         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34049         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34050         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34051         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34052         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34053         routines.
34054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34055         file.
34056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34058         file.
34059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34061         file.
34062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34064         file.
34065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34067         file.
34068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34070         file.
34071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34072         file.
34073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34074         file.
34075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34076         file.
34077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34078         New file.
34079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34080         file.
34081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34082         file.
34083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34085         file.
34086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34088         file.
34089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34091         file.
34092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34094         VIS3 routines.
34095
34096         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34097         New file.
34098
34099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34100
34101         * sysdeps/sparc/configure.in: New file.
34102         * sysdeps/sparc/configure: Generate.
34103         * configure.in (libc_cv_sparc_as_vis3): Substitute.
34104         * configure: Regenerate.
34105         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34106         * config.make.in (have-as-vis3): New.
34107         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34108         available use -Av9d instead of -Av9a.
34109         * sysdeps/sparc/sparc64/Makefile: Likewise.
34110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34112         New file.
34113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34114         file.
34115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34116         New file.
34117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34118         file.
34119         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34120         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34121         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34122         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34123         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34124
34125         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34126         fzeros/fnegs to load 0x80000000 into a float register instead of
34127         using the stack.
34128         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34129
34130 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34131
34132         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34133         bits/syscall.h.
34134         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34135         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34136         ($(inst_includedir)/bits/syscall.h): Remove rule.
34137         ($(objpfx)bits/syscall.d): Include instead of
34138         $(objpfx)syscall-list.d.
34139         (generated): Change syscall-list.h and syscall-list.d to
34140         bits/syscall.h and bits/syscall.d.
34141
34142 2012-03-14  Roland McGrath  <roland@hack.frob.com>
34143
34144         [BZ #13846]
34145         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34146
34147 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34148
34149         [BZ #13841]
34150         * math/s_csqrt.c: Include <float.h>.
34151         (__csqrt): Scale large or subnormal inputs.
34152         * math/s_csqrtf.c: Likewise.
34153         * math/s_csqrtl.c: Likewise.
34154         * math/libm-test.inc (csqrt_test): Add more tests.
34155         * sysdeps/i386/fpu/libm-test-ulps: Update.
34156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34157
34158         [BZ #13840]
34159         * math/libm-test.inc (hypot_test): Add more tests.
34160
34161 2012-03-13  David S. Miller  <davem@davemloft.net>
34162
34163         [BZ #13840]
34164         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34165         double-precision for the calculation instead of scaling.
34166
34167 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
34168
34169         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34170         manipulate bits before adding and subtracting TWO52[sx].
34171         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34172         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34173         Likewise.
34174         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34175
34176 2012-03-13  David S. Miller  <davem@davemloft.net>
34177
34178         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34179         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34180         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34181         rtld-global-offsets.h
34182         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34183
34184         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34185         large parameters.
34186
34187         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34188
34189         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34190         'err' in the ifdef scope in which it is actually used.
34191
34192         * nss/nss_db/db-init.c: Include string.h
34193
34194 2012-03-12  David S. Miller  <davem@davemloft.net>
34195
34196         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34197         masking out of the most significant byte of random value used.
34198         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34199         Fix coding style in previous change.
34200
34201         * sysdeps/unix/sysv/linux/kernel-features.h
34202         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34203         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34204         expression.
34205         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34206         later.
34207
34208 2012-03-11  David S. Miller  <davem@davemloft.net>
34209
34210         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34211         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34212         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34213         for 'resultvar' otherwise things get truncated on 64-bit.
34214
34215         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34216         Fix masking out of the most significant byte of random value used.
34217
34218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34219
34220 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
34221
34222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34223
34224 2012-03-09  David S. Miller  <davem@davemloft.net>
34225
34226         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34227         variables with appropriate CPP guards.
34228         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34229         from the frame pointer, not the stack pointer.  Correct layout
34230         comments.  Fix test on resulting framesize and the management of
34231         the outregs buffer for pltexit.  Preserve floating point return
34232         values across _dl_call_pltexit call.
34233         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34234         framesize and the management of the outregs buffer for pltexit.
34235         Preserve floating point return values across _dl_call_pltexit
34236         call.
34237         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34238         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34239         (la_sparc64_gnu_pltexit): New functions.
34240         (print_exit): Fix format string for return register value.
34241
34242 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
34243
34244         * sunrpc/Makefile (others): Add rpcgen.
34245         ($(objpfx)rpcgen): Remove special build rule and dependency on
34246         libc.
34247         * sunrpc/rpcgen.c: New file.
34248
34249 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
34250
34251         [BZ #13673]
34252         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34253         * stdio-common/bug-vfprintf-nargs.c: Likewise.
34254         * sysdeps/i386/crti.S: Likewise.
34255         * sysdeps/i386/crtn.S: Likewise.
34256         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34257         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34258         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34259         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34260         * sysdeps/sh/crti.S: Likewise.
34261         * sysdeps/sh/crtn.S: Likewise.
34262         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34263
34264         [BZ #13673]
34265         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34266         with URL.
34267         * locale/programs/locfile-kw.gperf: Likewise.
34268         * locale/programs/charmap-kw.h: Regenerated.
34269         * locale/programs/locfile-kw.h: Likewise.
34270
34271         [BZ #13673]
34272         * intl/plural.y: Replace FSF snail mail address with URL.
34273         * intl/plural.c: Regenerated.
34274
34275 2012-03-09  Richard Henderson  <rth@twiddle.net>
34276
34277         * include/math_private.h: Remove file.
34278         * math/math_private.h: Move file ...
34279         * sysdeps/generic/math_private.h: ... here.
34280
34281         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34282         * sysdeps/powerpc/fpu/math_private.h: Likewise.
34283         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34284
34285         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34286         and <math_private.h>.
34287         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34288         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34289         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34290         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34291         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34292         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34293         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34294         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34295         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34296         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34297         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34298         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34299         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34300         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34301         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34302         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34303         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34304         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34305         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34306         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34307         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34308         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34309         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34310         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34311         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34312         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34313         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34314         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34315         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34316         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34317         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34318         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34319         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34320         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34321         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34322         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34323         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34324         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34325         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34326         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34327         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34328         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34329         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34330         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34331         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34332         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34333         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34334         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34335         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34336         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34337         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34338         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34339         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34340         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34341         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34342         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34343         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34344         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34345         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34346         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34347         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34348         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34349         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34350         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34351         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34352         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34353         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34354         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34355         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34356         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34357         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34358         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34359         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34360         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34361         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34362         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34363         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34364         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34365         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34366         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34367         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34368         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34369         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34370         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34371         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34372         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34373         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34374         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34375         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34376         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34377         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34378         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34379         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34380         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34381         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34382         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34383         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34384         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34385         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34386         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34387         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34388         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34389         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34390         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34391         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34392         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34393         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34394         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34395         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34396         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34397         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34398         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34399         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34400         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34401         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34402         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34403         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34404         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34405         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34406         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34407         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34408         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34409         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34410         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34411         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34412         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34413         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34414         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34415         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34416         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34417         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34418         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34419         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34420         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34421         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34422         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34423         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34424         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34425         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34426         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34427         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34428         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34429         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34430         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34431         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34432         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34433         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34434         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34435         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34436         * sysdeps/ieee754/k_standard.c: Likewise.
34437         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34438         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34439         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34440         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34441         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34442         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34443         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34444         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34445         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34446         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34447         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34448         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34449         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34450         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34451         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34452         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34453         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34454         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34455         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34456         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34457         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34458         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34459         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34460         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34461         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34462         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34463         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34464         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34465         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34466         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34467         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34468         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34469         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34470         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34471         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34472         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34473         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34474         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34475         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34476         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34477         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34478         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34479         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34480         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34481         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34482         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34483         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34484         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34485         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34486         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34487         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34488         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34489         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34490         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34491         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34492         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34493         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34494         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34495         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34496         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34497         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34498         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34499         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34500         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34501         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34502         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34503         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34504         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34505         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34506         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34507         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34508         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34509         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34510         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34511         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34512         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34513         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34514         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34515         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34516         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34517         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34518         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34519         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34520         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34521         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34522         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34523         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34524         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34525         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34526         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34527         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34528         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34529         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34530         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34531         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34532         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34533         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34534         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34535         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34536         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34537         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34538         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34539         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34540         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34541         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34542         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34543         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34544         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34545         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34546         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34547         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34548         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34549         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34550         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34551         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34552         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34553         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34554         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34555         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34556         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34557         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34558         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34559         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34560         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34561         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34562         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34563         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34564         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34565         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34566         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34567         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34568         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34569         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34570         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34571         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34572         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34573         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34574         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34575         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34576         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34577         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34578         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34579         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34580         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34581         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34582         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34583         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34584         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34585         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34586         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34587         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34588         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34589         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34590         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34591         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34592         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34593         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34594         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34595         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34596         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34597         * sysdeps/ieee754/s_lib_version.c: Likewise.
34598         * sysdeps/ieee754/s_matherr.c: Likewise.
34599         * sysdeps/ieee754/s_signgam.c: Likewise.
34600         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34601         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34602         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34603         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34604         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34605         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34606         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34607         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34608         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34609         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34610         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34611         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34612         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34613         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34614         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34615         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34616         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34617         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34618         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34619         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34620         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34621
34622 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34623
34624         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34625         * sunrpc/rpc_main.c: Likewise.
34626         * sunrpc/rpc_svcout.c: Likewise.
34627
34628 2012-03-09  David S. Miller  <davem@davemloft.net>
34629
34630         * include/math_private.h: New file.
34631
34632 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34633
34634         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34635         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34636         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34637         from <bits/socket_type.h>.
34638         (enum __socket_type): Don't define here.
34639         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34641         bits/socket_type.h.
34642
34643         [BZ #13566]
34644         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34645         checking __USE_GNU.
34646
34647         * Makerules ($(inst_includedir)/%.h): New rule.
34648         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34649         (install-others): Remove variable setting.
34650         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34651
34652 2012-03-08  Richard Henderson  <rth@twiddle.net>
34653
34654         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34655         from macro to inline function; merge with the
34656         !__LIBC_INTERNAL_MATH_INLINES version.
34657         (__ieee754_sqrtf): Likewise.
34658
34659         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34660         to inline function.
34661         (__rintf, __floor, __floorf): Likewise.
34662
34663         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34664         macro to inline function.
34665         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34666
34667         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34668         not <math/math_private.h>.
34669
34670 2012-03-08  David S. Miller  <davem@davemloft.net>
34671
34672         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34673         copyright year.
34674         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34675
34676 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
34677
34678         * resolv/gai_misc.c (handle_requests): Fix struct timespec
34679         normalization.
34680         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34681         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34682
34683 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
34684
34685         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
34686         be defined individually, they must be defined as a block.  Define
34687         S for printing a string instead of hidint the different by using a
34688         macro for adding the 'l'.
34689         * stdio-common/tst-fphex-wide.c: Adjust.
34690
34691 2012-03-07  Marek Polacek  <polacek@redhat.com>
34692
34693         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34694
34695 2012-03-08  Marek Polacek  <polacek@redhat.com>
34696
34697         [BZ #13806]
34698         * stdio-common/Makefile (tests): Add tst-fphex-wide.
34699         * stdio-common/tst-fphex.c: Define a few macros to make the
34700         test reusable.  Use them.
34701         * stdio-common/tst-fphex-wide.c: New file.
34702
34703 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
34704
34705         [BZ #6911]
34706         * manual/macros.texi (gnusystems): New macro.
34707         (nongnusystems): Likewise.
34708         (gnulinuxhurdsystems): Likewise.
34709         (gnuhurdsystems): Likewise..
34710         (gnulinuxsystems): Likewise.
34711         * manual/charset.texi: Use new macros or @theglibc{} to refer to
34712         variants of the GNU system, not "GNU system".
34713         * manual/conf.texi: Likewise.
34714         * manual/errno.texi: Likewise.  Update example of errno macro
34715         expansion.
34716         * manual/filesys.texi: Likewise.
34717         (getumask): Document as specific to GNU/Hurd.
34718         * manual/install.texi: Likewise.  Reword some references to
34719         GNU/Linux.
34720         * manual/intro.texi: Likewise.
34721         * manual/io.texi: Likewise.
34722         (File Name Portability): Detail which constraints are inapplicable
34723         to all GNU systems and which are only inapplicable to GNU/Hurd.
34724         * manual/job.texi: Likewise.
34725         * manual/llio.texi: Likewise.
34726         (O_NOCTTY): Document as present on GNU/Linux.
34727         * manual/maint.texi: Likewise.
34728         * manual/memory.texi: Likewise.
34729         * manual/pattern.texi: Likewise.
34730         * manual/pipe.texi: Likewise.
34731         * manual/process.texi: Likewise.
34732         * manual/resource.texi: Likewise.
34733         (RUSAGE_CHILDREN): Remove statement about specifying a particular
34734         child on GNU/Hurd.
34735         * manual/setjmp.texi: Likewise.
34736         * manual/signal.texi: Likewise.
34737         * manual/startup.texi: Likewise.
34738         * manual/stdio.texi: Likewise.
34739         * manual/terminal.texi: Likewise.
34740         (ONLCR): Document as POSIX.
34741         (OXTABS): Document availability on GNU/Linux as XTABS.
34742         (ONOEOT): Document availability separately from other bits.
34743         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34744         * manual/time.texi: Likewise.
34745         * manual/users.texi: Likewise.
34746         * INSTALL: Regenerated.
34747         * sysdeps/gnu/errlist.c: Regenerated.
34748
34749         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34750         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34751         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
34752         puts.
34753         * configure: Regenerated.
34754
34755 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
34756
34757         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34758         default includes instead of AC_HEADER_CHECK.
34759         * sysdeps/i386/configure: Regenerated.
34760
34761         [BZ #10716]
34762         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34763         * math/s_cacoshf.c (__cacoshf): Likewise.
34764         * math/s_cacoshl.c (__cacoshl): Likewise.
34765         * math/s_casinh.c (__casinh): Set signs of result from argument.
34766         * math/s_casinhf.c (__casinhf): Likewise.
34767         * math/s_casinhl.c (__casinhl): Likewise.
34768         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34769         (casinh_test): Add more tests.
34770         * sysdeps/i386/fpu/libm-test-ulps: Update.
34771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34772
34773 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
34774
34775         * po/zh_TW.po: Update from translation team.
34776
34777         * login/Makefile (distribute): Remove variable.
34778         * catgets/Makefile: Likewise.
34779         * mach/Makefile: Likewise.
34780         * malloc/Makefile: Likewise.
34781         * misc/Makefile: Likewise.
34782         * iconv/Makefile: Likewise.
34783         * nscd/Makefile: Likewise.
34784         * hurd/Makefile: Likewise.
34785         * manual/Makefile: Likewise.
34786         * locale/Makefile: Likewise.
34787         * intl/Makefile: Likewise.
34788         * conform/Makefile: Likewise.
34789         * nss/Makefile: Likewise.
34790         * time/Makefile: Likewise.
34791         * soft-fp/Makefile: Likewise.
34792         * dirent/Makefile: Likewise.
34793         * gmon/Makefile: Likewise.
34794         * po/Makefile: Likewise.
34795         * rt/Makefile: Likewise.
34796         * socket/Makefile: Likewise.
34797         * math/Makefile: Likewise.
34798         * signal/Makefile: Likewise.
34799         * debug/Makefile: Likewise.
34800         * elf/Makefile: Likewise.
34801         * timezone/Makefile: Likewise.
34802         * stdlib/Makefile: Likewise.
34803         * iconvdata/Makefile: Likewise.
34804         * sunrpc/Makefile: Likewise.
34805         * io/Makefile: Likewise.
34806         * argp/Makefile: Likewise.
34807         * inet/Makefile: Likewise.
34808         * hesiod/Makefile: Likewise.
34809         * grp/Makefile: Likewise.
34810         * csu/Makefile: Likewise.
34811         * wctype/Makefile: Likewise.
34812         * crypt/Makefile: Likewise.
34813         * libio/Makefile: Likewise.
34814         * string/Makefile: Likewise.
34815         * nis/Makefile: Likewise.
34816         * resolv/Makefile: Likewise.
34817         * stdio-common/Makefile: Likewise.
34818         * wcsmbs/Makefile: Likewise.
34819         * dlfcn/Makefile: Likewise.
34820         * posix/Makefile: Likewise.
34821
34822         [BZ #6959]
34823         * timezone/Makefile: Don't install timezone files, just the programs
34824         and scripts.
34825
34826 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
34827
34828         * nss/databases.def: Add missing gshadow entry.
34829
34830         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
34831
34832 2012-03-06  Marek Polacek  <polacek@redhat.com>
34833
34834         [BZ #13726]
34835         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34836         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34837         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34838         * stdio-common/tst-long-dbl-fphex.c: New file.
34839
34840 2012-03-06  David S. Miller  <davem@davemloft.net>
34841
34842         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34843         (set_obp_int): New function.
34844         (get_obp_int): New function.
34845         (__get_clockfreq_via_dev_openprom): Likewise.
34846         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34847         Avoid unused variable warnings on 'val' and use builtin_expect.
34848         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34849         __builtin_expect.
34850         (INLINE_CLONE_SYSCALL): Likewise.
34851
34852 2012-03-05  David S. Miller  <davem@davemloft.net>
34853
34854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34855
34856 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
34857
34858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34859
34860         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34861         only for |x| >= 40.
34862         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34863
34864 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34865
34866         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34867         Replace gettimeofday with __vdso_gettimeofday.
34868
34869         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34870         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34871         __vdso_clock_gettime and __vdso_getcpu.
34872
34873         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34874         time with __vdso_time.
34875
34876 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34877
34878         * manual/lang.texi (size_t): Note types to which size_t may be
34879         equivalent with the GNU C Library, but do not describe when
34880         differences between them are significant.
34881
34882 2012-03-05  Andreas Jaeger  <aj@suse.de>
34883
34884         * sysdeps/i386/fpu/libm-test-ulps: Update.
34885
34886 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34887
34888         [BZ #3976]
34889         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34890         (__ieee754_pow): Save and restore rounding mode and use
34891         round-to-nearest for main computations.
34892         * math/libm-test.inc (pow_test_tonearest): New function.
34893         (pow_test_towardzero): Likewise.
34894         (pow_test_downward): Likewise.
34895         (pow_test_upward): Likewise.
34896         (main): Call the new functions.
34897         * sysdeps/i386/fpu/libm-test-ulps: Update.
34898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34899
34900         [BZ #3976]
34901         * math/libm-test.inc (cosh_test_tonearest): New function.
34902         (cosh_test_towardzero): Likewise.
34903         (cosh_test_downward): Likewise.
34904         (cosh_test_upward): Likewise.
34905         (sinh_test_tonearest): Likewise.
34906         (sinh_test_towardzero): Likewise.
34907         (sinh_test_downward): Likewise.
34908         (sinh_test_upward): Likewise.
34909         (main): Call the new functions.
34910         * sysdeps/i386/fpu/libm-test-ulps: Update.
34911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34912
34913 2012-03-05  Tom de Vries  <tom@codesourcery.com>
34914
34915         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34916         default stack guard is set in last bytes.
34917         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34918
34919 2012-03-05  Kees Cook  <keescook@chromium.org>
34920
34921         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34922
34923         [BZ #13656]
34924         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34925         possibly allocate from heap instead of stack.
34926         * stdio-common/bug-vfprintf-nargs.c: New file.
34927         * stdio-common/Makefile (tests): Add nargs overflow test.
34928
34929 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
34930
34931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34932
34933 2012-03-03  Marek Polacek  <polacek@redhat.com>
34934
34935         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34936         * math/math_private.h: Likewise.
34937         * stdlib/tst-strtod.c: Likewise.
34938         * sysdeps/i386/i486/bits/atomic.h: Likewise.
34939         * sysdeps/x86_64/bits/atomic.h: Likewise.
34940
34941 2012-03-02  David S. Miller  <davem@davemloft.net>
34942
34943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34947         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34948         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34949         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34950         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34951
34952 2012-03-02  Roland McGrath  <roland@hack.frob.com>
34953
34954         [BZ #13792]
34955         * manual/examples/README: New file, says the example source files
34956         can be used under GPL>=2.
34957         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34958         line containing just "*/".
34959         * manual/examples/add.c: Add copyright header (GPL>=2).
34960         * manual/examples/argp-ex1.c: Likewise.
34961         * manual/examples/argp-ex2.c: Likewise.
34962         * manual/examples/argp-ex3.c: Likewise.
34963         * manual/examples/argp-ex4.c: Likewise.
34964         * manual/examples/atexit.c: Likewise.
34965         * manual/examples/db.c: Likewise.
34966         * manual/examples/dir.c: Likewise.
34967         * manual/examples/dir2.c: Likewise.
34968         * manual/examples/execinfo.c: Likewise.
34969         * manual/examples/filecli.c: Likewise.
34970         * manual/examples/filesrv.c: Likewise.
34971         * manual/examples/fmtmsgexpl.c: Likewise.
34972         * manual/examples/genpass.c: Likewise.
34973         * manual/examples/inetcli.c: Likewise.
34974         * manual/examples/inetsrv.c: Likewise.
34975         * manual/examples/isockad.c: Likewise.
34976         * manual/examples/longopt.c: Likewise.
34977         * manual/examples/memopen.c: Likewise.
34978         * manual/examples/memstrm.c: Likewise.
34979         * manual/examples/mkfsock.c: Likewise.
34980         * manual/examples/mkisock.c: Likewise.
34981         * manual/examples/mygetpass.c: Likewise.
34982         * manual/examples/pipe.c: Likewise.
34983         * manual/examples/popen.c: Likewise.
34984         * manual/examples/rprintf.c: Likewise.
34985         * manual/examples/search.c: Likewise.
34986         * manual/examples/select.c: Likewise.
34987         * manual/examples/setjmp.c: Likewise.
34988         * manual/examples/sigh1.c: Likewise.
34989         * manual/examples/sigusr.c: Likewise.
34990         * manual/examples/stpcpy.c: Likewise.
34991         * manual/examples/strdupa.c: Likewise.
34992         * manual/examples/strftim.c: Likewise.
34993         * manual/examples/strncat.c: Likewise.
34994         * manual/examples/subopt.c: Likewise.
34995         * manual/examples/swapcontext.c: Likewise.
34996         * manual/examples/termios.c: Likewise.
34997         * manual/examples/testopt.c: Likewise.
34998         * manual/examples/testpass.c: Likewise.
34999         * manual/examples/timeval_subtract.c: Likewise.
35000
35001         [BZ #13792]
35002         * manual/time.texi (Elapsed Time): Move timeval_subtract example
35003         function to ...
35004         * manual/timeval_subtract.c.texi: ... here, new file.
35005
35006 2012-03-02  David S. Miller  <davem@davemloft.net>
35007
35008         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35009
35010 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
35011
35012         [BZ #3976]
35013         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35014         (__sin): Save and restore rounding mode and use round-to-nearest
35015         for all computations.
35016         (__cos): Save and restore rounding mode and use round-to-nearest
35017         for all computations.
35018         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35019         <fenv.h>.
35020         (tan): Save and restore rounding mode and use round-to-nearest for
35021         all computations.
35022         * math/libm-test.inc (cos_test_tonearest): New function.
35023         (cos_test_towardzero): Likewise.
35024         (cos_test_downward): Likewise.
35025         (cos_test_upward): Likewise.
35026         (sin_test_tonearest): Likewise.
35027         (sin_test_towardzero): Likewise.
35028         (sin_test_downward): Likewise.
35029         (sin_test_upward): Likewise.
35030         (tan_test_tonearest): Likewise.
35031         (tan_test_towardzero): Likewise.
35032         (tan_test_downward): Likewise.
35033         (tan_test_upward): Likewise.
35034         (main): Call the new functions.
35035         * sysdeps/i386/fpu/libm-test-ulps: Update.
35036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35037
35038         [BZ #10135]
35039         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35040         small n, then large n, before computing and testing k+n.
35041         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35042         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35043         Likewise.
35044         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35045         Likewise.
35046         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35047         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35048         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35049         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35050         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35051         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35052         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35053         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35054         * math/libm-test.inc (scalbn_test): Add more tests.
35055         (scalbln_test): Likewise.
35056
35057         * manual/filesys.texi (mode_t): Describe constraints on size and
35058         signedness, not exact equivalence to a particular type.
35059         (ino_t): Likewise.
35060         (ino64_t): Likewise.
35061         (dev_t): Likewise.
35062         (nlink_t): Likewise.
35063         (blkcnt_t): Likewise.
35064         (blkcnt64_t): Likewise.
35065         * manual/llio.texi (off_t): Likewise.
35066
35067         [BZ #3976]
35068         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35069         (__ieee754_exp): Save and restore rounding mode and use
35070         round-to-nearest for all computations.
35071         * math/libm-test.inc (exp_test_tonearest): New function.
35072         (exp_test_towardzero): Likewise.
35073         (exp_test_downward): Likewise.
35074         (exp_test_upward): Likewise.
35075         (main): Call the new functions.
35076         * sysdeps/i386/fpu/libm-test-ulps: Update.
35077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35078
35079 2012-03-01  Chris Demetriou  <cgd@google.com>
35080
35081         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35082         have predictable order.
35083
35084 2012-03-01  David S. Miller  <davem@davemloft.net>
35085
35086         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35087
35088         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35089         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35090         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35091         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35092
35093         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35094         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35095         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35097         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35098         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35099         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35100         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35101         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35102
35103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35104
35105         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35106         * sysdeps/sparc/fpu/libm-test-ulps: to here.
35107         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35108
35109         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35110         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35111         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35112         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35113         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35114         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35115         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35116         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35117         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35118         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35119         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35120         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35121         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35122         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35123         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35124         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35125         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35126         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35127         * sysdeps/sparc/elf/configure: Regenerated.
35128
35129 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
35130
35131         * configure.in (AS, LD): Require binutils 2.20 or later.
35132         * configure: Regenerated.
35133         * manual/install.texi (Tools for Compilation): Give binutils 2.20
35134         as required minimum version.
35135         * INSTALL: Regenerated.
35136
35137         [BZ #2541]
35138         [BZ #4108]
35139         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35140         before squaring exponent.
35141         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35142         bottom long double and 27 bits of top long double before squaring
35143         exponent.
35144         * math/libm-test.inc (erfc_test): Add more tests.
35145         * sysdeps/i386/fpu/libm-test-ulps: Update.
35146         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35148
35149 2012-03-01  Kai Tietz  <ktietz@redhat.com>
35150
35151         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35152         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35153         containing bit-fields.
35154         * soft-fp/extended.h (_FP_UNION_E): Likewise.
35155         * soft-fp/single.h (_FP_UNION_S): Likewise.
35156         * soft-fp/double.h (_FP_UNION_D): Likewise.
35157
35158 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35159
35160         [BZ #13786]
35161         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35162         not include ../strcmp.S.
35163         [USE_AS_STRNCASECMP_L]: Likewise.
35164         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35165         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35166         * sysdeps/i386/i686/multiarch/strncase_l-c.c
35167         (__strncasecmp_l_ia32): Define as alias to
35168         __strncasecmp_l_nonascii.
35169
35170         [BZ #5794]
35171         * math/libm-test.inc (expm1_test): Add test for bug 5794.
35172         * sysdeps/i386/fpu/libm-test-ulps: Update.
35173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35174
35175         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35177
35178 2012-02-29  Jeff Law  <law@redhat.com>
35179
35180         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35181         out of bounds read.
35182
35183 2012-02-29  Marek Polacek  <polacek@redhat.com>
35184
35185         [BZ #13706]
35186         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35187         * elf/Makefile: Add rules to run tst-unused-dep.out.
35188
35189 2012-02-28  David S. Miller  <davem@davemloft.net>
35190
35191         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35192         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35193         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35194         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35195         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35196         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35197
35198 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35199
35200         * math/libm-test.inc (llround_test): Move one test from
35201         lround_test.  Use TEST_f_L in moved test.
35202         (lround_test): Move misplaced test to llround_test.  Add testcase
35203         from bug 2561.
35204
35205 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
35206
35207         * sysdeps/x86_64/fpu/e_expf.S: New file.
35208         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35209
35210 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
35211
35212         [BZ #13637]
35213         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35214         of remain_len that may cause incomplete multi-byte character and
35215         false match.
35216         * posix/bug-regex33.c: New file.
35217         * posix/Makefile (tests): Add bug-regex33.
35218
35219 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
35220
35221         * manual/macros.texi: New file.
35222         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35223         * manual/libc.texinfo: Include macros.texi.
35224         * manual/creatute.texi: Likewise.
35225         * manual/install.texi: Likewise.
35226         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35227         @glibcadj{} in references to the GNU C Library.
35228         * manual/charset.texi: Likewise.
35229         * manual/conf.texi: Likewise.
35230         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
35231         when not using those macros.
35232         * manual/creature.texi: Likewise.
35233         * manual/crypt.texi: Likewise.
35234         * manual/errno.texi: Likewise.
35235         * manual/filesys.texi: Likewise.
35236         * manual/header.texi: Likewise.
35237         * manual/install.texi: Likewise.
35238         * manual/intro.texi: Likewise.
35239         * manual/io.texi: Likewise.
35240         * manual/job.texi: Likewise.
35241         * manual/lang.texi: Likewise.
35242         * manual/libc.texiinfo: Likewise.
35243         * manual/llio.texi: Likewise.
35244         * manual/locale.texi: Likewise.
35245         * manual/maint.texi: Likewise.
35246         * manual/math.texi: Likewise.
35247         * manual/memory.texi: Likewise.
35248         * manual/message.texi: Likewise.
35249         * manual/nss.texi: Likewise.
35250         * manual/pattern.texi: Likewise.
35251         * manual/process.texi: Likewise.
35252         * manual/resource.texi: Likewise.
35253         * manual/search.texi: Likewise.
35254         * manual/setjmp.texi: Likewise.
35255         * manual/signal.texi: Likewise.
35256         * manual/socket.texi: Likewise.
35257         * manual/startup.texi: Likewise.
35258         * manual/stdio.texi: Likewise.
35259         * manual/string.texi: Likewise.
35260         * manual/sysinfo.texi: Likewise.
35261         * manual/syslog.texi: Likewise.
35262         * manual/terminal.texi: Likewise.
35263         * manual/time.texi: Likewise.
35264         * manual/users.texi: Likewise.
35265         * INSTALL: Regenerated.
35266         * NOTES: Regenerated.
35267         * sysdeps/gnu/errlist.c: Regenerated.
35268
35269 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
35270
35271         * include/dirent.h: Include <dirstream.h> before
35272         <dirent/dirent.h>.
35273
35274 2012-02-28  David S. Miller  <davem@davemloft.net>
35275
35276         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35277         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35278         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35279         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35280
35281 2012-02-27  David S. Miller  <davem@davemloft.net>
35282
35283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35285         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35286         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35287
35288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35289         frame pointer instead of stack pointer relative arg slot.
35290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35291         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35292         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35293
35294 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
35295
35296         [BZ #3992]
35297         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35298
35299 2012-02-27  David S. Miller  <davem@davemloft.net>
35300
35301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35305         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35306         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35307         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35308         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35309
35310 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35311
35312         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35313         later.  Allow versions 5-9.
35314         * configure: Regenerated.
35315         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35316         required minimum version and 4.6 as recommended version.  Do not
35317         mention bugs in GCC 2.7 and 2.8.
35318         * INSTALL: Regenerated.
35319
35320 2012-02-27  David S. Miller  <davem@davemloft.net>
35321
35322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35326         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35327         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35328         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35329         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35330
35331         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35332         manipulate bits before adding and subtracting TWO112[sx].
35333         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35334
35335 2012-02-27  Roland McGrath  <roland@hack.frob.com>
35336
35337         [BZ #13775]
35338         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35339         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35340         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35341         being in POSIX, because they are in 1003.1-2008.
35342
35343         * rt/tst-aio.c: Include <fcntl.h>.
35344         * rt/tst-aio7.c: Likewise.
35345         * rt/tst-aio64.c: Likewise.
35346
35347         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35348
35349 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35350
35351         * manual/install.texi (--with-headers): Describe headers as
35352         interface headers, not private headers.
35353         (Specific advice for GNU/Linux systems): Describe use of headers
35354         from "make headers_install", not private headers from older
35355         kernels.
35356         * INSTALL: Regenerated.
35357         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35358         Change to 2.6.19.
35359         * sysdeps/unix/sysv/linux/configure: Regenerated.
35360
35361         * manual/llio.texi (fclean): Remove documentation.
35362
35363         * manual/Makefile (libc-texi-generated): New variable.  Include
35364         version.texi.
35365         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35366         $(libc-texi-generated), not duplicated list of files.
35367         (version.texi, stamp-version): New rules.
35368         (realclean): Remove $(libc-texi-generated), not individual files
35369         from that list.  Do not remove dir-add.texinfo.
35370         * manual/libc.texinfo: Comment out uses of edition numbers and
35371         references to printed manual.  Remove last-updated dates.
35372         (EDITION): Comment out.
35373         (ISBN): Likewise.
35374         (VERSION, UPDATED): Remove.
35375         (version.texi): Include.
35376
35377 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
35378
35379         * sysdeps/posix/spawni.c: Include <signal.h>.
35380         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35381         * sysdeps/pthread/aio_fsync.c: Likewise.
35382
35383 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
35384
35385         * conform/Makefile (tests): Run only when not cross-compiling and
35386         when fast-check is not defined.
35387
35388         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35389         * conform/data/limits.h-data: Fixes for POSIX2008.
35390         * conform/run-conformtest.sh: Run all tests.
35391         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35392         headers.
35393         * include/bits/dlfcn.h: Likewise.
35394         * include/langinfo.h: Likewise.
35395         * include/monetary.h: Likewise.
35396         * include/sys/poll.h: Likewise.
35397
35398         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35399         for __USE_GNU.
35400         * posix/spawn.h: Define __need_sigset_t.
35401         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35402         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35403         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
35404         to get sigevent_t only.
35405         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35406         only for __USE_GNU.
35407         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35408         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35409         process_vm_writev only for __USE_GNU.
35410         * termios/termios.h: Declare tcgetsid also for POSIX2008.
35411
35412         * conform/Makefile: For now ignore errors from run-conformtest.
35413         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
35414         POSIX to avoid namespace pollution.  Don't prepend headers.
35415         * conform/data/aio.h-data: Fixes for POSIX testing.
35416         * conform/data/fcntl.h-data: Likewise.
35417         * conform/data/glob.h-data: Likewise.
35418         * conform/data/grp.h-data: Likewise.
35419         * conform/data/pthread.h-data: Likewise.
35420         * conform/data/pwd.h-data: Likewise.
35421         * conform/data/signal.h-data: Likewise.
35422         * conform/data/spawn.h-data: Likewise.
35423         * conform/data/stdio.h-data: Likewise.
35424         * conform/data/stdlib.h-data: Likewise.
35425         * conform/data/stropts.h-data: Likewise.
35426         * conform/data/sys/mman.h-data: Likewise.
35427         * conform/data/sys/stat.h-data: Likewise.
35428         * conform/data/sys/types.h-data: Likewise.
35429         * conform/data/sys/wait.h-data: Likewise.
35430         * conform/data/time.h-data: Likewise.
35431         * conform/data/unistd.h-data: Likewise.
35432         * conform/data/utime.h-data: Likewise.
35433
35434         * io/sys/stat.h: fchmod was always in POSIX.
35435         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35436         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35437         * rt/aio.h: Define __need_timespec before including <time.h>.
35438         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35439         struct.  Add forward declaration of pthread_attr_t and use it in
35440         sigevent.
35441         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35442         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35443         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35444         always remove CLK_TCK definition.
35445
35446 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
35447
35448         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35449
35450 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
35451
35452         * conform/run-conformtest.sh: New file.
35453         * conform/Makefile: Run run-conformtest for tests.
35454         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
35455         support.
35456
35457         * conform/data/uchar.h-data: New file.
35458         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35459         * conform/data/arpa/inet.h-data: Likewise.
35460         * conform/data/assert.h-data: Likewise.
35461         * conform/data/complex.h-data: Likewise.
35462         * conform/data/cpio.h-data: Likewise.
35463         * conform/data/ctype.h-data: Likewise.
35464         * conform/data/dirent.h-data: Likewise.
35465         * conform/data/dlfcn.h-data: Likewise.
35466         * conform/data/errno.h-data: Likewise.
35467         * conform/data/fcntl.h-data: Likewise.
35468         * conform/data/float.h-data: Likewise.
35469         * conform/data/fmtmsg.h-data: Likewise.
35470         * conform/data/fnmatch.h-data: Likewise.
35471         * conform/data/ftw.h-data: Likewise.
35472         * conform/data/glob.h-data: Likewise.
35473         * conform/data/grp.h-data: Likewise.
35474         * conform/data/iconv.h-data: Likewise.
35475         * conform/data/inttypes.h-data: Likewise.
35476         * conform/data/langinfo.h-data: Likewise.
35477         * conform/data/libgen.h-data: Likewise.
35478         * conform/data/limits.h-data: Likewise.
35479         * conform/data/locale.h-data: Likewise.
35480         * conform/data/math.h-data: Likewise.
35481         * conform/data/monetary.h-data: Likewise.
35482         * conform/data/mqueue.h-data: Likewise.
35483         * conform/data/ndbm.h-data: Likewise.
35484         * conform/data/net/if.h-data: Likewise.
35485         * conform/data/netdb.h-data: Likewise.
35486         * conform/data/netinet/in.h-data: Likewise.
35487         * conform/data/nl_types.h-data: Likewise.
35488         * conform/data/poll.h-data: Likewise.
35489         * conform/data/pthread.h-data: Likewise.
35490         * conform/data/pwd.h-data: Likewise.
35491         * conform/data/regex.h-data: Likewise.
35492         * conform/data/sched.h-data: Likewise.
35493         * conform/data/search.h-data: Likewise.
35494         * conform/data/semaphore.h-data: Likewise.
35495         * conform/data/setjmp.h-data: Likewise.
35496         * conform/data/signal.h-data: Likewise.
35497         * conform/data/spawn.h-data: Likewise.
35498         * conform/data/stdarg.h-data: Likewise.
35499         * conform/data/stdio.h-data: Likewise.
35500         * conform/data/stdlib.h-data: Likewise.
35501         * conform/data/string.h-data: Likewise.
35502         * conform/data/strings.h-data: Likewise.
35503         * conform/data/stropts.h-data: Likewise.
35504         * conform/data/sys/ipc.h-data: Likewise.
35505         * conform/data/sys/mman.h-data: Likewise.
35506         * conform/data/sys/msg.h-data: Likewise.
35507         * conform/data/sys/resource.h-data: Likewise.
35508         * conform/data/sys/select.h-data: Likewise.
35509         * conform/data/sys/sem.h-data: Likewise.
35510         * conform/data/sys/shm.h-data: Likewise.
35511         * conform/data/sys/socket.h-data: Likewise.
35512         * conform/data/sys/stat.h-data: Likewise.
35513         * conform/data/sys/statvfs.h-data: Likewise.
35514         * conform/data/sys/time.h-data: Likewise.
35515         * conform/data/sys/timeb.h-data: Likewise.
35516         * conform/data/sys/times.h-data: Likewise.
35517         * conform/data/sys/types.h-data: Likewise.
35518         * conform/data/sys/uio.h-data: Likewise.
35519         * conform/data/sys/un.h-data: Likewise.
35520         * conform/data/sys/utsname.h-data: Likewise.
35521         * conform/data/sys/wait.h-data: Likewise.
35522         * conform/data/syslog.h-data: Likewise.
35523         * conform/data/tar.h-data: Likewise.
35524         * conform/data/termios.h-data: Likewise.
35525         * conform/data/utime.h-data: Likewise.
35526         * conform/data/utmpx.h-data: Likewise.
35527         * conform/data/varargs.h-data: Likewise.
35528         * conform/data/wchar.h-data: Likewise.
35529         * conform/data/wctype.h-data: Likewise.
35530         * conform/data/wordexp.h-data: Likewise.
35531
35532         * include/stropts.h: New file.
35533         * include/uchar.h: New file.
35534         * include/aio.h: Changes to allow conformtest.pl to use the headers.
35535         * include/assert.h: Likewise.
35536         * include/ctype.h: Likewise.
35537         * include/dirent.h: Likewise.
35538         * include/dlfcn.h: Likewise.
35539         * include/fcntl.h: Likewise.
35540         * include/fnmatch.h: Likewise.
35541         * include/glob.h: Likewise.
35542         * include/grp.h: Likewise.
35543         * include/libio.h: Likewise.
35544         * include/locale.h: Likewise.
35545         * include/math.h: Likewise.
35546         * include/net/if.h: Likewise.
35547         * include/netdb.h: Likewise.
35548         * include/netinet/in.h: Likewise.
35549         * include/pthread.h: Likewise.
35550         * include/pwd.h: Likewise.
35551         * include/regex.h: Likewise.
35552         * include/sched.h: Likewise.
35553         * include/search.h: Likewise.
35554         * include/setjmp.h: Likewise.
35555         * include/signal.h: Likewise.
35556         * include/stdio.h: Likewise.
35557         * include/stdlib.h: Likewise.
35558         * include/string.h: Likewise.
35559         * include/sys/cdefs.h: Likewise.
35560         * include/sys/mman.h: Likewise.
35561         * include/sys/msg.h: Likewise.
35562         * include/sys/resource.h: Likewise.
35563         * include/sys/select.h: Likewise.
35564         * include/sys/socket.h: Likewise.
35565         * include/sys/stat.h: Likewise.
35566         * include/sys/statvfs.h: Likewise.
35567         * include/sys/time.h: Likewise.
35568         * include/sys/times.h: Likewise.
35569         * include/sys/uio.h: Likewise.
35570         * include/sys/utsname.h: Likewise.
35571         * include/sys/wait.h: Likewise.
35572         * include/termios.h: Likewise.
35573         * include/time.h: Likewise.
35574         * include/ulimit.h: Likewise.
35575         * include/unistd.h: Likewise.
35576         * include/utime.h: Likewise.
35577         * include/wchar.h: Likewise.
35578         * include/wctype.h: Likewise.
35579         * include/wordexp.h: Likewise.
35580
35581         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35582
35583         * time/time.h: TIME_UTC must be a macro.
35584         Make timespec_get available for ISO C11 only as well.
35585
35586 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
35587
35588         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35589         Reported by Peng Haitao <penght@cn.fujitsu.com>.
35590
35591 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35592
35593         * configure.in: Use -o not -a in test for unsupported multi-arch.
35594
35595 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35596
35597         * manual/texinfo.tex: Update to version 2012-01-19.16.
35598
35599 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35600
35601         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35602
35603 2012-02-24  Roland McGrath  <roland@hack.frob.com>
35604
35605         [BZ #13738]
35606         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35607         * manual/fdl-1.3.texi: New file.
35608         * manual/fdl-1.1.texi: File removed.
35609
35610         [BZ #13738]
35611         * manual/libc.texinfo (FDL_VERSION): New @set.
35612         Use it for mention of FDL in cover text.
35613         (Documentation License): Use it in @include file name.
35614
35615 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35616             Roland McGrath  <roland@hack.frob.com>
35617
35618         [BZ #5461]
35619         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35620         (not LONG_LONG_MAX and LONG_LONG_MIN.
35621         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35622         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
35623         name.
35624         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35625
35626 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35627
35628         [BZ #2547]
35629         [BZ #11365]
35630         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35631         manipulate bits before adding and subtracting TWO23[sx].
35632         * math/libm-test.inc (nearbyint_test): Add more tests.
35633
35634 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35635
35636         [BZ #2548]
35637         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35638         bits before adding and subtracting TWO23[sx].
35639         * math/libm-test.inc (rint_test): Add more tests.
35640         (rint_test_tonearest): Likewise.
35641         (rint_test_towardzero): Likewise.
35642         (rint_test_downward): Likewise.
35643         (rint_test_upward: Likewise.
35644
35645 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35646
35647         [BZ #10110]
35648         * include/stdc-predef.h: New file.  Extracted from features.h.
35649         * include/features.h: Include stdc-predef.h.
35650         * Makefile (headers): Add stdc-predef.h.
35651         * CONFORMANCE (Compiler limitations): Update.
35652
35653 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35654
35655         * manual/libc.texinfo (VERSION, UPDATED): Revert.
35656
35657 2012-02-21  David S. Miller  <davem@davemloft.net>
35658
35659         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35660         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35661
35662 2012-02-20  David S. Miller  <davem@davemloft.net>
35663
35664         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35665         using a normal save/restore sequence, rather than allocating a
35666         dummy stack frame just to store a frame pointer and restore.
35667         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35668
35669 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35670
35671         * manual/install.texi: Fix stray word in line-wrapped comment.
35672
35673 2012-02-20  David S. Miller  <davem@davemloft.net>
35674
35675         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35676         both binutils and gcc support GOTDATA.
35677
35678         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35679         "rd %pc" in the PIC register setup sequences.
35680
35681         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35682         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35683         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35684         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35685         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35686         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35687         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35688         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35689         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35690         (SYSCALL_ERROR_HANDLER): Likewise.
35691         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35692         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35693         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35694         (SYSCALL_ERROR_HANDLER): Likewise.
35695
35696         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35697         (HAVE_GCC_GOTDATA): New.
35698         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35699         relocation support in both binutils and gcc.
35700         * sysdeps/sparc/elf/configure: Regenerate.
35701
35702         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35703         * sysdeps/sparc/sparc32/elf/configure: Delete.
35704         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35705         * sysdeps/sparc/sparc64/elf/configure: Delete.
35706         * sysdeps/sparc/elf/configure.in: New file.
35707         * sysdeps/sparc/elf/configure: Generate.
35708
35709         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35710         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35711         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35712         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35713         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35714
35715 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35716
35717         * manual/install.texi: Do not mention specific glibc version
35718         numbers.
35719         * manual/libc.texinfo (VERSION, UPDATED): Update.
35720         (@copying): Use @copyright{} and range of years.
35721
35722 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35723
35724         [BZ #13695]
35725         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35726         [crti.S not in sysdirs] (generated): Do not append.
35727         [crti.S not in sysdirs] (omit-deps): Likewise.
35728         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35729         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35730         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35731         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35732         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35733         Likewise.
35734         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35735         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35736         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35737         * csu/defs.awk: Remove file.
35738         * sysdeps/generic/initfini.c: Likewise.
35739         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35740         variable.
35741         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35742         Likewise.
35743
35744 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35745
35746         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35747         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35748         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35749         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35750         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35751         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35752         <bits/epoll.h>.
35753         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35754         (__EPOLL_PACKED): Define to empty if not defined by
35755         <bits/epoll.h>.
35756         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35757         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35758         bits/epoll.h.
35759
35760 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35761
35762         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35763         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35764         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35765         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35766         <bits/timerfd.h>.
35767         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35768         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35769         bits/timerfd.h.
35770
35771 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35772
35773         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35774         in C locale.
35775         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35776         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35777         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35779
35780 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
35781
35782         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35783         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35784
35785 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
35786
35787         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35788         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35789         defined.
35790         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35791         Likewise.
35792         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35793         entry for 2.16.
35794
35795 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
35796
35797         * math/w_acos.c: Use non-signaling floating-point comparisons.
35798         * math/w_acosf.c: Likewise.
35799         * math/w_acosh.c: Likewise.
35800         * math/w_acoshf.c: Likewise.
35801         * math/w_acoshl.c: Likewise.
35802         * math/w_acosl.c: Likewise.
35803         * math/w_asin.c: Likewise.
35804         * math/w_asinf.c: Likewise.
35805         * math/w_asinl.c: Likewise.
35806         * math/w_atanh.c: Likewise.
35807         * math/w_atanhf.c: Likewise.
35808         * math/w_atanhl.c: Likewise.
35809         * math/w_exp2.c: Likewise.
35810         * math/w_exp2f.c: Likewise.
35811         * math/w_exp2l.c: Likewise.
35812         * math/w_j0.c: Likewise.
35813         * math/w_j0f.c: Likewise.
35814         * math/w_j0l.c: Likewise.
35815         * math/w_j1.c: Likewise.
35816         * math/w_j1f.c: Likewise.
35817         * math/w_j1l.c: Likewise.
35818         * math/w_jn.c: Likewise.
35819         * math/w_jnf.c: Likewise.
35820         * math/w_log.c: Likewise.
35821         * math/w_log10.c: Likewise.
35822         * math/w_log10f.c: Likewise.
35823         * math/w_log10l.c: Likewise.
35824         * math/w_log2.c: Likewise.
35825         * math/w_log2f.c: Likewise.
35826         * math/w_log2l.c: Likewise.
35827         * math/w_logf.c: Likewise.
35828         * math/w_logl.c: Likewise.
35829         * math/w_sqrt.c: Likewise.
35830         * math/w_sqrtf.c: Likewise.
35831         * math/w_sqrtl.c: Likewise.
35832         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35833         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35834         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35835         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35836         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35837
35838 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35839
35840         [BZ #9739]
35841         * manual/string.texi (strnlen): Use correct parameter name in
35842         equivalent expression.
35843
35844 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35845
35846         [BZ #11174]
35847         * manual/users.texi (seteuid): Consistently use neweuid for
35848         argument name.
35849
35850 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35851
35852         [BZ #13704]
35853         * manual/nss.texi (Services in the NSS configuration): Correct
35854         list of services in example configuration file.
35855
35856 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
35857
35858         [BZ #11322]
35859         * manual/arith.texi: Remove statements about negative zero
35860         behaving identically to zero.
35861
35862 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35863
35864         [BZ #5993]
35865         * manual/install.texi: Do not document upgrading from libc5.
35866
35867 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35868
35869         [BZ #4596]
35870         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35871
35872 2012-02-18  David S. Miller  <davem@davemloft.net>
35873
35874         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35875         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35876         %o7 across the call.
35877         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35878         instead.
35879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35880         SETUP_PIC_REG_LEAF.
35881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35882         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35883         * sysdeps/sparc/crtn.S: Likewise.
35884
35885 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
35886
35887         * aout/Makefile: Remove.
35888
35889 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
35890
35891         [BZ #13058]
35892         * manual/examples/argp-ex1.c (main): Format definition in GNU
35893         style.
35894         * manual/examples/argp-ex2.c (main): Likewise.
35895         * manual/examples/argp-ex3.c (main): Likewise.
35896         * manual/examples/argp-ex4.c (main): Likewise.
35897         * manual/examples/longopt.c (main): Use new-style prototype
35898         definition.
35899         * manual/examples/strncat.c (main): Specify return type and use
35900         (void) for arguments.
35901         * manual/examples/subopt.c (main): Use char **argv argument.
35902
35903 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35904
35905         [BZ #5077]
35906         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35907         rounding modes.
35908
35909 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
35910
35911         [BZ #6907]
35912         * manual/string.texi (strchr): Change when strchrnul is
35913         recommended.
35914
35915 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
35916
35917         [BZ #174]
35918         * manual/locale.texi (setlocale): Document LOCPATH.
35919
35920 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35921
35922         [BZ #10210]
35923         * manual/process.texi (execle): Move @dots{} before last argument.
35924
35925 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
35926
35927         [BZ #12047]
35928         * manual/charset.texi (Generic Charset Conversion): Fix typo
35929         (LC_TYPE -> LC_CTYPE).
35930
35931 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
35932
35933         [BZ #5805]
35934         * manual/arith.texi (scalbn): Use @var{} on parameter names.
35935         (scalbnf): Likewise.
35936         (scalbnl): Likewise.
35937         (scalbln): Likewise.
35938         (scalblnf): Likewise.
35939         (scalblnl): Likewise.
35940         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35941         (vwarnx): Likewise.
35942         (verr): Likewise.
35943         (verrx): Likewise.
35944         * manual/filesys.texi (telldir): Use braces around return type.
35945         * manual/llio.texi (mmap): Add space after comma.
35946         (mmap64): Likewise.
35947         * manual/math.texi (jn): Use @var{} on parameter names.
35948         (jnf): Likewise.
35949         (jnl): Likewise.
35950         (yn): Likewise.
35951         (ynf): Likewise.
35952         (ynl): Likewise.
35953         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35954         line.
35955         * manual/resource.texi (ulimit): Use @dots{} instead of literal
35956         "...".
35957         (sched_get_priority_min): Remove semicolon on @deftypefun line.
35958         (sched_get_priority_max): Likewise.
35959         * manual/signal.texi (sigvec): Add space after comma.
35960         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35961         names.
35962         (if_indextoname): Likewise.
35963         (if_freenameindex): Likewise.
35964         (sendto): Use ',' instead of '.' in prototype.
35965         * manual/startup.texi (syscall): Use @dots{} instead of literal
35966         "...".
35967         * manual/stdio.texi (__fpending): Separate initial words of
35968         paragraph from @deftypefun line.
35969         * manual/syslog.texi (syslog): Use @dots{} instead of literal
35970         "...".
35971         (vsyslog): Use @var{} on parameter names.
35972         * manual/terminal.texi (stty): Use @var{} on parameter names.
35973         * manual/users.texi (getutmp): Use @var{} on parameter names.
35974         (getutmpx): Likewise.
35975
35976 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35977
35978         [BZ #6884]
35979         * manual/stdio.texi (fopen): Fix typos in description of
35980         ",ccs=STRING".
35981
35982 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
35983
35984         [BZ #4026]
35985         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35986         get clock_id definition.
35987
35988 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
35989
35990         [BZ #4822]
35991         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35992         (madvise): Cast every argument to void on its own.
35993
35994 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35995
35996         [BZ #9902]
35997         * manual/startup.texi (Exit Status): Fix typo.
35998
35999 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36000
36001         [BZ #10140]
36002         * manual/examples/argp-ex1.c: Include <stdlib.h>.
36003         * manual/examples/argp-ex2.c: Likewise.
36004         * manual/examples/argp-ex3.c: Likewise.
36005
36006 2012-02-16  Richard Henderson  <rth@redhat.com>
36007
36008         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36009         * sysdeps/s390/s390-32/initfini.c: Remove.
36010         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36011         * sysdeps/s390/s390-64/initfini.c: Remove.
36012
36013 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36014
36015         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36016         compiler output for sysdeps/generic/initfini.c.
36017         * sysdeps/sh/elf/initfini.c: Remove file.
36018
36019 2012-02-16  David S. Miller  <davem@davemloft.net>
36020
36021         [BZ #11494]
36022         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36023
36024         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36025         * sysdeps/sparc/crti.S: New file.
36026         * sysdeps/sparc/crtn.S: New file.
36027         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36028         * sysdeps/sparc/sparc64/Makefile: Likewise.
36029
36030 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
36031
36032         [BZ #3335]
36033         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36034
36035 2012-02-15  Roland McGrath  <roland@hack.frob.com>
36036
36037         [BZ #4822]
36038         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36039
36040         * mach/devstream.c (cookie_io_functions_t): Macro removed.
36041         (write, read, close): Likewise.
36042         Patch by Aurelien Jarno <aurelien@aurel32.net>.
36043
36044 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
36045
36046         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36047         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36048         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36049         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36050         <bits/signalfd.h>.
36051         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36053         bits/signalfd.h.
36054
36055 2012-02-14  Marek Polacek  <polacek@redhat.com>
36056
36057         * sysdeps/x86_64/crti.S: New file.
36058         * sysdeps/x86_64/crtn.S: New file.
36059         * sysdeps/x86_64/elf/initfini.c: Remove file.
36060
36061 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36062
36063         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36064         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36065         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36066         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36067         <bits/inotify.h>.
36068         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36069         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36070         bits/inotify.h.
36071
36072 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36073
36074         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36075         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36076         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36077         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36078         <bits/eventfd.h>.
36079         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36081         bits/eventfd.h.
36082
36083 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
36084
36085         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36086         __feraiseexcept instead of feraiseexcept.
36087
36088         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36089         nanosleep invocations.
36090         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36091         strings, and add error checking for a nanosleep invocations.
36092
36093 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
36094
36095         Replace FSF snail mail address with URLs, as per GNU coding standards.
36096         Most of the snail mail addresses were wrong anyway, and omitting
36097         them makes the source code easier to maintain.  Almost all of the
36098         changes are to license notices and to locale LC_IDENTIFICATION
36099         addresses, except for this one:
36100         * manual/libc.texinfo: In "Published by", give the FSF's URL,
36101         not its snail mail address.
36102
36103 2012-02-09  Richard Henderson  <rth@twiddle.net>
36104
36105         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36106         of kernel-features.h.
36107
36108         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36109
36110 2012-02-08  Marek Polacek  <polacek@redhat.com>
36111
36112         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36113         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36114         * sysdeps/gnu/_G_config.h: Likewise.
36115         * sysdeps/generic/_G_config.h: Likewise.
36116
36117 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
36118
36119         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36120         tests.
36121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36122
36123         * sysdeps/powerpc/powerpc32/crti.S: New file.
36124         * sysdeps/powerpc/powerpc32/crtn.S: New file.
36125         * sysdeps/powerpc/powerpc64/crti.S: New file.
36126         * sysdeps/powerpc/powerpc64/crtn.S: New file.
36127
36128         * Makeconfig (have-initfini): Don't set.
36129         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36130         * configure.in (nopic_initfini): Don't substitute.
36131         * config.h.in (HAVE_INITFINI): Don't #undef.
36132         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36133         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36134
36135 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
36136
36137         Support crti.S and crtn.S provided directly by architectures.
36138         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36139         [crti.S in sysdirs] (omit-deps): Likewise.
36140         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36141         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36142         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36143         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36144         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36145         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36146         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36147         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36148         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36149         compiler output for sysdeps/generic/initfini.c.
36150         * sysdeps/i386/elf/Makefile: Remove file.
36151         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36152
36153 2012-02-07  Marek Polacek  <polacek@redhat.com>
36154
36155         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36156         * sysdeps/gnu/_G_config.h: Likewise.
36157         * sysdeps/mach/hurd/_G_config.h: Likewise.
36158
36159 2012-02-07  Marek Polacek  <polacek@redhat.com>
36160
36161         * math/Makefile (tests): Add tst-CMPLX2.
36162         * math/tst-CMPLX2.c: New file.
36163
36164 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
36165
36166         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36167
36168         * math/libm-test.inc (jn_test): Add missing L suffix.
36169
36170 2012-02-06  Marek Polacek  <polacek@redhat.com>
36171
36172         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36173         * sysdeps/i386/fpu/e_powf.S: Likewise.
36174         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36175         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36176         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36177         * sysdeps/i386/fpu/e_pow.S: Likewise.
36178         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36179         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36180         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36181         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36182         * sysdeps/i386/fpu/e_log2.S: Likewise.
36183         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36184         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36185         * sysdeps/i386/fpu/e_powl.S: Likewise.
36186         * sysdeps/i386/fpu/s_log1p.S: Likewise.
36187         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36188         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36189         * sysdeps/i386/fpu/e_logl.S: Likewise.
36190         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36191         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36192         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36193         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36194         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36195         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36196         * sysdeps/i386/fpu/e_log.S: Likewise.
36197         * sysdeps/i386/fpu/s_cexp.S: Likewise.
36198         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36199         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36200         * sysdeps/i386/fpu/e_logf.S: Likewise.
36201         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36202         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36203         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36204         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36205         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36206         * sysdeps/i386/fpu/e_log10.S: Likewise.
36207         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36208         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36209         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36210         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36211         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36212         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36213         * sysdeps/i386/asm-syntax.h: Likewise.
36214         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36215         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36216         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36217         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36218         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36219         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36220         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36221         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36222         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36223         * sysdeps/powerpc/sysdep.h: Likewise.
36224         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36225         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36226
36227 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36228
36229         [BZ #411]
36230         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36231
36232 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36233
36234         * sysdeps/i386/sysdep.h: Include <features.h>.
36235         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36236         version.
36237
36238 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
36239
36240         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36241         Define.
36242         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36243         LOAD_PIC_REG_STR.
36244
36245 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36246
36247         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36248         (SETUP_PIC_REG): Use GET_PC_THUNK.
36249         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36250         macro.
36251
36252 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36253
36254         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36255         for non-PIC compilation.
36256         (SETUP_PIC_REG): Add .p2align directive.
36257         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36258         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36259         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36260         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36261         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36262         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36263         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36264         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36265         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36266         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36267         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36268         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36269         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36270         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36271         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36272         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36273         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36274         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36275         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36276         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36277         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36278         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36279         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36280         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36281         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36282         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36283         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36284         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36285         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36286         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36287         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36288         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36289         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36290         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36291         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36292         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36293         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36294         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36295         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36296         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36297         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36298
36299 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36300
36301         * math/tst-CMPLX.c: Include <stdio.h>.
36302
36303 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
36304
36305         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36306         float.
36307         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36308         * sysdeps/sparc/bits/mathdef.h: Likewise.
36309
36310 2012-01-31  Marek Polacek  <polacek@redhat.com>
36311
36312         * libio/libio.h: Don't define _PARAMS.
36313         * locale/programs/config.h: Don't define PARAMS.
36314         * stdlib/strtol_l.c: Likewise.
36315         (__strtol_l): Remove PARAMS from the prototype.
36316
36317 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
36318
36319         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
36320         names.  Just use the correct names.  Remove unnecessary wrapper
36321         functions.
36322         * malloc/arena.c: Likewise.
36323         * malloc/hooks.c: Likewise.
36324
36325         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36326         ARENA_TEST says not to.  Simplify test for creation of a new arena.
36327         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36328
36329 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
36330
36331         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36332         into tail calls.
36333         (update_get_addr): New function.
36334         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36335         GET_ADDR_MODULE parameter.
36336
36337 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
36338
36339         * crypt/cert.c: Remove __STDC__ conditionals.
36340         * crypt/crypt-entry.c: Likewise.
36341         * crypt/crypt_util.c: Likewise.
36342         * libio/filedoalloc.c: Likewise.
36343         * libio/fileops.c: Likewise.
36344         * libio/genops.c: Likewise.
36345         * libio/iofclose.c: Likewise.
36346         * libio/iofdopen.c: Likewise.
36347         * libio/iofopen.c: Likewise.
36348         * libio/iofopen64.c: Likewise.
36349         * libio/iogetdelim.c: Likewise.
36350         * libio/iopopen.c: Likewise.
36351         * libio/obprintf.c: Likewise.
36352         * libio/oldfileops.c: Likewise.
36353         * libio/oldiofclose.c: Likewise.
36354         * libio/oldiofdopen.c: Likewise.
36355         * libio/oldiofopen.c: Likewise.
36356         * libio/oldiopopen.c: Likewise.
36357         * libio/wfiledoalloc.c: Likewise.
36358         * libio/wgenops.c: Likewise.
36359         * locale/programs/xmalloc.c: Likewise.
36360         * misc/syslog.c: Likewise.
36361         * stdio-common/xbug.c: Likewise.
36362         * string/memchr.c: Likewise.
36363         * string/memcmp.c: Likewise.
36364         * string/memrchr.c: Likewise.
36365         * string/rawmemchr.c: Likewise.
36366         * sysdeps/posix/getcwd.c: Likewise.
36367         * time/strftime_l.c: Likewise.
36368
36369 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
36370
36371         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36372         * config.make.in (config-cflags-sse2avx): Define.
36373         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36374         Fix typo.
36375
36376 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
36377
36378         * scripts/config.guess: Update from upstream config git repository.
36379         * scripts/config.sub: Likewise.
36380
36381 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
36382
36383         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36384         (EM_NUM): Update.
36385         (R_TILEPRO_*, R_TILEGX_*): New macros.
36386
36387         * scripts/firstversions.awk: Fix bug in version range handling.
36388
36389         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36390
36391         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36392
36393         * include/sys/epoll.h: New file.
36394         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36395         libc_hidden_def.
36396
36397 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
36398
36399         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36400         Avoid unnecessary __WORDSIZE == 64 test.
36401         (fmaxf): Use VEX format if possible.
36402         (fmax): Likewise.
36403         (fminf): Likewise.
36404         (fmin): Likewise.
36405
36406         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36407         * math/math_private.h: Remove libc_fegetround* and
36408         libc_fesetround*.
36409         * sysdeps/i386/configure.in: Check for -msse2avx.
36410         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36411         also if SSE2AVX is defined.
36412         Remove libc_fegetround* and libc_fesetround*.
36413         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36414         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
36415         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36416         of HAS_YMM_USABLE.
36417         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36418         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36419         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36420         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36421         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36422
36423         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36424
36425 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36426
36427         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36428         size is not set.
36429         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36430
36431 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
36432
36433         [BZ #13618]
36434         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36435         relocation.
36436         * Makeconfig (libm): Define.
36437         * elf/Makefile: Add rules to build and run tst-relsort1.
36438         * elf/tst-relsort1.c: New file.
36439         * elf/tst-relsort1mod1.c: New file.
36440         * elf/tst-relsort1mod2.c: New file.
36441
36442 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
36443
36444         * math/s_ldexp.c: Remove __STDC__ conditionals.
36445         * math/s_ldexpf.c: Likewise.
36446         * math/s_ldexpl.c: Likewise.
36447         * math/s_nextafter.c: Likewise.
36448         * math/s_nexttowardf.c: Likewise.
36449         * math/s_significand.c: Likewise.
36450         * math/s_significandf.c: Likewise.
36451         * math/s_significandl.c: Likewise.
36452         * math/w_jnl.c: Likewise.
36453         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36454         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36455         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36456         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36457         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36458         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36459         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36460         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36461         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36462         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36463         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36464         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36465         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36466         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36467         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36468         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36469         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36470         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36471         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36472         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36473         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36474         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36475         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36476         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36477         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36478         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36479         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36480         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36481         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36482         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36483         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36484         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36485         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36486         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36487         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36488         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36489         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36490         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36491         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36492         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36493         * sysdeps/ieee754/k_standard.c: Likewise.
36494         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36495         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36496         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36497         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36498         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36499         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36500         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36501         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36502         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36503         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36504         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36505         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36506         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36507         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36508         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36509         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36510         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36511         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36512         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36513         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36514         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36515         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36516         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36517         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36518         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36519         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36520         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36521         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36522         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36523         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36524         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36525         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36526         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36527         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36529         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36530         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36531         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36532         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36533         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36534         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36535         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36536         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36537         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36538         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36539         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36540         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36541         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36542         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36543         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36544         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36545         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36546         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36547         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36548         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36549         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36550         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36551         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36552         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36553         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36554         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36555         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36556         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36557         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36558         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36559         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36560         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36561         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36562         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36563         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36564         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36565         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36566         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36567         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36568         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36569         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36570         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36571         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36572         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36573         * sysdeps/ieee754/s_matherr.c: Likewise.
36574         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36575         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36576         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36577         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36578
36579 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
36580
36581         * crypt/md5.h: Remove __STDC__ conditionals.
36582         * libio/libioP.h: Likewise.
36583         * locale/programs/config.h: Likewise.
36584         * sysdeps/generic/sysdep.h: Likewise.
36585         * sysdeps/i386/asm-syntax.h: Likewise.
36586         * sysdeps/s390/asm-syntax.h: Likewise.
36587         * sysdeps/unix/sysdep.h: Likewise.
36588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36590
36591 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
36592
36593         * libio/libio.h: Remove __STDC__ conditionals.
36594         * malloc/obstack.h: Likewise.
36595         * math/complex.h: Likewise.
36596         * math/math.h: Likewise.
36597         * sysdeps/generic/_G_config.h: Likewise.
36598         * sysdeps/gnu/_G_config.h: Likewise.
36599         * sysdeps/mach/hurd/_G_config.h: Likewise.
36600         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36601         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36602         * sysdeps/sparc/bits/mathdef.h: Likewise.
36603
36604 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
36605
36606         [BZ #13583]
36607         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36608         Clean up HAS_* macros.
36609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36610         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36611         possible.
36612         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36613         HAS_AVX.
36614         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36615         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36616         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36617         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36618         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36619
36620 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
36621
36622         * elf/tst-unique3.cc (gets): Remove declaration.
36623         * elf/tst-unique3lib.cc (gets): Likewise.
36624         * elf/tst-unique3lib2.cc (gets): Likewise.
36625         * elf/tst-unique4.cc (gets): Likewise.
36626
36627 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
36628
36629         * include/stdio.h: Add C++ protection.  Add gets declarations and
36630         definitions.
36631         * debug/tst-chk1.c: Don't declare gets here.
36632         * stdio-common/tst-gets.c: Likewise.
36633
36634 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36635
36636         * posix/glob: Remove directory.
36637
36638 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36639
36640         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36641
36642 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
36643
36644         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36645         of the non-standard EPFNOSUPPORT.
36646
36647 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36648
36649         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36650         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36651         ANYWHERE set to 1 only on KERN_NO_SPACE error.
36652
36653 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
36654
36655         * wcsmbs/uchar.h: Test __STDC_VERSION__.
36656
36657 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
36658
36659         * nscd/aicache.c (addhstaiX): Do not cache negative results of
36660         transient errors.
36661         * nscd/grpcache.c (cache_addgr): Likewise.
36662         * nscd/hstcache.c (cache_addhst): Likewise.
36663         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36664         * nscd/pwdcache.c (cache_addpw): Likewise.
36665         * nscd/servicescache.c (cache_addserv): Likewise.
36666
36667 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
36668
36669         * malloc/malloc.c: Various cleanups.
36670         * malloc/hooks.c: Likewise.
36671
36672         * stdlib/Makefile (tests): Add bug-fmtmsg1.
36673         * stdlib/bug-fmtmsg1.c: New file.
36674
36675         * stdlib/fmtmsg.c (init): Add missing unlock.
36676         Patch by Peng Haitao <penght@cn.fujitsu.com>.
36677
36678 2012-01-12  Marek Polacek  <polacek@redhat.com>
36679
36680         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36681         and _GNU_SOURCE.
36682
36683 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
36684
36685         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36686         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36687         macro to ensure uniqueness of label name.
36688         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36689         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36690
36691 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
36692
36693         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36694
36695         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36696         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36697         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36698         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36699
36700 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
36701
36702         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36703
36704         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36705         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36706         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36707
36708         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36709
36710         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36711         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36712         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36713         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36714
36715         * math/bits/math-finite.h: Add ldexp support.
36716
36717 2012-01-10  Marek Polacek  <polacek@redhat.com>
36718
36719         * locale/programs/localedef.h (show_archive_content): Add noreturn
36720         attribute.
36721
36722 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
36723
36724         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36725
36726 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36727
36728         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36729
36730         * io/Makefile (headers): Add bits/poll2.h.
36731
36732 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
36733
36734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36735         typo #include statement.
36736
36737 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36738
36739         * include/sys/cdefs.h: Define __attribute_alloc_size.
36740         * catgets/gencat.c: Add alloc_size attribute and apply consistently
36741         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36742         * elf/pldd.c: Likewise.
36743         * iconv/iconv_charmap.c: Likewise.
36744         * iconv/iconvconfig.c: Likewise.
36745         * iconv/strtab.c: Likewise.
36746         * locale/programs/locale.c: Likewise.
36747         * locale/programs/localedef.h: Likewise.
36748         * locale/programs/simple-hash.c: Likewise.
36749         * nscd/nscd.h: Likewise.
36750         * nss/makedb.c: Likewise.
36751         * sysdeps/generic/ldconfig.h: Likewise.
36752         * locale/programs/localedef.c: Remove xmalloc prototype.
36753         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36754
36755 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36756
36757         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36758         appropriate.
36759
36760 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36761
36762         * math/Makefile (tests): Add tst-CMPLX.
36763         * math/tst-CMPLX.c: New file.
36764
36765         * math/complex.h (CMPLXL): Fix typo.
36766
36767         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36768         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36769         GLIBC_2.16.
36770         * debug/tst-chk1.c: Add poll and ppoll tests.
36771         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36772         * include/sys/poll.h: Add hidden proto for ppoll.
36773         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36774         * sysdeps/mach/hurd/ppoll.c: Likewise.
36775         * io/ppoll.c: Likewise.
36776         * debug/poll_chk.c: New file.
36777         * debug/ppoll_chk.c: New file.
36778         * include/bits/poll2.h: New file.
36779         * io/bits/poll2.h: New file.
36780
36781         [BZ #1350]
36782         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36783
36784         * configure.in: static is always set to yes.  Remove.
36785         * config.make.in: Don't set build-static.
36786         * Makeconfig: Remove use of build-static.
36787         * dlfcn/Makefile: Likewise.
36788         * elf/Makefile: Likewise.
36789         * math/Makefile: Likewise.
36790         * misc/Makefile: Likewise.
36791         * nptl/Makefile: Likewise.
36792         * sysdeps/mach/hurd/Makefile: Likewise.
36793
36794         * configure.in: PWD_P is not used anymore.
36795         * config.make.in: Remove PWD_P entry.
36796
36797         * configure.in: Remove last remnants of RANLIB.
36798         No need to check for signed size_t anymore.
36799         Don't set libc_commonpagesize and libc_relro_required here for Alpha
36800         and IA-64.
36801         Remove __builtin_expect test because we require at least gcc 3.4.
36802         * aclocal.m4: Likewise.
36803
36804         * wcsmbs/mbrtoc16.c: Implement using towc function.
36805         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36806         * wcsmbs/wcsmbsload.c: Likewise.
36807         * iconv/gconv_simple.c: Likewise.
36808         * iconv/gconv_int.h: Likewise.
36809         * iconv/gconv_builtin.h: Likewise.
36810         * iconv/iconv_prog.c: Remove CHAR16 handling.
36811
36812         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36813
36814         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36815
36816         * configure.in: Remove --with-elf and --enable-bounded options.
36817         Dont set base_machine for ia64.  More non-ELF conditions removed.
36818         Remove testing and setting of leading underscore information.
36819         * config.make.in (build-bounded): Set to no.
36820         * config.h.in: Remove NO_UNDERSCORES entry.
36821         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
36822         them.
36823         * csu/start.c: Remove !NO_UNDERSCORE code.
36824         * locale/localeinfo.h: Likewise.
36825         * sysdeps/generic/machine-gmon.h: Likewise.
36826         * sysdeps/generic/sysdep.h: Likewise.
36827         * sysdeps/i386/sysdep.h: Likewise.
36828         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36829         * sysdeps/mach/sysdep.h: Likewise.
36830         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36831         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36832         * sysdeps/sh/sysdep.h: Likewise.
36833         * sysdeps/sparc/sparc32/alloca.S: Likewise.
36834         * sysdeps/unix/i386/sysdep.S: Likewise.
36835         * sysdeps/unix/sparc/start.c: Likewise.
36836         * sysdeps/unix/sparc/sysdep.S: Likewise.
36837         * sysdeps/unix/sparc/sysdep.h: Likewise.
36838         * sysdeps/unix/start.c: Likewise.
36839         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36840         * sysdeps/x86_64/sysdep.h: Likewise.
36841
36842 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
36843
36844         [BZ #13553]
36845         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36846         for non-gcc.
36847         * argp/argp-fmtstream.h: Use const instead __const.
36848         * argp/argp.h: Likewise.
36849         * assert/assert.h: Likewise.
36850         * bits/fenv.h: Likewise.
36851         * bits/sched.h: Likewise.
36852         * bits/sigset.h: Likewise.
36853         * bits/sigthread.h: Likewise.
36854         * catgets/nl_types.h: Likewise.
36855         * conform/data/pthread.h-data: Likewise.
36856         * crypt/crypt-private.h: Likewise.
36857         * crypt/crypt.h: Likewise.
36858         * crypt/crypt_util.c: Likewise.
36859         * ctype/ctype.h: Likewise.
36860         * debug/execinfo.h: Likewise.
36861         * debug/mbsnrtowcs_chk.c: Likewise.
36862         * debug/mbsrtowcs_chk.c: Likewise.
36863         * debug/wcsnrtombs_chk.c: Likewise.
36864         * debug/wcsrtombs_chk.c: Likewise.
36865         * debug/wcstombs_chk.c: Likewise.
36866         * dirent/dirent.h: Likewise.
36867         * dlfcn/dlfcn.h: Likewise.
36868         * elf/neededtest4.c: Likewise.
36869         * grp/grp.h: Likewise.
36870         * gshadow/gshadow.h: Likewise.
36871         * iconv/gconv.h: Likewise.
36872         * iconv/gconv_int.h: Likewise.
36873         * iconv/gconv_simple.c: Likewise.
36874         * iconv/iconv.h: Likewise.
36875         * iconv/loop.c: Likewise.
36876         * iconv/skeleton.c: Likewise.
36877         * include/aio.h: Likewise.
36878         * include/aliases.h: Likewise.
36879         * include/argz.h: Likewise.
36880         * include/arpa/inet.h: Likewise.
36881         * include/assert.h: Likewise.
36882         * include/dirent.h: Likewise.
36883         * include/dlfcn.h: Likewise.
36884         * include/execinfo.h: Likewise.
36885         * include/fcntl.h: Likewise.
36886         * include/fenv.h: Likewise.
36887         * include/glob.h: Likewise.
36888         * include/grp.h: Likewise.
36889         * include/libintl.h: Likewise.
36890         * include/mntent.h: Likewise.
36891         * include/netdb.h: Likewise.
36892         * include/pwd.h: Likewise.
36893         * include/rpc/netdb.h: Likewise.
36894         * include/sched.h: Likewise.
36895         * include/search.h: Likewise.
36896         * include/shadow.h: Likewise.
36897         * include/signal.h: Likewise.
36898         * include/stdio.h: Likewise.
36899         * include/stdlib.h: Likewise.
36900         * include/string.h: Likewise.
36901         * include/sys/socket.h: Likewise.
36902         * include/sys/stat.h: Likewise.
36903         * include/sys/statfs.h: Likewise.
36904         * include/sys/statvfs.h: Likewise.
36905         * include/sys/syslog.h: Likewise.
36906         * include/sys/time.h: Likewise.
36907         * include/sys/uio.h: Likewise.
36908         * include/time.h: Likewise.
36909         * include/unistd.h: Likewise.
36910         * include/utmp.h: Likewise.
36911         * include/wchar.h: Likewise.
36912         * include/wctype.h: Likewise.
36913         * inet/aliases.h: Likewise.
36914         * inet/arpa/inet.h: Likewise.
36915         * inet/netinet/ether.h: Likewise.
36916         * inet/netinet/in.h: Likewise.
36917         * intl/libintl.h: Likewise.
36918         * io/bits/fcntl2.h: Likewise.
36919         * io/fcntl.h: Likewise.
36920         * io/ftw.h: Likewise.
36921         * io/sys/poll.h: Likewise.
36922         * io/sys/stat.h: Likewise.
36923         * io/sys/statfs.h: Likewise.
36924         * io/sys/statvfs.h: Likewise.
36925         * io/utime.h: Likewise.
36926         * libio/bits/stdio.h: Likewise.
36927         * libio/bits/stdio2.h: Likewise.
36928         * libio/libio.h: Likewise.
36929         * libio/libioP.h: Likewise.
36930         * libio/stdio.h: Likewise.
36931         * locale/lc-ctype.c: Likewise.
36932         * locale/locale.h: Likewise.
36933         * login/utmp.h: Likewise.
36934         * malloc/arena.c: Likewise.
36935         * malloc/malloc.c: Likewise.
36936         * malloc/malloc.h: Likewise.
36937         * malloc/mcheck.c: Likewise.
36938         * malloc/mtrace.c: Likewise.
36939         * math/bits/mathcalls.h: Likewise.
36940         * math/fenv.h: Likewise.
36941         * math/math_private.h: Likewise.
36942         * misc/bits/error.h: Likewise.
36943         * misc/bits/syslog.h: Likewise.
36944         * misc/err.h: Likewise.
36945         * misc/error.h: Likewise.
36946         * misc/fstab.h: Likewise.
36947         * misc/mntent.h: Likewise.
36948         * misc/regexp.h: Likewise.
36949         * misc/search.h: Likewise.
36950         * misc/sgtty.h: Likewise.
36951         * misc/sys/mman.h: Likewise.
36952         * misc/sys/syslog.h: Likewise.
36953         * misc/sys/uio.h: Likewise.
36954         * misc/sys/xattr.h: Likewise.
36955         * misc/ttyent.h: Likewise.
36956         * nis/rpcsvc/ypclnt.h: Likewise.
36957         * nss/nss.h: Likewise.
36958         * posix/bits/unistd.h: Likewise.
36959         * posix/fnmatch.h: Likewise.
36960         * posix/glob.h: Likewise.
36961         * posix/sched.h: Likewise.
36962         * posix/spawn.h: Likewise.
36963         * posix/sys/wait.h: Likewise.
36964         * posix/unistd.h: Likewise.
36965         * posix/wordexp.h: Likewise.
36966         * pwd/pwd.h: Likewise.
36967         * resolv/netdb.h: Likewise.
36968         * resource/sys/resource.h: Likewise.
36969         * rt/aio.h: Likewise.
36970         * rt/bits/mqueue2.h: Likewise.
36971         * rt/mqueue.h: Likewise.
36972         * shadow/shadow.h: Likewise.
36973         * signal/signal.h: Likewise.
36974         * socket/send.c: Likewise.
36975         * socket/sendto.c: Likewise.
36976         * socket/sys/socket.h: Likewise.
36977         * stdio-common/printf.h: Likewise.
36978         * stdlib/bits/stdlib.h: Likewise.
36979         * stdlib/fmtmsg.h: Likewise.
36980         * stdlib/monetary.h: Likewise.
36981         * stdlib/stdlib.h: Likewise.
36982         * stdlib/ucontext.h: Likewise.
36983         * streams/stropts.h: Likewise.
36984         * string/argz.h: Likewise.
36985         * string/bits/string2.h: Likewise.
36986         * string/string.h: Likewise.
36987         * string/strings.h: Likewise.
36988         * sunrpc/rpc/auth.h: Likewise.
36989         * sunrpc/rpc/auth_des.h: Likewise.
36990         * sunrpc/rpc/clnt.h: Likewise.
36991         * sunrpc/rpc/netdb.h: Likewise.
36992         * sunrpc/rpc/pmap_clnt.h: Likewise.
36993         * sunrpc/rpc/xdr.h: Likewise.
36994         * sysdeps/generic/inttypes.h: Likewise.
36995         * sysdeps/generic/net/if.h: Likewise.
36996         * sysdeps/generic/sys/swap.h: Likewise.
36997         * sysdeps/gnu/net/if.h: Likewise.
36998         * sysdeps/gnu/utmpx.h: Likewise.
36999         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37000         * sysdeps/i386/i486/bits/string.h: Likewise.
37001         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37002         * sysdeps/s390/bits/string.h: Likewise.
37003         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37004         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37005         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37006         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37007         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37008         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37009         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37010         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37011         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37012         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37013         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37014         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37015         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37016         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37017         * sysdeps/unix/sysv/linux/readv.c: Likewise.
37018         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37019         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37020         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37021         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37022         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37023         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37024         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37025         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37026         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37027         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37028         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37029         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37030         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37031         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37032         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37033         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37034         * sysvipc/sys/ipc.h: Likewise.
37035         * sysvipc/sys/msg.h: Likewise.
37036         * sysvipc/sys/sem.h: Likewise.
37037         * sysvipc/sys/shm.h: Likewise.
37038         * termios/termios.h: Likewise.
37039         * time/sys/time.h: Likewise.
37040         * time/time.h: Likewise.
37041         * wcsmbs/bits/wchar2.h: Likewise.
37042         * wcsmbs/uchar.h: Likewise.
37043         * wcsmbs/wchar.h: Likewise.
37044         * wctype/wctype.h: Likewise.
37045
37046         [BZ #13551]
37047         * Makeconfig: Remove all but ELF support including AIX support.
37048         * Makerules: Likewise.
37049         * config.h.in: Likewise.
37050         * config.make.in: Likewise.
37051         * configure: Likewise.
37052         * configure.in: Likewise.
37053         * csu/Makefile: Likewise.
37054         * csu/version.c: Likewise.
37055         * debug/Makefile: Likewise.
37056         * dlfcn/Makefile: Likewise.
37057         * elf/Makefile: Likewise.
37058         * extra-lib.mk: Likewise.
37059         * iconv/Makefile: Likewise.
37060         * include/libc-symbols.h: Likewise.
37061         * include/shlib-compat.h: Likewise.
37062         * resolv/Makefile: Likewise.
37063         * resolv/res_libc.c: Likewise.
37064         * rt/Makefile: Likewise.
37065         * sysdeps/i386/asm-syntax.h: Likewise.
37066         * sysdeps/i386/sysdep.h: Likewise.
37067         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37068         * sysdeps/mach/sysdep.h: Likewise.
37069         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37070         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37071         * sysdeps/s390/asm-syntax.h: Likewise.
37072         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37073         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37074         * sysdeps/sh/sysdep.h: Likewise.
37075         * sysdeps/unix/sparc/sysdep.h: Likewise.
37076         * sysdeps/wordsize-32/divdi3.c: Likewise.
37077         * sysdeps/x86_64/sysdep.h: Likewise.
37078
37079         * argp/Versions: Remove _argp_unlock_xxx.
37080
37081         [BZ #13559]
37082         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
37083         * abilist/libBrokenLocale.abilist: Likewise.
37084         * abilist/libanl.abilist: Likewise.
37085         * abilist/libc.abilist: Likewise.
37086         * abilist/libcrypt.abilist: Likewise.
37087         * abilist/libdl.abilist: Likewise.
37088         * abilist/libm.abilist: Likewise.
37089         * abilist/libnsl.abilist: Likewise.
37090         * abilist/libpthread.abilist: Likewise.
37091         * abilist/libresolv.abilist: Likewise.
37092         * abilist/librt.abilist: Likewise.
37093         * abilist/libthread_db.abilist: Likewise.
37094         * abilist/libutil.abilist: Likewise.
37095         * abilist/libnss_db.abilist: New file.
37096
37097         * scripts/abilist.awk: Add support for indirect functions.
37098
37099         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37100
37101         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37102
37103         * shlib-versions: Remove entries for ports architectures.
37104
37105         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
37106         files in ports.
37107         * elf/stackguard-macros.h: Remove support for IA-64.
37108         * elf/tst-auditmod1.c: Likewise.
37109         * sysdeps/generic/ldsodefs.h: Likewise.
37110
37111         * sysdeps/unix/sysv/linux/configure.in: Ports should define
37112         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37113         configure files.
37114
37115         [BZ #13552]
37116         * configure.in: Remove --enable-omitfp support.
37117         * FAQ.in: Adjust.
37118         * config.make.in: Likewise.
37119         * Makeconfig: Likewise.
37120         * manual/install.texi: Likewise.
37121
37122         In case anyone cares, the IA-64 architecture could move to ports.
37123         * sysdeps/ia64/*: Removed.
37124         * sysdeps/unix/sysv/linux/ia64/*: Removed.
37125         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37126
37127         [BZ #13555]
37128         * configure.in: Remove entries for unsupported architectures.
37129
37130         [BZ #13533]
37131         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37132         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
37133         routines.
37134         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37135         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37136         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
37137         fall back to using wcrtomb.
37138         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37139         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
37140         renaming.
37141         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37142         * wcsmbs/tst-c16c32-1.c: New file.
37143
37144         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37145         local variable.
37146
37147         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37148
37149         * elf/tst-unique3.cc: Add explicit declaration of gets.
37150         * elf/tst-unique3lib.cc: Likewise.
37151         * elf/tst-unique3lib2.cc: Likewise.
37152         * elf/tst-unique4.cc: Likewise.
37153
37154         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37155
37156 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
37157
37158         [BZ #13566]
37159         * assert/assert.h (static_assert): Don't define for C++.
37160         * libio/stdio.h (gets): Do declare for C++ <= C++11.
37161         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37162
37163 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
37164
37165         * iconv/loop.c (single loop): Fix assertion in storing of
37166         remaining bytes.
37167
37168         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37169
37170 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
37171
37172         * posix/getconf.c: Update copyright year.
37173         * nss/getent.c: Likewise.
37174         * nss/makedb.c: Likewise.
37175         * iconv/iconvconfig.c: Likewise.
37176         * iconv/iconv_prog.c: Likewise.
37177         * elf/ldconfig.c: Likewise.
37178         * elf/pldd.c: Likewise.
37179         * elf/sotruss.ksh: Likewise.
37180         * catgets/gencat.c: Likewise.
37181         * csu/version.c: Likewise.
37182         * elf/ldd.bash.in: Likewise.
37183         * elf/sprof.c (print_version): Likewise.
37184         * locale/programs/locale.c: Likewise.
37185         * locale/programs/localedef.c: Likewise.
37186         * login/programs/pt_chown.c: Likewise.
37187         * nscd/nscd.c (print_version): Likewise.
37188         * debug/xtrace.sh: Likewise.
37189         * malloc/memusage.sh: Likewise.
37190         * malloc/mtrace.pl: Likewise.
37191         * debug/catchsegv.sh: Likewise.
37192
37193 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
37194
37195         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37196         pure attribute.
37197
37198 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
37199
37200         [BZ #13533]
37201         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37202         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37203         transformations.
37204         * iconv/gconv_int.h: Likewise.
37205         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37206         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37207         from libc for GLIBC_2.16.
37208         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37209         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37210         * wcsmbs/uchar.h: Really define mbstate_t.
37211         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37212         * wcsmbs/c16rtomb.c: New file.
37213         * wcsmbs/mbrtoc16.c: New file.
37214         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37215         for C/POSIX locale.
37216         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37217         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37218
37219         * wcsmbs/wchar.h: Add missing __restrict.
37220
37221 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37222
37223         [BZ #13532]
37224         * time/Makefile (routines): Add timespec_get.
37225         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37226         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
37227         timespec for ISO C11.
37228         * time/timespec_get.c: New file.
37229         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37230         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37231
37232         [BZ #13531]
37233         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37234         * stdlib/stdlib.h: Declare aligned_alloc.
37235         * Versions.def: Add GLIBC_2.16 for libc.
37236         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37237
37238         [BZ 13527]
37239         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37240         ISO C11.
37241
37242         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37243         code.
37244
37245         [BZ #13528]
37246         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37247
37248         [BZ #13529]
37249         * assert/assert.h (static_assert): Define.
37250
37251         * version.h: Update for 2.16 development version.
37252
37253         [BZ #13526]
37254         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37255         _ISOC11_SOURCE.
37256
37257         * version.h (RELEASE): Bump for 2.15 release.
37258         * include/features.h (__GLIBC_MINOR__): Bump to 15.
37259
37260         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37261         Patch by Marek Polacek <mpolacek@redhat.com>.
37262
37263         * bits/byteswap.h: Protect long long constants with __extension__.
37264         * sysdeps/i386/bits/byteswap.h: Likewise.
37265         * sysdeps/ia64/bits/byteswap.h: Likewise.
37266         * sysdeps/s390/bits/byteswap.h: Likewise.
37267         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37268
37269 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37270
37271         [BZ #13540]
37272         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37273         destination buffer.
37274         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37275
37276 2011-12-23  Marek Polacek  <polacek@redhat.com>
37277
37278         * elf/dl-addr.c (determine_info): Add inline keyword.
37279         * elf/tst-auditmod4b.c (check_avx): Likewise.
37280         * elf/tst-auditmod6b.c (check_avx): Likewise.
37281         * elf/tst-auditmod6c.c (check_avx): Likewise.
37282         * elf/tst-auditmod7b.c (check_avx): Likewise.
37283
37284 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37285
37286         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37287         !__SSE_MATH__.
37288
37289 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37290
37291         [BZ #13540]
37292         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37293         processing for last bytes.
37294
37295 2011-08-06  Bruno Haible  <bruno@clisp.org>
37296
37297         [BZ #13061]
37298         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37299         U+0385, not to U+1FEE.
37300
37301         [BZ #13062]
37302         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37303         entry for U+00A5 U+0301.
37304
37305 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37306
37307         [BZ #13166]
37308         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37309         buffer for the output is too small.
37310
37311         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37312         optimization.
37313
37314         [BZ #13185]
37315         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37316         SSE flags if possible.
37317
37318 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37319
37320         [BZ #13540]
37321         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37322         processing for last bytes.
37323
37324 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
37325
37326         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37327         (syscall-list-default-options, syscall-list-default-condition)
37328         (syscall-list-includes): Define.
37329         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37330         list of ABIs and options and #if conditions for each ABI.  Do not
37331         handle common syscalls between ABIs specially.
37332         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37333         Remove.
37334         (syscall-list-variants, syscall-list-32bit-options)
37335         (syscall-list-32bit-condition, syscall-list-64bit-options)
37336         (syscall-list-64bit-condition): Define.
37337         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37338         (syscall-list-variants, syscall-list-32bit-options)
37339         (syscall-list-32bit-condition, syscall-list-64bit-options)
37340         (syscall-list-64bit-condition): Define.
37341         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37342         Remove.
37343         (syscall-list-variants, syscall-list-32bit-options)
37344         (syscall-list-32bit-condition, syscall-list-64bit-options)
37345         (syscall-list-64bit-condition): Define.
37346         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37347         Remove.
37348         (syscall-list-variants, syscall-list-32bit-options)
37349         (syscall-list-32bit-condition, syscall-list-64bit-options)
37350         (syscall-list-64bit-condition): Define.
37351
37352 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37353
37354         * locale/iso-639.def: Add brx entry.
37355
37356         [BZ #13328]
37357         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37358         Proposed by Mariusz_Cukr <marcukr@op.pl>.
37359
37360         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37361         __feraiseexcept_renamed.
37362
37363 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
37364
37365         [BZ #13538]
37366         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37367         EPOLLET with unsigned values.
37368         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37369         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37370
37371         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37372         to large cancellation.
37373         * math/s_cacoshf.c: Likewise.
37374         * math/s_cacoshl.c: Likewise.
37375
37376 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
37377
37378         [BZ #13305]
37379         [BZ #12786]
37380         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37381         * math/s_cacoshf.c: Likewise.
37382         * math/s_cacoshl.c: Likewise.
37383
37384 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
37385
37386         [BZ #13439]
37387         * iconv/gconv.h: Define __GCONV_SWAP.
37388         * iconvdata/unicode.c: The swap bit must be stored in __flags.
37389         * iconvdata/utf-16.c: Likewise.
37390         * iconvdata/utf-32.c: Likewise.
37391
37392 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
37393
37394         [BZ #13524]
37395         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37396         numerator after shifting it by one limb.
37397
37398 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
37399
37400         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37401         under [__USE_EXTERN_INLINES].
37402
37403 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
37404
37405         [BZ #13446]
37406         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37407
37408 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37409
37410         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37411         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37412         optimized code.
37413         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37414         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37415         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37416         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37417         for strncasecmp/strncasecmp_l compilation.
37418         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37419         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37420
37421 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
37422
37423         [BZ #13484]
37424         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37425         of __asm__.
37426
37427 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
37428
37429         [BZ #13506]
37430         * time/tzfile.c (__tzfile_read): Check values from file header.
37431
37432 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37433
37434         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37435         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37436         * powerpc/powerpc32/dl-start.S: Likewise.
37437         * powerpc/powerpc32/elf/start.S: Likewise.
37438         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37439         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37440         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37441         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37442         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37443         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37444         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37445         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37446         * powerpc/powerpc32/fpu/s_round.S: Likewise.
37447         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37448         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37449         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37450         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37451         * powerpc/powerpc32/memset.S: Likewise.
37452         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37453         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37454         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37455         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37456         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37457         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37458         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37459         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37460         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37461         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37462         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37463         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37464         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37465
37466 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37467
37468         * math/libm-test.inc: Added more nearbyint tests.
37469         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37470         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37471         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37472         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37473
37474 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
37475
37476         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37477         FD_CLOEXEC.
37478
37479 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37480
37481         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37482         Add wcscpy-ssse3 wcscpy-c.
37483         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37484         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37485         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37486         * sysdeps/x86_64/wcschr.S: New file.
37487         * sysdeps/x86_64/wcsrchr.S: New file.
37488         * string/test-strcmp.c: Remove checking of wcscmp function for
37489         wrong alignments.
37490         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37491         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37492         wcsrchr-sse2 wcsrchr-c.
37493         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37494         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37495         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37496         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37497         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37498         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37499         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37500         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37501         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37502         * wcsmbc/wcschr.c (WCSCHR): New macro.
37503
37504 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37505
37506         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37507         * wcsmbs/test-wcsrchr.c: New file.
37508         * string/test-strrchr.c: Add wcsrchr support.
37509         (WIDE): New macro.
37510         * wcsmbs/test-wcscpy.c: New file.
37511         * string/test-strcpy.c: Add wcscpy support.
37512         (WIDE): New macro.
37513
37514 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
37515
37516         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37517         the inner loop.
37518
37519 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
37520
37521         [BZ #13472]
37522         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37523
37524 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
37525
37526         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37527         Minor optimizations.
37528
37529         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37530         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37531         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37532
37533 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
37534
37535         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37536         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37537         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37538         for gcc to avoid warnings.
37539         * inet/Makefile (tests): Add tst-checks.
37540         * inet/tst-checks.c: New file.
37541
37542         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37543         warning.
37544
37545         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37546         __wmemcmp_sse2.
37547
37548         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37549         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37550
37551         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37552
37553 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
37554
37555         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37556         problem.
37557
37558         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37559
37560 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
37561
37562         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37563         conditional on GCC version.
37564         (__arch_compare_and_exchange_val_8_acq)
37565         (__arch_compare_and_exchange_val_16_acq)
37566         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37567         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37568         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37569
37570 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
37571
37572         * sysdeps/sh/backtrace.c: New file.
37573
37574 2011-12-02  Andreas Schwab  <schwab@redhat.com>
37575
37576         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
37577         parenthesis.
37578
37579 2011-12-01  Andreas Schwab  <schwab@redhat.com>
37580
37581         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37582         falling back to utime.
37583
37584 2011-11-30  Andreas Schwab  <schwab@redhat.com>
37585
37586         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37587         expectations for float.
37588
37589 2011-11-29  Andreas Schwab  <schwab@redhat.com>
37590
37591         * locale/weight.h (findidx): Add parameter len.
37592         * locale/weightwc.h (findidx): Likewise.
37593         * posix/fnmatch_loop.c (FCT): Adjust caller.
37594         * posix/regcomp.c (build_equiv_class): Likewise.
37595         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37596         * posix/regexec.c (check_node_accept_bytes): Likewise.
37597         * string/strcoll_l.c (STRCOLL): Likewise.
37598         * string/strxfrm_l.c (STRXFRM): Likewise.
37599
37600 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
37601
37602         * Makefile.in: Remove CVSOPT handling.
37603         * configure.in: Remove use of AC_REVISION.
37604         * iconvdata/Makefile (distribute): No need to filter out CVS.
37605         * scripts/list-sources.sh: Remove CVS, subversion and monotone
37606         handling.
37607
37608 2011-11-16  Andreas Schwab  <schwab@redhat.com>
37609
37610         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37611         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37612         [USE_AS_STRNCASECMP_L]: Likewise.
37613         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37614         NO_TLS_DIRECT_SEG_REFS.
37615         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37616         Fix argument offsets for non-PIC.
37617         [USE_AS_STRNCASECMP_L]: Likewise.
37618         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37619         NO_TLS_DIRECT_SEG_REFS.
37620
37621 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37622
37623         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37624         O_CLOEXEC.
37625         * locale/loadlocale.c (_nl_load_locale): Likewise.
37626
37627 2011-11-15  Andreas Schwab  <schwab@redhat.com>
37628
37629         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37630         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37631         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37632         (SYSCALL_GETTIME): Set errno on error.
37633
37634         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37635         count references to noai6ai_cached.
37636
37637 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37638
37639         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37640
37641         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37642         FD_CLOEXEC for /proc/self/maps.
37643
37644         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37645         FD_CLOEXEC for /proc/meminfo.
37646
37647         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37648         gai.conf.
37649
37650         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
37651         FD_CLOEXEC for given file.
37652
37653         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37654
37655         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37656         FD_CLOEXEC for /etc/hosts.
37657         (_gethtent): Likewise.
37658
37659         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37660
37661         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37662         cancellation and set FD_CLOEXEC for /etc/netgroup.
37663
37664         * nss/nss_files/files-key.c (search): Don't allow cancellation when
37665         reading /etc/publickey.
37666
37667         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37668         allow cancellation when reading /etc/group.
37669
37670         * nss/nss_files/files-alias.c (internal_setent): Don't allow
37671         cancellation.
37672         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
37673
37674         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37675         when using data file.
37676
37677         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37678
37679         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37680         (write_nis_obj): Use "c" and "e" in fopen.
37681
37682         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37683
37684         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37685
37686         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37687
37688         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37689
37690         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37691         locale.alias.
37692
37693         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37694
37695         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37696
37697         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37698
37699         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37700         file parsing and set FD_CLOEXEC.
37701
37702 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37703
37704         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37705
37706 2011-11-14  Andreas Schwab  <schwab@redhat.com>
37707
37708         * malloc/arena.c (arena_get2): Don't call reused_arena when
37709         _int_new_arena failed.
37710
37711 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37712
37713         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37714         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37715         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37716         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37717         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37718         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37719         to compile strcasecmp and strncasecmp.
37720         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37721         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37722
37723         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37724
37725 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
37726
37727         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37728         locale-defines.sym to gen-as-const-headers.
37729         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37730         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37731         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37732         to compile strcasecmp and strncasecmp.
37733         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37734         strcasecmp_l and strncasecmp_l.
37735         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37736         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37737         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37738         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37739         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37740         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37741         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37742         * sysdeps/i386/i686/multiarch/strncase.S: New file.
37743         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37744         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37745         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37746
37747 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
37748
37749         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37750         result of SYSDEP_GETTIME_CPU to retval.
37751         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37752         parameter list to macro.  Remove trailing semicolon.  Adjust users.
37753
37754         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37755         variable.
37756
37757         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37758         mantissa words.
37759         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37760
37761         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37762         from unused variable.
37763
37764         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37765         DWARF definitions.
37766         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37767         for assembling.
37768
37769         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37770         over namespaces.
37771
37772         * sunrpc/rpc_prot.c (rejected): Fix case value.
37773
37774         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37775         unsigned long long int to avoid warnings in shift.
37776
37777         * posix/regex_internal.c (re_string_reconstruct): Actually use result
37778         of use of trans.
37779         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37780         variable tmp.
37781
37782         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37783         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37784         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37785
37786         * nis/nis_table.c (nis_list): Use variable of correct type for
37787         result of __follow_path call.
37788
37789 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37790
37791         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37792         of math functions ceil, trunc, floor, round, and sqrt, when
37793         avaliable on the platform.
37794         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37795         name clash.
37796         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37797         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37798         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37799
37800 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
37801
37802         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37803         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37804
37805 2011-11-11  Roland McGrath  <roland@hack.frob.com>
37806
37807         * include/unistd.h: Fix __readlink return type.
37808         Reported by Chris Metcalf <cmetcalf@tilera.com>.
37809
37810 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
37811
37812         * stdlib/ucontext.h: Undo last change for makecontext.
37813
37814 2011-11-11  Andreas Schwab  <schwab@redhat.com>
37815
37816         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37817
37818         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37819         * setjmp/setjmp.h: Mark functions as non-leaf.
37820         * setjmp/bits/setjmp2.h: Likewise.
37821         * stdlib/ucontext.h: Likewise.
37822
37823 2011-11-10  Andreas Schwab  <schwab@redhat.com>
37824
37825         * malloc/arena.c (_int_new_arena): Don't increment narenas.
37826         (reused_arena): Don't check arena limit.
37827         (arena_get2): Atomically check arena limit.
37828
37829 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
37830
37831         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37832         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37833
37834         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37835         instructions.
37836
37837 2011-11-07  Andreas Schwab  <schwab@redhat.com>
37838
37839         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37840         handler when locking.
37841
37842         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37843         Fix size of allocated buffer.
37844
37845 2011-11-04  Andreas Schwab  <schwab@redhat.com>
37846
37847         [BZ #10103]
37848         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37849         declarations for long double functions.
37850         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37851
37852         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37853
37854 2011-11-03  Andreas Schwab  <schwab@redhat.com>
37855
37856         * nscd/nscd.c (main): Don't start AVC thread until credentials are
37857         installed.
37858
37859         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37860         is disabled.
37861
37862 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37863
37864         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37865
37866 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37867
37868         * include/alloca.h (stackinfo_alloca_round): Define.
37869         (extend_alloca): Use it.
37870         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37871         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37872         here.
37873
37874         * scripts/check-local-headers.sh: Ignore libaudit.h.
37875
37876         * nscd/Makefile (extra-objs): Make recursively expanded.
37877
37878 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
37879
37880         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37881         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37882
37883         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37884         * posix/tst-rfc3484-2.c: Likewise.
37885         * posix/tst-rfc3484-3.c: Likewise.
37886
37887         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37888         process_vm_writev.
37889         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37890         process_vm_writev.
37891         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37892         process_vm_writev from libc using GLIBC_2.15 version.
37893
37894         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37895
37896 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
37897
37898         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37899         stack usage.
37900
37901 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
37902
37903         [BZ #13367]
37904         * nss/getent.c (initgroups_keys): Show error message in case no group
37905         names are given.
37906
37907         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37908         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37909         __bump_nl_timestamp.
37910         * nscd/connections (nscd_init): When host database is served open
37911         netlink socket and request notification about configuration changes.
37912         (main_loop_poll): Track netlink file descriptor and bump timestamp
37913         in case data becomes available.
37914         (main_loop_epoll): Likewise.
37915         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37916         (database_pers_head): Add extra_data fileds.
37917         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37918         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37919         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37920         Adjust caller.
37921         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37922         in6ai data, call __free_in6ai.
37923         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37924         Add -DHAVE_NETLINK.
37925         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
37926         interface information.  Reuse previous data if netlink timestamp
37927         is not changed.
37928         (__bump_nl_timestamp): New function.
37929         (__free_in6ai): New function.
37930
37931 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
37932
37933         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37934         close_not_cancel_no_status here.
37935         (__check_pf): Reorganize code a bit to not call close twice if OOM.
37936
37937 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37938
37939         [BZ #13276]
37940         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37941         return value.
37942
37943         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37944         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37945         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37946
37947 2011-07-03  Andreas Jaeger  <aj@suse.de>
37948
37949         [BZ #10709]
37950         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37951         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37952         * math/libm-test.inc (sin_test): Add test case.
37953
37954 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37955
37956         [BZ #13337]
37957         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37958         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37959
37960         * elf/chroot_canon.c (chroot_canon): Cleanups.
37961
37962         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37963
37964         [BZ #13335]
37965         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37966         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37967
37968         * string/test-strchr.c: Make usable for strchrnul testing.
37969         * string/test-strchrnul.c: New file.
37970         * string/Makefile (strop-tests): Add strchrnul.
37971
37972         * po/it.po: Update from translation team.
37973         * po/es.po: Likewise.
37974
37975 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
37976
37977         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37978         the three constants needed as parameters.  Drop the others.
37979         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37980         __m128i_strloadu_tolower.
37981         Create and initialize variable zero and use it in all the places
37982         where _mm_setzero_si128 was used.
37983
37984         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37985         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37986         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37987         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37988         anymore.
37989         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37990         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37991         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37992         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37993         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37994         __mpranred, __mptan.
37995         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37996         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37997         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37998         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37999         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38000         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38001         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38002         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38003         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38004
38005 2011-10-28  Andreas Schwab  <schwab@redhat.com>
38006
38007         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38008         redefine if SHARED.
38009         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38010
38011         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38012         wide char related routines to wcsmbs subdir.
38013
38014 2011-10-27  Andreas Schwab  <schwab@redhat.com>
38015
38016         [BZ #13344]
38017         * misc/sys/cdefs.h (__THROWNL): Define.
38018         * posix/unistd.h: Use __THREADNL instead of __THREAD
38019         for memory synchronization functions.
38020
38021 2011-10-26  Roland McGrath  <roland@hack.frob.com>
38022
38023         [BZ #13349]
38024         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38025         doesn't exist.
38026         * manual/stdio.texi (Obstack Streams): Node removed.
38027
38028 2011-10-26  Andreas Schwab  <schwab@redhat.com>
38029
38030         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38031         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38032         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38033
38034         * math/math_private.h (math_force_eval): Allow non-addressable
38035         arguments.
38036         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38037
38038 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38039
38040         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38041         file is not needed.
38042
38043         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38044         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38045         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38046         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38047         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38048         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38049         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38050         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38051         Add AVX variants.
38052         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38053         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38054         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38055         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38056         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38057         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38058         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38059         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38060         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38061         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38062         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38063         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38064         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38065         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38066         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38067         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38068         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38069         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38070         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38071
38072         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38073         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
38074
38075         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38076         place.  Use VEX encoding when compiling for AVX.
38077
38078 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38079
38080         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38081         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38082
38083         * string/test-strchr.c (do_test): Don't generate NUL bytes.
38084
38085 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38086
38087         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38088         useless if() expression.
38089         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38090         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38091         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38092         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38093         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38094         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38095         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38096         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38097         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38098         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38099         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38100         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38101         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38102         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38103         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38104         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38105         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38106         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38107         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38108
38109         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38110
38111 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38112
38113         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38114         condition.
38115         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38116
38117 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38118
38119         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38120         .text section.  Avoid duplicate constants.
38121         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38122         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38123         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38124         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38125         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38126         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38127         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38128         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38129         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38130         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38131         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38132         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38133         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38134         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38135         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38136         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38137         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38138         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38139         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38140         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38141         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38142         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38143         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38144         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38145         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38146         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38147         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38148         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38149         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38150         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38151         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38152         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38153         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38154         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38155         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38156         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38157         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38158         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38159         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38160         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38161         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38162         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38163         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38164         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38165         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38166
38167 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
38168
38169         * sysdeps/x86_64/dla.h: Move to ...
38170         * sysdeps/x86_64/fpu/dla.h: ...here.
38171         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38172         situations.  Use __builtin_fma only for gcc 4.6 and up.
38173
38174         * config.make.in: Add have-mfma4 entry.
38175         * configure.in: Substitute libc_cv_cc_fma4.
38176         * math/Makefile (dbl-only-routines): Add sincostab.
38177         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38178         Use __sincostab not sincos.
38179         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38180         name is a macro.
38181         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38182         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38183         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38184         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
38185         using __copysign.
38186         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
38187         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
38188         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38189         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38190         and __inv.
38191         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38192         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38193         __copysign.
38194         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
38195         define aliases when function name is a macro.
38196         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38197         sysdeps/ieee754/dbl-64/sincos.tbl.
38198         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38199         fma4-enabled routines.
38200         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38201         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38202         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38203         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38204         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38205         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38206         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38207         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38208         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38209         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38210         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38211         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38212         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38213         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38214         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38215         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38216         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38217         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38218         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38219         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38220         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38221         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38222         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38223         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38224         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38225         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38226         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38227         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38228         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38229         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38230
38231         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38232         rename.
38233         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38234         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38235         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38236         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38237         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38238         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38239         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38240         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38241
38242 2011-10-24  Andreas Schwab  <schwab@redhat.com>
38243
38244         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38245
38246 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38247
38248         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38249
38250         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38251         prediction.
38252         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38253
38254         * string/strnlen.c: Don't define STRNLEN, reverse logic.
38255         Remove unused variable magic_bits.
38256         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38257
38258         * string/strnlen.c: Define and use STRNLEN macro.
38259         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38260         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38261         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38262         * wcsmbs/wcslen.c: Define and use WCSLEN.
38263         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38264         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38265         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38266         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38267         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38268         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38269         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38270
38271 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38272
38273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38274         strnlen-sse2-no-bsf.
38275         Rename strlen-no-bsf to strlen-sse2-no-bsf.
38276         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38277         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38278         Add strnlen support.
38279         (USE_AS_STRNLEN): New macro.
38280         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38281         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38282         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38283         * sysdeps/x86_64/wcslen.S: New file.
38284
38285 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
38286
38287         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38288         XMM-moves are used for copying on small sizes.
38289
38290 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38291
38292         * wcsmbs/Makefile (strop-tests): Add wcschr.
38293         * wcsmbs/test-wcschr.c: New file.
38294         * string/test-strchr.c: Update.
38295         Add wcschr support.
38296         (WIDE): New macro.
38297
38298 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38299
38300         * wcsmbs/Makefile (strop-tests): Add wcslen.
38301         * wcsmbs/test-wcslen.c: New file.
38302         * string/test-strlen.c: Update.
38303         Add wcslen support.
38304         (WIDE): New macro.
38305
38306 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38307
38308         * po/it.po: Update from translation team.
38309
38310 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38311
38312         * sysdeps/x86_64/wcscmp.S: Update.
38313         Fix wrong comparison semantics.
38314         wcscmp shall use signed comparison not unsigned.
38315         Don't use substraction to avoid overflow bug.
38316         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38317         * wcsmbc/wcscmp.c: Likewise.
38318         * string/test-strcmp.c: Likewise.
38319         Add new tests to check cases with negative values.
38320
38321 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38322
38323         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38324         * sysdeps/x86_64/dla.h: ...here.  New file.
38325         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38326         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38327         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38328         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38329         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38330         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38331         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38332         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38333         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38334
38335 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
38336
38337         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38338         __ynl_finite aliases.
38339
38340 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
38341
38342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38343
38344         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38345         define DLA_FMA.
38346         [DLA_FMA] (EMULV): Use DLA_FMA.
38347         [DLA_FMA] (MUL12): Use EMULV.
38348         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38349         that are not needed.
38350         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38351         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38352         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38353         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38354         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38355         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38356         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38357
38358 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
38359
38360         * math/s_nan.c: Undef __nan.
38361         * math/s_nanf.c: Undef __nanf.
38362         * math/s_nanl.c: Undef __nanl.
38363         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38364         "math_private.h".
38365
38366 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
38367
38368         * math/s_catan.c: Add branch predictions.
38369         * math/s_catanf.c: Likewise.
38370         * math/s_catanh.c: Likewise.
38371         * math/s_catanhf.c: Likewise.
38372         * math/s_catanhl.c: Likewise.
38373         * math/s_catanl.c: Likewise.
38374         * math/s_cexp.c: Likewise.
38375         * math/s_cexpf.c: Likewise.
38376         * math/s_cexpl.c: Likewise.
38377         * math/s_clog.c: Likewise.
38378         * math/s_clog10.c: Likewise.
38379         * math/s_clog10f.c: Likewise.
38380         * math/s_clog10l.c: Likewise.
38381         * math/s_clogf.c: Likewise.
38382         * math/s_clogl.c: Likewise.
38383         * math/s_csqrt.c: Likewise.
38384         * math/s_csqrtf.c: Likewise.
38385         * math/s_csqrtl.c: Likewise.
38386         * math/s_ctanf.c: Likewise.
38387         * math/s_ctanh.c: Likewise.
38388         * math/s_ctanhf.c: Likewise.
38389         * math/s_ctanhl.c: Likewise.
38390         * math/s_ctanl.c: Likewise.
38391
38392         * math/math_private.h: Define __nan, __nanf, __nanl.
38393         * math/s_cacosh.c: Include <math_private.h>.
38394         * math/s_cacoshl.c: Likewise.
38395         * math/s_casinh.c: Likewise.
38396         * math/s_casinhf.c: Likewise.
38397         * math/s_casinhl.c: Likewise.
38398         * math/s_ccos.c: Rely entire on ccosh.
38399         * math/s_ccosf.c: Rely entire on ccoshf.
38400         * math/s_ccosl.c: Rely entirely on ccoshl.
38401         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
38402         Remove tests for FE_INVALID.
38403         * math/s_ccoshf.c: Likewise.
38404         * math/s_ccoshl.c: Likewise.
38405         * math/s_csin.c: Likewise.
38406         * math/s_csinf.c: Likewise.
38407         * math/s_csinh.c Likewise.
38408         * math/s_csinhf.c: Likewise.
38409         * math/s_csinhl.c: Likewise.
38410         * math/s_csinl.c: Likewise.
38411         * math/s_ctan.c: Likewise.
38412         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38413         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38414         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38415
38416 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
38417
38418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38419         compilation problems.
38420
38421         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38422         __builtin_expect.
38423
38424 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
38425
38426         * sysdeps/i386/configure.in: Test for -mfma4 option.
38427         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38428         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38429         COMMON_CPUID_INDEX_80000001.
38430         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38431         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38432         use it if FMA3 is not supported.
38433         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38434
38435         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38436         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38437
38438 2011-10-20  Andreas Schwab  <schwab@redhat.com>
38439
38440         [BZ #12892]
38441         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38442         it would create a cycle with a link time dependency.
38443
38444 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
38445
38446         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38447         instruction.
38448         * string/Makefile (strop-tests): Add rawmemchr.
38449         * string/test-rawmemchr.c: New file.
38450
38451         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38452         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
38453         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
38454         when compiling str{,n}casecmp and when AVX is available.  Hook up
38455         new optimized code in initializers.
38456
38457 2011-10-19  Andreas Schwab  <schwab@redhat.com>
38458
38459         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38460         __feraiseexcept instead of feraiseexcept.
38461
38462 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
38463
38464         * math/math_private.h: Define defaults for libc_fetestexcept and
38465         libc_feupdateenv.
38466         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38467         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38468         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38469         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38470         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38471         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38472         libc_fetestexcept and libc_feupdateenv.
38473
38474         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38475         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38476         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38477         * sysdeps/x86_64/fpu/math_private.h: Define special version of
38478         libc_feholdexcept_setround.
38479
38480         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38481         Add s_nearbyint-c and s_nearbyintf-c.
38482         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38483         nearbyintf inlines.
38484         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38485         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38486         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38487         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38488
38489         * math/math_private.h: Define defaults for libc_fegetround,
38490         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38491         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38492         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38493         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38494         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38495         standard functions.
38496         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38497         Remove comments and hacks for old compiler versions.
38498         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38499         libc_fegetround, libc_fesetround, libc_feholdexcept, and
38500         libc_feholdexceptl.
38501
38502 2011-10-18  Andreas Schwab  <schwab@redhat.com>
38503
38504         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38505         (__feraiseexcept_renamed): Add __NTH.
38506         (feraiseexcept): Add __NTH.  Rename local variables to fix
38507         namespace violations.
38508
38509 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
38510
38511         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38512
38513         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38514
38515         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38516         recently added interfaces.
38517         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38518
38519         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38520         about macro parameter expansion.
38521
38522         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38523         __NO_MATH_INLINES is defined.  Cleanups.
38524
38525         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38526         and __floorf is target has SSE4.1.
38527         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38528         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38529         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38530         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38531
38532         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38533         name.
38534         (floorf): Likewise.
38535
38536         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38537
38538 2011-10-17  Andreas Schwab  <schwab@redhat.com>
38539
38540         * misc/sys/cdefs.h: Fix last change.
38541
38542         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38543         database lookup.
38544
38545 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
38546
38547         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38548
38549         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38550         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38551         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38552         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38553         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38554         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38555         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38556         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38557         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38558         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38559         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38560         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38561         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38562         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38563         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38564         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38565         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38566         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38567         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38568         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38569         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38570         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38571
38572         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38573         ceil, ceilf, floor, floorf.
38574
38575         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38576         Perform IRELATIVE relocations last.
38577
38578         * elf/do-rel.h: Add another parameter nrelative, replacing the
38579         local variable with the same name.  Change name of the function
38580         to end in Rel or Rela (uppercase).
38581         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38582         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
38583         elf_dynamic_do_##reloc function.
38584
38585 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
38586
38587         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38588         is sufficient, at least on modern CPUs.
38589
38590         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38591
38592         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38593         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38594
38595         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38596         __expl_finite.
38597         * math/bits/math-finite.h: Add entries for exp.
38598         * math/e_expl.c: Add __*_finite alias.
38599         * sysdeps/i386/fpu/e_exp.S: Likewise.
38600         * sysdeps/i386/fpu/e_expf.S: Likewise.
38601         * sysdeps/i386/fpu/e_expl.c: Likewise.
38602         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38603         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38604         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38605         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38606         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38607         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38608         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38609
38610         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38611         is sufficient, at least on modern CPUs.
38612
38613         * ctype/ctype-info.c (__ctype_init): Define.
38614         * include/ctype.h (__ctype_init): Declare.
38615         (__ctype_b_loc): The variable is always initialized.
38616         (__ctype_toupper_loc): Likewise.
38617         (__ctype_tolower_loc): Likewise.
38618         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38619         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38620
38621 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
38622
38623         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38624
38625         * configure.in: Also look in $cxxmachine/include for C++ system
38626         headers.
38627
38628 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38629
38630         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38631         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38632         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38633         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
38634         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38635         (USE_AS_WMEMCMP): New macro.
38636         Fixing indents.
38637         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38638         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38639         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38640         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38641         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38642         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38643         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38644         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38645         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38646         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38647         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38648         (USE_AS_WMEMCMP): New macro.
38649         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38650         * sysdeps/string/test-memcmp.c: Update.
38651         Fix simple_wmemcmp.
38652         Add new tests.
38653         * wcsmbs/wmemcmp.c: Update.
38654         (WMEMCMP): New macro.
38655         Fix overflow bug.
38656
38657 2011-10-12  Andreas Jaeger  <aj@suse.de>
38658
38659         [BZ #13268]
38660         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38661
38662 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
38663
38664         * libio/iofwide.c (do_length): Avoid warning.
38665
38666         * ctype/ctype.h (__isctype_f): Add missing __THROW.
38667
38668 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
38669
38670         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38671
38672         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38673         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38674         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38675         * sysdeps/i386/i686/fpu/e_log.S: New file.
38676         * sysdeps/i386/i686/fpu/e_logf.S: New file.
38677         * sysdeps/i386/i686/fpu/e_logl.S: New file.
38678
38679         * ctype/ctype.h: Add support for inlined isXXX functions when
38680         compiling C++ code.
38681
38682 2011-10-14  Andreas Schwab  <schwab@redhat.com>
38683
38684         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38685
38686         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38687
38688 2011-10-13  Roland McGrath  <roland@hack.frob.com>
38689
38690         [BZ #13291]
38691         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38692
38693 2011-10-13  Andreas Schwab  <schwab@redhat.com>
38694
38695         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38696         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38697         feraiseexcept.
38698
38699         * sysdeps/x86_64/memrchr.S: Check for zero size.
38700
38701         * string/stratcliff.c: Add memrchr tests.
38702
38703 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38704
38705         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38706         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38707         rawmemchr-sse2 rawmemchr-sse2-bsf.
38708         * sysdeps/i386/i686/multiarch/memchr.S: New file.
38709         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38710         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38711         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38712         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38713         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38714         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38715         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38716         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38717         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38718         * string/memrchr.c (MEMRCHR): New macro.
38719
38720 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
38721
38722         Add integration with gcc's -ffinite-math-only and optimize wrapper
38723         functions in libm.
38724         * Versions.def: Define GLIBC_2.15 version for libm.
38725         * math/Makefile (headers): Add bits/math-finite.h.
38726         * math/bits/math-finite.h: New file.
38727         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38728         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38729         * math/e_acoshl.c: Add __*_finite alias.
38730         * math/e_acosl.c: Likewise.
38731         * math/e_asinl.c: Likewise.
38732         * math/e_atan2l.c: Likewise.
38733         * math/e_atanhl.c: Likewise.
38734         * math/e_coshl.c: Likewise.
38735         * math/e_exp10.c: Likewise.
38736         * math/e_exp10f.c: Likewise.
38737         * math/e_exp10l.c: Likewise.
38738         * math/e_exp2l.c: Likewise.
38739         * math/e_fmodl.c: Likewise.
38740         * math/e_gammal_r.c: Likewise.
38741         * math/e_hypotl.c: Likewise.
38742         * math/e_j0l.c: Likewise.
38743         * math/e_j1l.c: Likewise.
38744         * math/e_jnl.c: Likewise.
38745         * math/e_lgammal_r.c: Likewise.
38746         * math/e_log10l.c: Likewise.
38747         * math/e_log2l.c: Likewise.
38748         * math/e_logl.c: Likewise.
38749         * math/e_powl.c: Likewise.
38750         * math/e_sinhl.c: Likewise.
38751         * math/e_sqrtl.c: Likewise.
38752         * math/e_scalb.c: Completely rewritten and optimized.
38753         * math/e_scalbf.c: Likewise.
38754         * math/e_scalbl.c: Likewise.
38755         * math/w_acos.c: Likewise.
38756         * math/w_acosf.c: Likewise.
38757         * math/w_acosl.c: Likewise.
38758         * math/w_acosh.c: Likewise.
38759         * math/w_acoshf.c: Likewise.
38760         * math/w_acoshl.c: Likewise.
38761         * math/w_asin.c: Likewise.
38762         * math/w_asinf.c: Likewise.
38763         * math/w_asinl.c: Likewise.
38764         * math/w_atan2.c: Likewise.
38765         * math/w_atan2f.c: Likewise.
38766         * math/w_atan2l.c: Likewise.
38767         * math/w_atanh.c: Likewise.
38768         * math/w_atanhf.c: Likewise.
38769         * math/w_atanhl.c: Likewise.
38770         * math/w_exp10.c: Likewise.
38771         * math/w_exp10f.c: Likewise.
38772         * math/w_exp10l.c: Likewise.
38773         * math/w_fmod.c: Likewise.
38774         * math/w_fmodf.c: Likewise.
38775         * math/w_fmodl.c: Likewise.
38776         * math/w_j0.c: Likewise.
38777         * math/w_j0f.c: Likewise.
38778         * math/w_j0l.c: Likewise.
38779         * math/w_j1.c: Likewise.
38780         * math/w_j1f.c: Likewise.
38781         * math/w_j1l.c: Likewise.
38782         * math/w_jn.c: Likewise.
38783         * math/w_jnf.c: Likewise.
38784         * math/w_log.c: Likewise.
38785         * math/w_logf.c: Likewise.
38786         * math/w_logl.c: Likewise.
38787         * math/w_log10.c: Likewise.
38788         * math/w_log10f.c: Likewise.
38789         * math/w_log10l.c: Likewise.
38790         * math/w_log2.c: Likewise.
38791         * math/w_log2f.c: Likewise.
38792         * math/w_log2l.c: Likewise.
38793         * math/w_pow.c: Likewise.
38794         * math/w_powf.c: Likewise.
38795         * math/w_powl.c: Likewise.
38796         * math/w_remainder.c: Likewise.
38797         * math/w_remainderf.c: Likewise.
38798         * math/w_remainderl.c: Likewise.
38799         * math/w_scalb.c: Likewise.
38800         * math/w_scalbf.c: Likewise.
38801         * math/w_scalbl.c: Likewise.
38802         * math/w_sqrt.c: Likewise.
38803         * math/w_sqrtf.c: Likewise.
38804         * math/w_sqrtl.c: Likewise.
38805         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38806         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
38807         used.
38808         * math/math_private.h: Declare __kernel_standard_f.
38809         * math/w_cosh.c: Remove cruft and optimize a bit.
38810         * math/w_coshf.c: Likewise.
38811         * math/w_coshl.c: Likewise.
38812         * math/w_exp2.c: Likewise.
38813         * math/w_exp2f.c: Likewise.
38814         * math/w_exp2l.c: Likewise.
38815         * math/w_hypot.c: Likewise.
38816         * math/w_hypotf.c: Likewise.
38817         * math/w_hypotl.c: Likewise.
38818         * math/w_lgamma.c: Likewise.
38819         * math/w_lgamma_r.c: Likewise.
38820         * math/w_lgammaf.c: Likewise.
38821         * math/w_lgammaf_r.c: Likewise.
38822         * math/w_lgammal.c: Likewise.
38823         * math/w_lgammal_r.c: Likewise.
38824         * math/w_sinh.c: Likewise.
38825         * math/w_sinhf.c: Likewise.
38826         * math/w_sinhl.c: Likewise.
38827         * math/w_tgamma.c: Likewise.
38828         * math/w_tgammaf.c: Likewise.
38829         * math/w_tgammal.c: Likewise.
38830         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38831         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38832         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38833         Minor optimizations.  Pretty printing.  Remove cruft.
38834         * sysdeps/i386/fpu/e_acosf.S: Likewise.
38835         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38836         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38837         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38838         * sysdeps/i386/fpu/e_acosl.c: Likewise.
38839         * sysdeps/i386/fpu/e_asin.S: Likewise.
38840         * sysdeps/i386/fpu/e_asinf.S: Likewise.
38841         * sysdeps/i386/fpu/e_atan2.S: Likewise.
38842         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38843         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38844         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38845         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38846         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38847         * sysdeps/i386/fpu/e_exp10.S: Likewise.
38848         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38849         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38850         * sysdeps/i386/fpu/e_exp2.S: Likewise.
38851         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38852         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38853         * sysdeps/i386/fpu/e_fmod.S: Likewise.
38854         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38855         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38856         * sysdeps/i386/fpu/e_hypot.S: Likewise.
38857         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38858         * sysdeps/i386/fpu/e_log.S: Likewise.
38859         * sysdeps/i386/fpu/e_log10.S: Likewise.
38860         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38861         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38862         * sysdeps/i386/fpu/e_log2.S: Likewise.
38863         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38864         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38865         * sysdeps/i386/fpu/e_logf.S: Likewise.
38866         * sysdeps/i386/fpu/e_logl.S: Likewise.
38867         * sysdeps/i386/fpu/e_pow.S: Likewise.
38868         * sysdeps/i386/fpu/e_powf.S: Likewise.
38869         * sysdeps/i386/fpu/e_powl.S: Likewise.
38870         * sysdeps/i386/fpu/e_remainder.S: Likewise.
38871         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38872         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38873         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38874         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38875         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38876         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38877         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38878         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38879         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38880         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38881         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38882         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38883         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38884         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38885         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38886         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38887         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38888         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38889         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38890         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38892         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38893         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38894         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38895         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38896         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38897         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38898         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38899         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38900         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38901         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38902         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38903         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38904         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38905         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38906         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38907         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38908         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38909         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38910         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38911         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38912         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38913         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38914         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38915         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38916         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38917         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38918         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38919         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38920         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38921         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38922         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38923         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38925         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38926         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38927         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38928         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38929         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38930         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38931         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38932         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38934         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38935         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38936         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38937         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38938         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38939         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38940         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38941         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38942         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38943         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38944         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38945         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38946         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38947         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38948         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38949         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38950         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38951         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38952         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38953         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38954         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38955         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38956         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38957         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38958         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38959         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38960         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38961         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38962         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38963         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38964         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38965         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38966         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38967         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38968         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38969         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38970         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38971         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38972         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38973         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38974         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38975         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38976         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38977         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38978         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38979         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38980         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38981         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38982         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38983         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38984         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38985         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38986         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38987         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38988         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38989         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
38990         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38991         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38992         (__isnanf): Likewise.
38993         (__isinf_ns): Likewise.
38994         (__isinf_nsf): Likewise.
38995         (__finite): Likewise.
38996         (__finitef): Likewise.
38997         (__ieee754_sqrt): Define as macro.
38998         (__ieee754_sqrtf): Define as macro.
38999         (__ieee754_sqrtl): Define as macro.
39000         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39001         inlined copy.
39002         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39003         __FINITE_MATH_ONLY__ consistent.
39004         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39005
39006 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
39007
39008         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39009         of rawmemchr.
39010
39011         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39012
39013 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
39014
39015         * po/ja.po: Update from translation team.
39016
39017 2011-10-08  Roland McGrath  <roland@hack.frob.com>
39018
39019         * locale/programs/locarchive.c (prepare_address_space): New function.
39020         (create_archive, enlarge_archive, open_archive): Use it.
39021
39022         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39023         inside [SHARED], where it is used.
39024
39025         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39026
39027         * nss/getent.c (netgroup_keys): Remove unused variable.
39028         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39029
39030 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
39031
39032         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39033         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39034         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39035         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39036         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39037         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39038         * math/Makefile (libm-calls): Add s_isinf_ns.
39039         * math/divtc3.c: Use __isinf_nsl instead of isinf.
39040         * math/multc3.c: Likewise.
39041         * math/s_casin.c: Likewise.
39042         * math/s_casinf.c: Likewise.
39043         * math/s_casinl.c: Likewise.
39044         * math/s_ccos.c: Likewise.
39045         * math/s_ccosf.c: Likewise.
39046         * math/s_ccosl.c: Likewise.
39047         * math/s_ctan.c: Likewise.
39048         * math/s_ctanf.c: Likewise.
39049         * math/s_ctanh.c: Likewise.
39050         * math/s_ctanhf.c: Likewise.
39051         * math/s_ctanhl.c: Likewise.
39052         * math/s_ctanl.c: Likewise.
39053         * math/w_fmod.c: Likewise.
39054         * math/w_fmodf.c: Likewise.
39055         * math/w_fmodl.c: Likewise.
39056         * math/w_remainder.c: Likewise.
39057         * math/w_remainderf.c: Likewise.
39058         * math/w_remainderl.c: Likewise.
39059         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39060         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39061         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39062         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39063         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39064         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39065         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39066         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39067
39068         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39069         of the number.
39070         * stdio-common/printf_fphex.c: Likewise.
39071         * stdio-common/printf_size.c: Likewise.
39072
39073         * math/e_exp10.c: Include math_private.h using <...> not "...".
39074         * math/e_exp10f.c: Likewise.
39075         * math/e_exp10l.c: Likewise.
39076         * math/e_exp2l.c: Likewise.
39077         * math/e_j0l.c: Likewise.
39078         * math/e_j1l.c: Likewise.
39079         * math/e_jnl.c: Likewise.
39080         * math/e_lgammal_r.c: Likewise.
39081         * math/e_rem_pio2l.c: Likewise.
39082         * math/e_scalb.c: Likewise.
39083         * math/e_scalbf.c: Likewise.
39084         * math/e_scalbl.c: Likewise.
39085         * math/k_cosl.c: Likewise.
39086         * math/k_sinl.c: Likewise.
39087         * math/k_tanl.c: Likewise.
39088         * math/s_cacoshf.c: Likewise.
39089         * math/s_catan.c: Likewise.
39090         * math/s_catanf.c: Likewise.
39091         * math/s_catanh.c: Likewise.
39092         * math/s_catanhf.c: Likewise.
39093         * math/s_catanhl.c: Likewise.
39094         * math/s_catanl.c: Likewise.
39095         * math/s_ccosh.c: Likewise.
39096         * math/s_ccoshf.c: Likewise.
39097         * math/s_ccoshl.c: Likewise.
39098         * math/s_cexp.c: Likewise.
39099         * math/s_cexpf.c: Likewise.
39100         * math/s_cexpl.c: Likewise.
39101         * math/s_clog.c: Likewise.
39102         * math/s_clog10.c: Likewise.
39103         * math/s_clog10f.c: Likewise.
39104         * math/s_clog10l.c: Likewise.
39105         * math/s_clogf.c: Likewise.
39106         * math/s_clogl.c: Likewise.
39107         * math/s_csin.c: Likewise.
39108         * math/s_csinf.c: Likewise.
39109         * math/s_csinh.c: Likewise.
39110         * math/s_csinhf.c: Likewise.
39111         * math/s_csinhl.c: Likewise.
39112         * math/s_csinl.c: Likewise.
39113         * math/s_csqrt.c: Likewise.
39114         * math/s_csqrtf.c: Likewise.
39115         * math/s_csqrtl.c: Likewise.
39116         * math/s_ctan.c: Likewise.
39117         * math/s_ctanf.c: Likewise.
39118         * math/s_ctanh.c: Likewise.
39119         * math/s_ctanhf.c: Likewise.
39120         * math/s_ctanhl.c: Likewise.
39121         * math/s_ctanl.c: Likewise.
39122         * math/s_ldexp.c: Likewise.
39123         * math/s_ldexpf.c: Likewise.
39124         * math/s_ldexpl.c: Likewise.
39125         * math/s_significand.c: Likewise.
39126         * math/s_significandf.c: Likewise.
39127         * math/s_significandl.c: Likewise.
39128         * math/w_acos.c: Likewise.
39129         * math/w_acosf.c: Likewise.
39130         * math/w_acosh.c: Likewise.
39131         * math/w_acoshf.c: Likewise.
39132         * math/w_acoshl.c: Likewise.
39133         * math/w_acosl.c: Likewise.
39134         * math/w_asin.c: Likewise.
39135         * math/w_asinf.c: Likewise.
39136         * math/w_asinl.c: Likewise.
39137         * math/w_atan2.c: Likewise.
39138         * math/w_atan2f.c: Likewise.
39139         * math/w_atan2l.c: Likewise.
39140         * math/w_atanh.c: Likewise.
39141         * math/w_atanhf.c: Likewise.
39142         * math/w_atanhl.c: Likewise.
39143         * math/w_cosh.c: Likewise.
39144         * math/w_coshf.c: Likewise.
39145         * math/w_coshl.c: Likewise.
39146         * math/w_dremf.c: Likewise.
39147         * math/w_exp10.c: Likewise.
39148         * math/w_exp10f.c: Likewise.
39149         * math/w_exp10l.c: Likewise.
39150         * math/w_exp2.c: Likewise.
39151         * math/w_exp2f.c: Likewise.
39152         * math/w_fmod.c: Likewise.
39153         * math/w_fmodf.c: Likewise.
39154         * math/w_fmodl.c: Likewise.
39155         * math/w_hypot.c: Likewise.
39156         * math/w_hypotf.c: Likewise.
39157         * math/w_hypotl.c: Likewise.
39158         * math/w_j0.c: Likewise.
39159         * math/w_j0f.c: Likewise.
39160         * math/w_j0l.c: Likewise.
39161         * math/w_j1.c: Likewise.
39162         * math/w_j1f.c: Likewise.
39163         * math/w_j1l.c: Likewise.
39164         * math/w_jn.c: Likewise.
39165         * math/w_jnf.c: Likewise.
39166         * math/w_jnl.c: Likewise.
39167         * math/w_lgamma.c: Likewise.
39168         * math/w_lgamma_r.c: Likewise.
39169         * math/w_lgammaf.c: Likewise.
39170         * math/w_lgammaf_r.c: Likewise.
39171         * math/w_lgammal.c: Likewise.
39172         * math/w_lgammal_r.c: Likewise.
39173         * math/w_log.c: Likewise.
39174         * math/w_log10.c: Likewise.
39175         * math/w_log10f.c: Likewise.
39176         * math/w_log10l.c: Likewise.
39177         * math/w_log2.c: Likewise.
39178         * math/w_log2f.c: Likewise.
39179         * math/w_log2l.c: Likewise.
39180         * math/w_logf.c: Likewise.
39181         * math/w_logl.c: Likewise.
39182         * math/w_pow.c: Likewise.
39183         * math/w_powf.c: Likewise.
39184         * math/w_powl.c: Likewise.
39185         * math/w_remainder.c: Likewise.
39186         * math/w_remainderf.c: Likewise.
39187         * math/w_remainderl.c: Likewise.
39188         * math/w_scalb.c: Likewise.
39189         * math/w_scalbf.c: Likewise.
39190         * math/w_scalbl.c: Likewise.
39191         * math/w_sinh.c: Likewise.
39192         * math/w_sinhf.c: Likewise.
39193         * math/w_sinhl.c: Likewise.
39194         * math/w_sqrt.c: Likewise.
39195         * math/w_sqrtf.c: Likewise.
39196         * math/w_sqrtl.c: Likewise.
39197         * math/w_tgamma.c: Likewise.
39198         * math/w_tgammaf.c: Likewise.
39199         * math/w_tgammal.c: Likewise.
39200
39201         * po/ja.po: Update from translation team.
39202
39203 2011-09-29  Andreas Jaeger  <aj@suse.de>
39204
39205         [BZ #13179]
39206         * sunrpc/netname.c (netname2host): Fix logic.
39207
39208         [BZ #6779]
39209         [BZ #6783]
39210         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39211         correctly.
39212         * math/w_remainder.c (__remainder): Likewise.
39213         * math/w_remainderf.c (__remainderf): Likewise.
39214         * math/libm-test.inc (remainder_test): Add test cases.
39215
39216 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39217
39218         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
39219         sdiv_qrnnd.
39220
39221 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39222
39223         * string/test-memcmp.c: Avoid unncessary #defines.
39224         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39225
39226 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39227
39228         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39229         Use new sse2 version for core i3 - i7 as it's faster
39230         than sse42 version.
39231         (bit_Prefer_PMINUB_for_stringop): New.
39232         * sysdeps/x86_64/rawmemchr.S: Update.
39233         Replace with faster SSE2 version.
39234         * sysdeps/x86_64/memrchr.S: New file.
39235         * sysdeps/x86_64/memchr.S: Update.
39236         Replace with faster SSE2 version.
39237
39238 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
39239
39240         * elf/dl-load.c (lose): Add cast to avoid warning.
39241
39242 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39243
39244         * po/ca.po: Update from translation team.
39245
39246         * inet/getnetgrent_r.c: Hook up nscd.
39247         * nscd/Makefile (routines): Add nscd_netgroup.
39248         (nscd-modules): Add netgroupcache.
39249         (CFLAGS-netgroupcache.c): Define.
39250         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39251         (cache_search): Add const to second parameter.
39252         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39253         INNETGR.
39254         (dbs): Add netgrdb entry.
39255         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39256         (verify_persistent_db): Handle netgrdb.
39257         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39258         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39259         GETFDNETGR.
39260         (netgroup_response_header): Define.
39261         (innetgroup_response_header): Define.
39262         (datahead): Add netgroup_response_header and innetgroup_response_header
39263         elements.
39264         * nscd/nscd.conf: Add entries for netgroup cache.
39265         * nscd/nscd.h (dbtype): Add netgrdb.
39266         (_PATH_NSCD_NETGROUP_DB): Define.
39267         (netgroup_iov_disabled): Declare.
39268         (xmalloc, xcalloc, xrealloc): Move declarations here.
39269         (cache_search): Adjust prototype.
39270         Add netgroup-related prototypes.
39271         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39272         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39273         (__nscd_innetgr): Declare.
39274         * nscd/selinux.c (perms): Use access_vector_t as element type and
39275         add netgroup-related initializers.
39276         * nscd/netgroupcache.c: New file.
39277         * nscd/nscd_netgroup.c: New file.
39278         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39279         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39280         For four parameters use innetgr.
39281         * nss/nss_files/files-init.c: Add definition and callback for netgr.
39282         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39283         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39284         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39285
39286         * nscd/connections.c (register_traced_file): Don't register file
39287         for disabled databases.
39288
39289 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
39290
39291         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39292
39293         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39294         from tree and freeing node.
39295
39296 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
39297
39298         * nss/nsswitch.c (__nss_database_lookup): Handle
39299         nss_parse_service_list out of memory case.
39300
39301 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
39302
39303         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39304         out of memory case.
39305
39306 2011-10-04  Andreas Schwab  <schwab@redhat.com>
39307
39308         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39309         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39310         pass it down.
39311         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39312         elf_machine_rela, elf_machine_lazy_rel.
39313         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39314         (ELF_DYNAMIC_DO_REL): Likewise.
39315         (ELF_DYNAMIC_DO_RELA): Likewise.
39316         (ELF_DYNAMIC_RELOCATE): Likewise.
39317         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39318         to ELF_DYNAMIC_DO_REL.
39319         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39320         (dl_main): In trace mode always set __RTLD_NOIFUNC.
39321         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39322         elf_machine_rela.
39323         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39324         skip_ifunc, don't call ifunc function if non-zero.
39325         (elf_machine_rela): Likewise.
39326         (elf_machine_lazy_rel): Likewise.
39327         (elf_machine_lazy_rela): Likewise.
39328         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39329         (elf_machine_lazy_rel): Likewise.
39330         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39331         Likewise.
39332         (elf_machine_lazy_rel): Likewise.
39333         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39334         Likewise.
39335         (elf_machine_lazy_rel): Likewise.
39336         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39337         (elf_machine_lazy_rel): Likewise.
39338         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39339         (elf_machine_lazy_rel): Likewise.
39340         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39341         (elf_machine_lazy_rel): Likewise.
39342         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39343         (elf_machine_lazy_rel): Likewise.
39344         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39345         (elf_machine_lazy_rel): Likewise.
39346         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39347         (elf_machine_lazy_rel): Likewise.
39348
39349 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
39350
39351         * nss/nss_files/files-init.c (_nss_files_init): Use static
39352         initialization for all the *_traced_file variables.
39353
39354 2011-09-28  Andreas Schwab  <schwab@redhat.com>
39355
39356         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39357
39358 2011-09-27  Roland McGrath  <roland@hack.frob.com>
39359
39360         [BZ #13226]
39361         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39362
39363 2011-09-27  Andreas Schwab  <schwab@redhat.com>
39364
39365         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39366         Reread the line before reparsing it.
39367
39368 2011-09-26  Andreas Schwab  <schwab@redhat.com>
39369
39370         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39371
39372 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
39373             Maxim Kuvyrkov  <maxim@codesourcery.com>
39374             Joseph Myers  <joseph@codesourcery.com>
39375
39376         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39377         if needed for __stack_chk_guard.
39378
39379 2011-09-19  Roland McGrath  <roland@hack.frob.com>
39380
39381         * sysdeps/posix/spawni.c (script_execute): Always define it.
39382         It will be optimized away if unused.
39383         (maybe_script_execute): New function.
39384         (__spawni): Call it.
39385
39386         * Makerules: Don't include tls.make.
39387         (config-tls): Always set to thread.
39388         * tls.make.c: File removed.
39389
39390 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
39391
39392         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39393         * config.make.in (CPPFLAGS-config): New substituted variable.
39394
39395 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
39396
39397         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39398
39399         [BZ #13192]
39400         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39401         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39402
39403 2011-09-15  Roland McGrath  <roland@hack.frob.com>
39404
39405         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39406         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39407         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39408         (CALL_FAIL): Likewise.
39409         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39410         (CALL_FAIL): Macro removed.
39411         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39412
39413 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
39414
39415         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39416         for __FINITE_MATH_ONLY__ == 1.
39417
39418 2011-09-15  Andreas Schwab  <schwab@redhat.com>
39419
39420         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39421         __ieee754_sqrt instead of sqrt.
39422         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39423         __ieee754_sqrtf instead of sqrtf.
39424         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39425         __floorf instead of floorf.
39426         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39427         __floorf, __truncf instead of floorf, truncf.
39428
39429 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
39430
39431         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39432
39433         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39434         __extern_always_inline.
39435         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39436         32-bit.
39437
39438 2011-09-14  Andreas Schwab  <schwab@redhat.com>
39439
39440         * elf/rtld.c (dl_main): Also relocate in dependency order when
39441         doing symbol dependency testing.
39442
39443 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
39444
39445         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39446         Always define `refsym'.
39447
39448 2011-09-13  Andreas Schwab  <schwab@redhat.com>
39449
39450         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39451         (__FD_ELT): Renamed from __FDELT.
39452         * misc/bits/select2.h (__FD_ELT): Likewise.
39453         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39454         __FD_MASK instead of __FDELT, __FDMASK.
39455         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39456         Likewise.
39457         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39458         Likewise.
39459
39460         * elf/Makefile (gen-ldd): Fix pattern.
39461
39462         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39463         (init_tls): Likewise.
39464
39465 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
39466
39467         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39468
39469 2011-09-12  Andreas Schwab  <schwab@redhat.com>
39470
39471         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39472         `struct cmsghdr *' instead of `void *'.
39473         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39474         Likewise.
39475
39476 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
39477
39478         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39479         if non-absolute.
39480         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39481         ldd_rewrite_script.
39482
39483 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
39484
39485         * configure.in: Remove --with-tls option.
39486         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39487         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39488         out in case it is missing.
39489         * sysdeps/ia64/elf/configure.in: Likewise.
39490         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39491         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39492         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39493         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39494         * sysdeps/sh/elf/configure.in: Likewise.
39495         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39496         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39497         * sysdeps/x86_64/elf/configure.in: Likewise.
39498         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39499         * sysdeps/mach/hurd/tls.h: Likewise.
39500
39501         [BZ #13067]
39502         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39503
39504         [BZ #13090]
39505         * configure.in: Fix use of AC_INIT.
39506
39507         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39508
39509 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
39510
39511         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39512         __set_errno.
39513         * malloc/hooks.c: Likewise.
39514
39515         [BZ #11929]
39516         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
39517         variables statically.
39518         (narenas): Initialize.
39519         (list_lock): Initialize.
39520         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
39521         initializtion of main_arena and list_lock.  Small cleanups.
39522         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39523         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
39524         Add initializers to main_arena and mp_.
39525         (malloc_state): Remove pagesize member.  Change all users to use
39526         GLRO(dl_pagesize).
39527
39528         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39529         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
39530         is always initialized.
39531
39532         * malloc/malloc.c: Removed unused configurations and dead code.
39533         * malloc/arena.c: Likewise.
39534         * malloc/hooks.c: Likewise.
39535         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39536
39537         * include/tls.h: Removed.  USE___THREAD must always be defined.
39538         * bits/libc-tsd.h: Don't handle !USE___THREAD.
39539         * elf/dl-libc.c: Likewise.
39540         * elf/dl-tsd.c: Likewise.
39541         * include/errno.h: Likewise.
39542         * include/netdb.h: Likewise.
39543         * include/resolv.h: Likewise.
39544         * inet/herrno-loc.c: Likewise.
39545         * inet/herrno.c: Likewise.
39546         * malloc/arena.c: Likewise.
39547         * malloc/hooks.c: Likewise.
39548         * malloc/malloc.c: Likewise.
39549         * resolv/res-state.c: Likewise.
39550         * resolv/res_libc.c: Likewise.
39551         * sysdeps/i386/dl-machine.h: Likewise.
39552         * sysdeps/ia64/dl-machine.h: Likewise.
39553         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39554         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39555         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39556         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39557         * sysdeps/sh/dl-machine.h: Likewise.
39558         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39559         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39560         * sysdeps/unix/i386/sysdep.S: Likewise.
39561         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39562         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39564         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39566         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39567         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39569         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39571         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39572         * sysdeps/x86_64/dl-machine.h: Likewise.
39573         * tls.make.c: Likewise.
39574
39575         * configure.in: Remove --with-__thread option.  Make tests for
39576         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39577         tls_model attribute fail if no support is available.  Remove
39578         USE_IN_LIBIO.
39579         * Makeconfig: Adjust for dropped configure option.  All features are
39580         now mandatory.
39581         * Makerules: Likewise.
39582         * Versions.def: Likewise.
39583         * argp/argp-fmtstream.c: Likewise.
39584         * argp/argp-fmtstream.h: Likewise.
39585         * argp/argp-help.c: Likewise.
39586         * assert/assert.c: Likewise.
39587         * config.h.in: Likewise.
39588         * config.make.in: Likewise.
39589         * configure: Likewise.
39590         * configure.in: Likewise.
39591         * csu/Versions: Likewise.
39592         * csu/init.c: Likewise.
39593         * elf/tst-audit2.c: Likewise.
39594         * elf/tst-tls10.c: Likewise.
39595         * elf/tst-tls10.h: Likewise.
39596         * elf/tst-tls11.c: Likewise.
39597         * elf/tst-tls12.c: Likewise.
39598         * elf/tst-tls14.c: Likewise.
39599         * elf/tst-tlsmod11.c: Likewise.
39600         * elf/tst-tlsmod12.c: Likewise.
39601         * elf/tst-tlsmod13.c: Likewise.
39602         * elf/tst-tlsmod13a.c: Likewise.
39603         * elf/tst-tlsmod14a.c: Likewise.
39604         * elf/tst-tlsmod15b.c: Likewise.
39605         * elf/tst-tlsmod16a.c: Likewise.
39606         * elf/tst-tlsmod16b.c: Likewise.
39607         * elf/tst-tlsmod7.c: Likewise.
39608         * elf/tst-tlsmod8.c: Likewise.
39609         * elf/tst-tlsmod9.c: Likewise.
39610         * gmon/gmon.c: Likewise.
39611         * grp/fgetgrent_r.c: Likewise.
39612         * grp/putgrent.c: Likewise.
39613         * hurd/fopenport.c: Likewise.
39614         * include/libc-symbols.h: Likewise.
39615         * include/tls.h: Likewise.
39616         * intl/gettextP.h: Likewise.
39617         * intl/loadinfo.h: Likewise.
39618         * locale/global-locale.c: Likewise.
39619         * locale/localeinfo.h: Likewise.
39620         * mach/devstream.c: Likewise.
39621         * malloc/arena.c: Likewise.
39622         * malloc/set-freeres.c: Likewise.
39623         * misc/err.c: Likewise.
39624         * misc/getttyent.c: Likewise.
39625         * misc/mntent_r.c: Likewise.
39626         * posix/getopt.c: Likewise.
39627         * posix/wordexp.c: Likewise.
39628         * pwd/fgetpwent_r.c: Likewise.
39629         * resolv/Versions: Likewise.
39630         * resolv/res_hconf.c: Likewise.
39631         * shadow/fgetspent_r.c: Likewise.
39632         * shadow/putspent.c: Likewise.
39633         * stdio-common/printf_fphex.c: Likewise.
39634         * stdio-common/tmpfile.c: Likewise.
39635         * stdlib/abort.c: Likewise.
39636         * stdlib/fmtmsg.c: Likewise.
39637         * sunrpc/auth_unix.c: Likewise.
39638         * sunrpc/clnt_perr.c: Likewise.
39639         * sunrpc/clnt_tcp.c: Likewise.
39640         * sunrpc/clnt_udp.c: Likewise.
39641         * sunrpc/clnt_unix.c: Likewise.
39642         * sunrpc/openchild.c: Likewise.
39643         * sunrpc/svc_simple.c: Likewise.
39644         * sunrpc/svc_tcp.c: Likewise.
39645         * sunrpc/svc_udp.c: Likewise.
39646         * sunrpc/svc_unix.c: Likewise.
39647         * sunrpc/xdr.c: Likewise.
39648         * sunrpc/xdr_array.c: Likewise.
39649         * sunrpc/xdr_rec.c: Likewise.
39650         * sunrpc/xdr_ref.c: Likewise.
39651         * sunrpc/xdr_stdio.c: Likewise.
39652
39653 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39654
39655         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39656
39657 2011-07-03  Andreas Jaeger  <aj@suse.de>
39658
39659         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39660         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39661         regenerate with gen-libm-tests.pl.
39662
39663 2010-05-12  Petr Baudis  <pasky@suse.cz>
39664
39665         [BZ #11589]
39666         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39667         around j0() zero points by switching to j1().
39668         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39669         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39670         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39671         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39672
39673 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39674
39675         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39676         instead of 0.
39677         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39678         instead of 0.
39679         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39680         Patch in part by Pavel Roskin <proski@gnu.org>.
39681
39682         [BZ #13138]
39683         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39684         realloc.
39685         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
39686         Free memory block if necessary.
39687
39688         [BZ #12847]
39689         * libio/genops.c (INTDEF): For string streams the _lock pointer can
39690         be NULL.  Don't lock in this case.
39691
39692 2011-09-09  Roland McGrath  <roland@hack.frob.com>
39693
39694         * elf/elf.h (ELFOSABI_GNU): New macro.
39695         (ELFOSABI_LINUX): Define to that.
39696
39697 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
39698
39699         * string/strncat.c (strncat): Undef the symbol in case it has been
39700         defined in bits/string.h.
39701
39702 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39703
39704         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39705
39706         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39707         link map.
39708
39709 2011-08-17  Andreas Jaeger  <aj@suse.de>
39710
39711         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39712
39713 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39714             Ian Lance Taylor  <iant@google.com>
39715
39716         * math/libm-test.inc (lround_test): New testcase.
39717         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39718
39719 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
39720
39721         * Makefile: Remove support for automatic cvs check-ins.
39722         * Makerules: Likewise.
39723         * config.make.in: Likewise.
39724         * configure.in: Likewise.
39725         * intl/Makefile: Likewise.
39726         * locale/Makefile: Likewise.
39727         * po/Makefile: Likewise.
39728         * posix/Makefile: Likewise.
39729         * sysdeps/gnu/Makefile: Likewise.
39730         * sysdeps/mach/hurd/Makefile: Likewise.
39731         * sysdeps/sparc/sparc32/Makefile: Likewise.
39732
39733         [BZ #13118]
39734         * posix/Makefile (bug-regex32-ENV): Define.
39735         Patch by John Stanley <jpsinthemix@verizon.net>.
39736
39737         * misc/Makefile (headers): Add bits/select2.h.
39738         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39739         * misc/bits/select2.h: New file.
39740         * include/bits/select2.h: New file.
39741         * debug/Makefile (routines): Add fdelt_chk.
39742         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39743         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39744         FD_ISSET.
39745         * debug/fdelt_chk.c: New file.
39746
39747         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
39748         * wcsmbs/test-wmemcmp.c: Likewise.
39749         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39750         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39751
39752 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39753
39754         * string/Makefile (strop-tests): Add memcmp.
39755         * string/test-wmemcmp.c: New file.
39756         * string/test-memcmp.c: Add wmemcmp support.
39757
39758 2011-09-08  Roland McGrath  <roland@hack.frob.com>
39759
39760         [BZ #13153]
39761         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39762         2011-07-19 change.
39763
39764         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39765         garbage value in a __mach_port_mod_refs call in the cases of the
39766         task-self and thread-self ports.
39767
39768 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39769
39770         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39771
39772 2011-09-08  Andreas Schwab  <schwab@redhat.com>
39773
39774         * elf/dl-load.c (lose): Check for non-null L.
39775
39776 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39777
39778         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39779
39780         * elf/dl-libc.c (dlerror_run): Pass back error code from
39781         dl_catch_error.
39782
39783         [BZ #13123]
39784         * elf/dl-load.c (lose): Free l_origin if it is valid.
39785
39786         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39787         names.
39788         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39789         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39790         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39791         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39792         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39793         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39794
39795 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39796
39797         * sysdeps/powerpc/fpu/e_hypot.c: New file.
39798         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39799         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39800         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39801         * sysdeps/powerpc/fpu/k_cosf.c: New file.
39802         * sysdeps/powerpc/fpu/k_sinf.c: New file.
39803         * sysdeps/powerpc/fpu/s_cosf.c: New file.
39804         * sysdeps/powerpc/fpu/s_sinf.c: New file.
39805         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39806         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39807
39808 2011-08-15  Alan Modra  <amodra@gmail.com>
39809
39810         [BZ #13092]
39811         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39812         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39813         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
39814         ppc_mcount to static-only-routines.
39815         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39816         __mcount_internal.
39817         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39818         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
39819
39820 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
39821
39822         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39823         for finite and infinity parameters.
39824
39825 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39826
39827         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39828         and add nop instructions for throughput optimization.
39829         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39830
39831 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
39832
39833         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39834         aligned copy for power7 with vector-scalar instructions.
39835         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39836
39837 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
39838
39839         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39840         AVX check.
39841
39842 2011-09-07  Andreas Schwab  <schwab@redhat.com>
39843
39844         [BZ #13144]
39845         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39846         last change.
39847
39848 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39849
39850         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39851         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39852         syscall wrapper around clock_gettime in __vdso_clock_gettime.
39853         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39854         clock_gettime.
39855
39856 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39857
39858         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39859         Forgot to demangle the pointer.
39860
39861         * sysdeps/i386/sysdep.h: Define atom_text_section.
39862         * sysdeps/x86_64/sysdep.h: Likewise.
39863         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39864         section with atom_text_section.
39865         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39866         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39867         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39868         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39869         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39870
39871         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39872         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39873         already be defined.  Change to take two parameters and don't assign
39874         result to variable.  Adjust all users.
39875         Define INTERNAL_GETTIME if not already defined.
39876         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39877         call.
39878         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39879         HAVE_CLOCK_GETTIME_VSYSCALL.
39880         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39881
39882         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39883         gettimeofday vsyscall, just use time.
39884
39885 2011-09-06  Andreas Schwab  <schwab@redhat.com>
39886
39887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39888         <errno.h>.
39889
39890 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39891
39892         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39893         syscall on x86-64.
39894         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39895         syscall.
39896         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39897         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39898         syscall if possible.
39899
39900 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39901
39902         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39903         e_ident.  Don't pass to find_mapsXX.
39904         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39905
39906 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39907
39908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39909         strchr-sse2-no-bsf strrchr-sse2-no-bsf
39910         * sysdeps/x86_64/multiarch/strchr.S: Update.
39911         Check bit_slow_BSF bit.
39912         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39913         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39914         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39915
39916 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39917
39918         [BZ #13134]
39919         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39920         before glibc 2.15.
39921         (tryshell): Define.
39922         (__spawni): Change last parameter to be flag.  Test
39923         SPAWN_XFLAGS_USE_PATH flag to use path or not.
39924         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39925         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39926         * posix/spawni.c: Likewise.
39927         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39928         * posix/spawnp.c: Likewise.  Change normal version to use
39929         SPAWN_XFLAGS_USE_PATH.
39930         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39931         SPAWN_XFLAGS_TRY_SHELL.
39932
39933         [BZ #13150]
39934         * posix/glob.h: Remove gcc 1.x support.
39935
39936         [BZ #13068]
39937         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39938
39939 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39940
39941         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39942         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39943         strrchr-sse2-bsf
39944         * sysdeps/i386/i686/multiarch/strchr.S: New file.
39945         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39946         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39947         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39948         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39949         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39950
39951 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39952
39953         * sysdeps/x86_64/wcscmp.S: New file.
39954
39955         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39956         wcscmp-c wcscmp-sse2
39957         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39958         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39959         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39960         * wcsmbs/wcscmp.c: Allow renaming.
39961
39962 2011-09-05  David S. Miller  <davem@davemloft.net>
39963
39964         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39965         stack slot, rather than the struct return pointer slot.
39966         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39967         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39969         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39970
39971 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39972
39973         * po/ja.po: Update from translation team.
39974
39975         [BZ #13144]
39976         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39977         kernel in 64-bit binaries.
39978
39979 2011-09-01  David S. Miller  <davem@davemloft.net>
39980
39981         * elf/elf.h (HWCAP_SPARC_*): Move to..
39982         * sysdeps/sparc/sysdep.h: this new file and add new values.
39983         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39984         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39985         _DL_HWCAP_COUNT to 24.
39986         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39987         entries.
39988         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39989         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39990         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39991         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39992         instead of magic constants.
39993         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39994
39995 2011-08-31  David S. Miller  <davem@davemloft.net>
39996
39997         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39998         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39999         Reimplement to do errno handling inline.
40000         (SYSCALL_ERROR_HANDLER): New macro.
40001         (__SYSCALL_STRING): Do not do errno handling in asm.
40002         (__CLONE_SYSCALL_STRING): Delete.
40003         (__INTERNAL_SYSCALL_STRING): Delete.
40004         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40005         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40006         (PSEUDO): Reimplement to do errno handling inline.
40007         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40008         (SYSCALL_ERROR_HANDLER): New macro.
40009         (__SYSCALL_STRING): Do not do errno handling in asm.
40010         (__CLONE_SYSCALL_STRING): Delete.
40011         (__INTERNAL_SYSCALL_STRING): Delete.
40012         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40013         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40014         i386.
40015         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40016         (inline_syscall*): Add 'err' argument.
40017         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40018         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40019         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40020         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40021
40022         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40023         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40024
40025 2011-08-30  Andreas Schwab  <schwab@redhat.com>
40026
40027         * elf/rtld.c (dl_main): Relocate objects in dependency order.
40028
40029 2011-08-29  Jiri Olsa <jolsa@redhat.com>
40030
40031         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40032         directive.
40033
40034 2011-08-24  David S. Miller  <davem@davemloft.net>
40035
40036         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40037
40038 2011-08-24  Andreas Schwab  <schwab@redhat.com>
40039
40040         * elf/Makefile: Add rules to build and run unload8 test.
40041         * elf/unload8.c: New file.
40042         * elf/unload8mod1.c: New file.
40043         * elf/unload8mod1x.c: New file.
40044         * elf/unload8mod2.c: New file.
40045         * elf/unload8mod3.c: New file.
40046
40047         * elf/dl-close.c (_dl_close_worker): Reset private search list if
40048         it wasn't used.
40049
40050 2011-08-23  David S. Miller  <davem@davemloft.net>
40051
40052         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40053         subtract stack bias.
40054         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40055         %sp not %fp in calculations.
40056         (_JMPBUF_UNWINDS_ADJ): Likewise.
40057
40058         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40059         (aio_suspend): Call it to force an exception region around the
40060         AIO_MISC_WAIT() invocation.
40061
40062 2011-08-23  Andreas Schwab  <schwab@redhat.com>
40063
40064         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40065         backslash.
40066
40067 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
40068
40069         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40070         protection macro.
40071         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40072         and <dl-machine.h>.
40073         (Elf64_FuncDesc): Remove.
40074
40075 2011-08-22  David S. Miller  <davem@davemloft.net>
40076
40077         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40078         sigaltstack check, add missing cfi directives.
40079         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40080         missing cfi directives, and sigaltstack handling.
40081
40082 2011-08-16  Andreas Schwab  <schwab@redhat.com>
40083
40084         [BZ #11724]
40085         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40086         object is seen twice.
40087         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40088
40089         * elf/Makefile (distribute): Add tst-initorder2.c.
40090         (tests): Add tst-initorder2.
40091         (modules-names): Add tst-initorder2a tst-initorder2b
40092         tst-initorder2c tst-initorder2d.  Add rules to build them.
40093         ($(objpfx)tst-initorder2.out): New rule.
40094         * elf/tst-initorder2.c: New file.
40095         * elf/tst-initorder2.exp: New file.
40096
40097 2011-08-22  Andreas Schwab  <schwab@redhat.com>
40098
40099         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40100
40101         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40102         dependencies back to end of function.
40103
40104         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40105         $(elfobjdir)/ld.so.
40106
40107 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
40108
40109         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40110         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40111         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40112         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40113         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40114         of __vdso_gettimeofday.
40115         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40116         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
40117         attribute_hidden.
40118         (_libc_vdso_platform_setup): Remove initialization of
40119         __vdso_gettimeofday and __vdso_time.
40120
40121 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40122
40123         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40124         and fgetc_unlocked.
40125         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40126         getc_unlocked.
40127
40128         * elf/dl-open.c (add_to_global): Report additions to the global scope
40129         for LD_DEBUG=scopes.
40130         (dl_open_worker): Also print scope of newly loaded dependencies.
40131         (_dl_show_scope): Indicate if there is no scope.
40132
40133         [BZ #13114]
40134         * stdio-common/Makefile (tests): Add bug24.
40135         * stdio-common/bug24.c: New file.
40136
40137 2011-08-19  Andreas Jaeger  <aj@suse.de>
40138
40139         [BZ #13114]
40140         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40141         non-existant file when using close-on-exec mode.
40142
40143 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40144
40145         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40146         the very first instruction.
40147
40148         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40149         the CFI state in the end.
40150         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40151         inclusion of dl-trampoline.h.
40152         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40153
40154 2011-08-19  Andreas Schwab  <schwab@redhat.com>
40155
40156         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40157         expectations for long double.
40158
40159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40160         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40161
40162 2011-08-14  David S. Miller  <davem@davemloft.net>
40163
40164         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40165         artificual limit depends upon the system page size.
40166
40167 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40168
40169         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40170         * resolv/Makefile: Define CFLAGS-libresolv.
40171
40172 2011-08-17  Andreas Schwab  <schwab@redhat.com>
40173
40174         * nss/makedb.c (compute_tables): Make variables used in nested
40175         function static.
40176
40177 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40178
40179         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40180         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40181         if buffer was too small.
40182
40183         * elf/pldd.c (main): Attach to all threads in the process.
40184         Rewrite /proc handling to use *at functions.
40185
40186 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
40187
40188         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40189         specifies first scope to show.
40190         (dl_open_worker): Update callers.  Move printing scope of new
40191         object to before the relocation.
40192         * elf/rtld.c (dl_main): Update _dl_show_scope call.
40193         * sysdeps/generic/ldsodefs.h: Update declaration.
40194
40195         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40196         string for the scope number.
40197
40198 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
40199
40200         * nscd/servicescache.c (cache_addserv): Make sure written is always
40201         initialized.
40202
40203 2011-08-14  Roland McGrath  <roland@hack.frob.com>
40204
40205         * sysdeps/i386/i486/bits/atomic.h
40206         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40207         statement expression, so as to suppress "set but not used" warning.
40208         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40209
40210         * string/strncat.c (STRNCAT): Use prototype definition.
40211
40212         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40213         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40214         -Iprograms here.
40215         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40216         (localedef-modules): Add localedef.
40217         (locale-modules): Add locale.
40218
40219         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40220         * elf/rtld.c (dl_main): Invert order of assignment in last change,
40221         to avoid a warning.
40222
40223 2011-08-14  David S. Miller  <davem@davemloft.net>
40224
40225         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40226         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40227
40228 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
40229
40230         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40231         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40232         * elf/rtld.c (dl_main): Set l_name of vDSO.
40233         Call _dl_show_scope when DL_DEBUG_SCOPES.
40234         (process_dl_debug): Recognize scopes flag and also set it for all.
40235         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40236         Declare _dl_show_scope.
40237
40238         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40239         (do_dlopen): Pass caller_dlopen to dl_open.
40240         (__libc_dlopen_mode): Initialize caller_dlopen.
40241
40242         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40243         of libc.  Make tolower call locale-independent.  Optimize a bit by
40244         using isdigit instead of isalnum.
40245         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40246
40247 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
40248
40249         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40250         was a dependency or dynamically loaded.
40251
40252 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
40253
40254         * intl/l10nflist.c: Allow architecture-specific pop function.
40255         * sysdeps/x86_64/l10nflist.c: New file.
40256
40257         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40258         classification.
40259
40260 2011-08-10  Andreas Schwab  <schwab@redhat.com>
40261
40262         * include/dirent.h: Add libc_hidden_proto for scandirat and
40263         scandirat64.  Don't declare __scandirat64.
40264         * dirent/scandirat.c: Add libc_hidden_def.
40265         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40266         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40267
40268 2011-08-10  David S. Miller  <davem@davemloft.net>
40269
40270         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40271         enum.
40272         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40273         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40274         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40275
40276 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
40277
40278         * Versions.def [libc]: Add GLIBC_2.15.
40279         * dirent/Makefile (routines): Add scandirat and scandirat64.
40280         * dirent/Versions [libc]: Export scandirat and scandirat64 for
40281         GLIBC_2.15.
40282         * dirent/dirent.h: Declare scandirat and scandirat64.
40283         * dirent/scandirat.c: New file.
40284         * dirent/scandirat64.c: New file.
40285         * sysdeps/wordsize-64/scandirat.c: New file.
40286         * sysdeps/wordsize-64/scandirat64.c: New file.
40287         * dirent/opendir.c: Define opendirat.
40288         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
40289         using scandirat.
40290         * dirent/scandir64.c: Adjust for scandir.c change.
40291         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
40292         __scandirat64, and __scandir_cancel_handler.
40293         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
40294         additional parameter and use openat instead of open (outside of ld.so).
40295         Add new __opendir as wrapper around __opendirat.
40296         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40297         here without requiring old scandirat implementation.
40298
40299 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
40300
40301         * dirent/scandir.c (cancel_handler): Renamed to
40302         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
40303         defined.  Adjust users.
40304         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40305         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40306
40307 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
40308
40309         * string/test-string.h (IMPL): Use __STRING to expand name and then
40310         stringify it.
40311
40312         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
40313         of cleanups.
40314
40315 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40316
40317         * string/Makefile: Update.
40318         (strop-tests): Append strncat.
40319         * string/test-wcscmp.c: New file.
40320         New comprehensive test for wcscmp.
40321         * string/test-strcmp.c: Update.
40322         (WIDE): New define.
40323
40324 2011-07-22  Andreas Schwab  <schwab@redhat.com>
40325
40326         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40327         line.
40328
40329 2011-07-26  Andreas Schwab  <schwab@redhat.com>
40330
40331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40332         encoding to ACE if AI_IDN.
40333
40334 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
40335
40336         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40337         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40338
40339 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40340
40341         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40342         Fix overflow bug in strncat.
40343         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40344
40345         * string/test-strncat.c: Update.
40346         Add new tests for checking overflow bugs.
40347
40348 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40349
40350         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40351         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40352         * sysdeps/i386/i686/multiarch/strcat.S: New file.
40353         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40354         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40355         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40356         * sysdeps/i386/i686/multiarch/strncat.S: New file.
40357         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40358         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40359
40360         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40361         (USE_AS_STRCAT): Define.
40362         Add strcat and strncat support.
40363         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40364
40365 2011-07-25  Andreas Schwab  <schwab@redhat.com>
40366
40367         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40368         __n bigger than INT_MAX+1.
40369         (__strncmp_g): Likewise.
40370
40371 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
40372
40373         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40374         * libio/stido.h: Likewise.
40375
40376         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40377         (AF_NFC): Define.
40378         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40379         (AF_NFC): Define.
40380
40381         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40382         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40383         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40384         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40385         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40386
40387         [BZ #13021]
40388         * scripts/test-installation.pl: Don't expect libnss_test1 to be
40389         installed.
40390
40391         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40392         typo.
40393         (_dl_x86_64_save_sse): Likewise.
40394
40395 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
40396
40397         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40398         OSXSAVE.
40399         (_dl_x86_64_save_sse): Likewise.
40400
40401         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40402
40403         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40404
40405 2011-07-21  Andreas Schwab  <schwab@redhat.com>
40406
40407         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40408         change.
40409         (_dl_x86_64_save_sse): Use correct AVX check.
40410
40411 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40412
40413         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40414         bug in strncpy/strncat.
40415         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40416
40417 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
40418
40419         * string/tester.c (test_strcat): Add tests for different alignments
40420         of source and destination.
40421         (test_strncat): Likewise.
40422
40423 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
40424
40425         [BZ #12852]
40426         * posix/glob.c (glob): Check passed in values before using them in
40427         expressions to avoid some overflows.
40428         (glob_in_dir): Likewise.
40429
40430         [BZ #13007]
40431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40432         check for AVX enablement so that we don't crash with old kernels and
40433         new hardware.
40434         * elf/tst-audit4.c: Add same checks here.
40435         * elf/tst-audit6.c: Likewise.
40436
40437         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40438
40439 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
40440
40441         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40442
40443 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
40444
40445         * po/cs.po: Update from translation team.
40446         * po/bg.po: Likewise.
40447
40448 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
40449
40450         * misc/sys/cdefs.h: Add support for const attribute.
40451         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40452         to gnu_dev_{major,minor,makedev} functions.
40453
40454 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
40455
40456         * intl/dcigettext.c (get_output_charset): Add missing bracket.
40457
40458 2011-07-20  Andreas Schwab  <schwab@redhat.com>
40459
40460         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40461         strlen results.
40462
40463 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40464
40465         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40466         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40467         register in order to avoid conflicts with the soft frame pointer
40468         being held in r11 when necessary.
40469         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40470         (INTERNAL_VSYSCALL_NCS): Likewise.
40471
40472 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
40473
40474         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40475         * elf/dl-fini.c (_dl_fini): Adjust caller.
40476         * elf/dl-close.c (_dl_close_worker): Likewise.
40477         * sysdeps/generic/ldsodefs.h: Adjust declaration.
40478
40479 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
40480
40481         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40482         "aux_cache->nlibs < 0".
40483
40484         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40485         in the reload-count case.
40486
40487 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40488
40489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40490         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40491         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40492         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40493         * sysdeps/x86_64/multiarch/strcat.S: New file.
40494         * sysdeps/x86_64/multiarch/strncat.S: New file.
40495         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40496         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40497         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40498         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40499         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40500         (USE_AS_STRCAT): Define.
40501         Add strcat and strncat support.
40502         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40503         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40504         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40505         * string/strncat.c: Update.
40506         (USE_AS_STRNCAT): Define.
40507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40508         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40509         and i7.
40510         * sysdeps/x86_64/multiarch/init-arch.h
40511         (bit_Prefer_PMINUB_for_stringop): New.
40512         (index_Prefer_PMINUB_for_stringop): Likewise.
40513         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40514         bit_Prefer_PMINUB_for_stringop.
40515
40516 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
40517
40518         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40519         buffer64.
40520         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40521         of casting of buffer.
40522         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40523         buffer32 and buffer64.
40524         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40525         writes instead of casting of buffer.
40526         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40527         buffer32.
40528         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40529         casting of buffer.
40530
40531 2011-07-19  Andreas Schwab  <schwab@redhat.com>
40532
40533         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40534
40535 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
40536
40537         * nscd/nscd.c (termination_handler): Don't do anything for a database
40538         if it has not yet been initialized.
40539
40540 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
40541
40542         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40543
40544 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
40545
40546         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40547
40548 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
40549
40550         * po/nl.po: Update from translation team.
40551         * po/sv.po: Likewise.
40552
40553 2011-07-16  Roland McGrath  <roland@hack.frob.com>
40554
40555         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40556         now disallowed by GCC.
40557
40558         * configure.in (use-default-link): Default to yes if a test -shared
40559         link meets our qualifications.
40560         * configure: Regenerated.
40561
40562         * config.make.in (output-format): New variable.
40563         * configure.in: Check for ld --print-output-format support.
40564         * configure: Regenerated.
40565         * Makerules ($(common-objpfx)format.lds)
40566         [$(output-format) != unknown]: Just use $(output-format),
40567         instead of the linker-script munging.
40568
40569 2011-07-14  Roland McGrath  <roland@hack.frob.com>
40570
40571         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40572         of $(common-objpfx)shlib.lds.
40573         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40574
40575         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40576         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40577
40578         * configure.in (-z relro check): Adjust test code to add a large
40579         writable data section after it.
40580         * configure: Regenerated.
40581
40582 2011-07-11  Roland McGrath  <roland@hack.frob.com>
40583
40584         * configure.in (-z relro check): Fix test code to make the variable
40585         truly const.
40586         * configure: Regenerated.
40587
40588 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
40589
40590         * nscd/nscd.h (struct traced_file): Define.
40591         (struct database_dyn): Remove inotify_descr, reset_res, and filename
40592         elements.  Add traced_files.
40593         (inotify_fd): Declare.
40594         (register_traced_file): Declare.
40595         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40596         (inotify_fd): Export.
40597         (resolv_conf_descr): Remove.
40598         (nscd_init): Move inotify descriptor creation to main.
40599         Don't register files for notification here.
40600         (register_traced_file): New function.
40601         (invalidate_cache): Don't use reset_res to determine whether to call
40602         res_init, go through the list of registered files.
40603         (main_loop_poll): The inotify descriptors are now stored in the
40604         structures for the traced files.
40605         (main_loop_epoll): Likewise
40606         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
40607         to __nss_disable_nscd.
40608         * nscd/cache.c (prune_cache): There is no single inotify descriptor
40609         for a database anymore.  Check the records for all the registered
40610         files instead.
40611         * nss/Makefile (libnss_files-routines): Add files-init.
40612         (libnss_db-routines): Add db-init.
40613         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40614         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40615         * nss/nss_db/db-init.c: New file.
40616         * nss/nss_files/files-init.c: New file.
40617         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
40618         __nss_lookup_function.
40619         (__nss_lookup_function): Call nss_load_library.
40620         (nss_load_all_libraries): New function.
40621         (__nss_disable_nscd): Take parameter with callback function for files
40622         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
40623         used for the cached services.
40624         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40625         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40626         options for features to all the files in nscd.
40627
40628         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40629
40630 2011-07-10  Roland McGrath  <roland@hack.frob.com>
40631
40632         * csu/elf-init.c (__libc_csu_init): Comment typo.
40633
40634 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
40635
40636         * po/pl.po: Update from translation team.
40637         * po/ja.po: Likewise.
40638         * po/ru.po: Likewise.
40639         * po/ko.po: Likewise.
40640         * po/fr.po: Likewise.
40641
40642 2011-07-09  Roland McGrath  <roland@hack.frob.com>
40643
40644         * configure.in (.ctors/.dtors header and trailer check):
40645         Use an empirical test on a built program.
40646         * configure: Regenerated.
40647
40648         * configure.in (-z relro check): Use an empirical test on a built DSO.
40649         Detect, but do not require, on ia64.
40650         * configure: Regenerated.
40651
40652         * configure.in (READELF): Find it with AC_CHECK_TOOL.
40653         Update tests that use readelf to use $READELF instead.
40654         * configure: Regenerated.
40655
40656 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
40657
40658         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40659         if the result is not used.
40660
40661 2011-07-05  Andreas Jaeger  <aj@suse.de>
40662
40663         [BZ#9696]
40664         * stdlib/tst-strtod.c: Add testcase.
40665
40666 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
40667
40668         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40669         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40670         The latter has a higher limit.  Take additional parameter to pass to
40671         the new function.
40672         (__pathconf): Pass file to __statfs_link_max.
40673         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40674         __statfs_link_max.
40675         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40676         __statfs_link_max.
40677
40678         [BZ #12868]
40679         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40680         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40681         Handle Lustre.
40682         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40683         (__statfs_filesize_max): Likewise.
40684         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40685
40686 2011-07-05  Andreas Jaeger  <aj@suse.de>
40687
40688         * resolv/res_comp.c (dn_skipname): Remove unused variable.
40689
40690 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
40691
40692         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40693         `status' variable.
40694         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40695         Likewise.
40696
40697 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
40698
40699         * Makefile (strop-tests): Add strncat.
40700         * string/test-strncat.c: New file.
40701
40702 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
40703
40704         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40705
40706 2011-06-21  Andreas Jaeger  <aj@suse.de>
40707
40708         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40709         Copy rule from iconvdata/Makefile.
40710
40711 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40712
40713         [BZ #12922]
40714         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40715         but no long options are defined, just return 'W'.
40716
40717 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
40718
40719         [BZ #9696]
40720         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40721
40722 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40723
40724         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40725         netgroups to read.
40726         (innetgr): Likewise.
40727
40728 2011-07-05  Roland McGrath  <roland@hack.frob.com>
40729
40730         * config.make.in (install_root): Default to $(DESTDIR).
40731
40732 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
40733
40734         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40735
40736 2011-07-02  Roland McGrath  <roland@hack.frob.com>
40737
40738         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40739
40740         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40741         containing directory rather than embedding absolute directory names.
40742
40743         * scripts/check-local-headers.sh: Rewritten using awk.
40744         Match by word, not by line.  Print error messages for matches.
40745         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40746
40747         * Makerules [shlib-lds-flags empty]:
40748         ($(common-objpfx)libc_pic.opts): New target.
40749         ($(common-objpfx)libc_pic.os.clean): New target.
40750         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40751
40752         * config.make.in (OBJCOPY): New variable.
40753         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40754         * configure: Regenerated.
40755
40756         * config.make.in (use-default-link): New variable.
40757         * configure.in (use_default_link): Grok --with-default-link to set it.
40758         * configure: Regenerated.
40759         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40760         (shlib-lds, shlib-lds-flags): Define to empty.
40761
40762         * Makerules (shlib-lds): New variable.
40763         (shlib-lds-flags): New variable.
40764         (build-shlib, build-moduile, build-module-asneeded): Use it.
40765         ($(common-objpfx)libc.so): Use $(shlib-lds).
40766         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40767         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40768
40769         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40770         DT_FLAGS/DT_FLAGS_1 with zero flags.
40771
40772         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40773         linker script munging.
40774
40775 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
40776
40777         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40778         as 128-bit value.
40779         * crypt/sha512.c (sha512_process_block): Perform total addition using
40780         128-bit if possible.
40781         (__sha512_finish_ctx): Likewise.
40782         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40783         as 64-bit value.
40784         * crypt/sha256.c (SWAP64): Define.
40785         (sha256_process_block): Perform total addition using 64-bit if
40786         possible.
40787         (__sha256_finish_ctx): Likewise.
40788
40789 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
40790
40791         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
40792         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40793         * nscd/hstcache.c (cache_addhst): Likewise.
40794         * nscd/grpcache.c (cache_addgr): Likewise.
40795         * nscd/aicache.c (addhstaiX): Likewise
40796         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40797
40798 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
40799
40800         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40802         * nscd/hstcache.c (cache_addhst): Likewise.
40803         * nscd/grpcache.c (cache_addgr): Likewise.
40804         * nscd/aicache.c (addhstaiX): Likewise
40805
40806 2011-07-01  Andreas Schwab  <schwab@redhat.com>
40807
40808         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40809         domain only when needed.
40810
40811 2011-06-30  Andreas Schwab  <schwab@redhat.com>
40812
40813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40814         is always restored.
40815
40816 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
40817
40818         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40819         are re-adding the entry.
40820         * nscd/servicescache.c (cache_addserv): Likewise.
40821
40822 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
40823
40824         * sysdeps/generic/dl-irel.h: fix protection against multiple
40825         inclusions.
40826         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40827
40828 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
40829
40830         [BZ #12935]
40831         * malloc/memusage.sh: Fix quoting in message.
40832         * debug/xtrace.sh: Likewise.
40833
40834         * configure.in: Remove support for --experimental-malloc option, make
40835         it the default.
40836         * config.make.in: Likewise.
40837         * malloc/Makefile: Likewise.
40838
40839 2011-06-27  Andreas Schwab  <schwab@redhat.com>
40840
40841         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40842         two-byte characters.
40843
40844 2011-06-27  Roland McGrath  <roland@hack.frob.com>
40845
40846         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40847         AC_CACHE_CHECK invocation.
40848         * configure: Regenerated.
40849
40850         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40851
40852 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
40853
40854         [BZ #12350]
40855         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
40856         bit from old_res_options.
40857
40858         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40859
40860         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40861         value type for setfct.
40862
40863 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
40864
40865         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40866         __gettimeofday instead of gettimeofday.
40867
40868 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
40869
40870         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40871
40872 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
40873
40874         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40875
40876         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40877         info.
40878
40879 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40880
40881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40882         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40883         strcpy-sse2-unaligned strncpy-sse2-unaligned
40884         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40885         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40886         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40887         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40888         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40889         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40890         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40891         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40892         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40893         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40894         (STRCPY): Support SSE2 and SSSE3 versions.
40895
40896 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
40897
40898         [BZ #12874]
40899         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40900         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40901         kernels which artificially limit size of requests.
40902
40903 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40904
40905         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40906         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40907         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40908         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40909         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40910         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40911         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40912         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40913         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40914         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40915         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40916         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40917         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40918         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40919         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40921         Enable unaligned load optimization for Intel Core i3, i5 and i7
40922         processors.
40923         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40924         Define.
40925         (index_Fast_Unaligned_Load): Define.
40926         (HAS_FAST_UNALIGNED_LOAD): Define.
40927
40928 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
40929
40930         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40931
40932 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40933
40934         [BZ #12907]
40935         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40936         until it is clear that the information is realy needed.
40937         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40938
40939 2011-06-22  Andreas Schwab  <schwab@redhat.com>
40940
40941         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40942
40943 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40944
40945         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40946         /sys/devices/system/cpu/online if it is usable.
40947
40948         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40949         reading the information from the /proc filesystem to once a second.
40950
40951 2011-06-21  Andreas Jaeger  <aj@suse.de>
40952
40953         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40954         NULL after inclusion of kernel headers.
40955
40956 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
40957
40958         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40959         calls to internal_setent.
40960
40961         [BZ #12885]
40962         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40963         addresses using gethostbyname4_r ignore IPv4 addresses.
40964
40965         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40966         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
40967
40968         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40969
40970 2011-06-20  David S. Miller  <davem@davemloft.net>
40971
40972         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40973         inclusions.
40974         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40975
40976         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40977         (elf_irel): Use it.
40978         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40979         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40980         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40981         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40982         * sysdeps/x86_64/dl-irel.h: Likewise.
40983
40984         * elf/dl-runtime.c: Use elf_ifunc_invoke.
40985         * elf/dl-sym.c: Likewise.
40986
40987 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40988
40989         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
40990         need to dereference resplen2.
40991
40992 2011-06-14  Andreas Schwab  <schwab@redhat.com>
40993
40994         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40995
40996 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40997
40998         * Makeconfig: Define vardbdir and inst_vardbdir.
40999         * nss/Makefile: Add rules to install db-Makefile.
41000
41001         * nss/nss_db/db-XXX.c: Cleanup.
41002
41003         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41004         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41005         GLIBC_PRIVATE.
41006         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41007         * nss/makedb.c: Implement -g option to specify that value strings
41008         are generated and should not be added to table iterated over for
41009         get*ent calls.
41010         * nss/nss_db/db-initgroups.c: New file.
41011
41012         * nss/getent.c: Add support for initgroups lookups through getgrouplist
41013         interface.
41014
41015         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41016         (internal_getgrouplist): Adjust to name change.
41017         Update use_initgroups_entry if this is not the first call.
41018         * nss/databases.def: Add initgroups entry.
41019
41020         * nss/makedb.c (compute_tables): Check result of multiple hash table
41021         sizes to minimize maximum chain length.
41022
41023 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
41024
41025         * Versions.def: Add entry for libnss_db.
41026         * shlib-versions: Likewise.
41027         * nss/Makefile: Add rules to build libnss_db.
41028         * nss/Versions: Add libnss_db information.  Organize libnss_files
41029         entries better.
41030         * nss/db-Makefile: Add gshadow support.  Change rules for the new
41031         makedb progra.  Some minor improvements to generate smaller files.
41032         * nss/nss_db/nss_db.h: Move NSS database header data structures to
41033         here from...
41034         * nss/makedb.c: ...here.
41035         Improve database format to be smaller and require less memory at
41036         runtime.
41037         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
41038         db anymore.
41039         * nss/nss_db/db-netgrp.c: Likewise.
41040         * nss/nss_db/db-open.c: Likewise.
41041         * nss/nss_files/flies-XXX.x: Adjust comments.
41042         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41043         * nss/nss_files/files-grp.c: Likewise.
41044         * nss/nss_files/files-hosts.c: Likewise.
41045         * nss/nss_files/files-network.c: Likewise.
41046         * nss/nss_files/files-proto.c: Likewise.
41047         * nss/nss_files/files-pwd.c: Likewise.
41048         * nss/nss_files/files-rpc.c: Likewise.
41049         * nss/nss_files/files-service.c: Likewise.
41050         * nss/nss_files/files-sgrp.c: Likewise.
41051         * nss/nss_files/files-spwd.c: Likewise.
41052         * nss/nss_db/db-alias.c: Removed.
41053         * nss/nss_db/dummy-db.h: Removed.
41054
41055 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
41056
41057         * nss/makedb.c: Rewritten to not use database library.
41058         * nss/Makefile: Update to build new makedb program.
41059
41060 2011-06-14  Andreas Jaeger  <aj@suse.de>
41061
41062         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41063         memset declaration.
41064
41065 2011-06-10  Andreas Schwab  <schwab@redhat.com>
41066
41067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41068         tmpbuf.
41069
41070 2011-06-10  Roland McGrath  <roland@hack.frob.com>
41071
41072         * Makerules (shlib.lds): Fail if the linker script comes out empty.
41073         * elf/Makefile ($(objpfx)ld.so): Likewise.
41074
41075         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41076         Don't list ld.so twice in dependencies.
41077
41078         * posix/bug-regex31.c: Include <stdlib.h>.
41079
41080         * nscd/hstcache.c (cache_addhst): Remove unused variable.
41081
41082         * nis/nss_compat/compat-spwd.c
41083         (getspent_next_nss_netgr): Remove unused variable.
41084         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41085
41086         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41087         nonmembers" output to use the right array.
41088
41089         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41090
41091         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41092
41093         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41094         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41095         * catgets/gencat.c (read_input_file): Likewise.
41096         * locale/programs/locarchive.c (enlarge_archive): Likewise.
41097
41098         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41099         variable definition inside #if's controlling its use.
41100
41101         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41102
41103         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41104
41105         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41106
41107         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41108         unreachable code.
41109
41110         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41111
41112         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41113         * configure: Regenerated.
41114
41115         * Makerules: Revert last change.
41116         * elf/Makefile: Likewise.
41117
41118 2011-06-09  Roland McGrath  <roland@hack.frob.com>
41119
41120         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41121         * elf/Makefile ($(objpfx)librtld.os): Likewise.
41122         (reloc-link): Likewise.
41123
41124 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
41125
41126         * elf/Makefile: Add rules to build pldd.
41127         * elf/pldd.c: New file.
41128         * elf/pldd-xx.c: New file.
41129
41130 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
41131
41132         * version.h: Update for 2.15 development version.
41133
41134 2011-06-07  David S. Miller  <davem@davemloft.net>
41135
41136         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41137         ifuncs.
41138         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41139         elf_machine_lazy_rel): Likewise.
41140         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41141         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41142         elf_machine_lazy_rel): Likewise.
41143         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41144         dl_hwcap via passed in argument.
41145         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41146         Likewise.
41147
41148 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41149
41150         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
41151
41152 2011-06-06  Roland McGrath  <roland@hack.frob.com>
41153
41154         [BZ #12849]
41155         * manual/fdl-1.1.texi: New file, verbatim from:
41156         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41157         * manual/lgpl-2.1.texi: New file, verbatim from:
41158         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41159         * manual/Makefile (licenses): New variable, list those new file names.
41160         (texis): Use it.
41161         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41162
41163         * manual/fdl.texi: File removed.
41164         * manual/lesser.texi: File removed.
41165         * manual/libc.texinfo (Copying, Documentation License):
41166         Use new @include file names, put @appendix directive before @include.
41167
41168 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
41169
41170         [BZ #12841]
41171         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41172         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41173         (mq_open): Add __NTH.
41174
41175 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
41176
41177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41178         Assume Intel Core i3/i5/i7 processor if AVX is available.
41179
41180 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41181
41182         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41183         typo.
41184
41185 2011-05-31  Andreas Schwab  <schwab@redhat.com>
41186
41187         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41188         memory.  Use alloca_account.  Fix memory leak when retrying.
41189
41190 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41191
41192         * version.h (RELEASE): Bump for 2.14 release.
41193         * include/features.h (__GLIBC_MINOR__): Bump to 14.
41194
41195         * config.make.in (RANLIB): Remove entry.
41196
41197 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
41198
41199         * po/Makefile (po-sed-cmd): Add ksh to extensions.
41200         (libc.pot): Work around missing support for .ksh extension in xgettext.
41201
41202         [BZ #12684]
41203         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41204         if both request failed.
41205         (send_dg): In case of server errors clear resplen or *resplen2.
41206
41207         [BZ #12454]
41208         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41209         when there are multiple maps.
41210         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41211         (_dl_fini): Remove test here.
41212
41213         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41214
41215 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
41216
41217         [BZ #12350]
41218         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41219         bit from old_res_options.
41220         (gaih_inet): Likewise.
41221
41222         [BZ #11099]
41223         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41224         as signed.
41225
41226         * resolv/res_init.c (res_setoptions): Make the code more compact.
41227
41228         [BZ #11558]
41229         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41230         set RES_USEVC.
41231
41232         [BZ #11634]
41233         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41234
41235         * malloc/malloc.h: Mark malloc hook variables as deprecated.
41236
41237         [BZ #11781]
41238         * malloc/malloc.h: Declare malloc hook variables as volatile.
41239
41240         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41241         in last patch.
41242
41243         [BZ #11799]
41244         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41245         raise in the comment.
41246         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41247         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41248         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41249
41250 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
41251
41252         [BZ #12811]
41253         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41254         grow the buffers more if it already has to be sufficient.
41255         (build_wcs_upper_buffer): Likewise.
41256         * posix/regexec.c (check_matching): Likewise.
41257         (clean_state_log_if_needed): Likewise.
41258         (extend_buffers): Don't enlarge buffers beyond size of the input
41259         buffer.
41260         Patches mostly by Emil Wojak <emil@wojak.eu>.
41261         * posix/bug-regex32.c: New file.
41262         * posix/Makefile (tests): Add bug-regex32.
41263
41264         * locale/findlocale.c (_nl_find_locale): Return right away if
41265         _nl_explode_name failed.
41266         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41267
41268         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41269
41270         * debug/xtrace.sh: Unify messages.
41271         * malloc/memusage.sh: Likewise.
41272
41273         [BZ #12813]
41274         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41275         time symbol from vDSO.  Substitute with vsyscall if not available.
41276         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41277         __vdso_time.
41278
41279         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41280         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41281         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41282         Add sendmmsg and internal_sendmmsg.
41283         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41284         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41285         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41286
41287         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41288         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41289         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41290
41291 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
41292
41293         [BZ #12813]
41294         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41295         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
41296         available.
41297         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41298         __vdso_getcpu.
41299
41300         [BZ #12814]
41301         * iconvdata/Makefile (tests): Add bug-iconv9.
41302         * iconvdata/bug-iconv9.c: New file.
41303
41304 2011-05-27  Andreas Schwab  <schwab@redhat.com>
41305
41306         [BZ #12814]
41307         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41308
41309 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
41310
41311         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41312         (struct user_regs_struct): Change intcs field back to cs.
41313
41314 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
41315
41316         * po/ja.po: Update from translation team.
41317
41318 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
41319
41320         [BZ #12795]
41321         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41322         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41323
41324 2011-05-20  Andreas Schwab  <schwab@redhat.com>
41325
41326         * stdlib/longlong.h: Update from GCC.
41327
41328 2011-05-23  Andreas Schwab  <schwab@redhat.com>
41329
41330         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41331         parameter name.
41332         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41333         Add parameter name.
41334         (__sysconf): Pass it down.
41335
41336 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
41337
41338         [BZ #12671]
41339         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41340         some situations.
41341         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41342         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41343         add in in __libc_use_alloca calls.  Adjust callers.
41344         (glob): Use malloc in some situations.
41345
41346         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41347         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41348         pltexit.
41349
41350 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
41351
41352         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41353         and CLOCK_BOOTTIME_ALARM.
41354
41355         [BZ #12782]
41356         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41357         is returned.
41358
41359         * string/_strerror.c (__strerror_r): Print negative errors as signed
41360         numbers.
41361
41362         [BZ #12777]
41363         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41364         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41365         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41366
41367         * configure.in: Fix typo in redirection and correct removal of test
41368         files in two cases.
41369
41370         [BZ #12788]
41371         * locale/setlocale.c (new_composite_name): Fix test to check for
41372         identical name of all categories.
41373
41374         [BZ #12792]
41375         * libio/filedoalloc.c (local_isatty): New function.
41376         (_IO_file_doallocate): Use local_isatty.
41377         * stdio-common/perror.c (perror): In case a new stream is used
41378         forward the stream error.
41379         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41380         error flag.
41381
41382 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
41383
41384         [BZ #11869]
41385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41386         alloca.
41387         * include/alloca.h (extend_alloca_account): Define.
41388
41389         [BZ #11857]
41390         * posix/regex.h: Fix comments with documentation of user-accessible
41391         fields after compilation and describe correct free'ing of pattern
41392         after re_compile_pattern.
41393         Patch by Reuben Thomas <rrt@sc3d.org>.
41394
41395 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
41396
41397         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41398         and -mno-altivec to prevent the compiler from using Altivec and/or
41399         VSX instructions when the corresponding registers are not available.
41400
41401 2011-05-19  Andreas Schwab  <schwab@redhat.com>
41402
41403         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41404
41405 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
41406
41407         * libio/freopen.c (freopen): Use __dup2, not dup2.
41408         * libio/freopen64.c (freopen64): Likewise.
41409
41410 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41411
41412         [BZ #12775]
41413         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41414         * math/Makefile (tests): Add test-powl.
41415         (CFLAGS-test-powl.c): Define.
41416         * math/test-powl.c: New file.
41417
41418 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41419
41420         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41421
41422 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
41423
41424         [BZ #11837]
41425         * iconvdata/gb18030.c: Update to GB18020-2005.
41426
41427 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
41428
41429         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41430         RE_SYNTAX_POSIX_AWK): Update to match recent development.
41431         Patch by Aharon Robbins <arnold@skeeve.com>.
41432
41433         [BZ #11892]
41434         * stdlib/putenv.c (putenv): Don't always create copy of the variable
41435         on the stack.
41436
41437         [BZ #11895]
41438         * misc/pselect.c (__pselect): Handle timeout value errors hidden
41439         through underflows.
41440
41441         [BZ #12766]
41442         * misc/error.c (error_at_line): Ensure file_name and old_file_name
41443         point to strings before performing equality test for error_one_per_line
41444         mode.
41445
41446         [BZ #11697]
41447         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41448
41449         [BZ #11820]
41450         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41451         (struct user_fpregs_struct): Avoid __uint*_t types.
41452
41453         [BZ #6420]
41454         * malloc/mtrace.c (tr_where): Add additional parameter to point to
41455         symbol info.  Use it instead of calling _dl_addr locally.
41456         (lock_and_info): New function.
41457         (tr_freehook): Call lock_and_info and pass symbol info as additional
41458         parameter to tr_where.
41459         (tr_mallochook): Likewise.
41460         (tr_reallochook): Likewise.
41461         (tr_memalignhook): Likewise.
41462
41463         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
41464         used and couldn't be at all thread-safe.
41465
41466 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
41467
41468         * libio/freopen.c (freopen): Don't close old file descriptor
41469         before the new one is opened.  Instead dup the new file descriptor
41470         to the old one after the new stream is created.
41471         * libio/freopen64.c (freopen64): Likewise.
41472         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41473         * libio/fileops.c (_IO_new_file_close_it): Handle new
41474         _IO_FLAGS2_NOCLOSE flag.
41475         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41476         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41477         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41478         _IO_FLAGS2_NOCLOSE flag.
41479         * include/unistd.h: Add hidden_proto for dup3.
41480         Define __have_dup3.
41481         * io/dup3.c: Define hidden symbol.
41482         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41483
41484         [BZ #7101]
41485         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41486         when an incomplete long option is used.
41487         * posix/tst-getopt_long1.c: New file.
41488         * posix/Makefile (tests): Add tst-getopt_long1.
41489
41490         [BZ #10138]
41491         * scripts/config.guess: Update from autoconf-2.68.
41492         * scripts/config.sub: Likewise.
41493
41494         [BZ #10157]
41495         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41496         tests into ...
41497         (has_cpuclock): ...this.  New function.
41498         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41499         macro here based on has_cpuclock code.
41500
41501         [BZ #10149]
41502         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41503         First byte (not low byte) is now always NUL.
41504         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41505
41506         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41507         Use non-cancelable interfaces.
41508
41509         [BZ #9809]
41510         * locale/iso-639.def: Add entry for Sorani.
41511
41512         [BZ #11901]
41513         * include/stdlib.h: Move include protection to the right place.
41514         Define abort_msg_s.  Declare __abort_msg with it.
41515         * stdlib/abort.c (__abort_msg): Adjust type.
41516         * assert/assert.c (__assert_fail_base): New function.  Majority
41517         of code from __assert_fail.  Allocate memory for __abort_msg with
41518         mmap.
41519         (__assert_fail): Now call __assert_fail_base.
41520         * assert/assert-perr.c: Remove bulk of implementation.  Use
41521         __assert_fail_base.
41522         * include/assert.hL Declare __assert_fail_base.
41523         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41524         mmap.
41525         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41526
41527 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
41528
41529         [BZ #11952]
41530         [BZ #12453]
41531         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41532         until all modules are registered in the DTV.
41533         * elf/Makefile: Add rules to build and run tst-tls19.
41534         * elf/tst-tls19.c: New file.
41535         * elf/tst-tls19mod1.c: New file.
41536         * elf/tst-tls19mod2.c: New file.
41537         * elf/tst-tls19mod3.c: New file.
41538         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41539
41540         [BZ #12083]
41541         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41542         correctly.
41543
41544         [BZ #12601]
41545         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41546         two-byte sequence errors.
41547         * iconvdata/Makefile (tests): Add bug-iconv8.
41548         * iconvdata/bug-iconv8.c: New file.
41549
41550         [BZ #12626]
41551         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41552         buf2 definition.
41553
41554         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41555
41556         [BZ #12432]
41557         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41558         (dummy_getcfa): New function.
41559         (init): Get _Unwind_GetCFA address, use dummy if not found.
41560         (backtrace_helper): In recursion check, also check whether CFA changes.
41561         (__backtrace): Completely initialize arg.
41562
41563         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41564         storing incomplete byte sequence in state object.  Avoid testing for
41565         guaranteed too small input if we know there is enough data available.
41566
41567 2011-05-11  Andreas Schwab  <schwab@redhat.com>
41568
41569         * Makeconfig (+link-pie): Indent.
41570         * Rules (binaries-pie): Define if $(have-fpie) and
41571         $(build-shared).
41572         (binaries-shared): Also filter out $(binaries-pie).
41573         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41574         * nscd/Makefile (others-pie): Add nscd.
41575         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41576         ($(objpfx)nscd): Remove command override.
41577         * login/Makefile (others-pie): Add pt_chown.
41578         ($(objpfx)pt_chown): Remove command override.
41579         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41580         remove command overrides.
41581
41582 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
41583
41584         * libio/tst_putwc.c: Fix error messages.
41585
41586         [BZ #12724]
41587         * libio/fileops.c (_IO_new_file_close_it): Always flush when
41588         currently writing and seek to current position when not.
41589         * libio/Makefile (tests): Add bug-fclose1.
41590         * libio/bug-fclose1.c: New file.
41591
41592 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
41593
41594         [BZ #12511]
41595         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41596         don't set DF_1_NODELETE here.
41597         (do_lookup_x): When entering new entry test for copy relocation
41598         and if necessary set DF_1_NODELETE flag.
41599         * elf/tst-unique4.cc: New file.
41600         * elf/tst-unique4.h: New file.
41601         * elf/tst-unique4lib.cc: New file.
41602         * elf/Makefile: Add rules to build and run tst-unique4.
41603         Patch by Piotr Bury <pbury@goahead.com>.
41604
41605 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
41606
41607         [BZ #12052]
41608         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41609
41610         [BZ #12625]
41611         * misc/mntent_r.c (addmntent): Flush the stream after the output
41612
41613         [BZ #12393]
41614         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41615         (is_trusted_path_normalize): Skip initial colon.  Append slash
41616         to empty buffer.  Duplicate is_trusted_path code but allow
41617         constructed patch to be prefix.
41618         (is_dst): Allow $ORIGIN followed by /.
41619         (_dl_dst_substitute): Correct clearing of check_for_trusted.
41620         Correct testing of result of is_trusted_path_normalize
41621         (decompose_rpath): Fix warning.
41622
41623 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
41624
41625         [BZ #11257]
41626         * grp/initgroups.c (internal_getgrouplist): When we found the service
41627         list through the initgroups entry in nsswitch.conf do not always
41628         continue on a successful lookup.  Don't always use the
41629         __nss_group_database value if it is set.
41630         * nss/nsswitch.conf (initgroups): Change action for successful db
41631         lookup to continue for compatibility.
41632
41633 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
41634
41635         [BZ #11532]
41636         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41637         and CP774 modules.
41638         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41639         and CP774 modules.
41640         * iconvdata/tst-tables.sh: Likewise.
41641         * iconvdata/cp770.c: New file.
41642         * iconvdata/cp771.c: New file.
41643         * iconvdata/cp772.c: New file.
41644         * iconvdata/cp773.c: New file.
41645         * iconvdata/cp774.c: New file.
41646         * iconvdata/testdata/CP770: New file.
41647         * iconvdata/testdata/CP770..UTF8: New file.
41648         * iconvdata/testdata/CP771: New file.
41649         * iconvdata/testdata/CP771..UTF8: New file.
41650         * iconvdata/testdata/CP772: New file.
41651         * iconvdata/testdata/CP772..UTF8: New file.
41652         * iconvdata/testdata/CP773: New file.
41653         * iconvdata/testdata/CP773..UTF8: New file.
41654         * iconvdata/testdata/CP774: New file.
41655         * iconvdata/testdata/CP774..UTF8: New file.
41656
41657         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41658         END CHARMAP line.
41659         * iconvdata/gen-8bit-gap.sh: Likewise.
41660         * iconvdata/gen-8bit.sh: Likewise.
41661
41662         * locale/iso-639.def: Add ary entry.
41663
41664         [BZ #11258]
41665         * locale/C-translit.h.in: Add U20A1 transliteration.
41666
41667         [BZ #12178]
41668         * locale/iso-639.def: Add wae entry.
41669         Patch by Kevin Bortis <bortis@translate-wae.ch>.
41670
41671         [BZ #12545]
41672         * locale/programs/localedef.c (construct_output_path): Use ssize_t
41673         for n.
41674
41675         [BZ #12711]
41676         * locale/C-translit.h.in: Add entry for U20B9.
41677         Patch by pravin.d.s@gmail.com.
41678
41679 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
41680
41681         [BZ #12713]
41682         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41683         ENAMETOOLONG use generic getcwd.
41684         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
41685         in rtld.  Use *stat64.
41686         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41687         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41688         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41689         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41690         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41691         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41692         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41693         __fstatat64 macros.
41694         * include/dirent.h: Add libc_hidden_proto for rewinddir.
41695         * dirent/rewinddir.c: Add libc_hidden_def.
41696         * sysdeps/mach/hurd/rewinddir.c: Likewise.
41697         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
41698
41699         * include/dirent.h (__alloc_dir): Add flags parameter.
41700         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41701         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41702         __alloc_dir.
41703         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
41704         from fdopendir if O_CLOEXEC is already set.
41705
41706 2011-03-15  Alan Modra  <amodra@gmail.com>
41707
41708         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41709         l_tls_firstbyte_offset non-zero.  Save padding offset in
41710         l_tls_firstbyte_offset for later use.
41711         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41712         freeing static tls block.
41713
41714 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
41715
41716         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41717         where #ifdef was intended.  The intent is to prevent ARG_MAX from
41718         being defined by the kernel headers.
41719
41720 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
41721
41722         [BZ #12734]
41723         * resolv/resolv.h: Define RES_NOTLDQUERY.
41724         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41725         no-tld-query and set RES_NOTLDQUERY.
41726         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41727         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41728         modern BIND to search name as TLD unless forbidden.
41729
41730 2011-05-07  Petr Baudis  <pasky@suse.cz>
41731             Ulrich Drepper  <drepper@gmail.com>
41732
41733         [BZ #12393]
41734         * elf/dl-load.c (fillin_rpath): Move trusted path check...
41735         (is_trusted_path): ...to here.
41736         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41737         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41738         using is_trusted_path_normalize() in setuid scripts.
41739
41740 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41741
41742         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41743         __BEGIN/__END_DECLS.
41744
41745 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
41746
41747         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41748         NSS_STATUS_NOTFOUND if no record was found.
41749
41750 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41751
41752         * sunrpc/Makefile (headers): Add rpc/netdb.h.
41753         (headers-not-in-tirpc): Remove rpc/netdb.h
41754         * resolv/netdb.h: Revert last change.
41755
41756 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41757
41758         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41759         circular dependency between libgcc.a and libc.a.
41760
41761 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41762
41763         * resolv/netdb.h: Don't include <rpc/netdb.h>.
41764         * nis/Makefile: Don't install rpcsvc/*.
41765         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41766         instead of <rpc/types.h>.
41767         (MAXHOSTNAMELEN): Define.
41768
41769 2011-05-03  Andreas Schwab  <schwab@redhat.com>
41770
41771         * elf/ldconfig.c (add_dir): Don't crash on empty path.
41772
41773 2011-04-28  Maciej Babinski  <mbabinski@google.com>
41774
41775         [BZ #12714]
41776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41777         gethostbyname4_r when IPv6 results are possible.
41778
41779 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
41780
41781         [BZ #12723]
41782         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41783         _PC_PIPE_BUF handling.
41784
41785 2011-04-30  Bruno Haible  <bruno@clisp.org>
41786
41787         [BZ #12717]
41788         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41789         * resolv/netdb.h (getnameinfo): Change type of flags parameter
41790         to 'int'.
41791         * inet/getnameinfo.c (getnameinfo): Likewise.
41792
41793 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
41794
41795         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41796         to groups setting in database lookup.
41797         * nss/nsswitch.conf: Add initgroups entry.
41798
41799 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
41800
41801         [BZ #12685]
41802         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41803         mode string.
41804         Patch by Eric Blake <eblake@redhat.com>.
41805
41806 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
41807
41808         * sunrpc/Makefile (need-export-routines): Add svc_run.
41809         (routines): Remove svc_run.
41810         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41811         * sunrpc/clnt_perr.c (clnt_perrno): Export.
41812         * sunrpc/svc_run.c (svc_run): Likewise.
41813         * sunrpc/svc_udp.c (svcudp_create): Likewise.
41814
41815 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
41816
41817         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41818         problem in reallocation in last patch.
41819
41820 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
41821
41822         * sunrpc/Makefile: Move inclusion of Rules.
41823
41824 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41825
41826         * nss/nss_files/files-initgroups.c: New file.
41827         * nss/Makefile (libnss_files-routines): Add files-initgroups.
41828         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41829         _nss_files_initgroups_dyn.
41830
41831 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
41832
41833         * elf/elf.h (R_ARM_IRELATIVE): Define.
41834
41835 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41836
41837         * po/ru.po: Update from translation team.
41838
41839 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41840
41841         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41842         dependencies.
41843
41844 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
41845
41846         [BZ #12653]
41847         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41848         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41849         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41850         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41851         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41852
41853 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
41854
41855         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41856         differing bytes.
41857         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41858         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41859         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41860
41861 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41862
41863         [BZ #12420]
41864         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41865         storing it.
41866         * stdlib/bug-getcontext.c: New file.
41867         * stdlib/Makefile: Add rules to build and run bug-getcontext.
41868
41869 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41870
41871         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41872         instructions into .machine "z9-109".
41873         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41874         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41875
41876 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41877
41878         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41879         between environment variables and auxiliary vector.
41880
41881 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
41882
41883         * Makefile: Add rules to build linkobj/libc.so.
41884         * include/libc-symbols.h: Define libc_hidden_nolink.
41885         * include/rpc/auth.h: Mark functions which are to be hidden.
41886         * include/rpc/auth_des.h: Likewise.
41887         * include/rpc/auth_unix.h: Likewise.
41888         * include/rpc/clnt.h: Likewise.
41889         * include/rpc/des_crypt.h: Likewise.
41890         * include/rpc/key_prot.h: Likewise.
41891         * include/rpc/pmap_clnt.h: Likewise.
41892         * include/rpc/pmap_prot.h: Likewise.
41893         * include/rpc/pmap_rmt.h: Likewise.
41894         * include/rpc/rpc_msg.h: Likewise.
41895         * include/rpc/svc.h: Likewise.
41896         * include/rpc/svc_auth.h: Likewise.
41897         * include/rpc/xdr.h: Likewise.
41898         * nis/Makefile: Link all DSOs against linkobj/libc.so.
41899         * nss/Makefile: Likewise.
41900         * sunrpc/Makefile: Don't install headers.  Build library with normal
41901         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
41902         * sunrpc/auth_des.c: Hide exported symbols by default, export some
41903         for the compat linking library.  Remove use of INTDEF/INTUSE.
41904         * sunrpc/auth_none.c: Likewise.
41905         * sunrpc/auth_unix.c: Likewise.
41906         * sunrpc/authdes_prot.c: Likewise.
41907         * sunrpc/authuxprot.c: Likewise.
41908         * sunrpc/clnt_gen.c: Likewise.
41909         * sunrpc/clnt_perr.c: Likewise.
41910         * sunrpc/clnt_raw.c: Likewise.
41911         * sunrpc/clnt_simp.c: Likewise.
41912         * sunrpc/clnt_tcp.c: Likewise.
41913         * sunrpc/clnt_udp.c: Likewise.
41914         * sunrpc/clnt_unix.c: Likewise.
41915         * sunrpc/des_crypt.c: Likewise.
41916         * sunrpc/des_soft.c: Likewise.
41917         * sunrpc/get_myaddr.c: Likewise.
41918         * sunrpc/key_call.c: Likewise.
41919         * sunrpc/key_prot.c: Likewise.
41920         * sunrpc/netname.c: Likewise.
41921         * sunrpc/pm_getmaps.c: Likewise.
41922         * sunrpc/pm_getport.c: Likewise.
41923         * sunrpc/pmap_clnt.c: Likewise.
41924         * sunrpc/pmap_prot.c: Likewise.
41925         * sunrpc/pmap_prot2.c: Likewise.
41926         * sunrpc/pmap_rmt.c: Likewise.
41927         * sunrpc/publickey.c: Likewise.
41928         * sunrpc/rpc_cmsg.c: Likewise.
41929         * sunrpc/rpc_common.c: Likewise.
41930         * sunrpc/rpc_dtable.c: Likewise.
41931         * sunrpc/rpc_prot.c: Likewise.
41932         * sunrpc/rpc_thread.c: Likewise.
41933         * sunrpc/rtime.c: Likewise.
41934         * sunrpc/svc.c: Likewise.
41935         * sunrpc/svc_auth.c: Likewise.
41936         * sunrpc/svc_authux.c: Likewise.
41937         * sunrpc/svc_raw.c: Likewise.
41938         * sunrpc/svc_run.c: Likewise.
41939         * sunrpc/svc_simple.c: Likewise.
41940         * sunrpc/svc_tcp.c: Likewise.
41941         * sunrpc/svc_udp.c: Likewise.
41942         * sunrpc/svc_unix.c: Likewise.
41943         * sunrpc/svcauth_des.c: Likewise.
41944         * sunrpc/xcrypt.c: Likewise.
41945         * sunrpc/xdr.c: Likewise.
41946         * sunrpc/xdr_array.c: Likewise.
41947         * sunrpc/xdr_float.c: Likewise.
41948         * sunrpc/xdr_intXX_t.c: Likewise.
41949         * sunrpc/xdr_mem.c: Likewise.
41950         * sunrpc/xdr_rec.c: Likewise.
41951         * sunrpc/xdr_ref.c: Likewise.
41952         * sunrpc/xdr_sizeof.c: Likewise.
41953         * sunrpc/xdr_stdio.c: Likewise.
41954
41955 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
41956
41957         [BZ #12650]
41958         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41959         * sysdeps/ia64/dl-tls.h: Likewise.
41960         * sysdeps/powerpc/dl-tls.h: Likewise.
41961         * sysdeps/s390/dl-tls.h: Likewise.
41962         * sysdeps/sh/dl-tls.h: Likewise.
41963         * sysdeps/sparc/dl-tls.h: Likewise.
41964         * sysdeps/x86_64/dl-tls.h: Likewise.
41965         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41966
41967 2011-03-14  Andreas Schwab  <schwab@redhat.com>
41968
41969         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41970         rpath element also skip the following colon.
41971         (expand_dynamic_string_token): Add is_path parameter and pass
41972         down to DL_DST_REQUIRED and _dl_dst_substitute.
41973         (decompose_rpath): Call expand_dynamic_string_token with
41974         non-zero is_path.  Ignore empty rpaths.
41975         (_dl_map_object_from_fd): Call expand_dynamic_string_token
41976         with zero is_path.
41977
41978 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
41979
41980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41981         Make cancelable.
41982
41983 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
41984
41985         [BZ #12655]
41986         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41987         Patch by Filipe David Manana <fdmanana@apache.org>.
41988
41989 2011-04-07  Andreas Schwab  <schwab@redhat.com>
41990
41991         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41992         Maintain aligned stack.
41993         (CHECK_RSP): Remove unused macro.
41994
41995 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
41996
41997         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41998         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41999
42000 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
42001
42002         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42003
42004         * include/features.h: Mention __USE_XOPEN2K8 in comment.
42005
42006 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
42007
42008         [BZ #12518]
42009         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42010         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42011         * sysdeps/x86_64/memmove.c: New file.
42012         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42013         (memcpy): Renamed to ...
42014         (__new_memcpy): This.
42015         (memcpy): Provide GLIBC_2_14 memcpy.
42016         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42017         (memcpy): Provide GLIBC_2_2_5 memcpy.
42018
42019 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42020
42021         [BZ #12631]
42022         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42023
42024 2011-03-30  Andreas Schwab  <schwab@redhat.com>
42025
42026         * misc/syncfs.c: New file.
42027         * misc/Makefile (routines): Add syncfs.
42028         * posix/unistd.h: Declare syncfs.
42029         * sysdeps/unix/syscalls.list: Add syncfs.
42030
42031 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42032
42033         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42034         open_by_handle_at.
42035         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42036         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42037         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42038         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42039         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42040         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42041         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42042
42043 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42044
42045         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42046         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42047         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42048         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42049         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42050         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42051         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42052
42053         * io/Makefile: Compile fallocate.c, fallocate64.c, and
42054         sync_file_range.c with -fexceptions.
42055         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42056         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42057         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42058         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42059         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42060         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42061         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42062         sync_file_range as cancellation point
42063         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
42064         now a wrapper around __call_sync_file_range with cancellation handling.
42065         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42066         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
42067         function name to __call_sync_file_range.
42068         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42069         Add call_sync_file_range.
42070
42071 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42072
42073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42074         bits/timex.h.
42075
42076 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42077
42078         * iconv/iconv.h: Fix typo in comment.
42079         * io/fcntl.h: Likewise.
42080         * libio/stdio.h: Likewise.
42081         * posix/spawn.h: Likewise.
42082         * posix/unistd.h: Likewise.
42083         * stdlib/stdlib.h: Likewise.
42084         * time/time.h: Likewise.
42085         * wcsmbs/wchar.h: Likewise.
42086
42087         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42088         open_by_handle): Add.
42089         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42090         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
42091         Augment a few comments.
42092         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42093         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42094         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42095         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42096         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42097         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42098         open_by_handle.
42099
42100         * io/fcntl.h (AT_EMPTY_PATH): Define.
42101
42102 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
42103
42104         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42105         * sysdeps/unix/sysv/linux/bits/time.h: New file.
42106         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42107         to...
42108         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
42109         * Versions.def: Add GLIBC_2.14.
42110         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42111         Export.
42112
42113 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
42114
42115         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42116         round counter.
42117         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42118
42119 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42120
42121         [BZ #12597]
42122         * string/test-strncmp.c (do_page_test): New function.
42123         (check2): Likewise.
42124         (test_main): Call check2.
42125         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42126
42127 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
42128
42129         [BZ #12587]
42130         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42131         Handle cache information in CPU leaf 4.
42132         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42133
42134 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
42135
42136         [BZ #12583]
42137         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42138         character representation.
42139         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42140
42141 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
42142
42143         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42144         END(__isnan) to END(__isnanf) to match function entry point/label
42145         EALIGN(__isnanf,...).
42146
42147 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
42148
42149         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42150
42151 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
42152
42153         [BZ #12510]
42154         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42155         copy from the symbol referenced in the relocation to initialize the
42156         used variable.
42157         Patch by Piotr Bury <pbury@goahead.com>.
42158         * elf/Makefile: Add rules to build and tst-unique3.
42159         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42160         * elf/tst-unique3.cc: New file.
42161         * elf/tst-unique3.h: New file.
42162         * elf/tst-unique3lib.cc: New file.
42163         * elf/tst-unique3lib2.cc: New file.
42164
42165         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42166
42167 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
42168
42169         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42170         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
42171         to _start.
42172
42173 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
42174
42175         * elf/dl-load.c (_dl_map_object): If we are looking for the first
42176         to-be-loaded object along a path to loader is ld.so.
42177
42178 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42179             Ulrich Drepper  <drepper@gmail.com>
42180
42181         * sysdeps/x86_64/memset.S: After aligning destination, code
42182         branches to different locations depending on the value of
42183         misalignment, when multiarch is enabled. Fix this.
42184
42185 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42186
42187         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42188         Set _x86_64_preferred_memory_instruction for AMD processsors.
42189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42190         Set bit_Prefer_SSE_for_memop for AMD processors.
42191
42192 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
42193
42194         * libio/fmemopen.c (fmemopen): Optimize a bit.
42195
42196 2011-03-03  Andreas Schwab  <schwab@redhat.com>
42197
42198         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42199
42200 2011-03-03  Roland McGrath  <roland@redhat.com>
42201
42202         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42203
42204 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
42205
42206         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42207         __bzero_ultra1 instead of __memset_ultra1.
42208
42209 2011-02-23  Andreas Schwab  <schwab@redhat.com>
42210             Ulrich Drepper  <drepper@gmail.com>
42211
42212         [BZ #12509]
42213         * include/link.h (struct link_map): Add l_orig_initfini.
42214         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42215         returning unsuccessfully.
42216         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42217         close of a file loaded at startup, restore the original l_initfini
42218         list.
42219         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42220         list, store the pointer.
42221         * elf/Makefile ($(objpfx)noload-mem): New rule.
42222         (noload-ENV): Define.
42223         (tests): Add $(objpfx)noload-mem.
42224         * elf/noload.c: Include <memcheck.h>.
42225         (main): Call mtrace.  Close all opened handles.
42226
42227 2011-02-17  Andreas Schwab  <schwab@redhat.com>
42228
42229         [BZ #12454]
42230         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42231         dependencies are missing.
42232
42233 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42234
42235         Fix __if_freereq crash: Unlike the generic version which uses free,
42236         Hurd needs munmap.
42237         * sysdeps/mach/hurd/ifreq.h: New file.
42238
42239 2011-01-27  Petr Baudis  <pasky@suse.cz>
42240             Ulrich Drepper  <drepper@gmail.com>
42241
42242         [BZ 12445]#
42243         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42244         to extend_alloca().
42245         * stdio-common/bug23.c: New file.
42246         * stdio-common/Makefile (tests): Add bug23.
42247
42248 2010-09-28  Andreas Schwab  <schwab@redhat.com>
42249             Ulrich Drepper  <drepper@gmail.com>
42250
42251         [BZ #12489]
42252         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42253         before performing relro protection.  At old place add assertion
42254         to make sure nothing changed.
42255
42256 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
42257             Glauber de Oliveira Costa  <glommer@gmail.com>
42258
42259         * elf/elf.h: Add new ARM TLS relocs.
42260
42261 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
42262
42263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42264         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42265         cast from r3.
42266         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
42267         'tests' variable.
42268         * sysdeps/wordsize-64/tst-writev.c: New file.
42269
42270 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
42271
42272         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42273         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42274         insns in _dl_start to prevent a TOC reference before relocs are
42275         resolved.
42276
42277 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
42278
42279         [BZ #12469]
42280         * Makeconfig: Remove RANLIB definition.
42281         * Makerules: Don't use RANLIB.
42282         * aclocal.m4: Remove ranlib test.
42283         * configure.in: No need to check for ranlib.
42284         * elf/rtld-Rules: Don't use RANLIB.
42285
42286 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42287
42288         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42289         protection macro.
42290         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42291         inclusion protection macro.
42292
42293         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42294         SIGRTMIN and SIGRTMAX and print information in that case only when
42295         SIGRTMIN is defined.
42296
42297 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
42298
42299         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42300         arginfo fn returning -1.
42301
42302         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42303         and thousands string is zero terminated.
42304
42305 2011-02-03  Andreas Schwab  <schwab@redhat.com>
42306
42307         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42308         sysdeps/unix/sysv/linux/bits/socket.h.
42309
42310 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42311
42312         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42313         (__CPU_COUNT): Remove old macros.
42314         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42315         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42316         (__CPU_ALLOC, __CPU_FREE): Add macros.
42317         (__sched_cpualloc, __sched_cpufree): Add declarations.
42318
42319 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
42320
42321         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42322         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42323         * nscd/aicache.c (addhstaiX): Return timeout of added value.
42324         (readdhstai): Return value of addhstaiX call.
42325         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42326         (addgrbyX): Return value returned by cache_addgr.
42327         (readdgrbyname): Return value returned by addgrbyX.
42328         (readdgrbygid): Likewise.
42329         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42330         (addpwbyX): Return value returned by cache_addpw.
42331         (readdpwbyname): Return value returned by addhstbyX.
42332         (readdpwbyuid): Likewise.
42333         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42334         (addservbyX): Return value returned by cache_addserv.
42335         (readdservbyname): Return value returned by addservbyX:
42336         (readdservbyport): Likewise.
42337         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42338         (addhstbyX): Return value returned by cache_addhst.
42339         (readdhstbyname): Return value returned by addhstbyX.
42340         (readdhstbyaddr): Likewise.
42341         (readdhstbynamev6): Likewise.
42342         (readdhstbyaddrv6): Likewise.
42343         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42344         (readdinitgroups): Return value returned by addinitgroupsX.
42345         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42346         (prune_cache): Keep track of timeout value of re-added entries.
42347         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42348         * nscd/nscd.h: Adjust prototypes of readd* functions.
42349
42350 2011-02-04  Roland McGrath  <roland@redhat.com>
42351
42352         * nis/nis_server.c (nis_servstate): Use the right name for 0.
42353         (nis_stats): Likewise.
42354         * nis/nis_modify.c (nis_modify): Likewise.
42355         * nis/nis_remove.c (nis_remove): Likewise.
42356         * nis/nis_add.c (nis_add): Likewise.
42357
42358         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42359
42360         * posix/fnmatch_loop.c: Add some consts.
42361
42362         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42363
42364 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
42365
42366         [BZ #12460]
42367         * config.make.in (config-cflags-novzeroupper): Define.
42368         * configure.in: Substitute libc_cv_cc_novzeroupper.
42369         * elf/Makefile (AVX-CFLAGS): Define.
42370         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42371         (CFLAGS-tst-auditmod4a.c): Likewise.
42372         (CFLAGS-tst-auditmod4b.c): Likewise.
42373         (CFLAGS-tst-auditmod6b.c): Likewise.
42374         (CFLAGS-tst-auditmod6c.c): Likewise.
42375         (CFLAGS-tst-auditmod7b.c): Likewise.
42376         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42377
42378 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
42379
42380         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42381         function to the callback.
42382         Patch partly by Jiri Olsa <jolsa@redhat.com>.
42383
42384 2011-02-02  Andreas Schwab  <schwab@redhat.com>
42385
42386         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42387         of errno.
42388
42389 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
42390
42391         [BZ #11724]
42392         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42393         of constructors.
42394         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42395         of destructors.
42396         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42397
42398         [BZ #11724]
42399         * elf/Makefile: Add rules to build and run new test.
42400         * elf/tst-initorder.c: New file.
42401         * elf/tst-initorder.exp: New file.
42402         * elf/tst-initordera1.c: New file.
42403         * elf/tst-initordera2.c: New file.
42404         * elf/tst-initordera3.c: New file.
42405         * elf/tst-initordera4.c: New file.
42406         * elf/tst-initorderb1.c: New file.
42407         * elf/tst-initorderb2.c: New file.
42408         * elf/tst-order-a1.c: New file.
42409         * elf/tst-order-a2.c: New file.
42410         * elf/tst-order-a3.c: New file.
42411         * elf/tst-order-a4.c: New file.
42412         * elf/tst-order-b1.c: New file.
42413         * elf/tst-order-b2.c: New file.
42414         * elf/tst-order-main.c: New file.
42415         New test case by George Gensure <werkt0@gmail.com>.
42416
42417 2010-10-01  Andreas Schwab  <schwab@redhat.com>
42418
42419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42420         decoding ACE if AI_CANONIDN.
42421
42422 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
42423
42424         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42425
42426 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
42427
42428         * version.h (RELEASE): Bump for 2.13 release.
42429         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42430
42431         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42432
42433         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42434         MADV_NOHUGEPAGE.
42435         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42436         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42437         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42438         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42439         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42440         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42441
42442         * posix/getconf.c: Update copyright year.
42443         * catgets/gencat.c: Likewise.
42444         * csu/version.c: Likewise.
42445         * debug/catchsegv.sh: Likewise.
42446         * debug/xtrace.sh: Likewise.
42447         * elf/ldconfig.c: Likewise.
42448         * elf/ldd.bash.in: Likewise.
42449         * elf/sprof.c (print_version): Likewise.
42450         * iconv/iconv_prog.c: Likewise.
42451         * iconv/iconvconfig.c: Likewise.
42452         * locale/programs/locale.c: Likewise.
42453         * locale/programs/localedef.c: Likewise.
42454         * malloc/memusage.sh: Likewise.
42455         * malloc/mtrace.pl: Likewise.
42456         * nscd/nscd.c (print_version): Likewise.
42457         * nss/getent.c: Likewise.
42458
42459         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42460         PF_CAIF, and PF_ALG.
42461         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42462
42463 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
42464
42465         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42466         (modules-names): Use them.
42467         (ifunc-test-modules, ifunc-pie-tests): Define.
42468         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42469         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42470         (test-extras): Likewise.
42471         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42472         $(compile-command.c).
42473         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42474         (all-built-dso): Define.
42475         (check-textrel.out, check-execstack.out): Depend on it.
42476
42477         * configure.in: Don't override --enable-multi-arch.
42478
42479 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
42480
42481         [BZ #6812]
42482         * nscd/hstcache.c (tryagain): Define.
42483         (cache_addhst): Return tryagain not notfound for temporary errors.
42484         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42485         failed.
42486
42487 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
42488
42489         [BZ #10563]
42490         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42491         to make the syscall.
42492         * sysdeps/unix/sysv/linux/setgroups.c: New file.
42493
42494         [BZ #12378]
42495         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42496         and fall back to matching as normal character if the string ends before
42497         the matching ']' is found.  This is what POSIX requires.
42498         * posix/testfnm.c: Adjust test result.
42499         * posix/globtest.sh: Adjust test result.  Add new test.
42500         * posix/tst-fnmatch.input: Likewise.
42501         * posix/tst-fnmatch2.c: Add new test.
42502
42503 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
42504
42505         * elf/Makefile (check-execstack): Revert last change.  Depend on
42506         check-execstack.h.
42507         (check-execstack.h): New target.
42508         (generated): Add check-execstack.h.
42509         * elf/check-execstack.c: Include "check-execstack.h".
42510         (main): Revert last change.
42511         (handle_file): Return zero if GNU_STACK is absent and
42512         DEFAULT_STACK_PERMS doesn't include PF_X.
42513
42514 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
42515
42516         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42517         in child fails because the descriptor is already closed.
42518         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42519         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42520         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42521
42522         [BZ #12397]
42523         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42524         syscall.
42525
42526         [BZ #10484]
42527         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42528         temporary buffer used to handle multi lookups locally.
42529         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42530
42531 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
42532
42533         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42534         loader is ld.so.
42535
42536 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
42537
42538         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42539         alignment for SSE2.
42540
42541 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
42542
42543         [BZ #12394]
42544         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42545         characters.  When rounding increased number of integer digits recompute
42546         number of groups.
42547         * stdio-common/tst-grouping.c: New file.
42548         * stdio-common/Makefile: Add rules to build and run tst-grouping.
42549
42550 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
42551
42552         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42553         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
42554
42555         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42556         void.
42557         * bits/select.h: Likewise.
42558
42559 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
42560
42561         * po/ja.po: Update from translation team.
42562
42563 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
42564
42565         [BZ #11155]
42566         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42567         implementation just like for lxstat, fxstatat, et al.
42568
42569 2010-12-27  Jim Meyering  <meyering@redhat.com>
42570
42571         [BZ #12348]
42572         * posix/regexec.c (build_trtable): Return failure indication upon
42573         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
42574
42575 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
42576
42577         [BZ #12201]
42578         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42579         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42580         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42581         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42582
42583         [BZ #12207]
42584         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42585
42586         [BZ #12204]
42587         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42588         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42589
42590 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
42591
42592         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42593         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42594         script has SORT_BY_INIT_PRIORITY.
42595         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42596         NO_CTORS_DTORS_SECTIONS is defined.
42597         * elf/soinit.c: Likewise.
42598         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42599         NO_CTORS_DTORS_SECTIONS is defined.
42600         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42601         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42602         * sysdeps/sh/init-first.c: Likewise.
42603         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42604
42605 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
42606
42607         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42608         always use the slow path.
42609
42610 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
42611
42612         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42613         similar rule which adds the sysdep directories to the header search in
42614         order to pick up the correct platform stackinfo.h.
42615         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42616         perform test if it is, otherwise return successfully without testing.
42617         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42618         DEFAULT_STACK_PERMS define in stackinfo.h.
42619         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42620         defined in stackinfo.h.
42621         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42622         DEFAULT_STACK_PERMS defined in stackinfo.h.
42623         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42624         * sysdeps/ia64/stackinfo.h: Likewise.
42625         * sysdeps/s390/stackinfo.h: Likewise.
42626         * sysdeps/sh/stackinfo.h: Likewise.
42627         * sysdeps/sparc/stackinfo.h: Likewise.
42628         * sysdeps/x86_64/stackinfo.h: Likewise.
42629         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42630         PF_X for powerpc64.  Retain PF_X for powerpc32.
42631
42632 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
42633
42634         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42635         accurately.
42636         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42637         GETDENTS_64BIT_ALIGNED.
42638
42639 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
42640
42641         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42642
42643 2010-12-10  Andreas Schwab  <schwab@redhat.com>
42644
42645         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42646         _GNU_SOURCE.
42647
42648         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42649         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42650         Remove __restrict.
42651         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42652         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42653
42654 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
42655
42656         [BZ #11655]
42657         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42658         are initialized.
42659
42660 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
42661
42662         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42663
42664 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
42665
42666         * po/it.po: Update from translation team.
42667
42668 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
42669
42670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42671         unused codes.
42672
42673 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
42674
42675         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42676
42677 2010-11-24  Andreas Schwab  <schwab@redhat.com>
42678
42679         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42680         specially.
42681         (gaih_getanswer_slice): Likewise.
42682
42683 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
42684
42685         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42686
42687 2010-05-31  Petr Baudis  <pasky@suse.cz>
42688
42689         [BZ #11149]
42690         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42691         silently even in the chroot mode.
42692
42693 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
42694
42695         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42696         last patch a bit.  Pretty printing
42697
42698 2010-05-31  Petr Baudis <pasky@suse.cz>
42699
42700         [BZ #10085]
42701         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42702         initialization of skip_initgroups_dyn.
42703
42704 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
42705
42706         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42707         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42708
42709 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
42710
42711         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42712
42713 2010-11-11  Andreas Schwab  <schwab@redhat.com>
42714
42715         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42716         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42717         (tst-fnmatch-ENV): Set MALLOC_TRACE.
42718         ($(objpfx)tst-fnmatch-mem): New rule.
42719         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42720         * posix/tst-fnmatch.c (main): Call mtrace.
42721
42722 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
42723
42724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42725         Support Intel processor model 6 and model 0x2c.
42726
42727 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
42728
42729         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42730           signed comparison.
42731
42732 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
42733
42734         [BZ #12205]
42735         * string/test-strncasecmp.c (check_result): New function.
42736         (do_one_test): Use it.
42737         (check1): New function.
42738         (test_main): Use it.
42739         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42740         Support strcasecmp and strncasecmp.
42741
42742 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
42743
42744         [BZ #12194]
42745         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42746         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42747
42748 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42749
42750         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42751         IFUNC support.
42752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42753         memset-x86-64.
42754         * sysdeps/x86_64/multiarch/bzero.S: New file.
42755         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42756         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42757         * sysdeps/x86_64/multiarch/memset.S: New file.
42758         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42760         Set bit_Prefer_SSE_for_memop for Intel processors.
42761         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42762         Define.
42763         (index_Prefer_SSE_for_memop): Define.
42764         (HAS_PREFER_SSE_FOR_MEMOP): Define.
42765
42766 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
42767
42768         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42769         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42770
42771 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
42772
42773         [BZ #12191]
42774         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42775         (__x86_64_raw_data_cache_size_half): Likewise.
42776         (__x86_64_raw_shared_cache_size): Likewise.
42777         (__x86_64_raw_shared_cache_size_half): Likewise.
42778
42779         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42780         (__x86_64_raw_data_cache_size_half): Likewise.
42781         (__x86_64_raw_shared_cache_size): Likewise.
42782         (__x86_64_raw_shared_cache_size_half): Likewise.
42783         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42784         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42785         and __x86_64_raw_shared_cache_size_half.  Round
42786         __x86_64_data_cache_size_half, __x86_64_data_cache_size
42787         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42788         to multiple of 256 bytes.
42789
42790 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
42791
42792         [BZ #12167]
42793         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42794         of inacessible symlinks.  Verify result of symlink before returning it.
42795         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42796         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42797
42798 2010-10-28  Erich Ritz  <erichritz@gmail.com>
42799
42800         * math/math.h (isinf): Fix typo in comment.
42801
42802 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
42803
42804         * po/da.po: Update from translation team.
42805
42806 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
42807
42808         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42809         is added to the list.
42810
42811 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42812             Ulrich Drepper  <drepper@gmail.com>
42813
42814         * elf/dl-object.c (_dl_new_object): Don't append the new object to
42815         the global list here.  Move code to...
42816         (_dl_add_to_namespace_list): ...here.  New function.
42817         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42818         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42819         * elf/dl-load.c (lose): Don't remove the element from the list.
42820         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42821         (_dl_map_object): Likewise.
42822
42823 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
42824
42825         [BZ #12159]
42826         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42827         into all bytes of SSE register.
42828         Patch by Richard Li <richardpku@gmail.com>.
42829
42830 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
42831
42832         [BZ #12140]
42833         * malloc/malloc.c (_int_free): Fill correct number of bytes when
42834         perturbing.
42835
42836 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
42837
42838         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42839         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42840         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42841         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42843         submachine.
42844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42845
42846 2010-10-22  Andreas Schwab  <schwab@redhat.com>
42847
42848         * include/dlfcn.h (__RTLD_SECURE): Define.
42849         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
42850         mode & __RTLD_SECURE instead.
42851         (open_path): Rename preloaded parameter to secure.
42852         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42853         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42854         * elf/dl-deps.c (openaux): Likewise.
42855         * elf/rtld.c (struct map_args): Remove is_preloaded.
42856         (map_doit): Don't use it.
42857         (dl_main): Likewise.
42858         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42859         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42860
42861 2010-09-09  Andreas Schwab  <schwab@redhat.com>
42862
42863         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42864         (sysd-rules-targets): Remove duplicates.
42865         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42866         rtld-%.$o dependency.
42867
42868 2010-10-18  Andreas Schwab  <schwab@redhat.com>
42869
42870         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42871         _dl_map_object do it.
42872
42873 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
42874
42875         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42876         fast fma builtins, define the macros in the C99 standard.
42877         (FP_FAST_FMAF): Likewise.
42878         (FP_FAST_FMAL): Likewise.
42879         * sysdeps/x86_64/bits/mathdef.h: Likewise.
42880
42881         * bits/mathdef.h: Update copyright year.
42882         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42883
42884 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
42885
42886         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42887         builtins, define the macros in the C99 standard.
42888         (FP_FAST_FMAF): Likewise.
42889         (FP_FAST_FMAL): Likewise.
42890         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42891         multiply/add.
42892         (FP_FAST_FMAF): Likewise.
42893
42894 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
42895
42896         [BZ #3268]
42897         * math/libm-test.inc (fma_test): Some new testcases.
42898         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42899         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42900         y and infinite z.  Do multiplication by C already in long double.
42901         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42902         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42903         y and infinite z.  Do bitwise or of inexact bit into u.d.
42904         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42905         * sysdeps/i386/fpu/s_fmaf.S: Removed.
42906         * sysdeps/i386/fpu/s_fma.S: Removed.
42907         * sysdeps/i386/fpu/s_fmal.S: Removed.
42908
42909 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
42910
42911         [BZ #3268]
42912         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42913         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42914         computation is not scheduled after fetestexcept.  Fix value
42915         of minimum denormal long double.
42916
42917 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
42918
42919         [BZ #3268]
42920         * math/libm-test.inc (fma_test): Add some more tests.
42921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42922         correctly.
42923
42924 2010-10-15  Andreas Schwab  <schwab@redhat.com>
42925
42926         * scripts/data/localplt-s390-linux-gnu.data: New file.
42927         * scripts/data/localplt-s390x-linux-gnu.data: New file.
42928
42929 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
42930
42931         [BZ #3268]
42932         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42933         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42934         instead of dbl-64.
42935         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42936         inlines.
42937         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42939         if one of x and y is very large and the other is subnormal.
42940         * sysdeps/s390/fpu/s_fmaf.c: New file.
42941         * sysdeps/s390/fpu/s_fma.c: New file.
42942         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42943         * sysdeps/powerpc/fpu/s_fma.S: New file.
42944         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42945         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42946         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42947
42948 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
42949
42950         [BZ #3268]
42951         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42952         fma tests.
42953         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42954         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42955         * sysdeps/i386/i686/multiarch/s_fma.c: Include
42956         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42957         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42958         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42959         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42960
42961 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
42962
42963         [BZ #12078]
42964         * posix/regcomp.c (parse_branch): One more memory leak plugged.
42965         * posix/bug-regex31.input: Add test case.
42966
42967 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42968
42969         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42970         * posix/bug-regex31.input: New file.
42971
42972         [BZ #12078]
42973         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42974         (parse_sub_exp): Fix last change, use postorder.
42975
42976         * posix/bug-regex31.c: New file.
42977         * posix/Makefile: Add rules to build and run bug-regex31.
42978
42979         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42980
42981         [BZ #12078]
42982         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42983
42984         [BZ #12108]
42985         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42986         to have entries in sys_siglist.
42987
42988         [BZ #12093]
42989         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42990         be NULL.
42991
42992 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
42993
42994         [BZ #3268]
42995         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42996         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42997         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42998         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42999         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43000         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43001         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43002         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43003         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43004         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43005         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43006         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43007         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43008         * math/ftestexcept.c (fetestexcept): Likewise.
43009         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43010         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43011         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43012         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43013         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43014         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43015         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43016
43017 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43018
43019         [BZ #12107]
43020         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43021         newline.
43022
43023 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
43024
43025         * string/bug-strstr1.c: New file.
43026         * string/Makefile: Add rules to build and run bug-strstr1.
43027
43028 2010-10-05  Eric Blake  <eblake@redhat.com>
43029
43030         [BZ #12092]
43031         * string/str-two-way.h (two_way_long_needle): Always clear memory
43032         when skipping input due to the shift table.
43033
43034 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
43035
43036         [BZ #12005]
43037         * malloc/mcheck.c: Handle large requests.
43038
43039         [BZ #12077]
43040         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43041         for strncmp and strncasecmp.
43042         * string/stratcliff.c: Add tests for strcmp and strncmp.
43043         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43044
43045 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43046
43047         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43048         __set_fpscr.
43049
43050 2010-09-30  Andreas Jaeger  <aj@suse.de>
43051
43052         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43053         (CGROUP_SUPER_MAGIC): Define.
43054         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43055         Handle btrfs and cgroup file systems.
43056         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43057         Likewise.
43058
43059 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
43060
43061         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43062         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43063
43064 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43065
43066         [BZ #12067]
43067         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43068         trying to locate the ELF header.
43069
43070 2010-09-27  Andreas Schwab  <schwab@redhat.com>
43071
43072         [BZ #11611]
43073         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43074         Mask out sign-bit copies when constructing f_fsid.
43075
43076 2010-09-24  Petr Baudis <pasky@suse.cz>
43077
43078         * debug/stack_chk_fail_local.c: Add missing licence exception.
43079         * debug/warning-nop.c: Likewise.
43080
43081 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
43082
43083         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43084         implementing getdents64 using getdents syscall, set d_type if
43085         __ASSUME_GETDENTS32_D_TYPE.
43086
43087 2010-09-16  Andreas Schwab  <schwab@redhat.com>
43088
43089         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43090         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43091
43092 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
43093
43094         [BZ #12037]
43095         * posix/unistd.h: Undo change of feature selection for ftruncate from
43096         2010-01-11.
43097
43098 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
43099
43100         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43101         detection.
43102
43103 2010-09-20  Andreas Schwab  <schwab@redhat.com>
43104
43105         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43106         fanotify_mark.
43107         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43108
43109 2010-09-14  Andreas Schwab  <schwab@redhat.com>
43110
43111         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43112         variables after CHECK_SP call.
43113         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43114
43115 2010-09-13  Andreas Schwab  <schwab@redhat.com>
43116             Ulrich Drepper  <drepper@redhat.com>
43117
43118         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43119         re-relocationg ld.so.
43120         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43121         _dl_init_paths call.
43122         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
43123         here anymore.
43124
43125 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
43126
43127         * resolv/res_init.c (__res_vinit): Count the default server we added.
43128
43129 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
43130             Ulrich Drepper  <drepper@redhat.com>
43131
43132         [BZ #11968]
43133         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43134         (____longjmp_chk): Use %ebx for saving value across system call.
43135         Add unwind info.
43136
43137 2010-09-06  Andreas Schwab  <schwab@redhat.com>
43138
43139         * manual/Makefile: Don't mix pattern rules with normal rules.
43140
43141 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43142
43143         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43144         operation.
43145         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43146         * libio/iofopncook.c (_IO_cookie_init): Likewise.
43147         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43148         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43149         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43150         Likewise.
43151
43152 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
43153
43154         [BZ #11979]
43155         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43156         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43157
43158 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
43159
43160         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43161         * sysdeps/x86_64/addmul_1.S: Likewise.
43162         * sysdeps/x86_64/lshift.S: Likewise.
43163         * sysdeps/x86_64/mul_1.S: Likewise.
43164         * sysdeps/x86_64/rshift.S: Likewise.
43165         * sysdeps/x86_64/sub_n.S: Likewise.
43166         * sysdeps/x86_64/submul_1.S: Likewise.
43167
43168 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43169
43170         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43171         Define __sched_param instead of SCHED_* and sched_param when
43172         <bits/sched.h> is included with __need_schedparam defined.
43173         * bits/sched.h [__need_schedparam]
43174         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43175         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43176         (__defined_schedparam): Define to 1.
43177         (__sched_param): New structure, identical to sched_param.
43178         (__need_schedparam): Undefine.
43179
43180 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
43181
43182         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43183         (epoll_create1): Declare.
43184
43185         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43186
43187 2010-08-31  Andreas Schwab  <schwab@redhat.com>
43188
43189         [BZ #7066]
43190         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43191         shifting retval into place.
43192
43193 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
43194
43195         * nis/rpcsvc/nis.h: Update copyright notice.
43196         * nis/rpcsvc/nis.x: Likewise.
43197         * nis/rpcsvc/nis_callback.h: Likewise.
43198         * nis/rpcsvc/nis_callback.x: Likewise.
43199         * nis/rpcsvc/nis_object.x: Likewise.
43200         * nis/rpcsvc/nis_tags.h: Likewise.
43201         * nis/rpcsvc/yp.h: Likewise.
43202         * nis/rpcsvc/yp.x: Likewise.
43203         * nis/rpcsvc/ypupd.h: Likewise.
43204         * nis/yp_xdr.c: Likewise.
43205         * nis/ypupdate_xdr.c: Likewise.
43206
43207         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
43208         mainly the body of pmap_getport.  Add parameters to specify timeouts.
43209         (pmap_getport): Use __libc_rpc_getport.
43210         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43211         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43212         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43213
43214 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
43215
43216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43217         fanotify_mark.
43218
43219 2010-08-27  Roland McGrath  <roland@redhat.com>
43220
43221         * sysdeps/i386/i686/multiarch/Makefile
43222         (CFLAGS-varshift.c): New variable.
43223
43224 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
43225
43226         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43227         * sysdeps/i386/i686/multiarch/varshift.c: New file.
43228
43229         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43230
43231         * sysdeps/x86_64/strlen.S: Minimal code improvement.
43232
43233 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
43234
43235         * sysdeps/x86_64/strlen.S: Unroll the loop.
43236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43237         strlen-sse2 strlen-sse2-bsf.
43238         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43239         __strlen_no_bsf if bit_Slow_BSF is set.
43240         (__strlen_sse42): Removed.
43241         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43242         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43243
43244 2010-08-25  Roland McGrath  <roland@redhat.com>
43245
43246         * sysdeps/x86_64/multiarch/varshift.S: File removed.
43247         * sysdeps/x86_64/multiarch/varshift.c: New file.
43248         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43249         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43250         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43251         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43252
43253 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
43254
43255         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43256         strlen-sse2 strlen-sse2-bsf.
43257         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43258         __strlen_sse2_bsf if bit_Slow_BSF is unset.
43259         (__strlen_sse2): Removed.
43260         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43261         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43262         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43263         bit_Slow_BSF for Atom.
43264         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43265         (index_Slow_BSF): Define.
43266         (HAS_SLOW_BSF): Define.
43267
43268 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
43269
43270         [BZ #10851]
43271         * resolv/res_init.c (__res_vinit): When no server address at all
43272         is given default to loopback.
43273
43274 2010-08-24  Roland McGrath  <roland@redhat.com>
43275
43276         * configure.in: Remove config-name.h generation.
43277         * configure: Regenerated.
43278         * config-name.in: File removed.
43279         * scripts/config-uname.sh: New file.
43280         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43281         ($(objdir)config-name.h): New target.
43282
43283         * sunrpc/rpc_parse.h: Avoid nested comment.
43284
43285 2010-08-24  Richard Henderson  <rth@redhat.com>
43286             Ulrich Drepper  <drepper@redhat.com>
43287             H.J. Lu  <hongjiu.lu@intel.com>
43288
43289         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43291         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43292         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
43293         _mm_alignr_epi8 with _mm_loadu_si128.
43294         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43295         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43296         (__m128i_shift_right): Removed.
43297         * sysdeps/i386/i686/multiarch/varshift.h: New file.
43298         * sysdeps/i386/i686/multiarch/varshift.S: New file.
43299         * sysdeps/x86_64/multiarch/varshift.h: New file.
43300         * sysdeps/x86_64/multiarch/varshift.S: New file.
43301
43302 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
43303
43304         * configure.in: Move assembler checks to before sysdep dir checking.
43305
43306 2010-08-20  Petr Baudis  <pasky@suse.cz>
43307
43308         * LICENSES: Sync the sunrpc license.
43309
43310 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
43311
43312         * sunrpc/auth_des.c: Update copyright notice once again.
43313         * sunrpc/auth_none.c: Likewise.
43314         * sunrpc/auth_unix.c: Likewise.
43315         * sunrpc/authdes_prot.c: Likewise.
43316         * sunrpc/authuxprot.c: Likewise.
43317         * sunrpc/bindrsvprt.c: Likewise.
43318         * sunrpc/clnt_gen.c: Likewise.
43319         * sunrpc/clnt_perr.c: Likewise.
43320         * sunrpc/clnt_raw.c: Likewise.
43321         * sunrpc/clnt_simp.c: Likewise.
43322         * sunrpc/clnt_tcp.c: Likewise.
43323         * sunrpc/clnt_udp.c: Likewise.
43324         * sunrpc/clnt_unix.c: Likewise.
43325         * sunrpc/des_crypt.c: Likewise.
43326         * sunrpc/des_soft.c: Likewise.
43327         * sunrpc/get_myaddr.c: Likewise.
43328         * sunrpc/getrpcport.c: Likewise.
43329         * sunrpc/key_call.c: Likewise.
43330         * sunrpc/key_prot.c: Likewise.
43331         * sunrpc/openchild.c: Likewise.
43332         * sunrpc/pm_getmaps.c: Likewise.
43333         * sunrpc/pm_getport.c: Likewise.
43334         * sunrpc/pmap_clnt.c: Likewise.
43335         * sunrpc/pmap_prot.c: Likewise.
43336         * sunrpc/pmap_prot2.c: Likewise.
43337         * sunrpc/pmap_rmt.c: Likewise.
43338         * sunrpc/rpc/auth.h: Likewise.
43339         * sunrpc/rpc/auth_unix.h: Likewise.
43340         * sunrpc/rpc/clnt.h: Likewise.
43341         * sunrpc/rpc/des_crypt.h: Likewise.
43342         * sunrpc/rpc/key_prot.h: Likewise.
43343         * sunrpc/rpc/netdb.h: Likewise.
43344         * sunrpc/rpc/pmap_clnt.h: Likewise.
43345         * sunrpc/rpc/pmap_prot.h: Likewise.
43346         * sunrpc/rpc/pmap_rmt.h: Likewise.
43347         * sunrpc/rpc/rpc.h: Likewise.
43348         * sunrpc/rpc/rpc_des.h: Likewise.
43349         * sunrpc/rpc/rpc_msg.h: Likewise.
43350         * sunrpc/rpc/svc.h: Likewise.
43351         * sunrpc/rpc/svc_auth.h: Likewise.
43352         * sunrpc/rpc/types.h: Likewise.
43353         * sunrpc/rpc/xdr.h: Likewise.
43354         * sunrpc/rpc_clntout.c: Likewise.
43355         * sunrpc/rpc_cmsg.c: Likewise.
43356         * sunrpc/rpc_common.c: Likewise.
43357         * sunrpc/rpc_cout.c: Likewise.
43358         * sunrpc/rpc_dtable.c: Likewise.
43359         * sunrpc/rpc_hout.c: Likewise.
43360         * sunrpc/rpc_main.c: Likewise.
43361         * sunrpc/rpc_parse.c: Likewise.
43362         * sunrpc/rpc_parse.h: Likewise.
43363         * sunrpc/rpc_prot.c: Likewise.
43364         * sunrpc/rpc_sample.c: Likewise.
43365         * sunrpc/rpc_scan.c: Likewise.
43366         * sunrpc/rpc_scan.h: Likewise.
43367         * sunrpc/rpc_svcout.c: Likewise.
43368         * sunrpc/rpc_tblout.c: Likewise.
43369         * sunrpc/rpc_util.c: Likewise.
43370         * sunrpc/rpc_util.h: Likewise.
43371         * sunrpc/rpcinfo.c: Likewise.
43372         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43373         * sunrpc/rpcsvc/key_prot.x: Likewise.
43374         * sunrpc/rpcsvc/klm_prot.x: Likewise.
43375         * sunrpc/rpcsvc/mount.x: Likewise.
43376         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43377         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43378         * sunrpc/rpcsvc/rex.x: Likewise.
43379         * sunrpc/rpcsvc/rstat.x: Likewise.
43380         * sunrpc/rpcsvc/rusers.x: Likewise.
43381         * sunrpc/rpcsvc/sm_inter.x: Likewise.
43382         * sunrpc/rpcsvc/spray.x: Likewise.
43383         * sunrpc/rpcsvc/yppasswd.x: Likewise.
43384         * sunrpc/rtime.c: Likewise.
43385         * sunrpc/svc.c: Likewise.
43386         * sunrpc/svc_auth.c: Likewise.
43387         * sunrpc/svc_authux.c: Likewise.
43388         * sunrpc/svc_raw.c: Likewise.
43389         * sunrpc/svc_run.c: Likewise.
43390         * sunrpc/svc_simple.c: Likewise.
43391         * sunrpc/svc_tcp.c: Likewise.
43392         * sunrpc/svc_udp.c: Likewise.
43393         * sunrpc/svc_unix.c: Likewise.
43394         * sunrpc/svcauth_des.c: Likewise.
43395         * sunrpc/xcrypt.c: Likewise.
43396         * sunrpc/xdr.c: Likewise.
43397         * sunrpc/xdr_array.c: Likewise.
43398         * sunrpc/xdr_float.c: Likewise.
43399         * sunrpc/xdr_mem.c: Likewise.
43400         * sunrpc/xdr_rec.c: Likewise.
43401         * sunrpc/xdr_ref.c: Likewise.
43402         * sunrpc/xdr_sizeof.c: Likewise.
43403         * sunrpc/xdr_stdio.c: Likewise.
43404
43405         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43406         handling.
43407
43408 2010-08-19  Andreas Schwab  <schwab@redhat.com>
43409
43410         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43411
43412 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
43413
43414         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43415         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43416         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43417         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43418         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43419         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43420         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43421         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43422         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43423         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43424         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43425         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43426         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43427         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43428
43429 2010-07-26  Anton Blanchard  <anton@samba.org>
43430
43431         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43432         * malloc/arena.c (heap_trim): Likewise.
43433
43434 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
43435
43436         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43437         here.  Not...
43438         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43439         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43440
43441 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43442
43443         * sysdeps/i386/elf/Makefile: New file.
43444
43445 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
43446
43447         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43448         from fanotify_init.
43449         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43450         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43451
43452 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
43453
43454         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43455         of strncasecmp_l.
43456         * sysdeps/multiarch/strcmp.S: Likewise.
43457
43458 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
43459
43460         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43461         strncase_l-nonascii.
43462         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43463         Add strncase_l-ssse3.
43464         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43465         * sysdeps/x86_64/strcmp.S: Likewise.
43466         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43467         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43468         * sysdeps/x86_64/strncase.S: New file.
43469         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43470         * sysdeps/x86_64/strncase_l.S: New file.
43471         * string/Makefile (strop-tests): Add strncasecmp.
43472         * string/test-strncasecmp.c: New file.
43473
43474         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43475         warning.
43476
43477         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43478         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43479
43480 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
43481
43482         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43483
43484 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
43485
43486         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43487         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43488         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43489
43490 2010-05-01  Alan Modra  <amodra@gmail.com>
43491
43492         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43493         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43494         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43495         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43496         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43497         tidying.  Don't tail-call __sigjmp_save for static lib.
43498         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43499         save location.
43500         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43501         (CALL_MCOUNT): Add eh info, and nop after bl.
43502         (TAIL_CALL_SYSCALL_ERROR): New macro.
43503         (PSEUDO_RET): Use it.
43504         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43505         Correct save location of integer regs and cr.
43506         (_dl_profile_resolve): Correct cr save location.  Delete nops
43507         after bl when SHARED.  Reduce cfi size a little by better
43508         placement of cfi directives.
43509         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43510         make a stack frame.  Instead use parm save area as a temp.
43511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43512         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
43513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43514         Don't make a stack frame for parent, use parm save area.
43515         Increase child stack frame to 112 bytes.  Don't save unused reg,
43516         and adjust reg usage.  Set up cfi on error recovery and
43517         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43519         (__makecontext): Add dummy nop after jump to exit.
43520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43521         Use correct parm save area and cr save, reduce stack frame.
43522         Correct cfi for possible PSEUDO_RET frame setup.
43523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43524         Branch to local label emitted by PSEUDO_RET rather than
43525         __syscall_error.
43526
43527 2010-08-12  Andreas Schwab  <schwab@redhat.com>
43528
43529         [BZ #11904]
43530         * locale/programs/locale.c (print_assignment): New function.
43531         (show_locale_vars): Use it.
43532
43533 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
43534
43535         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43536         field.
43537         (struct statfs64): Likewise.
43538         (_STATFS_F_FLAGS): Define.
43539         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43540         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43541         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43542         (ST_VALID): Define locally.
43543         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43544         __statvfs_getflags, use the provided value.
43545         * sysdeps/unix/sysv/linux/kernel-features.h: Define
43546         __ASSUME_STATFS_F_FLAGS.
43547
43548         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43549
43550         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43551         Add sys/fanotify.h.
43552         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43553         fanotify_mask for GLIBC_2.13.
43554         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43555         fanotify_init and fanotify_mark.
43556         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43557         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43558
43559         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43560         Add prlimit.
43561         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43562         prlimit64 for GLIBC_2.13.
43563         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43564         prlimit64.
43565         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43566         syscall.
43567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43568         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43569         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43570         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43571         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
43572         add prlimit alias.
43573         * sysdeps/unix/sysv/linux/prlimit.c: New file.
43574
43575         [BZ #11903]
43576         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43577         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43578
43579         * nss/Makefile: Add rules to build and run tst-nss-test1.
43580         * shlib-versions: Add entry for libnss_test1.
43581         * nss/nss_test1.c: New file.
43582         * nss/tst-nss-test1.c: New file.
43583
43584         * nss/nsswitch.c (__nss_database_custom): Define new variable.
43585         (__nss_configure_lookup): Set appropriate entry in
43586         __nss_configure_lookup to true.
43587         * nss/nsswitch.h: Define enum with indeces of databases in
43588         databases and __nss_database_custom arrays.  Declare
43589         __nss_database_custom.
43590         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43591         to avoid using nscd when custom rules are installed.
43592         * nss/getXXbyYY_r.c: Likewise.
43593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43594
43595         * nss/nss_files/files-parse.c: Whitespace fixes.
43596
43597 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
43598
43599         [BZ #11883]
43600         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43601         * posix/fnmatch_loop.c: Likewise.
43602
43603 2010-07-17  Andi Kleen  <ak@linux.intel.com>
43604
43605         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43606         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43607         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43608         * Versions.def [GLIBC_2.13]: Add.
43609
43610 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
43611
43612         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43613         Also fail if tpwd after pwuid call is NULL.
43614
43615 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43616
43617         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43618         when converting to ms.
43619
43620 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43621
43622         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43623         EOPNOTSUPP errors with ENOTTY.
43624         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43625         EOPNOTSUPP errors with ENOTTY.
43626
43627 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
43628
43629         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43630         Add strcasecmp_l-ssse3.
43631         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43632         strcasecmp.
43633         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43634         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43635         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43636
43637 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
43638
43639         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43640
43641         * string/Makefile (strop-tests): Add strcasecmp.
43642         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43643         strcasecmp_l-nonascii.
43644         (gen-as-const-headers): Add locale-defines.sym.
43645         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43646         * sysdeps/x86_64/strcasecmp.S: New file.
43647         * sysdeps/x86_64/strcasecmp_l.S: New file.
43648         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43649         * sysdeps/x86_64/locale-defines.sym: New file.
43650         * string/test-strcasecmp.c: New file.
43651
43652         * string/test-strcasestr.c: Test both ends of the range of characters.
43653         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43654
43655 2010-07-29  Roland McGrath  <roland@redhat.com>
43656
43657         [BZ #11856]
43658         * manual/locale.texi (Yes-or-No Questions): Fix example code.
43659
43660 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
43661
43662         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43663         for ld.so.
43664
43665 2010-07-27  Andreas Schwab  <schwab@redhat.com>
43666
43667         * manual/memory.texi (Malloc Tunable Parameters): Document
43668         M_PERTURB.
43669
43670 2010-07-26  Roland McGrath  <roland@redhat.com>
43671
43672         [BZ #11840]
43673         * configure.in (-fgnu89-inline check): Set and substitute
43674         gnu89_inline, not libc_cv_gnu89_inline.
43675         * configure: Regenerated.
43676         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43677
43678 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
43679
43680         * string/test-strnlen.c: New file.
43681         * string/Makefile (strop-tests): Add strnlen.
43682         * string/tester.c (test_strnlen): Add a few more test cases.
43683         * string/tst-strlen.c: Better error reporting.
43684
43685         * sysdeps/x86_64/strnlen.S: New file.
43686
43687 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
43688
43689         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43690         lower-latency instructions.
43691
43692 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
43693
43694         * string/test-strcasestr.c: New file.
43695         * string/test-strstr.c: New file.
43696         * string/Makefile (strop-tests): Add strstr and strcasestr.
43697         * string/str-two-way.h: Don't undefine MAX.
43698         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43699
43700 2010-07-21  Andreas Schwab  <schwab@redhat.com>
43701
43702         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43703         strcasestr-nonascii.
43704         (CFLAGS-strcasestr-nonascii.c): Define.
43705         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43706         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43707         Remove unused attribute.
43708
43709 2010-07-20  Roland McGrath  <roland@redhat.com>
43710
43711         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43712         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
43713         ld.so.cache was broken.  With it, there is no way to disable dsocaps
43714         like LD_HWCAP_MASK can disable hwcaps.
43715
43716 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43717
43718         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43719
43720 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
43721
43722         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43723         call in strcasestr.
43724         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43725         __strcasestr_sse42_nonascii.
43726         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43727         strcasestr-nonascii.c.
43728         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43729
43730 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
43731
43732         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43733         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43734         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43735         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43736
43737 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
43738
43739         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43740         fcntl.
43741
43742 2010-07-06  Andreas Schwab  <schwab@redhat.com>
43743
43744         [BZ #11577]
43745         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43746         dl_signal_cerror.
43747
43748 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
43749
43750         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43751         _PC_PIPE_BUF using F_GETPIPE_SZ.
43752
43753 2010-07-05  Roland McGrath  <roland@redhat.com>
43754
43755         * manual/arith.texi (Rounding Functions): Fix rint description
43756         implicit in round description.
43757
43758 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
43759
43760         * elf/Makefile: Fix linking for a few tests to make recent linker
43761         happy.
43762
43763 2010-06-30  Andreas Schwab  <schwab@redhat.com>
43764
43765         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43766         $(common-objpfx)libc_nonshared.a.
43767
43768 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
43769
43770         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43771         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43772         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43773         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43774         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43775         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43776         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43777         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43792         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43793         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43794         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43795         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43796         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43797         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43798         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43799         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43800         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43801         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43802         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43803         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43818
43819 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
43820
43821         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43822         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
43823         * string/memmove.c (memmove): Renamed to ...
43824         (MEMMOVE): ...this.  Default to memmove.
43825         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43826         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43827         (END_CHK): Define.
43828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43829         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43830         mempcpy-ssse3-back memmove-ssse3-back.
43831         * sysdeps/x86_64/multiarch/bcopy.S: New file .
43832         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43833         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43834         * sysdeps/x86_64/multiarch/memcpy.S: New file.
43835         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43836         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43837         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43838         * sysdeps/x86_64/multiarch/memmove.c: New file.
43839         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43840         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43841         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43842         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43843         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43844         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43845         Define.
43846         (index_Fast_Copy_Backward): Define.
43847         (HAS_ARCH_FEATURE): Define.
43848         (HAS_FAST_REP_STRING): Define.
43849         (HAS_FAST_COPY_BACKWARD): Define.
43850
43851 2010-06-21  Andreas Schwab  <schwab@redhat.com>
43852
43853         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43854         Restore proper fallback handling.
43855
43856 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
43857
43858         [BZ #11701]
43859         * posix/group_member.c (__group_member): Correct checking loop.
43860
43861         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43862         OOM in getpwuid_r correctly.  Return error number when the caller
43863         should return, otherwise -1.
43864         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43865         call returning > 0 value.
43866         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43867
43868 2010-06-07  Andreas Schwab  <schwab@redhat.com>
43869
43870         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43871         libc_nonshared.a from targets in modules-names.
43872
43873 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
43874
43875         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43876         requires it.
43877
43878 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
43879
43880         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43881         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43882         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43883         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43884
43885 2010-06-02  Andreas Schwab  <schwab@redhat.com>
43886
43887         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43888
43889 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
43890
43891         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43892         and F_GETPIPE_SZ.
43893         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43894         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43895         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43896         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43897         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43898         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43899
43900 2010-06-14  Roland McGrath  <roland@redhat.com>
43901
43902         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43903
43904 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
43905
43906         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43907         __REDIRECT followed by __THROW.
43908         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43909         * posix/getopt.h (getopt): Likewise.
43910
43911 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43912
43913         * hurd/lookup-at.c (__file_name_lookup_at): Accept
43914         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
43915         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43916         in AT_FLAGS.
43917         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43918         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43919
43920 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
43921
43922         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43923
43924 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
43925
43926         [BZ #11640]
43927         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43928         Properly check family and model.
43929
43930 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
43931
43932         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43933
43934 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
43935
43936         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43937
43938 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
43939
43940         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43941         symbol reference.
43942
43943 2010-05-19  Andreas Schwab  <schwab@redhat.com>
43944
43945         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43946         symbol reference.
43947
43948 2010-05-21  Andreas Schwab  <schwab@redhat.com>
43949
43950         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43951         and internal_recvmmsg.
43952         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43953         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43954         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43955         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43956
43957         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43958         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43959         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43960
43961 2010-05-20  Andreas Schwab  <schwab@redhat.com>
43962
43963         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43964
43965 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
43966
43967         POWER7 optimizations.
43968         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43969         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43970
43971 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
43972
43973         * version.h: Update for 2.13 development version.
43974
43975 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
43976
43977         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43978         exceptions.  Return 0.
43979
43980 2010-05-07  Roland McGrath  <roland@redhat.com>
43981
43982         * elf/ldconfig.c (main): Add a const.
43983
43984 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
43985
43986         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43987         (args_options): Add no-idn option.
43988         (ahosts_keys_int): Add idn_flags to ai_flags.
43989         (parse_option): Handle 'i' option to clear idn_flags.
43990
43991         * malloc/malloc.c (_int_free): Possible race in the most recently
43992         added check.  Only act on the data if no current modification
43993         happened.
43994
43995 See ChangeLog.17 for earlier changes.