Remove x32/iofopen.c and x32/iofopen64.c
[glibc.git] / ChangeLog
blob127ee01e98d50dbdc61faac86c4d651b391add82
1 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6 2012-08-03  David S. Miller  <davem@davemloft.net>
8         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
12         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13         Remove.
14         (__ASSUME_CORRECT_SI_PID): Likewise.
15         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16         (__ASSUME_TMPFS_NAME): Likewise.
17         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20         (HAVE_AUX_SECURE): Make definition unconditional.
21         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24 2012-08-03  Roland McGrath  <roland@hack.frob.com>
26         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28         * sysdeps/mach/hurd/eloop-threshold.h: New file.
29         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30         __eloop_threshold instead of SYMLOOP_MAX.
32         * sysdeps/generic/eloop-threshold.h: New file.
33         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34         of MAXSYMLINKS.
35         * elf/chroot_canon.c (chroot_canon): Likewise.
37 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
39         [BZ #13717]
40         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41         Change to 2.6.0 everywhere.
42         * sysdeps/unix/sysv/linux/configure: Regenerated.
43         * sysdeps/unix/sysv/linux/kernel-features.h
44         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46         kernel versions.
47         (__ASSUME_POSIX_TIMERS): Define unconditionally.
48         (__ASSUME_FUTEX_REQUEUE): Remove.
49         (__ASSUME_STATFS64): Define unconditionally.
50         (__ASSUME_AT_SECURE): Likewise.
51         (__ASSUME_CORRECT_SI_PID): Likewise.
52         (__ASSUME_TGKILL): Define without depending on kernel version for
53         i386.
54         (__ASSUME_UTIMES): Likewise.
55         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
56         kernel version.
57         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58         (__ASSUME_TMPFS_NAME): Likewise.
59         * README: Update reference to Linux kernel versions.
61 2012-08-02  Marek Polacek  <polacek@redhat.com>
63         [BZ#14150]
64         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65         libc_cv_asm_type_prefix with %.
66         * configure: Regenerated.
67         * include/libc-symbols.h: Remove comment about
68         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
70         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
73         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
75         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
76         * elf/tst-unique2mod1.c: Likewise.
77         * elf/tst-unique1mod2.c: Likewise.
78         * elf/tst-unique1mod1.c: Likewise.
79         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
80         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
81         Replace ASM_TYPE_DIRECTIVE with .type.
82         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83         * sysdeps/i386/sysdep.h: Likewise.
84         * sysdeps/x86_64/sysdep.h: Likewise.
85         * sysdeps/sh/sysdep.h: Likewise.
86         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87         Do not define ASM_TYPE_DIRECTIVE.
88         * sysdeps/powerpc/sysdep.h: Likewise.
89         * sysdeps/powerpc/powerpc32/sysdep.h:
90         Replace ASM_TYPE_DIRECTIVE with .type.
91         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
92         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
93         * sysdeps/i386/fpu/e_powf.S: Likewise.
94         * sysdeps/i386/fpu/e_expl.S: Likewise.
95         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
96         * sysdeps/i386/fpu/e_acosh.S: Likewise.
97         * sysdeps/i386/fpu/e_pow.S: Likewise.
98         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
99         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
100         * sysdeps/i386/fpu/s_expm1.S: Likewise.
101         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
102         * sysdeps/i386/fpu/e_log2.S: Likewise.
103         * sysdeps/i386/fpu/e_log2l.S: Likewise.
104         * sysdeps/i386/fpu/e_scalb.S: Likewise.
105         * sysdeps/i386/fpu/e_powl.S: Likewise.
106         * sysdeps/i386/fpu/e_log10f.S: Likewise.
107         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
108         * sysdeps/i386/fpu/e_logl.S: Likewise.
109         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
110         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
111         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
112         * sysdeps/i386/fpu/e_log2f.S: Likewise.
113         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
114         * sysdeps/i386/fpu/e_log.S: Likewise.
115         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
116         * sysdeps/i386/fpu/e_logf.S: Likewise.
117         * sysdeps/i386/fpu/e_log10l.S: Likewise.
118         * sysdeps/i386/fpu/e_atanh.S: Likewise.
119         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
120         * sysdeps/i386/fpu/e_log10.S: Likewise.
121         * sysdeps/i386/fpu/s_frexp.S: Likewise.
122         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
123         * sysdeps/i386/fpu/s_asinh.S: Likewise.
124         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
125         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
126         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
127         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
128         * sysdeps/i386/i686/strtok.S: Likewise.
129         * sysdeps/i386/i386-mcount.S: Likewise.
130         * sysdeps/i386/strtok.S: Likewise.
131         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
132         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
133         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
134         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
135         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
136         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
137         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
138         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
139         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
140         * sysdeps/x86_64/_mcount.S: Likewise.
141         * sysdeps/x86_64/strtok.S: Likewise.
142         * sysdeps/sh/_mcount.S: Likewise.
144 2012-08-01  Roland McGrath  <roland@hack.frob.com>
146         * libio/iofopen.c: Include <fcntl.h>.
147         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
148         (_IO_fopen64, fopen64): Define as aliases.
149         * libio/iofopen64.c: Include <fcntl.h>.
150         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
151         Conditionalize body on this.
152         * sysdeps/wordsize-64/iofopen.c: File removed.
153         * sysdeps/wordsize-64/iofopen64.c: File removed.
155 2012-08-01  Marek Polacek  <polacek@redhat.com>
157         * libc/Makeconfig: Use elf in place of binfmt-subdir.
158         Use dlfcn directly instead of a variable.
159         (binfmt-subdir): Do not define.
160         (dlfcn): Likewise.
162 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
164         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
165         Remove all definitions.
166         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
167         <kernel-features.h>.
168         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
169         (miss_F_GETOWN_EX): Remove all definitions.
170         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
171         macro definition.
172         [!__ASSUME_FCNTL64]: Remove conditional code.
173         [__ASSUME_FCNTL64]: Make code unconditional.
174         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
175         <kernel-features.h>.
176         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
177         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
178         (lockf64) [__NR_fcntl64]: Make code unconditional.
179         (lockf64) [__ASSUME_FCNTL64]: Likewise.
181         * sysdeps/unix/sysv/linux/kernel-features.h
182         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
183         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
184         Make code unconditional.
185         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
186         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
188         [__NR_vfork]: Make code unconditional.
189         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
190         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
192         [__NR_vfork]: Make code unconditional.
193         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
194         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
196 2012-08-01  Roland McGrath  <roland@hack.frob.com>
198         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
199         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
201         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
202         Define mkstemp64 as an alias.
203         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
204         Define mkstemps64 as an alias.
205         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
206         Define mkostemp64 as an alias.
207         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
208         Define mkostemps64 as an alias.
209         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
210         Conditionalize body on this.
211         * misc/mkostemp64.c: Likewise.
212         * misc/mkostemps64.c: Likewise.
213         * misc/mkstemps64.c: Likewise.
214         * sysdeps/wordsize-64/mkstemp64.c: File removed.
215         * sysdeps/wordsize-64/mkostemp64.c: File removed.
216         * sysdeps/wordsize-64/mkostemp.c: File removed.
217         * sysdeps/wordsize-64/mkstemp.c: File removed.
218         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
219         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
220         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
221         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
223         [BZ #14138]
224         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
225         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
226         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
227         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
229         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
230         compat_symbol macros from <shlib-compat.h> rather than the underlying
231         default_symbol_version and symbol_version macros, so that DEFAULT
232         lines in shlib-versions are respected.
233         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
235 2012-08-01  Florian Weimer  <fweimer@redhat.com>
237         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
238         Declare with warn_unused_result.
239         (setgid, setregid, setegid, setresgid): Likewise.
240         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
241         Likewise.
242         * WUR-REPORT: Remove set*id functions.
244 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
246         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
248 2012-07-31  Roland McGrath  <roland@hack.frob.com>
250         * include/sys/socket.h (__libc_accept, __libc_accept4):
251         Add attribute_hidden.
252         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
254         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
255         use of PTR_MANGLE.
256         * inet/getnetgrent_r.c (setup): Likewise.
258         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
260 2012-07-31  David S. Miller  <davem@davemloft.net>
262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
264 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
266         [BZ #13629]
267         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
268         value between 1.0 and 2.0 and smaller part has absolute value less
269         than 1.0.
270         * math/s_clog10.c (__clog10): Likewise.
271         * math/s_clog10f.c (__clog10f): Likewise.
272         * math/s_clog10l.c (__clog10l): Likewise.
273         * math/s_clogf.c (__clogf): Likewise.
274         * math/s_clogl.c (__clogl): Likewise.
275         * math/libm-test.inc (clog_test): Add more tests.
276         (clog10_test): Likewise.
277         * sysdeps/i386/fpu/libm-test-ulps: Update.
278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
280 2012-07-31  Florian Weimer  <fweimer@redhat.com>
282         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
283         Exit with zero in case no suitable GID is found, and write a
284         message to standard error.
286 2012-07-30  Roland McGrath  <roland@hack.frob.com>
288         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
289         rather than to 1.
290         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
291         (MAXPATHLEN): Removed.
292         (NOGROUP, NODEV): New macros.
293         (setbit, clrbit, isset, isclr): New macros.
294         (howmany, roundup, powerof2): New macros.
295         (DEV_BSIZE): New macro.
297         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
298         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
300         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
301         definition on [!__NO_LONG_DOUBLE_MATH].
303         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
304         PTR_MANGLE and PTR_DEMANGLE.
306         * socket/accept4.c (accept4): Rename to __libc_accept4.
307         Define accept4 as a weak alias.
309         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
310         on [_DIRENT_HAVE_D_TYPE].
311         * io/ftw.c (ftw_dir): Likewise.
313         * io/xmknod.c (__xmknod): Don't check PATH for being null.
315         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
317         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
318         Use the BSD numbers rather than the arbitrary ones we had.
319         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
320         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
321         (SIGXCPU, SIGXFSZ): New macros.
322         (_NSIG): Now 32.
324         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
325         initializer on [_LIBC_REENTRANT].
327         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
328         definitions inside [_POSIX_MAPPED_FILES].
330         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
332         * dirent/opendir.c: Include <fcntl.h>.
334         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
335         (__libc_getspecific): Likewise.
336         (__libc_key_create): Likewise.
338         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
339         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
340         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
341         (tmpfile64): Define as alias.
342         * sysdeps/wordsize-64/tmpfile.c: File removed.
343         * sysdeps/wordsize-64/tmpfile64.c: File removed.
344         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
345         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
347         * stdio-common/vfscanf.c: Include <stdbool.h>.
348         * nss/makedb.c: Likewise.
349         * stdio-common/_i18n_number.h: Likewise.
350         * argp/argp-help.c: Likewise.
351         * posix/wordexp.c: Likewise.
352         * sysdeps/posix/spawni.c: Likewise.
353         * nss/nss_files/files-initgroups.c: Likewise.
354         * stdio-common/reg-modifier.c: Include <stdlib.h>.
355         * nss/nss_files/files-initgroups.c: Likewise.
356         * nss/nss_db/db-netgrp.c: Likewise.
357         * nss/nss_db/db-initgroups.c: Likewise.
358         * io/fchmodat.c: Include <sys/stat.h>.
360         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
361         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
363         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
364         [HAVE_MMAP].
366         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
367         Add multiple inclusion protection.
369 2012-07-27  David S. Miller  <davem@davemloft.net>
371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
373 2012-07-27  Gary Benson  <gbenson@redhat.com>
375         [BZ #14298]
376         * elf/rtld.c: Include <stap-probe.h>.
377         (dl_main): Added static probes "init_start" and "init_complete".
378         * elf/dl-load.c: Include <stap-probe.h>.
379         (lose): Take new parameter "nsid".
380         Added static probe "map_failed".
381         (_dl_map_object_from_fd): Pass namespace id to lose.
382         Added static probe "map_start".
383         (open_verify): Pass namespace id to lose.
384         * elf/dl-open.c: Include <stap-probe.h>.
385         (dl_open_worker) Added static probes "map_complete", "reloc_start"
386         and "reloc_complete".
387         * elf/dl-close.c: Include <stap-probe.h>.
388         (_dl_close_worker): Added static probes "unmap_start" and
389         "unmap_complete".
390         * elf/rtld-debugger-interface.txt: New file documenting the above.
392 2012-07-26  Roland McGrath  <roland@hack.frob.com>
394         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
395         rather than a string variable.
396         * sunrpc/rpc_main.c (h_output): Likewise.
397         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
399 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
401         * inet/check_native.c: New file.
403 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
405         [BZ #13629]
406         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
407         if larger part has absolute value 1.0.
408         * math/s_clog10.c (__clog10): Likewise.
409         * math/s_clog10f.c (__clog10f): Likewise.
410         * math/s_clog10l.c (__clog10l): Likewise.
411         * math/s_clogf.c (__clogf): Likewise.
412         * math/s_clogl.c (__clogl): Likewise.
413         * math/libm-test.inc (clog_test): Add more tests.
414         (clog10_test): Likewise.
415         * sysdeps/i386/fpu/libm-test-ulps: Update.
416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
418         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
419         (pltexit): Likewise.
420         (La_regs): Likewise.
421         (La_retval): Likewise.
422         (int_retval): Likewise.
423         Update #error for removed macros to refer only to definitions in
424         tst-audit.h.
425         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
426         macro.
427         (pltexit): Likewise.
428         (La_regs): Likewise.
429         (La_retval): Likewise.
430         (int_retval): Likewise.
431         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
432         macro.
433         (pltexit): Likewise.
434         (La_regs): Likewise.
435         (La_retval): Likewise.
436         (int_retval): Likewise.
437         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
438         macro.
439         (pltexit): Likewise.
440         (La_regs): Likewise.
441         (La_retval): Likewise.
442         (int_retval): Likewise.
443         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
444         macro.
445         (pltexit): Likewise.
446         (La_regs): Likewise.
447         (La_retval): Likewise.
448         (int_retval): Likewise.
449         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
450         macro.
451         (pltexit): Likewise.
452         (La_regs): Likewise.
453         (La_retval): Likewise.
454         (int_retval): Likewise.
455         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
456         macro.
457         (pltexit): Likewise.
458         (La_regs): Likewise.
459         (La_retval): Likewise.
460         (int_retval): Likewise.
461         * sysdeps/generic/tst-audit.h: Update comment to refer only to
462         macro definitions in tst-audit.h.
463         * sysdeps/i386/tst-audit.h: New file.
464         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
465         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
466         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
467         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
468         * sysdeps/sh/tst-audit.h: Likewise.
469         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
470         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
471         * sysdeps/x86_64/tst-audit.h: Likewise.
473 2012-07-26  Andreas Jaeger  <aj@suse.de>
475         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
476         ptrace.
478         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
479         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
480         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
481         PTRACE_O_MASK.
482         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
483         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
484         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
486         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
487         value.
489         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
490         _sigsys.
491         (si_call_addr, si_syscall, si_arch): Define new macro.
492         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
493         _sigsys.
494         (si_call_addr, si_syscall, si_arch): Define new marcro.
495         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
496         _sigsys.
497         (si_call_addr, si_syscall, si_arch): Define new macro.
498         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
499         _sigsys.
500         (si_call_addr, si_syscall, si_arch): Define new macro.
502 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
504         [BZ #13717]
505         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
506         Change to 2.4.21 where previously 2.4.1.
507         * sysdeps/unix/sysv/linux/configure: Regenerated.
508         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
509         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
510         Linux kernel version.
511         (__ASSUME_STD_AUXV): Remove.
512         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
513         kernel version.
514         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
515         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
516         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
517         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
518         (__ASSUME_NETLINK_SUPPORT): Likewise.
519         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
520         (__no_netlink_support): Remove conditional definition.
521         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
522         Remove.
523         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
524         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
525         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
526         (if_nameindex_ioctl): Remove.
527         (if_nameindex_netlink): Do not handle __no_netlink_support.
528         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
529         code.
530         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
531         Remove conditional code.
532         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
533         code.
534         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
535         unconditional.
536         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
537         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
538         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
539         Remove.
540         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
541         [!__ASSUME_STD_AUXV]: Remove conditional code.
542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
543         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
544         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
546         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
547         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
548         code.
549         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
551         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
552         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
553         conditional code.
554         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
556         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
557         code.
558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
559         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
560         conditional code.
561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
562         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
563         code unconditional.
564         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
565         conditional code.
566         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
567         unconditional.
568         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
569         conditional code.
570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
571         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
572         unconditional.
573         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
574         conditional code.
575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
576         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
577         code unconditional.
578         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
579         conditional code.
580         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
581         unconditional.
582         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
583         conditional code.
584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
585         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
586         code unconditional.
587         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
588         conditional code.
589         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
590         unconditional.
591         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
592         conditional code.
594 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
596         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
597         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
598         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
599         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
600         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
601         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
602         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
603         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
604         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
605         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
606         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
607         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
608         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
609         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
610         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
611         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
612         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
613         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
614         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
615         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
616         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
617         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
618         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
620 2012-07-25  Florian Weimer  <fweimer@redhat.com>
622         * Versions.def: Add GLIBC_2.17.
623         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
624         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
625         Introduce __libc_secure_getenv.
626         * stdlib/Versions (2.17): Add secure_getenv
627         (GLIBC_PRIVATE): Add __libc_secure_getenv.
628         * stdlib/secure-getenv.c: Rename __secure_getenv to
629         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
630         symbol __secure_getenv for GLIBC_2.0.
631         * stdlib/tst-secure-getenv.c: New.
632         * stdlib/Makefile (tests): Add testcase.
633         * manual/startup.texi (Environment Access): Document
634         secure_getenv.
635         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
636         __libc_secure_getenv.
637         * inet/ruserpass.c (ruserpass): Likewise.
638         * malloc/mtrace.c (mtrace): Likewise.
639         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
640         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
641         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
642         * sysdeps/posix/tempname.c: Likewise.  Evaluate
643         HAVE_SECURE_GETENV.
644         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
645         __secure_getenv to __libc_secure_getenv.
646         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
648         Likewise.
649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
650         Likewise.
651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
653         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
659 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
661         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
662         (struct La_i86_retval): Likewise.
663         (struct La_x86_64_regs): Likewise.
664         (struct La_x86_64_retval): Likewise.
665         (struct La_x32_regs): Likewise.
666         (struct La_x32_retval): Likewise.
667         (struct La_ppc32_regs): Likewise.
668         (struct La_ppc32_retval): Likewise.
669         (struct La_ppc64_regs): Likewise.
670         (struct La_ppc64_retval): Likewise.
671         (struct La_sh_regs): Likewise.
672         (struct La_sh_retval): Likewise.
673         (struct La_s390_32_regs): Likewise.
674         (struct La_s390_32_retval): Likewise.
675         (struct La_s390_64_regs): Likewise.
676         (struct La_s390_64_retval): Likewise.
677         (struct La_sparc32_regs): Likewise.
678         (struct La_sparc32_retval): Likewise.
679         (struct La_sparc64_regs): Likewise.
680         (struct La_sparc64_retval): Likewise.
681         (struct audit_ifaces): Remove architecture-specific pltenter and
682         pltexit members.
683         * sysdeps/i386/ldsodefs.h: New file.
684         * sysdeps/powerpc/ldsodefs.h: Likewise.
685         * sysdeps/s390/ldsodefs.h: Likewise.
686         * sysdeps/sh/ldsodefs.h: Likewise.
687         * sysdeps/sparc/ldsodefs.h: Likewise.
688         * sysdeps/x86_64/ldsodefs.h: Likewise.
690 2012-07-25  Marek Polacek  <polacek@redhat.com>
692         [BZ #6808]
693         * math/libm-test.inc (yn_test): Add another test.
694         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
695         to ERANGE when the result is +-Inf.
696         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
697         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
698         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
699         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
701 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
703         * conform/data/time.h-data (NULL): Use macro-constant.  Require
704         equal to 0.
705         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
706         clock_t.
707         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
709 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
711         * configure.in <sysdeps resolving>: Correct printing
712         Implies_before.
713         * configure: Regenerate.
715 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
717         * math/w_ilogb.c: Include <limits.h>.
718         * math/w_ilogbl.c: Likewise.
720 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
722         * manual/lang.texi (__va_copy): Document primarily as ISO C99
723         va_copy.  Document allowing for unavailable va_copy only as
724         pre-C99 compatibility.
725         * manual/string.texi (Copying and Concatenation): Use va_copy
726         instead of __va_copy in concat example.
728 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
730         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
731         (__sendto): Use create_address_port.  Initialize APORT and deallocate
732         it if not null.
734         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
735         with O_NOLINK passed to __file_name_lookup.
737         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
738         with O_NOLINK passed to __file_name_lookup.
740         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
741         negative N or less than NGIDS.
743         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
744         type to string_t.  Set ERANGE as errno and return it if NAME is not big
745         enough.  Use memcpy instead of strncpy.
747 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
749         * elf/Makefile (check-data): Remove.
750         (localplt.data): New vpath directive.
751         ($(objpfx)check-localplt.out): Use localplt.data from vpath
752         instead of $(check-data).
753         * scripts/data/localplt-generic.data: Move to ...
754         * sysdeps/generic/localplt.data: ... here.
755         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
756         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
757         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
759         ... here.
760         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
762         ... here.
763         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
765         ... here.
766         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
768         ... here.
769         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
771         ... here.
772         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
774         ... here.
776 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
778         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
779         PPC32 and PPC64 files.
780         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
781         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
783 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
785         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
786         __makecontext_ret to ...
787         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
788         ... here and call exit if uc_link is NULL.  New file.
789         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
790         __makecontext_ret.S.
791         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
792         __makecontext_ret to ...
793         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
794         ... here and call exit if uc_link is NULL.  New file.
795         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
796         __makecontext_ret.S.
798 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
800         * elf/elf.h (R_390_IRELATIVE): New definition.
801         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
802         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
803         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
804         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
805         (elf_machine_lazy_rel): Likewise.
806         * sysdeps/s390/dl-irel.h: New file.
807         * sysdeps/s390/s390-64/memcpy.S: New asm code.
808         * sysdeps/s390/s390-64/memset.S: New asm code.
809         * sysdeps/s390/s390-64/memcmp.S: New asm code.
810         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
811         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
812         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
813         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
814         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
815         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
816         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
817         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
818         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
819         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
820         * sysdeps/s390/s390-32/memcpy.S: New asm code.
821         * sysdeps/s390/s390-32/memset.S: New asm code.
822         * sysdeps/s390/s390-32/memcmp.S: New asm code.
824 2012-07-17  Marek Polacek  <polacek@redhat.com>
826         [BZ #14349]
827         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
828         * sysdeps/s390/s390-64/configure.in: Likewise.
829         * sysdeps/sparc/configure.in: Likewise.
830         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
831         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
832         * sysdeps/i386/configure.in: Likewise.
833         * sysdeps/x86_64/configure.in: Likewise.
834         * sysdeps/sh/configure.in: Likewise.
835         * sysdeps/s390/s390-32/configure: Regenerated.
836         * sysdeps/s390/s390-64/configure: Likewise.
837         * sysdeps/x86_64/configure: Likewise.
838         * sysdeps/sh/configure: Likewise.
839         * sysdeps/powerpc/powerpc64/configure: Likewise.
840         * sysdeps/powerpc/powerpc32/configure: Likewise.
841         * sysdeps/sparc/configure: Likwise.
842         * sysdeps/i386/configure: Likewise.
844         * elf/dl-open.c: Comment fixes.
846 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
848         * Makefile [CXX] (check-data): Remove.
849         [CXX] (c++-types.data): New vpath directive.
850         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
851         vpath.  Do not allow for C++ type data being missing.
852         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
853         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
854         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
855         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
856         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
857         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
858         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
860         ... here.
861         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
863         ... here.
864         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
866         ... here.
867         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
869         ... here.
870         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
872         ... here.
873         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
875         ... here.
876         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
878         ... here.
879         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
882         * elf/tls-macros.h (TLS_LE): Move architecture-specific
883         definitions to architecture-specific files.
884         (TLS_IE): Likewise.
885         (TLS_LD): Likewise.
886         (TLS_GD): Likewise.
887         * sysdeps/i386/tls-macros.h: New file.
888         * sysdeps/powerpc/tls-macros.h: Likewise.
889         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
890         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
891         * sysdeps/sh/tls-macros.h: Likewise.
892         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
893         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
894         * sysdeps/x86_64/tls-macros.h: Likewise.
896 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
898         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
899         zero value for regular exit case.
901         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
902         (__start_context): Preserve zero value for regular exit case.
904 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
905             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
907         * manual/setjmp.texi (setcontext): Clarify normal process
908         termination when uc_link is the null pointer.
909         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
910         exit call.
912 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
914         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
915         preprocessor.  Test for each exception mask separately.
917 2012-07-16  Andreas Jaeger  <aj@suse.de>
919         * po/ru.po: Update from translation team.
921 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
923         * conform/data/string.h-data (NULL): Use macro-constant.  Require
924         equal to 0.
925         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
926         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
927         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
928         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
929         [ISO || ISO99 || ISO11] (*_t): Do not allow.
931 2012-07-13  Andreas Jaeger  <aj@suse.de>
933         * po/fr.po: Update from translation team.
935 2012-07-12  Marek Polacek  <polacek@redhat.com>
937         [BZ #14173]
938         * math/libm-test.inc (yn_test): Add test for BZ #14173.
939         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
940         loop condition.
942 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
944         [BZ #13717]
945         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
946         Change to 2.4.1 where previously 2.4.0.
947         * sysdeps/unix/sysv/linux/configure: Regenerated.
948         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
949         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
950         version.
951         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
952         (__ASSUME_AT_CLKTCK): Remove.
953         (__ASSUME_AT_PAGESIZE): Likewise.
954         (__ASSUME_AT_XID): Likewise.
955         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
956         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
957         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
958         unconditionally.
959         (HAVE_AUX_PAGESIZE): Likewise.
960         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
961         [__ASSUME_AT_CLKTCK]: Make code unconditional.
962         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
964 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
966         [BZ #14307]
967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
968         the temporary buffer used to invoke __gethostbyname2_r,
969         __gethostbyaddr_r and gethostbyname4_r to make room for struct
970         host_data / struct gaih_addrtuple.
971         * resolv/nss_dns/dns-host.c (global scope): Move definition of
972         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
973         header file nss/nsswitch.h.
974         * nss/nsswitch.h (global scope): Add definition of implementation
975         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
976         resolv/nss_dns/dns-host.c).
978 2012-07-11  Andreas Jaeger  <aj@suse.de>
980         * po/fr.po: Update from translation team.
982         * po/sv.po: Update from translation team
983         * po/fr.po: Another update from translation team.
985 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
987         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
988         for subnormals or multiply small sinh result by itself.
989         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
992 2012-07-11  David S. Miller  <davem@davemloft.net>
994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
996 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
998         [BZ #14347]
999         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1000         (INTERNAL_MARK): Shift it here.
1002 2012-07-10  Marek Polacek  <polacek@redhat.com>
1004         [BZ #14151]
1005         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
1006         libc_cv_asm_global_directive with .globl.
1007         * configure: Regenerated.
1008         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1009         with .globl.
1010         * sysdeps/i386/configure: Regenerated.
1011         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1012         with .globl.
1013         * sysdeps/x86_64/configure: Regenerated.
1014         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1015         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1016         * elf/tst-unique2mod2.c: Likewise.
1017         * elf/tst-unique2mod1.c: Likewise.
1018         * elf/tst-unique1mod2.c: Likewise.
1019         * elf/tst-unique1mod1.c: Likewise.
1020         * sysdeps/s390/s390-32/sysdep.h: Likewise.
1021         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1022         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1023         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1024         * sysdeps/mach/sysdep.h: Likewise.
1025         * sysdeps/i386/sysdep.h: Likewise.
1026         * sysdeps/i386/i386-mcount.S: Likewise.
1027         * sysdeps/x86_64/_mcount.S: Likewise.
1028         * sysdeps/x86_64/sysdep.h: Likewise.
1029         * sysdeps/sh/_mcount.S: Likewise.
1030         * sysdeps/sh/sysdep.h: Likewise.
1031         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1032         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1033         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1034         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1035         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1036         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1037         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1038         * locale/localeinfo.h: Likewise.
1039         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1040         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1042 2012-07-09  Roland McGrath  <roland@hack.frob.com>
1044         [BZ #14336]
1045         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1046         system".
1047         * manual/message.texi (The Uniforum approach): Likewise.
1048         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1049         (glibc iconv Implementation): Likewise.
1051 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
1053         [BZ #14337]
1054         * math/s_clog.c (__clog): Avoid scaling a value down where that
1055         could result in underflow.
1056         * math/s_clog10.c (__clog10): Likewise.
1057         * math/s_clog10f.c (__clog10f): Likewise.
1058         * math/s_clog10l.c (__clog10l): Likewise.
1059         * math/s_clogf.c (__clogf): Likewise.
1060         * math/s_clogl.c (__clogl): Likewise.
1061         * math/libm-test.inc (clog_test): Add more tests.
1062         (clog10_test): Likewise.
1063         * sysdeps/i386/fpu/libm-test-ulps: Update.
1064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1066 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
1068         [BZ #14283]
1069         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1070         by 7 not 8 to examine high bit of fractional part.
1072         [BZ #14042]
1073         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1074         for call to __mcount_internal.
1075         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1076         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1077         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1079 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
1081         [BZ #14154]
1082         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1083         approximation for values within 0x1p-13f of an odd multiple of
1084         pi/4.
1085         * math/libm-test.inc (tan_test): Do not allow spurious underflow
1086         exception.  Add more tests.
1087         * sysdeps/i386/fpu/libm-test-ulps: Update.
1089         [BZ #6778]
1090         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1091         inputs and return -1 for them.  Do not check for +Inf in case not
1092         reachable for +Inf.
1093         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1094         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1095         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1096         and return -1 for them.  Do not check for +Inf in case not
1097         reachable for +Inf.
1098         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1099         define.
1100         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1101         and return -1 for them.  Do not check for +Inf in case not
1102         reachable for +Inf.
1103         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
1104         spurious underflow.
1105         * sysdeps/i386/fpu/libm-test-ulps: Update.
1106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1108 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
1110         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1112 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
1114         [BZ #14157]
1115         [BZ #14331]
1116         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1117         could result in spurious underflow.  Scale down values above
1118         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1119         * math/s_csqrtf.c (__csqrtf): Likewise.
1120         * math/s_csqrtl.c (__csqrtl): Likewise.
1121         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
1122         spurious underflow.
1123         * sysdeps/i386/fpu/libm-test-ulps: Update.
1124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1126 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1128         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1129         xopen-msg.sed.
1130         * catgets/xopen-msg.awk: New file.
1131         * catgets/xopen-msg.sed: Removed.
1133         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1134         po2text.sed.
1135         * intl/po2test.awk: New file.
1136         * intl/po2test.sed: Removed.
1138 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
1140         [BZ #14328]
1141         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1142         or multiply small sinh result by itself.
1143         * math/s_ctanf.c (__ctanf): Likewise.
1144         * math/s_ctanh.c (__ctanh): Likewise.
1145         * math/s_ctanhf.c (__ctanhf): Likewise.
1146         * math/s_ctanhl.c (__ctanhl): Likewise.
1147         * math/s_ctanl.c (__ctanl): Likewise.
1148         * math/libm-test.inc (ctan_test_tonearest): New function.
1149         (ctan_test_towardzero): Likewise.
1150         (ctan_test_downward): Likewise.
1151         (ctan_test_upward): Likewise.
1152         (ctanh_test_tonearest): Likewise.
1153         (ctanh_test_towardzero): Likewise.
1154         (ctanh_test_downward): Likewise.
1155         (ctanh_test_upward): Likewise.
1156         (main): Call these new functions.
1157         * sysdeps/i386/fpu/libm-test-ulps: Update.
1158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1160 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
1162         * .gitignore: Delete /ports entry.
1164 2012-07-03  Andreas Jaeger  <aj@suse.de>
1166         * po/bg.po: Update from translation team.
1167         * po/cs.po: Likewise.
1168         * po/de.po: Likewise.
1169         * po/hr.po: Likewise.
1170         * po/nl.pl: Likewise.
1171         * po/pl.po: Likewise.
1172         * po/vi.po: Likewise.
1174 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
1176         * Makeconfig [!+link] (+link-before-libc): New variable.
1177         [!+link] (+link-after-libc): Likewise.
1178         [!+link] (+link-tests): Likewise.
1179         [!+link] (+link): Define in terms of $(+link-before-libc) and
1180         $(+link-after-libc).
1181         [!+link-static] (+link-static-before-libc): New variable.
1182         [!+link-static] (+link-static-after-libc): Likewise.
1183         [!+link-static] (+link-static-tests): Likewise.
1184         [!+link-static] (+link-static): Define in terms of
1185         $(+link-static-before-libc) and $(+link-static-after-libc).
1186         [build-shared] (link-libc-before-gnulib): New variable.
1187         [build-shared] (link-libc-tests): Likewise.
1188         [build-shared] (link-libc): Define in terms of
1189         $(link-libc-before-gnulib).
1190         [!build-shared] (link-libc-tests): New variable.
1191         (link-libc-static-tests): New variable.
1192         [!gnulib] (gnulib-arch): New variable.
1193         [!gnulib] (gnulib-tests): Likewise.
1194         [!gnulib] (static-gnulib-arch): Likewise.
1195         [!gnulib] (static-gnulib-tests): Likewise.
1196         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
1197         Define with "=" instead of ":=".
1198         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
1199         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
1200         * Rules (binaries-all-notests): New variable.
1201         (binaries-all-tests): Likewise.
1202         (binaries-static-notests): Likewise.
1203         (binaries-static-tests): Likewise.
1204         (binaries-all): Define using $(binaries-all-notests) and
1205         $(binaries-all-tests).
1206         (binaries-static): Define using $(binaries-static-notests) and
1207         $(binaries-static-tests).
1208         (binaries-shared-tests): New variable.
1209         (binaries-shared-notests): Likewise.
1210         (binaries-shared): Remove variable.
1211         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1212         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1213         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1214         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1215         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1216         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1217         * elf/Makefile (sln-modules): New variable.
1218         (extra-objs): Add $(sln-modules:=.o).
1219         (ldconfig-modules): Add static-stubs.
1220         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1221         * elf/static-stubs.c: New file.
1223         [BZ #14283]
1224         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1225         by 7 not 8 to examine high bit of fractional part.  Use volatile
1226         variables when splitting into final array of floats if
1227         __FLT_EVAL_METHOD__ != 0.
1228         * math/libm-test.inc (cos_test): Add another test.
1229         (sin_test): Likewise.
1230         * sysdeps/i386/fpu/libm-test-ulps: Update.
1232         [BZ #14273]
1233         * math/libm-test.inc (cosh_test): Add more tests.
1235         * version.h (RELEASE): Set to "development".
1236         (VERSION): Set to "2.16.90".
1238 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
1240         * NEWS: Update copyright. Remove last-updated date.
1241         Mention math library bug fixes and timezone data changes.
1242         * README: Mention GNU/Hurd, x32, and HPPA support status.
1244 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
1246         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1248 2012-06-27  Andreas Jaeger  <aj@suse.de>
1250         * manual/contrib.texi (Contributors): Add Samuel Thibault.
1252 2012-06-25  Andreas Jaeger  <aj@suse.de>
1254         * sysdeps/s390/fpu/libm-test-ulps: Update.
1256 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
1257             Thomas Schwinge  <thomas@codesourcery.com>
1259         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1260         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1261         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1262         fanotify_mark.
1264 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
1266         * sysdeps/mach/start.c: Remove file.
1267         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1268         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1269         * sysdeps/sh/init-first.c: Likewise.
1271         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1272         registers for frame unwinding purposes, add CFI directives.
1273         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1274         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1275         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1276         Likewise.
1278         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1279         __fortify_fail returning.
1280         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1282         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1283         sysdeps/sh/____longjmp_chk.S.
1284         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1285         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1286         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1287         (gen-as-const-headers): Append sigaltstack-offsets.sym.
1289         * sysdeps/sh/abort-instr.h: New file.
1290         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1291         process in case exit returns.
1293         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1294         initialize the GOT register before use.
1296         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1297         calculation of ARGC > 4.
1299         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1300         meaningful names to some local labels.
1302 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1303             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1305         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1306         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1307         (__arch_compare_and_exchange_val_16_acq): Likewise.
1308         (__arch_compare_and_exchange_val_32_acq): Likewise.
1309         (atomic_exchange_and_add): Fix gUSA sequence.
1310         (atomic_add): Likewise.
1311         (atomic_add_negative): Likewise.
1312         (atomic_add_zero): Likewise.
1313         (atomic_bit_test_set): Likewise.
1315 2012-06-22  Andreas Schwab  <schwab@redhat.com>
1317         [BZ #13579]
1318         * include/link.h (struct link_map): Add l_free_initfini.
1319         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1320         l_initfini.
1321         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1322         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1323         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1324         set.
1326 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
1328         * configure.in: Use AC_LANG_SOURCE.
1329         * configure: Regenerate.
1331 2012-06-22  Roland McGrath  <roland@hack.frob.com>
1333         * configure.in (libc_cv_localstatedir): New substituted variable.
1334         * configure: Regenerated.
1335         * config.make.in (localstatedir): New variable, substituted from
1336         libc_cv_localstatedir.
1337         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1338         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1339         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1340         * sysdeps/gnu/configure: Regenerated.
1342 2012-06-21  Jeff Law  <law@redhat.com>
1344         [BZ #14277]
1345         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1346         free.  Simplify list management for _LIBC case.
1348 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
1350         [BZ #14273]
1351         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1352         Clear sign bit of 64-bit integer value before comparing against
1353         overflow value.
1355         * sysdeps/mach/configure: Regenerated.
1357 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1359         [BZ #14278]
1360         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1362 2012-06-21  Jeff Law  <law@redhat.com>
1364         [BZ #13882]
1365         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
1366         uint16_t for elements in the "seen" array to avoid char overflows.
1367         * elf/dl-fini.c (_dl_sort_fini): Likewise.
1368         * elf/dl-open.c (dl_open_worker): Likewise.
1370 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
1372         * scripts/list-sources.sh: Scan PORTS for translations.
1373         * po/libc.pot: Regenerated.
1375 2012-06-21  Andreas Jaeger  <aj@suse.de>
1377         [BZ #12194]
1378         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1379         warning.
1380         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1381         * bits/byteswap-16.h (__bswap_16): Likewise.
1382         * bits/byteswap.h (__bswap_constant_16): Likewise.
1384 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
1386         [BZ #14117]
1387         * sysdeps/i386/fpu_control.h: Removed.
1388         * sysdeps/x86_64/fpu_control.h: Moved to ...
1389         * sysdeps/x86/fpu_control.h: Here.
1391         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1392         (_FPU_SETCW): Likewise.
1394 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1396         [BZ #14117]
1397         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1398         * sysdeps/x86/fpu/bits/mathinline.h: This.
1399         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1401         [BZ #14050]
1402         [BZ #14117]
1403         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1404         functions if __x86_64__ is defined.
1406 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
1408         * string/endian.h: Add !__ASSEMBLER__ condition for including
1409         conversion interfaces.
1411 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
1413         [BZ #14241]
1414         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1415         of ABS(x) in calculating zero to negative powers other than odd
1416         integers.
1417         * math/libm-test.inc (pow_test): Add more tests.
1419 2012-06-15  Andreas Jaeger  <aj@suse.de>
1421         * manual/contrib.texi (Contributors): Update entry of Liubov
1422         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1423         Machado Filho.
1425 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
1427         * string/string.h: Add __wur to GNU version of strerror_r.
1429 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1431         [BZ #14229]
1432         * string/Makefile (tests): Add tst-strtok_r.
1433         * string/tst-strtok_r.c: New file.
1434         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1435         RAX_LP/RDX_LP on SAVE_PTR.
1437 2012-06-14  Roland McGrath  <roland@hack.frob.com>
1439         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1441 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
1443         * libm_test.inc (csqrt_test): Allow more spurious underflow
1444         exceptions.
1445         (j0_test): Likewise.
1446         (j1_test): Likewise.
1447         (y0_test): Likewise.
1448         (y1_test): Likewise.
1450 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
1452         * po/Makefile (libc.pot): Use UTF-8 charset.
1454 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
1456         [BZ #14210]
1457         Suppress sign-conversion warning from FD_SET.
1458         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1459         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1460         not unsigned long int.
1461         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1463 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1465         [BZ #14050]
1466         [BZ #14117]
1467         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1468         __extern_always_inline instead of __extern_inline.
1469         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1470         (__signbit): Likewise.
1471         (__signbitl): Support C++ namespace.
1472         (lrintf): New inline function.
1473         (lrint): Likewise.
1474         (llrintf): Likewise.
1475         (llrint): Likewise.
1476         (fmaxf): Likewise.
1477         (fmax): Likewise.
1478         (fminf): Likewise.
1479         (fmin): Likewise.
1480         (rint): Likewise.
1481         (rintf): Likewise.
1482         (ceil): Likewise.
1483         (ceilf): Likewise.
1484         (floor): Likewise.
1485         (floorf): Likewise.
1486         (nearbyint): Likewise.
1487         (nearbyintf): Likewise.
1489 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
1491         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1492         non-default versions.
1494 2012-06-11  Roland McGrath  <roland@hack.frob.com>
1496         [BZ #14218]
1497         * manual/argp.texi (Argp): Reword argp_parse description slightly.
1499 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
1501         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1502         (FE_UPWARD, FE_DOWNWARD): Don't define.
1503         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1504         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1506         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1507         reading it.
1508         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1509         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1511 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1513         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1514         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1515         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1516         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1518 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1520         [BZ #14117]
1521         * sysdeps/i386/fpu/bits/fenv.h: Removed.
1522         * sysdeps/i386/fpu/Implies: New file.
1523         * sysdeps/x86_64/fpu/Implies: Likewise.
1524         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1525         * sysdeps/x86/fpu/bits/fenv.h: This.
1527         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1528         __SSE_MATH__.
1530 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1532         [BZ #14134]
1533         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1534         character 0xffff that matches the last element of the
1535         conversion table.
1537 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1539         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1540         fmodl commit.
1542 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1544         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1545         values higher than 25.6283.
1547 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1549         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1550         subnormal exponent extraction and add some __builtin_expect.
1551         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1552         Fix for subnormal mantissa calculation.
1554 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
1556         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1557         cpu2 is -1 and errno is not ENOSYS.
1559 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
1561         [BZ #14117]
1562         * sysdeps/i386/i486/bits/string.h: Renamed to ...
1563         * sysdeps/x86/bits/string.h: This.
1564         * sysdeps/x86_64/bits/string.h: Removed.
1566         * sysdeps/i386/i486/bits/string.h: Define inline functions only
1567         if not compiling for x86-64, but compiling for >= i486.
1569         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1570         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1572         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1573         New macro from Linux kernel 3.4.0.
1574         (FP_XSTATE_MAGIC2): Likewise.
1575         (FP_XSTATE_MAGIC2_SIZE): Likewise.
1576         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1577         (struct _fpx_sw_bytes): New struct.
1578         (struct _xsave_hdr): Likewise.
1579         (struct _ymmh_state): Likewise.
1580         (struct _xstate): Likewise.
1582         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1583         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1584         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1585         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1586         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1587         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1589         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1590         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1591         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1592         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1593         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1594         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1596 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1598         [BZ #13743]
1599         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1600         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1601         (sysdep_headers): Include sys/platform/ppc.h.
1602         * sysdeps/powerpc/test-gettimebase.c: Test for
1603         __ppc_get_timebase() to catch future ISA opcode/insn changes.
1604         * manual/Makefile (appendices): Include platform.texi.
1605         * manual/contrib.texi (Contributors): Update @node pointers.
1606         * manual/maint.texi (Maintenance): Likewise.
1607         (Platform): New node.
1608         * manual/platform.texi: New file.  Document the new features.
1610 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1611             Jakub Jelinek  <jakub@redhat.com>
1613         [BZ #14188]
1614         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1615         where __builtin_expect is unavailable.
1617 2012-06-03  David S. Miller  <davem@davemloft.net>
1619         * stdlib/longlong.h: Updated from GCC.
1621 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
1623         [BZ #14042]
1624         * sysdeps/powerpc/powerpc32/mcount.c: New file.
1625         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1626         __mcount_internal.
1627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1628         (GLIBC_2.16): Likewise.
1630 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1632         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1634 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1637         (default-abi): New variable.
1638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1639         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1640         variable.
1641         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1642         Likewise.
1643         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1644         Likewise.
1645         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1646         Likewise.
1648         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1649         definition.  Document in comment.
1651 2012-06-01  David S. Miller  <davem@davemloft.net>
1653         * stdlib/longlong.h: Updated from GCC.
1655 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1657         [BZ #14117]
1658         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1659         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1660         sys/debugreg.h sys/io.h here.
1661         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1662         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1663         sys/io.h.
1664         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1665         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1666         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1667         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1668         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1669         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1671         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1672         Define only if __x86_64__ is defined.
1674 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1676         [BZ #14048]
1677         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1678         Use int64_t for variable i.
1679         * math/libm-test.inc (fmod_test): Add more tests.
1681         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1682         z computation is not scheduled after fetestexcept.
1683         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1684         Use math_force_eval instead of asm to ensure calculation scheduled
1685         before exception test.
1686         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1687         Ensure a1 + u.d computation is not scheduled after fetestexcept.
1689 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
1691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1692         computation is not scheduled after fetestexcept.
1694 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1696         [BZ #14117]
1697         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1698         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1700 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1702         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1703         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1705 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
1707         [BZ #14117]
1708         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1709         <bits/wordsize.h>.
1710         (__WCHAR_MIN): Support __WORDSIZE == 64.
1711         (__WCHAR_MAX): Likewise.
1713         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1714         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1716         [BZ #14183]
1717         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1718         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1720         [BZ #14117]
1721         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1722         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1724         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1725         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1727         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1728         Defined to 1 if __x86_64__ isn't defined.
1729         (_STAT_VER_LINUX_OLD): New.
1730         (st_atime): Remove duplicate.
1731         (st_mtime): Likewise.
1732         (st_ctime): Likewise.
1734 2012-05-31  David S. Miller  <davem@davemloft.net>
1736         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1737         entries.
1739 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
1741         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1742         gen-libm-test.pl.
1744         [BZ #14132]
1745         * elf/dl-reloc.c: Include <_itoa.h>.
1746         (_dl_reloc_bad_type): Remove use of INTUSE.
1747         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1748         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1749         * stdio-common/psiginfo.c (psiginfo): Likewise.
1750         * stdio-common/psignal.c (psignal): Likewise.
1751         * string/strsignal.c (strsignal): Likewise.
1752         * include/signal.h (_sys_siglist): Declare hidden proto.
1753         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
1754         INTVARDEF with libc_hidden_data_def.
1755         * stdio-common/itoa-udigits.c: Likewise.
1756         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1757         (_itoa_lower_digits_internal): Remove declaration.
1758         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1759         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1760         (_sys_sigabbrev_internal): Remove aliases.
1761         (_sys_siglist): Define hidden alias.
1763 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
1765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1766         bits/sysctl.h.
1768 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
1770         [BZ #14117]
1771         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1772         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1774         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1775         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1776         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1777         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1778         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1779         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1781         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1782         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1783         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1785         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1786         with __addr.
1787         (insw): Likewise.
1788         (insl): Likewise.
1789         (outsb): Likewise.
1790         (outsw): Likewise.
1791         (outsl): Likewise.
1793         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1794         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1795         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1797         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1798         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1799         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1800         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1801         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1802         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1804         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1805         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1807         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1808         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1810         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1811         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1812         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1814         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1815         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1816         to ...
1817         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1819         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1820         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1821         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1823         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1824         for x86-64.
1825         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1827 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
1829         * math/math.h (M_El): Use two more decimal places.
1830         (M_LOG2El): Likewise.
1831         (M_LOG10El): Likewise.
1832         (M_LN2l): Likewise.
1833         (M_LN10l): Likewise.
1834         (M_PIl): Likewise.
1835         (M_PI_2l): Likewise.
1836         (M_PI_4l): Likewise.
1837         (M_1_PIl): Likewise.
1838         (M_2_PIl): Likewise.
1839         (M_2_SQRTPIl): Likewise.
1840         (M_SQRT2l): Likewise.
1841         (M_SQRT1_2l): Likewise.
1843 2012-05-31  David S. Miller  <davem@davemloft.net>
1845         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1846         values between float registers.
1847         * sysdeps/sparc/sparc64/memset.S: Likewise.
1848         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1850 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
1852         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1853         -D_FORTIFY_SOURCE=1.
1854         (CPPFLAGS-tst-longjmp_chk.c): Define.
1855         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1856         (CPPFLAGS-tst-longjmp_chk2.c): Define.
1857         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1858         CFLAGS-tst-wchar-h.c.
1860 2012-05-31  Marek Polacek  <polacek@redhat.com>
1862         [BZ #14132]
1863         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1864         __endmntent_internal): Remove declaration.
1865         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1866         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1867         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1869 2012-05-30  David S. Miller  <davem@davemloft.net>
1871         * sysdeps/sparc/sparc32/soft-fp/q_util.c
1872         (___Q_simulate_exceptions): Use real FP ops rather than writing
1873         into the %fsr.
1874         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1875         Likewise.
1877 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1879         [BZ #14117]
1880         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1881         * sysdeps/x86/bits/xtitypes.h: This.
1883         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1884         * sysdeps/x86/bits/wordsize.h: This.
1886         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1887         * sysdeps/x86/bits/huge_vall.h: This.
1889         * sysdeps/i386/bits/select.h: Removed.
1890         * sysdeps/x86_64/bits/select.h: Renamed to ...
1891         * sysdeps/x86/bits/select.h: This.
1893         * sysdeps/i386/bits/setjmp.h: Removed.
1894         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1895         * sysdeps/x86/bits/setjmp.h: This.
1897         * sysdeps/i386/bits/mathdef.h: Removed.
1898         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1899         * sysdeps/x86/bits/mathdef.h: This.
1901 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
1903         [BZ #14132]
1904         * include/sys/socket.h (__connect_internal)
1905         (__libc_sa_len_internal): Remove declaration.
1906         (__connect, __libc_sa_len): Declare hidden_proto.
1907         (SA_LEN): Remove use of INTUSE.
1908         * socket/connect.c: Add libc_hidden_def.
1909         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1910         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1911         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1912         alias.
1913         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1914         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1915         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1916         of adding _internal alias.
1918 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1920         [BZ #14117]
1921         * sysdeps/i386/bits/link.h: Removed.
1922         * sysdeps/i386/bits/linkmap.h: Likewise.
1923         * sysdeps/x86_64/bits/link.h: Renamed to ...
1924         * sysdeps/x86/bits/link.h: This.
1925         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1926         * sysdeps/x86/bits/linkmap.h: This.
1928         * sysdeps/i386/bits/endian.h: Removed.
1929         * sysdeps/x86_64/bits/endian.h: Renamed to ...
1930         * sysdeps/x86/bits/endian.h: This.
1932         * sysdeps/i386/bits/byteswap.h: Removed.
1933         * sysdeps/i386/bits/byteswap-16.h: Likewise.
1934         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1935         * sysdeps/x86/bits/byteswap.h: This.
1936         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1937         * sysdeps/x86/bits/byteswap-16.h: This.
1938         * sysdeps/i386/Implies: Add x86.
1939         * sysdeps/x86_64/Implies: Likewise.
1941 2012-05-30  David S. Miller  <davem@davemloft.net>
1943         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1944         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1945         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1946         (FP_TRAPPING_EXCEPTIONS): Define.
1947         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1948         (FP_TRAPPING_EXCEPTIONS): Define.
1949         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1950         subnormals only when inexact has been signalled or underflow
1951         exceptions are enabled.
1952         (_FP_PACK_CANONICAL): Likewise.
1954 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1956         [BZ #14183]
1957         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1958         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1960 2012-05-30  Richard Henderson  <rth@twiddle.net>
1962         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1963         with #ifndef NOT_IN_libc.
1965         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
1966         marked to avoid plt entry.
1968 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1970         [BZ #14112]
1971         * Makeconfig (default-abi): New macro.
1972         (abi-includes): Likewise.
1973         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
1974         $(abi-$(default-abi)-lib-soname) for soname if defined.
1975         ($(common-objpfx)gnu/lib-names.stmp): Generate from
1976         abi-variants.
1977         * Makefile (installed-stubs): Likewise.
1978         * include/stubs-biarch.h: Removed.
1979         * scripts/lib-names.awk: Only handle one library at a time.
1980         * scripts/soversions.awk: Remove WORDSIZE support.
1981         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1982         entries.
1983         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1984         Removed.
1985         (syscall-list-default-condition): Likewise.
1986         (syscall-list-default-condition): Likewise.
1987         (syscall-list-includes): Likewise.
1988         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1989         syscall-list-* with abi-*.  Handle undefined abi-variants.
1990         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1991         * sysdeps/unix/sysv/linux/i386/Implies: New file.
1992         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1993         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1994         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1995         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1996         Removed.
1997         (syscall-list-32-options): Likewise.
1998         (syscall-list-32-condition): Likewise.
1999         (syscall-list-64-options): Likewise.
2000         (syscall-list-64-condition): Likewise.
2001         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2002         macro.
2003         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2004         Renamed to ...
2005         (abi-*): This.
2006         (abi-64-ld-soname): New macro.
2007         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2008         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2009         Renamed to ...
2010         (abi-*): This.
2011         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2012         * sysdeps/x86_64/x32/shlib-versions: Likewise.
2014 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
2016         * sysdeps/unix/sysv/linux/kernel-features.h
2017         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2018         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2019         include <kernel-features.h>.
2020         [!__NR_ftruncate64]: Remove conditional code.
2021         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2022         [__NR_ftruncate64]: Make code unconditional.
2023         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2024         * sysdeps/unix/sysv/linux/truncate64.c: Do not
2025         include <kernel-features.h>.
2026         [!__NR_ftruncate64]: Remove conditional code.
2027         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2028         [__NR_ftruncate64]: Make code unconditional.
2029         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2031         include <kernel-features.h>.
2032         [!__NR_ftruncate64]: Remove conditional code.
2033         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2034         [__NR_ftruncate64]: Make code unconditional.
2035         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2037         include <kernel-features.h>.
2038         [!__NR_ftruncate64]: Remove conditional code.
2039         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2040         [__NR_ftruncate64]: Make code unconditional.
2041         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2043         * configure.in (libc_cv_fpie): Weaken to a compile test using
2044         LIBC_TRY_CC_OPTION.
2045         * configure: Regenerated.
2047 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2053         Refreshed.
2054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2060         Refreshed.
2062 2012-05-27  David S. Miller  <davem@davemloft.net>
2064         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2065         (___Q_zero): New.
2066         (__Q_simulate_exceptions): Return void.  Change to simulate
2067         exceptions by writing into the %fsr.
2068         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2069         (__Qp_handle_exceptions): Likewise.
2070         (numbers): Delete.
2071         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2072         __Qp_handle_exceptions.
2073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2074         __Qp_handle_exceptions.
2075         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2076         as unused and give dummy FP_RND_NEAREST initializer.
2077         (FP_INHIBIT_RESULTS): Define.
2078         (___Q_simulate_exceptions): Update declaration.
2079         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2080         formatting.
2081         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2082         as unused and give dummy FP_RND_NEAREST initializer.
2083         (__Qp_handle_exceptions): Update declaration.
2084         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2085         formatting.
2087 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
2089         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2090         the temporary FPU control word.
2091         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2092         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2093         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2094         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2095         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2096         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2097         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2098         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2099         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2100         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2101         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2103 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2105         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2106         fields.
2108 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
2110         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2111         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2112         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2113         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2114         Likewise.
2115         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2116         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2117         Likewise.
2119 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
2121         * po/h.po: Update from translation team.
2123 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
2125         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2127         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2128         handling of denormals.
2129         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2130         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2131         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2132         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2133         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2134         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2135         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2136         Likewise.
2138 2012-05-26  Marek Polacek  <polacek@redhat.com>
2140         [BZ #14152]
2141         * math/libm-test.inc (fma_test): Don't always expect underflow
2142         exception.
2144 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2146         [BZ #12416]
2147         * elf/tst-execstack.c: Include stackinfo.h.
2148         (do_test): Adjust test case to ensure that pthread_getattr_np
2149         behaviour remains the same after marking stack executable.
2151 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
2153         * sysdeps/unix/sysv/linux/kernel-features.h
2154         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2155         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2156         kernel-features.h.
2157         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2158         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2159         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2160         kernel-features.h.
2161         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2162         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2164 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2166         * configure.in: Define the default includes to being none.
2167         * configure: Regenerated.
2169 2012-05-25  Roland McGrath  <roland@hack.frob.com>
2171         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2172         * sysdeps/x86_64/setjmp.S: Likewise.
2173         * sysdeps/i386/bsd-setjmp.S: Likewise.
2174         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2175         * sysdeps/i386/setjmp.S: Likewise.
2176         * sysdeps/i386/__longjmp.S: Likewise.
2177         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2178         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2180         * include/stap-probe.h: New file.
2181         * configure.in: Handle --enable-systemtap.
2182         * configure: Regenerated.
2183         * config.h.in (USE_STAP_PROBE): New #undef.
2184         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2185         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2186         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2188 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
2190         [BZ #13717]
2191         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2192         to 2.4.0 where earlier.
2193         * sysdeps/unix/sysv/linux/configure: Regenerated.
2194         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2195         <kernel-features.h>.
2196         [__ASSUME_32BITUIDS]: Make code unconditional.
2197         [!__ASSUME_32BITUIDS]: Remove conditional code.
2198         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2199         <kernel-features.h>.
2200         [__ASSUME_32BITUIDS]: Make code unconditional.
2201         [!__ASSUME_32BITUIDS]: Remove conditional code.
2202         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2203         [__ASSUME_32BITUIDS]: Make code unconditional.
2204         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2205         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2206         <kernel-features.h>.
2207         [__ASSUME_32BITUIDS]: Make code unconditional.
2208         [!__ASSUME_32BITUIDS]: Remove conditional code.
2209         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2210         <kernel-features.h>.
2211         [__ASSUME_32BITUIDS]: Make code unconditional.
2212         [!__ASSUME_32BITUIDS]: Remove conditional code.
2213         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2214         <kernel-features.h>.
2215         [__ASSUME_32BITUIDS]: Make code unconditional.
2216         [!__ASSUME_32BITUIDS]: Remove conditional code.
2217         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2218         <kernel-features.h>.
2219         [__ASSUME_32BITUIDS]: Make code unconditional.
2220         [!__ASSUME_32BITUIDS]: Remove conditional code.
2221         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2222         <kernel-features.h>.
2223         [__ASSUME_32BITUIDS]: Make code unconditional.
2224         [!__ASSUME_32BITUIDS]: Remove conditional code.
2225         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2226         <kernel-features.h>.
2227         [__ASSUME_32BITUIDS]: Make code unconditional.
2228         [!__ASSUME_32BITUIDS]: Remove conditional code.
2229         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2230         <kernel-features.h>.
2231         [__ASSUME_32BITUIDS]: Make code unconditional.
2232         [!__ASSUME_32BITUIDS]: Remove conditional code.
2233         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2234         <kernel-features.h>.
2235         [__ASSUME_32BITUIDS]: Make code unconditional.
2236         [!__ASSUME_32BITUIDS]: Remove conditional code.
2237         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2238         <kernel-features.h>.
2239         [__ASSUME_32BITUIDS]: Make code unconditional.
2240         [!__ASSUME_32BITUIDS]: Remove conditional code.
2241         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2242         <kernel-features.h>.
2243         [__ASSUME_32BITUIDS]: Make code unconditional.
2244         [!__ASSUME_32BITUIDS]: Remove conditional code.
2245         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2246         <kernel-features.h>.
2247         [__NR_setresgid] (__setresgid): Do not declare.
2248         [__ASSUME_32BITUIDS]: Make code unconditional.
2249         [!__ASSUME_32BITUIDS]: Remove conditional code.
2250         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2251         <kernel-features.h>.
2252         [__NR_setresuid] (__setresuid): Do not declare.
2253         [__ASSUME_32BITUIDS]: Make code unconditional.
2254         [!__ASSUME_32BITUIDS]: Remove conditional code.
2255         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2256         <kernel-features.h>.
2257         [__ASSUME_32BITUIDS]: Make code unconditional.
2258         [!__ASSUME_32BITUIDS]: Remove conditional code.
2259         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2260         <kernel-features.h>.
2261         [__ASSUME_32BITUIDS]: Make code unconditional.
2262         [!__ASSUME_32BITUIDS]: Remove conditional code.
2263         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2264         <kernel-features.h>.
2265         [__ASSUME_32BITUIDS]: Make code unconditional.
2266         [!__ASSUME_32BITUIDS]: Remove conditional code.
2267         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2268         <kernel-features.h>.
2269         [__ASSUME_32BITUIDS]: Make code unconditional.
2270         [!__ASSUME_32BITUIDS]: Remove conditional code.
2271         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2272         <kernel-features.h>.
2273         [__ASSUME_32BITUIDS]: Make code unconditional.
2274         [!__ASSUME_32BITUIDS]: Remove conditional code.
2275         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2276         <kernel-features.h>.
2277         [__ASSUME_32BITUIDS]: Make code unconditional.
2278         [!__ASSUME_32BITUIDS]: Remove conditional code.
2279         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2280         <kernel-features.h>.
2281         [__ASSUME_32BITUIDS]: Make code unconditional.
2282         [!__ASSUME_32BITUIDS]: Remove conditional code.
2283         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2284         <kernel-features.h>.
2285         [__ASSUME_32BITUIDS]: Make code unconditional.
2286         [!__ASSUME_32BITUIDS]: Remove conditional code.
2287         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2288         <kernel-features.h>.
2289         [__ASSUME_32BITUIDS]: Make code unconditional.
2290         [!__ASSUME_32BITUIDS]: Remove conditional code.
2291         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2292         <kernel-features.h>.
2293         [__ASSUME_32BITUIDS]: Make code unconditional.
2294         [!__ASSUME_32BITUIDS]: Remove conditional code.
2295         * sysdeps/unix/sysv/linux/kernel-features.h
2296         (__ASSUME_SETRESUID_SYSCALL): Remove.
2297         (__ASSUME_SETRESGID_SYSCALL): Likewise.
2298         (__ASSUME_32BITUIDS): Likewise.
2299         (__ASSUME_LDT_WORKS): Likewise.
2300         (__ASSUME_O_DIRECTORY): Likewise.
2301         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2302         architecture but not kernel version.
2303         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2304         (__ASSUME_MMAP2_SYSCALL): Likewise.
2305         (__ASSUME_STAT64_SYSCALL): Likewise.
2306         (__ASSUME_IPC64): Likewise.
2307         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2308         <kernel-features.h>.
2309         [__ASSUME_32BITUIDS]: Make code unconditional.
2310         [!__ASSUME_32BITUIDS]: Remove conditional code.
2311         * sysdeps/unix/sysv/linux/opendir.c: Do not include
2312         <kernel-features.h>.
2313         [__ASSUME_O_DIRECTORY]: Make code unconditional.
2314         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2315         132096]: Remove conditional code.
2316         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2317         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2318         <kernel-features.h>.
2319         [__ASSUME_32BITUIDS]: Make code unconditional.
2320         [!__ASSUME_32BITUIDS]: Remove conditional code.
2321         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2322         <kernel-features.h>.
2323         [__ASSUME_32BITUIDS]: Make code unconditional.
2324         [!__ASSUME_32BITUIDS]: Remove conditional code.
2325         * sysdeps/unix/sysv/linux/setegid.c: Do not include
2326         <kernel-features.h>.
2327         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2328         unconditional.
2329         (__setresgid): Do not declare.
2330         [__ASSUME_32BITUIDS]: Make code unconditional.
2331         [!__ASSUME_32BITUIDS]: Remove conditional code.
2332         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2333         <kernel-features.h>.
2334         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2335         unconditional.
2336         (__setresuid): Do not declare.
2337         [__ASSUME_32BITUIDS]: Make code unconditional.
2338         [!__ASSUME_32BITUIDS]: Remove conditional code.
2339         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2340         <kernel-features.h>.
2341         [__ASSUME_32BITUIDS]: Make code unconditional.
2342         [!__ASSUME_32BITUIDS]: Remove conditional code.
2343         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2344         <kernel-features.h>.
2345         [__ASSUME_32BITUIDS]: Make code unconditional.
2346         [!__ASSUME_32BITUIDS]: Remove conditional code.
2348 2012-05-25  Richard Henderson  <rth@twiddle.net>
2350         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2351         dl_hwcap to ifunc resolver.
2352         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2353         elf_ifunc_invoke.
2354         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2355         dl_hwcap to ifunc resolver.
2356         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2358 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2360         [BZ #14153]
2361         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2362         for |x| <= 2**-26, not 2**-57.
2363         * math/libm-test.inc (acos_test): Do not allow spurious underflow
2364         exception.
2366 2012-05-24  Jeff Law  <law@redhat.com>
2368         * stdio-common/Makefile (tests): Add bug25.
2369         * stdio-common/bug25.c: New test.
2371 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2373         [BZ #13576]
2374         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2375         multiple of MALLOC_ALIGNMENT in size.
2376         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2378 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2380         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2381         Require >= 256.
2382         (FILENAME_MAX): Use macro-int-constant.
2383         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
2384         (_IOFBF): Use macro-int-constant.
2385         (_IOLBF): Likewise.
2386         (_IONBF): Likewise.
2387         (SEEK_CUR): Likewise.
2388         (SEEK_END): Likewise.
2389         (SEEK_SET): Likewise.
2390         (TMP_MAX): Likewise.
2391         (EOF): Use macro-int-constant.  Require < 0.
2392         (NULL): Use macro-constant.  Require == 0.
2393         (stdin): Require type to be FILE *.
2394         (stdout): Likewise.
2395         (stderr): Likewise.
2396         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2397         macro-int-constant.
2398         (EXIT_SUCCESS): Likewise.
2399         (NULL): Use macro-constant.  Require == 0.
2400         (RAND_MAX): Use macro-int-constant.
2401         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2402         [C99-based standards] (strtof): Require function.
2403         [C99-based standards] (strtold): Likewise.
2404         [C99-based standards] (strtoll): Likewise.
2405         [C99-based standards] (strtoull): Likewise.
2406         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2407         [ISO || ISO99 || ISO11] (limits.h): Likewise.
2408         [ISO || ISO99 || ISO11] (math.h): Likewise.
2409         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2410         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2411         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2413 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
2415         [BZ #14132]
2416         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2417         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2418         * intl/dgettext.c (DCGETTEXT): Likewise.
2419         * intl/gettext.c (DCGETTEXT): Likewise.
2420         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2421         * posix/regex_internal.h (gettext): Likewise.
2422         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2423         Remove declaration.
2424         * include/argz.h (__argz_count_internal)
2425         (__argz_stringify_internal): Remove declaration.
2426         (__argz_count, __argz_stringify): Declare hidden proto.
2427         * intl/dcgettext.c: Remove use of INTDEF.
2428         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2429         * string/argz-stringify.c: Likewise.
2430         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2431         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2432         Declare hidden proto.
2433         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2434         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2435         Declare hidden proto.
2436         * include/stdio.h (__asprintf_internal): Don't declare.
2437         (__asprintf): Don't define as macro.  Declare hidden proto.
2438         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2439         (__fsetlocking): Declare hidden proto.
2440         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2441         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2442         hidden proto.
2443         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2444         (_IO_setlinebuf): Remove use of INTUSE.
2445         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2446         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2447         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2448         Remove declaration.
2449         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2450         (_IO_do_flush): Remove use of INTUSE.
2451         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2452         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2453         (_IO_adjust_column, _IO_least_wmarker)
2454         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2455         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2456         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2457         (_IO_default_doallocate, _IO_wdefault_doallocate)
2458         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2459         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2460         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2461         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2462         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2463         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2464         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2465         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2466         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2467         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2468         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2469         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2470         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2471         proto.
2472         (_IO_flush_all_internal, _IO_adjust_column_internal)
2473         (_IO_default_uflow_internal, _IO_default_finish_internal)
2474         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2475         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2476         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2477         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2478         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2479         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2480         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2481         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2482         (_IO_file_close_internal, _IO_file_close_it_internal)
2483         (_IO_file_underflow_internal, _IO_file_overflow_internal)
2484         (_IO_file_init_internal, _IO_file_attach_internal)
2485         (_IO_file_fopen_internal, _IO_file_read_internal)
2486         (_IO_file_sync_internal, _IO_file_seek_internal)
2487         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2488         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2489         (_IO_str_underflow_internal, _IO_str_overflow_internal)
2490         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2491         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2492         (_IO_list_all_internal, _IO_link_in_internal)
2493         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2494         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2495         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2496         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2497         (_IO_do_write_internal, _IO_padn_internal)
2498         (_IO_getline_info_internal, _IO_getline_internal)
2499         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2500         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2501         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2502         (_IO_vfscanf_internal, _IO_vfprintf_internal)
2503         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2504         (_IO_init_internal, _IO_un_link_internal): Don't declare.
2505         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2506         with libc_hidden_ver, remove use of INTUSE.
2507         * libio/genops.c: Likewise.
2508         * libio/freopen.c: Likewise.
2509         * libio/freopen64.c: Likewise.
2510         * libio/iofclose.c: Likewise.
2511         * libio/iofdopen.c: Likewise.
2512         * libio/iofflush.c: Likewise.
2513         * libio/iofflush_u.c: Likewise.
2514         * libio/iofgets.c: Likewise.
2515         * libio/iofgets_u.c: Likewise.
2516         * libio/iofopen.c: Likewise.
2517         * libio/iofopncook.c: Likewise.
2518         * libio/iofread.c: Likewise.
2519         * libio/iofread_u.c: Likewise.
2520         * libio/ioftell.c: Likewise.
2521         * libio/iofwrite.c: Likewise.
2522         * libio/iogetline.c: Likewise.
2523         * libio/iogets.c: Likewise.
2524         * libio/iogetwline.c: Likewise.
2525         * libio/iopadn.c: Likewise.
2526         * libio/iopopen.c: Likewise.
2527         * libio/ioseekoff.c: Likewise.
2528         * libio/ioseekpos.c: Likewise.
2529         * libio/iosetbuffer.c: Likewise.
2530         * libio/iosetvbuf.c: Likewise.
2531         * libio/ioungetc.c: Likewise.
2532         * libio/ioungetwc.c: Likewise.
2533         * libio/iovdprintf.c: Likewise.
2534         * libio/iovsprintf.c: Likewise.
2535         * libio/iovsscanf.c: Likewise.
2536         * libio/memstream.c: Likewise.
2537         * libio/obprintf.c: Likewise.
2538         * libio/oldfileops.c: Likewise.
2539         * libio/oldiofclose.c: Likewise.
2540         * libio/oldiofdopen.c: Likewise.
2541         * libio/oldiofopen.c: Likewise.
2542         * libio/oldiopopen.c: Likewise.
2543         * libio/oldstdfiles.c: Likewise.
2544         * libio/putc.c: Likewise.
2545         * libio/setbuf.c: Likewise.
2546         * libio/setlinebuf.c: Likewise.
2547         * libio/stdfiles.c: Likewise.
2548         * libio/strops.c: Likewise.
2549         * libio/vasprintf.c: Likewise.
2550         * libio/vscanf.c: Likewise.
2551         * libio/vsnprintf.c: Likewise.
2552         * libio/vswprintf.c: Likewise.
2553         * libio/wfiledoalloc.c: Likewise.
2554         * libio/wfileops.c: Likewise.
2555         * libio/wgenops.c: Likewise.
2556         * libio/wmemstream.c: Likewise.
2557         * libio/wstrops.c: Likewise.
2558         * libio/__fpurge.c: Likewise.
2559         * libio/__fsetlocking.c: Likewise.
2560         * assert/assert.c: Likewise.
2561         * debug/fgets_chk.c: Likewise.
2562         * debug/fgets_u_chk.c: Likewise.
2563         * debug/fread_chk.c: Likewise.
2564         * debug/fread_u_chk.c: Likewise.
2565         * debug/gets_chk.c: Likewise.
2566         * debug/obprintf_chk.c: Likewise.
2567         * debug/vasprintf_chk.c: Likewise.
2568         * debug/vdprintf_chk.c: Likewise.
2569         * debug/vsnprintf_chk.c: Likewise.
2570         * debug/vsprintf_chk.c: Likewise.
2571         * malloc/mtrace.c: Likewise.
2572         * misc/error.c: Likewise.
2573         * misc/syslog.c: Likewise.
2574         * stdio-common/asprintf.c: Likewise.
2575         * stdio-common/fxprintf.c: Likewise.
2576         * stdio-common/getw.c: Likewise.
2577         * stdio-common/isoc99_fscanf.c: Likewise.
2578         * stdio-common/isoc99_scanf.c: Likewise.
2579         * stdio-common/isoc99_vfscanf.c: Likewise.
2580         * stdio-common/isoc99_vscanf.c: Likewise.
2581         * stdio-common/isoc99_vsscanf.c: Likewise.
2582         * stdio-common/printf-prs.c: Likewise.
2583         * stdio-common/printf_fp.c: Likewise.
2584         * stdio-common/printf_fphex.c: Likewise.
2585         * stdio-common/printf_size.c: Likewise.
2586         * stdio-common/putw.c: Likewise.
2587         * stdio-common/scanf.c: Likewise.
2588         * stdio-common/sprintf.c: Likewise.
2589         * stdio-common/tmpfile.c: Likewise.
2590         * stdio-common/vfprintf.c: Likewise.
2591         * stdio-common/vfscanf.c: Likewise.
2592         * stdlib/strfmon_l.c: Likewise.
2593         * sunrpc/openchild.c: Likewise.
2594         * sunrpc/xdr_stdio.c: Likewise.
2595         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2596         * sysdeps/mach/hurd/tmpfile.c: Likewise.
2598 2012-05-24  Roland McGrath  <roland@hack.frob.com>
2600         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2602         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2603         in the third column, to generate for the shared library an IFUNC
2604         that uses _dl_vdso_vsym.
2605         * Makerules (COMPILE.c, compile-stdin.c): New variables.
2606         * Makeconfig (object-suffixes-noshared): New variable.
2608         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2609         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2610         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2611         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2613         [BZ #14132]
2614         * include/sys/time.h (__gettimeofday): Remove macro.
2615         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2616         * time/gettimeofday.c (__gettimeofday): Remove #undef.
2617         Remove INTDEF.
2618         (__gettimeofday): Add libc_hidden_def.
2619         (gettimeofday): Add libc_hidden_weak.
2620         * sysdeps/mach/gettimeofday.c: Likewise.
2621         * sysdeps/posix/gettimeofday.c: Likewise.
2622         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2623         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2624         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2625         (__gettimeofday_internal): Remove strong_alias.
2626         (__gettimeofday): Add libc_hidden_def.
2627         (gettimeofday): Add libc_hidden_weak.
2628         * sysdeps/unix/syscalls.list (gettimeofday):
2629         Remove __gettimeofday_internal alias.
2631 2012-05-24  Daniel Jacobowitz  <drow@false.org>
2632             H.J. Lu  <hongjiu.lu@intel.com>
2634         [BZ #12495]
2635         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2636         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2637         (largebin_index_32_big): New.
2638         (largebin_index): Use it for 16-byte alignment.
2639         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
2640         correction with front_misalign.
2642 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2646         Likewise.
2647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2648         Likewise.
2649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2650         Likewise.
2651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2652         Likewise.
2653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2654         Likewise.
2655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2656         Likewise.
2657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2658         Likewise.
2659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2660         Likewise.
2661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2662         Likewise.
2663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2664         Likewise.
2665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2666         Likewise.
2667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2668         Likewise.
2670         * scripts/data/c++-types-x32-linux-gnu.data: New file.
2671         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2673 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2675         [BZ #10846]
2676         [BZ #14036]
2677         * math/libm-test.inc (exp_test): Add test from bug 14036.
2678         (pow_test): Add test from bug 10846.
2680         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2681         and other flags.
2682         (special_function): Do not include flags in test name.
2683         (parse_args): Likewise.
2684         * sysdeps/i386/fpu/libm-test-ulps: Update.
2685         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2686         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2687         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2690         * math/gen-libm-test.pl (%beautify): Add entries for underflow
2691         exceptions.
2692         * math/libm-test.inc ("Philosophy"): Update comment about
2693         exception testing.
2694         (UNDERFLOW_EXCEPTION): New macro.
2695         (UNDERFLOW_EXCEPTION_OK): Likewise.
2696         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2697         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2698         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2699         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2700         (INVALID_EXCEPTION_OK): Update value.
2701         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2702         (OVERFLOW_EXCEPTION_OK): Likewise.
2703         (IGNORE_ZERO_INF_SIGN): Likewise.
2704         (test_exceptions): Handle underflow exceptions.
2705         (acos_test): Update for underflow exception expectations.
2706         (cexp_test): Likewise.
2707         (clog_test): Likewise.
2708         (clog10_test): Likewise.
2709         (csqrt_test): Likewise.
2710         (ctan_test): Likewise.
2711         (ctanh_test): Likewise.
2712         (exp_test): Likewise.
2713         (exp10_test): Likewise.
2714         (exp2_test): Likewise.
2715         (expm1_test): Likewise.
2716         (fma_test): Likewise.
2717         (j0_test): Likewise.
2718         (jn_test): Likewise.
2719         (nexttoward_test): Likewise.
2720         (pow_test): Likewise.
2721         (scalbn_test): Likewise.
2722         (scalbln_test): Likewise.
2723         (tan_test): Likewise.
2724         (y1_test): Likewise.
2725         * sysdeps/i386/fpu/libm-test-ulps: Update.
2726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2728 2012-05-23  David S. Miller  <davem@davemloft.net>
2730         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2731         (__libc_sigaction): Remove unused local variables.
2733 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2735         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2737 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
2739         mktime: avoid signed integer overflow
2740         * time/mktime.c (__mktime_internal): Do not mishandle the case
2741         where diff == INT_MIN.
2743         mktime: simplify computation of average
2744         * time/mktime.c (ranged_convert): Use new time_t_avg function
2745         instead of rolling our own (probably-slower) code.
2747         mktime: do not assume signed right shift propagates sign bit
2748         * time/mktime.c (isdst_differ): New static function.
2749         (__mktime_internal): No need to normalize tm_isdst now.
2750         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2751         tm_isdst values.
2753         mktime: merge another wrapv change from gnulib
2754         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2755         from some compilers.
2757         mktime: remove incorrect attempt at unusual arithmetics
2758         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2759         The code didn't really work on such machines anyway.
2760         (TYPE_MINIMUM): Assume two's complement.
2761         (twos_complement_arithmetic): Verify that long_int and time_t
2762         are two's complement (or unsigned, in the latter case).
2764         mktime: check signed shifts on long_int and time_t, too
2765         * time/mktime.c (SHR): Check that shifts work as desired
2766         on the types long_int and time_t too, as SHR is used on
2767         such types.
2769         mktime: do not assume 'long' is wide enough
2770         * time/mktime.c (verify): Move decl up.
2771         (long_int): New type.
2772         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2773         to remove assumption in the code that 'long' is wide enough to
2774         store year values.  This assumption is not true on x32 and on
2775         some non-glibc platforms.
2777         mktime: merge wrapv change from gnulib
2778         * time/mktime.c (WRAPV): New macro.
2779         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2780         (guess_time_tm, __mktime_internal): Do not assume that signed
2781         integer overflow wraps around; modern compilers generate code
2782         where this assumption is no longer valid.
2784 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2786         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2787         Replace "jmp L(pseudo_end)" with "ret".
2788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2789         Likewise.
2791 2012-05-23  Andreas Jaeger  <aj@suse.de>
2793         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2794         * sysdeps/unix/sysv/linux/poll.c: Remove file.
2796 2012-05-23  Andreas Jaeger  <aj@suse.de>
2797             Maximilian Attems  <max@stro.at>
2799         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2800         New macros.
2802 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2804         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2805         code so that pseudo_end is just ret and the stack pointer is
2806         correct also for static library in error case.
2808 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
2810         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2811         move to syscalls.list.
2812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2817         * manual/install.texi (Running make install): Do not mention Linux
2818         kernel version for which pt_chown is not needed.
2819         (Linux): Do not mention problems with nscd with 2.0 kernels.
2820         * INSTALL: Regenerated.
2822 2012-05-23  Andreas Jaeger  <aj@suse.de>
2824         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2825         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2826         macro.
2827         * sysdeps/unix/sysv/linux/s390/bits/mman.h
2828         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2829         * sysdeps/unix/sysv/linux/sh/bits/mman.h
2830         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2831         * sysdeps/unix/sysv/linux/i386/bits/mman.h
2832         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2833         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2834         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2835         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2836         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2837         * sysdeps/unix/sysv/linux/bits/in.h
2838         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2840 2012-05-22  Roland McGrath  <roland@hack.frob.com>
2842         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2843         (PREPARE_VERSION): Just use assert instead, it will be elided
2844         under [NDEBUG] anyway.
2846 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2848         * sysdeps/unix/sysv/linux/Makefile: Include
2849         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2850         (sysdep_routines): Remove sysctl.
2851         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2852         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2853         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2854         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2855         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2857 2012-05-22  Andreas Jaeger  <aj@suse.de>
2859         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2860         that pseudo_end is just ret and the stack pointer is correct also
2861         for static library in error case.
2863 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
2865         [BZ #14122]
2866         * nss/nsswitch.c (defconfig_entries): New variable.
2867         (__nss_database_lookup): Don't leak defconfig entries.
2868         (nss_parse_service_list): Don't leak on error paths.
2869         (free_database_entries): New function.
2870         (free_defconfig): New function.
2871         (free_mem): Move common code to free_database_entries.
2873 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2875         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2876         Add arch_prctl.
2877         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2879         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2880         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2881         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2882         New macro.
2883         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2884         (INTERNAL_SYSCALL_TYPES): Likewise.
2885         (LOAD_ARGS_TYPES_[1-6]): Likewise.
2886         (LOAD_REGS_TYPES_[1-6]): Likewise.
2887         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2888         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2890 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2892         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2893         copysignl for GLIBC_2_0.
2894         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2895         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2896         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2897         logbl for GLIBC_2_0.
2898         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2899         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2901 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2903         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2904         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
2906         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2907         Use "neg %eax".
2909         * time/mktime.c: Update copyright years.
2911 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2913         mktime: merge comment-quoting-style change from gnulib
2914         * time/mktime.c: Quote 'like this' in comments.
2915         The GNU coding standards suggest that we no longer quote `like this',
2916         as "`" and "'" are typically rendered asymmetrically nowadays.
2917         The typical gnulib style is to quote 'like this' when quoting
2918         code, and "like this" when quoting English.
2920         * time/mktime.c (compile-command): Add "-I.".
2922         mktime: merge mktime-internal.h change from gnulib
2923         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2925         mktime: merge time_r change from gnulib
2926         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2928         mktime: merge DEBUG change from gnulib
2929         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2930         case system <time.h> has a #define.
2932         mktime: merge <sys/types.h> change from gnulib
2933         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2934         since <time.t> is now guaranteed to define time_t.
2936         mktime: merge HAVE_CONFIG_H change from gnulib
2937         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2939 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2941         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2942         Use "neg %eax".
2944         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2945         __rlim_t cast.
2946         (struct rusage): Use anonymous union to pad each field to
2947         __syscall_slong_t.
2949 2012-05-21  David S. Miller  <davem@davemloft.net>
2951         * Makefules (o-iterator): Remove .s cases.
2952         (compile-command.s): Delete.
2953         (COMPILE.s): Delete.
2954         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2956 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
2958         * configure.in (libc_cv_predef_stack_protector): Only consider
2959         "foobar" and "__stack_chk_fail" lines in libc_undefs.
2960         * configure: Regenerated.
2962 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2965         New macro.  Use R*LP on int and pointer.
2966         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2967         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2968         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2969         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2971         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2972         [__WORDSIZE_TIME64_COMPAT32] instead of
2973         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2974         (struct utmp): Likewise.
2975         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2976         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2977         Renamed to ...
2978         (__WORDSIZE_TIME64_COMPAT32): This.
2979         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2980         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2981         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2982         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2983         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2984         (__WORDSIZE_TIME64_COMPAT32): New macro.
2986 2012-05-21  Andreas Jaeger  <aj@suse.de>
2988         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2989         only if [SHARED]. Add prototype for __wcschr_ia32.
2991 2012-05-21  Roland McGrath  <roland@hack.frob.com>
2993         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2994         of %rbp unmolested in the jmp_buf while mangling the low bits.
2995         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2996         unmolested high bits of %rbp while demangling the low bits.
2997         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2999 2012-05-21  Andreas Jaeger  <aj@suse.de>
3001         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3002         * sunrpc/svc_simple.c: Use it for registerrpc.
3003         * sunrpc/xcrypt.c: Use it for passwd2des.
3005         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3007 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
3009         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3010         Don't define if [__SYSCALL_WORDSIZE != 32].
3011         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3012         New macro.
3014 2012-05-21  Bruno Haible  <bruno@clisp.org>
3015             Andreas Jaeger  <aj@suse.de>
3017         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3018         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3019         inptr and inend for must_buffer_ch.
3020         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3021         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3022         * stdio-common/Makefile (tests): Remove bug15.
3023         (bug15-ENV): Remove macro.
3024         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3025         anymore.
3027 2012-05-19  Andreas Jaeger  <aj@suse.de>
3028             Roland McGrath  <roland@hack.frob.com>
3030         * manual/contrib.texi: Completely rewritten. It contains now an
3031         alphabetical list of contributors and their contributions.
3033 2012-05-21  Richard Henderson  <rth@twiddle.net>
3035         * misc/getauxval.c (__getauxval): Use unsigned long int.
3036         * misc/sys/auxv.h: Include <sys/cdefs.h>.
3037         (getauxval): Use unsigned long int.
3039 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
3041         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3043 2012-05-21  Roland McGrath  <roland@hack.frob.com>
3045         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3046         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3047         __alignof__ (long double).
3049 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3053 2012-05-20  Richard Henderson  <rth@twiddle.net>
3055         * misc/getauxval.c: New file.
3056         * misc/sys/auxv.h: New file.
3057         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3058         (routines): Add getauxval.
3059         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3060         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3061         * elf/dl-sysdep.c (_dl_auxv): Remove.
3062         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3063         * elf/dl-support.c (_dl_auxv): New variable.
3064         (_dl_aux_init): Initialize it.
3065         * manual/startup.texi (Auxiliary Vector): New node.
3066         * sysdeps/generic/bits/hwcap.h: New file.
3067         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3068         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
3069         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3070         * sysdeps/sparc/sysdep.h: ... here.  Include it.
3071         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3072         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3074         Update.
3075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3078         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3084 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3088 2012-05-19  David S. Miller  <davem@davemloft.net>
3090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3092 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
3094         [BZ #14123]
3095         * math/s_ccosh.c: Include <float.h>
3096         (__ccosh): Avoid internal overflow calculating sinh and cosh
3097         values before multiplying by sin and cos values.
3098         * math/s_ccoshf.c: Likewise.
3099         * math/s_ccoshl.c: Likewise.
3100         * math/s_csin.c: Likewise.
3101         * math/s_csinf.c: Likewise.
3102         * math/s_csinl.c: Likewise.
3103         * math/s_csinh.c: Likewise.
3104         * math/s_csinhf.c: Likewise.
3105         * math/s_csinhl.c: Likewise.
3106         * math/libm-test.inc (ccos_test): Add more tests.
3107         (ccosh_test): Likewise.
3108         (csin_test): Likewise.
3109         (csinh_test): Likewise.
3110         * sysdeps/i386/fpu/libm-test-ulps: Update.
3111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3113 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3115         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3116         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3118         * sysdeps/x86_64/x32/_itoa.h: Add comment.
3120 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
3122         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3123         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3124         * sysdeps/powerpc/soft-fp/Versions: Likewise.
3125         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3126         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3127         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3128         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3129         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3130         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3131         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3132         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3133         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3134         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3135         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3136         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3137         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3138         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3139         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3140         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3141         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3142         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3143         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3144         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3145         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3146         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3147         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3148         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3149         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3150         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3151         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3152         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3154 2012-05-18  Andreas Jaeger  <aj@suse.de>
3156         * csu/.gitignore: Delete.
3158 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3160         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3161         (timex): Use __syscall_slong_t.
3163 2012-05-18  Andreas Jaeger  <aj@suse.de>
3164             Carlos O'Donell  <carlos_odonell@mentor.com>
3166         * manual/install.texi (Configuring and compiling): Update
3167         description about files modified in the source directory.
3168         * INSTALL: Regenerated.
3170 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3172         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3173         value.  Use "or" to set return value to -1.
3174         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3175         negate return value.
3177 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3179         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3180         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3181         failure if the compiler has Graphite support disabled.
3182         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3183         Likewise.
3184         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3185         CFLAGS-memmove.c): Likewise.
3186         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3187         Likewise.
3189 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3191         * sysdeps/x86_64/x32/_itoa.h: New file.
3193         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3194         getdents system call only if kernel and user dirents have the
3195         same d_ino and d_off.
3197         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3198         LLONG_MAX != LONG_MAX.
3199         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3200         (_fitoa_word): Likewise.
3202         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3203         years.
3204         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3205         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3206         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3208         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3209         include <bits/wordsize.h>.  Check __x86_64__ instead of
3210         __WORDSIZE.
3211         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3212         if __x86_64__ is defined.  Use anonymous union on fpstate.
3214         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3215         anonymous union.
3217 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
3219         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3220         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3221         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3222         Refer to _rtld_local_ro instead of _rtld_global_ro.
3223         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3224         Likewise.
3225         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3226         Likewise.
3227         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3228         Likewise.
3229         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3230         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3231         of _rtld_global, and rtld_progname instead of _dl_argv[0].
3233         * sysdeps/powerpc/powerpc32/dl-machine.c
3234         (__elf_machine_runtime_setup) [PROF]: Don't reference
3235         _dl_prof_resolve.
3237 2012-05-18  Andreas Jaeger  <aj@suse.de>
3239         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3240         function only available for GCCs before 3.4 since GCC 3.4
3241         introduced a builtin.
3242         (lrint): Likewise.
3243         (llrintf): Likewise.
3244         (llrint): Likewise.
3245         (fmaxf): Likewise.
3246         (fmax): Likewise.
3247         (fminf): Likewise.
3248         (fmin): Likewise.
3249         (rint): Likewise.
3250         (rintf): Likewise.
3251         (nearbyint): Likewise.
3252         (nearbyintf): Likewise.
3253         (ceil): Likewise.
3254         (ceilf): Likewise.
3255         (floor): Likewise.
3256         (floorf): Likewise.
3258 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3260         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3261         on both fields and cast pointer to __syscall_ulong_t.
3263         * bits/types.h (__fsword_t): New type.
3264         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3265         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3267         (__FSWORD_T_TYPE): Likewise.
3268         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3269         (__FSWORD_T_TYPE): Likewise.
3270         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3271         (__FSWORD_T_TYPE): Likewise.
3272         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3273         (__FSWORD_T_TYPE): Likewise.
3274         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3275         __SWORD_TYPE with __fsword_t.
3276         (statfs64): Likewise.
3278 2012-05-17  David S. Miller  <davem@davemloft.net>
3280         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3282 2012-05-17  Andreas Jaeger  <aj@suse.de>
3284         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3285         warning.
3287 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3289         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3291 2012-05-17  Andreas Jaeger  <aj@suse.de>
3293         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3294         when it is used.
3296 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
3298         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3300 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3302         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3303         * sysdeps/x86_64/tst-mallocalign1.c: New file.
3305 2012-05-17  Andreas Jaeger  <aj@suse.de>
3306             Carlos O'Donell  <carlos_odonell@mentor.com>
3308         [BZ #14059]
3309         * sysdeps/x86_64/multiarch/init-arch.h
3310         (bit_YMM_Usable): Rename to...
3311         (bit_AVX_Usable): ... this.
3312         (bit_FMA4_Usable): New macro.
3313         (bit_XMM_state): New macro.
3314         (bit_YMM_state): New macro.
3315         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3316         [__ASSEMBLER__] (index_AVX_Usable): ... this.
3317         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3318         (CPUID_OSXSAVE): New macro.
3319         (CPUID_AVX): New macro.
3320         (CPUID_FMA4): New macro.
3321         (index_YMM_Usable): Rename to...
3322         (index_AVX_Usable): ... this.
3323         (HAS_AVX): Use HAS_ARCH_FEATURE.
3324         (HAS_FMA4): Likewise.
3325         (HAS_YMM_USABLE): Remove.
3326         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3327         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3328         are present.
3329         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3330         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3331         * sysdeps/x86_64/multiarch/Makefile: Likewise.
3332         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3333         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3335 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
3337         * math/libm-test.c: Support platforms without multiple rounding modes.
3338         * math/bug-nextafter.c: Support platforms without FP exceptions.
3339         * math/bug-nexttoward.c: Likewise.
3340         * math/test-fenv.c: Likewise.
3341         * math/test-misc.c: Likewise.
3342         * stdlib/bug-getcontext.c: Likewise.
3344 2012-05-17  Andreas Jaeger  <aj@suse.de>
3346         * manual/examples/search.c (critter_cmp): Change signature to
3347         avoid warnings.
3348         * manual/string.texi (Collation Functions): Likewise.
3350 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3352         * bits/types.h: Fold copyright years.
3353         * bits/typesizes.h: Likewise.
3354         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3355         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3356         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3357         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3358         * time/time.h: Likewise.
3360 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
3362         [BZ #208]
3363         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3364         in instead of returning them.  Return void.
3365         (__libc_mallinfo): Accumulate over all arenas.
3366         (__malloc_stats): Adjust for change in int_mallinfo interface.
3368 2012-05-16  Roland McGrath  <roland@hack.frob.com>
3370         [BZ #10375]
3371         * configure.in (NM): Add AC_CHECK_TOOL for it.
3372         (libc_extra_cflags): New substituted variable.
3373         Check for -fstack-protector being used implicitly.
3374         * configure: Regenerated.
3375         * config.make.in (config-extra-cflags): New variable,
3376         gets @libc_extra_cflags@.
3377         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3379         [BZ #10375]
3380         * configure.in: Check for _FORTIFY_SOURCE being predefined.
3381         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3382         * configure: Regenerated.
3383         * config.make.in (CPPUNDEFS): New substituted variable.
3384         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3385         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3386         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3388 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3390         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3391         (mq_attr): Use __syscall_slong_t.
3393 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3395         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3396         Check __x86_64__ instead of __WORDSIZE.
3397         (_STAT_VER_LINUX): Likewise.
3398         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
3399         __syscall_ulong_t and __syscall_slong_t.
3400         (stat64): Likewise.
3402 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3404         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3406 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3408         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3410 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3412         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3413         __syscall_ulong_t.
3415         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3416         include <bits/wordsize.h>.  Check __x86_64__ instead of
3417         __WORDSIZE.
3418         (greg_t): Use "__extension__ long long int" if __x86_64__ is
3419         defined.
3420         (mcontext_t): Replace "unsigned long" with "unsigned long long".
3422         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3423         include <bits/wordsize.h>.  Check __x86_64__ instead of
3424         __WORDSIZE.
3425         (user_regs_struct): Use "__extension__ unsigned long long"
3426         instead of "unsigned long" if __x86_64__ is defined.
3427         (user): Likewise.  Pad after pointer field if __ILP32__ is
3428         defined.
3430 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
3432         * configure.in (makeinfo): Require version 4.5 or later.  Allow
3433         versions 5 to 9.
3434         * configure: Regenerated.
3435         * manual/install.texi (texinfo): Increase version requirement to
3436         4.5 or later.
3437         * INSTALL: Regenerated.
3439         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3441 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3443         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3445         * sysdeps/x86_64/x32/ffs.c: New file.
3447         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3448         __syscall_ulong_t.
3449         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3450         defined.  Use __syscall_ulong_t.
3451         (shminfo): Use __syscall_ulong_t.
3452         (shm_info): Likewise.
3454         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3455         __syscall_ulong_t.
3457         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3458         <bits/wordsize.h>.
3459         (msgqnum_t): Use __syscall_ulong_t.
3460         (msglen_t): Likewise.
3461         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
3462         __syscall_ulong_t.
3464         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3465         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3467         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3469         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3470         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3472         * sysvipc/sys/msg.h (msgbuf): Replace long int with
3473         __syscall_slong_t.
3475         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3476         include <bits/wordsize.h>.  Check __x86_64__ instead of
3477         __WORDSIZE.
3479         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3480         "unsigned long long int" if __x86_64__ is defined.
3481         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3483         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3484         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3485         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3487         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3488         <stdint.h>.
3489         (GET_PC): Cast to uintptr_t first.
3490         (GET_FRAME): Likewise.
3491         (GET_STACK): Likewise.
3493         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3494         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3495         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3496         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3497         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3498         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3499         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3500         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3501         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3502         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3503         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3504         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3505         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3506         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3507         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3508         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3509         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3510         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3511         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3512         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3513         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3514         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3515         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3516         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3517         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3518         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3519         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3520         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3521         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3523 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
3525         * Makerules (+depfiles): Also collect depfiles from .oS in
3526         $(extra-objs).
3527         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3528         .oS, $(libnldbl-routines)).
3530         * Makerules (native-compile-mkdep-flags): Define.
3531         * sunrpc/Makefile (extra-objs): Add $(addprefix
3532         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3533         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3534         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
3535         calling $(make-target-directory).
3537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3539         * bits/types.h (__snseconds_t): Removed.
3540         * time/time.h (struct timespec): Replace __snseconds_t with
3541         __syscall_slong_t.
3542         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3543         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3544         Likewise.
3545         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3546         (__SNSECONDS_T_TYPE): Likewise.
3547         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3548         (__SNSECONDS_T_TYPE): Likewise.
3549         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3550         (__SNSECONDS_T_TYPE): Likewise.
3552 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3554         * sysdeps/mach/hurd/bits/typesizes.h
3555         (__SYSCALL_SLONG_TYPE): New macro.
3556         (__SYSCALL_ULONG_TYPE): Likewise.
3558 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3560         * bits/types.h (__syscall_slong_t): New type.
3561         (__syscall_ulong_t): Likewise.
3563         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3564         (__SYSCALL_ULONG_TYPE): Likewise.
3565         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3566         (__SYSCALL_SLONG_TYPE): Likewise.
3567         (__SYSCALL_ULONG_TYPE): Likewise.
3568         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3569         (__SYSCALL_SLONG_TYPE): Likewise.
3570         (__SYSCALL_ULONG_TYPE): Likewise.
3571         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3572         (__SYSCALL_SLONG_TYPE): Likewise.
3573         (__SYSCALL_ULONG_TYPE): Likewise.
3575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3577         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3578         Add sigaltstack-offsets.sym.
3579         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3580         <sigaltstack-offsets.h>.
3581         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
3582         longjmp_msg pointer.
3583         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
3584         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3585         signal stack.
3586         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3588 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
3590         * elf/stackguard-macros.h: Remove file.
3591         * sysdeps/generic/stackguard-macros.h: New file.
3592         * sysdeps/i386/stackguard-macros.h: Likewise.
3593         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3594         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3595         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3596         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3597         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3598         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3599         * sysdeps/x86_64/stackguard-macros.h: Likewise.
3600         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3601         <elf/stackguard-macros.h>.
3603         [BZ #14109]
3604         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3605         __aligned__ in attribute.
3606         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3607         (gregset_t): Likewise.
3609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3611         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3612         * sysdeps/x86_64/64/Implies-after: Here.  New file.
3613         * sysdeps/x86_64/x32/Implies-after: New file.
3615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3617         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3618         and access return value for _dl_profile_fixup.  Use R10_LP to
3619         load frame size.
3621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3623         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3627         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3628         * sysdeps/x86_64/x32/sysdep.h: New file.
3630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3632         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3633         * sysdeps/x86_64/setjmp.S: Likewise.
3635 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3637         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3638         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3639         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3640         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3641         remove unused global constant.
3643 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
3645         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3646         include of <not-cancel.h>.
3648 2012-05-15  Roland McGrath  <roland@hack.frob.com>
3650         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3652 2012-05-15  Jeff Law  <law@redhat.com>
3653             Andreas Jaeger  <aj@suse.de>
3655         [BZ #13594]
3656         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3657         out from...
3658         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3659         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3660         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3661         code changing __hst_map_handle.map.
3663 2012-05-15  Roland McGrath  <roland@hack.frob.com>
3665         * configure.in (sysnames): Look for Implies-before and Implies-after
3666         files.
3667         * configure: Regenerated.
3669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3671         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3672         8-byte data alignment with LP_SIZE alignment.
3674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3676         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3677         into R10_LP.
3679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3681         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3685         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3686         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3687         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3688         Likewise.
3689         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3693         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3694         (stackinfo_sub_sp): Likewise.
3696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3698         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3699         RAX_LP.
3701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3703         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3704         into R*_LP.
3706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3708         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3709         sizes into R*_LP.
3711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3713         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3717         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3718         into R11_LP and load __x86_64_shared_cache_size_half into
3719         R8_LP.
3721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3723         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3724         R8_LP.
3726 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3728         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3729         logb for POWER7.
3730         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3731         logbf for POWER7.
3732         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3733         logbl for POWER7.
3734         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3735         powerpc32/power7/fpu/s_logb.c via #include.
3736         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3737         powerpc32/power7/fpu/s_logbf.c via #include.
3738         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3739         powerpc32/power7/fpu/s_logbl.c via #include.
3741 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
3743         * README.libm: Remove file.
3745 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3747         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3748         count for x32.  Use R*_LP and omit operand-size suffix.
3750 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3752         * shlib-versions: Move x86_64-.*-linux.* entries to ...
3753         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
3754         * sysdeps/x86_64/x32/shlib-versions: New file.
3756 2012-05-14  Roland McGrath  <roland@hack.frob.com>
3758         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3759         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3760         Use _dl_fatal_printf instead.
3762 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
3764         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3765         set if not set by the user.  Do not allow for being unset.
3766         * sysdeps/unix/sysv/linux/configure: Regenerated.
3768 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3770         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3771         the `q' suffix from lea and replace .quad with ASM_ADDR.
3773 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3776         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
3777         instead of $17.
3778         (PTR_DEMANGLE): Likewise.
3780 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3782         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3783         (LP_OP): Likewise.
3784         (ASM_ADDR): Likewise.
3785         (RAX_LP): Likewise.
3786         (RBP_LP): Likewise.
3787         (RBX_LP): Likewise.
3788         (RCX_LP): Likewise.
3789         (RDI_LP): Likewise.
3790         (RSI_LP): Likewise.
3791         (RSP_LP): Likewise.
3792         (R8_LP): Likewise.
3793         (R9_LP): Likewise.
3794         (R10_LP): Likewise.
3795         (R10_LP): Likewise.
3796         (R11_LP): Likewise.
3797         (R12_LP): Likewise.
3798         (R13_LP): Likewise.
3799         (R14_LP): Likewise.
3800         (R15_LP): Likewise.
3802 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3804         * sysdeps/x86_64/x32/dl-machine.h: New file.
3806 2012-05-14  Andreas Jaeger  <aj@suse.de>
3808         * manual/Makefile (subdir): Remove export of subdir.
3809         (all): Remove target.
3810         (.PHONY): Remove all from list.
3811         (mkinstalldirs): Remove.
3812         (.PHONY): Remove installdirs from list.
3813         ($(inst_infodir)/libc.info): Use make-target-directory.
3814         (installdirs): Remove.
3815         (subdir_%): Remove.
3816         (glibc-targets): Remove.
3817         (lib): Remove.
3818         (stubs): Remove.
3819         ($(objpfx)stubs ../po/manual.pot): Remove.
3820         ($(objpfx)stamp%): Remove.
3821         (make-target-directory): Remove.
3822         (subdir_install): Remove.
3823         (routines): Remove.
3824         (aux): Remove.
3825         (sources): Remove.
3826         (objects): Remove.
3827         (headers): Remove.
3829         [BZ #13750]
3830         * manual/.gitignore: Remove, it's not needed anymore.
3831         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3832         all files in it.
3833         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3834         directory.
3835         (texis): Renamed to $(objpfx)texis.
3836         (texis-path): New, contains path to generated files.
3837         (chapters.%): Use texis-path for complete path, add extra argument
3838         libc-texinfo.sh.
3839         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3840         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3841         (summary,texi, stamp-summary): Use complete path of
3842         files. Generate files in build dir.
3843         (dir-add.texi): Build in build dir.
3844         (libm-err.texi,stamp-libm-err): Likewise.
3845         (version.texi, stamp-version): Likewise.
3846         (.%c.texi): Likewise.
3847         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3848         (mostlyclean): Remove target.
3849         (realclean): Remove target.
3850         (generated): Add new variable with contents from mostlyclean and
3851         realclean, remove entries duplicated in common-mostlyclean, add
3852         stamp-libm-err and stamp-version.
3853         (generated-dirs): Add libc directory.
3854         ($(inst_infodir)/libc.info): Install files from build dir.
3856         * manual/install.texi (Configuring and compiling): Adjust since
3857         the info files are not part of the tar ball anymore.
3859 2012-05-14  Andreas Jaeger  <aj@suse.de>
3861         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3862         variable.
3864 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
3866         [BZ #13717]
3867         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3868         to 2.2.0 where earlier.
3869         * sysdeps/unix/sysv/linux/configure: Regenerated.
3870         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3871         Remove conditional code.
3872         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3873         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3874         Remove conditional code.
3875         [!__NR_lchown]: Likewise.
3876         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3877         [__NR_lchown]: Likewise.
3878         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3879         comment referencing __ASSUME_LCHOWN_SYSCALL.
3880         * sysdeps/unix/sysv/linux/i386/sigaction.c
3881         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3882         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3883         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3884         Remove conditional code.
3885         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3886         (__protocol_available): Remove #if 0 code.
3887         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3888         conditional code.
3889         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3890         * sysdeps/unix/sysv/linux/kernel-features.h
3891         (__ASSUME_GETCWD_SYSCALL): Don't define.
3892         (__ASSUME_REALTIME_SIGNALS): Likewise.
3893         (__ASSUME_PREAD_SYSCALL): Likewise.
3894         (__ASSUME_PWRITE_SYSCALL): Likewise.
3895         (__ASSUME_POLL_SYSCALL): Likewise.
3896         (__ASSUME_LCHOWN_SYSCALL): Likewise.
3897         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3898         non-SPARC.
3899         (__ASSUME_SIOCGIFNAME): Don't define.
3900         (__ASSUME_MSG_NOSIGNAL): Likewise.
3901         (__ASSUME_SENDFILE): Define unconditionally.
3902         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3903         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3904         conditional code.
3905         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3906         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3907         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3908         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3909         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3910         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3911         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3913         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3914         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3916         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3917         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3919         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3920         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3922         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3923         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3925         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3926         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3928         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3929         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3931         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3932         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3934         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3935         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3936         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3937         Remove conditional code.
3938         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3939         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3940         Remove conditional code.
3941         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3942         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3943         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3944         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3945         Remove conditional code.
3946         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3947         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3948         Remove conditional code.
3949         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3950         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3951         Remove conditional code.
3952         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3953         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3954         Remove conditional code.
3955         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3956         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3957         Remove conditional code.
3958         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3959         * sysdeps/unix/sysv/linux/sh/pwrite64.c
3960         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3961         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3962         * sysdeps/unix/sysv/linux/sigaction.c
3963         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3964         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3965         * sysdeps/unix/sysv/linux/sigpending.c
3966         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3967         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3968         * sysdeps/unix/sysv/linux/sigprocmask.c
3969         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3970         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3971         * sysdeps/unix/sysv/linux/sigsuspend.c
3972         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3973         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3974         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3975         (__libc_missing_rt_sigs): Remove.
3976         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3977         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3978         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3979         Remove conditional code.
3980         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3981         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3982         return 1.
3983         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3984         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3985         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3986         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3988 2012-05-14  Andreas Jaeger  <aj@suse.de>
3990         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3991         it's not used in glibc.
3992         (__coshm1): Likewise.
3993         (__acosh1p): Likewise.
3994         (__sgn): Likewise.
3996         * manual/string.texi (Copying and Concatenation): Add missing
3997         variable in concat example.
3998         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4000 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4002         [BZ #14103]
4003         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4004         __builtin_clzl with __builtin_clzll.
4006 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4008         [BZ #14104]
4009         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4010         libc_freeres_ptr.
4012 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4014         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4015         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4016         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4017         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4019 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
4021         * NEWS: Update ia64 info.
4023 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
4025         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4026         used as bcopy.
4028 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
4030         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4031         * sysdeps/unix/syscalls.list (dup3): Likewise.
4032         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4033         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4035 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4037         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4038         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4040 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4042         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4043         thread pointer.
4044         (TLS_IE): Use mov/add instead of movq/addq to load thread
4045         pointer.
4046         (TLS_GD_PREFIX): New.
4047         (TLS_GD): Use it.
4049 2012-05-11  David S. Miller  <davem@davemloft.net>
4051         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4052         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4053         (_FPU_SETCW): Likewise.
4055 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4057         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4058         is 32-byte aligned.
4060 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
4062         [BZ #11837]
4063         * iconvdata/gb18030.c: Update tables.
4064         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
4065         characters specially.
4066         (BODY for TO_LOOP): Add encoding of missing ranges.
4068 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
4070         [BZ #13673]
4071         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4072         * sysdeps/mach/hurd/dup3.c: Likewise.
4073         * sysdeps/mach/hurd/readlinkat.c: Likewise.
4074         * sysdeps/powerpc/memmove.c:: Likewise.
4076 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4078         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4079         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4081 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4083         * elf/elf.h (R_X86_64_RELATIVE64): New.
4084         (R_X86_64_NUM): Updated.
4085         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4086         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
4087         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4088         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4089         tst-quad1pie tst-quad2pie
4090         (modules-names): Add tst-quadmod1 tst-quadmod2.
4091         ($(objpfx)tst-quad1): New dependency.
4092         ($(objpfx)tst-quad2): Likewise.
4093         ($(objpfx)tst-quad1pie): Likewise.
4094         ($(objpfx)tst-quad2pie): Likewise.
4095         * sysdeps/x86_64/tst-quad1.c: New file.
4096         * sysdeps/x86_64/tst-quad1pie.c: New file.
4097         * sysdeps/x86_64/tst-quad2.c: Likewise.
4098         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4099         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4100         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4101         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4102         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4106         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4107         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4108         * streams/stropts.h (t_scalar_t): Define type.
4110         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4111         (_PATH_PRESERVE): Set to "/var/lib".
4112         (_PATH_RWHODIR): Set to "/var/spool/rwho".
4114         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4115         instead of int.
4117         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4118         if __dir_mkfile succeeded.
4120         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4121         checking for _hurd_dtablesize.  Unlock it right after having
4122         finished _hurd_dtable allocation.
4124 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4126         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4127         * sysdeps/mach/hurd/configure: Regenerated.
4128         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4129         special-casing to...
4130         * sysdeps/gnu/configure.in: ... this new file.
4131         * sysdeps/unix/sysv/linux/configure: Regenerated.
4132         * sysdeps/gnu/configure: New generated file.
4134         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4135         for Linux: use nsec instead of usec, as well as:
4136         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4137         members of type struct timespec.
4138         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4139         New macros.
4140         (struct stat64): Likewise.
4141         (_STATBUF_ST_NSEC): New macro.
4142         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4144         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4145         __strtoul_internal rather than strtoul.
4147 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4149         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4150         and reject them.
4152 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4154         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4155         which preserves existing values.
4156         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4158 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4160         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4161         TIMEOUT values.  Return EINVAL for NFDS values either negative or
4162         greater than FD_SETSIZE.
4164 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4166         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4167         allocated, call __vm_protect to finish enabling the existing space, and
4168         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4169         allocate the remainder.
4171 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4173         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4174         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
4176 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4178         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4179         sysdeps/mach/hurd/readlink.c.
4181         * posix/tst-sysconf.c (posix_options): Only use
4182         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4183         _POSIX_SYNCHRONIZED_IO when they are defined
4184         * sysdeps/mach/hurd/bits/posix_opt.h:
4185         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4186         (_XOPEN_REALTIME): Undefine macro.
4187         (_XOPEN_REALTIME_THREADS): Undefine macro.
4188         (_XOPEN_SHM): Undefine macro.
4189         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4190         macro to -1.
4191         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4192         macro to -1.
4193         (_POSIX_ASYNC_IO): Undefine macro.
4194         (_POSIX_PRIORITIZED_IO): Undefine macro.
4195         (_POSIX_SPIN_LOCKS): Define macro to -1.
4197         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4198         SA_NODEFER, SA_RESETHAND.
4199         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4200         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4201         F_DUPFD_CLOEXEC.
4203 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4205         * elf/Makefile (pldd-modules): Define unconditionally.
4207 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4209         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4211 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4213         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4214         Return ENOENT when name is empty.
4215         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4217 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4219         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4221         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4223 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4225         Fix mlock in all cases except non-readable pages.
4226         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4227         instead of VM_PROT_ALL as parameter to __vm_wire function.
4229         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4230         (__mkdir): When path is `/', just fail with EEXIST.
4231         * sysdeps/mach/hurd/mkdirat.c: Likewise.
4233 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4235         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4236         <sys/uio.h> (for writev).
4237         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4238         and <sys/param.h> (for MIN).
4240 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4242         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4243         REQUESTED_TIME.  Properly set the remaining time and return EINTR
4244         if interrupted.
4246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4248         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4249         Depend on against $(link-rpcuserlibs).
4251 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4253         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4254         (__libc_stack_end): Do not use attribute_relro.
4255         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4256         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4257         to libthread-provided value.
4258         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4259         attribute_relro.
4261 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4263         [BZ #3748]
4264         * bits/libc-lock.h (__libc_once_get): New macro.
4265         * sysdeps/mach/bits/libc-lock.h: Likewise.
4266         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4267         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4268         instead of using implementation details.
4270         * libio/fileops.c: Unconditionally include <kernel-features.h>.
4271         * libio/freopen.c: Likewise.
4272         * libio/freopen64.c: Likewise.
4273         * misc/syslog.c: Likewise.
4274         * nscd/connections.c: Likewise.
4275         * nscd/netgroupcache.c: Likewise.
4276         * sysdeps/posix/getcwd.c: Likewise.
4278 2012-05-10  Roland McGrath  <roland@hack.frob.com>
4280         * math/w_ilogbf.c: Add #include <limits.h>.
4282 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4284         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4285         path instead of returning without unlocking.
4287         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4288         immediate-write ioctls.
4289         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4291 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4293         * sysdeps/mach/hurd/i386/init-first.c (init): Use
4294         __builtin_frame_address instead of making assumptions about the
4295         location of the return address relative to DATA.  Force early load of
4296         the return address.
4297         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4298         __builtin_frame_address.
4300         dup3 for GNU Hurd.
4301         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4302         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
4303         implement dup3 and do some further code clean-ups.
4304         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4305         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4307 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4309         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4311         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4312         HURD_CRITICAL_END around holding _hurd_dtable_lock.
4313         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4314         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4315         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4316         d->port.lock.
4318         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4319         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
4320         when handler == SIG_ERR, not when handler != SIG_ERR.
4322 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4324         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4325         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4326         definitions.
4328         accept4 for GNU Hurd.
4329         * include/sys/socket.h (__libc_accept4): New prototype.
4330         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
4331         to implement __libc_accept4.
4332         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4333         __libc_accept4.
4334         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4336         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4337         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4338         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4339         signal-defines.sym.
4341 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4343         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4345 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4347         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4348         assertion on O_CLOEXEC flag.
4349         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4350         * hurd/intern-fd.c: Likewise.
4351         * hurd/port2fd.c: Likewise.
4353 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4355         [BZ #3906]
4356         * bits/in.h (IPV6_PKTINFO): Define new macro.
4357         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4359 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4361         [BZ #13954]
4362         [BZ #13955]
4363         [BZ #13956]
4364         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4365         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4366         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4367         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4368         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4369         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4370         * math/libm-test.inc (logb_test) : Additional logb tests.
4372 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
4373             Andreas Jaeger  <aj@suse.de>
4375         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4376         * configure: Regenerated.
4377         * config.h.in (LINK_OBSOLETE_RPC): New macro.
4378         * config.make.in (link-obsolete-rpc): New substituted variable.
4379         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4380         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4381         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4382         (shared-only-routines): Don't set it under [link-obsolete-rpc],
4383         so that libc.a contains the symbols.
4384         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4385         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4386         * sunrpc/auth_none.c: Likewise.
4387         * sunrpc/auth_unix.c: Likewise.
4388         * sunrpc/authdes_prot.c: Likewise.
4389         * sunrpc/authuxprot.c: Likewise.
4390         * sunrpc/clnt_gen.c: Likewise.
4391         * sunrpc/clnt_perr.c: Likewise.
4392         * sunrpc/clnt_raw.c: Likewise.
4393         * sunrpc/clnt_simp.c: Likewise.
4394         * sunrpc/clnt_tcp.c: Likewise.
4395         * sunrpc/clnt_udp.c: Likewise.
4396         * sunrpc/clnt_unix.c: Likewise.
4397         * sunrpc/des_crypt.c: Likewise.
4398         * sunrpc/des_soft.c: Likewise.
4399         * sunrpc/get_myaddr.c: Likewise.
4400         * sunrpc/key_call.c: Likewise.
4401         * sunrpc/key_prot.c: Likewise.
4402         * sunrpc/netname.c: Likewise.
4403         * sunrpc/pm_getmaps.c: Likewise.
4404         * sunrpc/pm_getport.c: Likewise.
4405         * sunrpc/pmap_clnt.c: Likewise.
4406         * sunrpc/pmap_prot.c: Likewise.
4407         * sunrpc/pmap_prot2.c: Likewise.
4408         * sunrpc/pmap_rmt.c: Likewise.
4409         * sunrpc/publickey.c: Likewise.
4410         * sunrpc/rpc_cmsg.c: Likewise.
4411         * sunrpc/rpc_common.c: Likewise.
4412         * sunrpc/rpc_dtable.c: Likewise.
4413         * sunrpc/rpc_prot.c: Likewise.
4414         * sunrpc/rpc_thread.c: Likewise.
4415         * sunrpc/rtime.c: Likewise.
4416         * sunrpc/svc.c: Likewise.
4417         * sunrpc/svc_auth.c: Likewise.
4418         * sunrpc/svc_raw.c: Likewise.
4419         * sunrpc/svc_run.c: Likewise.
4420         * sunrpc/svc_tcp.c: Likewise.
4421         * sunrpc/svc_udp.c: Likewise.
4422         * sunrpc/svc_unix.c: Likewise.
4423         * sunrpc/svcauth_des.c: Likewise.
4424         * sunrpc/xcrypt.c: Likewise.
4425         * sunrpc/xdr.c: Likewise.
4426         * sunrpc/xdr_array.c: Likewise.
4427         * sunrpc/xdr_float.c: Likewise.
4428         * sunrpc/xdr_intXX_t.c: Likewise.
4429         * sunrpc/xdr_mem.c: Likewise.
4430         * sunrpc/xdr_rec.c: Likewise.
4431         * sunrpc/xdr_ref.c: Likewise.
4432         * sunrpc/xdr_sizeof.c: Likewise.
4433         * sunrpc/xdr_stdio.c: Likewise.
4435 2012-05-10  Roland McGrath  <roland@hack.frob.com>
4437         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4438         change.  Update copyright years.
4440 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
4442         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4444 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
4445             Joseph Myers  <joseph@codesourcery.com>
4446             Paul Pluzhnikov  <ppluzhnikov@google.com>
4448         [BZ #14012]
4449         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4450         requiring rpcgen.
4451         [cross-compiling] (extra-libs): Likewise.
4452         [cross-compiling] (extra-libs-others): Likewise.
4453         [cross-compiling] (librpcsvc-routines): Likewise.
4454         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4455         [cross-compiling] (omit-deps): Likewise.
4456         (sunrpc-CPPFLAGS): New variable.
4457         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4458         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4459         (cross-rpcgen-objs): New variable.
4460         (extra-objs): Append $(cross-rpcgen-objs).
4461         ($(cross-rpcgen-objs)): New rule.
4462         ($(objpfx)cross-rpcgen): Likewise.
4463         (rpcgen-cmd): Define to use $(built-program-file).  Expand
4464         comment.
4465         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4466         ($(objpfx)x%.stmp): Likewise.
4467         * sunrpc/proto.h [IS_IN_build] (_): Define.
4468         [IS_IN_build] (_libc_intl_domainname): Likewise.
4470 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4472         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4473         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4474         and R_X86_64_TPOFF64.
4476 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
4478         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4479         sysdeps/unix/sysv/syscalls.list.
4480         (stime): Likewise.
4481         (utime): Likewise.
4482         * sysdeps/unix/sysv/syscalls.list: Remove file.
4484 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
4486         [BZ #3440]
4487         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4488         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4489         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4490         (__LC_IDENTIFICATION): Make these macros useful in #if
4491         expressions, as required by C99.
4493 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
4495         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4496         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
4497         after this.
4499 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4501         * stdlib/longlong.h: Updated from GCC.
4503 2012-05-09  Andreas Jaeger  <aj@suse.de>
4505         * nscd/nscd.c (run_modes): Make named enum, reorder so that
4506         default is first entry.
4507         (run_mode): Set type.
4508         (main): Remove informal message about syslog.
4509         (options): Fix typo.
4511         [BZ #14053]
4512         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4513         to asm.
4514         (lrint): Likewise.
4515         (llrintf): Likewise.
4516         (llrint): Likewise.
4517         (rint): Likewise.
4518         (rintf): Likewise.
4519         (nearbyint): Likewise.
4520         (nearbyintf): Likewise.
4522 2012-05-09  Andreas Jaeger  <aj@suse.de>
4523             Pedro Alves  <palves@redhat.com>
4525         * nscd/nscd.c (run_mode): Use enum.
4526         (main): Cleanup coding style issue.
4528 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
4529             Andreas Jaeger  <aj@suse.de>
4531         * nscd/nscd.c (go_background): Replaced with...
4532         (run_mode): ... this.
4533         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4534         (options): Add -F --foreground.
4535         (main): Implement it.
4536         (parse_opt): Parse it.
4538 2012-05-09  Andreas Jaeger  <aj@suse.de>
4540         [BZ #14083]
4541         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4542         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4543         -Wconversion warning.
4544         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4545         Likewise.
4547 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
4549         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
4550         == 0.
4551         (LC_ALL): Use macro-int-constant.
4552         (LC_COLLATE): Likewise.
4553         (LC_CTYPE): Likewise.
4554         (LC_MESSAGES): Likewise.
4555         (LC_MONETARY): Likewise.
4556         (LC_NUMERIC): Likewise.
4557         (LC_TIME): Likewise.
4558         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4559         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4560         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4561         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4562         Specify type.
4563         [C99-based standards] (float_t): Expect type.
4564         [C99-based standards] (double_t): Expect type.
4565         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
4566         type.
4567         [C99-based standards] (HUGE_VALL): Likewise.
4568         [C99-based standards] (INFINITY): Likewise.
4569         [C99-based standards] (NAN): Likewise.
4570         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4571         [C99-based standards] (FP_NAN): Likewise.
4572         [C99-based standards] (FP_NORMAL): Likewise.
4573         [C99-based standards] (FP_SUBNORMAL): Likewise.
4574         [C99-based standards] (FP_ZERO): Likewise.
4575         [C99-based standards] (FP_FAST_FMA): Use
4576         optional-macro-int-constant.  Specify type.  Require == 1.
4577         [C99-based standards] (FP_FAST_FMAF): Likewise.
4578         [C99-based standards] (FP_FAST_FMAL): Likewise.
4579         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4580         [C99-based standards] (FP_ILOGBNAN): Likewise.
4581         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4582         Specify type.
4583         [C99-based standards] (MATH_ERREXCEPT): Likewise.
4584         [C99-based standards] (math_errhandling): Specify type.
4585         [ISO99 || ISO11] (signgam): Do not allow.
4586         [non-C99-based standards] (copysignf): Do not allow.
4587         [non-C99-based standards] (exp2f): Likewise.
4588         [non-C99-based standards] (log2f): Likewise.
4589         [non-C99-based standards] (modff): Allow.
4590         [non-C99-based standards] (erff): Do not allow.
4591         [non-C99-based standards] (erfcf): Likewise.
4592         [non-C99-based standards] (gammaf): Likewise.
4593         [non-C99-based standards] (hypotf): Likewise.
4594         [non-C99-based standards] (j0f): Likewise.
4595         [non-C99-based standards] (j1f): Likewise.
4596         [non-C99-based standards] (jnf): Likewise.
4597         [non-C99-based standards] (lgammaf): Likewise.
4598         [non-C99-based standards] (tgammaf): Likewise.
4599         [non-C99-based standards] (y0f): Likewise.
4600         [non-C99-based standards] (y1f): Likewise.
4601         [non-C99-based standards] (ynf): Likewise.
4602         [non-C99-based standards] (isnanf): Likewise.
4603         [non-C99-based standards] (acoshf): Likewise.
4604         [non-C99-based standards] (asinhf): Likewise.
4605         [non-C99-based standards] (atanhf): Likewise.
4606         [non-C99-based standards] (cbrtf): Likewise.
4607         [non-C99-based standards] (expm1f): Likewise.
4608         [non-C99-based standards] (ilogbf): Likewise.
4609         [non-C99-based standards] (log1pf): Likewise.
4610         [non-C99-based standards] (logbf): Likewise.
4611         [non-C99-based standards] (nextafterf): Likewise.
4612         [non-C99-based standards] (remainderf): Likewise.
4613         [non-C99-based standards] (rintf): Likewise.
4614         [non-C99-based standards] (scalbf): Likewise.
4615         [non-C99-based standards] (copysignl): Likewise.
4616         [non-C99-based standards] (exp2l): Likewise.
4617         [non-C99-based standards] (log2l): Likewise.
4618         [non-C99-based standards] (modfl): Allow.
4619         [non-C99-based standards] (erfl): Do not allow.
4620         [non-C99-based standards] (erfcl): Likewise.
4621         [non-C99-based standards] (gammal): Likewise.
4622         [non-C99-based standards] (hypotl): Likewise.
4623         [non-C99-based standards] (j0l): Likewise.
4624         [non-C99-based standards] (j1l): Likewise.
4625         [non-C99-based standards] (jnl): Likewise.
4626         [non-C99-based standards] (lgammal): Likewise.
4627         [non-C99-based standards] (tgammal): Likewise.
4628         [non-C99-based standards] (y0l): Likewise.
4629         [non-C99-based standards] (y1l): Likewise.
4630         [non-C99-based standards] (ynl): Likewise.
4631         [non-C99-based standards] (isnanl): Likewise.
4632         [non-C99-based standards] (acoshl): Likewise.
4633         [non-C99-based standards] (asinhl): Likewise.
4634         [non-C99-based standards] (atanhl): Likewise.
4635         [non-C99-based standards] (cbrtl): Likewise.
4636         [non-C99-based standards] (expm1l): Likewise.
4637         [non-C99-based standards] (ilogbl): Likewise.
4638         [non-C99-based standards] (log1pl): Likewise.
4639         [non-C99-based standards] (logbl): Likewise.
4640         [non-C99-based standards] (nextafterl): Likewise.
4641         [non-C99-based standards] (remainderl): Likewise.
4642         [non-C99-based standards] (rintl): Likewise.
4643         [non-C99-based standards] (scalbl): Likewise.
4644         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4645         [non-C99-based standards] (FP_*): Do not allow.
4646         [C99-based standards] (FP_*): Change to
4647         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4648         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4649         allow.
4650         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4651         (SIG_ERR): Likewise.
4652         [X/Open-based standards] (SIG_HOLD): Likewise.
4653         (SIG_IGN): Likewise.
4654         (SIGABRT): Use macro-int-constant.  Specify type.  Require
4655         positive value.
4656         (SIGFPE): Likewise.
4657         (SIGILL): Likewise.
4658         (SIGINT): Likewise.
4659         (SIGSEGV): Likewise.
4660         (SIGTER): Likewise.
4661         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4662         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4663         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4664         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4665         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4666         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4667         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4668         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4669         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4670         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4671         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4672         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4673         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4674         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4675         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4676         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4677         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4678         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4679         [X/Open-based standards] (SIGTRAP): Likewise.
4680         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4681         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4682         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4683         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4684         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4685         allow.
4687 2012-05-08  Ian Wienand  <ianw@vmware.com>
4689         [BZ #14080]
4690         * time/tzset.c (__tzset_parse_tz): Update default rules for
4691         daylight time changes in the Energy Policy Act of 2005.
4693 2012-05-09  Andreas Jaeger  <aj@suse.de>
4695         [BZ #13983]
4696         * elf/ldconfig.c (parse_conf): Change string to make clear that
4697         ldconfig only issued a warning if ld.so.conf does not exist.
4699 2012-05-08  David S. Miller  <davem@davemloft.net>
4701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4702         movxtod instead of popping the value on the stack.
4704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4706 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
4708         * config.h.in: Add HAVE_ARM_PCS_VFP.
4710 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
4712         [BZ #13979]
4713         * include/features.h: Warn if user requests __FORTIFY_SOURCE
4714         checking but the checks are disabled for any reason.
4716 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4718         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4719         and ELF64_R_TYPE with ELFW(R_TYPE).
4721 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
4723         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4724         (ulimit): Likewise.
4726         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4727         (settimeofday): Likewise.
4729 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
4731         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
4732         a struct th_u2 inside the union, and move tu_block/tu_code into
4733         a new th_u3 union of tu_block/tu_code inside of that.  Move
4734         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
4735         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
4736         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4737         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4738         (th_stuff): Change to th_u1.tu_stuff.
4739         (th_data): Define.
4740         (th_msg): Change to th_u1.th_u2.tu_data.
4742 2012-05-07  David S. Miller  <davem@davemloft.net>
4744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4746         [BZ #14074]
4747         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4748         (SETUP_PIC_REG): Use it.
4749         (SETUP_PIC_REG_LEAF): Use it.
4751 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
4753         [BZ #13885]
4754         [BZ #13923]
4755         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4756         USE_AS_EXPM1L.
4757         (EXPL_FINITE): Likewise.
4758         (FLDLOG): Likewise.
4759         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4760         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4761         e_expl.S.
4762         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4763         USE_AS_EXPM1L.
4764         (EXPL_FINITE): Likewise.
4765         (FLDLOG): Likewise.
4766         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4767         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4768         e_expl.S.
4769         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
4770         test of -max_value argument for long double.
4771         * sysdeps/i386/fpu/libm-test-ulps: Update.
4772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4774 2012-05-06  David S. Miller  <davem@davemloft.net>
4776         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4777         quad soft-float symbols whose references which are compiler
4778         generated.
4779         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4781 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
4783         [BZ #13884]
4784         [BZ #13914]
4785         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4786         USE_AS_EXP10L.
4787         (EXPL_FINITE): Likewise.
4788         (FLDLOG): Likewise.
4789         (c0): Likewise.
4790         (c1): Likewise.
4791         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
4792         Adjust comments for base varying.
4793         (__expl_finite): Change alias to EXPL_FINITE.
4794         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4795         e_expl.S.
4796         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4797         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4798         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4799         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4800         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4801         USE_AS_EXP10L.
4802         (EXPL_FINITE): Likewise.
4803         (FLDLOG): Likewise.
4804         (c0): Likewise.
4805         (c1): Likewise.
4806         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
4807         Adjust comments for base varying.
4808         (__expl_finite): Change alias to EXPL_FINITE.
4809         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
4810         tests for bugs.
4811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4813         [BZ #14064]
4814         * math/libm-test.inc (check_float_internal): Correct ulp
4815         calculation for subnormal expected results.
4817 2012-05-06  Andreas Jaeger  <aj@suse.de>
4819         * Makeconfig (+math-flags): New, set to -frounding-math.
4820         (+cflags): Add +math-flags so that all of glibc gets compiled with
4821         it.
4823         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4825 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
4827         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4828         Disable one test.
4830         [BZ #13787]
4831         [BZ #13922]
4832         [BZ #14036]
4833         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4834         (__ieee754_expl): Allow for and saturate large arguments.
4835         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4836         (u_threshold): Likewise.
4837         (__exp): Call __ieee754_exp before checking for overflow and
4838         underflow.
4839         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4840         (u_threshold): Likewise.
4841         (__expf): Call __ieee754_expf before checking for overflow and
4842         underflow.
4843         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4844         (u_threshold): Likewise.
4845         (__expl): Call __ieee754_expl before checking for overflow and
4846         underflow.
4847         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4848         (__ieee754_expl): Allow for and saturate large arguments.
4849         * math/libm-test.inc (exp_test): Add another test.  Do not allow
4850         missing overflow exception on overflow.
4851         (expm1_test): Do not allow missing overflow exception on overflow.
4853         * sysdeps/i386/fpu/e_expl.c: Move to ...
4854         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
4855         rather than using inline asm.
4856         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4857         * sysdeps/x86_64/fpu/e_expl.S: Copy from
4858         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4860         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4861         (nice): Likewise.
4862         (poll): Likewise.
4863         (signal): Likewise.
4864         (time): Likewise.
4865         (times): Likewise.
4867 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
4869         * sysdeps/unix/syscalls.list (adjtime): Add entry from
4870         sysdeps/unix/common/syscalls.list.
4871         (fchmod): Likewise.
4872         (fchown): Likewise.
4873         (ftruncate): Likewise.
4874         (getrusage): Likewise.
4875         (gettimeofday): Likewise.
4876         (setpgid): Likewise.
4877         (setregid): Likewise.
4878         (setreuid): Likewise.
4879         (sigaction): Likewise.
4880         (truncate): Likewise.
4881         (vhangup): Likewise.
4882         * sysdeps/unix/common/syscalls.list: Remove file.
4883         * sysdeps/unix/bsd/Implies: Don't include unix/common.
4884         * sysdeps/unix/sysv/linux/Implies: Likewise.
4886 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
4888         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4890         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4891         Moved to ...
4892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4893         Here.
4894         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4895         to ...
4896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4897         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4898         to ...
4899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4900         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4901         to ...
4902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4903         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4904         to ...
4905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4906         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4907         to ...
4908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4909         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4910         to ...
4911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4912         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4913         to ...
4914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4915         Here.
4916         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4917         to ...
4918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4919         Here.
4920         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4921         to ...
4922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4923         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4924         Moved to ...
4925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4926         Here.
4927         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4928         to ...
4929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4931 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
4933         * sysdeps/unix/common/bits/dirent.h: Remove file.
4934         * sysdeps/unix/common/bits/fcntl.h: Likewise.
4936         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4937         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4938         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4939         * sysdeps/unix/bsd/isatty.c: Likewise.
4940         * sysdeps/unix/bsd/tcdrain.c: Likewise.
4941         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4942         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4944 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4946         [BZ #13563]
4947         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4948         long double comparison inaccuracies.
4949         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4952 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
4954         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4955         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4957 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
4959         [BZ #14049]
4960         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4961         nonzero digits before rounding a hex value.
4962         * stdlib/tst-strtod.c (tests): Add another test.
4964 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4966         * sysdeps/s390/fpu/libm-test-ulps: Update.
4968 2012-05-03  Andreas Jaeger  <aj@suse.de>
4970         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4971         does not get optimized out.
4972         (malloc_opt_barrier): New.
4974 2012-05-03  Andreas Jaeger  <aj@suse.de>
4975             Roland McGrath  <roland@hack.frob.com>
4977         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4978         intermediate file deletion.
4979         (generated): Add .symlist files.
4981 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
4983         [BZ #13775]
4984         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4985         Redirect under this condition.
4986         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4987         [__USE_GNU] (__dprintf_chk): Not under this condition.
4988         [__USE_GNU] (__vdprintf_chk): Likewise.
4989         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4990         under this condition.
4991         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4992         [__USE_XOPEN2K8] (dprintf): Define under this condition.
4993         [__USE_XOPEN2K8] (vdprintf): Likewise.
4994         [__USE_GNU] (__dprintf_chk): Not under this condition.
4995         [__USE_GNU] (__vdprintf_chk): Likewise.
4996         [__USE_GNU] (dprintf): Likewise.
4997         [__USE_GNU] (vdprintf): Likewise.
4999 2012-05-03  Roland McGrath  <roland@hack.frob.com>
5001         * elf/Makefile (common-generated): Set this instead of generated for
5002         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
5003         $(all-built-dso)-derived lists.
5005 2012-05-03  Andreas Jaeger  <aj@suse.de>
5007         * sysdeps/i386/fpu/libm-test-ulps: Update.
5009         * FAQ: Removed.
5010         * FAQ.in: Likewise.
5011         * scripts/gen-FAQ.pl: Likewise.
5012         * manual/install.texi (Installation): Point to online location of
5013         FAQ.
5014         * Makefile (files-for-dist): Remove FAQ.
5015         (FAQ): Remove.
5017 2012-05-02  Allan McRae  <allan@archlinux.org>
5019         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5020         (LDFLAGS-reldepmod5.so): Likewise.
5021         (LDFLAGS-reldep6mod1.so): Likewise.
5022         (LDFLAGS-reldep6mod4.so): Likewise.
5023         (LDFLAGS-reldep8mod3.so): Likewise.
5024         (LDFLAGS-unload4mod1.so): Likewise.
5025         (LDFLAGS-unload4mod2.so): Likewise.
5026         (LDFLAGS-tst-initorder): Likewise.
5027         (LDFLAGS-tst-initordera2.so): Likewise.
5028         (LDFLAGS-tst-initordera3.so): Likewise.
5029         (LDFLAGS-tst-initordera4.so): Likewise.
5030         (LDFLAGS-tst-initorderb2.so): Likewise.
5031         (LDFLAGS-noload): Likewise.
5032         (LDFLAGS-next): Likewise.
5033         (LDFLAGS-order2mod1.so): Likewise.
5034         (LDFLAGS-order2mod2.so): Likewise.
5035         (LDFLAGS-tst-initorder2): Likewise.
5036         (LDFLAGS-tst-initorder2a.so): Likewise.
5037         (LDFLAGS-tst-initorder2b.so): Likewise.
5038         (LDFLAGS-tst-initorder2c.so): Likewise.
5039         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5041 2012-05-02  David S. Miller  <davem@davemloft.net>
5043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5045 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5047         [BZ #14055]
5048         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5050 2012-05-02  Andreas Jaeger  <aj@suse.de>
5052         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5053         since we manipulate rounding mode.
5054         (CPPFLAGS-test-idouble.c): Likewise.
5055         (CPPFLAGS-test-ifloat.c): Likewise.
5056         (CFLAGS-test-ldouble.c): Likewise.
5057         (CFLAGS-test-double.c): Likewise.
5058         (CFLAGS-test-float.c): Likewise.
5059         (CFLAGS-test-misc.c): Likewise.
5060         (CFLAGS-test-test-fenv.c): Likewise.
5062 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5064         [BZ #2550]
5065         [BZ #2570]
5066         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5067         comparisons to determine direction to adjust input.
5069 2012-05-01  Roland McGrath  <roland@hack.frob.com>
5071         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5072         output to the target.
5074         * scripts/localplt.awk: New file.
5075         * elf/Makefile ($(objpfx)check-localplt): Target removed.
5076         (check-localplt-CFLAGS): Variable removed.
5077         ($(all-built-dso:=.jmprel)): New static pattern rule.
5078         (generated): Add those targets.
5079         (localplt-built-dso): New variable.
5080         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5082         * elf/check-localplt.c: File removed.
5084         * scripts/check-execstack.awk: New file.
5085         * elf/Makefile ($(objpfx)check-execstack): Target removed.
5086         (check-execstack-CFLAGS): Variable removed.
5087         ($(objpfx)check-execstack.h): Target removed.
5088         ($(objpfx)execstack-default): New target.
5089         (generated): Add that instead of check-execstack.h.
5090         ($(all-built-dso:=.phdr)): New static pattern rule.
5091         (generated): Add those targets.
5092         * elf/check-execstack.c: File removed.
5094         * scripts/check-textrel.awk: New file.
5095         * elf/Makefile ($(objpfx)check-textrel): Target removed.
5096         (check-textrel-CFLAGS): Variable removed.
5097         (all-built-dso): Use := to define.o
5098         ($(all-built-dso:=.dyn)): New static pattern rule.
5099         (generated): Add those targets.
5100         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5101         * config.make.in (READELF): New substituted variable.
5102         * elf/check-textrel.c: File removed.
5104 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
5106         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5107         allow.
5108         * conform/data/ctype.h-data [C99-based standards] (isblank):
5109         Expect function.
5110         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5111         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5112         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5113         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5114         Specify type.  Require positive value.
5115         (EILSEQ): Likewise.
5116         (ERANGE): Likewise.
5117         [ISO || POSIX] (EILSEQ): Do not expect.
5118         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5119         Specify type.  Require positive value.
5120         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5121         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5122         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5123         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5124         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5125         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5126         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5127         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5128         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5129         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5130         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5131         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5132         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5133         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5134         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5135         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5136         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5137         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5138         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5139         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5140         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5141         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5142         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5143         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5144         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5145         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5146         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5147         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5148         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5149         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5150         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5151         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5152         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5153         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5154         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5155         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5156         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5157         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5158         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5159         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5160         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5161         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5162         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5163         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5164         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5165         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5166         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5167         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5168         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5169         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5170         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5171         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5172         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5173         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5174         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5175         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5176         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5177         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5178         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5179         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5180         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5181         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5182         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5183         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5184         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5185         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5186         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5187         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5188         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5189         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5190         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5191         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5192         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5193         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5194         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5195         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5196         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5197         Require >= 2.
5198         (FLT_ROUNDS): Expect as macro, not constant.
5199         (FLT_MANT_DIG): Use macro-int-constant.
5200         (DBL_MANT_DIG): Likewise.
5201         (LDBL_MANT_DIG): Likewise.
5202         (FLT_DIG): Likewise.
5203         (DBL_DIG): Likewise.
5204         (LDBL_DIG): Likewise.
5205         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
5206         (DBL_MIN_EXP): Likewise.
5207         (LDBL_MIN_EXP): Likewise.
5208         (FLT_MAX_EXP): Use macro-int-constant.
5209         (DBL_MAX_EXP): Likewise.
5210         (LDBL_MAX_EXP): Likewise.
5211         (FLT_MAX_10_EXP): Likewise.
5212         (DBL_MAX_10_EXP): Likewise.
5213         (LDBL_MAX_10_EXP): Likewise.
5214         (FLT_MAX): Use macro-constant.
5215         (DBL_MAX): Likewise.
5216         (LDBL_MAX): Likewise.
5217         (FLT_EPSILON): Use macro-constant.  Give upper bound.
5218         (DBL_EPSILON): Likewise.
5219         (LDBL_EPSILON): Likewise.
5220         (FLT_MIN): Likewise.
5221         (DBL_MIN): Likewise.
5222         (LDBL_MIN): Likewise.
5223         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5224         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5225         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5226         [ISO11] (FLT_HAS_SUBNORM): Likewise.
5227         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5228         [ISO11] (DBL_DECIMAL_DIG): Likewise.
5229         [ISO11] (FLT_DECIMAL_DIG): Likewise.
5230         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5231         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5232         [ISO11] (FLT_TRUE_MIN): Likewise.
5233         [ISO11] (LDBL_TRUE_MIN): Likewise.
5234         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5235         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5236         (SCHAR_MIN): Use macro-int-constant.  Specify type.
5237         (SCHAR_MAX): Likewise.
5238         (UCHAR_MAX): Likewise.
5239         (CHAR_MIN): Likewise.
5240         (CHAR_MAX): Likewise.
5241         (MB_LEN_MAX): Use macro-int-constant.
5242         (SHRT_MIN): Use macro-int-constant.  Specify type.
5243         (SHRT_MAX): Likewise.
5244         (USHRT_MAX): Likewise.
5245         (INT_MAX): Likewise.
5246         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
5247         bound negative.
5248         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5249         bound with "U".
5250         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5251         bound with "L".
5252         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
5253         bound negative.  Suffix upper bound with "L".
5254         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5255         bound with "UL".
5256         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5257         Specify type.
5258         [C99-based standards] (LLONG_MAX): Likewise.
5259         [C99-based standards] (ULLONG_MAX): Likewise.
5260         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
5261         == 0.
5262         [ISO11] (max_align_t): Require type.
5263         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5265         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5266         from $CFLAGS, without defining away __attribute__ calls.
5267         (checknamespace): Use $CFLAGS_namespace.
5269         * conform/conformtest.pl (@keywords): Only include C99 keywords
5270         for standards based on C99 or C11.
5272         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5273         Disable tests.
5274         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5275         UNIX98]: Likewise.
5277         * conform/conformtest.pl: Handle "macro-int-constant" and test for
5278         usability of symbols in #if.
5280         * conform/conformtest.pl: If macro or constant types start
5281         "promoted:", expect the symbol to be of the following type
5282         promoted by the integer promotions.
5284         * conform/conformtest.pl: Parse all "constant" and "macro" lines
5285         in one place.  Also handle "macro-constant".
5287         * conform/conformtest.pl: Only accept expected macro values with
5288         "==".  Parse all "macro" lines in one place.
5289         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5291         * conform/conformtest.pl: Handle braced types on "constant" lines
5292         instead of handling "typed-constant".
5293         * conform/data/signal.h-data: Use "constant" instead of
5294         "typed-constant".
5296         * conform/conformtest.pl: Handle "optional-" at start of lines in
5297         one place rather than duplicating several cases.  Handle each
5298         format of "macro" line with initial "optional-".
5300         * conform/conformtest.pl: Only accept expected constant or
5301         optional-constant values with "==".  Parse all "constant" lines in
5302         one place.  Parse all "optional-constant" lines in one place.
5303         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5304         * conform/data/fmtmsg.h-data: Likewise.
5305         * conform/data/netinet/in.h-data: Likewise.
5306         * conform/data/tar.h-data: Likewise.
5307         * conform/data/limits.h-data: Use "==" form on "constant" and
5308         "optional-constant" lines.
5310         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5311         Use -std=c99 for XOPEN2K.
5312         (@knownproblems): Remove.
5313         (newtoken): Don't check %isknown.
5315         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5316         Do not expect macro.
5317         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5318         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5319         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5320         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5321         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5322         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5323         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5324         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5325         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5326         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5327         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5328         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5329         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5330         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5331         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5332         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5333         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5334         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5335         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5336         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5337         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5338         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5339         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5340         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5341         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5342         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5343         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5344         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5345         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5346         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5347         [XPG3] (acosh): Likewise.
5348         [XPG3] (asinh): Likewise.
5349         [XPG3] (atanh): Likewise.
5350         [XPG3] (cbrt): Likewise.
5351         [XPG3] (expm1): Likewise.
5352         [XPG3] (ilogb): Likewise.
5353         [XPG3] (log1p): Likewise.
5354         [XPG3] (logb): Likewise.
5355         [XPG3] (nextafter): Likewise.
5356         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5357         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5358         [XPG3] (remainder): Likewise.
5359         [XPG3] (rint): Likewise.
5360         [XPG3 || XPG4 || UNIX98] (round): Likewise.
5361         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5362         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5363         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5364         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5365         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5366         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5367         [UNIX98 || XOPEN2K] (scalb): Expect.
5368         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5369         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5370         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5371         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5372         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5373         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5374         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5375         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5376         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5377         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5378         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5379         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5380         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5381         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5382         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5383         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5384         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5385         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5386         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5387         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5388         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5389         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5390         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5391         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5392         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5393         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5394         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5395         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5396         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5397         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5398         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5399         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5400         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5401         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5402         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5403         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5404         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5405         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5406         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5407         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5408         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5409         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5410         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5411         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5412         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5413         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5414         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5415         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5416         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5417         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5418         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5419         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5420         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5421         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5422         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5423         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5424         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5425         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5426         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5427         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5428         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5429         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5430         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5431         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5432         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5433         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5434         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5435         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5436         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5437         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5438         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5439         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5440         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5441         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5442         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5443         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5444         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5445         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5446         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5447         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5448         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5449         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5450         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5451         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5452         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5453         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5454         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5455         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5456         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5457         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5458         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5459         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5460         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5461         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5462         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5463         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5464         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5465         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5466         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5467         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5468         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5469         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5470         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5471         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5472         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5473         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5474         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5475         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5476         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5477         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5478         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5479         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5480         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5481         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5482         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5483         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5484         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5485         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5486         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5487         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5488         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5489         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5490         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5491         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5492         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5493         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5494         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5495         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5496         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5497         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5498         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5499         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5500         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5501         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5502         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5503         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5504         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5506         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5507         _XOPEN_SOURCE_EXTENDED for XPG4.
5509         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5511         * Makeconfig (localtime): Remove variable.
5512         (inst_localtime-file): Likewise.
5514 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5517         Update.
5518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5519         Update.
5520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5521         Update.
5522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5523         Update.
5524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5525         Update.
5526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5527         Update.
5528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5529         Update.
5530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5531         Update.
5532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5533         Update.
5535 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
5537         [BZ #2550]
5538         [BZ #2570]
5539         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5540         comparisons to determine direction to adjust input.
5541         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5542         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5543         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5544         Likewise.
5545         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5546         Likewise.
5547         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5548         Likewise.
5549         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5550         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5551         Likewise.
5552         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5553         Likewise.
5554         * math/libm-test.inc (nexttoward_test): Add more tests.
5556 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5558         [BZ #14040]
5559         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5560         in version GLIBC_2.1, not GLIBC_2.0.
5561         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5562         Likewise.
5564 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
5566         [BZ #13942]
5567         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5568         (1 - x) * (1 + x).
5569         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5570         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5571         * math/libm-test.inc (acos_test): Add more tests.
5572         (asin_test): Likewise.
5573         * sysdeps/i386/fpu/libm-test-ulps: Update.
5574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5576         [BZ #14034]
5577         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5578         of square root.
5579         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5580         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5581         * math/libm-test.inc (acos_test_tonearest): New function.
5582         (acos_test_towardzero): Likewise.
5583         (acos_test_downward): Likewise.
5584         (acos_test_upward): Likewise.
5585         (asin_test_tonearest): Likewise.
5586         (asin_test_towardzero): Likewise.
5587         (asin_test_downward): Likewise.
5588         (asin_test_upward): Likewise.
5589         (main): Call the new functions.
5590         * sysdeps/i386/fpu/libm-test-ulps: Update.
5591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5593         [BZ #13884]
5594         [BZ #13924]
5595         * math/e_exp10.c: Include <float.h>.
5596         (__ieee754_exp10): Handle underflow here rather than multiplying
5597         large negative argument by M_LN10.
5598         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5599         of __ieee754_expf.
5600         * math/e_exp10l.c: Include <float.h>.
5601         (__ieee754_exp10l): Handle underflow here rather than multiplying
5602         large negative argument by M_LN10l.
5603         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
5604         spurious overflow exception on underflow.
5606 2012-04-29  Marek Polacek  <polacek@redhat.com>
5608         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5609         (__fortify_function): New macro.
5610         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5611         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5612         __extern_always_inline.
5613         * libio/bits/stdio2.h: Likewise.
5614         * libio/bits/stdio.h: Likewise.
5615         * string/string.h: Likewise.
5616         * string/bits/string3.h: Likewise.
5617         * include/stdio.h: Likewise.
5618         * stdlib/bits/stdlib.h: Likewise.
5619         * stdlib/stdlib.h: Likewise.
5620         * rt/bits/mqueue2.h: Likewise.
5621         * rt/mqueue.h: Likewise.
5622         * posix/bits/unistd.h: Likewise.
5623         * posix/unistd.h: Likewise.
5624         * io/bits/poll2.h: Likewise.
5625         * io/bits/fcntl2.h: Likewise.
5626         * io/fcntl.h: Likewise.
5627         * io/sys/poll.h: Likewise.
5628         * misc/bits/syslog.h: Likewise.
5629         * misc/bits/syslog-ldbl.h: Likewise.
5630         * misc/sys/syslog.h: Likewise.
5631         * socket/bits/socket2.h: Likewise.
5632         * socket/sys/socket.h: Likewise.
5633         * debug/tst-chk1.c: Likewise.
5634         * wcsmbs/bits/wchar2.h: Likewise.
5635         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5636         * wcsmbs/wchar.h: Likewise.
5638 2012-04-29  Andreas Jaeger  <aj@suse.de>
5640         * Makerules (tests): Remove enable-check-abi protection.
5641         (check-abi-warn): Remove.
5642         (check-abi-%): Remove check-abi-warn usage.
5644         * configure.in: Remove check-abi configure option.
5645         * configure: Regenerated.
5646         * config.make.in (enable-check-abi): Remove.
5648 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
5650         [BZ #14033]
5651         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5652         double functions to double *_finite functions.
5654         [BZ #13941]
5655         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5656         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5657         LDBL_MIN_EXP.
5658         * stdio-common/Makefile (tests): Add tst-sprintf3.
5659         * stdio-common/tst-sprintf3.c: New file.
5661         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5662         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5664 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
5666         * conform/conformtest.pl: Remove duplicate typed-constant
5667         handling.
5669 2012-04-28  David S. Miller  <davem@davemloft.net>
5671         * Makerules (%.abilist): Add vpath on sysdep_dirs.
5672         (check-abi-%): Remove AWK script prerequisite and explicit
5673         abilist directory.
5674         (check-abi): Rewrite to just diff the symlist with the abilist.
5675         (config-tls, config-abi-config): Delete, no longer used.
5676         (update-abi-%): Remove AWK script and explicit abilist directory.
5677         (update-abi): Rewrite to simply compare and conditionally copy the
5678         symlist and the sysdep abilist file.  Remove update-abi-config
5679         checks.
5680         * abilist/ld.abilist: Remove.
5681         * abilist/libBrokenLocale.abilist: Remove.
5682         * abilist/libanl.abilist: Remove.
5683         * abilist/libcrypt.abilist: Remove.
5684         * abilist/libdl.abilist: Remove.
5685         * abilist/librt.abilist: Remove.
5686         * abilist/libthread_db.abilist: Remove.
5687         * abilist/libutil.abilist: Remove.
5688         * scripts/extract-abilist.awk: Remove.
5689         * scripts/merge-abilist.awk: Remove.
5690         * sysdeps/generic/libcidn.abilist: New file.
5691         * sysdeps/generic/libnss_compat.abilist: New file.
5692         * sysdeps/generic/libnss_db.abilist: New file.
5693         * sysdeps/generic/libnss_dns.abilist: New file.
5694         * sysdeps/generic/libnss_files.abilist: New file.
5695         * sysdeps/generic/libnss_hesiod.abilist: New file.
5696         * sysdeps/generic/libnss_nis.abilist: New file.
5697         * sysdeps/generic/libnss_nisplus.abilist: New file.
5698         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5699         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5700         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5701         file.
5702         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5703         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5704         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5705         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5706         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5707         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5708         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5709         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5710         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5711         file.
5712         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5713         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5714         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5715         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5716         file.
5717         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5718         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5719         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5720         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5721         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5722         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5723         file.
5724         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5725         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5726         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5727         file.
5728         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5729         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5730         New file.
5731         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5732         New file.
5733         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5734         New file.
5735         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5736         New file.
5737         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5738         New file.
5739         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5740         New file.
5741         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5742         New file.
5743         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5744         New file.
5745         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5746         New file.
5747         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5748         New file.
5749         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5750         New file.
5751         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5752         New file.
5753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5754         New file.
5755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5756         file.
5757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5758         New file.
5759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5760         New file.
5761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5762         file.
5763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5764         New file.
5765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5766         New file.
5767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5768         file.
5769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5770         New file.
5771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5772         New file.
5773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5774         New file.
5775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5776         New file.
5777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5778         New file.
5779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5780         New file.
5781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5783         file.
5784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5785         New file.
5786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5787         file.
5788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5789         file.
5790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5791         file.
5792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5793         file.
5794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5795         file.
5796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5797         New file.
5798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5799         file.
5800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5801         file.
5802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5803         New file.
5804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5805         file.
5806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5808         file.
5809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5810         New file.
5811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5812         file.
5813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5814         file.
5815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5816         file.
5817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5818         file.
5819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5820         file.
5821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5822         New file.
5823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5824         file.
5825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5826         file.
5827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5828         New file.
5829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5830         file.
5831         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5832         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5833         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5834         file.
5835         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5836         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5837         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5838         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5839         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5840         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5841         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5842         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5843         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5844         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5847         file.
5848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5849         New file.
5850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5851         file.
5852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5853         file.
5854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5855         file.
5856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5857         file.
5858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5859         file.
5860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5861         New file.
5862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5863         New file.
5864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5865         file.
5866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5867         New file.
5868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5869         file.
5870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5872         file.
5873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5874         New file.
5875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5876         file.
5877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5878         file.
5879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5880         file.
5881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5882         file.
5883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5884         file.
5885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5886         New file.
5887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5888         New file.
5889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5890         file.
5891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5892         New file.
5893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5894         file.
5896 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
5898         * conform/conformtest.pl: Fix typo in handling typed-constant from
5899         allow-header.
5901 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
5903         * README: Cut down references to pre-2.6 Linux kernels and
5904         Linuxthreads.  Update lists of configurations in libc and ports
5905         and sort alphabetically.  Say "or newer" with Linux kernel version
5906         requirements.
5908         * config.h.in [IS_IN_build]: Allow compiling without optimization.
5910 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5912         [BZ #887]
5913         * math/libm-test.inc (logb_test_downward): New test to expose
5914         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5915         rounding mode.
5917 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
5919         [BZ #14027]
5920         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5921         to be done.
5922         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5923         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5925 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
5927         * sysdeps/unix/i386/brk.S: Remove file.
5928         * sysdeps/unix/i386/dl-brk.S: Likewise.
5929         * sysdeps/unix/i386/pipe.S: Likewise.
5930         * sysdeps/unix/i386/sigreturn.S: Likewise.
5931         * sysdeps/unix/i386/syscall.S: Likewise.
5932         * sysdeps/unix/i386/vfork.S: Likewise.
5933         * sysdeps/unix/i386/wait.S: Likewise.
5935         * sysdeps/unix/common/tcsendbrk.c: Move to ...
5936         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5938         * configure.in (arm*-none*): Do not allow without
5939         --enable-hacker-mode.
5940         (netbsd*): Remove case setting base_os.
5941         (386bsd*): Likewise.
5942         (freebsd*): Likewise.
5943         (bsdi*): Likewise.
5944         (osf*): Likewise.
5945         (sunos*): Likewise.
5946         (ultrix*): Likewise.
5947         (newsos*): Likewise.
5948         (dynix*): Likewise.
5949         (*bsd*): Likewise.
5950         (sysv*): Likewise.
5951         (isc*): Likewise.
5952         (esix*): Likewise.
5953         (sco*): Likewise.
5954         (minix*): Likewise.
5955         (irix4*): Likewise.
5956         (irix6*): Likewise.
5957         (solaris[2-9]*): Likewise.
5958         (none): Likewise.
5959         * configure: Regenerated.
5961 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5963         [BZ #11521]
5964         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5965         overflow or cancellation in calculating denominator.
5966         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5967         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5968         down expression to avoid unexpected rounding in newer GCCs.
5969         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5971 2012-04-26  David S. Miller  <davem@davemloft.net>
5973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5974         long-double compat symbols.
5975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5989 2012-04-25  David S. Miller  <davem@davemloft.net>
5991         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5992         HWCAP_* values only after the memory barriers have been defined.
5993         (atomic_full_barrier): Define.
5994         (atomic_read_barrier): Define.
5995         (atomic_write_barrier): Define.
5997 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5999         * shlib-versions: Add libgcc_s version information.
6000         * sysdeps/generic/libgcc_s.h: Remove.
6001         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6002         libgcc_s.h.
6003         * sysdeps/gnu/unwind-resume.c: Likewise.
6004         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6006 2012-04-25  David S. Miller  <davem@davemloft.net>
6008         * sysdeps/unix/sparc/brk.S: Delete.
6009         * sysdeps/unix/sparc/dl-brk.S: Delete.
6010         * sysdeps/unix/sparc/pipe.S: Delete.
6011         * sysdeps/unix/sparc/sysdep.S: Delete.
6012         * sysdeps/unix/sparc/sysdep.h: Delete.
6013         * sysdeps/unix/sparc/vfork.S: Delete.
6014         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6015         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6016         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6017         ret_ERRVAL, r0, r1, MOVE): Define.
6018         (JUMPTARGET): Remove.
6019         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6020         sysdeps/unix/sparc/sysdep.h
6021         (ENTRY, END): Remove.
6022         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6024 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
6026         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6027         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6028         -DIS_IN_build.
6030         * timezone/README: Update upstream location and email address for
6031         tzcode and tzdata.
6032         * timezone/zdump.c: Update from tzcode 2012b.
6033         * timezone/zic.c: Likewise.
6035         * configure.in (libc_cv_as_needed): Remove test.
6036         * configure: Regenerated.
6037         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6038         conditional definition.
6039         [$(have-as-needed) != yes] (no-as-needed): Likewise.
6040         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6041         * config.make.in (have-as-needed): Remove variable.
6043 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6044             Paul Pluzhnikov  <ppluzhnikov@google.com>
6046         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6047         strings correctly.
6049 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6051         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6052         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6053         * sysdeps/sh/strlen.S: Likewise.
6055 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
6057         * sysdeps/unix/fork.S: Remove file.
6058         * sysdeps/unix/i386/fork.S: Likewise.
6059         * sysdeps/unix/sparc/fork.S: Likewise.
6061         * sysdeps/unix/system.c: Remove file.
6062         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6064         * sysdeps/unix/getegid.S: Remove file.
6065         * sysdeps/unix/geteuid.S: Likewise.
6067 2012-04-24  Roland McGrath  <roland@hack.frob.com>
6069         * scripts/check-localplt.awk: New file.
6070         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6071         of diff.
6072         * scripts/data/localplt-generic.data: Add a comment.
6074         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6075         NODE when __dir_mkfile failed.
6076         * sysdeps/mach/hurd/symlinkat.c: Likewise.
6077         Reported by Ludovic Courtès <ludo@gnu.org>.
6079 2012-04-24  Andreas Jaeger  <aj@suse.de>
6081         * Makerules (common-clean): Also remove gen-as-const-headers
6082         files.
6084 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
6086         * Makerules (native-compile): Do not change working directory for
6087         build.  Use $(OUTPUT_OPTION) in command.
6088         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6090 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6092         [BZ #13886]
6093         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6094         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6095         * math/libm-test.inc (floor_test): Add more tests.
6096         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6098 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
6100         * sysdeps/unix/getdents.c: Remove file.
6101         * sysdeps/unix/sysv/getdents.c: Likewise.
6102         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6104         * sysdeps/unix/syscalls.list (madvise): Add syscall from
6105         sysdeps/unix/mman/syscalls.list.
6106         (mmap): Likewise.
6107         (mprotect): Likewise.
6108         (msync): Likewise.
6109         (munmap): Likewise.
6110         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6111         * sysdeps/unix/mman/syscalls.list: Remove.
6112         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6114         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6115         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6116         * configure: Regenerated.
6117         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6118         $(libgcc_s_suffix).
6119         * config.make.in (libgcc_s_suffix): Remove variable.
6121 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
6123         * sysdeps/unix/sysv/gethostname.c: Move to ...
6124         * sysdeps/posix/gethostname.c: ... here.
6126         * sysdeps/unix/execve.S: Remove file.
6128         * sysdeps/unix/_exit.S: Remove file.
6130 2012-04-23  Andreas Jaeger  <aj@suse.de>
6132         [BZ #13739]
6133         * manual/Makefile: Remove make dist support, there's no
6134         need for a stand-alone documentation tar ball.
6135         (TEXI2DVI): Define always, it's not in Makeconfig.
6136         (dist): Removed.
6137         (tar-it): Removed.
6138         (edition): Removed.
6139         (glibc-doc-$(edition).tar): Removed
6140         (%.Z): Removed.
6141         (%.gz): Removed.
6142         (%.uu): Removed.
6143         (ETAGS): Remove, it's in Makeconfig.
6144         (move-if-change): Remove, it's in Makeconfig.
6146 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
6148         [BZ #13970]
6149         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6150         (strtod, strtof, strtold, strtol, strtoul, strtoq)
6151         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6152         (strtod_l, strtof_l, strtold_l): Remove __wur.
6153         It is not necessarily an error to ignore strtol's return value.
6154         One can reliably look at the stored endptr to decide whether
6155         the number had valid syntax.
6157 2012-04-21  Andreas Jaeger  <aj@suse.de>
6159         [BZ #13739]
6160         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6162 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
6164         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6165         * sysdeps/unix/sysv/Versions: Remove file.
6167 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
6169         [BZ #13927]
6170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6172 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
6174         [BZ #7064]
6175         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6176         version from __vm86.
6178 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
6180         * sysdeps/unix/common/lxstat.c: Remove file.
6181         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6183         * sysdeps/unix/sysv/Makefile: Remove file.
6185         * sysdeps/unix/sysv/direct.h: Remove file.
6187         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6188         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6189         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6190         * sysdeps/unix/sysv/bits/signum.h: Likewise.
6191         * sysdeps/unix/sysv/bits/stat.h: Likewise.
6192         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6193         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6195         * sysdeps/unix/sysv/setrlimit.c: Remove file.
6197         * sysdeps/unix/xmknod.c: Remove file.
6198         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6200         * sysdeps/unix/sysv/settimeofday.c: Remove file.
6202         * sysdeps/unix/sysv/i386/time.S: Remove file.
6204         * sysdeps/unix/fxstat.c: Remove file.
6205         * sysdeps/unix/xstat.c: Likewise.
6206         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6208         * sysdeps/unix/sysv/sigaction.c: Remove file.
6210         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6211         (sysdep_headers): Remove variable.
6212         [termio.h not in sysdep_headers] (generated): Likewise.
6213         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6214         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6215         * sysdeps/unix/sysv/tcdrain.c: Likewise.
6216         * sysdeps/unix/sysv/tcflow.c: Likewise.
6217         * sysdeps/unix/sysv/tcflush.c: Likewise.
6218         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6219         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6220         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6221         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6222         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6224         * sysdeps/unix/siglist.c: Remove file.
6226         * sysdeps/unix/getppid.S: Remove file.
6228         * sysdeps/unix/mkdir.c: Remove file.
6229         * sysdeps/unix/rmdir.c: Likewise.
6231 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
6233         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6234         ERR_MAX value.
6235         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6236         errlist-compat value.
6238 2012-04-18  David S. Miller  <davem@davemloft.net>
6240         * sysdeps/generic/memcopy.h (reg_char): Delete.
6241         * debug/strcat_chk.c: Use char, not reg_char.
6242         * debug/strcpy_chk.c: Likewise.
6243         * debug/strncat_chk.c: Likewise.
6244         * debug/strncpy_chk.c: Likewise.
6245         * string/memchr.c: Likewise.
6246         * string/memrchr.c: Likewise.
6247         * string/rawmemchr.c: Likewise.
6248         * string/strcat.c: Likewise.
6249         * string/strchr.c: Likewise.
6250         * string/strchrnul.c: Likewise.
6251         * string/strcmp.c: Likewise.
6252         * string/strcpy.c: Likewise.
6253         * string/strncat.c: Likewise.
6254         * string/strncmp.c: Likewise.
6255         * string/strncpy.c: Likewise.
6257 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6259         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6260         __builtin_memcopy is called when src and dest ranges are known to not
6261         overlap.
6263 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6265         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6266         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6267         fwd_align_merge macro call.
6268         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6269         bwd_align_merge macro call.
6270         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6272 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6274         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6275         bwd_align_merge macros.
6276         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6277         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6278         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6280 2012-04-18  David S. Miller  <davem@davemloft.net>
6282         * sysdeps/sparc/sparc64/memcopy.h: Delete.
6284 2012-04-18  Andreas Jaeger  <aj@suse.de>
6286         [BZ# 6794]
6287         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6288         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6289         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6291         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6292         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6293         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6295         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6296         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6297         Adjust for changed ldbl-128 files.
6299         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6300         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6301         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6303 2012-04-17  David S. Miller  <davem@davemloft.net>
6305         * sysdeps/sparc/sparc32/memcopy.h: Delete.
6307 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
6309         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6310         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6311         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6312         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6313         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6314         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6316 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6318         [BZ #6794]
6319         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6320         * math/libm-test.inc: Add ilogb errno and exception tests.
6321         * math/w_ilogb.c: New file: ilogb wrapper.
6322         * math/w_ilogbf.c: New file: ilogbf wrapper.
6323         * math/w_ilogbl.c: New file: ilogbl wrapper.
6324         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6325         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6326         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6327         exception being thrown with 0.0 as argument.
6328         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6329         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6330         exception being thrown with 0.0 as argument.
6331         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6332         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6333         exception being thrown with 0.0 as argument.
6334         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6335         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6336         exception being thrown with 0.0 as argument.
6337         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6338         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6339         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6340         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6341         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6342         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6343         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6344         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6345         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6347 2012-04-17  Petr Baudis  <pasky@ucw.cz>
6349         * include/sys/uio.h: Change __vector to __iovec to avoid clash
6350         with altivec.
6352 2012-04-16  Marek Polacek  <polacek@redhat.com>
6354         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6356 2012-04-16  Marek Polacek  <polacek@redhat.com>
6358         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6359         operands of fdivp instruction.
6361 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
6363         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6364         * elf/tst-auditmod3b.c: Likewise.
6365         * elf/tst-auditmod4b.c: Likewise.
6366         * elf/tst-auditmod5b.c: Likewise.
6367         * elf/tst-auditmod6b.c: Likewise.
6368         * elf/tst-auditmod6c.c: Likewise.
6369         * elf/tst-auditmod7b.c: Likewise.
6370         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6371         * sysdeps/x86_64/preconfigure.in: Likewise.
6372         * sysdeps/x86_64/preconfigure: Regenerated.
6374 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
6376         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6377         __ILP32__.
6379 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
6381         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6382         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6384 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
6386         [BZ #13973]
6387         * locale/iso-639.def: Fix gl language name. Spotted by
6388         Yaron Shahrabani.
6390 2012-04-12  Roland McGrath  <roland@hack.frob.com>
6392         [BZ #2074]
6393         * libio/libio.h (__io_write_fn): Update comment.
6395 2012-04-12  Petr Baudis  <pasky@ucw.cz>
6397         [BZ #2074]
6398         * stdio.texi (Hook Functions): The user provided writer function
6399         is not allowed to return -1.
6401 2012-04-11  David S. Miller  <davem@davemloft.net>
6403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6405 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
6407         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6408         Add a leading slash to rtkaio.
6410 2012-04-11  Jim Meyering  <meyering@redhat.com>
6412         [BZ #11959]
6413         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6414         It is not necessarily an error to ignore fwrite's return
6415         value.  One can reliably use ferror to test for errors after
6416         the fact.
6418 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6420         * bits/types.h (__snseconds_t): New type.
6421         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6423         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6424         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6425         (__SNSECONDS_T_TYPE): Likewise.
6426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6427         (__SNSECONDS_T_TYPE): Likewise.
6428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6429         (__SNSECONDS_T_TYPE): Likewise.
6431 2012-04-10  Andreas Jaeger  <aj@suse.de>
6433         [BZ #2636]
6434         * manual/time.texi (Processor Time): Return type of times is
6435         elapsed real time since an arbitrary point in the past.
6436         (CPU Time): Move CLK_TCK from here...
6437         (Processor Time): ...to here.  Correct description.
6438         * manual/conf.texi (Constants for Sysconf): Correct description of
6439         _SC_CLK_TCK.
6441 2012-04-10  David S. Miller  <davem@davemloft.net>
6443         [BZ #13967]
6444         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6445         where the is a gap between DT_REL(A) and DT_JMPREL.
6447 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6449         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6450         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6451         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6453 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6455         * elf/dl-support.c (_dl_inhibit_cache): New variable.
6456         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6457         (dl_main): Handle --inhibit-cache.
6458         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6459         _dl_inhibit_cache.
6460         * elf/dl-load.c (_dl_map_object): Use it.
6461         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6463 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
6465         [BZ #13872]
6466         * sysdeps/i386/fpu/e_powl.S (p78): New object.
6467         (__ieee754_powl): Saturate large exponents rather than testing for
6468         overflow of y*log2(x).
6469         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6470         * math/libm-test.inc (pow_test): Do not permit spurious overflow
6471         exceptions.
6473         [BZ #11521]
6474         * math/s_ctan.c: Include <float.h>.
6475         (__ctan): Avoid internal overflow or cancellation in calculating
6476         denominator.
6477         * math/s_ctanf.c: Likewise.
6478         * math/s_ctanl.c: Likewise.
6479         * math/s_ctanh.c: Likewise.
6480         * math/s_ctanhf.c: Likewise.
6481         * math/s_ctanhl.c: Likewise.
6482         * math/libm-test.inc (ctan_test): Add more tests.
6483         (ctanh_test): Likewise.
6484         * sysdeps/i386/fpu/libm-test-ulps: Update.
6485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6487 2012-04-09  Andreas Jaeger  <aj@suse.de>
6489         [BZ #6894]
6490         * manual/filesys.texi (Directory Entries): Mention that d_namlen
6491         is an optional BSD extension.
6493         [BZ #10254]
6494         * manual/stdio.texi (Opening Streams): Document additional fopen
6495         parameters.
6497 2012-04-09  Roland McGrath  <roland@hack.frob.com>
6499         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6500         %eax without telling the compiler.
6502 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
6504         [BZ # 13963]
6505         * manual/install.texi: Use sourceware.org.
6507 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
6509         [BZ #13873]
6510         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6511         (__ieee754_pow): Generate overflow and underflow using huge*huge
6512         and tiny*tiny rather than just returning constant infinity or zero
6513         for large exponents.
6514         * math/libm-test.inc (pow_test): Require overflow exceptions for
6515         applicable cases of large exponents.
6517         [BZ #706]
6518         * sysdeps/i386/fpu/e_pow.S (p10): New object.
6519         (__ieee754_pow): Use iterative multiplication algorithm only for
6520         integer exponents with absolute value below 1024.  Check for odd
6521         integer exponents when using algorithm for real exponents.
6522         * math/libm-test.inc (pow_test): Add more tests.
6523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6525 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
6527         [BZ #13705]
6528         * math/libm-test.inc (exp_test): Do not allow overflow exception
6529         on underflow test.
6531 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
6533         [BZ #13705]
6534         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6535         instead of __kernel_standard_f.
6537 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
6539         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6540         * sysdeps/x86_64/memset_chk.S: Likewise.
6542 2012-04-08  Andreas Jaeger  <aj@suse.de>
6544         [BZ #10153]
6545         * manual/startup.texi (Environment Access): Describe return value
6546         for putenv and setenv.
6548         [BZ #6895]
6549         * manual/filesys.texi (Directory Entries): Add description for
6550         DT_LNK.
6552         [BZ #6890]
6553         * manual/filesys.texi (Directory Entries): Clarify that it's file
6554         system not operating system in the description of DT_UNKNOWN.
6556         [BZ #6578]
6557         * manual/syslog.texi (closelog): Fix reference, it's openlog.
6559 2012-04-08  Stephen Compall  <s11@member.fsf.org>
6561         [BZ #6649]
6562         * manual/llio.texi (Opening and Closing Files): Add cross
6563         reference to explain mode argument.
6565 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
6567         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6568         * sysdeps/x86_64/memset_chk.S: Likewise.
6570 2012-04-07  David S. Miller  <davem@davemloft.net>
6572         * elf/elf.h (R_SPARC_WDISP10): Define.
6573         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6574         R_SPARC_SIZE32.
6575         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6576         R_SPARC_SIZE64 and R_SPARC_H34.
6578 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
6580         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6581         conditions and remove no longer applicable assertion.
6583 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
6585         * bits/byteswap.h: Include <features.h>.
6586         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6587         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6589 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
6591         * bits/byteswap.h (__bswap_16): Removed.
6592         Include <bits/byteswap-16.h> to get __bswap_16.
6593         * sysdeps/i386/bits/byteswap.h: Likewise.
6594         * sysdeps/s390/bits/byteswap.h: Likewise.
6595         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6596         * bits/byteswap-16.h: New file.
6597         * sysdeps/i386/bits/byteswap-16.h: Likewise.
6598         * sysdeps/s390/bits/byteswap-16.h: Likewise.
6599         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6600         * string/Makefile (headers): Add bits/byteswap-16.h.
6602 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6604         [BZ #13895]
6605         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6606         extra indirection.
6607         * nss/Makefile (tests-static, tests): Add tst-nss-static.
6608         * nss/tst-nss-static.c: New.
6610 2012-04-06  Robert Millan  <rmh@gnu.org>
6612         [BZ #6486]
6613         * manual/llio.texi (File Position Primitive): lseek
6614         refers to WHENCE when it really means OFFSET.
6616 2012-04-06  Andreas Jaeger  <aj@suse.de>
6618         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6619         strncmp declarations.
6621         * abilist/libc.abilist: Add __poll and __ppoll.
6623 2012-04-05  David S. Miller  <davem@davemloft.net>
6625         * scripts/check-local-headers.sh: Accept a host triplet in the
6626         path matched by the exclude regexp.
6628         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6629         definition.
6630         * sysdeps/powerpc/powerpc32/dl-machine.h
6631         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6632         * sysdeps/s390/s390-32/dl-machine.h
6633         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6634         * sysdeps/sparc/sparc32/dl-machine.h
6635         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6636         * sysdeps/sparc/sparc64/dl-machine.h
6637         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6639         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6640         lazy binding.
6641         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6642         undefined symbol errors.
6644         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6645         DT_NEEDED entries.
6647 2012-04-05  Michael Matz  <matz@suse.de>
6649         [BZ #13592]
6650         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6652 2012-04-05  Andreas Jaeger  <aj@suse.de>
6654         [BZ #13908]
6655         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6656         comment.
6658 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6660         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6661         which ROUND is no valid rounding mode.
6663 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6665         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6666         read again.
6667         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6669 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6671         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6672         an exception using FPU order intentionally.
6674 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6676         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6677         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6678         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6679         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6681 2012-04-05  Simon Josefsson  <simon@josefsson.org>
6683         [BZ #12340]
6684         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6685         EINVAL when BUFLEN is too smal.
6687 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
6689         [BZ #13553]
6690         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6691         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6693 2012-04-03  Andreas Jaeger  <aj@suse.de>
6695         [BZ #13938]
6696         * manual/setjmp.texi (System V contexts): Fix sentence.
6698         [BZ #13926]
6699         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6700         New macro for this case.
6701         [!__GNUC__] (__bswap_64): New inline function for this case.
6702         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6703         * bits/byteswap.h: Likewise.
6704         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6705         ull, guard with __GLIBC_HAVE_LONG_LONG.
6707         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6708         __GLIBC_HAVE_LONG_LONG.
6710         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6711         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6713 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6715         [BZ #13691]
6716         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6717         inptr and inend, rather than using last_ch.
6719 2012-04-02  David S. Miller  <davem@davemloft.net>
6721         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6722         * stdio-common/printf-parse.h (read_int): Change return type to
6723         'int', return -1 on INT_MAX overflow.
6724         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6725         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
6726         overflows INT_MAX.  Check for overflow of in-format-string precision
6727         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
6728         SIZE_MAX not INT_MAX for integer overflow test.
6729         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6730         skip the construct in the format string but do not record anything.
6731         * stdio-common/bug22.c: Adjust to test both width/prevision
6732         INT_MAX overflow as well as total length INT_MAX overflow.  Check
6733         explicitly for proper errno values.
6735 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
6737         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6738         CHAR_MAX.
6739         * string/test-strcmp.c [! WIDE]: Likewise.
6740         * time/tst-mktime2.c: Likewise for INT_MAX.
6741         * string/test-string.h: #include <sys/param.h> for MIN.
6743         * csu/init-first.c (__libc_init_first): Call __ctype_init.
6744         * sysdeps/i386/init-first.c (init): Likewise.
6745         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6746         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6747         * sysdeps/sh/init-first.c (init): Likewise.
6749 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
6751         * po/ru.po: Update from translation team.
6752         * po/vi.po: Likewise.
6754 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6756         * resolv/nss_dns/dns-host.c: Merge copyright years.
6758 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6760         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6761         Optimize memcpy with prefetch if
6762         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
6763         src, dst pointers have unequal 16 byte alignments.
6765 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6767         [BZ #13928]
6768         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6769         from a CNAME entry and return the minimum ttl for the query.
6770         (gaih_getanswer_slice): Likewise.
6772 2012-03-30  Jeff Law  <law@redhat.com>
6774         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6775         due to long keys.
6776         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6777         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6779         * resolv/nss_dns/dns-host.c: Update copyright year.
6781 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
6783         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6784         requests to save a system call.  Fix check that all bytes are sent.
6786         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6787         comments for sendmmsg.
6789 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6791         [BZ #13691]
6792         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6793         with only 1 character between 0x0041 and 0x01b0.
6794         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6795         * wcsmbs/tst-mbsnrtowcs.c: New file.
6797 2012-03-29  David S. Miller  <davem@davemloft.net>
6799         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6800         small copies by hand.
6802 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6804         [BZ #13761]
6805         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6806         _nss_compat_initgroups_dyn): Fall back to malloc/free
6807         for large group memberships.
6809 2012-03-28  David S. Miller  <davem@davemloft.net>
6811         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6812         that branches into memcpy.
6813         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6814         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6815         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6816         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6817         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6818         bits.
6819         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6820         implementation too.
6821         * sysdeps/sparc/mempcpy.S: New file.
6823         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6824         the IFUNC routine in the libc case.
6825         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6827         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6828         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6829         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6830         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6831         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6832         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6833         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6834         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6836         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6837         loop to 256 bytes instead of 64 bytes and fix test signedness.
6839         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6840         * sysdeps/sparc/sparc32/Makefile: rather than here...
6841         * sysdeps/sparc/sparc64/Makefile: and here.
6843 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
6845         * malloc/mallocbug.c: Avoid warnings about unused variables.
6847 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6849         [BZ #13760]
6850         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6851         in the right place. Discard and retry query if response is
6852         larger than input buffer size.
6854 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
6856         [BZ #369]
6857         [BZ #2678]
6858         [BZ #3866]
6859         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6860         x for large integer exponent.
6861         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6862         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
6863         sign of result as needed afterwards.
6864         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6865         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6866         result for underflowing pow the same as for overflow.
6867         (__kernel_standard_l): Handle powl overflow and underflow here
6868         rather than calling __kernel_standard.
6869         * math/libm-test.inc (pow_test): Add more tests.
6871         [BZ #3868]
6872         [BZ #13879]
6873         [BZ #13910]
6874         [BZ #13911]
6875         [BZ #13912]
6876         [BZ #13913]
6877         [BZ #13915]
6878         [BZ #13916]
6879         [BZ #13917]
6880         [BZ #13918]
6881         [BZ #13919]
6882         [BZ #13920]
6883         [BZ #13921]
6884         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6885         * sysdeps/ieee754/k_standard.c: Include <float.h>.
6886         (__kernel_standard_l): New function.
6887         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6888         __kernel_standard.
6889         * math/w_acosl.c (__acosl): Likewise.
6890         * math/w_asinl.c (__asinl): Likewise.
6891         * math/w_atan2l.c (__atan2l): Likewise.
6892         * math/w_atanhl.c (__atanhl): Likewise.
6893         * math/w_coshl.c (__coshl): Likewise.
6894         * math/w_exp10l.c (__exp10l): Likewise.
6895         * math/w_exp2l.c (__exp2l): Likewise.
6896         * math/w_fmodl.c (__fmodl): Likewise.
6897         * math/w_hypotl.c (__hypotl): Likewise.
6898         * math/w_j0l.c (__j0l, __y0l): Likewise.
6899         * math/w_j1l.c (__j1l, __y1l): Likewise.
6900         * math/w_jnl.c (__jnl, __ynl): Likewise.
6901         * math/w_lgammal.c (__lgammal): Likewise.
6902         * math/w_log10l.c (__log10l): Likewise.
6903         * math/w_log2l.c (__log2l): Likewise.
6904         * math/w_logl.c (__logl): Likewise.
6905         * math/w_powl.c (__powl): Likewise.
6906         * math/w_remainderl.c (__remainderl): Likewise.
6907         * math/w_scalbl.c (sysv_scalbl): Likewise.
6908         * math/w_sinhl.c (__sinhl): Likewise.
6909         * math/w_sqrtl.c (__sqrtl): Likewise.
6910         * math/w_tgammal.c (__tgammal): Likewise.
6911         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6912         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6913         * math/libm-test.inc (acos_test): Add more tests.
6914         (acosh_test): Likewise.
6915         (asin_test): Likewise.
6916         (atanh_test): Likewise.
6917         (exp_test): Likewise.
6918         (exp10_test): Likewise.
6919         (exp2_test): Likewise.
6920         (expm1_test): Likewise.
6921         (lgamma_test): Likewise.
6922         (log_test): Likewise.
6923         (log10_test): Likewise.
6924         (log1p_test): Likewise.
6925         (log2_test): Likewise.
6926         (pow_test): Do not allow some spurious overflow exceptions.
6927         (sqrt_test): Add more tests.
6928         (tgamma_test): Likewise.
6929         (y0_test): Likewise.
6930         (y1_test): Likewise.
6931         (yn_test): Likewise.
6933 2012-03-27  Anton Blanchard  <anton@samba.org>
6935         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6936         MAP_HUGETLB.
6937         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6938         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6939         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6941 2012-03-27  David S. Miller  <davem@davemloft.net>
6943         * conform/Makefile: Run run-conformtest.sh using $(BASH).
6945         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6946         have-as-vis3 check.
6948 2012-03-27  Andreas Jaeger  <aj@suse.de>
6950         * sysdeps/x86_64/elf/configure.in: Moved to ...
6951         * sysdeps/x86_64/configure.in: ... here.
6952         * sysdeps/x86_64/elf/start.S: Moved to ...
6953         * sysdeps/x86_64/start.S: ... here.
6954         * sysdeps/x86_64/elf/configure: Delete.
6956         * sysdeps/x86_64/configure.in: Merge contents from
6957         sysdeps/i386/configure.in (without i686 check).
6959         * sysdeps/i386/elf/Versions: Merge into ...
6960         * sysdeps/i386/Versions: ... this.
6961         * sysdeps/i386/elf/Versions: Delete file.
6962         * sysdeps/i386/elf/start.S: Moved to ...
6963         * sysdeps/i386/start.S: ...here.
6964         * sysdeps/i386/elf/configure.in: Merge into...
6965         * sysdeps/i386/configure.in: ...here.
6966         * sysdeps/i386/elf/configure.in: Delete file.
6967         * sysdeps/i386/elf/configure: Delete file.
6969         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6970         * debug/backtracesyms.c: ... here.
6971         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6972         * debug/backtracesymsfd.c: ... here.
6973         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6974         * sysdeps/generic/ifunc-sel.h: ... here.
6976         * sysdeps/unix/i386/start.c: Delete file.
6977         * sysdeps/unix/sparc/start.c: Delete file.
6978         * sysdeps/unix/start.c: Delete file.
6980         * sysdeps/sh/elf/configure.in: Moved to ...
6981         * sysdeps/sh/configure.in: ... here.
6982         * sysdeps/sh/elf/start.S: Moved to ...
6983         * sysdeps/sh/start.S: ... here.
6984         * sysdeps/sh/elf/configure: Delete file.
6986         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6987         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6988         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6989         * sysdeps/powerpc/powerpc64/entry.h: ... here.
6990         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6991         * sysdeps/powerpc/powerpc64/start.S: here.
6992         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6993         * sysdeps/powerpc/powerpc64/Makefile: ... this.
6994         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6995         * sysdeps/powerpc/powerpc64/configure.in: ... this.
6996         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6998         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6999         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7000         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7001         * sysdeps/powerpc/powerpc32/start.S: ... here.
7002         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7003         * sysdeps/powerpc/powerpc32/configure.in: ... this.
7004         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7006         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7007         * sysdeps/powerpc/ifunc-sel.h: ... here.
7008         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7009         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7011         * sysdeps/sparc/elf/configure.in: Moved to ...
7012         * sysdeps/sparc/configure.in: ... here.
7013         * sysdeps/sparc/elf/configure: Delete file.
7014         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7015         * sysdeps/sparc/sparc32/start.S: ... here.
7016         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7017         * sysdeps/sparc/sparc64/start.S: ... here.
7018         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7019         * sysdeps/sparc/sparc32/Makefile: ... this.
7020         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7021         * sysdeps/sparc/sparc64/Makefile: ... this.
7023         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7024         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7025         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7026         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7027         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7028         * sysdeps/s390/s390-32/setjmp.S: ... here.
7029         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7030         * sysdeps/s390/s390-32/configure.in: ... here.
7031         * sysdeps/s390/s390-32/elf/configure: Delete file.
7032         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7033         * sysdeps/s390/s390-32/start.S: ... here.
7035         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7036         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7037         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7038         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7039         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7040         * sysdeps/s390/s390-64/setjmp.S: ... here.
7041         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7042         * sysdeps/s390/s390-64/configure.in: ... here
7043         * sysdeps/s390/s390-64/elf/configure: Delete file.
7044         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7045         * sysdeps/s390/s390-64/start.S: ... here.
7046         * sysdeps/s390/s390-64/elf/configure: Delete.
7048         * configure.in: Remove support for elf directories in sysdeps.
7050         * configure: Regenerated.
7051         * sysdeps/i386/configure: Regenerated.
7052         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7053         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7054         * sysdeps/s390/s390-32/configure: Regenerated.
7055         * sysdeps/s390/s390-64/configure: Regenerated.
7056         * sysdeps/sh/configure: Regenerated.
7057         * sysdeps/sparc/configure: Regenerated.
7058         * sysdeps/x86_64/configure: Regenerated.
7060 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
7062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7064         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7065         denormal result into account.
7067 2012-03-25  Roland McGrath  <roland@hack.frob.com>
7069         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7070         Reported by Allan McRae <allan@archlinux.org>.
7072 2012-03-23  Jeff Law  <law@redhat.com>
7074         * nss/getnssent.c (__nss_getent): Fix typo.
7076 2012-03-23  David S. Miller  <davem@davemloft.net>
7078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7080 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
7082         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7083         to pad to uint64_t for each field.
7084         (dl_tls_index): Replace unsigned long with uint64_t.
7086 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
7087         Paul Pluzhnikov  <ppluzhnikov@google.com>
7089         [BZ #6528]
7090         * grp/Makefile (otherlibs): Don't set it.
7091         * inet/Makefile (otherlibs): Likewise.
7092         * login/Makefile (otherlibs): Likewise.
7093         * nscd/Makefile (otherlibs): Likewise.
7094         * posix/Makefile (otherlibs): Likewise.
7095         * pwd/Makefile (otherlibs): Likewise.
7096         * rt/Makefile (otherlibs): Likewise.
7097         * sunrpc/Makefile (otherlibs): Likewise.
7098         * nss/Makefile (otherlibs): Likewise.
7099         Add libnss_files to routines and static-only-routines.
7100         ($(objpfx)getent): Remove rule.
7101         * resolv/Makefile: Add libnss_dns and libresolv to routines and
7102         static-only-routines.
7104 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
7106         [BZ #13892]
7107         * math/s_cexp.c: Include <float.h>.
7108         (__cexp): Handle exp result overflowing not necessarily
7109         overflowing both real and imaginary parts of result.
7110         * math/s_cexpf.c: Likewise.
7111         * math/s_cexpl.c: Likewise.
7112         * math/libm-test.inc (cexp_test): Add more tests.
7113         * sysdeps/i386/fpu/libm-test-ulps: Update.
7114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7116 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7118         * include/link.h (ELFW): New macro.
7119         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7120         Replace ELF64_R_TYPE with ELFW(R_TYPE).
7122 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7124         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7125         with uint64_t.
7127 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7129         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7130         declaration.
7131         (struct La_x32_retval): Likewise.
7133 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7135         * sysdeps/x86_64/preconfigure.in: New file.
7136         * sysdeps/x86_64/preconfigure: New generated file.
7138 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
7140         [BZ #13824]
7141         * math/e_exp2l.c: Include <float.h>.
7142         (__ieee754_exp2l): Handle overflow and underflow cases
7143         separately.  Only pass fractional part of argument to
7144         __ieee754_expl.
7145         * math/libm-test.inc (exp2_test): Add more tests.
7147         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7148         negating x to take absolute value.
7149         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7150         Likewise.
7151         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7152         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7153         Likewise.
7154         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7155         computing low part if x was negated.
7156         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7158 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7160         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7161         la_x32_gnu_pltexit.
7162         (pltexit): Cast int_retval to ptrdiff_t.
7163         * elf/tst-auditmod3b.c: Likewise.
7164         * elf/tst-auditmod4b.c: Likewise.
7165         * elf/tst-auditmod5b.c: Likewise.
7166         * elf/tst-auditmod6b.c: Likewise.
7167         * elf/tst-auditmod6c.c: Likewise.
7168         * elf/tst-auditmod7b.c: Likewise.
7170         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7171         and x32_gnu_pltexit.
7173         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7174         __ELF_NATIVE_CLASS.
7175         (La_x32_regs): New macro.
7176         (La_x32_retval): Likewise.
7177         (la_x32_gnu_pltenter): New function prototype.
7178         (la_x32_gnu_pltexit): Likewise.
7180 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
7182         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7183         exponent.
7185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7187         * configure.in (libc_cv_cc_nofma): Check for option to disable
7188         generation of FMA instructions.
7189         * configure: Regenerate.
7190         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7191         * sysdeps/ieee754/dbl-64/Makefile: New file.
7192         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7193         Remove brandred-fma4.
7194         (CFLAGS-brandred-fma4.c): Remove.
7195         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7196         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7197         define.
7198         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7199         define.
7201 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7203         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7204         LLONG_MAX != LONG_MAX.
7205         (_itoa_word): Use _ITOA_WORD_TYPE on value.
7206         (_fitoa_word): Likewise.
7207         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7208         LLONG_MAX != LONG_MAX.
7209         * stdio-common/_itowa.h: Include <_itoa.h>.
7210         (_itowa_word): Use _ITOA_WORD_TYPE on value.
7211         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
7212         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
7213         only if not defined.
7214         (_ITOA_WORD_TYPE): Likewise.
7215         (_itoa_word): Use _ITOA_WORD_TYPE on value.
7216         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7218 2012-03-21  David S. Miller  <davem@davemloft.net>
7220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7222 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7224         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7225         of x86_64 when setting libc_cv_slibdir, libdir and
7226         libc_cv_localedir.
7227         * sysdeps/unix/sysv/linux/configure: Regenerated.
7229 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7231         * manual/lang.texi (Old Varargs): Remove section.
7232         (How Variadic): Update menu.
7233         (va_start): Do not mention varargs.h.
7235 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7236             Joseph Myers  <joseph@codesourcery.com>
7238         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7239         link test.
7240         * configure: Regenerated.
7242 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7244         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7245         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7246         conformtest.pl
7248 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7250         * NOTES: Remove.
7251         * Makefile (files-for-dist): Remove NOTES.
7252         (NOTES): Remove rule.
7253         * README: Don't refer to NOTES.
7254         * manual/creature.texi: Don't include macros.texi.
7255         * manual/intro.texi (creature.texi): Remove comment referring to
7256         NOTES.
7258         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7259         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7260         * configure: Regenerated.
7261         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7262         LIBC_TRY_CC_OPTION.
7263         (libc_cv_as_i686): Likewise.
7264         (libc_cv_cc_avx): Likewise.
7265         (libc_cv_cc_sse2avx): Likewise.
7266         (libc_cv_cc_fma4): Likewise.
7267         (libc_cv_cc_novzeroupper): Likewise.
7268         * sysdeps/i386/configure: Regenerated.
7270         [BZ #13883]
7271         * sysdeps/i386/fpu/s_cexp.S: Remove.
7272         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7273         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7274         * math/libm-test.inc (cexp_test): Add more tests.
7275         * sysdeps/i386/fpu/libm-test-ulps: Update.
7276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7278 2012-03-21  Allan McRae  <allan@archlinux.org>
7280         * timezone/Makefile: Do not install iso3166.tab and zone.tab
7282 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7284         [BZ #13871]
7285         * math/w_exp2.c: Do not include <float.h>.
7286         (o_threshold, u_threshold): Remove.
7287         (__exp2): Calculate result before checking finiteness and calling
7288         __kernel_standard.
7289         * math/w_exp2f.c: Likewise.
7290         * math/w_exp2l.c: Likewise.
7291         * math/libm-test.inc (exp2_test): Require overflow exception for
7292         1e6 input.
7294         [BZ #3866]
7295         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7296         range of signed 64-bit integers before using fistpll.  Remove
7297         checks for whether integers fit in mantissa bits.
7298         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7299         the range of signed 32-bit integers before using fistpl.  Remove
7300         checks for whether integers fit in mantissa bits.
7301         * sysdeps/i386/fpu/e_powl.S (p64): New object.
7302         (__ieee754_powl): Test for y outside the range of signed 64-bit
7303         integers before using fistpll.  Reduce 64-bit values to 63-bit
7304         ones as needed.
7305         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7306         divide-by-zero is raised for zero to large negative powers.
7307         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7308         (__ieee754_powl): Test for y outside the range of signed 64-bit
7309         integers before using fistpll.  Reduce 64-bit values to 63-bit
7310         ones as needed.
7311         * math/libm-test.inc (pow_test): Add more tests.
7313 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7315         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7316         <stdio-common/_itoa.h>.
7317         * debug/segfault.c: Likewise.
7318         * elf/dl-cache.c: Likewise.
7319         * elf/dl-minimal.c: Likewise.
7320         * elf/dl-misc.c: Likewise.
7321         * elf/dl-sysdep.c: Likewise.
7322         * elf/dl-version.c: Likewise.
7323         * elf/rtld.c: Likewise.
7324         * hurd/hurdsock.c: Likewise.
7325         * hurd/lookup-retry.c: Likewise.
7326         * malloc/malloc.c: Likewise.
7327         * malloc/mtrace.c: Likewise.
7328         * nscd/nscd_getgr_r.c: Likewise.
7329         * nscd/nscd_getpw_r.c: Likewise.
7330         * nscd/nscd_getserv_r.c: Likewise.
7331         * posix/getopt_init.c: Likewise.
7332         * posix/wordexp.c: Likewise.
7333         * stdio-common/_itoa.c: Likewise.
7334         * stdio-common/printf_fphex.c: Likewise.
7335         * stdio-common/vfprintf.c: Likewise.
7336         * string/_strerror.c: Likewise.
7337         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7338         * sysdeps/i386/i686/hp-timing.h: Likewise.
7339         * sysdeps/mach/_strerror.c: Likewise.
7340         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7341         * sysdeps/mach/hurd/sethostid.c: Likewise.
7342         * sysdeps/mach/hurd/xmknodat.c: Likewise.
7343         * sysdeps/mach/xpg-strerror.c: Likewise.
7344         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7345         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7346         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7347         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7348         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7349         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7350         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7351         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7352         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7353         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7354         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7355         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7356         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7357         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7358         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7359         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7360         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7361         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7362         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7363         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7364         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7366         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7368         * stdio-common/_itoa.h: Moved to ...
7369         * sysdeps/generic/_itoa.h: Here.
7371         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7373         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7374         instead of "_itoa.h" and "_itowa.h".
7375         * stdio-common/vfprintf.: Likewise.
7377 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7379         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7380         <bits/wordsize.h>.
7381         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7382         (__signbit): Likwise.
7383         (llrintf): Likwise.
7384         (llrint): Likwise.
7386 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7388         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7389         __WORDSIZE != 64.
7391 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
7393         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7394         OVERFLOW_EXCEPTION_OK.
7395         * math/libm-test.inc ("Philosophy"): Update comment about
7396         exception testing.
7397         (OVERFLOW_EXCEPTION): Define.
7398         (OVERFLOW_EXCEPTION_OK): Likewise.
7399         (INVALID_EXCEPTION_OK): Renumber.
7400         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7401         (IGNORE_ZERO_INF_SIGN): Likewise.
7402         (test_exceptions): Handle FE_OVERFLOW.
7403         (exp10_test): Expect overflow exceptions.
7404         (exp2_test): Likewise.
7405         (expm1_test): Likewise.
7406         (nextafter_test): Likewise.
7407         (pow_test): Likewise.
7408         (scalbn_test): Likewise.
7409         (scalbln_test): Likewise.
7411 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7413         * sysdeps/x86_64/bits/atomic.h
7414         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7415         64bit integer.
7416         (atomic_exchange_acq): Likewise.
7417         (__arch_exchange_and_add_body): Likewise.
7418         (__arch_add_body): Likewise.
7419         (atomic_add_negative): Likewise.
7420         (atomic_add_zero): Likewise.
7422 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7424         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7425         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7427 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7429         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7430         Check __x86_64__ instead of __WORDSIZE.
7432 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7434         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7436 2012-03-19  David S. Miller  <davem@davemloft.net>
7438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7440         * sysdeps/sparc/fpu/fenv_private.h: New file.
7441         * sysdeps/sparc/fpu/math_private.h: Use it.
7442         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7443         Remove.
7444         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7445         (libc_feholdexcept_setroundl): Remove.
7446         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7447         Remove.
7448         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7449         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7451 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7453         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7454         int64_t instead of long int.
7455         (INSERT_WORDS64): Likwise.
7457 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7459         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7460         _Unwind_GetCFA return to _Unwind_Ptr first.
7462 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
7464         [BZ #13629]
7465         * math/s_clog.c: Include <float.h>.
7466         (__clog): Scale large or subnormal inputs.
7467         * math/s_clogf.c: Likewise.
7468         * math/s_clogl.c: Likewise.
7469         * math/s_clog10.c: Include <float.h>.
7470         (M_LOG10_2): Define.
7471         (__clog10): Scale large or subnormal inputs.
7472         * math/s_clog10f.c: Likewise.
7473         * math/s_clog10l.c: Likewise.
7474         * math/libm-test.inc (clog_test): Add more tests.
7475         (clog10_test): Likewise.
7476         * sysdeps/i386/fpu/libm-test-ulps: Update.
7477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7479         [BZ #11451]
7480         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7481         x and y.
7482         * math/libm-test.inc (atan2_test): Add another test.
7484         * Makerules (common-objdir-compile): Remove.
7485         * sysdeps/unix/Makefile (config-generated): Do not add
7486         $(unix-generated) to variable.
7487         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7488         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7489         Remove rule.
7490         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7491         Likewise.
7492         [generic bits/local_lim.h] (before-compile): Do not append to
7493         variable.
7494         [generic bits/local_lim.h] (common-generated): Likewise.
7495         [generic sys/param.h] (before-compile): Do not append to variable.
7496         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7497         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7498         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7499         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7500         include.
7501         [generic sys/param.h] (sys/param.h-includes): Remove variable.
7502         [generic sys/param.h] (sys/param.h-includes): Remove rule.
7503         [generic sys/param.h] ($(addprefix
7504         $(common-objpfx),$(sys/param.h-includes))): Likewise.
7505         [generic sys/param.h] (common-generated): Do not append to
7506         variable.
7507         [generic sys/param.h] (sysdep_headers): Likewise.
7508         [generic bits/errno.h] (before-compile): Do not append to
7509         variable.
7510         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7511         rule.
7512         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7513         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7514         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7515         [generic bits/errno.h] (common-generated): Do not append to
7516         variable.
7517         [generic bits/ioctls.h] (before-compile): Do not append to
7518         variable.
7519         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7520         rule.
7521         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7522         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7523         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7524         rule.
7525         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7526         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7527         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7528         [generic bits/ioctls.h] (common-generated): Do not append to
7529         variable.
7530         [generic sys/syscall.h] (syscall.h): Remove variable.
7531         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7532         rule.
7533         [generic sys/syscall.h] (before-compile): Do not append to
7534         variable.
7535         [generic sys/syscall.h] (common-generated): Likewise.
7536         * sysdeps/unix/errnos-tmpl.c: Remove file.
7537         * sysdeps/unix/errnos.awk: Likewise.
7538         * sysdeps/unix/ioctls-tmpl.c: Likewise.
7539         * sysdeps/unix/ioctls.awk: Likewise.
7540         * sysdeps/unix/mk-local_lim.c: Likewise.
7541         * sysdeps/unix/snarf-ioctls: Likewise.
7543 2012-03-19  Richard Henderson  <rth@twiddle.net>
7545         * sysdeps/i386/fpu/fenv_private.h: New file.
7546         * sysdeps/i386/fpu/math_private.h: Use it.
7547         (math_opt_barrier, math_force_eval): Remove.
7548         (libc_feholdexcept_setround_53bit): Remove.
7549         (libc_feupdateenv_53bit): Remove.
7550         * sysdeps/x86_64/fpu/math_private.h: Likewise.
7551         (math_opt_barrier, math_force_eval): Remove.
7552         (libc_feholdexcept): Remove.
7553         (libc_feholdexcept_setround): Remove.
7554         (libc_fetestexcept, libc_fesetenv): Remove.
7555         (libc_feupdateenv_test): Remove.
7556         (libc_feupdateenv, libc_feholdsetround): Remove.
7557         (libc_feresetround): Remove.
7559         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7560         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7562         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7563         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7564         (libc_feupdateenv_testl): New.
7565         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7566         (libc_feupdateenv_testf): New.
7567         (libc_feupdateenv): Use libc_feupdateenv_test.
7568         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7569         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7571         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7572         (libc_feholdsetroundf, libc_feholdsetroundl): New.
7573         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7574         (libc_feresetround_noex): New.
7575         (libc_feresetround_noexf): New.
7576         (libc_feresetround_noexl): New.
7577         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7578         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7579         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7580         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7581         SET_RESTORE_ROUND.
7582         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7583         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7584         (__cos): Likewise.
7585         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7586         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7587         SET_RESTORE_ROUND_NOEX.
7588         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7589         SET_RESTORE_ROUND_NOEXF.
7590         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7591         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7592         (libc_feholdsetroundf): New.
7593         (libc_feresetround, libc_feresetroundf): New.
7595         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7596         (libc_feholdexcept_setround_53bit): Convert from macro to function.
7597         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
7599         * sysdeps/generic/math_private.h: Include <fenv.h>.
7600         (default_libc_feholdexcept): New.
7601         (default_libc_feholdexcept_setround): New.
7602         (default_libc_fesetenv, default_libc_feupdateenv): New.
7603         (libc_feholdexcept): Only define if undefined.
7604         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7605         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7606         (libc_feholdexcept_setroundl): Likewise.
7607         (libc_feholdexcept_setround_53bit): Likewise.
7608         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7609         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7610         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7611         (libc_feupdateenv_53bit): Likewise.
7612         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7613         (libc_feholdexcept): Convert from macro to inline function.
7614         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7615         (libc_fesetenv, libc_feupdateenv): Likewise.
7617         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7618         not previously defined.
7619         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7620         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7621         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7622         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7623         * sysdeps/ieee754/flt-32/math_private.h: New file.
7624         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7625         math_private.h below SET_FLOAT_WORD.
7626         (__isnan, __isinf_ns, __finite): Remove.
7627         (__isnanf, __isinf_nsf, __finitef): Remove.
7629 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
7631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7633 2012-03-17  David S. Miller  <davem@davemloft.net>
7635         [BZ #6471]
7636         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7637         for 2.16.
7639 2012-03-16  David S. Miller  <davem@davemloft.net>
7641         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7642         warnings.
7644         [BZ #6471]
7645         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7646         properly.
7647         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7648         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7649         sysdep_routines when subdir is sysvipc.
7650         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7651         __getshmlba helper.
7653         * sysdeps/sparc/fpu/libm-test/ulps: Update.
7655 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7657         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7658         [__LP64__].
7660 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7662         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7663         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7664         (__lround): Renamed to ...
7665         (__llround): This.  Replace long int with long long int.
7666         Define lround functions as aliases of llround functions.
7667         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7669 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7671         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7672         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
7673         adresses to uintptr_t.  Replace "long int" and "unsigned long
7674         int" with "greg_t" on va_arg.
7676 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7678         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7679         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7681         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7682         Move e_machine check before EI_CLASS check.  Handle x32
7683         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7684         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7685         SKIP_EM_IA_64 and include
7686         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7688         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7689         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7690         (add_system_dir): New macro.
7692         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7693         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7695 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
7697         [BZ #2551]
7698         [BZ #2552]
7699         [BZ #2553]
7700         [BZ #2554]
7701         [BZ #2562]
7702         [BZ #2563]
7703         [BZ #2565]
7704         [BZ #2566]
7705         [BZ #2576]
7706         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7707         (y0): Likewise.
7708         * math/w_j0f.c (j0f): Likewise.
7709         (y0f): Likewise.
7710         * math/w_j0l.c (__j0l): Likewise.
7711         (__y0l): Likewise.
7712         * math/w_j1.c (j1): Likewise.
7713         (y1): Likewise.
7714         * math/w_j1f.c (j1f): Likewise.
7715         (y1f): Likewise.
7716         * math/w_j1l.c (__j1l): Likewise.
7717         (__y1l): Likewise.
7718         * math/w_jn.c (jn): Likewise.
7719         (yn): Likewise.
7720         * math/w_jnf.c (jnf): Likewise.
7721         (ynf): Likewise.
7722         * math/w_jnl.c (__jnl): Likewise.
7723         (__ynl): Likewise.
7724         * math/libm-test.inc (j0_test): Add more tests.
7725         (j1_test): Likewise.
7726         (jn_test): Likewise.  Add trailing semicolon to existing test.
7727         (y0_test): Likewise.
7728         (y1_test): Likewise.
7729         * sysdeps/i386/fpu/libm-test-ulps: Update.
7730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7732         [BZ #13851]
7733         [BZ #13854]
7734         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7735         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7736         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7737         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7738         (__tanl): Set errno for infinite argument.
7739         * sysdeps/i386/fpu/mptan.c: Remove.
7740         * sysdeps/i386/fpu/s_tan.S: Likewise.
7741         * sysdeps/i386/fpu/s_tanl.S: Likewise.
7742         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7743         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7744         * math/libm-test.inc (tan_test): Add more tests and enable more
7745         tests for double and long double.
7746         * sysdeps/i386/fpu/libm-test-ulps: Update.
7747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7749 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7751         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7752         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7754 2012-03-16  Roland McGrath  <roland@hack.frob.com>
7756         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7757         * configure.in: Use it for both main tree and add-ons.
7758         * configure: Regenerated.
7760 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7762         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7764 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
7766         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7767         in comment.
7769         [BZ #13851]
7770         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7771         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7772         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7773         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7774         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7775         infinite argument.
7776         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7777         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7778         != 0 for prec == 2.
7779         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7780         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7781         * sysdeps/i386/fpu/s_cosl.S: Likewise.
7782         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7783         * sysdeps/i386/fpu/s_sinl.S: Likewise.
7784         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7785         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7786         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7787         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7788         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7789         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7790         * math/libm-test.inc (cos_test): Add more tests and enable more
7791         tests for long double.
7792         (sin_test): Likewise.
7793         (sincos_test): Likewise.
7794         * sysdeps/i386/fpu/libm-test-ulps: Update.
7795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7797 2012-03-16  David S. Miller  <davem@davemloft.net>
7799         * sysdeps/sparc/fpu/math_private.h: New file.
7801 2012-03-15  David S. Miller  <davem@davemloft.net>
7803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7804         file.
7805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7807         file.
7808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7812         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7813         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7814         sysdep routines.
7815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7817         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7818         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7820         * sysdeps/sparc/sparc-ifunc.h: New file.
7821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7822         sparc-ifunc.h
7823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7825         Likewise.
7826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7827         Likewise.
7828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7832         Likewise.
7833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7838         Likewise.
7839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7840         Likewise.
7841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7845         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7846         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7847         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7848         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7850         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7853         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7854         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7855         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7856         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7857         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7858         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7859         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7860         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7861         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7862         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7863         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7864         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7866 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
7868         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7869         scaling.
7870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7872 2012-03-15  Andreas Jaeger  <aj@suse.de>
7874         [BZ #13852]
7875         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7876         ieee754/flt-32 implementation for sin, cos and sincos.
7877         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7878         * sysdeps/i386/fpu/s_cosf.S: Likewise.
7879         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7880         * sysdeps/i386/fpu/s_sinf.S: Likewise.
7881         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7882         ieee754/flt-32 implementation for tan.
7884         * math/libm-test.inc (cos_test): Enable some large input tests for
7885         float as well
7886         (sin_test): Likewise.
7887         (sincos_test): Likewise.
7888         (tan_test): Add tests for large input.
7890         * sysdeps/i386/fpu/libm-test-ulps: Update.
7892 2012-03-15  Andreas Jaeger  <aj@suse.de>
7894         [BZ #13658]
7895         * math/libm-test.inc (cos_test): Add more test cases.
7896         (sin_test): Likewise.
7897         (sincos_test): Likewise.
7899 2012-03-15  Andreas Jaeger  <aj@suse.de>
7901         [BZ #13837]
7902         * math/libm-test.inc (cos_test): Add a test case for large input
7903         value.
7904         (sin_test): Likewise.
7905         (sincos_test): Likewise.
7907 2012-03-15  Andreas Jaeger  <aj@suse.de>,
7908         Joseph Myers  <joseph@codesourcery.com>
7910         [BZ #13658]
7911         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7912         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7913         * sysdeps/i386/fpu/branred.c: Likewise.
7914         * sysdeps/i386/fpu/dosincos.c: Likewise.
7915         * sysdeps/i386/fpu/mpa.c: Likewise.
7916         * sysdeps/i386/fpu/s_cos.S: Likewise.
7917         * sysdeps/i386/fpu/s_sin.S: Likewise.
7918         * sysdeps/i386/fpu/s_sincos.S: Likewise.
7919         * sysdeps/i386/fpu/sincos32.c: Likewise.
7921         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7922         Define.
7923         (libc_feupdateenv_53bit): Define.
7924         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7925         Define.
7926         (libc_feupdateenv_53bit): Define.
7928         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7929         53 bit (without extend i386 double precision).
7931         * math/libm-test.inc (sincos_test): Add tests for large input.
7932         (sin): Likewise.
7933         (cos): Likewise.
7935         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7937 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
7939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7941 2012-03-15  David S. Miller  <davem@davemloft.net>
7943         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7944         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7945         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7946         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7955         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7956         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7957         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7959         file.
7960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7962         file.
7963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7965         file.
7966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7968         file.
7969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7970         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7971         fmin/fmax sysdep routines.
7972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7974 2012-03-14  David S. Miller  <davem@davemloft.net>
7976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7978         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7979         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7980         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7981         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7982         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7983         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7987         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7988         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7989         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7990         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7993         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7994         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7995         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7996         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7997         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7998         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7999         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8000         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8001         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8002         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8003         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8005         routines.
8006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8007         file.
8008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8010         file.
8011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8013         file.
8014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8016         file.
8017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8019         file.
8020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8022         file.
8023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8024         file.
8025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8026         file.
8027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8028         file.
8029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8030         New file.
8031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8032         file.
8033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8034         file.
8035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8037         file.
8038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8040         file.
8041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8043         file.
8044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8046         VIS3 routines.
8048         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8049         New file.
8051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8053         * sysdeps/sparc/configure.in: New file.
8054         * sysdeps/sparc/configure: Generate.
8055         * configure.in (libc_cv_sparc_as_vis3): Substitute.
8056         * configure: Regenerate.
8057         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8058         * config.make.in (have-as-vis3): New.
8059         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8060         available use -Av9d instead of -Av9a.
8061         * sysdeps/sparc/sparc64/Makefile: Likewise.
8062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8064         New file.
8065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8066         file.
8067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8068         New file.
8069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8070         file.
8071         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8072         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8073         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8074         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8075         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8077         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8078         fzeros/fnegs to load 0x80000000 into a float register instead of
8079         using the stack.
8080         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8082 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
8084         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8085         bits/syscall.h.
8086         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8087         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8088         ($(inst_includedir)/bits/syscall.h): Remove rule.
8089         ($(objpfx)bits/syscall.d): Include instead of
8090         $(objpfx)syscall-list.d.
8091         (generated): Change syscall-list.h and syscall-list.d to
8092         bits/syscall.h and bits/syscall.d.
8094 2012-03-14  Roland McGrath  <roland@hack.frob.com>
8096         [BZ #13846]
8097         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8099 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
8101         [BZ #13841]
8102         * math/s_csqrt.c: Include <float.h>.
8103         (__csqrt): Scale large or subnormal inputs.
8104         * math/s_csqrtf.c: Likewise.
8105         * math/s_csqrtl.c: Likewise.
8106         * math/libm-test.inc (csqrt_test): Add more tests.
8107         * sysdeps/i386/fpu/libm-test-ulps: Update.
8108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8110         [BZ #13840]
8111         * math/libm-test.inc (hypot_test): Add more tests.
8113 2012-03-13  David S. Miller  <davem@davemloft.net>
8115         [BZ #13840]
8116         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8117         double-precision for the calculation instead of scaling.
8119 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
8121         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8122         manipulate bits before adding and subtracting TWO52[sx].
8123         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8124         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8125         Likewise.
8126         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8128 2012-03-13  David S. Miller  <davem@davemloft.net>
8130         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8131         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8132         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8133         rtld-global-offsets.h
8134         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8136         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8137         large parameters.
8139         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8141         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8142         'err' in the ifdef scope in which it is actually used.
8144         * nss/nss_db/db-init.c: Include string.h
8146 2012-03-12  David S. Miller  <davem@davemloft.net>
8148         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8149         masking out of the most significant byte of random value used.
8150         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8151         Fix coding style in previous change.
8153         * sysdeps/unix/sysv/linux/kernel-features.h
8154         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8155         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8156         expression.
8157         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8158         later.
8160 2012-03-11  David S. Miller  <davem@davemloft.net>
8162         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8163         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8164         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8165         for 'resultvar' otherwise things get truncated on 64-bit.
8167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8168         Fix masking out of the most significant byte of random value used.
8170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8172 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
8174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8176 2012-03-09  David S. Miller  <davem@davemloft.net>
8178         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8179         variables with appropriate CPP guards.
8180         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8181         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
8182         on resulting framesize and the management of the outregs buffer for pltexit.
8183         Preserve floating point return values across _dl_call_pltexit call.
8184         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8185         framesize and the management of the outregs buffer for pltexit.
8186         Preserve floating point return values across _dl_call_pltexit
8187         call.
8188         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8189         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8190         (print_exit): Fix format string for return register value.
8192 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
8194         * sunrpc/Makefile (others): Add rpcgen.
8195         ($(objpfx)rpcgen): Remove special build rule and dependency on
8196         libc.
8197         * sunrpc/rpcgen.c: New file.
8199 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
8201         [BZ #13673]
8202         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8203         * stdio-common/bug-vfprintf-nargs.c: Likewise.
8204         * sysdeps/i386/crti.S: Likewise.
8205         * sysdeps/i386/crtn.S: Likewise.
8206         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8207         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8208         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8209         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8210         * sysdeps/sh/crti.S: Likewise.
8211         * sysdeps/sh/crtn.S: Likewise.
8212         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8214         [BZ #13673]
8215         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8216         with URL.
8217         * locale/programs/locfile-kw.gperf: Likewise.
8218         * locale/programs/charmap-kw.h: Regenerated.
8219         * locale/programs/locfile-kw.h: Likewise.
8221         [BZ #13673]
8222         * intl/plural.y: Replace FSF snail mail address with URL.
8223         * intl/plural.c: Regenerated.
8225 2012-03-09  Richard Henderson  <rth@twiddle.net>
8227         * include/math_private.h: Remove file.
8228         * math/math_private.h: Move file ...
8229         * sysdeps/generic/math_private.h: ... here.
8231         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8232         * sysdeps/powerpc/fpu/math_private.h: Likewise.
8233         * sysdeps/x86_64/fpu/math_private.h: Likewise.
8235         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8236         and <math_private.h>.
8237         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8238         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8239         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8240         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8241         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8242         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8243         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8244         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8245         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8246         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8247         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8248         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8249         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8250         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8251         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8252         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8253         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8254         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8255         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8256         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8257         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8258         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8259         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8260         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8261         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8262         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8263         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8264         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8265         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8266         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8267         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8268         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8269         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8270         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8271         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8272         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8273         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8274         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8275         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8276         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8277         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8278         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8279         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8280         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8281         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8282         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8283         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8284         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8285         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8286         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8287         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8288         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8289         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8290         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8291         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8292         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8293         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8294         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8295         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8296         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8297         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8298         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8299         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8300         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8301         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8302         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8303         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8304         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8305         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8306         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8307         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8308         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8309         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8310         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8311         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8312         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8313         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8314         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8315         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8316         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8317         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8318         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8319         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8320         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8321         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8322         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8323         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8324         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8325         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8326         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8327         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8328         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8329         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8330         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8331         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8332         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8333         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8334         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8335         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8336         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8337         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8338         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8339         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8340         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8341         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8342         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8343         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8344         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8345         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8346         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8347         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8348         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8349         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8350         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8351         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8352         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8353         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8354         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8355         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8356         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8357         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8358         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8359         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8360         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8361         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8362         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8363         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8364         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8365         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8366         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8367         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8368         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8369         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8370         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8371         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8372         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8373         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8374         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8375         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8376         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8377         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8378         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8379         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8380         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8381         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8382         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8383         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8384         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8385         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8386         * sysdeps/ieee754/k_standard.c: Likewise.
8387         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8388         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8389         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8390         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8391         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8392         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8393         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8394         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8395         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8396         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8397         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8398         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8399         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8400         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8401         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8402         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8403         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8404         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8405         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8406         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8407         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8408         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8409         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8410         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8411         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8412         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8413         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8414         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8415         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8416         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8417         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8418         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8419         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8420         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8421         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8422         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8423         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8424         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8425         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8426         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8427         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8428         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8429         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8430         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8431         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8432         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8433         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8434         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8435         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8436         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8437         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8438         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8439         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8440         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8441         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8442         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8443         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8444         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8445         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8446         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8447         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8448         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8449         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8450         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8451         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8452         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8453         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8454         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8455         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8456         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8457         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8458         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8459         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8460         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8461         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8462         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8463         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8464         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8465         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8466         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8467         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8468         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8469         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8470         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8471         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8472         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8473         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8474         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8475         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8476         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8477         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8478         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8479         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8480         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8481         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8482         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8483         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8484         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8485         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8486         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8487         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8488         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8489         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8490         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8491         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8492         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8493         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8494         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8495         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8496         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8497         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8498         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8499         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8500         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8501         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8502         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8503         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8504         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8505         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8506         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8507         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8508         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8509         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8510         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8511         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8512         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8513         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8514         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8515         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8516         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8517         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8518         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8519         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8520         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8521         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8522         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8523         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8524         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8525         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8526         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8527         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8528         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8529         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8530         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8531         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8532         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8533         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8534         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8535         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8536         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8537         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8538         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8539         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8540         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8541         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8542         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8543         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8544         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8545         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8546         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8547         * sysdeps/ieee754/s_lib_version.c: Likewise.
8548         * sysdeps/ieee754/s_matherr.c: Likewise.
8549         * sysdeps/ieee754/s_signgam.c: Likewise.
8550         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8551         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8552         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8553         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8554         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8555         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8556         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8557         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8558         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8559         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8560         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8561         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8562         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8563         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8564         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8565         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8566         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8567         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8568         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8569         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8570         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8572 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
8574         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8575         * sunrpc/rpc_main.c: Likewise.
8576         * sunrpc/rpc_svcout.c: Likewise.
8578 2012-03-09  David S. Miller  <davem@davemloft.net>
8580         * include/math_private.h: New file.
8582 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
8584         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8585         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8586         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8587         from <bits/socket_type.h>.
8588         (enum __socket_type): Don't define here.
8589         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8590         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8591         bits/socket_type.h.
8593         [BZ #13566]
8594         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8595         checking __USE_GNU.
8597         * Makerules ($(inst_includedir)/%.h): New rule.
8598         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8599         (install-others): Remove variable setting.
8600         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8602 2012-03-08  Richard Henderson  <rth@twiddle.net>
8604         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8605         from macro to inline function; merge with the
8606         !__LIBC_INTERNAL_MATH_INLINES version.
8607         (__ieee754_sqrtf): Likewise.
8609         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8610         to inline function.
8611         (__rintf, __floor, __floorf): Likewise.
8613         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8614         macro to inline function.
8615         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8617         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8618         not <math/math_private.h>.
8620 2012-03-08  David S. Miller  <davem@davemloft.net>
8622         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8623         copyright year.
8624         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8626 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
8628         * resolv/gai_misc.c (handle_requests): Fix struct timespec
8629         normalization.
8630         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8631         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8633 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
8635         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
8636         be defined individually, they must be defined as a block.  Define
8637         S for printing a string instead of hidint the different by using a
8638         macro for adding the 'l'.
8639         * stdio-common/tst-fphex-wide.c: Adjust.
8641 2012-03-07  Marek Polacek  <polacek@redhat.com>
8643         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8645 2012-03-08  Marek Polacek  <polacek@redhat.com>
8647         [BZ #13806]
8648         * stdio-common/Makefile (tests): Add tst-fphex-wide.
8649         * stdio-common/tst-fphex.c: Define a few macros to make the
8650         test reusable.  Use them.
8651         * stdio-common/tst-fphex-wide.c: New file.
8653 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
8655         [BZ #6911]
8656         * manual/macros.texi (gnusystems): New macro.
8657         (nongnusystems): Likewise.
8658         (gnulinuxhurdsystems): Likewise.
8659         (gnuhurdsystems): Likewise..
8660         (gnulinuxsystems): Likewise.
8661         * manual/charset.texi: Use new macros or @theglibc{} to refer to
8662         variants of the GNU system, not "GNU system".
8663         * manual/conf.texi: Likewise.
8664         * manual/errno.texi: Likewise.  Update example of errno macro
8665         expansion.
8666         * manual/filesys.texi: Likewise.
8667         (getumask): Document as specific to GNU/Hurd.
8668         * manual/install.texi: Likewise.  Reword some references to
8669         GNU/Linux.
8670         * manual/intro.texi: Likewise.
8671         * manual/io.texi: Likewise.
8672         (File Name Portability): Detail which constraints are inapplicable
8673         to all GNU systems and which are only inapplicable to GNU/Hurd.
8674         * manual/job.texi: Likewise.
8675         * manual/llio.texi: Likewise.
8676         (O_NOCTTY): Document as present on GNU/Linux.
8677         * manual/maint.texi: Likewise.
8678         * manual/memory.texi: Likewise.
8679         * manual/pattern.texi: Likewise.
8680         * manual/pipe.texi: Likewise.
8681         * manual/process.texi: Likewise.
8682         * manual/resource.texi: Likewise.
8683         (RUSAGE_CHILDREN): Remove statement about specifying a particular
8684         child on GNU/Hurd.
8685         * manual/setjmp.texi: Likewise.
8686         * manual/signal.texi: Likewise.
8687         * manual/startup.texi: Likewise.
8688         * manual/stdio.texi: Likewise.
8689         * manual/terminal.texi: Likewise.
8690         (ONLCR): Document as POSIX.
8691         (OXTABS): Document availability on GNU/Linux as XTABS.
8692         (ONOEOT): Document availability separately from other bits.
8693         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8694         * manual/time.texi: Likewise.
8695         * manual/users.texi: Likewise.
8696         * INSTALL: Regenerated.
8697         * sysdeps/gnu/errlist.c: Regenerated.
8699         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8700         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8701         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
8702         puts.
8703         * configure: Regenerated.
8705 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
8707         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8708         default includes instead of AC_HEADER_CHECK.
8709         * sysdeps/i386/configure: Regenerated.
8711         [BZ #10716]
8712         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8713         * math/s_cacoshf.c (__cacoshf): Likewise.
8714         * math/s_cacoshl.c (__cacoshl): Likewise.
8715         * math/s_casinh.c (__casinh): Set signs of result from argument.
8716         * math/s_casinhf.c (__casinhf): Likewise.
8717         * math/s_casinhl.c (__casinhl): Likewise.
8718         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8719         (casinh_test): Add more tests.
8720         * sysdeps/i386/fpu/libm-test-ulps: Update.
8721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8723 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
8725         * po/zh_TW.po: Update from translation team.
8727         * login/Makefile (distribute): Remove variable.
8728         * catgets/Makefile: Likewise.
8729         * mach/Makefile: Likewise.
8730         * malloc/Makefile: Likewise.
8731         * misc/Makefile: Likewise.
8732         * iconv/Makefile: Likewise.
8733         * nscd/Makefile: Likewise.
8734         * hurd/Makefile: Likewise.
8735         * manual/Makefile: Likewise.
8736         * locale/Makefile: Likewise.
8737         * intl/Makefile: Likewise.
8738         * conform/Makefile: Likewise.
8739         * nss/Makefile: Likewise.
8740         * time/Makefile: Likewise.
8741         * soft-fp/Makefile: Likewise.
8742         * dirent/Makefile: Likewise.
8743         * gmon/Makefile: Likewise.
8744         * po/Makefile: Likewise.
8745         * rt/Makefile: Likewise.
8746         * socket/Makefile: Likewise.
8747         * math/Makefile: Likewise.
8748         * signal/Makefile: Likewise.
8749         * debug/Makefile: Likewise.
8750         * elf/Makefile: Likewise.
8751         * timezone/Makefile: Likewise.
8752         * stdlib/Makefile: Likewise.
8753         * iconvdata/Makefile: Likewise.
8754         * sunrpc/Makefile: Likewise.
8755         * io/Makefile: Likewise.
8756         * argp/Makefile: Likewise.
8757         * inet/Makefile: Likewise.
8758         * hesiod/Makefile: Likewise.
8759         * grp/Makefile: Likewise.
8760         * csu/Makefile: Likewise.
8761         * wctype/Makefile: Likewise.
8762         * crypt/Makefile: Likewise.
8763         * libio/Makefile: Likewise.
8764         * string/Makefile: Likewise.
8765         * nis/Makefile: Likewise.
8766         * resolv/Makefile: Likewise.
8767         * stdio-common/Makefile: Likewise.
8768         * wcsmbs/Makefile: Likewise.
8769         * dlfcn/Makefile: Likewise.
8770         * posix/Makefile: Likewise.
8772         [BZ #6959]
8773         * timezone/Makefile: Don't install timezone files, just the programs
8774         and scripts.
8776 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
8778         * nss/databases.def: Add missing gshadow entry.
8780         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
8782 2012-03-06  Marek Polacek  <polacek@redhat.com>
8784         [BZ #13726]
8785         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8786         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8787         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8788         * stdio-common/tst-long-dbl-fphex.c: New file.
8790 2012-03-06  David S. Miller  <davem@davemloft.net>
8792         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8793         (set_obp_int): New function.
8794         (get_obp_int): New function.
8795         (__get_clockfreq_via_dev_openprom): Likewise.
8796         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8797         Avoid unused variable warnings on 'val' and use builtin_expect.
8798         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8799         __builtin_expect.
8800         (INLINE_CLONE_SYSCALL): Likewise.
8802 2012-03-05  David S. Miller  <davem@davemloft.net>
8804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8806 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
8808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8810         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8811         only for |x| >= 40.
8812         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8814 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
8816         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8817         Replace gettimeofday with __vdso_gettimeofday.
8819         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8820         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8821         __vdso_clock_gettime and __vdso_getcpu.
8823         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8824         time with __vdso_time.
8826 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
8828         * manual/lang.texi (size_t): Note types to which size_t may be
8829         equivalent with the GNU C Library, but do not describe when
8830         differences between them are significant.
8832 2012-03-05  Andreas Jaeger  <aj@suse.de>
8834         * sysdeps/i386/fpu/libm-test-ulps: Update.
8836 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
8838         [BZ #3976]
8839         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8840         (__ieee754_pow): Save and restore rounding mode and use
8841         round-to-nearest for main computations.
8842         * math/libm-test.inc (pow_test_tonearest): New function.
8843         (pow_test_towardzero): Likewise.
8844         (pow_test_downward): Likewise.
8845         (pow_test_upward): Likewise.
8846         (main): Call the new functions.
8847         * sysdeps/i386/fpu/libm-test-ulps: Update.
8848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8850         [BZ #3976]
8851         * math/libm-test.inc (cosh_test_tonearest): New function.
8852         (cosh_test_towardzero): Likewise.
8853         (cosh_test_downward): Likewise.
8854         (cosh_test_upward): Likewise.
8855         (sinh_test_tonearest): Likewise.
8856         (sinh_test_towardzero): Likewise.
8857         (sinh_test_downward): Likewise.
8858         (sinh_test_upward): Likewise.
8859         (main): Call the new functions.
8860         * sysdeps/i386/fpu/libm-test-ulps: Update.
8861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8863 2012-03-05  Tom de Vries  <tom@codesourcery.com>
8865         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8866         default stack guard is set in last bytes.
8867         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8869 2012-03-05  Kees Cook  <keescook@chromium.org>
8871         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8873         [BZ #13656]
8874         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8875         possibly allocate from heap instead of stack.
8876         * stdio-common/bug-vfprintf-nargs.c: New file.
8877         * stdio-common/Makefile (tests): Add nargs overflow test.
8879 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
8881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8883 2012-03-03  Marek Polacek  <polacek@redhat.com>
8885         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8886         * math/math_private.h: Likewise.
8887         * stdlib/tst-strtod.c: Likewise.
8888         * sysdeps/i386/i486/bits/atomic.h: Likewise.
8889         * sysdeps/x86_64/bits/atomic.h: Likewise.
8891 2012-03-02  David S. Miller  <davem@davemloft.net>
8893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8897         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8898         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8899         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8900         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8902 2012-03-02  Roland McGrath  <roland@hack.frob.com>
8904         [BZ #13792]
8905         * manual/examples/README: New file, says the example source files
8906         can be used under GPL>=2.
8907         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8908         line containing just "*/".
8909         * manual/examples/add.c: Add copyright header (GPL>=2).
8910         * manual/examples/argp-ex1.c: Likewise.
8911         * manual/examples/argp-ex2.c: Likewise.
8912         * manual/examples/argp-ex3.c: Likewise.
8913         * manual/examples/argp-ex4.c: Likewise.
8914         * manual/examples/atexit.c: Likewise.
8915         * manual/examples/db.c: Likewise.
8916         * manual/examples/dir.c: Likewise.
8917         * manual/examples/dir2.c: Likewise.
8918         * manual/examples/execinfo.c: Likewise.
8919         * manual/examples/filecli.c: Likewise.
8920         * manual/examples/filesrv.c: Likewise.
8921         * manual/examples/fmtmsgexpl.c: Likewise.
8922         * manual/examples/genpass.c: Likewise.
8923         * manual/examples/inetcli.c: Likewise.
8924         * manual/examples/inetsrv.c: Likewise.
8925         * manual/examples/isockad.c: Likewise.
8926         * manual/examples/longopt.c: Likewise.
8927         * manual/examples/memopen.c: Likewise.
8928         * manual/examples/memstrm.c: Likewise.
8929         * manual/examples/mkfsock.c: Likewise.
8930         * manual/examples/mkisock.c: Likewise.
8931         * manual/examples/mygetpass.c: Likewise.
8932         * manual/examples/pipe.c: Likewise.
8933         * manual/examples/popen.c: Likewise.
8934         * manual/examples/rprintf.c: Likewise.
8935         * manual/examples/search.c: Likewise.
8936         * manual/examples/select.c: Likewise.
8937         * manual/examples/setjmp.c: Likewise.
8938         * manual/examples/sigh1.c: Likewise.
8939         * manual/examples/sigusr.c: Likewise.
8940         * manual/examples/stpcpy.c: Likewise.
8941         * manual/examples/strdupa.c: Likewise.
8942         * manual/examples/strftim.c: Likewise.
8943         * manual/examples/strncat.c: Likewise.
8944         * manual/examples/subopt.c: Likewise.
8945         * manual/examples/swapcontext.c: Likewise.
8946         * manual/examples/termios.c: Likewise.
8947         * manual/examples/testopt.c: Likewise.
8948         * manual/examples/testpass.c: Likewise.
8949         * manual/examples/timeval_subtract.c: Likewise.
8951         [BZ #13792]
8952         * manual/time.texi (Elapsed Time): Move timeval_subtract example
8953         function to ...
8954         * manual/timeval_subtract.c.texi: ... here, new file.
8956 2012-03-02  David S. Miller  <davem@davemloft.net>
8958         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8960 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
8962         [BZ #3976]
8963         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8964         (__sin): Save and restore rounding mode and use round-to-nearest
8965         for all computations.
8966         (__cos): Save and restore rounding mode and use round-to-nearest
8967         for all computations.
8968         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8969         <fenv.h>.
8970         (tan): Save and restore rounding mode and use round-to-nearest for
8971         all computations.
8972         * math/libm-test.inc (cos_test_tonearest): New function.
8973         (cos_test_towardzero): Likewise.
8974         (cos_test_downward): Likewise.
8975         (cos_test_upward): Likewise.
8976         (sin_test_tonearest): Likewise.
8977         (sin_test_towardzero): Likewise.
8978         (sin_test_downward): Likewise.
8979         (sin_test_upward): Likewise.
8980         (tan_test_tonearest): Likewise.
8981         (tan_test_towardzero): Likewise.
8982         (tan_test_downward): Likewise.
8983         (tan_test_upward): Likewise.
8984         (main): Call the new functions.
8985         * sysdeps/i386/fpu/libm-test-ulps: Update.
8986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8988         [BZ #10135]
8989         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8990         small n, then large n, before computing and testing k+n.
8991         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8992         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8993         Likewise.
8994         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8995         Likewise.
8996         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8997         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8998         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8999         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9000         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9001         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9002         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9003         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9004         * math/libm-test.inc (scalbn_test): Add more tests.
9005         (scalbln_test): Likewise.
9007         * manual/filesys.texi (mode_t): Describe constraints on size and
9008         signedness, not exact equivalence to a particular type.
9009         (ino_t): Likewise.
9010         (ino64_t): Likewise.
9011         (dev_t): Likewise.
9012         (nlink_t): Likewise.
9013         (blkcnt_t): Likewise.
9014         (blkcnt64_t): Likewise.
9015         * manual/llio.texi (off_t): Likewise.
9017         [BZ #3976]
9018         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9019         (__ieee754_exp): Save and restore rounding mode and use
9020         round-to-nearest for all computations.
9021         * math/libm-test.inc (exp_test_tonearest): New function.
9022         (exp_test_towardzero): Likewise.
9023         (exp_test_downward): Likewise.
9024         (exp_test_upward): Likewise.
9025         (main): Call the new functions.
9026         * sysdeps/i386/fpu/libm-test-ulps: Update.
9027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9029 2012-03-01  Chris Demetriou  <cgd@google.com>
9031         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9032         have predictable order.
9034 2012-03-01  David S. Miller  <davem@davemloft.net>
9036         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9038         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9039         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9040         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9041         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9043         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9044         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9045         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9047         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9048         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9049         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9050         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9051         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9055         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9056         * sysdeps/sparc/fpu/libm-test-ulps: to here.
9057         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9059         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9060         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9061         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9062         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9063         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9064         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9065         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9066         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9067         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9068         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9069         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9070         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9071         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9072         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9073         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9074         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9075         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9076         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9077         * sysdeps/sparc/elf/configure: Regenerated.
9079 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
9081         * configure.in (AS, LD): Require binutils 2.20 or later.
9082         * configure: Regenerated.
9083         * manual/install.texi (Tools for Compilation): Give binutils 2.20
9084         as required minimum version.
9085         * INSTALL: Regenerated.
9087         [BZ #2541]
9088         [BZ #4108]
9089         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9090         before squaring exponent.
9091         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9092         bottom long double and 27 bits of top long double before squaring
9093         exponent.
9094         * math/libm-test.inc (erfc_test): Add more tests.
9095         * sysdeps/i386/fpu/libm-test-ulps: Update.
9096         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9099 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9101         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9102         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9103         containing bit-fields.
9104         * soft-fp/extended.h (_FP_UNION_E): Likewise.
9105         * soft-fp/single.h (_FP_UNION_S): Likewise.
9106         * soft-fp/double.h (_FP_UNION_D): Likewise.
9108 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
9110         [BZ #13786]
9111         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9112         not include ../strcmp.S.
9113         [USE_AS_STRNCASECMP_L]: Likewise.
9114         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9115         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9116         * sysdeps/i386/i686/multiarch/strncase_l-c.c
9117         (__strncasecmp_l_ia32): Define as alias to
9118         __strncasecmp_l_nonascii.
9120         [BZ #5794]
9121         * math/libm-test.inc (expm1_test): Add test for bug 5794.
9122         * sysdeps/i386/fpu/libm-test-ulps: Update.
9123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9125         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9128 2012-02-29  Jeff Law  <law@redhat.com>
9130         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9131         out of bounds read.
9133 2012-02-29  Marek Polacek  <polacek@redhat.com>
9135         [BZ #13706]
9136         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9137         * elf/Makefile: Add rules to run tst-unused-dep.out.
9139 2012-02-28  David S. Miller  <davem@davemloft.net>
9141         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9142         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9143         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9144         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9145         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9146         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9148 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
9150         * math/libm-test.inc (llround_test): Move one test from
9151         lround_test.  Use TEST_f_L in moved test.
9152         (lround_test): Move misplaced test to llround_test.  Add testcase
9153         from bug 2561.
9155 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
9157         * sysdeps/x86_64/fpu/e_expf.S: New file.
9158         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9160 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
9162         [BZ #13637]
9163         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9164         of remain_len that may cause incomplete multi-byte character and
9165         false match.
9166         * posix/bug-regex33.c: New file.
9167         * posix/Makefile (tests): Add bug-regex33.
9169 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
9171         * manual/macros.texi: New file.
9172         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9173         * manual/libc.texinfo: Include macros.texi.
9174         * manual/creatute.texi: Likewise.
9175         * manual/install.texi: Likewise.
9176         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9177         @glibcadj{} in references to the GNU C Library.
9178         * manual/charset.texi: Likewise.
9179         * manual/conf.texi: Likewise.
9180         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
9181         when not using those macros.
9182         * manual/creature.texi: Likewise.
9183         * manual/crypt.texi: Likewise.
9184         * manual/errno.texi: Likewise.
9185         * manual/filesys.texi: Likewise.
9186         * manual/header.texi: Likewise.
9187         * manual/install.texi: Likewise.
9188         * manual/intro.texi: Likewise.
9189         * manual/io.texi: Likewise.
9190         * manual/job.texi: Likewise.
9191         * manual/lang.texi: Likewise.
9192         * manual/libc.texiinfo: Likewise.
9193         * manual/llio.texi: Likewise.
9194         * manual/locale.texi: Likewise.
9195         * manual/maint.texi: Likewise.
9196         * manual/math.texi: Likewise.
9197         * manual/memory.texi: Likewise.
9198         * manual/message.texi: Likewise.
9199         * manual/nss.texi: Likewise.
9200         * manual/pattern.texi: Likewise.
9201         * manual/process.texi: Likewise.
9202         * manual/resource.texi: Likewise.
9203         * manual/search.texi: Likewise.
9204         * manual/setjmp.texi: Likewise.
9205         * manual/signal.texi: Likewise.
9206         * manual/socket.texi: Likewise.
9207         * manual/startup.texi: Likewise.
9208         * manual/stdio.texi: Likewise.
9209         * manual/string.texi: Likewise.
9210         * manual/sysinfo.texi: Likewise.
9211         * manual/syslog.texi: Likewise.
9212         * manual/terminal.texi: Likewise.
9213         * manual/time.texi: Likewise.
9214         * manual/users.texi: Likewise.
9215         * INSTALL: Regenerated.
9216         * NOTES: Regenerated.
9217         * sysdeps/gnu/errlist.c: Regenerated.
9219 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
9221         * include/dirent.h: Include <dirstream.h> before
9222         <dirent/dirent.h>.
9224 2012-02-28  David S. Miller  <davem@davemloft.net>
9226         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9227         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9228         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9229         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9231 2012-02-27  David S. Miller  <davem@davemloft.net>
9233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9235         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9236         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9239         frame pointer instead of stack pointer relative arg slot.
9240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9241         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9242         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9244 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
9246         [BZ #3992]
9247         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9249 2012-02-27  David S. Miller  <davem@davemloft.net>
9251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9255         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9256         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9257         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9258         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9260 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
9262         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9263         later.  Allow versions 5-9.
9264         * configure: Regenerated.
9265         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9266         required minimum version and 4.6 as recommended version.  Do not
9267         mention bugs in GCC 2.7 and 2.8.
9268         * INSTALL: Regenerated.
9270 2012-02-27  David S. Miller  <davem@davemloft.net>
9272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9276         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9277         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9278         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9279         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9281         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9282         manipulate bits before adding and subtracting TWO112[sx].
9283         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9285 2012-02-27  Roland McGrath  <roland@hack.frob.com>
9287         [BZ #13775]
9288         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9289         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9290         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9291         being in POSIX, because they are in 1003.1-2008.
9293         * rt/tst-aio.c: Include <fcntl.h>.
9294         * rt/tst-aio7.c: Likewise.
9295         * rt/tst-aio64.c: Likewise.
9297         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9299 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
9301         * manual/install.texi (--with-headers): Describe headers as
9302         interface headers, not private headers.
9303         (Specific advice for GNU/Linux systems): Describe use of headers
9304         from "make headers_install", not private headers from older
9305         kernels.
9306         * INSTALL: Regenerated.
9307         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9308         Change to 2.6.19.
9309         * sysdeps/unix/sysv/linux/configure: Regenerated.
9311         * manual/llio.texi (fclean): Remove documentation.
9313         * manual/Makefile (libc-texi-generated): New variable.  Include
9314         version.texi.
9315         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9316         $(libc-texi-generated), not duplicated list of files.
9317         (version.texi, stamp-version): New rules.
9318         (realclean): Remove $(libc-texi-generated), not individual files
9319         from that list.  Do not remove dir-add.texinfo.
9320         * manual/libc.texinfo: Comment out uses of edition numbers and
9321         references to printed manual.  Remove last-updated dates.
9322         (EDITION): Comment out.
9323         (ISBN): Likewise.
9324         (VERSION, UPDATED): Remove.
9325         (version.texi): Include.
9327 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
9329         * sysdeps/posix/spawni.c: Include <signal.h>.
9330         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9331         * sysdeps/pthread/aio_fsync.c: Likewise.
9333 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
9335         * conform/Makefile (tests): Run only when not cross-compiling and
9336         when fast-check is not defined.
9338         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9339         * conform/data/limits.h-data: Fixes for POSIX2008.
9340         * conform/run-conformtest.sh: Run all tests.
9341         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9342         headers.
9343         * include/bits/dlfcn.h: Likewise.
9344         * include/langinfo.h: Likewise.
9345         * include/monetary.h: Likewise.
9346         * include/sys/poll.h: Likewise.
9348         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9349         for __USE_GNU.
9350         * posix/spawn.h: Define __need_sigset_t.
9351         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9352         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9353         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
9354         to get sigevent_t only.
9355         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9356         only for __USE_GNU.
9357         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9358         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9359         process_vm_writev only for __USE_GNU.
9360         * termios/termios.h: Declare tcgetsid also for POSIX2008.
9362         * conform/Makefile: For now ignore errors from run-conformtest.
9363         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
9364         POSIX to avoid namespace pollution.  Don't prepend headers.
9365         * conform/data/aio.h-data: Fixes for POSIX testing.
9366         * conform/data/fcntl.h-data: Likewise.
9367         * conform/data/glob.h-data: Likewise.
9368         * conform/data/grp.h-data: Likewise.
9369         * conform/data/pthread.h-data: Likewise.
9370         * conform/data/pwd.h-data: Likewise.
9371         * conform/data/signal.h-data: Likewise.
9372         * conform/data/spawn.h-data: Likewise.
9373         * conform/data/stdio.h-data: Likewise.
9374         * conform/data/stdlib.h-data: Likewise.
9375         * conform/data/stropts.h-data: Likewise.
9376         * conform/data/sys/mman.h-data: Likewise.
9377         * conform/data/sys/stat.h-data: Likewise.
9378         * conform/data/sys/types.h-data: Likewise.
9379         * conform/data/sys/wait.h-data: Likewise.
9380         * conform/data/time.h-data: Likewise.
9381         * conform/data/unistd.h-data: Likewise.
9382         * conform/data/utime.h-data: Likewise.
9384         * io/sys/stat.h: fchmod was always in POSIX.
9385         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9386         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9387         * rt/aio.h: Define __need_timespec before including <time.h>.
9388         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9389         struct.  Add forward declaration of pthread_attr_t and use it in
9390         sigevent.
9391         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9392         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9393         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9394         always remove CLK_TCK definition.
9396 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
9398         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9400 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
9402         * conform/run-conformtest.sh: New file.
9403         * conform/Makefile: Run run-conformtest for tests.
9404         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
9405         support.
9407         * conform/data/uchar.h-data: New file.
9408         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9409         * conform/data/arpa/inet.h-data: Likewise.
9410         * conform/data/assert.h-data: Likewise.
9411         * conform/data/complex.h-data: Likewise.
9412         * conform/data/cpio.h-data: Likewise.
9413         * conform/data/ctype.h-data: Likewise.
9414         * conform/data/dirent.h-data: Likewise.
9415         * conform/data/dlfcn.h-data: Likewise.
9416         * conform/data/errno.h-data: Likewise.
9417         * conform/data/fcntl.h-data: Likewise.
9418         * conform/data/float.h-data: Likewise.
9419         * conform/data/fmtmsg.h-data: Likewise.
9420         * conform/data/fnmatch.h-data: Likewise.
9421         * conform/data/ftw.h-data: Likewise.
9422         * conform/data/glob.h-data: Likewise.
9423         * conform/data/grp.h-data: Likewise.
9424         * conform/data/iconv.h-data: Likewise.
9425         * conform/data/inttypes.h-data: Likewise.
9426         * conform/data/langinfo.h-data: Likewise.
9427         * conform/data/libgen.h-data: Likewise.
9428         * conform/data/limits.h-data: Likewise.
9429         * conform/data/locale.h-data: Likewise.
9430         * conform/data/math.h-data: Likewise.
9431         * conform/data/monetary.h-data: Likewise.
9432         * conform/data/mqueue.h-data: Likewise.
9433         * conform/data/ndbm.h-data: Likewise.
9434         * conform/data/net/if.h-data: Likewise.
9435         * conform/data/netdb.h-data: Likewise.
9436         * conform/data/netinet/in.h-data: Likewise.
9437         * conform/data/nl_types.h-data: Likewise.
9438         * conform/data/poll.h-data: Likewise.
9439         * conform/data/pthread.h-data: Likewise.
9440         * conform/data/pwd.h-data: Likewise.
9441         * conform/data/regex.h-data: Likewise.
9442         * conform/data/sched.h-data: Likewise.
9443         * conform/data/search.h-data: Likewise.
9444         * conform/data/semaphore.h-data: Likewise.
9445         * conform/data/setjmp.h-data: Likewise.
9446         * conform/data/signal.h-data: Likewise.
9447         * conform/data/spawn.h-data: Likewise.
9448         * conform/data/stdarg.h-data: Likewise.
9449         * conform/data/stdio.h-data: Likewise.
9450         * conform/data/stdlib.h-data: Likewise.
9451         * conform/data/string.h-data: Likewise.
9452         * conform/data/strings.h-data: Likewise.
9453         * conform/data/stropts.h-data: Likewise.
9454         * conform/data/sys/ipc.h-data: Likewise.
9455         * conform/data/sys/mman.h-data: Likewise.
9456         * conform/data/sys/msg.h-data: Likewise.
9457         * conform/data/sys/resource.h-data: Likewise.
9458         * conform/data/sys/select.h-data: Likewise.
9459         * conform/data/sys/sem.h-data: Likewise.
9460         * conform/data/sys/shm.h-data: Likewise.
9461         * conform/data/sys/socket.h-data: Likewise.
9462         * conform/data/sys/stat.h-data: Likewise.
9463         * conform/data/sys/statvfs.h-data: Likewise.
9464         * conform/data/sys/time.h-data: Likewise.
9465         * conform/data/sys/timeb.h-data: Likewise.
9466         * conform/data/sys/times.h-data: Likewise.
9467         * conform/data/sys/types.h-data: Likewise.
9468         * conform/data/sys/uio.h-data: Likewise.
9469         * conform/data/sys/un.h-data: Likewise.
9470         * conform/data/sys/utsname.h-data: Likewise.
9471         * conform/data/sys/wait.h-data: Likewise.
9472         * conform/data/syslog.h-data: Likewise.
9473         * conform/data/tar.h-data: Likewise.
9474         * conform/data/termios.h-data: Likewise.
9475         * conform/data/utime.h-data: Likewise.
9476         * conform/data/utmpx.h-data: Likewise.
9477         * conform/data/varargs.h-data: Likewise.
9478         * conform/data/wchar.h-data: Likewise.
9479         * conform/data/wctype.h-data: Likewise.
9480         * conform/data/wordexp.h-data: Likewise.
9482         * include/stropts.h: New file.
9483         * include/uchar.h: New file.
9484         * include/aio.h: Changes to allow conformtest.pl to use the headers.
9485         * include/assert.h: Likewise.
9486         * include/ctype.h: Likewise.
9487         * include/dirent.h: Likewise.
9488         * include/dlfcn.h: Likewise.
9489         * include/fcntl.h: Likewise.
9490         * include/fnmatch.h: Likewise.
9491         * include/glob.h: Likewise.
9492         * include/grp.h: Likewise.
9493         * include/libio.h: Likewise.
9494         * include/locale.h: Likewise.
9495         * include/math.h: Likewise.
9496         * include/net/if.h: Likewise.
9497         * include/netdb.h: Likewise.
9498         * include/netinet/in.h: Likewise.
9499         * include/pthread.h: Likewise.
9500         * include/pwd.h: Likewise.
9501         * include/regex.h: Likewise.
9502         * include/sched.h: Likewise.
9503         * include/search.h: Likewise.
9504         * include/setjmp.h: Likewise.
9505         * include/signal.h: Likewise.
9506         * include/stdio.h: Likewise.
9507         * include/stdlib.h: Likewise.
9508         * include/string.h: Likewise.
9509         * include/sys/cdefs.h: Likewise.
9510         * include/sys/mman.h: Likewise.
9511         * include/sys/msg.h: Likewise.
9512         * include/sys/resource.h: Likewise.
9513         * include/sys/select.h: Likewise.
9514         * include/sys/socket.h: Likewise.
9515         * include/sys/stat.h: Likewise.
9516         * include/sys/statvfs.h: Likewise.
9517         * include/sys/time.h: Likewise.
9518         * include/sys/times.h: Likewise.
9519         * include/sys/uio.h: Likewise.
9520         * include/sys/utsname.h: Likewise.
9521         * include/sys/wait.h: Likewise.
9522         * include/termios.h: Likewise.
9523         * include/time.h: Likewise.
9524         * include/ulimit.h: Likewise.
9525         * include/unistd.h: Likewise.
9526         * include/utime.h: Likewise.
9527         * include/wchar.h: Likewise.
9528         * include/wctype.h: Likewise.
9529         * include/wordexp.h: Likewise.
9531         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9533         * time/time.h: TIME_UTC must be a macro.
9534         Make timespec_get available for ISO C11 only as well.
9536 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
9538         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9539         Reported by Peng Haitao <penght@cn.fujitsu.com>.
9541 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9543         * configure.in: Use -o not -a in test for unsupported multi-arch.
9545 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9547         * manual/texinfo.tex: Update to version 2012-01-19.16.
9549 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9551         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9553 2012-02-24  Roland McGrath  <roland@hack.frob.com>
9555         [BZ #13738]
9556         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9557         * manual/fdl-1.3.texi: New file.
9558         * manual/fdl-1.1.texi: File removed.
9560         [BZ #13738]
9561         * manual/libc.texinfo (FDL_VERSION): New @set.
9562         Use it for mention of FDL in cover text.
9563         (Documentation License): Use it in @include file name.
9565 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9566             Roland McGrath  <roland@hack.frob.com>
9568         [BZ #5461]
9569         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9570         not LONG_LONG_MAX and LONG_LONG_MIN.
9571         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9572         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
9573         name.
9574         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9576 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9578         [BZ #2547]
9579         [BZ #11365]
9580         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9581         manipulate bits before adding and subtracting TWO23[sx].
9582         * math/libm-test.inc (nearbyint_test): Add more tests.
9584 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9586         [BZ #2548]
9587         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9588         bits before adding and subtracting TWO23[sx].
9589         * math/libm-test.inc (rint_test): Add more tests.
9590         (rint_test_tonearest): Likewise.
9591         (rint_test_towardzero): Likewise.
9592         (rint_test_downward): Likewise.
9593         (rint_test_upward: Likewise.
9595 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9597         [BZ #10110]
9598         * include/stdc-predef.h: New file.  Extracted from features.h.
9599         * include/features.h: Include stdc-predef.h.
9600         * Makefile (headers): Add stdc-predef.h.
9601         * CONFORMANCE (Compiler limitations): Update.
9603 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9605         * manual/libc.texinfo (VERSION, UPDATED): Revert.
9607 2012-02-21  David S. Miller  <davem@davemloft.net>
9609         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9610         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9612 2012-02-20  David S. Miller  <davem@davemloft.net>
9614         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9615         using a normal save/restore sequence, rather than allocating a
9616         dummy stack frame just to store a frame pointer and restore.
9617         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9619 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9621         * manual/install.texi: Fix stray word in line-wrapped comment.
9623 2012-02-20  David S. Miller  <davem@davemloft.net>
9625         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9626         both binutils and gcc support GOTDATA.
9628         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9629         "rd %pc" in the PIC register setup sequences.
9631         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9632         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9633         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9634         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9635         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9636         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9637         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9638         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9639         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9640         (SYSCALL_ERROR_HANDLER): Likewise.
9641         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9642         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9643         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9644         (SYSCALL_ERROR_HANDLER): Likewise.
9646         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9647         (HAVE_GCC_GOTDATA): New.
9648         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9649         relocation support in both binutils and gcc.
9650         * sysdeps/sparc/elf/configure: Regenerate.
9652         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9653         * sysdeps/sparc/sparc32/elf/configure: Delete.
9654         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9655         * sysdeps/sparc/sparc64/elf/configure: Delete.
9656         * sysdeps/sparc/elf/configure.in: New file.
9657         * sysdeps/sparc/elf/configure: Generate.
9659         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9660         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9661         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9662         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9663         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9665 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9667         * manual/install.texi: Do not mention specific glibc version
9668         numbers.
9669         * manual/libc.texinfo (VERSION, UPDATED): Update.
9670         (@copying): Use @copyright{} and range of years.
9672 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9674         [BZ #13695]
9675         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9676         [crti.S not in sysdirs] (generated): Do not append.
9677         [crti.S not in sysdirs] (omit-deps): Likewise.
9678         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9679         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9680         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9681         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9682         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9683         Likewise.
9684         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9685         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9686         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9687         * csu/defs.awk: Remove file.
9688         * sysdeps/generic/initfini.c: Likewise.
9689         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9690         variable.
9691         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9692         Likewise.
9694 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9696         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9697         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9698         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9699         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9700         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9701         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9702         <bits/epoll.h>.
9703         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9704         (__EPOLL_PACKED): Define to empty if not defined by
9705         <bits/epoll.h>.
9706         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9707         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9708         bits/epoll.h.
9710 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9712         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9713         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9714         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9715         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9716         <bits/timerfd.h>.
9717         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9718         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9719         bits/timerfd.h.
9721 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9723         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9724         in C locale.
9725         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9726         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9727         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9730 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
9732         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9733         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9735 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
9737         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9738         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9739         defined.
9740         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9741         Likewise.
9742         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9743         entry for 2.16.
9745 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
9747         * math/w_acos.c: Use non-signaling floating-point comparisons.
9748         * math/w_acosf.c: Likewise.
9749         * math/w_acosh.c: Likewise.
9750         * math/w_acoshf.c: Likewise.
9751         * math/w_acoshl.c: Likewise.
9752         * math/w_acosl.c: Likewise.
9753         * math/w_asin.c: Likewise.
9754         * math/w_asinf.c: Likewise.
9755         * math/w_asinl.c: Likewise.
9756         * math/w_atanh.c: Likewise.
9757         * math/w_atanhf.c: Likewise.
9758         * math/w_atanhl.c: Likewise.
9759         * math/w_exp2.c: Likewise.
9760         * math/w_exp2f.c: Likewise.
9761         * math/w_exp2l.c: Likewise.
9762         * math/w_j0.c: Likewise.
9763         * math/w_j0f.c: Likewise.
9764         * math/w_j0l.c: Likewise.
9765         * math/w_j1.c: Likewise.
9766         * math/w_j1f.c: Likewise.
9767         * math/w_j1l.c: Likewise.
9768         * math/w_jn.c: Likewise.
9769         * math/w_jnf.c: Likewise.
9770         * math/w_log.c: Likewise.
9771         * math/w_log10.c: Likewise.
9772         * math/w_log10f.c: Likewise.
9773         * math/w_log10l.c: Likewise.
9774         * math/w_log2.c: Likewise.
9775         * math/w_log2f.c: Likewise.
9776         * math/w_log2l.c: Likewise.
9777         * math/w_logf.c: Likewise.
9778         * math/w_logl.c: Likewise.
9779         * math/w_sqrt.c: Likewise.
9780         * math/w_sqrtf.c: Likewise.
9781         * math/w_sqrtl.c: Likewise.
9782         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9783         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9784         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9785         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9786         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9788 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
9790         [BZ #9739]
9791         * manual/string.texi (strnlen): Use correct parameter name in
9792         equivalent expression.
9794 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
9796         [BZ #11174]
9797         * manual/users.texi (seteuid): Consistently use neweuid for
9798         argument name.
9800 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
9802         [BZ #13704]
9803         * manual/nss.texi (Services in the NSS configuration): Correct
9804         list of services in example configuration file.
9806 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
9808         [BZ #11322]
9809         * manual/arith.texi: Remove statements about negative zero
9810         behaving identically to zero.
9812 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
9814         [BZ #5993]
9815         * manual/install.texi: Do not document upgrading from libc5.
9817 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
9819         [BZ #4596]
9820         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9822 2012-02-18  David S. Miller  <davem@davemloft.net>
9824         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9825         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9826         %o7 across the call.
9827         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9828         instead.
9829         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9830         SETUP_PIC_REG_LEAF.
9831         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9832         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9833         * sysdeps/sparc/crtn.S: Likewise.
9835 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
9837         * aout/Makefile: Remove.
9839 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
9841         [BZ #13058]
9842         * manual/examples/argp-ex1.c (main): Format definition in GNU
9843         style.
9844         * manual/examples/argp-ex2.c (main): Likewise.
9845         * manual/examples/argp-ex3.c (main): Likewise.
9846         * manual/examples/argp-ex4.c (main): Likewise.
9847         * manual/examples/longopt.c (main): Use new-style prototype
9848         definition.
9849         * manual/examples/strncat.c (main): Specify return type and use
9850         (void) for arguments.
9851         * manual/examples/subopt.c (main): Use char **argv argument.
9853 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9855         [BZ #5077]
9856         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9857         rounding modes.
9859 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
9861         [BZ #6907]
9862         * manual/string.texi (strchr): Change when strchrnul is
9863         recommended.
9865 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
9867         [BZ #174]
9868         * manual/locale.texi (setlocale): Document LOCPATH.
9870 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9872         [BZ #10210]
9873         * manual/process.texi (execle): Move @dots{} before last argument.
9875 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
9877         [BZ #12047]
9878         * manual/charset.texi (Generic Charset Conversion): Fix typo
9879         (LC_TYPE -> LC_CTYPE).
9881 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
9883         [BZ #5805]
9884         * manual/arith.texi (scalbn): Use @var{} on parameter names.
9885         (scalbnf): Likewise.
9886         (scalbnl): Likewise.
9887         (scalbln): Likewise.
9888         (scalblnf): Likewise.
9889         (scalblnl): Likewise.
9890         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9891         (vwarnx): Likewise.
9892         (verr): Likewise.
9893         (verrx): Likewise.
9894         * manual/filesys.texi (telldir): Use braces around return type.
9895         * manual/llio.texi (mmap): Add space after comma.
9896         (mmap64): Likewise.
9897         * manual/math.texi (jn): Use @var{} on parameter names.
9898         (jnf): Likewise.
9899         (jnl): Likewise.
9900         (yn): Likewise.
9901         (ynf): Likewise.
9902         (ynl): Likewise.
9903         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9904         line.
9905         * manual/resource.texi (ulimit): Use @dots{} instead of literal
9906         "...".
9907         (sched_get_priority_min): Remove semicolon on @deftypefun line.
9908         (sched_get_priority_max): Likewise.
9909         * manual/signal.texi (sigvec): Add space after comma.
9910         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9911         names.
9912         (if_indextoname): Likewise.
9913         (if_freenameindex): Likewise.
9914         (sendto): Use ',' instead of '.' in prototype.
9915         * manual/startup.texi (syscall): Use @dots{} instead of literal
9916         "...".
9917         * manual/stdio.texi (__fpending): Separate initial words of
9918         paragraph from @deftypefun line.
9919         * manual/syslog.texi (syslog): Use @dots{} instead of literal
9920         "...".
9921         (vsyslog): Use @var{} on parameter names.
9922         * manual/terminal.texi (stty): Use @var{} on parameter names.
9923         * manual/users.texi (getutmp): Use @var{} on parameter names.
9924         (getutmpx): Likewise.
9926 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9928         [BZ #6884]
9929         * manual/stdio.texi (fopen): Fix typos in description of
9930         ",ccs=STRING".
9932 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
9934         [BZ #4026]
9935         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9936         get clock_id definition.
9938 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
9940         [BZ #4822]
9941         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9942         (madvise): Cast every argument to void on its own.
9944 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9946         [BZ #9902]
9947         * manual/startup.texi (Exit Status): Fix typo.
9949 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9951         [BZ #10140]
9952         * manual/examples/argp-ex1.c: Include <stdlib.h>.
9953         * manual/examples/argp-ex2.c: Likewise.
9954         * manual/examples/argp-ex3.c: Likewise.
9956 2012-02-16  Richard Henderson  <rth@redhat.com>
9958         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9959         * sysdeps/s390/s390-32/initfini.c: Remove.
9960         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9961         * sysdeps/s390/s390-64/initfini.c: Remove.
9963 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9965         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9966         compiler output for sysdeps/generic/initfini.c.
9967         * sysdeps/sh/elf/initfini.c: Remove file.
9969 2012-02-16  David S. Miller  <davem@davemloft.net>
9971         [BZ #11494]
9972         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9974         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9975         * sysdeps/sparc/crti.S: New file.
9976         * sysdeps/sparc/crtn.S: New file.
9977         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9978         * sysdeps/sparc/sparc64/Makefile: Likewise.
9980 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
9982         [BZ #3335]
9983         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9985 2012-02-15  Roland McGrath  <roland@hack.frob.com>
9987         [BZ #4822]
9988         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9990         * mach/devstream.c (cookie_io_functions_t): Macro removed.
9991         (write, read, close): Likewise.
9992         Patch by Aurelien Jarno <aurelien@aurel32.net>.
9994 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
9996         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9997         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9998         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9999         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10000         <bits/signalfd.h>.
10001         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10002         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10003         bits/signalfd.h.
10005 2012-02-14  Marek Polacek  <polacek@redhat.com>
10007         * sysdeps/x86_64/crti.S: New file.
10008         * sysdeps/x86_64/crtn.S: New file.
10009         * sysdeps/x86_64/elf/initfini.c: Remove file.
10011 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
10013         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10014         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10015         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10016         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10017         <bits/inotify.h>.
10018         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10019         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10020         bits/inotify.h.
10022 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
10024         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10025         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10026         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10027         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10028         <bits/eventfd.h>.
10029         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10030         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10031         bits/eventfd.h.
10033 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
10035         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10036         __feraiseexcept instead of feraiseexcept.
10038         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10039         nanosleep invocations.
10040         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10041         strings, and add error checking for a nanosleep invocations.
10043 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
10045         Replace FSF snail mail address with URLs, as per GNU coding standards.
10046         Most of the snail mail addresses were wrong anyway, and omitting
10047         them makes the source code easier to maintain.  Almost all of the
10048         changes are to license notices and to locale LC_IDENTIFICATION
10049         addresses, except for this one:
10050         * manual/libc.texinfo: In "Published by", give the FSF's URL,
10051         not its snail mail address.
10053 2012-02-09  Richard Henderson  <rth@twiddle.net>
10055         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10056         of kernel-features.h.
10058         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10060 2012-02-08  Marek Polacek  <polacek@redhat.com>
10062         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10063         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10064         * sysdeps/gnu/_G_config.h: Likewise.
10065         * sysdeps/generic/_G_config.h: Likewise.
10067 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
10069         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10070         tests.
10071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10073         * sysdeps/powerpc/powerpc32/crti.S: New file.
10074         * sysdeps/powerpc/powerpc32/crtn.S: New file.
10075         * sysdeps/powerpc/powerpc64/crti.S: New file.
10076         * sysdeps/powerpc/powerpc64/crtn.S: New file.
10078         * Makeconfig (have-initfini): Don't set.
10079         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10080         * configure.in (nopic_initfini): Don't substitute.
10081         * config.h.in (HAVE_INITFINI): Don't #undef.
10082         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10083         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10085 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
10087         Support crti.S and crtn.S provided directly by architectures.
10088         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10089         [crti.S in sysdirs] (omit-deps): Likewise.
10090         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10091         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10092         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10093         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10094         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10095         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10096         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10097         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10098         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10099         compiler output for sysdeps/generic/initfini.c.
10100         * sysdeps/i386/elf/Makefile: Remove file.
10101         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10103 2012-02-07  Marek Polacek  <polacek@redhat.com>
10105         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10106         * sysdeps/gnu/_G_config.h: Likewise.
10107         * sysdeps/mach/hurd/_G_config.h: Likewise.
10109 2012-02-07  Marek Polacek  <polacek@redhat.com>
10111         * math/Makefile (tests): Add tst-CMPLX2.
10112         * math/tst-CMPLX2.c: New file.
10114 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
10116         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10118         * math/libm-test.inc (jn_test): Add missing L suffix.
10120 2012-02-06  Marek Polacek  <polacek@redhat.com>
10122         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10123         * sysdeps/i386/fpu/e_powf.S: Likewise.
10124         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10125         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10126         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10127         * sysdeps/i386/fpu/e_pow.S: Likewise.
10128         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10129         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10130         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10131         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10132         * sysdeps/i386/fpu/e_log2.S: Likewise.
10133         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10134         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10135         * sysdeps/i386/fpu/e_powl.S: Likewise.
10136         * sysdeps/i386/fpu/s_log1p.S: Likewise.
10137         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10138         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10139         * sysdeps/i386/fpu/e_logl.S: Likewise.
10140         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10141         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10142         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10143         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10144         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10145         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10146         * sysdeps/i386/fpu/e_log.S: Likewise.
10147         * sysdeps/i386/fpu/s_cexp.S: Likewise.
10148         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10149         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10150         * sysdeps/i386/fpu/e_logf.S: Likewise.
10151         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10152         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10153         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10154         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10155         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10156         * sysdeps/i386/fpu/e_log10.S: Likewise.
10157         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10158         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10159         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10160         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10161         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10162         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10163         * sysdeps/i386/asm-syntax.h: Likewise.
10164         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10165         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10166         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10167         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10168         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10169         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10170         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10171         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10172         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10173         * sysdeps/powerpc/sysdep.h: Likewise.
10174         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10175         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10177 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
10179         [BZ #411]
10180         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10182 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
10184         * sysdeps/i386/sysdep.h: Include <features.h>.
10185         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10186         version.
10188 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
10190         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10191         Define.
10192         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10193         LOAD_PIC_REG_STR.
10195 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
10197         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10198         (SETUP_PIC_REG): Use GET_PC_THUNK.
10199         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10200         macro.
10202 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
10204         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10205         for non-PIC compilation.
10206         (SETUP_PIC_REG): Add .p2align directive.
10207         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10208         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10209         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10210         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10211         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10212         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10213         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10214         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10215         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10216         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10217         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10218         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10219         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10220         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10221         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10222         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10223         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10224         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10225         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10226         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10227         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10228         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10229         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10230         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10231         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10232         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10233         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10234         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10235         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10236         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10237         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10238         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10239         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10240         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10241         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10242         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10243         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10244         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10245         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10246         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10247         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10249 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
10251         * math/tst-CMPLX.c: Include <stdio.h>.
10253 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
10255         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10256         float.
10257         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10258         * sysdeps/sparc/bits/mathdef.h: Likewise.
10260 2012-01-31  Marek Polacek  <polacek@redhat.com>
10262         * libio/libio.h: Don't define _PARAMS.
10263         * locale/programs/config.h: Don't define PARAMS.
10264         * stdlib/strtol_l.c: Likewise.
10265         (__strtol_l): Remove PARAMS from the prototype.
10267 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
10269         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
10270         names.  Just use the correct names.  Remove unnecessary wrapper
10271         functions.
10272         * malloc/arena.c: Likewise.
10273         * malloc/hooks.c: Likewise.
10275         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10276         ARENA_TEST says not to.  Simplify test for creation of a new arena.
10277         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10279 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
10281         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10282         into tail calls.
10283         (update_get_addr): New function.
10284         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10285         GET_ADDR_MODULE parameter.
10287 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
10289         * crypt/cert.c: Remove __STDC__ conditionals.
10290         * crypt/crypt-entry.c: Likewise.
10291         * crypt/crypt_util.c: Likewise.
10292         * libio/filedoalloc.c: Likewise.
10293         * libio/fileops.c: Likewise.
10294         * libio/genops.c: Likewise.
10295         * libio/iofclose.c: Likewise.
10296         * libio/iofdopen.c: Likewise.
10297         * libio/iofopen.c: Likewise.
10298         * libio/iofopen64.c: Likewise.
10299         * libio/iogetdelim.c: Likewise.
10300         * libio/iopopen.c: Likewise.
10301         * libio/obprintf.c: Likewise.
10302         * libio/oldfileops.c: Likewise.
10303         * libio/oldiofclose.c: Likewise.
10304         * libio/oldiofdopen.c: Likewise.
10305         * libio/oldiofopen.c: Likewise.
10306         * libio/oldiopopen.c: Likewise.
10307         * libio/wfiledoalloc.c: Likewise.
10308         * libio/wgenops.c: Likewise.
10309         * locale/programs/xmalloc.c: Likewise.
10310         * misc/syslog.c: Likewise.
10311         * stdio-common/xbug.c: Likewise.
10312         * string/memchr.c: Likewise.
10313         * string/memcmp.c: Likewise.
10314         * string/memrchr.c: Likewise.
10315         * string/rawmemchr.c: Likewise.
10316         * sysdeps/posix/getcwd.c: Likewise.
10317         * time/strftime_l.c: Likewise.
10319 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
10321         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10322         * config.make.in (config-cflags-sse2avx): Define.
10323         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10324         Fix typo.
10326 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
10328         * scripts/config.guess: Update from upstream config git repository.
10329         * scripts/config.sub: Likewise.
10331 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
10333         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10334         (EM_NUM): Update.
10335         (R_TILEPRO_*, R_TILEGX_*): New macros.
10337         * scripts/firstversions.awk: Fix bug in version range handling.
10339         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10341         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10343         * include/sys/epoll.h: New file.
10344         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10345         libc_hidden_def.
10347 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
10349         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10350         Avoid unnecessary __WORDSIZE == 64 test.
10351         (fmaxf): Use VEX format if possible.
10352         (fmax): Likewise.
10353         (fminf): Likewise.
10354         (fmin): Likewise.
10356         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10357         * math/math_private.h: Remove libc_fegetround* and
10358         libc_fesetround*.
10359         * sysdeps/i386/configure.in: Check for -msse2avx.
10360         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10361         also if SSE2AVX is defined.
10362         Remove libc_fegetround* and libc_fesetround*.
10363         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10364         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
10365         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10366         of HAS_YMM_USABLE.
10367         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10368         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10369         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10370         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10371         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10373         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10375 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10377         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10378         size is not set.
10379         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10381 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
10383         [BZ #13618]
10384         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10385         relocation.
10386         * Makeconfig (libm): Define.
10387         * elf/Makefile: Add rules to build and run tst-relsort1.
10388         * elf/tst-relsort1.c: New file.
10389         * elf/tst-relsort1mod1.c: New file.
10390         * elf/tst-relsort1mod2.c: New file.
10392 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
10394         * math/s_ldexp.c: Remove __STDC__ conditionals.
10395         * math/s_ldexpf.c: Likewise.
10396         * math/s_ldexpl.c: Likewise.
10397         * math/s_nextafter.c: Likewise.
10398         * math/s_nexttowardf.c: Likewise.
10399         * math/s_significand.c: Likewise.
10400         * math/s_significandf.c: Likewise.
10401         * math/s_significandl.c: Likewise.
10402         * math/w_jnl.c: Likewise.
10403         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10404         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10405         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10406         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10407         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10408         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10409         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10410         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10411         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10412         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10413         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10414         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10415         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10416         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10417         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10418         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10419         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10420         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10421         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10422         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10423         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10424         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10425         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10426         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10427         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10428         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10429         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10430         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10431         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10432         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10433         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10434         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10435         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10436         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10437         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10438         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10439         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10440         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10441         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10442         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10443         * sysdeps/ieee754/k_standard.c: Likewise.
10444         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10445         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10446         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10447         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10448         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10449         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10450         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10451         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10452         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10453         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10454         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10455         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10456         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10457         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10458         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10459         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10460         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10461         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10462         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10463         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10464         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10465         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10466         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10467         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10468         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10469         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10470         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10471         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10472         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10473         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10474         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10475         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10476         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10477         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10478         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10479         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10480         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10481         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10482         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10483         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10484         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10485         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10486         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10487         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10488         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10489         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10490         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10491         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10492         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10493         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10494         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10495         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10496         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10497         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10498         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10499         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10500         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10501         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10502         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10503         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10504         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10505         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10506         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10507         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10508         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10509         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10510         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10511         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10512         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10513         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10514         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10515         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10516         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10517         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10518         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10519         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10520         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10521         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10522         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10523         * sysdeps/ieee754/s_matherr.c: Likewise.
10524         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10525         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10526         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10527         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10529 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
10531         * crypt/md5.h: Remove __STDC__ conditionals.
10532         * libio/libioP.h: Likewise.
10533         * locale/programs/config.h: Likewise.
10534         * sysdeps/generic/sysdep.h: Likewise.
10535         * sysdeps/i386/asm-syntax.h: Likewise.
10536         * sysdeps/s390/asm-syntax.h: Likewise.
10537         * sysdeps/unix/sysdep.h: Likewise.
10538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10541 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
10543         * libio/libio.h: Remove __STDC__ conditionals.
10544         * malloc/obstack.h: Likewise.
10545         * math/complex.h: Likewise.
10546         * math/math.h: Likewise.
10547         * sysdeps/generic/_G_config.h: Likewise.
10548         * sysdeps/gnu/_G_config.h: Likewise.
10549         * sysdeps/mach/hurd/_G_config.h: Likewise.
10550         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10551         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10552         * sysdeps/sparc/bits/mathdef.h: Likewise.
10554 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
10556         [BZ #13583]
10557         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10558         Clean up HAS_* macros.
10559         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10560         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10561         possible.
10562         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10563         HAS_AVX.
10564         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10565         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10566         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10567         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10568         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10570 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
10572         * elf/tst-unique3.cc (gets): Remove declaration.
10573         * elf/tst-unique3lib.cc (gets): Likewise.
10574         * elf/tst-unique3lib2.cc (gets): Likewise.
10575         * elf/tst-unique4.cc (gets): Likewise.
10577 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
10579         * include/stdio.h: Add C++ protection.  Add gets declarations and
10580         definitions.
10581         * debug/tst-chk1.c: Don't declare gets here.
10582         * stdio-common/tst-gets.c: Likewise.
10584 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
10586         * posix/glob: Remove directory.
10588 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
10590         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10592 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
10594         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10595         of the non-standard EPFNOSUPPORT.
10597 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10599         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10600         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10601         ANYWHERE set to 1 only on KERN_NO_SPACE error.
10603 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
10605         * wcsmbs/uchar.h: Test __STDC_VERSION__.
10607 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
10609         * nscd/aicache.c (addhstaiX): Do not cache negative results of
10610         transient errors.
10611         * nscd/grpcache.c (cache_addgr): Likewise.
10612         * nscd/hstcache.c (cache_addhst): Likewise.
10613         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10614         * nscd/pwdcache.c (cache_addpw): Likewise.
10615         * nscd/servicescache.c (cache_addserv): Likewise.
10617 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
10619         * malloc/malloc.c: Various cleanups.
10620         * malloc/hooks.c: Likewise.
10622         * stdlib/Makefile (tests): Add bug-fmtmsg1.
10623         * stdlib/bug-fmtmsg1.c: New file.
10625         * stdlib/fmtmsg.c (init): Add missing unlock.
10626         Patch by Peng Haitao <penght@cn.fujitsu.com>.
10628 2012-01-12  Marek Polacek  <polacek@redhat.com>
10630         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10631         and _GNU_SOURCE.
10633 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
10635         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10636         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10637         macro to ensure uniqueness of label name.
10638         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10639         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10641 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
10643         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10645         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10646         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10647         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10648         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10650 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
10652         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10654         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10655         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10656         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10658         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10660         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10661         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10662         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10663         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10665         * math/bits/math-finite.h: Add ldexp support.
10667 2012-01-10  Marek Polacek  <polacek@redhat.com>
10669         * locale/programs/localedef.h (show_archive_content): Add noreturn
10670         attribute.
10672 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
10674         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10676 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10678         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10680         * io/Makefile (headers): Add bits/poll2.h.
10682 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
10684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10685         typo #include statement.
10687 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10689         * include/sys/cdefs.h: Define __attribute_alloc_size.
10690         * catgets/gencat.c: Add alloc_size attribute and apply consistently
10691         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10692         * elf/pldd.c: Likewise.
10693         * iconv/iconv_charmap.c: Likewise.
10694         * iconv/iconvconfig.c: Likewise.
10695         * iconv/strtab.c: Likewise.
10696         * locale/programs/locale.c: Likewise.
10697         * locale/programs/localedef.h: Likewise.
10698         * locale/programs/simple-hash.c: Likewise.
10699         * nscd/nscd.h: Likewise.
10700         * nss/makedb.c: Likewise.
10701         * sysdeps/generic/ldconfig.h: Likewise.
10702         * locale/programs/localedef.c: Remove xmalloc prototype.
10703         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10705 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10707         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10708         appropriate.
10710 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10712         * math/Makefile (tests): Add tst-CMPLX.
10713         * math/tst-CMPLX.c: New file.
10715         * math/complex.h (CMPLXL): Fix typo.
10717         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10718         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10719         GLIBC_2.16.
10720         * debug/tst-chk1.c: Add poll and ppoll tests.
10721         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10722         * include/sys/poll.h: Add hidden proto for ppoll.
10723         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10724         * sysdeps/mach/hurd/ppoll.c: Likewise.
10725         * io/ppoll.c: Likewise.
10726         * debug/poll_chk.c: New file.
10727         * debug/ppoll_chk.c: New file.
10728         * include/bits/poll2.h: New file.
10729         * io/bits/poll2.h: New file.
10731         [BZ #1350]
10732         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10734         * configure.in: static is always set to yes.  Remove.
10735         * config.make.in: Don't set build-static.
10736         * Makeconfig: Remove use of build-static.
10737         * dlfcn/Makefile: Likewise.
10738         * elf/Makefile: Likewise.
10739         * math/Makefile: Likewise.
10740         * misc/Makefile: Likewise.
10741         * nptl/Makefile: Likewise.
10742         * sysdeps/mach/hurd/Makefile: Likewise.
10744         * configure.in: PWD_P is not used anymore.
10745         * config.make.in: Remove PWD_P entry.
10747         * configure.in: Remove last remnants of RANLIB.
10748         No need to check for signed size_t anymore.
10749         Don't set libc_commonpagesize and libc_relro_required here for Alpha
10750         and IA-64.
10751         Remove __builtin_expect test because we require at least gcc 3.4.
10752         * aclocal.m4: Likewise.
10754         * wcsmbs/mbrtoc16.c: Implement using towc function.
10755         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10756         * wcsmbs/wcsmbsload.c: Likewise.
10757         * iconv/gconv_simple.c: Likewise.
10758         * iconv/gconv_int.h: Likewise.
10759         * iconv/gconv_builtin.h: Likewise.
10760         * iconv/iconv_prog.c: Remove CHAR16 handling.
10762         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10764         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10766         * configure.in: Remove --with-elf and --enable-bounded options.
10767         Dont set base_machine for ia64.  More non-ELF conditions removed.
10768         Remove testing and setting of leading underscore information.
10769         * config.make.in (build-bounded): Set to no.
10770         * config.h.in: Remove NO_UNDERSCORES entry.
10771         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
10772         them.
10773         * csu/start.c: Remove !NO_UNDERSCORE code.
10774         * locale/localeinfo.h: Likewise.
10775         * sysdeps/generic/machine-gmon.h: Likewise.
10776         * sysdeps/generic/sysdep.h: Likewise.
10777         * sysdeps/i386/sysdep.h: Likewise.
10778         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10779         * sysdeps/mach/sysdep.h: Likewise.
10780         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10781         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10782         * sysdeps/sh/sysdep.h: Likewise.
10783         * sysdeps/sparc/sparc32/alloca.S: Likewise.
10784         * sysdeps/unix/i386/sysdep.S: Likewise.
10785         * sysdeps/unix/sparc/start.c: Likewise.
10786         * sysdeps/unix/sparc/sysdep.S: Likewise.
10787         * sysdeps/unix/sparc/sysdep.h: Likewise.
10788         * sysdeps/unix/start.c: Likewise.
10789         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10790         * sysdeps/x86_64/sysdep.h: Likewise.
10792 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
10794         [BZ #13553]
10795         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10796         for non-gcc.
10797         * argp/argp-fmtstream.h: Use const instead __const.
10798         * argp/argp.h: Likewise.
10799         * assert/assert.h: Likewise.
10800         * bits/fenv.h: Likewise.
10801         * bits/sched.h: Likewise.
10802         * bits/sigset.h: Likewise.
10803         * bits/sigthread.h: Likewise.
10804         * catgets/nl_types.h: Likewise.
10805         * conform/data/pthread.h-data: Likewise.
10806         * crypt/crypt-private.h: Likewise.
10807         * crypt/crypt.h: Likewise.
10808         * crypt/crypt_util.c: Likewise.
10809         * ctype/ctype.h: Likewise.
10810         * debug/execinfo.h: Likewise.
10811         * debug/mbsnrtowcs_chk.c: Likewise.
10812         * debug/mbsrtowcs_chk.c: Likewise.
10813         * debug/wcsnrtombs_chk.c: Likewise.
10814         * debug/wcsrtombs_chk.c: Likewise.
10815         * debug/wcstombs_chk.c: Likewise.
10816         * dirent/dirent.h: Likewise.
10817         * dlfcn/dlfcn.h: Likewise.
10818         * elf/neededtest4.c: Likewise.
10819         * grp/grp.h: Likewise.
10820         * gshadow/gshadow.h: Likewise.
10821         * iconv/gconv.h: Likewise.
10822         * iconv/gconv_int.h: Likewise.
10823         * iconv/gconv_simple.c: Likewise.
10824         * iconv/iconv.h: Likewise.
10825         * iconv/loop.c: Likewise.
10826         * iconv/skeleton.c: Likewise.
10827         * include/aio.h: Likewise.
10828         * include/aliases.h: Likewise.
10829         * include/argz.h: Likewise.
10830         * include/arpa/inet.h: Likewise.
10831         * include/assert.h: Likewise.
10832         * include/dirent.h: Likewise.
10833         * include/dlfcn.h: Likewise.
10834         * include/execinfo.h: Likewise.
10835         * include/fcntl.h: Likewise.
10836         * include/fenv.h: Likewise.
10837         * include/glob.h: Likewise.
10838         * include/grp.h: Likewise.
10839         * include/libintl.h: Likewise.
10840         * include/mntent.h: Likewise.
10841         * include/netdb.h: Likewise.
10842         * include/pwd.h: Likewise.
10843         * include/rpc/netdb.h: Likewise.
10844         * include/sched.h: Likewise.
10845         * include/search.h: Likewise.
10846         * include/shadow.h: Likewise.
10847         * include/signal.h: Likewise.
10848         * include/stdio.h: Likewise.
10849         * include/stdlib.h: Likewise.
10850         * include/string.h: Likewise.
10851         * include/sys/socket.h: Likewise.
10852         * include/sys/stat.h: Likewise.
10853         * include/sys/statfs.h: Likewise.
10854         * include/sys/statvfs.h: Likewise.
10855         * include/sys/syslog.h: Likewise.
10856         * include/sys/time.h: Likewise.
10857         * include/sys/uio.h: Likewise.
10858         * include/time.h: Likewise.
10859         * include/unistd.h: Likewise.
10860         * include/utmp.h: Likewise.
10861         * include/wchar.h: Likewise.
10862         * include/wctype.h: Likewise.
10863         * inet/aliases.h: Likewise.
10864         * inet/arpa/inet.h: Likewise.
10865         * inet/netinet/ether.h: Likewise.
10866         * inet/netinet/in.h: Likewise.
10867         * intl/libintl.h: Likewise.
10868         * io/bits/fcntl2.h: Likewise.
10869         * io/fcntl.h: Likewise.
10870         * io/ftw.h: Likewise.
10871         * io/sys/poll.h: Likewise.
10872         * io/sys/stat.h: Likewise.
10873         * io/sys/statfs.h: Likewise.
10874         * io/sys/statvfs.h: Likewise.
10875         * io/utime.h: Likewise.
10876         * libio/bits/stdio.h: Likewise.
10877         * libio/bits/stdio2.h: Likewise.
10878         * libio/libio.h: Likewise.
10879         * libio/libioP.h: Likewise.
10880         * libio/stdio.h: Likewise.
10881         * locale/lc-ctype.c: Likewise.
10882         * locale/locale.h: Likewise.
10883         * login/utmp.h: Likewise.
10884         * malloc/arena.c: Likewise.
10885         * malloc/malloc.c: Likewise.
10886         * malloc/malloc.h: Likewise.
10887         * malloc/mcheck.c: Likewise.
10888         * malloc/mtrace.c: Likewise.
10889         * math/bits/mathcalls.h: Likewise.
10890         * math/fenv.h: Likewise.
10891         * math/math_private.h: Likewise.
10892         * misc/bits/error.h: Likewise.
10893         * misc/bits/syslog.h: Likewise.
10894         * misc/err.h: Likewise.
10895         * misc/error.h: Likewise.
10896         * misc/fstab.h: Likewise.
10897         * misc/mntent.h: Likewise.
10898         * misc/regexp.h: Likewise.
10899         * misc/search.h: Likewise.
10900         * misc/sgtty.h: Likewise.
10901         * misc/sys/mman.h: Likewise.
10902         * misc/sys/syslog.h: Likewise.
10903         * misc/sys/uio.h: Likewise.
10904         * misc/sys/xattr.h: Likewise.
10905         * misc/ttyent.h: Likewise.
10906         * nis/rpcsvc/ypclnt.h: Likewise.
10907         * nss/nss.h: Likewise.
10908         * posix/bits/unistd.h: Likewise.
10909         * posix/fnmatch.h: Likewise.
10910         * posix/glob.h: Likewise.
10911         * posix/sched.h: Likewise.
10912         * posix/spawn.h: Likewise.
10913         * posix/sys/wait.h: Likewise.
10914         * posix/unistd.h: Likewise.
10915         * posix/wordexp.h: Likewise.
10916         * pwd/pwd.h: Likewise.
10917         * resolv/netdb.h: Likewise.
10918         * resource/sys/resource.h: Likewise.
10919         * rt/aio.h: Likewise.
10920         * rt/bits/mqueue2.h: Likewise.
10921         * rt/mqueue.h: Likewise.
10922         * shadow/shadow.h: Likewise.
10923         * signal/signal.h: Likewise.
10924         * socket/send.c: Likewise.
10925         * socket/sendto.c: Likewise.
10926         * socket/sys/socket.h: Likewise.
10927         * stdio-common/printf.h: Likewise.
10928         * stdlib/bits/stdlib.h: Likewise.
10929         * stdlib/fmtmsg.h: Likewise.
10930         * stdlib/monetary.h: Likewise.
10931         * stdlib/stdlib.h: Likewise.
10932         * stdlib/ucontext.h: Likewise.
10933         * streams/stropts.h: Likewise.
10934         * string/argz.h: Likewise.
10935         * string/bits/string2.h: Likewise.
10936         * string/string.h: Likewise.
10937         * string/strings.h: Likewise.
10938         * sunrpc/rpc/auth.h: Likewise.
10939         * sunrpc/rpc/auth_des.h: Likewise.
10940         * sunrpc/rpc/clnt.h: Likewise.
10941         * sunrpc/rpc/netdb.h: Likewise.
10942         * sunrpc/rpc/pmap_clnt.h: Likewise.
10943         * sunrpc/rpc/xdr.h: Likewise.
10944         * sysdeps/generic/inttypes.h: Likewise.
10945         * sysdeps/generic/net/if.h: Likewise.
10946         * sysdeps/generic/sys/swap.h: Likewise.
10947         * sysdeps/gnu/net/if.h: Likewise.
10948         * sysdeps/gnu/utmpx.h: Likewise.
10949         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10950         * sysdeps/i386/i486/bits/string.h: Likewise.
10951         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10952         * sysdeps/s390/bits/string.h: Likewise.
10953         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10954         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10955         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10956         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10957         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10958         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10959         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10960         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10961         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10962         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10963         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10964         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10965         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10966         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10967         * sysdeps/unix/sysv/linux/readv.c: Likewise.
10968         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10969         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10970         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10971         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10972         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10973         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10974         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10975         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10976         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10977         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10978         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10979         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10980         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10981         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10982         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10983         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10984         * sysvipc/sys/ipc.h: Likewise.
10985         * sysvipc/sys/msg.h: Likewise.
10986         * sysvipc/sys/sem.h: Likewise.
10987         * sysvipc/sys/shm.h: Likewise.
10988         * termios/termios.h: Likewise.
10989         * time/sys/time.h: Likewise.
10990         * time/time.h: Likewise.
10991         * wcsmbs/bits/wchar2.h: Likewise.
10992         * wcsmbs/uchar.h: Likewise.
10993         * wcsmbs/wchar.h: Likewise.
10994         * wctype/wctype.h: Likewise.
10996         [BZ #13551]
10997         * Makeconfig: Remove all but ELF support including AIX support.
10998         * Makerules: Likewise.
10999         * config.h.in: Likewise.
11000         * config.make.in: Likewise.
11001         * configure: Likewise.
11002         * configure.in: Likewise.
11003         * csu/Makefile: Likewise.
11004         * csu/version.c: Likewise.
11005         * debug/Makefile: Likewise.
11006         * dlfcn/Makefile: Likewise.
11007         * elf/Makefile: Likewise.
11008         * extra-lib.mk: Likewise.
11009         * iconv/Makefile: Likewise.
11010         * include/libc-symbols.h: Likewise.
11011         * include/shlib-compat.h: Likewise.
11012         * resolv/Makefile: Likewise.
11013         * resolv/res_libc.c: Likewise.
11014         * rt/Makefile: Likewise.
11015         * sysdeps/i386/asm-syntax.h: Likewise.
11016         * sysdeps/i386/sysdep.h: Likewise.
11017         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11018         * sysdeps/mach/sysdep.h: Likewise.
11019         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11020         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11021         * sysdeps/s390/asm-syntax.h: Likewise.
11022         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11023         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11024         * sysdeps/sh/sysdep.h: Likewise.
11025         * sysdeps/unix/sparc/sysdep.h: Likewise.
11026         * sysdeps/wordsize-32/divdi3.c: Likewise.
11027         * sysdeps/x86_64/sysdep.h: Likewise.
11029         * argp/Versions: Remove _argp_unlock_xxx.
11031         [BZ #13559]
11032         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
11033         * abilist/libBrokenLocale.abilist: Likewise.
11034         * abilist/libanl.abilist: Likewise.
11035         * abilist/libc.abilist: Likewise.
11036         * abilist/libcrypt.abilist: Likewise.
11037         * abilist/libdl.abilist: Likewise.
11038         * abilist/libm.abilist: Likewise.
11039         * abilist/libnsl.abilist: Likewise.
11040         * abilist/libpthread.abilist: Likewise.
11041         * abilist/libresolv.abilist: Likewise.
11042         * abilist/librt.abilist: Likewise.
11043         * abilist/libthread_db.abilist: Likewise.
11044         * abilist/libutil.abilist: Likewise.
11045         * abilist/libnss_db.abilist: New file.
11047         * scripts/abilist.awk: Add support for indirect functions.
11049         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11051         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11053         * shlib-versions: Remove entries for ports architectures.
11055         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
11056         files in ports.
11057         * elf/stackguard-macros.h: Remove support for IA-64.
11058         * elf/tst-auditmod1.c: Likewise.
11059         * sysdeps/generic/ldsodefs.h: Likewise.
11061         * sysdeps/unix/sysv/linux/configure.in: Ports should define
11062         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11063         configure files.
11065         [BZ #13552]
11066         * configure.in: Remove --enable-omitfp support.
11067         * FAQ.in: Adjust.
11068         * config.make.in: Likewise.
11069         * Makeconfig: Likewise.
11070         * manual/install.texi: Likewise.
11072         In case anyone cares, the IA-64 architecture could move to ports.
11073         * sysdeps/ia64/*: Removed.
11074         * sysdeps/unix/sysv/linux/ia64/*: Removed.
11075         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11077         [BZ #13555]
11078         * configure.in: Remove entries for unsupported architectures.
11080         [BZ #13533]
11081         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11082         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
11083         routines.
11084         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11085         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11086         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
11087         fall back to using wcrtomb.
11088         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11089         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
11090         renaming.
11091         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11092         * wcsmbs/tst-c16c32-1.c: New file.
11094         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11095         local variable.
11097         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11099         * elf/tst-unique3.cc: Add explicit declaration of gets.
11100         * elf/tst-unique3lib.cc: Likewise.
11101         * elf/tst-unique3lib2.cc: Likewise.
11102         * elf/tst-unique4.cc: Likewise.
11104         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11106 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
11108         [BZ #13566]
11109         * assert/assert.h (static_assert): Don't define for C++.
11110         * libio/stdio.h (gets): Do declare for C++ <= C++11.
11111         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11113 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
11115         * iconv/loop.c (single loop): Fix assertion in storing of
11116         remaining bytes.
11118         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11120 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
11122         * posix/getconf.c: Update copyright year.
11123         * nss/getent.c: Likewise.
11124         * nss/makedb.c: Likewise.
11125         * iconv/iconvconfig.c: Likewise.
11126         * iconv/iconv_prog.c: Likewise.
11127         * elf/ldconfig.c: Likewise.
11128         * elf/pldd.c: Likewise.
11129         * elf/sotruss.ksh: Likewise.
11130         * catgets/gencat.c: Likewise.
11131         * csu/version.c: Likewise.
11132         * elf/ldd.bash.in: Likewise.
11133         * elf/sprof.c (print_version): Likewise.
11134         * locale/programs/locale.c: Likewise.
11135         * locale/programs/localedef.c: Likewise.
11136         * login/programs/pt_chown.c: Likewise.
11137         * nscd/nscd.c (print_version): Likewise.
11138         * debug/xtrace.sh: Likewise.
11139         * malloc/memusage.sh: Likewise.
11140         * malloc/mtrace.pl: Likewise.
11141         * debug/catchsegv.sh: Likewise.
11143 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
11145         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11146         pure attribute.
11148 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
11150         [BZ #13533]
11151         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11152         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11153         transformations.
11154         * iconv/gconv_int.h: Likewise.
11155         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11156         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11157         from libc for GLIBC_2.16.
11158         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11159         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11160         * wcsmbs/uchar.h: Really define mbstate_t.
11161         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11162         * wcsmbs/c16rtomb.c: New file.
11163         * wcsmbs/mbrtoc16.c: New file.
11164         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11165         for C/POSIX locale.
11166         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11167         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11169         * wcsmbs/wchar.h: Add missing __restrict.
11171 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
11173         [BZ #13532]
11174         * time/Makefile (routines): Add timespec_get.
11175         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11176         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
11177         timespec for ISO C11.
11178         * time/timespec_get.c: New file.
11179         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11180         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11182         [BZ #13531]
11183         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11184         * stdlib/stdlib.h: Declare aligned_alloc.
11185         * Versions.def: Add GLIBC_2.16 for libc.
11186         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11188         [BZ 13527]
11189         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11190         ISO C11.
11192         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11193         code.
11195         [BZ #13528]
11196         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11198         [BZ #13529]
11199         * assert/assert.h (static_assert): Define.
11201         * version.h: Update for 2.16 development version.
11203         [BZ #13526]
11204         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11205         _ISOC11_SOURCE.
11207         * version.h (RELEASE): Bump for 2.15 release.
11208         * include/features.h (__GLIBC_MINOR__): Bump to 15.
11210         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11211         Patch by Marek Polacek <mpolacek@redhat.com>.
11213         * bits/byteswap.h: Protect long long constants with __extension__.
11214         * sysdeps/i386/bits/byteswap.h: Likewise.
11215         * sysdeps/ia64/bits/byteswap.h: Likewise.
11216         * sysdeps/s390/bits/byteswap.h: Likewise.
11217         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11219 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11221         [BZ #13540]
11222         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11223         destination buffer.
11224         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11226 2011-12-23  Marek Polacek  <polacek@redhat.com>
11228         * elf/dl-addr.c (determine_info): Add inline keyword.
11229         * elf/tst-auditmod4b.c (check_avx): Likewise.
11230         * elf/tst-auditmod6b.c (check_avx): Likewise.
11231         * elf/tst-auditmod6c.c (check_avx): Likewise.
11232         * elf/tst-auditmod7b.c (check_avx): Likewise.
11234 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
11236         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11237         !__SSE_MATH__.
11239 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11241         [BZ #13540]
11242         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11243         processing for last bytes.
11245 2011-08-06  Bruno Haible  <bruno@clisp.org>
11247         [BZ #13061]
11248         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11249         U+0385, not to U+1FEE.
11251         [BZ #13062]
11252         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11253         entry for U+00A5 U+0301.
11255 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
11257         [BZ #13166]
11258         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11259         buffer for the output is too small.
11261         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11262         optimization.
11264         [BZ #13185]
11265         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11266         SSE flags if possible.
11268 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11270         [BZ #13540]
11271         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11272         processing for last bytes.
11274 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
11276         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11277         (syscall-list-default-options, syscall-list-default-condition)
11278         (syscall-list-includes): Define.
11279         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11280         list of ABIs and options and #if conditions for each ABI.  Do not
11281         handle common syscalls between ABIs specially.
11282         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11283         Remove.
11284         (syscall-list-variants, syscall-list-32bit-options)
11285         (syscall-list-32bit-condition, syscall-list-64bit-options)
11286         (syscall-list-64bit-condition): Define.
11287         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11288         (syscall-list-variants, syscall-list-32bit-options)
11289         (syscall-list-32bit-condition, syscall-list-64bit-options)
11290         (syscall-list-64bit-condition): Define.
11291         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11292         Remove.
11293         (syscall-list-variants, syscall-list-32bit-options)
11294         (syscall-list-32bit-condition, syscall-list-64bit-options)
11295         (syscall-list-64bit-condition): Define.
11296         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11297         Remove.
11298         (syscall-list-variants, syscall-list-32bit-options)
11299         (syscall-list-32bit-condition, syscall-list-64bit-options)
11300         (syscall-list-64bit-condition): Define.
11302 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
11304         * locale/iso-639.def: Add brx entry.
11306         [BZ #13328]
11307         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11308         Proposed by Mariusz_Cukr <marcukr@op.pl>.
11310         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11311         __feraiseexcept_renamed.
11313 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
11315         [BZ #13538]
11316         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11317         EPOLLET with unsigned values.
11318         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11319         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11321         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11322         to large cancellation.
11323         * math/s_cacoshf.c: Likewise.
11324         * math/s_cacoshl.c: Likewise.
11326 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
11328         [BZ #13305]
11329         [BZ #12786]
11330         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11331         * math/s_cacoshf.c: Likewise.
11332         * math/s_cacoshl.c: Likewise.
11334 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
11336         [BZ #13439]
11337         * iconv/gconv.h: Define __GCONV_SWAP.
11338         * iconvdata/unicode.c: The swap bit must be stored in __flags.
11339         * iconvdata/utf-16.c: Likewise.
11340         * iconvdata/utf-32.c: Likewise.
11342 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
11344         [BZ #13524]
11345         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11346         numerator after shifting it by one limb.
11348 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
11350         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11351         under [__USE_EXTERN_INLINES].
11353 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
11355         [BZ #13446]
11356         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11358 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11360         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11361         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11362         optimized code.
11363         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11364         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11365         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11366         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11367         for strncasecmp/strncasecmp_l compilation.
11368         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11369         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11371 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
11373         [BZ #13484]
11374         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11375         of __asm__.
11377 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
11379         [BZ #13506]
11380         * time/tzfile.c (__tzfile_read): Check values from file header.
11382 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
11384         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11385         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11386         * powerpc/powerpc32/dl-start.S: Likewise.
11387         * powerpc/powerpc32/elf/start.S: Likewise.
11388         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11389         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11390         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11391         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11392         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11393         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11394         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11395         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11396         * powerpc/powerpc32/fpu/s_round.S: Likewise.
11397         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11398         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11399         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11400         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11401         * powerpc/powerpc32/memset.S: Likewise.
11402         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11403         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11404         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11405         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11406         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11407         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11408         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11409         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11410         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11411         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11412         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11413         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11414         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11416 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11418         * math/libm-test.inc: Added more nearbyint tests.
11419         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11420         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11421         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11422         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11424 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
11426         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11427         FD_CLOEXEC.
11429 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11431         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11432         Add wcscpy-ssse3 wcscpy-c.
11433         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11434         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11435         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11436         * sysdeps/x86_64/wcschr.S: New file.
11437         * sysdeps/x86_64/wcsrchr.S: New file.
11438         * string/test-strcmp.c: Remove checking of wcscmp function for
11439         wrong alignments.
11440         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11441         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11442         wcsrchr-sse2 wcsrchr-c.
11443         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11444         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11445         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11446         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11447         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11448         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11449         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11450         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11451         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11452         * wcsmbc/wcschr.c (WCSCHR): New macro.
11454 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11456         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11457         * wcsmbs/test-wcsrchr.c: New file.
11458         * string/test-strrchr.c: Add wcsrchr support.
11459         (WIDE): New macro.
11460         * wcsmbs/test-wcscpy.c: New file.
11461         * string/test-strcpy.c: Add wcscpy support.
11462         (WIDE): New macro.
11464 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
11466         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11467         the inner loop.
11469 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
11471         [BZ #13472]
11472         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11474 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
11476         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11477         Minor optimizations.
11479         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11480         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11481         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11483 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
11485         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11486         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11487         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11488         for gcc to avoid warnings.
11489         * inet/Makefile (tests): Add tst-checks.
11490         * inet/tst-checks.c: New file.
11492         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11493         warning.
11495         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11496         __wmemcmp_sse2.
11498         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11499         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11501         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11503 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
11505         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11506         problem.
11508         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11510 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
11512         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11513         conditional on GCC version.
11514         (__arch_compare_and_exchange_val_8_acq)
11515         (__arch_compare_and_exchange_val_16_acq)
11516         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11517         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11518         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11520 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
11522         * sysdeps/sh/backtrace.c: New file.
11524 2011-12-02  Andreas Schwab  <schwab@redhat.com>
11526         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
11527         parenthesis.
11529 2011-12-01  Andreas Schwab  <schwab@redhat.com>
11531         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11532         falling back to utime.
11534 2011-11-30  Andreas Schwab  <schwab@redhat.com>
11536         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11537         expectations for float.
11539 2011-11-29  Andreas Schwab  <schwab@redhat.com>
11541         * locale/weight.h (findidx): Add parameter len.
11542         * locale/weightwc.h (findidx): Likewise.
11543         * posix/fnmatch_loop.c (FCT): Adjust caller.
11544         * posix/regcomp.c (build_equiv_class): Likewise.
11545         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11546         * posix/regexec.c (check_node_accept_bytes): Likewise.
11547         * string/strcoll_l.c (STRCOLL): Likewise.
11548         * string/strxfrm_l.c (STRXFRM): Likewise.
11550 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
11552         * Makefile.in: Remove CVSOPT handling.
11553         * configure.in: Remove use of AC_REVISION.
11554         * iconvdata/Makefile (distribute): No need to filter out CVS.
11555         * scripts/list-sources.sh: Remove CVS, subversion and monotone
11556         handling.
11558 2011-11-16  Andreas Schwab  <schwab@redhat.com>
11560         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11561         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11562         [USE_AS_STRNCASECMP_L]: Likewise.
11563         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11564         NO_TLS_DIRECT_SEG_REFS.
11565         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11566         Fix argument offsets for non-PIC.
11567         [USE_AS_STRNCASECMP_L]: Likewise.
11568         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11569         NO_TLS_DIRECT_SEG_REFS.
11571 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
11573         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11574         O_CLOEXEC.
11575         * locale/loadlocale.c (_nl_load_locale): Likewise.
11577 2011-11-15  Andreas Schwab  <schwab@redhat.com>
11579         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11580         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11581         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11582         (SYSCALL_GETTIME): Set errno on error.
11584         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11585         count references to noai6ai_cached.
11587 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
11589         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11591         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11592         FD_CLOEXEC for /proc/self/maps.
11594         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11595         FD_CLOEXEC for /proc/meminfo.
11597         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11598         gai.conf.
11600         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
11601         FD_CLOEXEC for given file.
11603         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11605         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11606         FD_CLOEXEC for /etc/hosts.
11607         (_gethtent): Likewise.
11609         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11611         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11612         cancellation and set FD_CLOEXEC for /etc/netgroup.
11614         * nss/nss_files/files-key.c (search): Don't allow cancellation when
11615         reading /etc/publickey.
11617         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11618         allow cancellation when reading /etc/group.
11620         * nss/nss_files/files-alias.c (internal_setent): Don't allow
11621         cancellation.
11622         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
11624         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11625         when using data file.
11627         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11629         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11630         (write_nis_obj): Use "c" and "e" in fopen.
11632         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11634         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11636         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11638         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11640         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11641         locale.alias.
11643         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11645         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11647         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11649         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11650         file parsing and set FD_CLOEXEC.
11652 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
11654         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11656 2011-11-14  Andreas Schwab  <schwab@redhat.com>
11658         * malloc/arena.c (arena_get2): Don't call reused_arena when
11659         _int_new_arena failed.
11661 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
11663         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11664         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11665         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11666         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11667         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11668         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11669         to compile strcasecmp and strncasecmp.
11670         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11671         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11673         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11675 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
11677         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11678         locale-defines.sym to gen-as-const-headers.
11679         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11680         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11681         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11682         to compile strcasecmp and strncasecmp.
11683         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11684         strcasecmp_l and strncasecmp_l.
11685         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11686         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11687         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11688         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11689         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11690         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11691         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11692         * sysdeps/i386/i686/multiarch/strncase.S: New file.
11693         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11694         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11695         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11697 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
11699         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11700         result of SYSDEP_GETTIME_CPU to retval.
11701         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11702         parameter list to macro.  Remove trailing semicolon.  Adjust users.
11704         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11705         variable.
11707         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11708         mantissa words.
11709         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11711         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11712         from unused variable.
11714         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11715         DWARF definitions.
11716         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11717         for assembling.
11719         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11720         over namespaces.
11722         * sunrpc/rpc_prot.c (rejected): Fix case value.
11724         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11725         unsigned long long int to avoid warnings in shift.
11727         * posix/regex_internal.c (re_string_reconstruct): Actually use result
11728         of use of trans.
11729         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11730         variable tmp.
11732         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11733         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11734         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11736         * nis/nis_table.c (nis_list): Use variable of correct type for
11737         result of __follow_path call.
11739 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11741         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11742         of math functions ceil, trunc, floor, round, and sqrt, when
11743         avaliable on the platform.
11744         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11745         name clash.
11746         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11747         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11748         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11750 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
11752         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11753         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11755 2011-11-11  Roland McGrath  <roland@hack.frob.com>
11757         * include/unistd.h: Fix __readlink return type.
11758         Reported by Chris Metcalf <cmetcalf@tilera.com>.
11760 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
11762         * stdlib/ucontext.h: Undo last change for makecontext.
11764 2011-11-11  Andreas Schwab  <schwab@redhat.com>
11766         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11768         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11769         * setjmp/setjmp.h: Mark functions as non-leaf.
11770         * setjmp/bits/setjmp2.h: Likewise.
11771         * stdlib/ucontext.h: Likewise.
11773 2011-11-10  Andreas Schwab  <schwab@redhat.com>
11775         * malloc/arena.c (_int_new_arena): Don't increment narenas.
11776         (reused_arena): Don't check arena limit.
11777         (arena_get2): Atomically check arena limit.
11779 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
11781         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11782         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11784         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11785         instructions.
11787 2011-11-07  Andreas Schwab  <schwab@redhat.com>
11789         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11790         handler when locking.
11792         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11793         Fix size of allocated buffer.
11795 2011-11-04  Andreas Schwab  <schwab@redhat.com>
11797         [BZ #10103]
11798         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11799         declarations for long double functions.
11800         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11802         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11804 2011-11-03  Andreas Schwab  <schwab@redhat.com>
11806         * nscd/nscd.c (main): Don't start AVC thread until credentials are
11807         installed.
11809         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11810         is disabled.
11812 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11814         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11816 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11818         * include/alloca.h (stackinfo_alloca_round): Define.
11819         (extend_alloca): Use it.
11820         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11821         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11822         here.
11824         * scripts/check-local-headers.sh: Ignore libaudit.h.
11826         * nscd/Makefile (extra-objs): Make recursively expanded.
11828 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
11830         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11831         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11833         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11834         * posix/tst-rfc3484-2.c: Likewise.
11835         * posix/tst-rfc3484-3.c: Likewise.
11837         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11838         process_vm_writev.
11839         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11840         process_vm_writev.
11841         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11842         process_vm_writev from libc using GLIBC_2.15 version.
11844         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11846 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
11848         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11849         stack usage.
11851 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
11853         [BZ #13367]
11854         * nss/getent.c (initgroups_keys): Show error message in case no group
11855         names are given.
11857         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11858         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11859         __bump_nl_timestamp.
11860         * nscd/connections (nscd_init): When host database is served open
11861         netlink socket and request notification about configuration changes.
11862         (main_loop_poll): Track netlink file descriptor and bump timestamp
11863         in case data becomes available.
11864         (main_loop_epoll): Likewise.
11865         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11866         (database_pers_head): Add extra_data fileds.
11867         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11868         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11869         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11870         Adjust caller.
11871         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11872         in6ai data, call __free_in6ai.
11873         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11874         Add -DHAVE_NETLINK.
11875         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
11876         interface information.  Reuse previous data if netlink timestamp
11877         is not changed.
11878         (__bump_nl_timestamp): New function.
11879         (__free_in6ai): New function.
11881 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
11883         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11884         close_not_cancel_no_status here.
11885         (__check_pf): Reorganize code a bit to not call close twice if OOM.
11887 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
11889         [BZ #13276]
11890         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11891         return value.
11893         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11894         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11895         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11897 2011-07-03  Andreas Jaeger  <aj@suse.de>
11899         [BZ #10709]
11900         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11901         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11902         * math/libm-test.inc (sin_test): Add test case.
11904 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
11906         [BZ #13337]
11907         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11908         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11910         * elf/chroot_canon.c (chroot_canon): Cleanups.
11912         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11914         [BZ #13335]
11915         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11916         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11918         * string/test-strchr.c: Make usable for strchrnul testing.
11919         * string/test-strchrnul.c: New file.
11920         * string/Makefile (strop-tests): Add strchrnul.
11922         * po/it.po: Update from translation team.
11923         * po/es.po: Likewise.
11925 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
11927         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11928         the three constants needed as parameters.  Drop the others.
11929         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11930         __m128i_strloadu_tolower.
11931         Create and initialize variable zero and use it in all the places
11932         where _mm_setzero_si128 was used.
11934         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11935         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11936         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11937         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11938         anymore.
11939         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11940         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11941         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11942         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11943         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11944         __mpranred, __mptan.
11945         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11946         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11947         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11948         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11949         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11950         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11951         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11952         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11953         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11955 2011-10-28  Andreas Schwab  <schwab@redhat.com>
11957         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11958         redefine if SHARED.
11959         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11961         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11962         wide char related routines to wcsmbs subdir.
11964 2011-10-27  Andreas Schwab  <schwab@redhat.com>
11966         [BZ #13344]
11967         * misc/sys/cdefs.h (__THROWNL): Define.
11968         * posix/unistd.h: Use __THREADNL instead of __THREAD
11969         for memory synchronization functions.
11971 2011-10-26  Roland McGrath  <roland@hack.frob.com>
11973         [BZ #13349]
11974         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11975         doesn't exist.
11976         * manual/stdio.texi (Obstack Streams): Node removed.
11978 2011-10-26  Andreas Schwab  <schwab@redhat.com>
11980         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11981         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11982         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11984         * math/math_private.h (math_force_eval): Allow non-addressable
11985         arguments.
11986         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11988 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11990         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11991         file is not needed.
11993         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11994         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11995         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11996         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11997         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11998         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11999         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12000         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12001         Add AVX variants.
12002         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12003         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12004         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12005         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12006         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12007         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12008         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12009         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12010         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12011         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12012         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12013         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12014         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12015         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12016         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12017         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12018         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12019         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12020         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12022         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12023         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
12025         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12026         place.  Use VEX encoding when compiling for AVX.
12028 2011-10-25  Andreas Schwab  <schwab@redhat.com>
12030         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12031         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12033         * string/test-strchr.c (do_test): Don't generate NUL bytes.
12035 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
12037         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12038         useless if() expression.
12039         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12040         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12041         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12042         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12043         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12044         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12045         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12046         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12047         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12048         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12049         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12050         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12051         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12052         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12053         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12054         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12055         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12056         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12057         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12059         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12061 2011-10-25  Andreas Schwab  <schwab@redhat.com>
12063         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12064         condition.
12065         * elf/dl-fini.c (_dl_sort_fini): Likewise.
12067 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
12069         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12070         .text section.  Avoid duplicate constants.
12071         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12072         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12073         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12074         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12075         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12076         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12077         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12078         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12079         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12080         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12081         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12082         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12083         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12084         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12085         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12086         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12087         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12088         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12089         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12090         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12091         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12092         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12093         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12094         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12095         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12096         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12097         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12098         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12099         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12100         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12101         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12102         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12103         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12104         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12105         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12106         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12107         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12108         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12109         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12110         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12111         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12112         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12113         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12114         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12115         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12117 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
12119         * sysdeps/x86_64/dla.h: Move to ...
12120         * sysdeps/x86_64/fpu/dla.h: ...here.
12121         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12122         situations.  Use __builtin_fma only for gcc 4.6 and up.
12124         * config.make.in: Add have-mfma4 entry.
12125         * configure.in: Substitute libc_cv_cc_fma4.
12126         * math/Makefile (dbl-only-routines): Add sincostab.
12127         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12128         Use __sincostab not sincos.
12129         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12130         name is a macro.
12131         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12132         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12133         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12134         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
12135         using __copysign.
12136         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
12137         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
12138         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12139         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12140         and __inv.
12141         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12142         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12143         __copysign.
12144         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
12145         define aliases when function name is a macro.
12146         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12147         sysdeps/ieee754/dbl-64/sincos.tbl.
12148         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12149         fma4-enabled routines.
12150         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12151         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12152         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12153         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12154         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12155         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12156         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12157         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12158         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12159         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12160         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12161         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12162         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12163         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12164         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12165         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12166         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12167         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12168         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12169         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12170         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12171         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12172         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12173         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12174         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12175         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12176         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12177         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12178         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12179         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12181         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12182         rename.
12183         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12184         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12185         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12186         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12187         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12188         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12189         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12190         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12192 2011-10-24  Andreas Schwab  <schwab@redhat.com>
12194         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12196 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
12198         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12200         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12201         prediction.
12202         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12204         * string/strnlen.c: Don't define STRNLEN, reverse logic.
12205         Remove unused variable magic_bits.
12206         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12208         * string/strnlen.c: Define and use STRNLEN macro.
12209         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12210         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12211         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12212         * wcsmbs/wcslen.c: Define and use WCSLEN.
12213         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12214         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12215         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12216         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12217         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12218         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12219         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12221 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12223         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12224         strnlen-sse2-no-bsf.
12225         Rename strlen-no-bsf to strlen-sse2-no-bsf.
12226         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12227         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12228         Add strnlen support.
12229         (USE_AS_STRNLEN): New macro.
12230         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12231         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12232         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12233         * sysdeps/x86_64/wcslen.S: New file.
12235 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
12237         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12238         XMM-moves are used for copying on small sizes.
12240 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12242         * wcsmbs/Makefile (strop-tests): Add wcschr.
12243         * wcsmbs/test-wcschr.c: New file.
12244         * string/test-strchr.c: Update.
12245         Add wcschr support.
12246         (WIDE): New macro.
12248 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12250         * wcsmbs/Makefile (strop-tests): Add wcslen.
12251         * wcsmbs/test-wcslen.c: New file.
12252         * string/test-strlen.c: Update.
12253         Add wcslen support.
12254         (WIDE): New macro.
12256 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
12258         * po/it.po: Update from translation team.
12260 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12262         * sysdeps/x86_64/wcscmp.S: Update.
12263         Fix wrong comparison semantics.
12264         wcscmp shall use signed comparison not unsigned.
12265         Don't use substraction to avoid overflow bug.
12266         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12267         * wcsmbc/wcscmp.c: Likewise.
12268         * string/test-strcmp.c: Likewise.
12269         Add new tests to check cases with negative values.
12271 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
12273         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12274         * sysdeps/x86_64/dla.h: ...here.  New file.
12275         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12276         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12277         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12278         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12279         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12280         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12281         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12282         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12283         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12285 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
12287         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12288         __ynl_finite aliases.
12290 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
12292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12294         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12295         define DLA_FMA.
12296         [DLA_FMA] (EMULV): Use DLA_FMA.
12297         [DLA_FMA] (MUL12): Use EMULV.
12298         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12299         that are not needed.
12300         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12301         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12302         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12303         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12304         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12305         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12306         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12308 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
12310         * math/s_nan.c: Undef __nan.
12311         * math/s_nanf.c: Undef __nanf.
12312         * math/s_nanl.c: Undef __nanl.
12313         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12314         "math_private.h".
12316 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
12318         * math/s_catan.c: Add branch predictions.
12319         * math/s_catanf.c: Likewise.
12320         * math/s_catanh.c: Likewise.
12321         * math/s_catanhf.c: Likewise.
12322         * math/s_catanhl.c: Likewise.
12323         * math/s_catanl.c: Likewise.
12324         * math/s_cexp.c: Likewise.
12325         * math/s_cexpf.c: Likewise.
12326         * math/s_cexpl.c: Likewise.
12327         * math/s_clog.c: Likewise.
12328         * math/s_clog10.c: Likewise.
12329         * math/s_clog10f.c: Likewise.
12330         * math/s_clog10l.c: Likewise.
12331         * math/s_clogf.c: Likewise.
12332         * math/s_clogl.c: Likewise.
12333         * math/s_csqrt.c: Likewise.
12334         * math/s_csqrtf.c: Likewise.
12335         * math/s_csqrtl.c: Likewise.
12336         * math/s_ctanf.c: Likewise.
12337         * math/s_ctanh.c: Likewise.
12338         * math/s_ctanhf.c: Likewise.
12339         * math/s_ctanhl.c: Likewise.
12340         * math/s_ctanl.c: Likewise.
12342         * math/math_private.h: Define __nan, __nanf, __nanl.
12343         * math/s_cacosh.c: Include <math_private.h>.
12344         * math/s_cacoshl.c: Likewise.
12345         * math/s_casinh.c: Likewise.
12346         * math/s_casinhf.c: Likewise.
12347         * math/s_casinhl.c: Likewise.
12348         * math/s_ccos.c: Rely entire on ccosh.
12349         * math/s_ccosf.c: Rely entire on ccoshf.
12350         * math/s_ccosl.c: Rely entirely on ccoshl.
12351         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
12352         Remove tests for FE_INVALID.
12353         * math/s_ccoshf.c: Likewise.
12354         * math/s_ccoshl.c: Likewise.
12355         * math/s_csin.c: Likewise.
12356         * math/s_csinf.c: Likewise.
12357         * math/s_csinh.c Likewise.
12358         * math/s_csinhf.c: Likewise.
12359         * math/s_csinhl.c: Likewise.
12360         * math/s_csinl.c: Likewise.
12361         * math/s_ctan.c: Likewise.
12362         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12363         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12364         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12366 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
12368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12369         compilation problems.
12371         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12372         __builtin_expect.
12374 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
12376         * sysdeps/i386/configure.in: Test for -mfma4 option.
12377         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12378         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12379         COMMON_CPUID_INDEX_80000001.
12380         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12381         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12382         use it if FMA3 is not supported.
12383         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12385         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12386         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12388 2011-10-20  Andreas Schwab  <schwab@redhat.com>
12390         [BZ #12892]
12391         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12392         it would create a cycle with a link time dependency.
12394 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
12396         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12397         instruction.
12398         * string/Makefile (strop-tests): Add rawmemchr.
12399         * string/test-rawmemchr.c: New file.
12401         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12402         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
12403         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
12404         when compiling str{,n}casecmp and when AVX is available.  Hook up
12405         new optimized code in initializers.
12407 2011-10-19  Andreas Schwab  <schwab@redhat.com>
12409         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12410         __feraiseexcept instead of feraiseexcept.
12412 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
12414         * math/math_private.h: Define defaults for libc_fetestexcept and
12415         libc_feupdateenv.
12416         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12417         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12418         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12419         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12420         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12421         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12422         libc_fetestexcept and libc_feupdateenv.
12424         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12425         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12426         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12427         * sysdeps/x86_64/fpu/math_private.h: Define special version of
12428         libc_feholdexcept_setround.
12430         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12431         Add s_nearbyint-c and s_nearbyintf-c.
12432         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12433         nearbyintf inlines.
12434         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12435         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12436         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12437         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12439         * math/math_private.h: Define defaults for libc_fegetround,
12440         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12441         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12442         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12443         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12444         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12445         standard functions.
12446         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12447         Remove comments and hacks for old compiler versions.
12448         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12449         libc_fegetround, libc_fesetround, libc_feholdexcept, and
12450         libc_feholdexceptl.
12452 2011-10-18  Andreas Schwab  <schwab@redhat.com>
12454         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12455         (__feraiseexcept_renamed): Add __NTH.
12456         (feraiseexcept): Add __NTH.  Rename local variables to fix
12457         namespace violations.
12459 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
12461         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12463         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12465         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12466         recently added interfaces.
12467         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12469         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12470         about macro parameter expansion.
12472         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12473         __NO_MATH_INLINES is defined.  Cleanups.
12475         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12476         and __floorf is target has SSE4.1.
12477         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12478         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12479         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12480         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12482         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12483         name.
12484         (floorf): Likewise.
12486         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12488 2011-10-17  Andreas Schwab  <schwab@redhat.com>
12490         * misc/sys/cdefs.h: Fix last change.
12492         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12493         database lookup.
12495 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
12497         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12499         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12500         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12501         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12502         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12503         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12504         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12505         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12506         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12507         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12508         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12509         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12510         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12511         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12512         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12513         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12514         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12515         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12516         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12517         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12518         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12519         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12520         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12522         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12523         ceil, ceilf, floor, floorf.
12525         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12526         Perform IRELATIVE relocations last.
12528         * elf/do-rel.h: Add another parameter nrelative, replacing the
12529         local variable with the same name.  Change name of the function
12530         to end in Rel or Rela (uppercase).
12531         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12532         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
12533         elf_dynamic_do_##reloc function.
12535 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
12537         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12538         is sufficient, at least on modern CPUs.
12540         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12542         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12543         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12545         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12546         __expl_finite.
12547         * math/bits/math-finite.h: Add entries for exp.
12548         * math/e_expl.c: Add __*_finite alias.
12549         * sysdeps/i386/fpu/e_exp.S: Likewise.
12550         * sysdeps/i386/fpu/e_expf.S: Likewise.
12551         * sysdeps/i386/fpu/e_expl.c: Likewise.
12552         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12553         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12554         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12555         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12556         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12557         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12558         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12560         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12561         is sufficient, at least on modern CPUs.
12563         * ctype/ctype-info.c (__ctype_init): Define.
12564         * include/ctype.h (__ctype_init): Declare.
12565         (__ctype_b_loc): The variable is always initialized.
12566         (__ctype_toupper_loc): Likewise.
12567         (__ctype_tolower_loc): Likewise.
12568         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12569         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12571 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
12573         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12575         * configure.in: Also look in $cxxmachine/include for C++ system
12576         headers.
12578 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12580         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12581         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12582         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12583         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
12584         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12585         (USE_AS_WMEMCMP): New macro.
12586         Fixing indents.
12587         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12588         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12589         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12590         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12591         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12592         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12593         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12594         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12595         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12596         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12597         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12598         (USE_AS_WMEMCMP): New macro.
12599         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12600         * sysdeps/string/test-memcmp.c: Update.
12601         Fix simple_wmemcmp.
12602         Add new tests.
12603         * wcsmbs/wmemcmp.c: Update.
12604         (WMEMCMP): New macro.
12605         Fix overflow bug.
12607 2011-10-12  Andreas Jaeger  <aj@suse.de>
12609         [BZ #13268]
12610         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12612 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
12614         * libio/iofwide.c (do_length): Avoid warning.
12616         * ctype/ctype.h (__isctype_f): Add missing __THROW.
12618 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
12620         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12622         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12623         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12624         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12625         * sysdeps/i386/i686/fpu/e_log.S: New file.
12626         * sysdeps/i386/i686/fpu/e_logf.S: New file.
12627         * sysdeps/i386/i686/fpu/e_logl.S: New file.
12629         * ctype/ctype.h: Add support for inlined isXXX functions when
12630         compiling C++ code.
12632 2011-10-14  Andreas Schwab  <schwab@redhat.com>
12634         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12636         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12638 2011-10-13  Roland McGrath  <roland@hack.frob.com>
12640         [BZ #13291]
12641         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12643 2011-10-13  Andreas Schwab  <schwab@redhat.com>
12645         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12646         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12647         feraiseexcept.
12649         * sysdeps/x86_64/memrchr.S: Check for zero size.
12651         * string/stratcliff.c: Add memrchr tests.
12653 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12655         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12656         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12657         rawmemchr-sse2 rawmemchr-sse2-bsf.
12658         * sysdeps/i386/i686/multiarch/memchr.S: New file.
12659         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12660         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12661         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12662         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12663         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12664         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12665         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12666         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12667         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12668         * string/memrchr.c (MEMRCHR): New macro.
12670 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
12672         Add integration with gcc's -ffinite-math-only and optimize wrapper
12673         functions in libm.
12674         * Versions.def: Define GLIBC_2.15 version for libm.
12675         * math/Makefile (headers): Add bits/math-finite.h.
12676         * math/bits/math-finite.h: New file.
12677         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12678         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12679         * math/e_acoshl.c: Add __*_finite alias.
12680         * math/e_acosl.c: Likewise.
12681         * math/e_asinl.c: Likewise.
12682         * math/e_atan2l.c: Likewise.
12683         * math/e_atanhl.c: Likewise.
12684         * math/e_coshl.c: Likewise.
12685         * math/e_exp10.c: Likewise.
12686         * math/e_exp10f.c: Likewise.
12687         * math/e_exp10l.c: Likewise.
12688         * math/e_exp2l.c: Likewise.
12689         * math/e_fmodl.c: Likewise.
12690         * math/e_gammal_r.c: Likewise.
12691         * math/e_hypotl.c: Likewise.
12692         * math/e_j0l.c: Likewise.
12693         * math/e_j1l.c: Likewise.
12694         * math/e_jnl.c: Likewise.
12695         * math/e_lgammal_r.c: Likewise.
12696         * math/e_log10l.c: Likewise.
12697         * math/e_log2l.c: Likewise.
12698         * math/e_logl.c: Likewise.
12699         * math/e_powl.c: Likewise.
12700         * math/e_sinhl.c: Likewise.
12701         * math/e_sqrtl.c: Likewise.
12702         * math/e_scalb.c: Completely rewritten and optimized.
12703         * math/e_scalbf.c: Likewise.
12704         * math/e_scalbl.c: Likewise.
12705         * math/w_acos.c: Likewise.
12706         * math/w_acosf.c: Likewise.
12707         * math/w_acosl.c: Likewise.
12708         * math/w_acosh.c: Likewise.
12709         * math/w_acoshf.c: Likewise.
12710         * math/w_acoshl.c: Likewise.
12711         * math/w_asin.c: Likewise.
12712         * math/w_asinf.c: Likewise.
12713         * math/w_asinl.c: Likewise.
12714         * math/w_atan2.c: Likewise.
12715         * math/w_atan2f.c: Likewise.
12716         * math/w_atan2l.c: Likewise.
12717         * math/w_atanh.c: Likewise.
12718         * math/w_atanhf.c: Likewise.
12719         * math/w_atanhl.c: Likewise.
12720         * math/w_exp10.c: Likewise.
12721         * math/w_exp10f.c: Likewise.
12722         * math/w_exp10l.c: Likewise.
12723         * math/w_fmod.c: Likewise.
12724         * math/w_fmodf.c: Likewise.
12725         * math/w_fmodl.c: Likewise.
12726         * math/w_j0.c: Likewise.
12727         * math/w_j0f.c: Likewise.
12728         * math/w_j0l.c: Likewise.
12729         * math/w_j1.c: Likewise.
12730         * math/w_j1f.c: Likewise.
12731         * math/w_j1l.c: Likewise.
12732         * math/w_jn.c: Likewise.
12733         * math/w_jnf.c: Likewise.
12734         * math/w_log.c: Likewise.
12735         * math/w_logf.c: Likewise.
12736         * math/w_logl.c: Likewise.
12737         * math/w_log10.c: Likewise.
12738         * math/w_log10f.c: Likewise.
12739         * math/w_log10l.c: Likewise.
12740         * math/w_log2.c: Likewise.
12741         * math/w_log2f.c: Likewise.
12742         * math/w_log2l.c: Likewise.
12743         * math/w_pow.c: Likewise.
12744         * math/w_powf.c: Likewise.
12745         * math/w_powl.c: Likewise.
12746         * math/w_remainder.c: Likewise.
12747         * math/w_remainderf.c: Likewise.
12748         * math/w_remainderl.c: Likewise.
12749         * math/w_scalb.c: Likewise.
12750         * math/w_scalbf.c: Likewise.
12751         * math/w_scalbl.c: Likewise.
12752         * math/w_sqrt.c: Likewise.
12753         * math/w_sqrtf.c: Likewise.
12754         * math/w_sqrtl.c: Likewise.
12755         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12756         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
12757         used.
12758         * math/math_private.h: Declare __kernel_standard_f.
12759         * math/w_cosh.c: Remove cruft and optimize a bit.
12760         * math/w_coshf.c: Likewise.
12761         * math/w_coshl.c: Likewise.
12762         * math/w_exp2.c: Likewise.
12763         * math/w_exp2f.c: Likewise.
12764         * math/w_exp2l.c: Likewise.
12765         * math/w_hypot.c: Likewise.
12766         * math/w_hypotf.c: Likewise.
12767         * math/w_hypotl.c: Likewise.
12768         * math/w_lgamma.c: Likewise.
12769         * math/w_lgamma_r.c: Likewise.
12770         * math/w_lgammaf.c: Likewise.
12771         * math/w_lgammaf_r.c: Likewise.
12772         * math/w_lgammal.c: Likewise.
12773         * math/w_lgammal_r.c: Likewise.
12774         * math/w_sinh.c: Likewise.
12775         * math/w_sinhf.c: Likewise.
12776         * math/w_sinhl.c: Likewise.
12777         * math/w_tgamma.c: Likewise.
12778         * math/w_tgammaf.c: Likewise.
12779         * math/w_tgammal.c: Likewise.
12780         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12781         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12782         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12783         Minor optimizations.  Pretty printing.  Remove cruft.
12784         * sysdeps/i386/fpu/e_acosf.S: Likewise.
12785         * sysdeps/i386/fpu/e_acosh.S: Likewise.
12786         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12787         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12788         * sysdeps/i386/fpu/e_acosl.c: Likewise.
12789         * sysdeps/i386/fpu/e_asin.S: Likewise.
12790         * sysdeps/i386/fpu/e_asinf.S: Likewise.
12791         * sysdeps/i386/fpu/e_atan2.S: Likewise.
12792         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12793         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12794         * sysdeps/i386/fpu/e_atanh.S: Likewise.
12795         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12796         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12797         * sysdeps/i386/fpu/e_exp10.S: Likewise.
12798         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12799         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12800         * sysdeps/i386/fpu/e_exp2.S: Likewise.
12801         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12802         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12803         * sysdeps/i386/fpu/e_fmod.S: Likewise.
12804         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12805         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12806         * sysdeps/i386/fpu/e_hypot.S: Likewise.
12807         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12808         * sysdeps/i386/fpu/e_log.S: Likewise.
12809         * sysdeps/i386/fpu/e_log10.S: Likewise.
12810         * sysdeps/i386/fpu/e_log10f.S: Likewise.
12811         * sysdeps/i386/fpu/e_log10l.S: Likewise.
12812         * sysdeps/i386/fpu/e_log2.S: Likewise.
12813         * sysdeps/i386/fpu/e_log2f.S: Likewise.
12814         * sysdeps/i386/fpu/e_log2l.S: Likewise.
12815         * sysdeps/i386/fpu/e_logf.S: Likewise.
12816         * sysdeps/i386/fpu/e_logl.S: Likewise.
12817         * sysdeps/i386/fpu/e_pow.S: Likewise.
12818         * sysdeps/i386/fpu/e_powf.S: Likewise.
12819         * sysdeps/i386/fpu/e_powl.S: Likewise.
12820         * sysdeps/i386/fpu/e_remainder.S: Likewise.
12821         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12822         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12823         * sysdeps/i386/fpu/e_scalb.S: Likewise.
12824         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12825         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12826         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12827         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12828         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12829         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12830         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12831         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12832         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12833         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12834         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12835         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12836         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12837         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12838         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12839         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12840         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12841         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12842         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12843         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12844         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12845         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12846         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12847         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12848         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12849         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12850         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12851         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12852         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12853         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12854         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12855         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12856         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12857         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12858         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12859         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12860         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12861         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12862         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12863         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12864         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12865         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12866         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12867         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12868         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12869         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12870         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12871         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12872         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12873         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12874         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12875         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12876         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12877         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12878         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12879         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12880         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12881         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12882         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12883         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12884         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12885         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12886         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12887         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12888         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12889         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12890         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12891         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12892         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12893         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12894         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12895         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12896         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12897         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12898         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12899         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12900         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12901         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12902         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12903         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12904         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12905         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12906         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12907         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12908         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12909         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12910         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12911         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12912         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12913         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12914         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12915         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12916         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12917         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12918         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12919         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12920         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12921         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12922         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12923         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12924         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12925         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12926         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12927         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12928         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12929         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12930         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12931         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12932         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12933         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12934         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12935         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12936         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12937         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12938         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12939         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
12940         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12941         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12942         (__isnanf): Likewise.
12943         (__isinf_ns): Likewise.
12944         (__isinf_nsf): Likewise.
12945         (__finite): Likewise.
12946         (__finitef): Likewise.
12947         (__ieee754_sqrt): Define as macro.
12948         (__ieee754_sqrtf): Define as macro.
12949         (__ieee754_sqrtl): Define as macro.
12950         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12951         inlined copy.
12952         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12953         __FINITE_MATH_ONLY__ consistent.
12954         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12956 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
12958         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12959         of rawmemchr.
12961         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12963 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
12965         * po/ja.po: Update from translation team.
12967 2011-10-08  Roland McGrath  <roland@hack.frob.com>
12969         * locale/programs/locarchive.c (prepare_address_space): New function.
12970         (create_archive, enlarge_archive, open_archive): Use it.
12972         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12973         inside [SHARED], where it is used.
12975         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12977         * nss/getent.c (netgroup_keys): Remove unused variable.
12978         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12980 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
12982         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12983         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12984         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12985         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12986         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12987         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12988         * math/Makefile (libm-calls): Add s_isinf_ns.
12989         * math/divtc3.c: Use __isinf_nsl instead of isinf.
12990         * math/multc3.c: Likewise.
12991         * math/s_casin.c: Likewise.
12992         * math/s_casinf.c: Likewise.
12993         * math/s_casinl.c: Likewise.
12994         * math/s_ccos.c: Likewise.
12995         * math/s_ccosf.c: Likewise.
12996         * math/s_ccosl.c: Likewise.
12997         * math/s_ctan.c: Likewise.
12998         * math/s_ctanf.c: Likewise.
12999         * math/s_ctanh.c: Likewise.
13000         * math/s_ctanhf.c: Likewise.
13001         * math/s_ctanhl.c: Likewise.
13002         * math/s_ctanl.c: Likewise.
13003         * math/w_fmod.c: Likewise.
13004         * math/w_fmodf.c: Likewise.
13005         * math/w_fmodl.c: Likewise.
13006         * math/w_remainder.c: Likewise.
13007         * math/w_remainderf.c: Likewise.
13008         * math/w_remainderl.c: Likewise.
13009         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13010         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13011         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13012         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13013         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13014         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13015         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13016         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13018         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13019         of the number.
13020         * stdio-common/printf_fphex.c: Likewise.
13021         * stdio-common/printf_size.c: Likewise.
13023         * math/e_exp10.c: Include math_private.h using <...> not "...".
13024         * math/e_exp10f.c: Likewise.
13025         * math/e_exp10l.c: Likewise.
13026         * math/e_exp2l.c: Likewise.
13027         * math/e_j0l.c: Likewise.
13028         * math/e_j1l.c: Likewise.
13029         * math/e_jnl.c: Likewise.
13030         * math/e_lgammal_r.c: Likewise.
13031         * math/e_rem_pio2l.c: Likewise.
13032         * math/e_scalb.c: Likewise.
13033         * math/e_scalbf.c: Likewise.
13034         * math/e_scalbl.c: Likewise.
13035         * math/k_cosl.c: Likewise.
13036         * math/k_sinl.c: Likewise.
13037         * math/k_tanl.c: Likewise.
13038         * math/s_cacoshf.c: Likewise.
13039         * math/s_catan.c: Likewise.
13040         * math/s_catanf.c: Likewise.
13041         * math/s_catanh.c: Likewise.
13042         * math/s_catanhf.c: Likewise.
13043         * math/s_catanhl.c: Likewise.
13044         * math/s_catanl.c: Likewise.
13045         * math/s_ccosh.c: Likewise.
13046         * math/s_ccoshf.c: Likewise.
13047         * math/s_ccoshl.c: Likewise.
13048         * math/s_cexp.c: Likewise.
13049         * math/s_cexpf.c: Likewise.
13050         * math/s_cexpl.c: Likewise.
13051         * math/s_clog.c: Likewise.
13052         * math/s_clog10.c: Likewise.
13053         * math/s_clog10f.c: Likewise.
13054         * math/s_clog10l.c: Likewise.
13055         * math/s_clogf.c: Likewise.
13056         * math/s_clogl.c: Likewise.
13057         * math/s_csin.c: Likewise.
13058         * math/s_csinf.c: Likewise.
13059         * math/s_csinh.c: Likewise.
13060         * math/s_csinhf.c: Likewise.
13061         * math/s_csinhl.c: Likewise.
13062         * math/s_csinl.c: Likewise.
13063         * math/s_csqrt.c: Likewise.
13064         * math/s_csqrtf.c: Likewise.
13065         * math/s_csqrtl.c: Likewise.
13066         * math/s_ctan.c: Likewise.
13067         * math/s_ctanf.c: Likewise.
13068         * math/s_ctanh.c: Likewise.
13069         * math/s_ctanhf.c: Likewise.
13070         * math/s_ctanhl.c: Likewise.
13071         * math/s_ctanl.c: Likewise.
13072         * math/s_ldexp.c: Likewise.
13073         * math/s_ldexpf.c: Likewise.
13074         * math/s_ldexpl.c: Likewise.
13075         * math/s_significand.c: Likewise.
13076         * math/s_significandf.c: Likewise.
13077         * math/s_significandl.c: Likewise.
13078         * math/w_acos.c: Likewise.
13079         * math/w_acosf.c: Likewise.
13080         * math/w_acosh.c: Likewise.
13081         * math/w_acoshf.c: Likewise.
13082         * math/w_acoshl.c: Likewise.
13083         * math/w_acosl.c: Likewise.
13084         * math/w_asin.c: Likewise.
13085         * math/w_asinf.c: Likewise.
13086         * math/w_asinl.c: Likewise.
13087         * math/w_atan2.c: Likewise.
13088         * math/w_atan2f.c: Likewise.
13089         * math/w_atan2l.c: Likewise.
13090         * math/w_atanh.c: Likewise.
13091         * math/w_atanhf.c: Likewise.
13092         * math/w_atanhl.c: Likewise.
13093         * math/w_cosh.c: Likewise.
13094         * math/w_coshf.c: Likewise.
13095         * math/w_coshl.c: Likewise.
13096         * math/w_dremf.c: Likewise.
13097         * math/w_exp10.c: Likewise.
13098         * math/w_exp10f.c: Likewise.
13099         * math/w_exp10l.c: Likewise.
13100         * math/w_exp2.c: Likewise.
13101         * math/w_exp2f.c: Likewise.
13102         * math/w_fmod.c: Likewise.
13103         * math/w_fmodf.c: Likewise.
13104         * math/w_fmodl.c: Likewise.
13105         * math/w_hypot.c: Likewise.
13106         * math/w_hypotf.c: Likewise.
13107         * math/w_hypotl.c: Likewise.
13108         * math/w_j0.c: Likewise.
13109         * math/w_j0f.c: Likewise.
13110         * math/w_j0l.c: Likewise.
13111         * math/w_j1.c: Likewise.
13112         * math/w_j1f.c: Likewise.
13113         * math/w_j1l.c: Likewise.
13114         * math/w_jn.c: Likewise.
13115         * math/w_jnf.c: Likewise.
13116         * math/w_jnl.c: Likewise.
13117         * math/w_lgamma.c: Likewise.
13118         * math/w_lgamma_r.c: Likewise.
13119         * math/w_lgammaf.c: Likewise.
13120         * math/w_lgammaf_r.c: Likewise.
13121         * math/w_lgammal.c: Likewise.
13122         * math/w_lgammal_r.c: Likewise.
13123         * math/w_log.c: Likewise.
13124         * math/w_log10.c: Likewise.
13125         * math/w_log10f.c: Likewise.
13126         * math/w_log10l.c: Likewise.
13127         * math/w_log2.c: Likewise.
13128         * math/w_log2f.c: Likewise.
13129         * math/w_log2l.c: Likewise.
13130         * math/w_logf.c: Likewise.
13131         * math/w_logl.c: Likewise.
13132         * math/w_pow.c: Likewise.
13133         * math/w_powf.c: Likewise.
13134         * math/w_powl.c: Likewise.
13135         * math/w_remainder.c: Likewise.
13136         * math/w_remainderf.c: Likewise.
13137         * math/w_remainderl.c: Likewise.
13138         * math/w_scalb.c: Likewise.
13139         * math/w_scalbf.c: Likewise.
13140         * math/w_scalbl.c: Likewise.
13141         * math/w_sinh.c: Likewise.
13142         * math/w_sinhf.c: Likewise.
13143         * math/w_sinhl.c: Likewise.
13144         * math/w_sqrt.c: Likewise.
13145         * math/w_sqrtf.c: Likewise.
13146         * math/w_sqrtl.c: Likewise.
13147         * math/w_tgamma.c: Likewise.
13148         * math/w_tgammaf.c: Likewise.
13149         * math/w_tgammal.c: Likewise.
13151         * po/ja.po: Update from translation team.
13153 2011-09-29  Andreas Jaeger  <aj@suse.de>
13155         [BZ #13179]
13156         * sunrpc/netname.c (netname2host): Fix logic.
13158         [BZ #6779]
13159         [BZ #6783]
13160         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13161         correctly.
13162         * math/w_remainder.c (__remainder): Likewise.
13163         * math/w_remainderf.c (__remainderf): Likewise.
13164         * math/libm-test.inc (remainder_test): Add test cases.
13166 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13168         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
13169         sdiv_qrnnd.
13171 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
13173         * string/test-memcmp.c: Avoid unncessary #defines.
13174         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13176 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13178         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13179         Use new sse2 version for core i3 - i7 as it's faster
13180         than sse42 version.
13181         (bit_Prefer_PMINUB_for_stringop): New.
13182         * sysdeps/x86_64/rawmemchr.S: Update.
13183         Replace with faster SSE2 version.
13184         * sysdeps/x86_64/memrchr.S: New file.
13185         * sysdeps/x86_64/memchr.S: Update.
13186         Replace with faster SSE2 version.
13188 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
13190         * elf/dl-load.c (lose): Add cast to avoid warning.
13192 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
13194         * po/ca.po: Update from translation team.
13196         * inet/getnetgrent_r.c: Hook up nscd.
13197         * nscd/Makefile (routines): Add nscd_netgroup.
13198         (nscd-modules): Add netgroupcache.
13199         (CFLAGS-netgroupcache.c): Define.
13200         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13201         (cache_search): Add const to second parameter.
13202         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13203         INNETGR.
13204         (dbs): Add netgrdb entry.
13205         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13206         (verify_persistent_db): Handle netgrdb.
13207         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13208         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13209         GETFDNETGR.
13210         (netgroup_response_header): Define.
13211         (innetgroup_response_header): Define.
13212         (datahead): Add netgroup_response_header and innetgroup_response_header
13213         elements.
13214         * nscd/nscd.conf: Add entries for netgroup cache.
13215         * nscd/nscd.h (dbtype): Add netgrdb.
13216         (_PATH_NSCD_NETGROUP_DB): Define.
13217         (netgroup_iov_disabled): Declare.
13218         (xmalloc, xcalloc, xrealloc): Move declarations here.
13219         (cache_search): Adjust prototype.
13220         Add netgroup-related prototypes.
13221         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13222         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13223         (__nscd_innetgr): Declare.
13224         * nscd/selinux.c (perms): Use access_vector_t as element type and
13225         add netgroup-related initializers.
13226         * nscd/netgroupcache.c: New file.
13227         * nscd/nscd_netgroup.c: New file.
13228         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13229         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13230         For four parameters use innetgr.
13231         * nss/nss_files/files-init.c: Add definition and callback for netgr.
13232         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13233         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13234         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13236         * nscd/connections.c (register_traced_file): Don't register file
13237         for disabled databases.
13239 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
13241         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13243         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13244         from tree and freeing node.
13246 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
13248         * nss/nsswitch.c (__nss_database_lookup): Handle
13249         nss_parse_service_list out of memory case.
13251 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
13253         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13254         out of memory case.
13256 2011-10-04  Andreas Schwab  <schwab@redhat.com>
13258         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13259         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13260         pass it down.
13261         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13262         elf_machine_rela, elf_machine_lazy_rel.
13263         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13264         (ELF_DYNAMIC_DO_REL): Likewise.
13265         (ELF_DYNAMIC_DO_RELA): Likewise.
13266         (ELF_DYNAMIC_RELOCATE): Likewise.
13267         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13268         to ELF_DYNAMIC_DO_REL.
13269         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13270         (dl_main): In trace mode always set __RTLD_NOIFUNC.
13271         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13272         elf_machine_rela.
13273         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13274         skip_ifunc, don't call ifunc function if non-zero.
13275         (elf_machine_rela): Likewise.
13276         (elf_machine_lazy_rel): Likewise.
13277         (elf_machine_lazy_rela): Likewise.
13278         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13279         (elf_machine_lazy_rel): Likewise.
13280         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13281         Likewise.
13282         (elf_machine_lazy_rel): Likewise.
13283         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13284         Likewise.
13285         (elf_machine_lazy_rel): Likewise.
13286         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13287         (elf_machine_lazy_rel): Likewise.
13288         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13289         (elf_machine_lazy_rel): Likewise.
13290         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13291         (elf_machine_lazy_rel): Likewise.
13292         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13293         (elf_machine_lazy_rel): Likewise.
13294         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13295         (elf_machine_lazy_rel): Likewise.
13296         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13297         (elf_machine_lazy_rel): Likewise.
13299 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
13301         * nss/nss_files/files-init.c (_nss_files_init): Use static
13302         initialization for all the *_traced_file variables.
13304 2011-09-28  Andreas Schwab  <schwab@redhat.com>
13306         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13308 2011-09-27  Roland McGrath  <roland@hack.frob.com>
13310         [BZ #13226]
13311         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13313 2011-09-27  Andreas Schwab  <schwab@redhat.com>
13315         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13316         Reread the line before reparsing it.
13318 2011-09-26  Andreas Schwab  <schwab@redhat.com>
13320         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13322 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
13323             Maxim Kuvyrkov  <maxim@codesourcery.com>
13324             Joseph Myers  <joseph@codesourcery.com>
13326         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13327         if needed for __stack_chk_guard.
13329 2011-09-19  Roland McGrath  <roland@hack.frob.com>
13331         * sysdeps/posix/spawni.c (script_execute): Always define it.
13332         It will be optimized away if unused.
13333         (maybe_script_execute): New function.
13334         (__spawni): Call it.
13336         * Makerules: Don't include tls.make.
13337         (config-tls): Always set to thread.
13338         * tls.make.c: File removed.
13340 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
13342         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13343         * config.make.in (CPPFLAGS-config): New substituted variable.
13345 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
13347         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13349         [BZ #13192]
13350         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13351         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13353 2011-09-15  Roland McGrath  <roland@hack.frob.com>
13355         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13356         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13357         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13358         (CALL_FAIL): Likewise.
13359         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13360         (CALL_FAIL): Macro removed.
13361         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13363 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
13365         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13366         for __FINITE_MATH_ONLY__ == 1.
13368 2011-09-15  Andreas Schwab  <schwab@redhat.com>
13370         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13371         __ieee754_sqrt instead of sqrt.
13372         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13373         __ieee754_sqrtf instead of sqrtf.
13374         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13375         __floorf instead of floorf.
13376         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13377         __floorf, __truncf instead of floorf, truncf.
13379 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
13381         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13383         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13384         __extern_always_inline.
13385         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13386         32-bit.
13388 2011-09-14  Andreas Schwab  <schwab@redhat.com>
13390         * elf/rtld.c (dl_main): Also relocate in dependency order when
13391         doing symbol dependency testing.
13393 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
13395         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13396         Always define `refsym'.
13398 2011-09-13  Andreas Schwab  <schwab@redhat.com>
13400         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13401         (__FD_ELT): Renamed from __FDELT.
13402         * misc/bits/select2.h (__FD_ELT): Likewise.
13403         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13404         __FD_MASK instead of __FDELT, __FDMASK.
13405         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13406         Likewise.
13407         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13408         Likewise.
13410         * elf/Makefile (gen-ldd): Fix pattern.
13412         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13413         (init_tls): Likewise.
13415 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
13417         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13419 2011-09-12  Andreas Schwab  <schwab@redhat.com>
13421         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13422         `struct cmsghdr *' instead of `void *'.
13423         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13424         Likewise.
13426 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
13428         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13429         if non-absolute.
13430         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13431         ldd_rewrite_script.
13433 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
13435         * configure.in: Remove --with-tls option.
13436         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13437         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13438         out in case it is missing.
13439         * sysdeps/ia64/elf/configure.in: Likewise.
13440         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13441         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13442         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13443         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13444         * sysdeps/sh/elf/configure.in: Likewise.
13445         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13446         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13447         * sysdeps/x86_64/elf/configure.in: Likewise.
13448         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13449         * sysdeps/mach/hurd/tls.h: Likewise.
13451         [BZ #13067]
13452         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13454         [BZ #13090]
13455         * configure.in: Fix use of AC_INIT.
13457         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13459 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
13461         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13462         __set_errno.
13463         * malloc/hooks.c: Likewise.
13465         [BZ #11929]
13466         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
13467         variables statically.
13468         (narenas): Initialize.
13469         (list_lock): Initialize.
13470         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
13471         initializtion of main_arena and list_lock.  Small cleanups.
13472         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13473         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
13474         Add initializers to main_arena and mp_.
13475         (malloc_state): Remove pagesize member.  Change all users to use
13476         GLRO(dl_pagesize).
13478         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13479         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
13480         is always initialized.
13482         * malloc/malloc.c: Removed unused configurations and dead code.
13483         * malloc/arena.c: Likewise.
13484         * malloc/hooks.c: Likewise.
13485         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13487         * include/tls.h: Removed.  USE___THREAD must always be defined.
13488         * bits/libc-tsd.h: Don't handle !USE___THREAD.
13489         * elf/dl-libc.c: Likewise.
13490         * elf/dl-tsd.c: Likewise.
13491         * include/errno.h: Likewise.
13492         * include/netdb.h: Likewise.
13493         * include/resolv.h: Likewise.
13494         * inet/herrno-loc.c: Likewise.
13495         * inet/herrno.c: Likewise.
13496         * malloc/arena.c: Likewise.
13497         * malloc/hooks.c: Likewise.
13498         * malloc/malloc.c: Likewise.
13499         * resolv/res-state.c: Likewise.
13500         * resolv/res_libc.c: Likewise.
13501         * sysdeps/i386/dl-machine.h: Likewise.
13502         * sysdeps/ia64/dl-machine.h: Likewise.
13503         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13504         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13505         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13506         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13507         * sysdeps/sh/dl-machine.h: Likewise.
13508         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13509         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13510         * sysdeps/unix/i386/sysdep.S: Likewise.
13511         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13512         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13513         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13514         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13515         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13516         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13517         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13518         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13519         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13521         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13522         * sysdeps/x86_64/dl-machine.h: Likewise.
13523         * tls.make.c: Likewise.
13525         * configure.in: Remove --with-__thread option.  Make tests for
13526         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13527         tls_model attribute fail if no support is available.  Remove
13528         USE_IN_LIBIO.
13529         * Makeconfig: Adjust for dropped configure option.  All features are
13530         now mandatory.
13531         * Makerules: Likewise.
13532         * Versions.def: Likewise.
13533         * argp/argp-fmtstream.c: Likewise.
13534         * argp/argp-fmtstream.h: Likewise.
13535         * argp/argp-help.c: Likewise.
13536         * assert/assert.c: Likewise.
13537         * config.h.in: Likewise.
13538         * config.make.in: Likewise.
13539         * configure: Likewise.
13540         * configure.in: Likewise.
13541         * csu/Versions: Likewise.
13542         * csu/init.c: Likewise.
13543         * elf/tst-audit2.c: Likewise.
13544         * elf/tst-tls10.c: Likewise.
13545         * elf/tst-tls10.h: Likewise.
13546         * elf/tst-tls11.c: Likewise.
13547         * elf/tst-tls12.c: Likewise.
13548         * elf/tst-tls14.c: Likewise.
13549         * elf/tst-tlsmod11.c: Likewise.
13550         * elf/tst-tlsmod12.c: Likewise.
13551         * elf/tst-tlsmod13.c: Likewise.
13552         * elf/tst-tlsmod13a.c: Likewise.
13553         * elf/tst-tlsmod14a.c: Likewise.
13554         * elf/tst-tlsmod15b.c: Likewise.
13555         * elf/tst-tlsmod16a.c: Likewise.
13556         * elf/tst-tlsmod16b.c: Likewise.
13557         * elf/tst-tlsmod7.c: Likewise.
13558         * elf/tst-tlsmod8.c: Likewise.
13559         * elf/tst-tlsmod9.c: Likewise.
13560         * gmon/gmon.c: Likewise.
13561         * grp/fgetgrent_r.c: Likewise.
13562         * grp/putgrent.c: Likewise.
13563         * hurd/fopenport.c: Likewise.
13564         * include/libc-symbols.h: Likewise.
13565         * include/tls.h: Likewise.
13566         * intl/gettextP.h: Likewise.
13567         * intl/loadinfo.h: Likewise.
13568         * locale/global-locale.c: Likewise.
13569         * locale/localeinfo.h: Likewise.
13570         * mach/devstream.c: Likewise.
13571         * malloc/arena.c: Likewise.
13572         * malloc/set-freeres.c: Likewise.
13573         * misc/err.c: Likewise.
13574         * misc/getttyent.c: Likewise.
13575         * misc/mntent_r.c: Likewise.
13576         * posix/getopt.c: Likewise.
13577         * posix/wordexp.c: Likewise.
13578         * pwd/fgetpwent_r.c: Likewise.
13579         * resolv/Versions: Likewise.
13580         * resolv/res_hconf.c: Likewise.
13581         * shadow/fgetspent_r.c: Likewise.
13582         * shadow/putspent.c: Likewise.
13583         * stdio-common/printf_fphex.c: Likewise.
13584         * stdio-common/tmpfile.c: Likewise.
13585         * stdlib/abort.c: Likewise.
13586         * stdlib/fmtmsg.c: Likewise.
13587         * sunrpc/auth_unix.c: Likewise.
13588         * sunrpc/clnt_perr.c: Likewise.
13589         * sunrpc/clnt_tcp.c: Likewise.
13590         * sunrpc/clnt_udp.c: Likewise.
13591         * sunrpc/clnt_unix.c: Likewise.
13592         * sunrpc/openchild.c: Likewise.
13593         * sunrpc/svc_simple.c: Likewise.
13594         * sunrpc/svc_tcp.c: Likewise.
13595         * sunrpc/svc_udp.c: Likewise.
13596         * sunrpc/svc_unix.c: Likewise.
13597         * sunrpc/xdr.c: Likewise.
13598         * sunrpc/xdr_array.c: Likewise.
13599         * sunrpc/xdr_rec.c: Likewise.
13600         * sunrpc/xdr_ref.c: Likewise.
13601         * sunrpc/xdr_stdio.c: Likewise.
13603 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13605         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13607 2011-07-03  Andreas Jaeger  <aj@suse.de>
13609         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13610         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13611         regenerate with gen-libm-tests.pl.
13613 2010-05-12  Petr Baudis  <pasky@suse.cz>
13615         [BZ #11589]
13616         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13617         around j0() zero points by switching to j1().
13618         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13619         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13620         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13621         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13623 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13625         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13626         instead of 0.
13627         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13628         instead of 0.                              .
13629         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13630         Patch in part by Pavel Roskin <proski@gnu.org>.
13632         [BZ #13138]
13633         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13634         realloc.
13635         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
13636         Free memory block if necessary.
13638         [BZ #12847]
13639         * libio/genops.c (INTDEF): For string streams the _lock pointer can
13640         be NULL.  Don't lock in this case.
13642 2011-09-09  Roland McGrath  <roland@hack.frob.com>
13644         * elf/elf.h (ELFOSABI_GNU): New macro.
13645         (ELFOSABI_LINUX): Define to that.
13647 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
13649         * string/strncat.c (strncat): Undef the symbol in case it has been
13650         defined in bits/string.h.
13652 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13654         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13656         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13657         link map.
13659 2011-08-17  Andreas Jaeger  <aj@suse.de>
13661         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13663 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13664             Ian Lance Taylor  <iant@google.com>
13666         * math/libm-test.inc (lround_test): New testcase.
13667         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13669 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
13671         * Makefile: Remove support for automatic cvs check-ins.
13672         * Makerules: Likewise.
13673         * config.make.in: Likewise.
13674         * configure.in: Likewise.
13675         * intl/Makefile: Likewise.
13676         * locale/Makefile: Likewise.
13677         * po/Makefile: Likewise.
13678         * posix/Makefile: Likewise.
13679         * sysdeps/gnu/Makefile: Likewise.
13680         * sysdeps/mach/hurd/Makefile: Likewise.
13681         * sysdeps/sparc/sparc32/Makefile: Likewise.
13683         [BZ #13118]
13684         * posix/Makefile (bug-regex32-ENV): Define.
13685         Patch by John Stanley <jpsinthemix@verizon.net>.
13687         * misc/Makefile (headers): Add bits/select2.h.
13688         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13689         * misc/bits/select2.h: New file.
13690         * include/bits/select2.h: New file.
13691         * debug/Makefile (routines): Add fdelt_chk.
13692         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13693         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13694         FD_ISSET.
13695         * debug/fdelt_chk.c: New file.
13697         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
13698         * wcsmbs/test-wmemcmp.c: Likewise.
13699         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13700         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13702 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13704         * string/Makefile (strop-tests): Add memcmp.
13705         * string/test-wmemcmp.c: New file.
13706         * string/test-memcmp.c: Add wmemcmp support.
13708 2011-09-08  Roland McGrath  <roland@hack.frob.com>
13710         [BZ #13153]
13711         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13712         2011-07-19 change.
13714         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13715         garbage value in a __mach_port_mod_refs call in the cases of the
13716         task-self and thread-self ports.
13718 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13720         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13722 2011-09-08  Andreas Schwab  <schwab@redhat.com>
13724         * elf/dl-load.c (lose): Check for non-null L.
13726 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
13728         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13730         * elf/dl-libc.c (dlerror_run): Pass back error code from
13731         dl_catch_error.
13733         [BZ #13123]
13734         * elf/dl-load.c (lose): Free l_origin if it is valid.
13736         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13737         names.
13738         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13739         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13740         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13741         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13742         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13743         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13745 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13747         * sysdeps/powerpc/fpu/e_hypot.c: New file.
13748         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13749         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13750         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13751         * sysdeps/powerpc/fpu/k_cosf.c: New file.
13752         * sysdeps/powerpc/fpu/k_sinf.c: New file.
13753         * sysdeps/powerpc/fpu/s_cosf.c: New file.
13754         * sysdeps/powerpc/fpu/s_sinf.c: New file.
13755         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13756         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13758 2011-08-15  Alan Modra  <amodra@gmail.com>
13760         [BZ #13092]
13761         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13762         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13763         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
13764         ppc_mcount to static-only-routines.
13765         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13766         __mcount_internal.
13767         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13768         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
13770 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
13772         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13773         for finite and infinity parameters.
13775 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
13777         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13778         and add nop instructions for throughput optimization.
13779         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13781 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
13783         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13784         aligned copy for power7 with vector-scalar instructions.
13785         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13787 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
13789         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13790         AVX check.
13792 2011-09-07  Andreas Schwab  <schwab@redhat.com>
13794         [BZ #13144]
13795         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13796         last change.
13798 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
13800         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13801         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13802         syscall wrapper around clock_gettime in __vdso_clock_gettime.
13803         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13804         clock_gettime.
13806 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
13808         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13809         Forgot to demangle the pointer.
13811         * sysdeps/i386/sysdep.h: Define atom_text_section.
13812         * sysdeps/x86_64/sysdep.h: Likewise.
13813         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13814         section with atom_text_section.
13815         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13816         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13817         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13818         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13819         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13821         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13822         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13823         already be defined.  Change to take two parameters and don't assign
13824         result to variable.  Adjust all users.
13825         Define INTERNAL_GETTIME if not already defined.
13826         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13827         call.
13828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13829         HAVE_CLOCK_GETTIME_VSYSCALL.
13830         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13832         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13833         gettimeofday vsyscall, just use time.
13835 2011-09-06  Andreas Schwab  <schwab@redhat.com>
13837         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13838         <errno.h>.
13840 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
13842         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13843         syscall on x86-64.
13844         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13845         syscall.
13846         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13847         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13848         syscall if possible.
13850 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
13852         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13853         e_ident.  Don't pass to find_mapsXX.
13854         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13856 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13858         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13859         strchr-sse2-no-bsf strrchr-sse2-no-bsf
13860         * sysdeps/x86_64/multiarch/strchr.S: Update.
13861         Check bit_slow_BSF bit.
13862         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13863         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13864         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13866 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
13868         [BZ #13134]
13869         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13870         before glibc 2.15.
13871         (tryshell): Define.
13872         (__spawni): Change last parameter to be flag.  Test
13873         SPAWN_XFLAGS_USE_PATH flag to use path or not.
13874         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13875         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13876         * posix/spawni.c: Likewise.
13877         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13878         * posix/spawnp.c: Likewise.  Change normal version to use
13879         SPAWN_XFLAGS_USE_PATH.
13880         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13881         SPAWN_XFLAGS_TRY_SHELL.
13883         [BZ #13150]
13884         * posix/glob.h: Remove gcc 1.x support.
13886         [BZ #13068]
13887         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13889 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13891         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13892         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13893         strrchr-sse2-bsf
13894         * sysdeps/i386/i686/multiarch/strchr.S: New file.
13895         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13896         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13897         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13898         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13899         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13901 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13903         * sysdeps/x86_64/wcscmp.S: New file.
13905         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13906         wcscmp-c wcscmp-sse2
13907         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13908         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13909         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13910         * wcsmbs/wcscmp.c: Allow renaming.
13912 2011-09-05  David S. Miller  <davem@davemloft.net>
13914         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13915         stack slot, rather than the struct return pointer slot.
13916         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13917         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13919         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13921 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
13923         * po/ja.po: Update from translation team.
13925         [BZ #13144]
13926         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13927         kernel in 64-bit binaries.
13929 2011-09-01  David S. Miller  <davem@davemloft.net>
13931         * elf/elf.h (HWCAP_SPARC_*): Move to..
13932         * sysdeps/sparc/sysdep.h: this new file and add new values.
13933         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13934         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13935         _DL_HWCAP_COUNT to 24.
13936         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13937         entries.
13938         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13939         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13940         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13941         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13942         instead of magic constants.
13943         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13945 2011-08-31  David S. Miller  <davem@davemloft.net>
13947         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13948         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13949         Reimplement to do errno handling inline.
13950         (SYSCALL_ERROR_HANDLER): New macro.
13951         (__SYSCALL_STRING): Do not do errno handling in asm.
13952         (__CLONE_SYSCALL_STRING): Delete.
13953         (__INTERNAL_SYSCALL_STRING): Delete.
13954         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13955         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13956         (PSEUDO): Reimplement to do errno handling inline.
13957         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13958         (SYSCALL_ERROR_HANDLER): New macro.
13959         (__SYSCALL_STRING): Do not do errno handling in asm.
13960         (__CLONE_SYSCALL_STRING): Delete.
13961         (__INTERNAL_SYSCALL_STRING): Delete.
13962         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13963         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13964         i386.
13965         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13966         (inline_syscall*): Add 'err' argument.
13967         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13968         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13969         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13970         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13972         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13973         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13975 2011-08-30  Andreas Schwab  <schwab@redhat.com>
13977         * elf/rtld.c (dl_main): Relocate objects in dependency order.
13979 2011-08-29  Jiri Olsa <jolsa@redhat.com>
13981         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13982         directive.
13984 2011-08-24  David S. Miller  <davem@davemloft.net>
13986         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13988 2011-08-24  Andreas Schwab  <schwab@redhat.com>
13990         * elf/Makefile: Add rules to build and run unload8 test.
13991         * elf/unload8.c: New file.
13992         * elf/unload8mod1.c: New file.
13993         * elf/unload8mod1x.c: New file.
13994         * elf/unload8mod2.c: New file.
13995         * elf/unload8mod3.c: New file.
13997         * elf/dl-close.c (_dl_close_worker): Reset private search list if
13998         it wasn't used.
14000 2011-08-23  David S. Miller  <davem@davemloft.net>
14002         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14003         subtract stack bias.
14004         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14005         %sp not %fp in calculations.
14006         (_JMPBUF_UNWINDS_ADJ): Likewise.
14008         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14009         (aio_suspend): Call it to force an exception region around the
14010         AIO_MISC_WAIT() invocation.
14012 2011-08-23  Andreas Schwab  <schwab@redhat.com>
14014         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14015         backslash.
14017 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
14019         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14020         protection macro.
14021         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14022         and <dl-machine.h>.
14023         (Elf64_FuncDesc): Remove.
14025 2011-08-22  David S. Miller  <davem@davemloft.net>
14027         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14028         sigaltstack check, add missing cfi directives.
14029         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14030         missing cfi directives, and sigaltstack handling.
14032 2011-08-16  Andreas Schwab  <schwab@redhat.com>
14034         [BZ #11724]
14035         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14036         object is seen twice.
14037         * elf/dl-fini.c (_dl_sort_fini): Likewise.
14039         * elf/Makefile (distribute): Add tst-initorder2.c.
14040         (tests): Add tst-initorder2.
14041         (modules-names): Add tst-initorder2a tst-initorder2b
14042         tst-initorder2c tst-initorder2d.  Add rules to build them.
14043         ($(objpfx)tst-initorder2.out): New rule.
14044         * elf/tst-initorder2.c: New file.
14045         * elf/tst-initorder2.exp: New file.
14047 2011-08-22  Andreas Schwab  <schwab@redhat.com>
14049         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14051         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14052         dependencies back to end of function.
14054         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14055         $(elfobjdir)/ld.so.
14057 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
14059         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14060         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14061         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14062         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14063         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14064         of __vdso_gettimeofday.
14065         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14066         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
14067         attribute_hidden.
14068         (_libc_vdso_platform_setup): Remove initialization of
14069         __vdso_gettimeofday and __vdso_time.
14071 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
14073         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14074         and fgetc_unlocked.
14075         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14076         getc_unlocked.
14078         * elf/dl-open.c (add_to_global): Report additions to the global scope
14079         for LD_DEBUG=scopes.
14080         (dl_open_worker): Also print scope of newly loaded dependencies.
14081         (_dl_show_scope): Indicate if there is no scope.
14083         [BZ #13114]
14084         * stdio-common/Makefile (tests): Add bug24.
14085         * stdio-common/bug24.c: New file.
14087 2011-08-19  Andreas Jaeger  <aj@suse.de>
14089         [BZ #13114]
14090         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14091         non-existant file when using close-on-exec mode.
14093 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
14095         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14096         the very first instruction.
14098         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14099         the CFI state in the end.
14100         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14101         inclusion of dl-trampoline.h.
14102         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14104 2011-08-19  Andreas Schwab  <schwab@redhat.com>
14106         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14107         expectations for long double.
14109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14110         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14112 2011-08-14  David S. Miller  <davem@davemloft.net>
14114         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14115         artificual limit depends upon the system page size.
14117 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
14119         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14120         * resolv/Makefile: Define CFLAGS-libresolv.
14122 2011-08-17  Andreas Schwab  <schwab@redhat.com>
14124         * nss/makedb.c (compute_tables): Make variables used in nested
14125         function static.
14127 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
14129         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14130         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14131         if buffer was too small.
14133         * elf/pldd.c (main): Attach to all threads in the process.
14134         Rewrite /proc handling to use *at functions.
14136 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
14138         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14139         specifies first scope to show.
14140         (dl_open_worker): Update callers.  Move printing scope of new
14141         object to before the relocation.
14142         * elf/rtld.c (dl_main): Update _dl_show_scope call.
14143         * sysdeps/generic/ldsodefs.h: Update declaration.
14145         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14146         string for the scope number.
14148 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
14150         * nscd/servicescache.c (cache_addserv): Make sure written is always
14151         initialized.
14153 2011-08-14  Roland McGrath  <roland@hack.frob.com>
14155         * sysdeps/i386/i486/bits/atomic.h
14156         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14157         statement expression, so as to suppress "set but not used" warning.
14158         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14160         * string/strncat.c (STRNCAT): Use prototype definition.
14162         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14163         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14164         -Iprograms here.
14165         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14166         (localedef-modules): Add localedef.
14167         (locale-modules): Add locale.
14169         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14170         * elf/rtld.c (dl_main): Invert order of assignment in last change,
14171         to avoid a warning.
14173 2011-08-14  David S. Miller  <davem@davemloft.net>
14175         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14176         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14178 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
14180         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14181         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14182         * elf/rtld.c (dl_main): Set l_name of vDSO.
14183         Call _dl_show_scope when DL_DEBUG_SCOPES.
14184         (process_dl_debug): Recognize scopes flag and also set it for all.
14185         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14186         Declare _dl_show_scope.
14188         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14189         (do_dlopen): Pass caller_dlopen to dl_open.
14190         (__libc_dlopen_mode): Initialize caller_dlopen.
14192         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14193         of libc.  Make tolower call locale-independent.  Optimize a bit by
14194         using isdigit instead of isalnum.
14195         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14197 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
14199         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14200         was a dependency or dynamically loaded.
14202 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
14204         * intl/l10nflist.c: Allow architecture-specific pop function.
14205         * sysdeps/x86_64/l10nflist.c: New file.
14207         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14208         classification.
14210 2011-08-10  Andreas Schwab  <schwab@redhat.com>
14212         * include/dirent.h: Add libc_hidden_proto for scandirat and
14213         scandirat64.  Don't declare __scandirat64.
14214         * dirent/scandirat.c: Add libc_hidden_def.
14215         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14216         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14218 2011-08-10  David S. Miller  <davem@davemloft.net>
14220         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14221         enum.
14222         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14223         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14224         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14226 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
14228         * Versions.def [libc]: Add GLIBC_2.15.
14229         * dirent/Makefile (routines): Add scandirat and scandirat64.
14230         * dirent/Versions [libc]: Export scandirat and scandirat64 for
14231         GLIBC_2.15.
14232         * dirent/dirent.h: Declare scandirat and scandirat64.
14233         * dirent/scandirat.c: New file.
14234         * dirent/scandirat64.c: New file.
14235         * sysdeps/wordsize-64/scandirat.c: New file.
14236         * sysdeps/wordsize-64/scandirat64.c: New file.
14237         * dirent/opendir.c: Define opendirat.
14238         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
14239         using scandirat.
14240         * dirent/scandir64.c: Adjust for scandir.c change.
14241         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
14242         __scandirat64, and __scandir_cancel_handler.
14243         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
14244         additional parameter and use openat instead of open (outside of ld.so).
14245         Add new __opendir as wrapper around __opendirat.
14246         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14247         here without requiring old scandirat implementation.
14249 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
14251         * dirent/scandir.c (cancel_handler): Renamed to
14252         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
14253         defined.  Adjust users.
14254         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14255         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14257 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
14259         * string/test-string.h (IMPL): Use __STRING to expand name and then
14260         stringify it.
14262         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
14263         of cleanups.
14265 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14267         * string/Makefile: Update.
14268         (strop-tests): Append strncat.
14269         * string/test-wcscmp.c: New file.
14270         New comprehensive test for wcscmp.
14271         * string/test-strcmp.c: Update.
14272         (WIDE): New define.
14274 2011-07-22  Andreas Schwab  <schwab@redhat.com>
14276         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14277         line.
14279 2011-07-26  Andreas Schwab  <schwab@redhat.com>
14281         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14282         encoding to ACE if AI_IDN.
14284 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
14286         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14287         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14289 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14291         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14292         Fix overflow bug in strncat.
14293         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14295         * string/test-strncat.c: Update.
14296         Add new tests for checking overflow bugs.
14298 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14300         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14301         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14302         * sysdeps/i386/i686/multiarch/strcat.S: New file.
14303         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14304         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14305         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14306         * sysdeps/i386/i686/multiarch/strncat.S: New file.
14307         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14308         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14310         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14311         (USE_AS_STRCAT): Define.
14312         Add strcat and strncat support.
14313         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14315 2011-07-25  Andreas Schwab  <schwab@redhat.com>
14317         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14318         __n bigger than INT_MAX+1.
14319         (__strncmp_g): Likewise.
14321 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
14323         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14324         * libio/stido.h: Likewise.
14326         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14327         (AF_NFC): Define.
14328         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14329         (AF_NFC): Define.
14331         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14332         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14333         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14334         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14335         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14337         [BZ #13021]
14338         * scripts/test-installation.pl: Don't expect libnss_test1 to be
14339         installed.
14341         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14342         typo.
14343         (_dl_x86_64_save_sse): Likewise.
14345 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
14347         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14348         OSXSAVE.
14349         (_dl_x86_64_save_sse): Likewise.
14351         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14353         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14355 2011-07-21  Andreas Schwab  <schwab@redhat.com>
14357         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14358         change.
14359         (_dl_x86_64_save_sse): Use correct AVX check.
14361 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14363         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14364         bug in strncpy/strncat.
14365         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14367 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
14369         * string/tester.c (test_strcat): Add tests for different alignments
14370         of source and destination.
14371         (test_strncat): Likewise.
14373 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
14375         [BZ #12852]
14376         * posix/glob.c (glob): Check passed in values before using them in
14377         expressions to avoid some overflows.
14378         (glob_in_dir): Likewise.
14380         [BZ #13007]
14381         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14382         check for AVX enablement so that we don't crash with old kernels and
14383         new hardware.
14384         * elf/tst-audit4.c: Add same checks here.
14385         * elf/tst-audit6.c: Likewise.
14387         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14389 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
14391         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14393 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
14395         * po/cs.po: Update from translation team.
14396         * po/bg.po: Likewise.
14398 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
14400         * misc/sys/cdefs.h: Add support for const attribute.
14401         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14402         to gnu_dev_{major,minor,makedev} functions.
14404 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
14406         * intl/dcigettext.c (get_output_charset): Add missing bracket.
14408 2011-07-20  Andreas Schwab  <schwab@redhat.com>
14410         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14411         strlen results.
14413 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14415         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14416         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14417         register in order to avoid conflicts with the soft frame pointer
14418         being held in r11 when necessary.
14419         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14420         (INTERNAL_VSYSCALL_NCS): Likewise.
14422 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
14424         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14425         * elf/dl-fini.c (_dl_fini): Adjust caller.
14426         * elf/dl-close.c (_dl_close_worker): Likewise.
14427         * sysdeps/generic/ldsodefs.h: Adjust declaration.
14429 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
14431         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14432         "aux_cache->nlibs < 0".
14434         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14435         in the reload-count case.
14437 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14439         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14440         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14441         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14442         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14443         * sysdeps/x86_64/multiarch/strcat.S: New file.
14444         * sysdeps/x86_64/multiarch/strncat.S: New file.
14445         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14446         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14447         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14448         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14449         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14450         (USE_AS_STRCAT): Define.
14451         Add strcat and strncat support.
14452         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14453         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14454         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14455         * string/strncat.c: Update.
14456         (USE_AS_STRNCAT): Define.
14457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14458         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14459         and i7.
14460         * sysdeps/x86_64/multiarch/init-arch.h
14461         (bit_Prefer_PMINUB_for_stringop): New.
14462         (index_Prefer_PMINUB_for_stringop): Likewise.
14463         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14464         bit_Prefer_PMINUB_for_stringop.
14466 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
14468         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14469         buffer64.
14470         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14471         of casting of buffer.
14472         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14473         buffer32 and buffer64.
14474         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14475         writes instead of casting of buffer.
14476         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14477         buffer32.
14478         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14479         casting of buffer.
14481 2011-07-19  Andreas Schwab  <schwab@redhat.com>
14483         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14485 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
14487         * nscd/nscd.c (termination_handler): Don't do anything for a database
14488         if it has not yet been initialized.
14490 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
14492         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14494 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
14496         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14498 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
14500         * po/nl.po: Update from translation team.
14501         * po/sv.po: Likewise.
14503 2011-07-16  Roland McGrath  <roland@hack.frob.com>
14505         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14506         now disallowed by GCC.
14508         * configure.in (use-default-link): Default to yes if a test -shared
14509         link meets our qualifications.
14510         * configure: Regenerated.
14512         * config.make.in (output-format): New variable.
14513         * configure.in: Check for ld --print-output-format support.
14514         * configure: Regenerated.
14515         * Makerules ($(common-objpfx)format.lds)
14516         [$(output-format) != unknown]: Just use $(output-format),
14517         instead of the linker-script munging.
14519 2011-07-14  Roland McGrath  <roland@hack.frob.com>
14521         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14522         of $(common-objpfx)shlib.lds.
14523         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14525         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14526         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14528         * configure.in (-z relro check): Adjust test code to add a large
14529         writable data section after it.
14530         * configure: Regenerated.
14532 2011-07-11  Roland McGrath  <roland@hack.frob.com>
14534         * configure.in (-z relro check): Fix test code to make the variable
14535         truly const.
14536         * configure: Regenerated.
14538 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
14540         * nscd/nscd.h (struct traced_file): Define.
14541         (struct database_dyn): Remove inotify_descr, reset_res, and filename
14542         elements.  Add traced_files.
14543         (inotify_fd): Declare.
14544         (register_traced_file): Declare.
14545         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14546         (inotify_fd): Export.
14547         (resolv_conf_descr): Remove.
14548         (nscd_init): Move inotify descriptor creation to main.
14549         Don't register files for notification here.
14550         (register_traced_file): New function.
14551         (invalidate_cache): Don't use reset_res to determine whether to call
14552         res_init, go through the list of registered files.
14553         (main_loop_poll): The inotify descriptors are now stored in the
14554         structures for the traced files.
14555         (main_loop_epoll): Likewise
14556         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
14557         to __nss_disable_nscd.
14558         * nscd/cache.c (prune_cache): There is no single inotify descriptor
14559         for a database anymore.  Check the records for all the registered
14560         files instead.
14561         * nss/Makefile (libnss_files-routines): Add files-init.
14562         (libnss_db-routines): Add db-init.
14563         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14564         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14565         * nss/nss_db/db-init.c: New file.
14566         * nss/nss_files/files-init.c: New file.
14567         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
14568         __nss_lookup_function.
14569         (__nss_lookup_function): Call nss_load_library.
14570         (nss_load_all_libraries): New function.
14571         (__nss_disable_nscd): Take parameter with callback function for files
14572         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
14573         used for the cached services.
14574         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14575         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14576         options for features to all the files in nscd.
14578         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14580 2011-07-10  Roland McGrath  <roland@hack.frob.com>
14582         * csu/elf-init.c (__libc_csu_init): Comment typo.
14584 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
14586         * po/pl.po: Update from translation team.
14587         * po/ja.po: Likewise.
14588         * po/ru.po: Likewise.
14589         * po/ko.po: Likewise.
14590         * po/fr.po: Likewise.
14592 2011-07-09  Roland McGrath  <roland@hack.frob.com>
14594         * configure.in (.ctors/.dtors header and trailer check):
14595         Use an empirical test on a built program.
14596         * configure: Regenerated.
14598         * configure.in (-z relro check): Use an empirical test on a built DSO.
14599         Detect, but do not require, on ia64.
14600         * configure: Regenerated.
14602         * configure.in (READELF): Find it with AC_CHECK_TOOL.
14603         Update tests that use readelf to use $READELF instead.
14604         * configure: Regenerated.
14606 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
14608         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14609         if the result is not used.
14611 2011-07-05  Andreas Jaeger  <aj@suse.de>
14613         [BZ#9696]
14614         * stdlib/tst-strtod.c: Add testcase.
14616 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
14618         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14619         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14620         The latter has a higher limit.  Take additional parameter to pass to
14621         the new function.
14622         (__pathconf): Pass file to __statfs_link_max.
14623         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14624         __statfs_link_max.
14625         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14626         __statfs_link_max.
14628         [BZ #12868]
14629         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14630         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14631         Handle Lustre.
14632         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14633         (__statfs_filesize_max): Likewise.
14634         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14636 2011-07-05  Andreas Jaeger  <aj@suse.de>
14638         * resolv/res_comp.c (dn_skipname): Remove unused variable.
14640 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
14642         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14643         `status' variable.
14644         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14645         Likewise.
14647 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
14649         * Makefile (strop-tests): Add strncat.
14650         * string/test-strncat.c: New file.
14652 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
14654         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14656 2011-06-21  Andreas Jaeger  <aj@suse.de>
14658         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14659         Copy rule from iconvdata/Makefile.
14661 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
14663         [BZ #12922]
14664         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14665         but no long options are defined, just return 'W'.
14667 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
14669         [BZ #9696]
14670         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14672 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
14674         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14675         netgroups to read.
14676         (innetgr): Likewise.
14678 2011-07-05  Roland McGrath  <roland@hack.frob.com>
14680         * config.make.in (install_root): Default to $(DESTDIR).
14682 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
14684         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14686 2011-07-02  Roland McGrath  <roland@hack.frob.com>
14688         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14690         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14691         containing directory rather than embedding absolute directory names.
14693         * scripts/check-local-headers.sh: Rewritten using awk.
14694         Match by word, not by line.  Print error messages for matches.
14695         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14697         * Makerules [shlib-lds-flags empty]:
14698         ($(common-objpfx)libc_pic.opts): New target.
14699         ($(common-objpfx)libc_pic.os.clean): New target.
14700         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14702         * config.make.in (OBJCOPY): New variable.
14703         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14704         * configure: Regenerated.
14706         * config.make.in (use-default-link): New variable.
14707         * configure.in (use_default_link): Grok --with-default-link to set it.
14708         * configure: Regenerated.
14709         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14710         (shlib-lds, shlib-lds-flags): Define to empty.
14712         * Makerules (shlib-lds): New variable.
14713         (shlib-lds-flags): New variable.
14714         (build-shlib, build-moduile, build-module-asneeded): Use it.
14715         ($(common-objpfx)libc.so): Use $(shlib-lds).
14716         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14717         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14719         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14720         DT_FLAGS/DT_FLAGS_1 with zero flags.
14722         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14723         linker script munging.
14725 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
14727         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14728         as 128-bit value.
14729         * crypt/sha512.c (sha512_process_block): Perform total addition using
14730         128-bit if possible.
14731         (__sha512_finish_ctx): Likewise.
14732         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14733         as 64-bit value.
14734         * crypt/sha256.c (SWAP64): Define.
14735         (sha256_process_block): Perform total addition using 64-bit if
14736         possible.
14737         (__sha256_finish_ctx): Likewise.
14739 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
14741         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
14742         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14743         * nscd/hstcache.c (cache_addhst): Likewise.
14744         * nscd/grpcache.c (cache_addgr): Likewise.
14745         * nscd/aicache.c (addhstaiX): Likewise
14746         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14748 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
14750         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14751         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14752         * nscd/hstcache.c (cache_addhst): Likewise.
14753         * nscd/grpcache.c (cache_addgr): Likewise.
14754         * nscd/aicache.c (addhstaiX): Likewise
14756 2011-07-01  Andreas Schwab  <schwab@redhat.com>
14758         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14759         domain only when needed.
14761 2011-06-30  Andreas Schwab  <schwab@redhat.com>
14763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14764         is always restored.
14766 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
14768         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14769         are re-adding the entry.
14770         * nscd/servicescache.c (cache_addserv): Likewise.
14772 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
14774         * sysdeps/generic/dl-irel.h: fix protection against multiple
14775         inclusions.
14776         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14778 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
14780         [BZ #12935]
14781         * malloc/memusage.sh: Fix quoting in message.
14782         * debug/xtrace.sh: Likewise.
14784         * configure.in: Remove support for --experimental-malloc option, make
14785         it the default.
14786         * config.make.in: Likewise.
14787         * malloc/Makefile: Likewise.
14789 2011-06-27  Andreas Schwab  <schwab@redhat.com>
14791         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14792         two-byte characters.
14794 2011-06-27  Roland McGrath  <roland@hack.frob.com>
14796         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14797         AC_CACHE_CHECK invocation.
14798         * configure: Regenerated.
14800         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14802 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
14804         [BZ #12350]
14805         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
14806         bit from old_res_options.
14808         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14810         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14811         value type for setfct.
14813 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
14815         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14816         __gettimeofday instead of gettimeofday.
14818 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
14820         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14822 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14824         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14826         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14827         info.
14829 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
14831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14832         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14833         strcpy-sse2-unaligned strncpy-sse2-unaligned
14834         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14835         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14836         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14837         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14838         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14839         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14840         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14841         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14842         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14843         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14844         (STRCPY): Support SSE2 and SSSE3 versions.
14846 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
14848         [BZ #12874]
14849         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14850         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14851         kernels which artificially limit size of requests.
14853 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
14855         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14856         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14857         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14858         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14859         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14860         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14861         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14862         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14863         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14864         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14865         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14866         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14867         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14868         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14869         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14870         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14871         Enable unaligned load optimization for Intel Core i3, i5 and i7
14872         processors.
14873         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14874         Define.
14875         (index_Fast_Unaligned_Load): Define.
14876         (HAS_FAST_UNALIGNED_LOAD): Define.
14878 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
14880         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14882 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
14884         [BZ #12907]
14885         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14886         until it is clear that the information is realy needed.
14887         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14889 2011-06-22  Andreas Schwab  <schwab@redhat.com>
14891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14893 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
14895         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14896         /sys/devices/system/cpu/online if it is usable.
14898         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14899         reading the information from the /proc filesystem to once a second.
14901 2011-06-21  Andreas Jaeger  <aj@suse.de>
14903         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14904         NULL after inclusion of kernel headers.
14906 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
14908         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14909         calls to internal_setent.
14911         [BZ #12885]
14912         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14913         addresses using gethostbyname4_r ignore IPv4 addresses.
14915         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14916         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
14918         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14920 2011-06-20  David S. Miller  <davem@davemloft.net>
14922         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14923         inclusions.
14924         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14926         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14927         (elf_irel): Use it.
14928         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14929         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14930         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14931         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14932         * sysdeps/x86_64/dl-irel.h: Likewise.
14934         * elf/dl-runtime.c: Use elf_ifunc_invoke.
14935         * elf/dl-sym.c: Likewise.
14937 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
14939         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
14940         need to dereference resplen2.
14942 2011-06-14  Andreas Schwab  <schwab@redhat.com>
14944         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14946 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
14948         * Makeconfig: Define vardbdir and inst_vardbdir.
14949         * nss/Makefile: Add rules to install db-Makefile.
14951         * nss/nss_db/db-XXX.c: Cleanup.
14953         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14954         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14955         GLIBC_PRIVATE.
14956         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14957         * nss/makedb.c: Implement -g option to specify that value strings
14958         are generated and should not be added to table iterated over for
14959         get*ent calls.
14960         * nss/nss_db/db-initgroups.c: New file.
14962         * nss/getent.c: Add support for initgroups lookups through getgrouplist
14963         interface.
14965         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14966         (internal_getgrouplist): Adjust to name change.
14967         Update use_initgroups_entry if this is not the first call.
14968         * nss/databases.def: Add initgroups entry.
14970         * nss/makedb.c (compute_tables): Check result of multiple hash table
14971         sizes to minimize maximum chain length.
14973 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
14975         * Versions.def: Add entry for libnss_db.
14976         * shlib-versions: Likewise.
14977         * nss/Makefile: Add rules to build libnss_db.
14978         * nss/Versions: Add libnss_db information.  Organize libnss_files
14979         entries better.
14980         * nss/db-Makefile: Add gshadow support.  Change rules for the new
14981         makedb progra.  Some minor improvements to generate smaller files.
14982         * nss/nss_db/nss_db.h: Move NSS database header data structures to
14983         here from...
14984         * nss/makedb.c: ...here.
14985         Improve database format to be smaller and require less memory at
14986         runtime.
14987         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
14988         db anymore.
14989         * nss/nss_db/db-netgrp.c: Likewise.
14990         * nss/nss_db/db-open.c: Likewise.
14991         * nss/nss_files/flies-XXX.x: Adjust comments.
14992         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14993         * nss/nss_files/files-grp.c: Likewise.
14994         * nss/nss_files/files-hosts.c: Likewise.
14995         * nss/nss_files/files-network.c: Likewise.
14996         * nss/nss_files/files-proto.c: Likewise.
14997         * nss/nss_files/files-pwd.c: Likewise.
14998         * nss/nss_files/files-rpc.c: Likewise.
14999         * nss/nss_files/files-service.c: Likewise.
15000         * nss/nss_files/files-sgrp.c: Likewise.
15001         * nss/nss_files/files-spwd.c: Likewise.
15002         * nss/nss_db/db-alias.c: Removed.
15003         * nss/nss_db/dummy-db.h: Removed.
15005 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
15007         * nss/makedb.c: Rewritten to not use database library.
15008         * nss/Makefile: Update to build new makedb program.
15010 2011-06-14  Andreas Jaeger  <aj@suse.de>
15012         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15013         memset declaration.
15015 2011-06-10  Andreas Schwab  <schwab@redhat.com>
15017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15018         tmpbuf.
15020 2011-06-10  Roland McGrath  <roland@hack.frob.com>
15022         * Makerules (shlib.lds): Fail if the linker script comes out empty.
15023         * elf/Makefile ($(objpfx)ld.so): Likewise.
15025         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15026         Don't list ld.so twice in dependencies.
15028         * posix/bug-regex31.c: Include <stdlib.h>.
15030         * nscd/hstcache.c (cache_addhst): Remove unused variable.
15032         * nis/nss_compat/compat-spwd.c
15033         (getspent_next_nss_netgr): Remove unused variable.
15034         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15036         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15037         nonmembers" output to use the right array.
15039         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15041         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15043         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15044         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15045         * catgets/gencat.c (read_input_file): Likewise.
15046         * locale/programs/locarchive.c (enlarge_archive): Likewise.
15048         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15049         variable definition inside #if's controlling its use.
15051         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15053         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15055         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15057         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15058         unreachable code.
15060         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15062         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15063         * configure: Regenerated.
15065         * Makerules: Revert last change.
15066         * elf/Makefile: Likewise.
15068 2011-06-09  Roland McGrath  <roland@hack.frob.com>
15070         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15071         * elf/Makefile ($(objpfx)librtld.os): Likewise.
15072         (reloc-link): Likewise.
15074 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
15076         * elf/Makefile: Add rules to build pldd.
15077         * elf/pldd.c: New file.
15078         * elf/pldd-xx.c: New file.
15080 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
15082         * version.h: Update for 2.15 development version.
15084 2011-06-07  David S. Miller  <davem@davemloft.net>
15086         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15087         ifuncs.
15088         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15089         elf_machine_lazy_rel): Likewise.
15090         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15091         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15092         elf_machine_lazy_rel): Likewise.
15093         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15094         dl_hwcap via passed in argument.
15095         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15096         Likewise.
15098 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15100         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
15102 2011-06-06  Roland McGrath  <roland@hack.frob.com>
15104         [BZ #12849]
15105         * manual/fdl-1.1.texi: New file, verbatim from:
15106         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15107         * manual/lgpl-2.1.texi: New file, verbatim from:
15108         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15109         * manual/Makefile (licenses): New variable, list those new file names.
15110         (texis): Use it.
15111         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15113         * manual/fdl.texi: File removed.
15114         * manual/lesser.texi: File removed.
15115         * manual/libc.texinfo (Copying, Documentation License):
15116         Use new @include file names, put @appendix directive before @include.
15118 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
15120         [BZ #12841]
15121         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15122         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15123         (mq_open): Add __NTH.
15125 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
15127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15128         Assume Intel Core i3/i5/i7 processor if AVX is available.
15130 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
15132         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15133         typo.
15135 2011-05-31  Andreas Schwab  <schwab@redhat.com>
15137         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15138         memory.  Use alloca_account.  Fix memory leak when retrying.
15140 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
15142         * version.h (RELEASE): Bump for 2.14 release.
15143         * include/features.h (__GLIBC_MINOR__): Bump to 14.
15145         * config.make.in (RANLIB): Remove entry.
15147 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
15149         * po/Makefile (po-sed-cmd): Add ksh to extensions.
15150         (libc.pot): Work around missing support for .ksh extension in xgettext.
15152         [BZ #12684]
15153         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15154         if both request failed.
15155         (send_dg): In case of server errors clear resplen or *resplen2.
15157         [BZ #12454]
15158         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15159         when there are multiple maps.
15160         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15161         (_dl_fini): Remove test here.
15163         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15165 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
15167         [BZ #12350]
15168         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15169         bit from old_res_options.
15170         (gaih_inet): Likewise.
15172         [BZ #11099]
15173         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15174         as signed.
15176         * resolv/res_init.c (res_setoptions): Make the code more compact.
15178         [BZ #11558]
15179         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15180         set RES_USEVC.
15182         [BZ #11634]
15183         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15185         * malloc/malloc.h: Mark malloc hook variables as deprecated.
15187         [BZ #11781]
15188         * malloc/malloc.h: Declare malloc hook variables as volatile.
15190         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15191         in last patch.
15193         [BZ #11799]
15194         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15195         raise in the comment.
15196         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15197         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15198         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15200 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
15202         [BZ #12811]
15203         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15204         grow the buffers more if it already has to be sufficient.
15205         (build_wcs_upper_buffer): Likewise.
15206         * posix/regexec.c (check_matching): Likewise.
15207         (clean_state_log_if_needed): Likewise.
15208         (extend_buffers): Don't enlarge buffers beyond size of the input
15209         buffer.
15210         Patches mostly by Emil Wojak <emil@wojak.eu>.
15211         * posix/bug-regex32.c: New file.
15212         * posix/Makefile (tests): Add bug-regex32.
15214         * locale/findlocale.c (_nl_find_locale): Return right away if
15215         _nl_explode_name failed.
15216         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15218         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15220         * debug/xtrace.sh: Unify messages.
15221         * malloc/memusage.sh: Likewise.
15223         [BZ #12813]
15224         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15225         time symbol from vDSO.  Substitute with vsyscall if not available.
15226         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15227         __vdso_time.
15229         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15230         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15231         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15232         Add sendmmsg and internal_sendmmsg.
15233         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15234         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15235         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15237         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15238         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15239         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15241 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
15243         [BZ #12813]
15244         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15245         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
15246         available.
15247         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15248         __vdso_getcpu.
15250         [BZ #12814]
15251         * iconvdata/Makefile (tests): Add bug-iconv9.
15252         * iconvdata/bug-iconv9.c: New file.
15254 2011-05-27  Andreas Schwab  <schwab@redhat.com>
15256         [BZ #12814]
15257         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15259 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
15261         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15262         (struct user_regs_struct): Change intcs field back to cs.
15264 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
15266         * po/ja.po: Update from translation team.
15268 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
15270         [BZ #12795]
15271         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15272         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15274 2011-05-20  Andreas Schwab  <schwab@redhat.com>
15276         * stdlib/longlong.h: Update from GCC.
15278 2011-05-23  Andreas Schwab  <schwab@redhat.com>
15280         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15281         parameter name.
15282         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15283         Add parameter name.
15284         (__sysconf): Pass it down.
15286 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
15288         [BZ #12671]
15289         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15290         some situations.
15291         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15292         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15293         add in in __libc_use_alloca calls.  Adjust callers.
15294         (glob): Use malloc in some situations.
15296         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15297         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15298         pltexit.
15300 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
15302         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15303         and CLOCK_BOOTTIME_ALARM.
15305         [BZ #12782]
15306         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15307         is returned.
15309         * string/_strerror.c (__strerror_r): Print negative errors as signed
15310         numbers.
15312         [BZ #12777]
15313         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15314         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15315         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15317         * configure.in: Fix typo in redirection and correct removal of test
15318         files in two cases.
15320         [BZ #12788]
15321         * locale/setlocale.c (new_composite_name): Fix test to check for
15322         identical name of all categories.
15324         [BZ #12792]
15325         * libio/filedoalloc.c (local_isatty): New function.
15326         (_IO_file_doallocate): Use local_isatty.
15327         * stdio-common/perror.c (perror): In case a new stream is used
15328         forward the stream error.
15329         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15330         error flag.
15332 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
15334         [BZ #11869]
15335         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15336         alloca.
15337         * include/alloca.h (extend_alloca_account): Define.
15339         [BZ #11857]
15340         * posix/regex.h: Fix comments with documentation of user-accessible
15341         fields after compilation and describe correct free'ing of pattern
15342         after re_compile_pattern.
15343         Patch by Reuben Thomas <rrt@sc3d.org>.
15345 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
15347         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15348         and -mno-altivec to prevent the compiler from using Altivec and/or
15349         VSX instructions when the corresponding registers are not available.
15351 2011-05-19  Andreas Schwab  <schwab@redhat.com>
15353         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15355 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
15357         * libio/freopen.c (freopen): Use __dup2, not dup2.
15358         * libio/freopen64.c (freopen64): Likewise.
15360 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15362         [BZ #12775]
15363         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15364         * math/Makefile (tests): Add test-powl.
15365         (CFLAGS-test-powl.c): Define.
15366         * math/test-powl.c: New file.
15368 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15370         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15372 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
15374         [BZ #11837]
15375         * iconvdata/gb18030.c: Update to GB18020-2005.
15377 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
15379         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15380         RE_SYNTAX_POSIX_AWK): Update to match recent development.
15381         Patch by Aharon Robbins <arnold@skeeve.com>.
15383         [BZ #11892]
15384         * stdlib/putenv.c (putenv): Don't always create copy of the variable
15385         on the stack.
15387         [BZ #11895]
15388         * misc/pselect.c (__pselect): Handle timeout value errors hidden
15389         through underflows.
15391         [BZ #12766]
15392         * misc/error.c (error_at_line): Ensure file_name and old_file_name
15393         point to strings before performing equality test for error_one_per_line
15394         mode.
15396         [BZ #11697]
15397         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15399         [BZ #11820]
15400         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15401         (struct user_fpregs_struct): Avoid __uint*_t types.
15403         [BZ #6420]
15404         * malloc/mtrace.c (tr_where): Add additional parameter to point to
15405         symbol info.  Use it instead of calling _dl_addr locally.
15406         (lock_and_info): New function.
15407         (tr_freehook): Call lock_and_info and pass symbol info as additional
15408         parameter to tr_where.
15409         (tr_mallochook): Likewise.
15410         (tr_reallochook): Likewise.
15411         (tr_memalignhook): Likewise.
15413         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
15414         used and couldn't be at all thread-safe.
15416 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
15418         * libio/freopen.c (freopen): Don't close old file descriptor
15419         before the new one is opened.  Instead dup the new file descriptor
15420         to the old one after the new stream is created.
15421         * libio/freopen64.c (freopen64): Likewise.
15422         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15423         * libio/fileops.c (_IO_new_file_close_it): Handle new
15424         _IO_FLAGS2_NOCLOSE flag.
15425         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15426         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15427         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15428         _IO_FLAGS2_NOCLOSE flag.
15429         * include/unistd.h: Add hidden_proto for dup3.
15430         Define __have_dup3.
15431         * io/dup3.c: Define hidden symbol.
15432         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15434         [BZ #7101]
15435         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15436         when an incomplete long option is used.
15437         * posix/tst-getopt_long1.c: New file.
15438         * posix/Makefile (tests): Add tst-getopt_long1.
15440         [BZ #10138]
15441         * scripts/config.guess: Update from autoconf-2.68.
15442         * scripts/config.sub: Likewise.
15444         [BZ #10157]
15445         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15446         tests into ...
15447         (has_cpuclock): ...this.  New function.
15448         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15449         macro here based on has_cpuclock code.
15451         [BZ #10149]
15452         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15453         First byte (not low byte) is now always NUL.
15454         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15456         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15457         Use non-cancelable interfaces.
15459         [BZ #9809]
15460         * locale/iso-639.def: Add entry for Sorani.
15462         [BZ #11901]
15463         * include/stdlib.h: Move include protection to the right place.
15464         Define abort_msg_s.  Declare __abort_msg with it.
15465         * stdlib/abort.c (__abort_msg): Adjust type.
15466         * assert/assert.c (__assert_fail_base): New function.  Majority
15467         of code from __assert_fail.  Allocate memory for __abort_msg with
15468         mmap.
15469         (__assert_fail): Now call __assert_fail_base.
15470         * assert/assert-perr.c: Remove bulk of implementation.  Use
15471         __assert_fail_base.
15472         * include/assert.hL Declare __assert_fail_base.
15473         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15474         mmap.
15475         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15477 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
15479         [BZ #11952]
15480         [BZ #12453]
15481         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15482         until all modules are registered in the DTV.
15483         * elf/Makefile: Add rules to build and run tst-tls19.
15484         * elf/tst-tls19.c: New file.
15485         * elf/tst-tls19mod1.c: New file.
15486         * elf/tst-tls19mod2.c: New file.
15487         * elf/tst-tls19mod3.c: New file.
15488         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15490         [BZ #12083]
15491         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15492         correctly.
15494         [BZ #12601]
15495         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15496         two-byte sequence errors.
15497         * iconvdata/Makefile (tests): Add bug-iconv8.
15498         * iconvdata/bug-iconv8.c: New file.
15500         [BZ #12626]
15501         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15502         buf2 definition.
15504         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15506         [BZ #12432]
15507         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15508         (dummy_getcfa): New function.
15509         (init): Get _Unwind_GetCFA address, use dummy if not found.
15510         (backtrace_helper): In recursion check, also check whether CFA changes.
15511         (__backtrace): Completely initialize arg.
15513         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15514         storing incomplete byte sequence in state object.  Avoid testing for
15515         guaranteed too small input if we know there is enough data available.
15517 2011-05-11  Andreas Schwab  <schwab@redhat.com>
15519         * Makeconfig (+link-pie): Indent.
15520         * Rules (binaries-pie): Define if $(have-fpie) and
15521         $(build-shared).
15522         (binaries-shared): Also filter out $(binaries-pie).
15523         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15524         * nscd/Makefile (others-pie): Add nscd.
15525         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15526         ($(objpfx)nscd): Remove command override.
15527         * login/Makefile (others-pie): Add pt_chown.
15528         ($(objpfx)pt_chown): Remove command override.
15529         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15530         remove command overrides.
15532 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
15534         * libio/tst_putwc.c: Fix error messages.
15536         [BZ #12724]
15537         * libio/fileops.c (_IO_new_file_close_it): Always flush when
15538         currently writing and seek to current position when not.
15539         * libio/Makefile (tests): Add bug-fclose1.
15540         * libio/bug-fclose1.c: New file.
15542 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
15544         [BZ #12511]
15545         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15546         don't set DF_1_NODELETE here.
15547         (do_lookup_x): When entering new entry test for copy relocation
15548         and if necessary set DF_1_NODELETE flag.
15549         * elf/tst-unique4.cc: New file.
15550         * elf/tst-unique4.h: New file.
15551         * elf/tst-unique4lib.cc: New file.
15552         * elf/Makefile: Add rules to build and run tst-unique4.
15553         Patch by Piotr Bury <pbury@goahead.com>.
15555 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
15557         [BZ #12052]
15558         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15560         [BZ #12625]
15561         * misc/mntent_r.c (addmntent): Flush the stream after the output
15563         [BZ #12393]
15564         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15565         (is_trusted_path_normalize): Skip initial colon.  Append slash
15566         to empty buffer.  Duplicate is_trusted_path code but allow
15567         constructed patch to be prefix.
15568         (is_dst): Allow $ORIGIN followed by /.
15569         (_dl_dst_substitute): Correct clearing of check_for_trusted.
15570         Correct testing of result of is_trusted_path_normalize
15571         (decompose_rpath): Fix warning.
15573 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
15575         [BZ #11257]
15576         * grp/initgroups.c (internal_getgrouplist): When we found the service
15577         list through the initgroups entry in nsswitch.conf do not always
15578         continue on a successful lookup.  Don't always use the
15579         __nss_group_database value if it is set.
15580         * nss/nsswitch.conf (initgroups): Change action for successful db
15581         lookup to continue for compatibility.
15583 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
15585         [BZ #11532]
15586         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15587         and CP774 modules.
15588         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15589         and CP774 modules.
15590         * iconvdata/tst-tables.sh: Likewise.
15591         * iconvdata/cp770.c: New file.
15592         * iconvdata/cp771.c: New file.
15593         * iconvdata/cp772.c: New file.
15594         * iconvdata/cp773.c: New file.
15595         * iconvdata/cp774.c: New file.
15596         * iconvdata/testdata/CP770: New file.
15597         * iconvdata/testdata/CP770..UTF8: New file.
15598         * iconvdata/testdata/CP771: New file.
15599         * iconvdata/testdata/CP771..UTF8: New file.
15600         * iconvdata/testdata/CP772: New file.
15601         * iconvdata/testdata/CP772..UTF8: New file.
15602         * iconvdata/testdata/CP773: New file.
15603         * iconvdata/testdata/CP773..UTF8: New file.
15604         * iconvdata/testdata/CP774: New file.
15605         * iconvdata/testdata/CP774..UTF8: New file.
15607         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15608         END CHARMAP line.
15609         * iconvdata/gen-8bit-gap.sh: Likewise.
15610         * iconvdata/gen-8bit.sh: Likewise.
15612         * locale/iso-639.def: Add ary entry.
15614         [BZ #11258]
15615         * locale/C-translit.h.in: Add U20A1 transliteration.
15617         [BZ #12178]
15618         * locale/iso-639.def: Add wae entry.
15619         Patch by Kevin Bortis <bortis@translate-wae.ch>.
15621         [BZ #12545]
15622         * locale/programs/localedef.c (construct_output_path): Use ssize_t
15623         for n.
15625         [BZ #12711]
15626         * locale/C-translit.h.in: Add entry for U20B9.
15627         Patch by pravin.d.s@gmail.com.
15629 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
15631         [BZ #12713]
15632         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15633         ENAMETOOLONG use generic getcwd.
15634         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
15635         in rtld.  Use *stat64.
15636         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15637         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15638         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15639         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15640         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15641         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15642         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15643         __fstatat64 macros.
15644         * include/dirent.h: Add libc_hidden_proto for rewinddir.
15645         * dirent/rewinddir.c: Add libc_hidden_def.
15646         * sysdeps/mach/hurd/rewinddir.c: Likewise.
15647         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
15649         * include/dirent.h (__alloc_dir): Add flags parameter.
15650         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15651         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15652         __alloc_dir.
15653         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
15654         from fdopendir if O_CLOEXEC is already set.
15656 2011-03-15  Alan Modra  <amodra@gmail.com>
15658         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15659         l_tls_firstbyte_offset non-zero.  Save padding offset in
15660         l_tls_firstbyte_offset for later use.
15661         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15662         freeing static tls block.
15664 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
15666         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15667         where #ifdef was intended.  The intent is to prevent ARG_MAX from
15668         being defined by the kernel headers.
15670 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
15672         [BZ #12734]
15673         * resolv/resolv.h: Define RES_NOTLDQUERY.
15674         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15675         no-tld-query and set RES_NOTLDQUERY.
15676         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15677         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15678         modern BIND to search name as TLD unless forbidden.
15680 2011-05-07  Petr Baudis  <pasky@suse.cz>
15681             Ulrich Drepper  <drepper@gmail.com>
15683         [BZ #12393]
15684         * elf/dl-load.c (fillin_rpath): Move trusted path check...
15685         (is_trusted_path): ...to here.
15686         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15687         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15688         using is_trusted_path_normalize() in setuid scripts.
15690 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15692         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15693         __BEGIN/__END_DECLS.
15695 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
15697         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15698         NSS_STATUS_NOTFOUND if no record was found.
15700 2011-05-05  Andreas Schwab  <schwab@redhat.com>
15702         * sunrpc/Makefile (headers): Add rpc/netdb.h.
15703         (headers-not-in-tirpc): Remove rpc/netdb.h
15704         * resolv/netdb.h: Revert last change.
15706 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15708         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15709         circular dependency between libgcc.a and libc.a.
15711 2011-05-05  Andreas Schwab  <schwab@redhat.com>
15713         * resolv/netdb.h: Don't include <rpc/netdb.h>.
15714         * nis/Makefile: Don't install rpcsvc/*.
15715         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15716         instead of <rpc/types.h>.
15717         (MAXHOSTNAMELEN): Define.
15719 2011-05-03  Andreas Schwab  <schwab@redhat.com>
15721         * elf/ldconfig.c (add_dir): Don't crash on empty path.
15723 2011-04-28  Maciej Babinski  <mbabinski@google.com>
15725         [BZ #12714]
15726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15727         gethostbyname4_r when IPv6 results are possible.
15729 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
15731         [BZ #12723]
15732         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15733         _PC_PIPE_BUF handling.
15735 2011-04-30  Bruno Haible  <bruno@clisp.org>
15737         [BZ #12717]
15738         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15739         * resolv/netdb.h (getnameinfo): Change type of flags parameter
15740         to 'int'.
15741         * inet/getnameinfo.c (getnameinfo): Likewise.
15743 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
15745         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15746         to groups setting in database lookup.
15747         * nss/nsswitch.conf: Add initgroups entry.
15749 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
15751         [BZ #12685]
15752         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15753         mode string.
15754         Patch by Eric Blake <eblake@redhat.com>.
15756 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
15758         * sunrpc/Makefile (need-export-routines): Add svc_run.
15759         (routines): Remove svc_run.
15760         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15761         * sunrpc/clnt_perr.c (clnt_perrno): Export.
15762         * sunrpc/svc_run.c (svc_run): Likewise.
15763         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15765 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
15767         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15768         problem in reallocation in last patch.
15770 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
15772         * sunrpc/Makefile: Move inclusion of Rules.
15774 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
15776         * nss/nss_files/files-initgroups.c: New file.
15777         * nss/Makefile (libnss_files-routines): Add files-initgroups.
15778         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15779         _nss_files_initgroups_dyn.
15781 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
15783         * elf/elf.h (R_ARM_IRELATIVE): Define.
15785 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
15787         * po/ru.po: Update from translation team.
15789 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
15791         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15792         dependencies.
15794 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
15796         [BZ #12653]
15797         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15798         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15799         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15800         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15801         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15803 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
15805         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15806         differing bytes.
15807         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15808         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15809         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15811 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
15813         [BZ #12420]
15814         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15815         storing it.
15816         * stdlib/bug-getcontext.c: New file.
15817         * stdlib/Makefile: Add rules to build and run bug-getcontext.
15819 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15821         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15822         instructions into .machine "z9-109".
15823         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15824         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15826 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15828         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15829         between environment variables and auxiliary vector.
15831 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
15833         * Makefile: Add rules to build linkobj/libc.so.
15834         * include/libc-symbols.h: Define libc_hidden_nolink.
15835         * include/rpc/auth.h: Mark functions which are to be hidden.
15836         * include/rpc/auth_des.h: Likewise.
15837         * include/rpc/auth_unix.h: Likewise.
15838         * include/rpc/clnt.h: Likewise.
15839         * include/rpc/des_crypt.h: Likewise.
15840         * include/rpc/key_prot.h: Likewise.
15841         * include/rpc/pmap_clnt.h: Likewise.
15842         * include/rpc/pmap_prot.h: Likewise.
15843         * include/rpc/pmap_rmt.h: Likewise.
15844         * include/rpc/rpc_msg.h: Likewise.
15845         * include/rpc/svc.h: Likewise.
15846         * include/rpc/svc_auth.h: Likewise.
15847         * include/rpc/xdr.h: Likewise.
15848         * nis/Makefile: Link all DSOs against linkobj/libc.so.
15849         * nss/Makefile: Likewise.
15850         * sunrpc/Makefile: Don't install headers.  Build library with normal
15851         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
15852         * sunrpc/auth_des.c: Hide exported symbols by default, export some
15853         for the compat linking library.  Remove use of INTDEF/INTUSE.
15854         * sunrpc/auth_none.c: Likewise.
15855         * sunrpc/auth_unix.c: Likewise.
15856         * sunrpc/authdes_prot.c: Likewise.
15857         * sunrpc/authuxprot.c: Likewise.
15858         * sunrpc/clnt_gen.c: Likewise.
15859         * sunrpc/clnt_perr.c: Likewise.
15860         * sunrpc/clnt_raw.c: Likewise.
15861         * sunrpc/clnt_simp.c: Likewise.
15862         * sunrpc/clnt_tcp.c: Likewise.
15863         * sunrpc/clnt_udp.c: Likewise.
15864         * sunrpc/clnt_unix.c: Likewise.
15865         * sunrpc/des_crypt.c: Likewise.
15866         * sunrpc/des_soft.c: Likewise.
15867         * sunrpc/get_myaddr.c: Likewise.
15868         * sunrpc/key_call.c: Likewise.
15869         * sunrpc/key_prot.c: Likewise.
15870         * sunrpc/netname.c: Likewise.
15871         * sunrpc/pm_getmaps.c: Likewise.
15872         * sunrpc/pm_getport.c: Likewise.
15873         * sunrpc/pmap_clnt.c: Likewise.
15874         * sunrpc/pmap_prot.c: Likewise.
15875         * sunrpc/pmap_prot2.c: Likewise.
15876         * sunrpc/pmap_rmt.c: Likewise.
15877         * sunrpc/publickey.c: Likewise.
15878         * sunrpc/rpc_cmsg.c: Likewise.
15879         * sunrpc/rpc_common.c: Likewise.
15880         * sunrpc/rpc_dtable.c: Likewise.
15881         * sunrpc/rpc_prot.c: Likewise.
15882         * sunrpc/rpc_thread.c: Likewise.
15883         * sunrpc/rtime.c: Likewise.
15884         * sunrpc/svc.c: Likewise.
15885         * sunrpc/svc_auth.c: Likewise.
15886         * sunrpc/svc_authux.c: Likewise.
15887         * sunrpc/svc_raw.c: Likewise.
15888         * sunrpc/svc_run.c: Likewise.
15889         * sunrpc/svc_simple.c: Likewise.
15890         * sunrpc/svc_tcp.c: Likewise.
15891         * sunrpc/svc_udp.c: Likewise.
15892         * sunrpc/svc_unix.c: Likewise.
15893         * sunrpc/svcauth_des.c: Likewise.
15894         * sunrpc/xcrypt.c: Likewise.
15895         * sunrpc/xdr.c: Likewise.
15896         * sunrpc/xdr_array.c: Likewise.
15897         * sunrpc/xdr_float.c: Likewise.
15898         * sunrpc/xdr_intXX_t.c: Likewise.
15899         * sunrpc/xdr_mem.c: Likewise.
15900         * sunrpc/xdr_rec.c: Likewise.
15901         * sunrpc/xdr_ref.c: Likewise.
15902         * sunrpc/xdr_sizeof.c: Likewise.
15903         * sunrpc/xdr_stdio.c: Likewise.
15905 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
15907         [BZ #12650]
15908         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15909         * sysdeps/ia64/dl-tls.h: Likewise.
15910         * sysdeps/powerpc/dl-tls.h: Likewise.
15911         * sysdeps/s390/dl-tls.h: Likewise.
15912         * sysdeps/sh/dl-tls.h: Likewise.
15913         * sysdeps/sparc/dl-tls.h: Likewise.
15914         * sysdeps/x86_64/dl-tls.h: Likewise.
15915         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15917 2011-03-14  Andreas Schwab  <schwab@redhat.com>
15919         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15920         rpath element also skip the following colon.
15921         (expand_dynamic_string_token): Add is_path parameter and pass
15922         down to DL_DST_REQUIRED and _dl_dst_substitute.
15923         (decompose_rpath): Call expand_dynamic_string_token with
15924         non-zero is_path.  Ignore empty rpaths.
15925         (_dl_map_object_from_fd): Call expand_dynamic_string_token
15926         with zero is_path.
15928 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
15930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15931         Make cancelable.
15933 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
15935         [BZ #12655]
15936         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15937         Patch by Filipe David Manana <fdmanana@apache.org>.
15939 2011-04-07  Andreas Schwab  <schwab@redhat.com>
15941         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15942         Maintain aligned stack.
15943         (CHECK_RSP): Remove unused macro.
15945 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
15947         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15948         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15950 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
15952         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15954         * include/features.h: Mention __USE_XOPEN2K8 in comment.
15956 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
15958         [BZ #12518]
15959         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15960         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15961         * sysdeps/x86_64/memmove.c: New file.
15962         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15963         (memcpy): Renamed to ...
15964         (__new_memcpy): This.
15965         (memcpy): Provide GLIBC_2_14 memcpy.
15966         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15967         (memcpy): Provide GLIBC_2_2_5 memcpy.
15969 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15971         [BZ #12631]
15972         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15974 2011-03-30  Andreas Schwab  <schwab@redhat.com>
15976         * misc/syncfs.c: New file.
15977         * misc/Makefile (routines): Add syncfs.
15978         * posix/unistd.h: Declare syncfs.
15979         * sysdeps/unix/syscalls.list: Add syncfs.
15981 2011-04-01  Andreas Schwab  <schwab@redhat.com>
15983         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15984         open_by_handle_at.
15985         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15986         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15987         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15988         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15989         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15990         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15991         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15993 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15995         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15996         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15997         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15998         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15999         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16000         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16001         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16003         * io/Makefile: Compile fallocate.c, fallocate64.c, and
16004         sync_file_range.c with -fexceptions.
16005         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16006         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16007         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16008         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16009         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16010         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16011         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16012         sync_file_range as cancellation point
16013         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
16014         now a wrapper around __call_sync_file_range with cancellation handling.
16015         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16016         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
16017         function name to __call_sync_file_range.
16018         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16019         Add call_sync_file_range.
16021 2011-04-01  Andreas Schwab  <schwab@redhat.com>
16023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16024         bits/timex.h.
16026 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
16028         * iconv/iconv.h: Fix typo in comment.
16029         * io/fcntl.h: Likewise.
16030         * libio/stdio.h: Likewise.
16031         * posix/spawn.h: Likewise.
16032         * posix/unistd.h: Likewise.
16033         * stdlib/stdlib.h: Likewise.
16034         * time/time.h: Likewise.
16035         * wcsmbs/wchar.h: Likewise.
16037         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16038         open_by_handle): Add.
16039         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16040         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
16041         Augment a few comments.
16042         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16043         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16044         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16045         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16046         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16047         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16048         open_by_handle.
16050         * io/fcntl.h (AT_EMPTY_PATH): Define.
16052 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
16054         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16055         * sysdeps/unix/sysv/linux/bits/time.h: New file.
16056         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16057         to...
16058         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
16059         * Versions.def: Add GLIBC_2.14.
16060         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16061         Export.
16063 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
16065         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16066         round counter.
16067         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16069 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16071         [BZ #12597]
16072         * string/test-strncmp.c (do_page_test): New function.
16073         (check2): Likewise.
16074         (test_main): Call check2.
16075         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16077 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
16079         [BZ #12587]
16080         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16081         Handle cache information in CPU leaf 4.
16082         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16084 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
16086         [BZ #12583]
16087         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16088         character representation.
16089         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16091 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
16093         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16094         END(__isnan) to END(__isnanf) to match function entry point/label
16095         EALIGN(__isnanf,...).
16097 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
16099         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16101 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
16103         [BZ #12510]
16104         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16105         copy from the symbol referenced in the relocation to initialize the
16106         used variable.
16107         Patch by Piotr Bury <pbury@goahead.com>.
16108         * elf/Makefile: Add rules to build and tst-unique3.
16109         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16110         * elf/tst-unique3.cc: New file.
16111         * elf/tst-unique3.h: New file.
16112         * elf/tst-unique3lib.cc: New file.
16113         * elf/tst-unique3lib2.cc: New file.
16115         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16117 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
16119         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16120         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
16121         to _start.
16123 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
16125         * elf/dl-load.c (_dl_map_object): If we are looking for the first
16126         to-be-loaded object along a path to loader is ld.so.
16128 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
16129             Ulrich Drepper  <drepper@gmail.com>
16131         * sysdeps/x86_64/memset.S: After aligning destination, code
16132         branches to different locations depending on the value of
16133         misalignment, when multiarch is enabled. Fix this.
16135 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
16137         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16138         Set _x86_64_preferred_memory_instruction for AMD processsors.
16139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16140         Set bit_Prefer_SSE_for_memop for AMD processors.
16142 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
16144         * libio/fmemopen.c (fmemopen): Optimize a bit.
16146 2011-03-03  Andreas Schwab  <schwab@redhat.com>
16148         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16150 2011-03-03  Roland McGrath  <roland@redhat.com>
16152         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16154 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
16156         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16157         __bzero_ultra1 instead of __memset_ultra1.
16159 2011-02-23  Andreas Schwab  <schwab@redhat.com>
16160             Ulrich Drepper  <drepper@gmail.com>
16162         [BZ #12509]
16163         * include/link.h (struct link_map): Add l_orig_initfini.
16164         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16165         returning unsuccessfully.
16166         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16167         close of a file loaded at startup, restore the original l_initfini
16168         list.
16169         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16170         list, store the pointer.
16171         * elf/Makefile ($(objpfx)noload-mem): New rule.
16172         (noload-ENV): Define.
16173         (tests): Add $(objpfx)noload-mem.
16174         * elf/noload.c: Include <memcheck.h>.
16175         (main): Call mtrace.  Close all opened handles.
16177 2011-02-17  Andreas Schwab  <schwab@redhat.com>
16179         [BZ #12454]
16180         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16181         dependencies are missing.
16183 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16185         Fix __if_freereq crash: Unlike the generic version which uses free,
16186         Hurd needs munmap.
16187         * sysdeps/mach/hurd/ifreq.h: New file.
16189 2011-01-27  Petr Baudis  <pasky@suse.cz>
16190             Ulrich Drepper  <drepper@gmail.com>
16192         [BZ 12445]#
16193         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16194         to extend_alloca().
16195         * stdio-common/bug23.c: New file.
16196         * stdio-common/Makefile (tests): Add bug23.
16198 2010-09-28  Andreas Schwab  <schwab@redhat.com>
16199             Ulrich Drepper  <drepper@gmail.com>
16201         [BZ #12489]
16202         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16203         before performing relro protection.  At old place add assertion
16204         to make sure nothing changed.
16206 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
16207             Glauber de Oliveira Costa  <glommer@gmail.com>
16209         * elf/elf.h: Add new ARM TLS relocs.
16211 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
16213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16214         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16215         cast from r3.
16216         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
16217         'tests' variable.
16218         * sysdeps/wordsize-64/tst-writev.c: New file.
16220 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
16222         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16223         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16224         insns in _dl_start to prevent a TOC reference before relocs are
16225         resolved.
16227 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
16229         [BZ #12469]
16230         * Makeconfig: Remove RANLIB definition.
16231         * Makerules: Don't use RANLIB.
16232         * aclocal.m4: Remove ranlib test.
16233         * configure.in: No need to check for ranlib.
16234         * elf/rtld-Rules: Don't use RANLIB.
16236 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16238         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16239         protection macro.
16240         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16241         inclusion protection macro.
16243         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16244         SIGRTMIN and SIGRTMAX and print information in that case only when
16245         SIGRTMIN is defined.
16247 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
16249         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16250         arginfo fn returning -1.
16252         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16253         and thousands string is zero terminated.
16255 2011-02-03  Andreas Schwab  <schwab@redhat.com>
16257         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16258         sysdeps/unix/sysv/linux/bits/socket.h.
16260 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16262         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16263         (__CPU_COUNT): Remove old macros.
16264         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16265         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16266         (__CPU_ALLOC, __CPU_FREE): Add macros.
16267         (__sched_cpualloc, __sched_cpufree): Add declarations.
16269 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
16271         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16272         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16273         * nscd/aicache.c (addhstaiX): Return timeout of added value.
16274         (readdhstai): Return value of addhstaiX call.
16275         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16276         (addgrbyX): Return value returned by cache_addgr.
16277         (readdgrbyname): Return value returned by addgrbyX.
16278         (readdgrbygid): Likewise.
16279         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16280         (addpwbyX): Return value returned by cache_addpw.
16281         (readdpwbyname): Return value returned by addhstbyX.
16282         (readdpwbyuid): Likewise.
16283         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16284         (addservbyX): Return value returned by cache_addserv.
16285         (readdservbyname): Return value returned by addservbyX:
16286         (readdservbyport): Likewise.
16287         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16288         (addhstbyX): Return value returned by cache_addhst.
16289         (readdhstbyname): Return value returned by addhstbyX.
16290         (readdhstbyaddr): Likewise.
16291         (readdhstbynamev6): Likewise.
16292         (readdhstbyaddrv6): Likewise.
16293         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16294         (readdinitgroups): Return value returned by addinitgroupsX.
16295         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16296         (prune_cache): Keep track of timeout value of re-added entries.
16297         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16298         * nscd/nscd.h: Adjust prototypes of readd* functions.
16300 2011-02-04  Roland McGrath  <roland@redhat.com>
16302         * nis/nis_server.c (nis_servstate): Use the right name for 0.
16303         (nis_stats): Likewise.
16304         * nis/nis_modify.c (nis_modify): Likewise.
16305         * nis/nis_remove.c (nis_remove): Likewise.
16306         * nis/nis_add.c (nis_add): Likewise.
16308         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16310         * posix/fnmatch_loop.c: Add some consts.
16312         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16314 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
16316         [BZ #12460]
16317         * config.make.in (config-cflags-novzeroupper): Define.
16318         * configure.in: Substitute libc_cv_cc_novzeroupper.
16319         * elf/Makefile (AVX-CFLAGS): Define.
16320         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16321         (CFLAGS-tst-auditmod4a.c): Likewise.
16322         (CFLAGS-tst-auditmod4b.c): Likewise.
16323         (CFLAGS-tst-auditmod6b.c): Likewise.
16324         (CFLAGS-tst-auditmod6c.c): Likewise.
16325         (CFLAGS-tst-auditmod7b.c): Likewise.
16326         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16328 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
16330         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16331         function to the callback.
16332         Patch partly by Jiri Olsa <jolsa@redhat.com>.
16334 2011-02-02  Andreas Schwab  <schwab@redhat.com>
16336         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16337         of errno.
16339 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
16341         [BZ #11724]
16342         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16343         of constructors.
16344         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16345         of destructors.
16346         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16348         [BZ #11724]
16349         * elf/Makefile: Add rules to build and run new test.
16350         * elf/tst-initorder.c: New file.
16351         * elf/tst-initorder.exp: New file.
16352         * elf/tst-initordera1.c: New file.
16353         * elf/tst-initordera2.c: New file.
16354         * elf/tst-initordera3.c: New file.
16355         * elf/tst-initordera4.c: New file.
16356         * elf/tst-initorderb1.c: New file.
16357         * elf/tst-initorderb2.c: New file.
16358         * elf/tst-order-a1.c: New file.
16359         * elf/tst-order-a2.c: New file.
16360         * elf/tst-order-a3.c: New file.
16361         * elf/tst-order-a4.c: New file.
16362         * elf/tst-order-b1.c: New file.
16363         * elf/tst-order-b2.c: New file.
16364         * elf/tst-order-main.c: New file.
16365         New test case by George Gensure <werkt0@gmail.com>.
16367 2010-10-01  Andreas Schwab  <schwab@redhat.com>
16369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16370         decoding ACE if AI_CANONIDN.
16372 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
16374         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16376 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
16378         * version.h (RELEASE): Bump for 2.13 release.
16379         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16381         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16383         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16384         MADV_NOHUGEPAGE.
16385         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16386         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16387         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16388         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16389         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16390         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16392         * posix/getconf.c: Update copyright year.
16393         * catgets/gencat.c: Likewise.
16394         * csu/version.c: Likewise.
16395         * debug/catchsegv.sh: Likewise.
16396         * debug/xtrace.sh: Likewise.
16397         * elf/ldconfig.c: Likewise.
16398         * elf/ldd.bash.in: Likewise.
16399         * elf/sprof.c (print_version): Likewise.
16400         * iconv/iconv_prog.c: Likewise.
16401         * iconv/iconvconfig.c: Likewise.
16402         * locale/programs/locale.c: Likewise.
16403         * locale/programs/localedef.c: Likewise.
16404         * malloc/memusage.sh: Likewise.
16405         * malloc/mtrace.pl: Likewise.
16406         * nscd/nscd.c (print_version): Likewise.
16407         * nss/getent.c: Likewise.
16409         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16410         PF_CAIF, and PF_ALG.
16411         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16413 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
16415         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16416         (modules-names): Use them.
16417         (ifunc-test-modules, ifunc-pie-tests): Define.
16418         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16419         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16420         (test-extras): Likewise.
16421         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16422         $(compile-command.c).
16423         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16424         (all-built-dso): Define.
16425         (check-textrel.out, check-execstack.out): Depend on it.
16427         * configure.in: Don't override --enable-multi-arch.
16429 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
16431         [BZ #6812]
16432         * nscd/hstcache.c (tryagain): Define.
16433         (cache_addhst): Return tryagain not notfound for temporary errors.
16434         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16435         failed.
16437 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
16439         [BZ #10563]
16440         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16441         to make the syscall.
16442         * sysdeps/unix/sysv/linux/setgroups.c: New file.
16444         [BZ #12378]
16445         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16446         and fall back to matching as normal character if the string ends before
16447         the matching ']' is found.  This is what POSIX requires.
16448         * posix/testfnm.c: Adjust test result.
16449         * posix/globtest.sh: Adjust test result.  Add new test.
16450         * posix/tst-fnmatch.input: Likewise.
16451         * posix/tst-fnmatch2.c: Add new test.
16453 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
16455         * elf/Makefile (check-execstack): Revert last change.  Depend on
16456         check-execstack.h.
16457         (check-execstack.h): New target.
16458         (generated): Add check-execstack.h.
16459         * elf/check-execstack.c: Include "check-execstack.h".
16460         (main): Revert last change.
16461         (handle_file): Return zero if GNU_STACK is absent and
16462         DEFAULT_STACK_PERMS doesn't include PF_X.
16464 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
16466         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16467         in child fails because the descriptor is already closed.
16468         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16469         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16470         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16472         [BZ #12397]
16473         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16474         syscall.
16476         [BZ #10484]
16477         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16478         temporary buffer used to handle multi lookups locally.
16479         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16481 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
16483         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16484         loader is ld.so.
16486 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
16488         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16489         alignment for SSE2.
16491 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
16493         [BZ #12394]
16494         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16495         characters.  When rounding increased number of integer digits recompute
16496         number of groups.
16497         * stdio-common/tst-grouping.c: New file.
16498         * stdio-common/Makefile: Add rules to build and run tst-grouping.
16500 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
16502         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16503         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
16505         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16506         void.
16507         * bits/select.h: Likewise.
16509 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
16511         * po/ja.po: Update from translation team.
16513 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
16515         [BZ #11155]
16516         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16517         implementation just like for lxstat, fxstatat, et al.
16519 2010-12-27  Jim Meyering  <meyering@redhat.com>
16521         [BZ #12348]
16522         * posix/regexec.c (build_trtable): Return failure indication upon
16523         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
16525 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
16527         [BZ #12201]
16528         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16529         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16530         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16531         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16533         [BZ #12207]
16534         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16536         [BZ #12204]
16537         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16538         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16540 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16542         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16543         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16544         script has SORT_BY_INIT_PRIORITY.
16545         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16546         NO_CTORS_DTORS_SECTIONS is defined.
16547         * elf/soinit.c: Likewise.
16548         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16549         NO_CTORS_DTORS_SECTIONS is defined.
16550         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16551         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16552         * sysdeps/sh/init-first.c: Likewise.
16553         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16555 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
16557         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16558         always use the slow path.
16560 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
16562         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16563         similar rule which adds the sysdep directories to the header search in
16564         order to pick up the correct platform stackinfo.h.
16565         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16566         perform test if it is, otherwise return successfully without testing.
16567         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16568         DEFAULT_STACK_PERMS define in stackinfo.h.
16569         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16570         defined in stackinfo.h.
16571         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16572         DEFAULT_STACK_PERMS defined in stackinfo.h.
16573         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16574         * sysdeps/ia64/stackinfo.h: Likewise.
16575         * sysdeps/s390/stackinfo.h: Likewise.
16576         * sysdeps/sh/stackinfo.h: Likewise.
16577         * sysdeps/sparc/stackinfo.h: Likewise.
16578         * sysdeps/x86_64/stackinfo.h: Likewise.
16579         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16580         PF_X for powerpc64.  Retain PF_X for powerpc32.
16582 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
16584         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16585         accurately.
16586         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16587         GETDENTS_64BIT_ALIGNED.
16589 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
16591         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16593 2010-12-10  Andreas Schwab  <schwab@redhat.com>
16595         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16596         _GNU_SOURCE.
16598         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16599         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16600         Remove __restrict.
16601         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16602         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16604 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
16606         [BZ #11655]
16607         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16608         are initialized.
16610 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
16612         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16614 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
16616         * po/it.po: Update from translation team.
16618 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
16620         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16621         unused codes.
16623 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
16625         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16627 2010-11-24  Andreas Schwab  <schwab@redhat.com>
16629         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16630         specially.
16631         (gaih_getanswer_slice): Likewise.
16633 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
16635         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16637 2010-05-31  Petr Baudis  <pasky@suse.cz>
16639         [BZ #11149]
16640         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16641         silently even in the chroot mode.
16643 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
16645         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16646         last patch a bit.  Pretty printing
16648 2010-05-31  Petr Baudis <pasky@suse.cz>
16650         [BZ #10085]
16651         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16652         initialization of skip_initgroups_dyn.
16654 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
16656         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16657         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16659 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
16661         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16663 2010-11-11  Andreas Schwab  <schwab@redhat.com>
16665         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16666         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16667         (tst-fnmatch-ENV): Set MALLOC_TRACE.
16668         ($(objpfx)tst-fnmatch-mem): New rule.
16669         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16670         * posix/tst-fnmatch.c (main): Call mtrace.
16672 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
16674         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16675         Support Intel processor model 6 and model 0x2c.
16677 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
16679         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16680           signed comparison.
16682 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
16684         [BZ #12205]
16685         * string/test-strncasecmp.c (check_result): New function.
16686         (do_one_test): Use it.
16687         (check1): New function.
16688         (test_main): Use it.
16689         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16690         Support strcasecmp and strncasecmp.
16692 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
16694         [BZ #12194]
16695         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16696         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16698 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16700         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16701         IFUNC support.
16702         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16703         memset-x86-64.
16704         * sysdeps/x86_64/multiarch/bzero.S: New file.
16705         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16706         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16707         * sysdeps/x86_64/multiarch/memset.S: New file.
16708         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16710         Set bit_Prefer_SSE_for_memop for Intel processors.
16711         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16712         Define.
16713         (index_Prefer_SSE_for_memop): Define.
16714         (HAS_PREFER_SSE_FOR_MEMOP): Define.
16716 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
16718         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16719         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16721 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
16723         [BZ #12191]
16724         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16725         (__x86_64_raw_data_cache_size_half): Likewise.
16726         (__x86_64_raw_shared_cache_size): Likewise.
16727         (__x86_64_raw_shared_cache_size_half): Likewise.
16729         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16730         (__x86_64_raw_data_cache_size_half): Likewise.
16731         (__x86_64_raw_shared_cache_size): Likewise.
16732         (__x86_64_raw_shared_cache_size_half): Likewise.
16733         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16734         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16735         and __x86_64_raw_shared_cache_size_half.  Round
16736         __x86_64_data_cache_size_half, __x86_64_data_cache_size
16737         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16738         to multiple of 256 bytes.
16740 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
16742         [BZ #12167]
16743         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16744         of inacessible symlinks.  Verify result of symlink before returning it.
16745         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16746         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16748 2010-10-28  Erich Ritz  <erichritz@gmail.com>
16750         * math/math.h (isinf): Fix typo in comment.
16752 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
16754         * po/da.po: Update from translation team.
16756 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
16758         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16759         is added to the list.
16761 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16762             Ulrich Drepper  <drepper@gmail.com>
16764         * elf/dl-object.c (_dl_new_object): Don't append the new object to
16765         the global list here.  Move code to...
16766         (_dl_add_to_namespace_list): ...here.  New function.
16767         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16768         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16769         * elf/dl-load.c (lose): Don't remove the element from the list.
16770         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16771         (_dl_map_object): Likewise.
16773 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
16775         [BZ #12159]
16776         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16777         into all bytes of SSE register.
16778         Patch by Richard Li <richardpku@gmail.com>.
16780 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
16782         [BZ #12140]
16783         * malloc/malloc.c (_int_free): Fill correct number of bytes when
16784         perturbing.
16786 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
16788         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16789         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16790         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16791         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16793         submachine.
16794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16796 2010-10-22  Andreas Schwab  <schwab@redhat.com>
16798         * include/dlfcn.h (__RTLD_SECURE): Define.
16799         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
16800         mode & __RTLD_SECURE instead.
16801         (open_path): Rename preloaded parameter to secure.
16802         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16803         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16804         * elf/dl-deps.c (openaux): Likewise.
16805         * elf/rtld.c (struct map_args): Remove is_preloaded.
16806         (map_doit): Don't use it.
16807         (dl_main): Likewise.
16808         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16809         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16811 2010-09-09  Andreas Schwab  <schwab@redhat.com>
16813         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16814         (sysd-rules-targets): Remove duplicates.
16815         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16816         rtld-%.$o dependency.
16818 2010-10-18  Andreas Schwab  <schwab@redhat.com>
16820         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16821         _dl_map_object do it.
16823 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
16825         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16826         fast fma builtins, define the macros in the C99 standard.
16827         (FP_FAST_FMAF): Likewise.
16828         (FP_FAST_FMAL): Likewise.
16829         * sysdeps/x86_64/bits/mathdef.h: Likewise.
16831         * bits/mathdef.h: Update copyright year.
16832         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16834 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
16836         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16837         builtins, define the macros in the C99 standard.
16838         (FP_FAST_FMAF): Likewise.
16839         (FP_FAST_FMAL): Likewise.
16840         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16841         multiply/add.
16842         (FP_FAST_FMAF): Likewise.
16844 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
16846         [BZ #3268]
16847         * math/libm-test.inc (fma_test): Some new testcases.
16848         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16849         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16850         y and infinite z.  Do multiplication by C already in long double.
16851         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16853         y and infinite z.  Do bitwise or of inexact bit into u.d.
16854         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16855         * sysdeps/i386/fpu/s_fmaf.S: Removed.
16856         * sysdeps/i386/fpu/s_fma.S: Removed.
16857         * sysdeps/i386/fpu/s_fmal.S: Removed.
16859 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
16861         [BZ #3268]
16862         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16863         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16864         computation is not scheduled after fetestexcept.  Fix value
16865         of minimum denormal long double.
16867 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
16869         [BZ #3268]
16870         * math/libm-test.inc (fma_test): Add some more tests.
16871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16872         correctly.
16874 2010-10-15  Andreas Schwab  <schwab@redhat.com>
16876         * scripts/data/localplt-s390-linux-gnu.data: New file.
16877         * scripts/data/localplt-s390x-linux-gnu.data: New file.
16879 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
16881         [BZ #3268]
16882         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16883         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16884         instead of dbl-64.
16885         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16886         inlines.
16887         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16888         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16889         if one of x and y is very large and the other is subnormal.
16890         * sysdeps/s390/fpu/s_fmaf.c: New file.
16891         * sysdeps/s390/fpu/s_fma.c: New file.
16892         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16893         * sysdeps/powerpc/fpu/s_fma.S: New file.
16894         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16895         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16896         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16898 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
16900         [BZ #3268]
16901         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16902         fma tests.
16903         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16904         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16905         * sysdeps/i386/i686/multiarch/s_fma.c: Include
16906         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16907         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16908         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16909         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16911 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
16913         [BZ #12078]
16914         * posix/regcomp.c (parse_branch): One more memory leak plugged.
16915         * posix/bug-regex31.input: Add test case.
16917 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
16919         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16920         * posix/bug-regex31.input: New file.
16922         [BZ #12078]
16923         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16924         (parse_sub_exp): Fix last change, use postorder.
16926         * posix/bug-regex31.c: New file.
16927         * posix/Makefile: Add rules to build and run bug-regex31.
16929         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16931         [BZ #12078]
16932         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16934         [BZ #12108]
16935         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16936         to have entries in sys_siglist.
16938         [BZ #12093]
16939         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16940         be NULL.
16942 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
16944         [BZ #3268]
16945         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16946         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16947         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16948         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16949         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16950         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16951         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16952         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16953         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16954         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16955         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16956         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16957         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16958         * math/ftestexcept.c (fetestexcept): Likewise.
16959         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16960         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16961         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16962         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16963         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16964         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16965         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16967 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
16969         [BZ #12107]
16970         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16971         newline.
16973 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
16975         * string/bug-strstr1.c: New file.
16976         * string/Makefile: Add rules to build and run bug-strstr1.
16978 2010-10-05  Eric Blake  <eblake@redhat.com>
16980         [BZ #12092]
16981         * string/str-two-way.h (two_way_long_needle): Always clear memory
16982         when skipping input due to the shift table.
16984 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
16986         [BZ #12005]
16987         * malloc/mcheck.c: Handle large requests.
16989         [BZ #12077]
16990         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16991         for strncmp and strncasecmp.
16992         * string/stratcliff.c: Add tests for strcmp and strncmp.
16993         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16995 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16997         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16998         __set_fpscr.
17000 2010-09-30  Andreas Jaeger  <aj@suse.de>
17002         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17003         (CGROUP_SUPER_MAGIC): Define.
17004         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17005         Handle btrfs and cgroup file systems.
17006         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17007         Likewise.
17009 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
17011         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17012         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17014 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17016         [BZ #12067]
17017         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17018         trying to locate the ELF header.
17020 2010-09-27  Andreas Schwab  <schwab@redhat.com>
17022         [BZ #11611]
17023         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17024         Mask out sign-bit copies when constructing f_fsid.
17026 2010-09-24  Petr Baudis <pasky@suse.cz>
17028         * debug/stack_chk_fail_local.c: Add missing licence exception.
17029         * debug/warning-nop.c: Likewise.
17031 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
17033         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17034         implementing getdents64 using getdents syscall, set d_type if
17035         __ASSUME_GETDENTS32_D_TYPE.
17037 2010-09-16  Andreas Schwab  <schwab@redhat.com>
17039         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17040         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17042 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
17044         [BZ #12037]
17045         * posix/unistd.h: Undo change of feature selection for ftruncate from
17046         2010-01-11.
17048 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
17050         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17051         detection.
17053 2010-09-20  Andreas Schwab  <schwab@redhat.com>
17055         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17056         fanotify_mark.
17057         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17059 2010-09-14  Andreas Schwab  <schwab@redhat.com>
17061         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17062         variables after CHECK_SP call.
17063         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17065 2010-09-13  Andreas Schwab  <schwab@redhat.com>
17066             Ulrich Drepper  <drepper@redhat.com>
17068         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17069         re-relocationg ld.so.
17070         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17071         _dl_init_paths call.
17072         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
17073         here anymore.
17075 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
17077         * resolv/res_init.c (__res_vinit): Count the default server we added.
17079 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
17080             Ulrich Drepper  <drepper@redhat.com>
17082         [BZ #11968]
17083         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17084         (____longjmp_chk): Use %ebx for saving value across system call.
17085         Add unwind info.
17087 2010-09-06  Andreas Schwab  <schwab@redhat.com>
17089         * manual/Makefile: Don't mix pattern rules with normal rules.
17091 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17093         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17094         operation.
17095         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17096         * libio/iofopncook.c (_IO_cookie_init): Likewise.
17097         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17098         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17099         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17100         Likewise.
17102 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
17104         [BZ #11979]
17105         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17106         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17108 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
17110         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17111         * sysdeps/x86_64/addmul_1.S: Likewise.
17112         * sysdeps/x86_64/lshift.S: Likewise.
17113         * sysdeps/x86_64/mul_1.S: Likewise.
17114         * sysdeps/x86_64/rshift.S: Likewise.
17115         * sysdeps/x86_64/sub_n.S: Likewise.
17116         * sysdeps/x86_64/submul_1.S: Likewise.
17118 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17120         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17121         Define __sched_param instead of SCHED_* and sched_param when
17122         <bits/sched.h> is included with __need_schedparam defined.
17123         * bits/sched.h [__need_schedparam]
17124         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17125         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17126         (__defined_schedparam): Define to 1.
17127         (__sched_param): New structure, identical to sched_param.
17128         (__need_schedparam): Undefine.
17130 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
17132         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17133         (epoll_create1): Declare.
17135         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17137 2010-08-31  Andreas Schwab  <schwab@redhat.com>
17139         [BZ #7066]
17140         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17141         shifting retval into place.
17143 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
17145         * nis/rpcsvc/nis.h: Update copyright notice.
17146         * nis/rpcsvc/nis.x: Likewise.
17147         * nis/rpcsvc/nis_callback.h: Likewise.
17148         * nis/rpcsvc/nis_callback.x: Likewise.
17149         * nis/rpcsvc/nis_object.x: Likewise.
17150         * nis/rpcsvc/nis_tags.h: Likewise.
17151         * nis/rpcsvc/yp.h: Likewise.
17152         * nis/rpcsvc/yp.x: Likewise.
17153         * nis/rpcsvc/ypupd.h: Likewise.
17154         * nis/yp_xdr.c: Likewise.
17155         * nis/ypupdate_xdr.c: Likewise.
17157         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
17158         mainly the body of pmap_getport.  Add parameters to specify timeouts.
17159         (pmap_getport): Use __libc_rpc_getport.
17160         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17161         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17162         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17164 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
17166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17167         fanotify_mark.
17169 2010-08-27  Roland McGrath  <roland@redhat.com>
17171         * sysdeps/i386/i686/multiarch/Makefile
17172         (CFLAGS-varshift.c): New variable.
17174 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
17176         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17177         * sysdeps/i386/i686/multiarch/varshift.c: New file.
17179         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17181         * sysdeps/x86_64/strlen.S: Minimal code improvement.
17183 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17185         * sysdeps/x86_64/strlen.S: Unroll the loop.
17186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17187         strlen-sse2 strlen-sse2-bsf.
17188         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17189         __strlen_no_bsf if bit_Slow_BSF is set.
17190         (__strlen_sse42): Removed.
17191         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17192         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17194 2010-08-25  Roland McGrath  <roland@redhat.com>
17196         * sysdeps/x86_64/multiarch/varshift.S: File removed.
17197         * sysdeps/x86_64/multiarch/varshift.c: New file.
17198         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17199         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17200         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17201         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17203 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17205         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17206         strlen-sse2 strlen-sse2-bsf.
17207         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17208         __strlen_sse2_bsf if bit_Slow_BSF is unset.
17209         (__strlen_sse2): Removed.
17210         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17211         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17212         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17213         bit_Slow_BSF for Atom.
17214         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17215         (index_Slow_BSF): Define.
17216         (HAS_SLOW_BSF): Define.
17218 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
17220         [BZ #10851]
17221         * resolv/res_init.c (__res_vinit): When no server address at all
17222         is given default to loopback.
17224 2010-08-24  Roland McGrath  <roland@redhat.com>
17226         * configure.in: Remove config-name.h generation.
17227         * configure: Regenerated.
17228         * config-name.in: File removed.
17229         * scripts/config-uname.sh: New file.
17230         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17231         ($(objdir)config-name.h): New target.
17233         * sunrpc/rpc_parse.h: Avoid nested comment.
17235 2010-08-24  Richard Henderson  <rth@redhat.com>
17236             Ulrich Drepper  <drepper@redhat.com>
17237             H.J. Lu  <hongjiu.lu@intel.com>
17239         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17240         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17241         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17242         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
17243         _mm_alignr_epi8 with _mm_loadu_si128.
17244         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17245         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17246         (__m128i_shift_right): Removed.
17247         * sysdeps/i386/i686/multiarch/varshift.h: New file.
17248         * sysdeps/i386/i686/multiarch/varshift.S: New file.
17249         * sysdeps/x86_64/multiarch/varshift.h: New file.
17250         * sysdeps/x86_64/multiarch/varshift.S: New file.
17252 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
17254         * configure.in: Move assembler checks to before sysdep dir checking.
17256 2010-08-20  Petr Baudis  <pasky@suse.cz>
17258         * LICENSES: Sync the sunrpc license.
17260 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
17262         * sunrpc/auth_des.c: Update copyright notice once again.
17263         * sunrpc/auth_none.c: Likewise.
17264         * sunrpc/auth_unix.c: Likewise.
17265         * sunrpc/authdes_prot.c: Likewise.
17266         * sunrpc/authuxprot.c: Likewise.
17267         * sunrpc/bindrsvprt.c: Likewise.
17268         * sunrpc/clnt_gen.c: Likewise.
17269         * sunrpc/clnt_perr.c: Likewise.
17270         * sunrpc/clnt_raw.c: Likewise.
17271         * sunrpc/clnt_simp.c: Likewise.
17272         * sunrpc/clnt_tcp.c: Likewise.
17273         * sunrpc/clnt_udp.c: Likewise.
17274         * sunrpc/clnt_unix.c: Likewise.
17275         * sunrpc/des_crypt.c: Likewise.
17276         * sunrpc/des_soft.c: Likewise.
17277         * sunrpc/get_myaddr.c: Likewise.
17278         * sunrpc/getrpcport.c: Likewise.
17279         * sunrpc/key_call.c: Likewise.
17280         * sunrpc/key_prot.c: Likewise.
17281         * sunrpc/openchild.c: Likewise.
17282         * sunrpc/pm_getmaps.c: Likewise.
17283         * sunrpc/pm_getport.c: Likewise.
17284         * sunrpc/pmap_clnt.c: Likewise.
17285         * sunrpc/pmap_prot.c: Likewise.
17286         * sunrpc/pmap_prot2.c: Likewise.
17287         * sunrpc/pmap_rmt.c: Likewise.
17288         * sunrpc/rpc/auth.h: Likewise.
17289         * sunrpc/rpc/auth_unix.h: Likewise.
17290         * sunrpc/rpc/clnt.h: Likewise.
17291         * sunrpc/rpc/des_crypt.h: Likewise.
17292         * sunrpc/rpc/key_prot.h: Likewise.
17293         * sunrpc/rpc/netdb.h: Likewise.
17294         * sunrpc/rpc/pmap_clnt.h: Likewise.
17295         * sunrpc/rpc/pmap_prot.h: Likewise.
17296         * sunrpc/rpc/pmap_rmt.h: Likewise.
17297         * sunrpc/rpc/rpc.h: Likewise.
17298         * sunrpc/rpc/rpc_des.h: Likewise.
17299         * sunrpc/rpc/rpc_msg.h: Likewise.
17300         * sunrpc/rpc/svc.h: Likewise.
17301         * sunrpc/rpc/svc_auth.h: Likewise.
17302         * sunrpc/rpc/types.h: Likewise.
17303         * sunrpc/rpc/xdr.h: Likewise.
17304         * sunrpc/rpc_clntout.c: Likewise.
17305         * sunrpc/rpc_cmsg.c: Likewise.
17306         * sunrpc/rpc_common.c: Likewise.
17307         * sunrpc/rpc_cout.c: Likewise.
17308         * sunrpc/rpc_dtable.c: Likewise.
17309         * sunrpc/rpc_hout.c: Likewise.
17310         * sunrpc/rpc_main.c: Likewise.
17311         * sunrpc/rpc_parse.c: Likewise.
17312         * sunrpc/rpc_parse.h: Likewise.
17313         * sunrpc/rpc_prot.c: Likewise.
17314         * sunrpc/rpc_sample.c: Likewise.
17315         * sunrpc/rpc_scan.c: Likewise.
17316         * sunrpc/rpc_scan.h: Likewise.
17317         * sunrpc/rpc_svcout.c: Likewise.
17318         * sunrpc/rpc_tblout.c: Likewise.
17319         * sunrpc/rpc_util.c: Likewise.
17320         * sunrpc/rpc_util.h: Likewise.
17321         * sunrpc/rpcinfo.c: Likewise.
17322         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17323         * sunrpc/rpcsvc/key_prot.x: Likewise.
17324         * sunrpc/rpcsvc/klm_prot.x: Likewise.
17325         * sunrpc/rpcsvc/mount.x: Likewise.
17326         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17327         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17328         * sunrpc/rpcsvc/rex.x: Likewise.
17329         * sunrpc/rpcsvc/rstat.x: Likewise.
17330         * sunrpc/rpcsvc/rusers.x: Likewise.
17331         * sunrpc/rpcsvc/sm_inter.x: Likewise.
17332         * sunrpc/rpcsvc/spray.x: Likewise.
17333         * sunrpc/rpcsvc/yppasswd.x: Likewise.
17334         * sunrpc/rtime.c: Likewise.
17335         * sunrpc/svc.c: Likewise.
17336         * sunrpc/svc_auth.c: Likewise.
17337         * sunrpc/svc_authux.c: Likewise.
17338         * sunrpc/svc_raw.c: Likewise.
17339         * sunrpc/svc_run.c: Likewise.
17340         * sunrpc/svc_simple.c: Likewise.
17341         * sunrpc/svc_tcp.c: Likewise.
17342         * sunrpc/svc_udp.c: Likewise.
17343         * sunrpc/svc_unix.c: Likewise.
17344         * sunrpc/svcauth_des.c: Likewise.
17345         * sunrpc/xcrypt.c: Likewise.
17346         * sunrpc/xdr.c: Likewise.
17347         * sunrpc/xdr_array.c: Likewise.
17348         * sunrpc/xdr_float.c: Likewise.
17349         * sunrpc/xdr_mem.c: Likewise.
17350         * sunrpc/xdr_rec.c: Likewise.
17351         * sunrpc/xdr_ref.c: Likewise.
17352         * sunrpc/xdr_sizeof.c: Likewise.
17353         * sunrpc/xdr_stdio.c: Likewise.
17355         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17356         handling.
17358 2010-08-19  Andreas Schwab  <schwab@redhat.com>
17360         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17362 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
17364         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17365         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17366         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17367         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17368         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17369         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17370         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17371         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17372         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17373         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17374         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17375         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17376         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17377         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17379 2010-07-26  Anton Blanchard  <anton@samba.org>
17381         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17382         * malloc/arena.c (heap_trim): Likewise.
17384 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
17386         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17387         here.  Not...
17388         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17389         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17391 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
17393         * sysdeps/i386/elf/Makefile: New file.
17395 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
17397         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17398         from fanotify_init.
17399         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17400         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17402 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
17404         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17405         of strncasecmp_l.
17406         * sysdeps/multiarch/strcmp.S: Likewise.
17408 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
17410         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17411         strncase_l-nonascii.
17412         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17413         Add strncase_l-ssse3.
17414         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17415         * sysdeps/x86_64/strcmp.S: Likewise.
17416         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17417         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17418         * sysdeps/x86_64/strncase.S: New file.
17419         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17420         * sysdeps/x86_64/strncase_l.S: New file.
17421         * string/Makefile (strop-tests): Add strncasecmp.
17422         * string/test-strncasecmp.c: New file.
17424         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17425         warning.
17427         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17428         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17430 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
17432         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17434 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
17436         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17437         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17438         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17440 2010-05-01  Alan Modra  <amodra@gmail.com>
17442         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17443         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17444         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17445         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17446         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17447         tidying.  Don't tail-call __sigjmp_save for static lib.
17448         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17449         save location.
17450         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17451         (CALL_MCOUNT): Add eh info, and nop after bl.
17452         (TAIL_CALL_SYSCALL_ERROR): New macro.
17453         (PSEUDO_RET): Use it.
17454         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17455         Correct save location of integer regs and cr.
17456         (_dl_profile_resolve): Correct cr save location.  Delete nops
17457         after bl when SHARED.  Reduce cfi size a little by better
17458         placement of cfi directives.
17459         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17460         make a stack frame.  Instead use parm save area as a temp.
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17462         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
17463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17464         Don't make a stack frame for parent, use parm save area.
17465         Increase child stack frame to 112 bytes.  Don't save unused reg,
17466         and adjust reg usage.  Set up cfi on error recovery and
17467         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17469         (__makecontext): Add dummy nop after jump to exit.
17470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17471         Use correct parm save area and cr save, reduce stack frame.
17472         Correct cfi for possible PSEUDO_RET frame setup.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17474         Branch to local label emitted by PSEUDO_RET rather than
17475         __syscall_error.
17477 2010-08-12  Andreas Schwab  <schwab@redhat.com>
17479         [BZ #11904]
17480         * locale/programs/locale.c (print_assignment): New function.
17481         (show_locale_vars): Use it.
17483 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
17485         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17486         field.
17487         (struct statfs64): Likewise.
17488         (_STATFS_F_FLAGS): Define.
17489         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17490         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17491         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17492         (ST_VALID): Define locally.
17493         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17494         __statvfs_getflags, use the provided value.
17495         * sysdeps/unix/sysv/linux/kernel-features.h: Define
17496         __ASSUME_STATFS_F_FLAGS.
17498         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17500         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17501         Add sys/fanotify.h.
17502         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17503         fanotify_mask for GLIBC_2.13.
17504         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17505         fanotify_init and fanotify_mark.
17506         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17507         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17509         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17510         Add prlimit.
17511         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17512         prlimit64 for GLIBC_2.13.
17513         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17514         prlimit64.
17515         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17516         syscall.
17517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17518         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17519         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17520         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17521         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
17522         add prlimit alias.
17523         * sysdeps/unix/sysv/linux/prlimit.c: New file.
17525         [BZ #11903]
17526         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17527         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17529         * nss/Makefile: Add rules to build and run tst-nss-test1.
17530         * shlib-versions: Add entry for libnss_test1.
17531         * nss/nss_test1.c: New file.
17532         * nss/tst-nss-test1.c: New file.
17534         * nss/nsswitch.c (__nss_database_custom): Define new variable.
17535         (__nss_configure_lookup): Set appropriate entry in
17536         __nss_configure_lookup to true.
17537         * nss/nsswitch.h: Define enum with indeces of databases in
17538         databases and __nss_database_custom arrays.  Declare
17539         __nss_database_custom.
17540         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17541         to avoid using nscd when custom rules are installed.
17542         * nss/getXXbyYY_r.c: Likewise.
17543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17545         * nss/nss_files/files-parse.c: Whitespace fixes.
17547 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
17549         [BZ #11883]
17550         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17551         * posix/fnmatch_loop.c: Likewise.
17553 2010-07-17  Andi Kleen  <ak@linux.intel.com>
17555         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17556         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17557         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17558         * Versions.def [GLIBC_2.13]: Add.
17560 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
17562         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17563         Also fail if tpwd after pwuid call is NULL.
17565 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17567         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17568         when converting to ms.
17570 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17572         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17573         EOPNOTSUPP errors with ENOTTY.
17574         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17575         EOPNOTSUPP errors with ENOTTY.
17577 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
17579         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17580         Add strcasecmp_l-ssse3.
17581         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17582         strcasecmp.
17583         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17584         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17585         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17587 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
17589         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17591         * string/Makefile (strop-tests): Add strcasecmp.
17592         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17593         strcasecmp_l-nonascii.
17594         (gen-as-const-headers): Add locale-defines.sym.
17595         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17596         * sysdeps/x86_64/strcasecmp.S: New file.
17597         * sysdeps/x86_64/strcasecmp_l.S: New file.
17598         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17599         * sysdeps/x86_64/locale-defines.sym: New file.
17600         * string/test-strcasecmp.c: New file.
17602         * string/test-strcasestr.c: Test both ends of the range of characters.
17603         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17605 2010-07-29  Roland McGrath  <roland@redhat.com>
17607         [BZ #11856]
17608         * manual/locale.texi (Yes-or-No Questions): Fix example code.
17610 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
17612         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17613         for ld.so.
17615 2010-07-27  Andreas Schwab  <schwab@redhat.com>
17617         * manual/memory.texi (Malloc Tunable Parameters): Document
17618         M_PERTURB.
17620 2010-07-26  Roland McGrath  <roland@redhat.com>
17622         [BZ #11840]
17623         * configure.in (-fgnu89-inline check): Set and substitute
17624         gnu89_inline, not libc_cv_gnu89_inline.
17625         * configure: Regenerated.
17626         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17628 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
17630         * string/test-strnlen.c: New file.
17631         * string/Makefile (strop-tests): Add strnlen.
17632         * string/tester.c (test_strnlen): Add a few more test cases.
17633         * string/tst-strlen.c: Better error reporting.
17635         * sysdeps/x86_64/strnlen.S: New file.
17637 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
17639         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17640         lower-latency instructions.
17642 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
17644         * string/test-strcasestr.c: New file.
17645         * string/test-strstr.c: New file.
17646         * string/Makefile (strop-tests): Add strstr and strcasestr.
17647         * string/str-two-way.h: Don't undefine MAX.
17648         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17650 2010-07-21  Andreas Schwab  <schwab@redhat.com>
17652         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17653         strcasestr-nonascii.
17654         (CFLAGS-strcasestr-nonascii.c): Define.
17655         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17656         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17657         Remove unused attribute.
17659 2010-07-20  Roland McGrath  <roland@redhat.com>
17661         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17662         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
17663         ld.so.cache was broken.  With it, there is no way to disable dsocaps
17664         like LD_HWCAP_MASK can disable hwcaps.
17666 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
17668         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17670 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
17672         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17673         call in strcasestr.
17674         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17675         __strcasestr_sse42_nonascii.
17676         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17677         strcasestr-nonascii.c.
17678         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17680 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
17682         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17683         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17684         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17685         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17687 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
17689         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17690         fcntl.
17692 2010-07-06  Andreas Schwab  <schwab@redhat.com>
17694         [BZ #11577]
17695         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17696         dl_signal_cerror.
17698 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
17700         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17701         _PC_PIPE_BUF using F_GETPIPE_SZ.
17703 2010-07-05  Roland McGrath  <roland@redhat.com>
17705         * manual/arith.texi (Rounding Functions): Fix rint description
17706         implicit in round description.
17708 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
17710         * elf/Makefile: Fix linking for a few tests to make recent linker
17711         happy.
17713 2010-06-30  Andreas Schwab  <schwab@redhat.com>
17715         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17716         $(common-objpfx)libc_nonshared.a.
17718 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
17720         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17721         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17722         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17723         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17724         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17725         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17726         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17727         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17742         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17743         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17744         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17745         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17746         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17747         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17748         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17749         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17750         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17751         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17752         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17753         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17769 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17771         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17772         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
17773         * string/memmove.c (memmove): Renamed to ...
17774         (MEMMOVE): ...this.  Default to memmove.
17775         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17776         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17777         (END_CHK): Define.
17778         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17779         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17780         mempcpy-ssse3-back memmove-ssse3-back.
17781         * sysdeps/x86_64/multiarch/bcopy.S: New file .
17782         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17783         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17784         * sysdeps/x86_64/multiarch/memcpy.S: New file.
17785         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17786         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17787         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17788         * sysdeps/x86_64/multiarch/memmove.c: New file.
17789         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17790         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17791         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17792         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17793         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17794         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17795         Define.
17796         (index_Fast_Copy_Backward): Define.
17797         (HAS_ARCH_FEATURE): Define.
17798         (HAS_FAST_REP_STRING): Define.
17799         (HAS_FAST_COPY_BACKWARD): Define.
17801 2010-06-21  Andreas Schwab  <schwab@redhat.com>
17803         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17804         Restore proper fallback handling.
17806 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
17808         [BZ #11701]
17809         * posix/group_member.c (__group_member): Correct checking loop.
17811         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17812         OOM in getpwuid_r correctly.  Return error number when the caller
17813         should return, otherwise -1.
17814         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17815         call returning > 0 value.
17816         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17818 2010-06-07  Andreas Schwab  <schwab@redhat.com>
17820         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17821         libc_nonshared.a from targets in modules-names.
17823 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
17825         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17826         requires it.
17828 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
17830         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17831         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17832         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17833         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17835 2010-06-02  Andreas Schwab  <schwab@redhat.com>
17837         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17839 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
17841         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17842         and F_GETPIPE_SZ.
17843         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17844         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17845         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17846         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17847         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17848         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17850 2010-06-14  Roland McGrath  <roland@redhat.com>
17852         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17854 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
17856         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17857         __REDIRECT followed by __THROW.
17858         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17859         * posix/getopt.h (getopt): Likewise.
17861 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
17863         * hurd/lookup-at.c (__file_name_lookup_at): Accept
17864         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
17865         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17866         in AT_FLAGS.
17867         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17868         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17870 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
17872         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17874 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
17876         [BZ #11640]
17877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17878         Properly check family and model.
17880 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
17882         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17884 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
17886         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17888 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
17890         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17891         symbol reference.
17893 2010-05-19  Andreas Schwab  <schwab@redhat.com>
17895         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17896         symbol reference.
17898 2010-05-21  Andreas Schwab  <schwab@redhat.com>
17900         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17901         and internal_recvmmsg.
17902         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17903         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17904         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17905         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17907         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17908         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17909         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17911 2010-05-20  Andreas Schwab  <schwab@redhat.com>
17913         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17915 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
17917         POWER7 optimizations.
17918         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17919         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17921 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
17923         * version.h: Update for 2.13 development version.
17925 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
17927         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17928         exceptions.  Return 0.
17930 2010-05-07  Roland McGrath  <roland@redhat.com>
17932         * elf/ldconfig.c (main): Add a const.
17934 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
17936         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17937         (args_options): Add no-idn option.
17938         (ahosts_keys_int): Add idn_flags to ai_flags.
17939         (parse_option): Handle 'i' option to clear idn_flags.
17941         * malloc/malloc.c (_int_free): Possible race in the most recently
17942         added check.  Only act on the data if no current modification
17943         happened.
17945 See ChangeLog.17 for earlier changes.