Add a const in arm_gnu_pltexit signature.
[glibc.git] / ChangeLog
blob7dbea5ee094a49be3a815463f8f88c7abdca3966
1 2012-08-08  Roland McGrath  <roland@hack.frob.com>
3         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6         sysdeps/unix -> sysdeps/posix move.
7         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9 2012-08-07      Allan McRae     <allan@archlinux.org>
11         [BZ #14303]
12         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13         (SUNOS_CPP): Likewise.
14         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15         not found.
16         (open_input): Call CPP using execvp.
18 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20         * sysdeps/unix/sysv/linux/kernel-features.h
21         (__ASSUME_PROT_GROWSUPDOWN): Remove.
22         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24         (__ASSUME_WAITID_SYSCALL): Likewise.
25         * sysdeps/unix/sysv/linux/dl-execstack.c
26         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27         code unconditional.
28         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29         conditional code.
30         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33         code.
34         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35         unconditional.
36         [__ASSUME_WAITID_SYSCALL]: Likewise.
37         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39 2012-08-07  Roland McGrath  <roland@hack.frob.com>
41         * sysdeps/unix/closedir.c: Renamed to ...
42         * sysdeps/posix/closedir.c: ... here.
43         * sysdeps/unix/dirfd.c: Renamed to ...
44         * sysdeps/posix/dirfd.c: ... here.
45         * sysdeps/unix/dirstream.h: Renamed to ...
46         * sysdeps/posix/dirstream.h: ... here.
47         * sysdeps/unix/fdopendir.c: Renamed to ...
48         * sysdeps/posix/fdopendir.c: ... here.
49         * sysdeps/unix/opendir.c: Renamed to ...
50         * sysdeps/posix/opendir.c: ... here.
51         * sysdeps/unix/readdir.c: Renamed to ...
52         * sysdeps/posix/readdir.c: ... here.
53         * sysdeps/unix/readdir_r.c: Renamed to ...
54         * sysdeps/posix/readdir_r.c: ... here.
55         * sysdeps/unix/rewinddir.c: Renamed to ...
56         * sysdeps/posix/rewinddir.c: ... here.
57         * sysdeps/unix/seekdir.c: Renamed to ...
58         * sysdeps/posix/seekdir.c: ... here.
59         * sysdeps/unix/telldir.c: Renamed to ...
60         * sysdeps/posix/telldir.c: ... here.
61         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
64         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
66         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67         * bits/fcntl.h: ... here.
69         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
70         not 0.
71         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
73         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
74         (struct flock): Move l_start, l_len to the beginning.
75         Use __pid_t for l_pid.
76         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
77         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
79         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
80         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
81         [__USE_LARGEFILE64] (struct flock64): New type.
82         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
84         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
85         * bits/dirent.h: ... here.
87         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
88         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
90 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
92         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
93         Change from 2.6.0 to 2.6.16.
94         * sysdeps/unix/sysv/linux/configure: Regenerated.
95         * sysdeps/unix/sysv/linux/kernel-features.h
96         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
97         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
98         version.
99         (__ASSUME_UTIMES): Likewise.
100         (__ASSUME_CLONE_STOPPED): Remove.
101         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
102         architectures, not kernel version.
103         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
104         (__ASSUME_NO_CLONE_DETACHED): Likewise.
105         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
106         (__ASSUME_WAITID_SYSCALL): Likewise.
107         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
108         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
109         * README: State 2.6.16 as minimum Linux kernel version.  Do not
110         refer to older versions.
112 2012-08-06  Roland McGrath  <roland@hack.frob.com>
114         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
115         Define alphasort64 as an alias.
116         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
117         Define versionsort64 as an alias.
118         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
119         Define scandir64 as an alias.
120         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
121         Define scandirat64 as an alias.
122         * dirent/alphasort64.c (alphasort64):
123         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
124         * dirent/versionsort64.c: Likewise.
125         * dirent/scandir64.c: Likewise.
126         * dirent/scandirat64.c: Likewise.
127         * sysdeps/wordsize-64/alphasort.c: File removed.
128         * sysdeps/wordsize-64/alphasort64.c: File removed.
129         * sysdeps/wordsize-64/scandir.c: File removed.
130         * sysdeps/wordsize-64/scandir64.c: File removed.
131         * sysdeps/wordsize-64/scandirat.c: File removed.
132         * sysdeps/wordsize-64/scandirat64.c: File removed.
133         * sysdeps/wordsize-64/versionsort.c: File removed.
134         * sysdeps/wordsize-64/versionsort64.c: File removed.
135         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
136         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
137         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
138         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
139         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
140         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
141         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
142         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
144         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
145         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
146         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
147         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
148         [defined __arch64__ || defined __sparcv9]
149         (__INO_T_MATCHES_INO64_T): New macro.
150         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
151         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
152         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
153         * sysdeps/unix/sysv/linux/bits/dirent.h
154         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
155         (_DIRENT_MATCHES_DIRENT64): New macro.
157         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
158         Define lockf64 as an alias.
159         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
160         Define fseeko64 as an alias.
161         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
162         Define ftello64 as an alias.
163         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
164         Define _IO_fgetpos64 and fgetpos64 as aliases.
165         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
166         Define _IO_fsetpos64 and fsetpos64 as aliases.
167         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
168         Conditionalize body on this.
169         * libio/fseeko64.c: Likewise.
170         * libio/ftello64.c: Likewise.
171         * libio/iofgetpos64.c: Likewise.
172         * libio/iofsetpos64.c: Likewise.
173         * sysdeps/wordsize-64/lockf.c: File removed.
174         * sysdeps/wordsize-64/lockf64.c: File removed.
175         * sysdeps/wordsize-64/fseeko.c: File removed.
176         * sysdeps/wordsize-64/fseeko64.c: File removed.
177         * sysdeps/wordsize-64/ftello.c: File removed.
178         * sysdeps/wordsize-64/ftello64.c: File removed.
179         * sysdeps/wordsize-64/iofgetpos.c: File removed.
180         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
181         * sysdeps/wordsize-64/iofsetpos.c: File removed.
182         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
183         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
184         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
185         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
186         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
187         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
188         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
189         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
190         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
191         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
192         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
194         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
195         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
196         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
197         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
198         [defined __arch64__ || defined __sparcv9]
199         (__OFF_T_MATCHES_OFF64_T): New macro.
200         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
201         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
202         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
203         (__OFF_T_MATCHES_OFF64_T): New macro.
205 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
207         * stdlib/secure-getenv.c (__secure_getenv): Replace
208         GLIBC_2_16 with GLIBC_2_17.
210 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
212         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
213         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
215 2012-08-03  David S. Miller  <davem@davemloft.net>
217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
219 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
221         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
222         Remove.
223         (__ASSUME_CORRECT_SI_PID): Likewise.
224         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
225         (__ASSUME_TMPFS_NAME): Likewise.
226         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
227         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
228         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
229         (HAVE_AUX_SECURE): Make definition unconditional.
230         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
231         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
233 2012-08-03  Roland McGrath  <roland@hack.frob.com>
235         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
236         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
237         * sysdeps/mach/hurd/eloop-threshold.h: New file.
238         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
239         __eloop_threshold instead of SYMLOOP_MAX.
241         * sysdeps/generic/eloop-threshold.h: New file.
242         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
243         of MAXSYMLINKS.
244         * elf/chroot_canon.c (chroot_canon): Likewise.
246 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
248         [BZ #13717]
249         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
250         Change to 2.6.0 everywhere.
251         * sysdeps/unix/sysv/linux/configure: Regenerated.
252         * sysdeps/unix/sysv/linux/kernel-features.h
253         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
254         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
255         kernel versions.
256         (__ASSUME_POSIX_TIMERS): Define unconditionally.
257         (__ASSUME_FUTEX_REQUEUE): Remove.
258         (__ASSUME_STATFS64): Define unconditionally.
259         (__ASSUME_AT_SECURE): Likewise.
260         (__ASSUME_CORRECT_SI_PID): Likewise.
261         (__ASSUME_TGKILL): Define without depending on kernel version for
262         i386.
263         (__ASSUME_UTIMES): Likewise.
264         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
265         kernel version.
266         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
267         (__ASSUME_TMPFS_NAME): Likewise.
268         * README: Update reference to Linux kernel versions.
270 2012-08-02  Marek Polacek  <polacek@redhat.com>
272         [BZ#14150]
273         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
274         libc_cv_asm_type_prefix with %.
275         * configure: Regenerated.
276         * include/libc-symbols.h: Remove comment about
277         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
278         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
279         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
280         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
281         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
282         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
283         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
284         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
285         * elf/tst-unique2mod1.c: Likewise.
286         * elf/tst-unique1mod2.c: Likewise.
287         * elf/tst-unique1mod1.c: Likewise.
288         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
289         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
290         Replace ASM_TYPE_DIRECTIVE with .type.
291         * sysdeps/s390/s390-64/sysdep.h: Likewise.
292         * sysdeps/i386/sysdep.h: Likewise.
293         * sysdeps/x86_64/sysdep.h: Likewise.
294         * sysdeps/sh/sysdep.h: Likewise.
295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
296         Do not define ASM_TYPE_DIRECTIVE.
297         * sysdeps/powerpc/sysdep.h: Likewise.
298         * sysdeps/powerpc/powerpc32/sysdep.h:
299         Replace ASM_TYPE_DIRECTIVE with .type.
300         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
301         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
302         * sysdeps/i386/fpu/e_powf.S: Likewise.
303         * sysdeps/i386/fpu/e_expl.S: Likewise.
304         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
305         * sysdeps/i386/fpu/e_acosh.S: Likewise.
306         * sysdeps/i386/fpu/e_pow.S: Likewise.
307         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
308         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
309         * sysdeps/i386/fpu/s_expm1.S: Likewise.
310         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
311         * sysdeps/i386/fpu/e_log2.S: Likewise.
312         * sysdeps/i386/fpu/e_log2l.S: Likewise.
313         * sysdeps/i386/fpu/e_scalb.S: Likewise.
314         * sysdeps/i386/fpu/e_powl.S: Likewise.
315         * sysdeps/i386/fpu/e_log10f.S: Likewise.
316         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
317         * sysdeps/i386/fpu/e_logl.S: Likewise.
318         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
319         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
320         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
321         * sysdeps/i386/fpu/e_log2f.S: Likewise.
322         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
323         * sysdeps/i386/fpu/e_log.S: Likewise.
324         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
325         * sysdeps/i386/fpu/e_logf.S: Likewise.
326         * sysdeps/i386/fpu/e_log10l.S: Likewise.
327         * sysdeps/i386/fpu/e_atanh.S: Likewise.
328         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
329         * sysdeps/i386/fpu/e_log10.S: Likewise.
330         * sysdeps/i386/fpu/s_frexp.S: Likewise.
331         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
332         * sysdeps/i386/fpu/s_asinh.S: Likewise.
333         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
334         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
335         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
336         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
337         * sysdeps/i386/i686/strtok.S: Likewise.
338         * sysdeps/i386/i386-mcount.S: Likewise.
339         * sysdeps/i386/strtok.S: Likewise.
340         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
341         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
342         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
343         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
344         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
345         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
346         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
347         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
348         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
349         * sysdeps/x86_64/_mcount.S: Likewise.
350         * sysdeps/x86_64/strtok.S: Likewise.
351         * sysdeps/sh/_mcount.S: Likewise.
353 2012-08-01  Roland McGrath  <roland@hack.frob.com>
355         * libio/iofopen.c: Include <fcntl.h>.
356         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
357         (_IO_fopen64, fopen64): Define as aliases.
358         * libio/iofopen64.c: Include <fcntl.h>.
359         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
360         Conditionalize body on this.
361         * sysdeps/wordsize-64/iofopen.c: File removed.
362         * sysdeps/wordsize-64/iofopen64.c: File removed.
364 2012-08-01  Marek Polacek  <polacek@redhat.com>
366         * libc/Makeconfig: Use elf in place of binfmt-subdir.
367         Use dlfcn directly instead of a variable.
368         (binfmt-subdir): Do not define.
369         (dlfcn): Likewise.
371 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
373         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
374         Remove all definitions.
375         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
376         <kernel-features.h>.
377         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
378         (miss_F_GETOWN_EX): Remove all definitions.
379         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
380         macro definition.
381         [!__ASSUME_FCNTL64]: Remove conditional code.
382         [__ASSUME_FCNTL64]: Make code unconditional.
383         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
384         <kernel-features.h>.
385         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
386         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
387         (lockf64) [__NR_fcntl64]: Make code unconditional.
388         (lockf64) [__ASSUME_FCNTL64]: Likewise.
390         * sysdeps/unix/sysv/linux/kernel-features.h
391         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
392         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
393         Make code unconditional.
394         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
395         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
397         [__NR_vfork]: Make code unconditional.
398         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
399         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
401         [__NR_vfork]: Make code unconditional.
402         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
403         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
405 2012-08-01  Roland McGrath  <roland@hack.frob.com>
407         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
408         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
410         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
411         Define mkstemp64 as an alias.
412         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
413         Define mkstemps64 as an alias.
414         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
415         Define mkostemp64 as an alias.
416         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
417         Define mkostemps64 as an alias.
418         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
419         Conditionalize body on this.
420         * misc/mkostemp64.c: Likewise.
421         * misc/mkostemps64.c: Likewise.
422         * misc/mkstemps64.c: Likewise.
423         * sysdeps/wordsize-64/mkstemp64.c: File removed.
424         * sysdeps/wordsize-64/mkostemp64.c: File removed.
425         * sysdeps/wordsize-64/mkostemp.c: File removed.
426         * sysdeps/wordsize-64/mkstemp.c: File removed.
427         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
428         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
429         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
430         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
432         [BZ #14138]
433         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
434         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
435         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
436         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
438         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
439         compat_symbol macros from <shlib-compat.h> rather than the underlying
440         default_symbol_version and symbol_version macros, so that DEFAULT
441         lines in shlib-versions are respected.
442         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
444 2012-08-01  Florian Weimer  <fweimer@redhat.com>
446         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
447         Declare with warn_unused_result.
448         (setgid, setregid, setegid, setresgid): Likewise.
449         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
450         Likewise.
451         * WUR-REPORT: Remove set*id functions.
453 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
455         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
457 2012-07-31  Roland McGrath  <roland@hack.frob.com>
459         * include/sys/socket.h (__libc_accept, __libc_accept4):
460         Add attribute_hidden.
461         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
463         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
464         use of PTR_MANGLE.
465         * inet/getnetgrent_r.c (setup): Likewise.
467         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
469 2012-07-31  David S. Miller  <davem@davemloft.net>
471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
473 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
475         [BZ #13629]
476         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
477         value between 1.0 and 2.0 and smaller part has absolute value less
478         than 1.0.
479         * math/s_clog10.c (__clog10): Likewise.
480         * math/s_clog10f.c (__clog10f): Likewise.
481         * math/s_clog10l.c (__clog10l): Likewise.
482         * math/s_clogf.c (__clogf): Likewise.
483         * math/s_clogl.c (__clogl): Likewise.
484         * math/libm-test.inc (clog_test): Add more tests.
485         (clog10_test): Likewise.
486         * sysdeps/i386/fpu/libm-test-ulps: Update.
487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
489 2012-07-31  Florian Weimer  <fweimer@redhat.com>
491         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
492         Exit with zero in case no suitable GID is found, and write a
493         message to standard error.
495 2012-07-30  Roland McGrath  <roland@hack.frob.com>
497         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
498         rather than to 1.
499         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
500         (MAXPATHLEN): Removed.
501         (NOGROUP, NODEV): New macros.
502         (setbit, clrbit, isset, isclr): New macros.
503         (howmany, roundup, powerof2): New macros.
504         (DEV_BSIZE): New macro.
506         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
507         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
509         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
510         definition on [!__NO_LONG_DOUBLE_MATH].
512         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
513         PTR_MANGLE and PTR_DEMANGLE.
515         * socket/accept4.c (accept4): Rename to __libc_accept4.
516         Define accept4 as a weak alias.
518         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
519         on [_DIRENT_HAVE_D_TYPE].
520         * io/ftw.c (ftw_dir): Likewise.
522         * io/xmknod.c (__xmknod): Don't check PATH for being null.
524         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
526         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
527         Use the BSD numbers rather than the arbitrary ones we had.
528         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
529         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
530         (SIGXCPU, SIGXFSZ): New macros.
531         (_NSIG): Now 32.
533         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
534         initializer on [_LIBC_REENTRANT].
536         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
537         definitions inside [_POSIX_MAPPED_FILES].
539         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
541         * dirent/opendir.c: Include <fcntl.h>.
543         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
544         (__libc_getspecific): Likewise.
545         (__libc_key_create): Likewise.
547         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
548         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
549         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
550         (tmpfile64): Define as alias.
551         * sysdeps/wordsize-64/tmpfile.c: File removed.
552         * sysdeps/wordsize-64/tmpfile64.c: File removed.
553         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
554         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
556         * stdio-common/vfscanf.c: Include <stdbool.h>.
557         * nss/makedb.c: Likewise.
558         * stdio-common/_i18n_number.h: Likewise.
559         * argp/argp-help.c: Likewise.
560         * posix/wordexp.c: Likewise.
561         * sysdeps/posix/spawni.c: Likewise.
562         * nss/nss_files/files-initgroups.c: Likewise.
563         * stdio-common/reg-modifier.c: Include <stdlib.h>.
564         * nss/nss_files/files-initgroups.c: Likewise.
565         * nss/nss_db/db-netgrp.c: Likewise.
566         * nss/nss_db/db-initgroups.c: Likewise.
567         * io/fchmodat.c: Include <sys/stat.h>.
569         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
570         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
572         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
573         [HAVE_MMAP].
575         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
576         Add multiple inclusion protection.
578 2012-07-27  David S. Miller  <davem@davemloft.net>
580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
582 2012-07-27  Gary Benson  <gbenson@redhat.com>
584         [BZ #14298]
585         * elf/rtld.c: Include <stap-probe.h>.
586         (dl_main): Added static probes "init_start" and "init_complete".
587         * elf/dl-load.c: Include <stap-probe.h>.
588         (lose): Take new parameter "nsid".
589         Added static probe "map_failed".
590         (_dl_map_object_from_fd): Pass namespace id to lose.
591         Added static probe "map_start".
592         (open_verify): Pass namespace id to lose.
593         * elf/dl-open.c: Include <stap-probe.h>.
594         (dl_open_worker) Added static probes "map_complete", "reloc_start"
595         and "reloc_complete".
596         * elf/dl-close.c: Include <stap-probe.h>.
597         (_dl_close_worker): Added static probes "unmap_start" and
598         "unmap_complete".
599         * elf/rtld-debugger-interface.txt: New file documenting the above.
601 2012-07-26  Roland McGrath  <roland@hack.frob.com>
603         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
604         rather than a string variable.
605         * sunrpc/rpc_main.c (h_output): Likewise.
606         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
608 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
610         * inet/check_native.c: New file.
612 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
614         [BZ #13629]
615         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
616         if larger part has absolute value 1.0.
617         * math/s_clog10.c (__clog10): Likewise.
618         * math/s_clog10f.c (__clog10f): Likewise.
619         * math/s_clog10l.c (__clog10l): Likewise.
620         * math/s_clogf.c (__clogf): Likewise.
621         * math/s_clogl.c (__clogl): Likewise.
622         * math/libm-test.inc (clog_test): Add more tests.
623         (clog10_test): Likewise.
624         * sysdeps/i386/fpu/libm-test-ulps: Update.
625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
627         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
628         (pltexit): Likewise.
629         (La_regs): Likewise.
630         (La_retval): Likewise.
631         (int_retval): Likewise.
632         Update #error for removed macros to refer only to definitions in
633         tst-audit.h.
634         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
635         macro.
636         (pltexit): Likewise.
637         (La_regs): Likewise.
638         (La_retval): Likewise.
639         (int_retval): Likewise.
640         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
641         macro.
642         (pltexit): Likewise.
643         (La_regs): Likewise.
644         (La_retval): Likewise.
645         (int_retval): Likewise.
646         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
647         macro.
648         (pltexit): Likewise.
649         (La_regs): Likewise.
650         (La_retval): Likewise.
651         (int_retval): Likewise.
652         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
653         macro.
654         (pltexit): Likewise.
655         (La_regs): Likewise.
656         (La_retval): Likewise.
657         (int_retval): Likewise.
658         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
659         macro.
660         (pltexit): Likewise.
661         (La_regs): Likewise.
662         (La_retval): Likewise.
663         (int_retval): Likewise.
664         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
665         macro.
666         (pltexit): Likewise.
667         (La_regs): Likewise.
668         (La_retval): Likewise.
669         (int_retval): Likewise.
670         * sysdeps/generic/tst-audit.h: Update comment to refer only to
671         macro definitions in tst-audit.h.
672         * sysdeps/i386/tst-audit.h: New file.
673         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
674         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
675         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
676         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
677         * sysdeps/sh/tst-audit.h: Likewise.
678         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
679         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
680         * sysdeps/x86_64/tst-audit.h: Likewise.
682 2012-07-26  Andreas Jaeger  <aj@suse.de>
684         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
685         ptrace.
687         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
688         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
689         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
690         PTRACE_O_MASK.
691         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
692         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
693         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
695         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
696         value.
698         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
699         _sigsys.
700         (si_call_addr, si_syscall, si_arch): Define new macro.
701         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
702         _sigsys.
703         (si_call_addr, si_syscall, si_arch): Define new marcro.
704         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
705         _sigsys.
706         (si_call_addr, si_syscall, si_arch): Define new macro.
707         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
708         _sigsys.
709         (si_call_addr, si_syscall, si_arch): Define new macro.
711 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
713         [BZ #13717]
714         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
715         Change to 2.4.21 where previously 2.4.1.
716         * sysdeps/unix/sysv/linux/configure: Regenerated.
717         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
718         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
719         Linux kernel version.
720         (__ASSUME_STD_AUXV): Remove.
721         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
722         kernel version.
723         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
724         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
725         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
726         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
727         (__ASSUME_NETLINK_SUPPORT): Likewise.
728         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
729         (__no_netlink_support): Remove conditional definition.
730         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
731         Remove.
732         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
733         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
734         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
735         (if_nameindex_ioctl): Remove.
736         (if_nameindex_netlink): Do not handle __no_netlink_support.
737         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
738         code.
739         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
740         Remove conditional code.
741         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
742         code.
743         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
744         unconditional.
745         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
746         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
747         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
748         Remove.
749         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
750         [!__ASSUME_STD_AUXV]: Remove conditional code.
751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
752         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
753         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
755         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
756         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
757         code.
758         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
760         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
761         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
762         conditional code.
763         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
765         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
766         code.
767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
768         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
769         conditional code.
770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
771         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
772         code unconditional.
773         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
774         conditional code.
775         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
776         unconditional.
777         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
778         conditional code.
779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
780         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
781         unconditional.
782         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
783         conditional code.
784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
785         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
786         code unconditional.
787         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
788         conditional code.
789         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
790         unconditional.
791         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
792         conditional code.
793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
794         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
795         code unconditional.
796         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
797         conditional code.
798         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
799         unconditional.
800         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
801         conditional code.
803 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
805         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
806         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
807         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
808         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
809         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
810         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
811         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
812         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
813         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
814         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
815         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
816         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
817         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
818         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
819         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
820         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
821         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
822         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
823         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
825         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
826         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
827         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
829 2012-07-25  Florian Weimer  <fweimer@redhat.com>
831         * Versions.def: Add GLIBC_2.17.
832         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
833         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
834         Introduce __libc_secure_getenv.
835         * stdlib/Versions (2.17): Add secure_getenv
836         (GLIBC_PRIVATE): Add __libc_secure_getenv.
837         * stdlib/secure-getenv.c: Rename __secure_getenv to
838         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
839         symbol __secure_getenv for GLIBC_2.0.
840         * stdlib/tst-secure-getenv.c: New.
841         * stdlib/Makefile (tests): Add testcase.
842         * manual/startup.texi (Environment Access): Document
843         secure_getenv.
844         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
845         __libc_secure_getenv.
846         * inet/ruserpass.c (ruserpass): Likewise.
847         * malloc/mtrace.c (mtrace): Likewise.
848         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
849         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
850         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
851         * sysdeps/posix/tempname.c: Likewise.  Evaluate
852         HAVE_SECURE_GETENV.
853         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
854         __secure_getenv to __libc_secure_getenv.
855         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
857         Likewise.
858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
859         Likewise.
860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
862         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
868 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
870         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
871         (struct La_i86_retval): Likewise.
872         (struct La_x86_64_regs): Likewise.
873         (struct La_x86_64_retval): Likewise.
874         (struct La_x32_regs): Likewise.
875         (struct La_x32_retval): Likewise.
876         (struct La_ppc32_regs): Likewise.
877         (struct La_ppc32_retval): Likewise.
878         (struct La_ppc64_regs): Likewise.
879         (struct La_ppc64_retval): Likewise.
880         (struct La_sh_regs): Likewise.
881         (struct La_sh_retval): Likewise.
882         (struct La_s390_32_regs): Likewise.
883         (struct La_s390_32_retval): Likewise.
884         (struct La_s390_64_regs): Likewise.
885         (struct La_s390_64_retval): Likewise.
886         (struct La_sparc32_regs): Likewise.
887         (struct La_sparc32_retval): Likewise.
888         (struct La_sparc64_regs): Likewise.
889         (struct La_sparc64_retval): Likewise.
890         (struct audit_ifaces): Remove architecture-specific pltenter and
891         pltexit members.
892         * sysdeps/i386/ldsodefs.h: New file.
893         * sysdeps/powerpc/ldsodefs.h: Likewise.
894         * sysdeps/s390/ldsodefs.h: Likewise.
895         * sysdeps/sh/ldsodefs.h: Likewise.
896         * sysdeps/sparc/ldsodefs.h: Likewise.
897         * sysdeps/x86_64/ldsodefs.h: Likewise.
899 2012-07-25  Marek Polacek  <polacek@redhat.com>
901         [BZ #6808]
902         * math/libm-test.inc (yn_test): Add another test.
903         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
904         to ERANGE when the result is +-Inf.
905         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
906         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
907         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
908         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
910 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
912         * conform/data/time.h-data (NULL): Use macro-constant.  Require
913         equal to 0.
914         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
915         clock_t.
916         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
918 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
920         * configure.in <sysdeps resolving>: Correct printing
921         Implies_before.
922         * configure: Regenerate.
924 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
926         * math/w_ilogb.c: Include <limits.h>.
927         * math/w_ilogbl.c: Likewise.
929 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
931         * manual/lang.texi (__va_copy): Document primarily as ISO C99
932         va_copy.  Document allowing for unavailable va_copy only as
933         pre-C99 compatibility.
934         * manual/string.texi (Copying and Concatenation): Use va_copy
935         instead of __va_copy in concat example.
937 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
939         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
940         (__sendto): Use create_address_port.  Initialize APORT and deallocate
941         it if not null.
943         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
944         with O_NOLINK passed to __file_name_lookup.
946         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
947         with O_NOLINK passed to __file_name_lookup.
949         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
950         negative N or less than NGIDS.
952         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
953         type to string_t.  Set ERANGE as errno and return it if NAME is not big
954         enough.  Use memcpy instead of strncpy.
956 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
958         * elf/Makefile (check-data): Remove.
959         (localplt.data): New vpath directive.
960         ($(objpfx)check-localplt.out): Use localplt.data from vpath
961         instead of $(check-data).
962         * scripts/data/localplt-generic.data: Move to ...
963         * sysdeps/generic/localplt.data: ... here.
964         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
965         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
966         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
968         ... here.
969         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
971         ... here.
972         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
974         ... here.
975         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
977         ... here.
978         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
980         ... here.
981         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
983         ... here.
985 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
987         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
988         PPC32 and PPC64 files.
989         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
990         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
992 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
994         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
995         __makecontext_ret to ...
996         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
997         ... here and call exit if uc_link is NULL.  New file.
998         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
999         __makecontext_ret.S.
1000         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1001         __makecontext_ret to ...
1002         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1003         ... here and call exit if uc_link is NULL.  New file.
1004         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1005         __makecontext_ret.S.
1007 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1009         * elf/elf.h (R_390_IRELATIVE): New definition.
1010         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1011         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
1012         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1013         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1014         (elf_machine_lazy_rel): Likewise.
1015         * sysdeps/s390/dl-irel.h: New file.
1016         * sysdeps/s390/s390-64/memcpy.S: New asm code.
1017         * sysdeps/s390/s390-64/memset.S: New asm code.
1018         * sysdeps/s390/s390-64/memcmp.S: New asm code.
1019         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1020         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1021         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1022         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1023         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1024         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1025         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1026         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1027         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1028         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1029         * sysdeps/s390/s390-32/memcpy.S: New asm code.
1030         * sysdeps/s390/s390-32/memset.S: New asm code.
1031         * sysdeps/s390/s390-32/memcmp.S: New asm code.
1033 2012-07-17  Marek Polacek  <polacek@redhat.com>
1035         [BZ #14349]
1036         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1037         * sysdeps/s390/s390-64/configure.in: Likewise.
1038         * sysdeps/sparc/configure.in: Likewise.
1039         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1040         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1041         * sysdeps/i386/configure.in: Likewise.
1042         * sysdeps/x86_64/configure.in: Likewise.
1043         * sysdeps/sh/configure.in: Likewise.
1044         * sysdeps/s390/s390-32/configure: Regenerated.
1045         * sysdeps/s390/s390-64/configure: Likewise.
1046         * sysdeps/x86_64/configure: Likewise.
1047         * sysdeps/sh/configure: Likewise.
1048         * sysdeps/powerpc/powerpc64/configure: Likewise.
1049         * sysdeps/powerpc/powerpc32/configure: Likewise.
1050         * sysdeps/sparc/configure: Likwise.
1051         * sysdeps/i386/configure: Likewise.
1053         * elf/dl-open.c: Comment fixes.
1055 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
1057         * Makefile [CXX] (check-data): Remove.
1058         [CXX] (c++-types.data): New vpath directive.
1059         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1060         vpath.  Do not allow for C++ type data being missing.
1061         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1062         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1063         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1064         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1065         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1066         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1067         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1069         ... here.
1070         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1072         ... here.
1073         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1075         ... here.
1076         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1078         ... here.
1079         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1081         ... here.
1082         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1084         ... here.
1085         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1087         ... here.
1088         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1091         * elf/tls-macros.h (TLS_LE): Move architecture-specific
1092         definitions to architecture-specific files.
1093         (TLS_IE): Likewise.
1094         (TLS_LD): Likewise.
1095         (TLS_GD): Likewise.
1096         * sysdeps/i386/tls-macros.h: New file.
1097         * sysdeps/powerpc/tls-macros.h: Likewise.
1098         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1099         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1100         * sysdeps/sh/tls-macros.h: Likewise.
1101         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1102         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1103         * sysdeps/x86_64/tls-macros.h: Likewise.
1105 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
1107         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1108         zero value for regular exit case.
1110         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1111         (__start_context): Preserve zero value for regular exit case.
1113 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
1114             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1116         * manual/setjmp.texi (setcontext): Clarify normal process
1117         termination when uc_link is the null pointer.
1118         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1119         exit call.
1121 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
1123         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1124         preprocessor.  Test for each exception mask separately.
1126 2012-07-16  Andreas Jaeger  <aj@suse.de>
1128         * po/ru.po: Update from translation team.
1130 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
1132         * conform/data/string.h-data (NULL): Use macro-constant.  Require
1133         equal to 0.
1134         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1135         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1136         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1137         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1138         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1140 2012-07-13  Andreas Jaeger  <aj@suse.de>
1142         * po/fr.po: Update from translation team.
1144 2012-07-12  Marek Polacek  <polacek@redhat.com>
1146         [BZ #14173]
1147         * math/libm-test.inc (yn_test): Add test for BZ #14173.
1148         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1149         loop condition.
1151 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
1153         [BZ #13717]
1154         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1155         Change to 2.4.1 where previously 2.4.0.
1156         * sysdeps/unix/sysv/linux/configure: Regenerated.
1157         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1158         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1159         version.
1160         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1161         (__ASSUME_AT_CLKTCK): Remove.
1162         (__ASSUME_AT_PAGESIZE): Likewise.
1163         (__ASSUME_AT_XID): Likewise.
1164         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1165         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1166         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1167         unconditionally.
1168         (HAVE_AUX_PAGESIZE): Likewise.
1169         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1170         [__ASSUME_AT_CLKTCK]: Make code unconditional.
1171         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1173 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
1175         [BZ #14307]
1176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1177         the temporary buffer used to invoke __gethostbyname2_r,
1178         __gethostbyaddr_r and gethostbyname4_r to make room for struct
1179         host_data / struct gaih_addrtuple.
1180         * resolv/nss_dns/dns-host.c (global scope): Move definition of
1181         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1182         header file nss/nsswitch.h.
1183         * nss/nsswitch.h (global scope): Add definition of implementation
1184         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1185         resolv/nss_dns/dns-host.c).
1187 2012-07-11  Andreas Jaeger  <aj@suse.de>
1189         * po/fr.po: Update from translation team.
1191         * po/sv.po: Update from translation team
1192         * po/fr.po: Another update from translation team.
1194 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1196         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1197         for subnormals or multiply small sinh result by itself.
1198         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1201 2012-07-11  David S. Miller  <davem@davemloft.net>
1203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1205 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
1207         [BZ #14347]
1208         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1209         (INTERNAL_MARK): Shift it here.
1211 2012-07-10  Marek Polacek  <polacek@redhat.com>
1213         [BZ #14151]
1214         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
1215         libc_cv_asm_global_directive with .globl.
1216         * configure: Regenerated.
1217         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1218         with .globl.
1219         * sysdeps/i386/configure: Regenerated.
1220         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1221         with .globl.
1222         * sysdeps/x86_64/configure: Regenerated.
1223         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1224         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1225         * elf/tst-unique2mod2.c: Likewise.
1226         * elf/tst-unique2mod1.c: Likewise.
1227         * elf/tst-unique1mod2.c: Likewise.
1228         * elf/tst-unique1mod1.c: Likewise.
1229         * sysdeps/s390/s390-32/sysdep.h: Likewise.
1230         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1231         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1232         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1233         * sysdeps/mach/sysdep.h: Likewise.
1234         * sysdeps/i386/sysdep.h: Likewise.
1235         * sysdeps/i386/i386-mcount.S: Likewise.
1236         * sysdeps/x86_64/_mcount.S: Likewise.
1237         * sysdeps/x86_64/sysdep.h: Likewise.
1238         * sysdeps/sh/_mcount.S: Likewise.
1239         * sysdeps/sh/sysdep.h: Likewise.
1240         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1241         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1242         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1243         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1244         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1245         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1246         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1247         * locale/localeinfo.h: Likewise.
1248         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1249         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1251 2012-07-09  Roland McGrath  <roland@hack.frob.com>
1253         [BZ #14336]
1254         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1255         system".
1256         * manual/message.texi (The Uniforum approach): Likewise.
1257         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1258         (glibc iconv Implementation): Likewise.
1260 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
1262         [BZ #14337]
1263         * math/s_clog.c (__clog): Avoid scaling a value down where that
1264         could result in underflow.
1265         * math/s_clog10.c (__clog10): Likewise.
1266         * math/s_clog10f.c (__clog10f): Likewise.
1267         * math/s_clog10l.c (__clog10l): Likewise.
1268         * math/s_clogf.c (__clogf): Likewise.
1269         * math/s_clogl.c (__clogl): Likewise.
1270         * math/libm-test.inc (clog_test): Add more tests.
1271         (clog10_test): Likewise.
1272         * sysdeps/i386/fpu/libm-test-ulps: Update.
1273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1275 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
1277         [BZ #14283]
1278         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1279         by 7 not 8 to examine high bit of fractional part.
1281         [BZ #14042]
1282         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1283         for call to __mcount_internal.
1284         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1285         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1286         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1288 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
1290         [BZ #14154]
1291         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1292         approximation for values within 0x1p-13f of an odd multiple of
1293         pi/4.
1294         * math/libm-test.inc (tan_test): Do not allow spurious underflow
1295         exception.  Add more tests.
1296         * sysdeps/i386/fpu/libm-test-ulps: Update.
1298         [BZ #6778]
1299         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1300         inputs and return -1 for them.  Do not check for +Inf in case not
1301         reachable for +Inf.
1302         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1303         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1304         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1305         and return -1 for them.  Do not check for +Inf in case not
1306         reachable for +Inf.
1307         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1308         define.
1309         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1310         and return -1 for them.  Do not check for +Inf in case not
1311         reachable for +Inf.
1312         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
1313         spurious underflow.
1314         * sysdeps/i386/fpu/libm-test-ulps: Update.
1315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1317 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
1319         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1321 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
1323         [BZ #14157]
1324         [BZ #14331]
1325         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1326         could result in spurious underflow.  Scale down values above
1327         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1328         * math/s_csqrtf.c (__csqrtf): Likewise.
1329         * math/s_csqrtl.c (__csqrtl): Likewise.
1330         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
1331         spurious underflow.
1332         * sysdeps/i386/fpu/libm-test-ulps: Update.
1333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1335 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1337         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1338         xopen-msg.sed.
1339         * catgets/xopen-msg.awk: New file.
1340         * catgets/xopen-msg.sed: Removed.
1342         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1343         po2text.sed.
1344         * intl/po2test.awk: New file.
1345         * intl/po2test.sed: Removed.
1347 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
1349         [BZ #14328]
1350         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1351         or multiply small sinh result by itself.
1352         * math/s_ctanf.c (__ctanf): Likewise.
1353         * math/s_ctanh.c (__ctanh): Likewise.
1354         * math/s_ctanhf.c (__ctanhf): Likewise.
1355         * math/s_ctanhl.c (__ctanhl): Likewise.
1356         * math/s_ctanl.c (__ctanl): Likewise.
1357         * math/libm-test.inc (ctan_test_tonearest): New function.
1358         (ctan_test_towardzero): Likewise.
1359         (ctan_test_downward): Likewise.
1360         (ctan_test_upward): Likewise.
1361         (ctanh_test_tonearest): Likewise.
1362         (ctanh_test_towardzero): Likewise.
1363         (ctanh_test_downward): Likewise.
1364         (ctanh_test_upward): Likewise.
1365         (main): Call these new functions.
1366         * sysdeps/i386/fpu/libm-test-ulps: Update.
1367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1369 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
1371         * .gitignore: Delete /ports entry.
1373 2012-07-03  Andreas Jaeger  <aj@suse.de>
1375         * po/bg.po: Update from translation team.
1376         * po/cs.po: Likewise.
1377         * po/de.po: Likewise.
1378         * po/hr.po: Likewise.
1379         * po/nl.pl: Likewise.
1380         * po/pl.po: Likewise.
1381         * po/vi.po: Likewise.
1383 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
1385         * Makeconfig [!+link] (+link-before-libc): New variable.
1386         [!+link] (+link-after-libc): Likewise.
1387         [!+link] (+link-tests): Likewise.
1388         [!+link] (+link): Define in terms of $(+link-before-libc) and
1389         $(+link-after-libc).
1390         [!+link-static] (+link-static-before-libc): New variable.
1391         [!+link-static] (+link-static-after-libc): Likewise.
1392         [!+link-static] (+link-static-tests): Likewise.
1393         [!+link-static] (+link-static): Define in terms of
1394         $(+link-static-before-libc) and $(+link-static-after-libc).
1395         [build-shared] (link-libc-before-gnulib): New variable.
1396         [build-shared] (link-libc-tests): Likewise.
1397         [build-shared] (link-libc): Define in terms of
1398         $(link-libc-before-gnulib).
1399         [!build-shared] (link-libc-tests): New variable.
1400         (link-libc-static-tests): New variable.
1401         [!gnulib] (gnulib-arch): New variable.
1402         [!gnulib] (gnulib-tests): Likewise.
1403         [!gnulib] (static-gnulib-arch): Likewise.
1404         [!gnulib] (static-gnulib-tests): Likewise.
1405         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
1406         Define with "=" instead of ":=".
1407         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
1408         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
1409         * Rules (binaries-all-notests): New variable.
1410         (binaries-all-tests): Likewise.
1411         (binaries-static-notests): Likewise.
1412         (binaries-static-tests): Likewise.
1413         (binaries-all): Define using $(binaries-all-notests) and
1414         $(binaries-all-tests).
1415         (binaries-static): Define using $(binaries-static-notests) and
1416         $(binaries-static-tests).
1417         (binaries-shared-tests): New variable.
1418         (binaries-shared-notests): Likewise.
1419         (binaries-shared): Remove variable.
1420         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1421         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1422         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1423         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1424         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1425         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1426         * elf/Makefile (sln-modules): New variable.
1427         (extra-objs): Add $(sln-modules:=.o).
1428         (ldconfig-modules): Add static-stubs.
1429         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1430         * elf/static-stubs.c: New file.
1432         [BZ #14283]
1433         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1434         by 7 not 8 to examine high bit of fractional part.  Use volatile
1435         variables when splitting into final array of floats if
1436         __FLT_EVAL_METHOD__ != 0.
1437         * math/libm-test.inc (cos_test): Add another test.
1438         (sin_test): Likewise.
1439         * sysdeps/i386/fpu/libm-test-ulps: Update.
1441         [BZ #14273]
1442         * math/libm-test.inc (cosh_test): Add more tests.
1444         * version.h (RELEASE): Set to "development".
1445         (VERSION): Set to "2.16.90".
1447 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
1449         * NEWS: Update copyright. Remove last-updated date.
1450         Mention math library bug fixes and timezone data changes.
1451         * README: Mention GNU/Hurd, x32, and HPPA support status.
1453 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
1455         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1457 2012-06-27  Andreas Jaeger  <aj@suse.de>
1459         * manual/contrib.texi (Contributors): Add Samuel Thibault.
1461 2012-06-25  Andreas Jaeger  <aj@suse.de>
1463         * sysdeps/s390/fpu/libm-test-ulps: Update.
1465 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
1466             Thomas Schwinge  <thomas@codesourcery.com>
1468         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1469         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1470         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1471         fanotify_mark.
1473 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
1475         * sysdeps/mach/start.c: Remove file.
1476         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1477         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1478         * sysdeps/sh/init-first.c: Likewise.
1480         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1481         registers for frame unwinding purposes, add CFI directives.
1482         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1483         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1484         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1485         Likewise.
1487         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1488         __fortify_fail returning.
1489         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1491         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1492         sysdeps/sh/____longjmp_chk.S.
1493         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1494         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1495         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1496         (gen-as-const-headers): Append sigaltstack-offsets.sym.
1498         * sysdeps/sh/abort-instr.h: New file.
1499         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1500         process in case exit returns.
1502         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1503         initialize the GOT register before use.
1505         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1506         calculation of ARGC > 4.
1508         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1509         meaningful names to some local labels.
1511 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1512             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1514         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1515         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1516         (__arch_compare_and_exchange_val_16_acq): Likewise.
1517         (__arch_compare_and_exchange_val_32_acq): Likewise.
1518         (atomic_exchange_and_add): Fix gUSA sequence.
1519         (atomic_add): Likewise.
1520         (atomic_add_negative): Likewise.
1521         (atomic_add_zero): Likewise.
1522         (atomic_bit_test_set): Likewise.
1524 2012-06-22  Andreas Schwab  <schwab@redhat.com>
1526         [BZ #13579]
1527         * include/link.h (struct link_map): Add l_free_initfini.
1528         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1529         l_initfini.
1530         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1531         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1532         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1533         set.
1535 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
1537         * configure.in: Use AC_LANG_SOURCE.
1538         * configure: Regenerate.
1540 2012-06-22  Roland McGrath  <roland@hack.frob.com>
1542         * configure.in (libc_cv_localstatedir): New substituted variable.
1543         * configure: Regenerated.
1544         * config.make.in (localstatedir): New variable, substituted from
1545         libc_cv_localstatedir.
1546         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1547         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1548         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1549         * sysdeps/gnu/configure: Regenerated.
1551 2012-06-21  Jeff Law  <law@redhat.com>
1553         [BZ #14277]
1554         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1555         free.  Simplify list management for _LIBC case.
1557 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
1559         [BZ #14273]
1560         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1561         Clear sign bit of 64-bit integer value before comparing against
1562         overflow value.
1564         * sysdeps/mach/configure: Regenerated.
1566 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1568         [BZ #14278]
1569         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1571 2012-06-21  Jeff Law  <law@redhat.com>
1573         [BZ #13882]
1574         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
1575         uint16_t for elements in the "seen" array to avoid char overflows.
1576         * elf/dl-fini.c (_dl_sort_fini): Likewise.
1577         * elf/dl-open.c (dl_open_worker): Likewise.
1579 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
1581         * scripts/list-sources.sh: Scan PORTS for translations.
1582         * po/libc.pot: Regenerated.
1584 2012-06-21  Andreas Jaeger  <aj@suse.de>
1586         [BZ #12194]
1587         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1588         warning.
1589         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1590         * bits/byteswap-16.h (__bswap_16): Likewise.
1591         * bits/byteswap.h (__bswap_constant_16): Likewise.
1593 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
1595         [BZ #14117]
1596         * sysdeps/i386/fpu_control.h: Removed.
1597         * sysdeps/x86_64/fpu_control.h: Moved to ...
1598         * sysdeps/x86/fpu_control.h: Here.
1600         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1601         (_FPU_SETCW): Likewise.
1603 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1605         [BZ #14117]
1606         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1607         * sysdeps/x86/fpu/bits/mathinline.h: This.
1608         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1610         [BZ #14050]
1611         [BZ #14117]
1612         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1613         functions if __x86_64__ is defined.
1615 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
1617         * string/endian.h: Add !__ASSEMBLER__ condition for including
1618         conversion interfaces.
1620 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
1622         [BZ #14241]
1623         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1624         of ABS(x) in calculating zero to negative powers other than odd
1625         integers.
1626         * math/libm-test.inc (pow_test): Add more tests.
1628 2012-06-15  Andreas Jaeger  <aj@suse.de>
1630         * manual/contrib.texi (Contributors): Update entry of Liubov
1631         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1632         Machado Filho.
1634 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
1636         * string/string.h: Add __wur to GNU version of strerror_r.
1638 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1640         [BZ #14229]
1641         * string/Makefile (tests): Add tst-strtok_r.
1642         * string/tst-strtok_r.c: New file.
1643         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1644         RAX_LP/RDX_LP on SAVE_PTR.
1646 2012-06-14  Roland McGrath  <roland@hack.frob.com>
1648         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1650 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
1652         * libm_test.inc (csqrt_test): Allow more spurious underflow
1653         exceptions.
1654         (j0_test): Likewise.
1655         (j1_test): Likewise.
1656         (y0_test): Likewise.
1657         (y1_test): Likewise.
1659 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
1661         * po/Makefile (libc.pot): Use UTF-8 charset.
1663 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
1665         [BZ #14210]
1666         Suppress sign-conversion warning from FD_SET.
1667         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1668         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1669         not unsigned long int.
1670         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1672 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1674         [BZ #14050]
1675         [BZ #14117]
1676         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1677         __extern_always_inline instead of __extern_inline.
1678         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1679         (__signbit): Likewise.
1680         (__signbitl): Support C++ namespace.
1681         (lrintf): New inline function.
1682         (lrint): Likewise.
1683         (llrintf): Likewise.
1684         (llrint): Likewise.
1685         (fmaxf): Likewise.
1686         (fmax): Likewise.
1687         (fminf): Likewise.
1688         (fmin): Likewise.
1689         (rint): Likewise.
1690         (rintf): Likewise.
1691         (ceil): Likewise.
1692         (ceilf): Likewise.
1693         (floor): Likewise.
1694         (floorf): Likewise.
1695         (nearbyint): Likewise.
1696         (nearbyintf): Likewise.
1698 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
1700         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1701         non-default versions.
1703 2012-06-11  Roland McGrath  <roland@hack.frob.com>
1705         [BZ #14218]
1706         * manual/argp.texi (Argp): Reword argp_parse description slightly.
1708 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
1710         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1711         (FE_UPWARD, FE_DOWNWARD): Don't define.
1712         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1713         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1715         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1716         reading it.
1717         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1718         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1720 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1722         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1723         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1724         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1725         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1727 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1729         [BZ #14117]
1730         * sysdeps/i386/fpu/bits/fenv.h: Removed.
1731         * sysdeps/i386/fpu/Implies: New file.
1732         * sysdeps/x86_64/fpu/Implies: Likewise.
1733         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1734         * sysdeps/x86/fpu/bits/fenv.h: This.
1736         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1737         __SSE_MATH__.
1739 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1741         [BZ #14134]
1742         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1743         character 0xffff that matches the last element of the
1744         conversion table.
1746 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1748         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1749         fmodl commit.
1751 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1753         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1754         values higher than 25.6283.
1756 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1758         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1759         subnormal exponent extraction and add some __builtin_expect.
1760         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1761         Fix for subnormal mantissa calculation.
1763 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
1765         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1766         cpu2 is -1 and errno is not ENOSYS.
1768 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
1770         [BZ #14117]
1771         * sysdeps/i386/i486/bits/string.h: Renamed to ...
1772         * sysdeps/x86/bits/string.h: This.
1773         * sysdeps/x86_64/bits/string.h: Removed.
1775         * sysdeps/i386/i486/bits/string.h: Define inline functions only
1776         if not compiling for x86-64, but compiling for >= i486.
1778         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1779         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1781         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1782         New macro from Linux kernel 3.4.0.
1783         (FP_XSTATE_MAGIC2): Likewise.
1784         (FP_XSTATE_MAGIC2_SIZE): Likewise.
1785         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1786         (struct _fpx_sw_bytes): New struct.
1787         (struct _xsave_hdr): Likewise.
1788         (struct _ymmh_state): Likewise.
1789         (struct _xstate): Likewise.
1791         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1792         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1793         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1794         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1795         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1796         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1798         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1799         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1800         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1801         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1802         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1803         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1805 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1807         [BZ #13743]
1808         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1809         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1810         (sysdep_headers): Include sys/platform/ppc.h.
1811         * sysdeps/powerpc/test-gettimebase.c: Test for
1812         __ppc_get_timebase() to catch future ISA opcode/insn changes.
1813         * manual/Makefile (appendices): Include platform.texi.
1814         * manual/contrib.texi (Contributors): Update @node pointers.
1815         * manual/maint.texi (Maintenance): Likewise.
1816         (Platform): New node.
1817         * manual/platform.texi: New file.  Document the new features.
1819 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1820             Jakub Jelinek  <jakub@redhat.com>
1822         [BZ #14188]
1823         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1824         where __builtin_expect is unavailable.
1826 2012-06-03  David S. Miller  <davem@davemloft.net>
1828         * stdlib/longlong.h: Updated from GCC.
1830 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
1832         [BZ #14042]
1833         * sysdeps/powerpc/powerpc32/mcount.c: New file.
1834         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1835         __mcount_internal.
1836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1837         (GLIBC_2.16): Likewise.
1839 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1841         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1843 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1846         (default-abi): New variable.
1847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1848         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1849         variable.
1850         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1851         Likewise.
1852         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1853         Likewise.
1854         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1855         Likewise.
1857         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1858         definition.  Document in comment.
1860 2012-06-01  David S. Miller  <davem@davemloft.net>
1862         * stdlib/longlong.h: Updated from GCC.
1864 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1866         [BZ #14117]
1867         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1868         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1869         sys/debugreg.h sys/io.h here.
1870         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1871         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1872         sys/io.h.
1873         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1874         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1875         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1876         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1877         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1878         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1880         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1881         Define only if __x86_64__ is defined.
1883 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1885         [BZ #14048]
1886         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1887         Use int64_t for variable i.
1888         * math/libm-test.inc (fmod_test): Add more tests.
1890         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1891         z computation is not scheduled after fetestexcept.
1892         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1893         Use math_force_eval instead of asm to ensure calculation scheduled
1894         before exception test.
1895         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1896         Ensure a1 + u.d computation is not scheduled after fetestexcept.
1898 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
1900         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1901         computation is not scheduled after fetestexcept.
1903 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1905         [BZ #14117]
1906         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1907         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1909 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1911         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1912         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1914 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
1916         [BZ #14117]
1917         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1918         <bits/wordsize.h>.
1919         (__WCHAR_MIN): Support __WORDSIZE == 64.
1920         (__WCHAR_MAX): Likewise.
1922         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1923         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1925         [BZ #14183]
1926         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1927         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1929         [BZ #14117]
1930         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1931         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1933         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1934         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1936         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1937         Defined to 1 if __x86_64__ isn't defined.
1938         (_STAT_VER_LINUX_OLD): New.
1939         (st_atime): Remove duplicate.
1940         (st_mtime): Likewise.
1941         (st_ctime): Likewise.
1943 2012-05-31  David S. Miller  <davem@davemloft.net>
1945         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1946         entries.
1948 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
1950         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1951         gen-libm-test.pl.
1953         [BZ #14132]
1954         * elf/dl-reloc.c: Include <_itoa.h>.
1955         (_dl_reloc_bad_type): Remove use of INTUSE.
1956         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1957         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1958         * stdio-common/psiginfo.c (psiginfo): Likewise.
1959         * stdio-common/psignal.c (psignal): Likewise.
1960         * string/strsignal.c (strsignal): Likewise.
1961         * include/signal.h (_sys_siglist): Declare hidden proto.
1962         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
1963         INTVARDEF with libc_hidden_data_def.
1964         * stdio-common/itoa-udigits.c: Likewise.
1965         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1966         (_itoa_lower_digits_internal): Remove declaration.
1967         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1968         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1969         (_sys_sigabbrev_internal): Remove aliases.
1970         (_sys_siglist): Define hidden alias.
1972 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
1974         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1975         bits/sysctl.h.
1977 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
1979         [BZ #14117]
1980         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1981         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1983         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1984         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1985         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1986         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1987         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1988         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1990         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1991         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1992         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1994         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1995         with __addr.
1996         (insw): Likewise.
1997         (insl): Likewise.
1998         (outsb): Likewise.
1999         (outsw): Likewise.
2000         (outsl): Likewise.
2002         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2003         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2004         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2006         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2007         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2008         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2009         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2010         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2011         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2013         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2014         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2016         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2017         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2019         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2020         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2021         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2023         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2024         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2025         to ...
2026         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2028         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2029         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2030         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2032         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2033         for x86-64.
2034         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2036 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
2038         * math/math.h (M_El): Use two more decimal places.
2039         (M_LOG2El): Likewise.
2040         (M_LOG10El): Likewise.
2041         (M_LN2l): Likewise.
2042         (M_LN10l): Likewise.
2043         (M_PIl): Likewise.
2044         (M_PI_2l): Likewise.
2045         (M_PI_4l): Likewise.
2046         (M_1_PIl): Likewise.
2047         (M_2_PIl): Likewise.
2048         (M_2_SQRTPIl): Likewise.
2049         (M_SQRT2l): Likewise.
2050         (M_SQRT1_2l): Likewise.
2052 2012-05-31  David S. Miller  <davem@davemloft.net>
2054         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2055         values between float registers.
2056         * sysdeps/sparc/sparc64/memset.S: Likewise.
2057         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2059 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
2061         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2062         -D_FORTIFY_SOURCE=1.
2063         (CPPFLAGS-tst-longjmp_chk.c): Define.
2064         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2065         (CPPFLAGS-tst-longjmp_chk2.c): Define.
2066         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2067         CFLAGS-tst-wchar-h.c.
2069 2012-05-31  Marek Polacek  <polacek@redhat.com>
2071         [BZ #14132]
2072         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2073         __endmntent_internal): Remove declaration.
2074         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2075         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2076         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2078 2012-05-30  David S. Miller  <davem@davemloft.net>
2080         * sysdeps/sparc/sparc32/soft-fp/q_util.c
2081         (___Q_simulate_exceptions): Use real FP ops rather than writing
2082         into the %fsr.
2083         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2084         Likewise.
2086 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2088         [BZ #14117]
2089         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2090         * sysdeps/x86/bits/xtitypes.h: This.
2092         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2093         * sysdeps/x86/bits/wordsize.h: This.
2095         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2096         * sysdeps/x86/bits/huge_vall.h: This.
2098         * sysdeps/i386/bits/select.h: Removed.
2099         * sysdeps/x86_64/bits/select.h: Renamed to ...
2100         * sysdeps/x86/bits/select.h: This.
2102         * sysdeps/i386/bits/setjmp.h: Removed.
2103         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2104         * sysdeps/x86/bits/setjmp.h: This.
2106         * sysdeps/i386/bits/mathdef.h: Removed.
2107         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2108         * sysdeps/x86/bits/mathdef.h: This.
2110 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
2112         [BZ #14132]
2113         * include/sys/socket.h (__connect_internal)
2114         (__libc_sa_len_internal): Remove declaration.
2115         (__connect, __libc_sa_len): Declare hidden_proto.
2116         (SA_LEN): Remove use of INTUSE.
2117         * socket/connect.c: Add libc_hidden_def.
2118         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2119         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2120         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2121         alias.
2122         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2123         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2124         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2125         of adding _internal alias.
2127 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2129         [BZ #14117]
2130         * sysdeps/i386/bits/link.h: Removed.
2131         * sysdeps/i386/bits/linkmap.h: Likewise.
2132         * sysdeps/x86_64/bits/link.h: Renamed to ...
2133         * sysdeps/x86/bits/link.h: This.
2134         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2135         * sysdeps/x86/bits/linkmap.h: This.
2137         * sysdeps/i386/bits/endian.h: Removed.
2138         * sysdeps/x86_64/bits/endian.h: Renamed to ...
2139         * sysdeps/x86/bits/endian.h: This.
2141         * sysdeps/i386/bits/byteswap.h: Removed.
2142         * sysdeps/i386/bits/byteswap-16.h: Likewise.
2143         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2144         * sysdeps/x86/bits/byteswap.h: This.
2145         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2146         * sysdeps/x86/bits/byteswap-16.h: This.
2147         * sysdeps/i386/Implies: Add x86.
2148         * sysdeps/x86_64/Implies: Likewise.
2150 2012-05-30  David S. Miller  <davem@davemloft.net>
2152         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2153         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2154         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2155         (FP_TRAPPING_EXCEPTIONS): Define.
2156         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2157         (FP_TRAPPING_EXCEPTIONS): Define.
2158         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2159         subnormals only when inexact has been signalled or underflow
2160         exceptions are enabled.
2161         (_FP_PACK_CANONICAL): Likewise.
2163 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2165         [BZ #14183]
2166         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2167         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2169 2012-05-30  Richard Henderson  <rth@twiddle.net>
2171         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2172         with #ifndef NOT_IN_libc.
2174         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
2175         marked to avoid plt entry.
2177 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2179         [BZ #14112]
2180         * Makeconfig (default-abi): New macro.
2181         (abi-includes): Likewise.
2182         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
2183         $(abi-$(default-abi)-lib-soname) for soname if defined.
2184         ($(common-objpfx)gnu/lib-names.stmp): Generate from
2185         abi-variants.
2186         * Makefile (installed-stubs): Likewise.
2187         * include/stubs-biarch.h: Removed.
2188         * scripts/lib-names.awk: Only handle one library at a time.
2189         * scripts/soversions.awk: Remove WORDSIZE support.
2190         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2191         entries.
2192         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2193         Removed.
2194         (syscall-list-default-condition): Likewise.
2195         (syscall-list-default-condition): Likewise.
2196         (syscall-list-includes): Likewise.
2197         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2198         syscall-list-* with abi-*.  Handle undefined abi-variants.
2199         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2200         * sysdeps/unix/sysv/linux/i386/Implies: New file.
2201         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2202         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2203         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2204         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2205         Removed.
2206         (syscall-list-32-options): Likewise.
2207         (syscall-list-32-condition): Likewise.
2208         (syscall-list-64-options): Likewise.
2209         (syscall-list-64-condition): Likewise.
2210         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2211         macro.
2212         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2213         Renamed to ...
2214         (abi-*): This.
2215         (abi-64-ld-soname): New macro.
2216         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2217         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2218         Renamed to ...
2219         (abi-*): This.
2220         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2221         * sysdeps/x86_64/x32/shlib-versions: Likewise.
2223 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
2225         * sysdeps/unix/sysv/linux/kernel-features.h
2226         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2227         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2228         include <kernel-features.h>.
2229         [!__NR_ftruncate64]: Remove conditional code.
2230         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2231         [__NR_ftruncate64]: Make code unconditional.
2232         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2233         * sysdeps/unix/sysv/linux/truncate64.c: Do not
2234         include <kernel-features.h>.
2235         [!__NR_ftruncate64]: Remove conditional code.
2236         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2237         [__NR_ftruncate64]: Make code unconditional.
2238         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2240         include <kernel-features.h>.
2241         [!__NR_ftruncate64]: Remove conditional code.
2242         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2243         [__NR_ftruncate64]: Make code unconditional.
2244         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2246         include <kernel-features.h>.
2247         [!__NR_ftruncate64]: Remove conditional code.
2248         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2249         [__NR_ftruncate64]: Make code unconditional.
2250         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2252         * configure.in (libc_cv_fpie): Weaken to a compile test using
2253         LIBC_TRY_CC_OPTION.
2254         * configure: Regenerated.
2256 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2262         Refreshed.
2263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2269         Refreshed.
2271 2012-05-27  David S. Miller  <davem@davemloft.net>
2273         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2274         (___Q_zero): New.
2275         (__Q_simulate_exceptions): Return void.  Change to simulate
2276         exceptions by writing into the %fsr.
2277         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2278         (__Qp_handle_exceptions): Likewise.
2279         (numbers): Delete.
2280         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2281         __Qp_handle_exceptions.
2282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2283         __Qp_handle_exceptions.
2284         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2285         as unused and give dummy FP_RND_NEAREST initializer.
2286         (FP_INHIBIT_RESULTS): Define.
2287         (___Q_simulate_exceptions): Update declaration.
2288         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2289         formatting.
2290         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2291         as unused and give dummy FP_RND_NEAREST initializer.
2292         (__Qp_handle_exceptions): Update declaration.
2293         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2294         formatting.
2296 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
2298         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2299         the temporary FPU control word.
2300         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2301         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2302         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2303         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2304         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2305         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2306         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2307         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2308         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2309         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2310         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2312 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2314         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2315         fields.
2317 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
2319         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2320         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2321         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2322         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2323         Likewise.
2324         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2325         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2326         Likewise.
2328 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
2330         * po/h.po: Update from translation team.
2332 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
2334         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2336         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2337         handling of denormals.
2338         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2339         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2340         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2341         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2342         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2343         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2344         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2345         Likewise.
2347 2012-05-26  Marek Polacek  <polacek@redhat.com>
2349         [BZ #14152]
2350         * math/libm-test.inc (fma_test): Don't always expect underflow
2351         exception.
2353 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2355         [BZ #12416]
2356         * elf/tst-execstack.c: Include stackinfo.h.
2357         (do_test): Adjust test case to ensure that pthread_getattr_np
2358         behaviour remains the same after marking stack executable.
2360 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
2362         * sysdeps/unix/sysv/linux/kernel-features.h
2363         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2364         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2365         kernel-features.h.
2366         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2367         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2368         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2369         kernel-features.h.
2370         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2371         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2373 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2375         * configure.in: Define the default includes to being none.
2376         * configure: Regenerated.
2378 2012-05-25  Roland McGrath  <roland@hack.frob.com>
2380         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2381         * sysdeps/x86_64/setjmp.S: Likewise.
2382         * sysdeps/i386/bsd-setjmp.S: Likewise.
2383         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2384         * sysdeps/i386/setjmp.S: Likewise.
2385         * sysdeps/i386/__longjmp.S: Likewise.
2386         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2387         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2389         * include/stap-probe.h: New file.
2390         * configure.in: Handle --enable-systemtap.
2391         * configure: Regenerated.
2392         * config.h.in (USE_STAP_PROBE): New #undef.
2393         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2394         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2395         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2397 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
2399         [BZ #13717]
2400         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2401         to 2.4.0 where earlier.
2402         * sysdeps/unix/sysv/linux/configure: Regenerated.
2403         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2404         <kernel-features.h>.
2405         [__ASSUME_32BITUIDS]: Make code unconditional.
2406         [!__ASSUME_32BITUIDS]: Remove conditional code.
2407         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2408         <kernel-features.h>.
2409         [__ASSUME_32BITUIDS]: Make code unconditional.
2410         [!__ASSUME_32BITUIDS]: Remove conditional code.
2411         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2412         [__ASSUME_32BITUIDS]: Make code unconditional.
2413         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2414         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2415         <kernel-features.h>.
2416         [__ASSUME_32BITUIDS]: Make code unconditional.
2417         [!__ASSUME_32BITUIDS]: Remove conditional code.
2418         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2419         <kernel-features.h>.
2420         [__ASSUME_32BITUIDS]: Make code unconditional.
2421         [!__ASSUME_32BITUIDS]: Remove conditional code.
2422         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2423         <kernel-features.h>.
2424         [__ASSUME_32BITUIDS]: Make code unconditional.
2425         [!__ASSUME_32BITUIDS]: Remove conditional code.
2426         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2427         <kernel-features.h>.
2428         [__ASSUME_32BITUIDS]: Make code unconditional.
2429         [!__ASSUME_32BITUIDS]: Remove conditional code.
2430         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2431         <kernel-features.h>.
2432         [__ASSUME_32BITUIDS]: Make code unconditional.
2433         [!__ASSUME_32BITUIDS]: Remove conditional code.
2434         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2435         <kernel-features.h>.
2436         [__ASSUME_32BITUIDS]: Make code unconditional.
2437         [!__ASSUME_32BITUIDS]: Remove conditional code.
2438         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2439         <kernel-features.h>.
2440         [__ASSUME_32BITUIDS]: Make code unconditional.
2441         [!__ASSUME_32BITUIDS]: Remove conditional code.
2442         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2443         <kernel-features.h>.
2444         [__ASSUME_32BITUIDS]: Make code unconditional.
2445         [!__ASSUME_32BITUIDS]: Remove conditional code.
2446         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2447         <kernel-features.h>.
2448         [__ASSUME_32BITUIDS]: Make code unconditional.
2449         [!__ASSUME_32BITUIDS]: Remove conditional code.
2450         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2451         <kernel-features.h>.
2452         [__ASSUME_32BITUIDS]: Make code unconditional.
2453         [!__ASSUME_32BITUIDS]: Remove conditional code.
2454         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2455         <kernel-features.h>.
2456         [__NR_setresgid] (__setresgid): Do not declare.
2457         [__ASSUME_32BITUIDS]: Make code unconditional.
2458         [!__ASSUME_32BITUIDS]: Remove conditional code.
2459         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2460         <kernel-features.h>.
2461         [__NR_setresuid] (__setresuid): Do not declare.
2462         [__ASSUME_32BITUIDS]: Make code unconditional.
2463         [!__ASSUME_32BITUIDS]: Remove conditional code.
2464         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2465         <kernel-features.h>.
2466         [__ASSUME_32BITUIDS]: Make code unconditional.
2467         [!__ASSUME_32BITUIDS]: Remove conditional code.
2468         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2469         <kernel-features.h>.
2470         [__ASSUME_32BITUIDS]: Make code unconditional.
2471         [!__ASSUME_32BITUIDS]: Remove conditional code.
2472         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2473         <kernel-features.h>.
2474         [__ASSUME_32BITUIDS]: Make code unconditional.
2475         [!__ASSUME_32BITUIDS]: Remove conditional code.
2476         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2477         <kernel-features.h>.
2478         [__ASSUME_32BITUIDS]: Make code unconditional.
2479         [!__ASSUME_32BITUIDS]: Remove conditional code.
2480         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2481         <kernel-features.h>.
2482         [__ASSUME_32BITUIDS]: Make code unconditional.
2483         [!__ASSUME_32BITUIDS]: Remove conditional code.
2484         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2485         <kernel-features.h>.
2486         [__ASSUME_32BITUIDS]: Make code unconditional.
2487         [!__ASSUME_32BITUIDS]: Remove conditional code.
2488         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2489         <kernel-features.h>.
2490         [__ASSUME_32BITUIDS]: Make code unconditional.
2491         [!__ASSUME_32BITUIDS]: Remove conditional code.
2492         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2493         <kernel-features.h>.
2494         [__ASSUME_32BITUIDS]: Make code unconditional.
2495         [!__ASSUME_32BITUIDS]: Remove conditional code.
2496         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2497         <kernel-features.h>.
2498         [__ASSUME_32BITUIDS]: Make code unconditional.
2499         [!__ASSUME_32BITUIDS]: Remove conditional code.
2500         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2501         <kernel-features.h>.
2502         [__ASSUME_32BITUIDS]: Make code unconditional.
2503         [!__ASSUME_32BITUIDS]: Remove conditional code.
2504         * sysdeps/unix/sysv/linux/kernel-features.h
2505         (__ASSUME_SETRESUID_SYSCALL): Remove.
2506         (__ASSUME_SETRESGID_SYSCALL): Likewise.
2507         (__ASSUME_32BITUIDS): Likewise.
2508         (__ASSUME_LDT_WORKS): Likewise.
2509         (__ASSUME_O_DIRECTORY): Likewise.
2510         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2511         architecture but not kernel version.
2512         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2513         (__ASSUME_MMAP2_SYSCALL): Likewise.
2514         (__ASSUME_STAT64_SYSCALL): Likewise.
2515         (__ASSUME_IPC64): Likewise.
2516         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2517         <kernel-features.h>.
2518         [__ASSUME_32BITUIDS]: Make code unconditional.
2519         [!__ASSUME_32BITUIDS]: Remove conditional code.
2520         * sysdeps/unix/sysv/linux/opendir.c: Do not include
2521         <kernel-features.h>.
2522         [__ASSUME_O_DIRECTORY]: Make code unconditional.
2523         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2524         132096]: Remove conditional code.
2525         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2526         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2527         <kernel-features.h>.
2528         [__ASSUME_32BITUIDS]: Make code unconditional.
2529         [!__ASSUME_32BITUIDS]: Remove conditional code.
2530         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2531         <kernel-features.h>.
2532         [__ASSUME_32BITUIDS]: Make code unconditional.
2533         [!__ASSUME_32BITUIDS]: Remove conditional code.
2534         * sysdeps/unix/sysv/linux/setegid.c: Do not include
2535         <kernel-features.h>.
2536         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2537         unconditional.
2538         (__setresgid): Do not declare.
2539         [__ASSUME_32BITUIDS]: Make code unconditional.
2540         [!__ASSUME_32BITUIDS]: Remove conditional code.
2541         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2542         <kernel-features.h>.
2543         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2544         unconditional.
2545         (__setresuid): Do not declare.
2546         [__ASSUME_32BITUIDS]: Make code unconditional.
2547         [!__ASSUME_32BITUIDS]: Remove conditional code.
2548         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2549         <kernel-features.h>.
2550         [__ASSUME_32BITUIDS]: Make code unconditional.
2551         [!__ASSUME_32BITUIDS]: Remove conditional code.
2552         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2553         <kernel-features.h>.
2554         [__ASSUME_32BITUIDS]: Make code unconditional.
2555         [!__ASSUME_32BITUIDS]: Remove conditional code.
2557 2012-05-25  Richard Henderson  <rth@twiddle.net>
2559         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2560         dl_hwcap to ifunc resolver.
2561         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2562         elf_ifunc_invoke.
2563         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2564         dl_hwcap to ifunc resolver.
2565         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2567 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2569         [BZ #14153]
2570         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2571         for |x| <= 2**-26, not 2**-57.
2572         * math/libm-test.inc (acos_test): Do not allow spurious underflow
2573         exception.
2575 2012-05-24  Jeff Law  <law@redhat.com>
2577         * stdio-common/Makefile (tests): Add bug25.
2578         * stdio-common/bug25.c: New test.
2580 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2582         [BZ #13576]
2583         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2584         multiple of MALLOC_ALIGNMENT in size.
2585         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2587 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2589         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2590         Require >= 256.
2591         (FILENAME_MAX): Use macro-int-constant.
2592         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
2593         (_IOFBF): Use macro-int-constant.
2594         (_IOLBF): Likewise.
2595         (_IONBF): Likewise.
2596         (SEEK_CUR): Likewise.
2597         (SEEK_END): Likewise.
2598         (SEEK_SET): Likewise.
2599         (TMP_MAX): Likewise.
2600         (EOF): Use macro-int-constant.  Require < 0.
2601         (NULL): Use macro-constant.  Require == 0.
2602         (stdin): Require type to be FILE *.
2603         (stdout): Likewise.
2604         (stderr): Likewise.
2605         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2606         macro-int-constant.
2607         (EXIT_SUCCESS): Likewise.
2608         (NULL): Use macro-constant.  Require == 0.
2609         (RAND_MAX): Use macro-int-constant.
2610         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2611         [C99-based standards] (strtof): Require function.
2612         [C99-based standards] (strtold): Likewise.
2613         [C99-based standards] (strtoll): Likewise.
2614         [C99-based standards] (strtoull): Likewise.
2615         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2616         [ISO || ISO99 || ISO11] (limits.h): Likewise.
2617         [ISO || ISO99 || ISO11] (math.h): Likewise.
2618         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2619         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2620         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2622 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
2624         [BZ #14132]
2625         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2626         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2627         * intl/dgettext.c (DCGETTEXT): Likewise.
2628         * intl/gettext.c (DCGETTEXT): Likewise.
2629         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2630         * posix/regex_internal.h (gettext): Likewise.
2631         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2632         Remove declaration.
2633         * include/argz.h (__argz_count_internal)
2634         (__argz_stringify_internal): Remove declaration.
2635         (__argz_count, __argz_stringify): Declare hidden proto.
2636         * intl/dcgettext.c: Remove use of INTDEF.
2637         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2638         * string/argz-stringify.c: Likewise.
2639         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2640         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2641         Declare hidden proto.
2642         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2643         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2644         Declare hidden proto.
2645         * include/stdio.h (__asprintf_internal): Don't declare.
2646         (__asprintf): Don't define as macro.  Declare hidden proto.
2647         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2648         (__fsetlocking): Declare hidden proto.
2649         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2650         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2651         hidden proto.
2652         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2653         (_IO_setlinebuf): Remove use of INTUSE.
2654         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2655         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2656         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2657         Remove declaration.
2658         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2659         (_IO_do_flush): Remove use of INTUSE.
2660         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2661         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2662         (_IO_adjust_column, _IO_least_wmarker)
2663         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2664         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2665         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2666         (_IO_default_doallocate, _IO_wdefault_doallocate)
2667         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2668         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2669         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2670         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2671         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2672         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2673         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2674         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2675         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2676         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2677         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2678         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2679         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2680         proto.
2681         (_IO_flush_all_internal, _IO_adjust_column_internal)
2682         (_IO_default_uflow_internal, _IO_default_finish_internal)
2683         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2684         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2685         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2686         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2687         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2688         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2689         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2690         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2691         (_IO_file_close_internal, _IO_file_close_it_internal)
2692         (_IO_file_underflow_internal, _IO_file_overflow_internal)
2693         (_IO_file_init_internal, _IO_file_attach_internal)
2694         (_IO_file_fopen_internal, _IO_file_read_internal)
2695         (_IO_file_sync_internal, _IO_file_seek_internal)
2696         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2697         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2698         (_IO_str_underflow_internal, _IO_str_overflow_internal)
2699         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2700         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2701         (_IO_list_all_internal, _IO_link_in_internal)
2702         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2703         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2704         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2705         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2706         (_IO_do_write_internal, _IO_padn_internal)
2707         (_IO_getline_info_internal, _IO_getline_internal)
2708         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2709         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2710         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2711         (_IO_vfscanf_internal, _IO_vfprintf_internal)
2712         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2713         (_IO_init_internal, _IO_un_link_internal): Don't declare.
2714         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2715         with libc_hidden_ver, remove use of INTUSE.
2716         * libio/genops.c: Likewise.
2717         * libio/freopen.c: Likewise.
2718         * libio/freopen64.c: Likewise.
2719         * libio/iofclose.c: Likewise.
2720         * libio/iofdopen.c: Likewise.
2721         * libio/iofflush.c: Likewise.
2722         * libio/iofflush_u.c: Likewise.
2723         * libio/iofgets.c: Likewise.
2724         * libio/iofgets_u.c: Likewise.
2725         * libio/iofopen.c: Likewise.
2726         * libio/iofopncook.c: Likewise.
2727         * libio/iofread.c: Likewise.
2728         * libio/iofread_u.c: Likewise.
2729         * libio/ioftell.c: Likewise.
2730         * libio/iofwrite.c: Likewise.
2731         * libio/iogetline.c: Likewise.
2732         * libio/iogets.c: Likewise.
2733         * libio/iogetwline.c: Likewise.
2734         * libio/iopadn.c: Likewise.
2735         * libio/iopopen.c: Likewise.
2736         * libio/ioseekoff.c: Likewise.
2737         * libio/ioseekpos.c: Likewise.
2738         * libio/iosetbuffer.c: Likewise.
2739         * libio/iosetvbuf.c: Likewise.
2740         * libio/ioungetc.c: Likewise.
2741         * libio/ioungetwc.c: Likewise.
2742         * libio/iovdprintf.c: Likewise.
2743         * libio/iovsprintf.c: Likewise.
2744         * libio/iovsscanf.c: Likewise.
2745         * libio/memstream.c: Likewise.
2746         * libio/obprintf.c: Likewise.
2747         * libio/oldfileops.c: Likewise.
2748         * libio/oldiofclose.c: Likewise.
2749         * libio/oldiofdopen.c: Likewise.
2750         * libio/oldiofopen.c: Likewise.
2751         * libio/oldiopopen.c: Likewise.
2752         * libio/oldstdfiles.c: Likewise.
2753         * libio/putc.c: Likewise.
2754         * libio/setbuf.c: Likewise.
2755         * libio/setlinebuf.c: Likewise.
2756         * libio/stdfiles.c: Likewise.
2757         * libio/strops.c: Likewise.
2758         * libio/vasprintf.c: Likewise.
2759         * libio/vscanf.c: Likewise.
2760         * libio/vsnprintf.c: Likewise.
2761         * libio/vswprintf.c: Likewise.
2762         * libio/wfiledoalloc.c: Likewise.
2763         * libio/wfileops.c: Likewise.
2764         * libio/wgenops.c: Likewise.
2765         * libio/wmemstream.c: Likewise.
2766         * libio/wstrops.c: Likewise.
2767         * libio/__fpurge.c: Likewise.
2768         * libio/__fsetlocking.c: Likewise.
2769         * assert/assert.c: Likewise.
2770         * debug/fgets_chk.c: Likewise.
2771         * debug/fgets_u_chk.c: Likewise.
2772         * debug/fread_chk.c: Likewise.
2773         * debug/fread_u_chk.c: Likewise.
2774         * debug/gets_chk.c: Likewise.
2775         * debug/obprintf_chk.c: Likewise.
2776         * debug/vasprintf_chk.c: Likewise.
2777         * debug/vdprintf_chk.c: Likewise.
2778         * debug/vsnprintf_chk.c: Likewise.
2779         * debug/vsprintf_chk.c: Likewise.
2780         * malloc/mtrace.c: Likewise.
2781         * misc/error.c: Likewise.
2782         * misc/syslog.c: Likewise.
2783         * stdio-common/asprintf.c: Likewise.
2784         * stdio-common/fxprintf.c: Likewise.
2785         * stdio-common/getw.c: Likewise.
2786         * stdio-common/isoc99_fscanf.c: Likewise.
2787         * stdio-common/isoc99_scanf.c: Likewise.
2788         * stdio-common/isoc99_vfscanf.c: Likewise.
2789         * stdio-common/isoc99_vscanf.c: Likewise.
2790         * stdio-common/isoc99_vsscanf.c: Likewise.
2791         * stdio-common/printf-prs.c: Likewise.
2792         * stdio-common/printf_fp.c: Likewise.
2793         * stdio-common/printf_fphex.c: Likewise.
2794         * stdio-common/printf_size.c: Likewise.
2795         * stdio-common/putw.c: Likewise.
2796         * stdio-common/scanf.c: Likewise.
2797         * stdio-common/sprintf.c: Likewise.
2798         * stdio-common/tmpfile.c: Likewise.
2799         * stdio-common/vfprintf.c: Likewise.
2800         * stdio-common/vfscanf.c: Likewise.
2801         * stdlib/strfmon_l.c: Likewise.
2802         * sunrpc/openchild.c: Likewise.
2803         * sunrpc/xdr_stdio.c: Likewise.
2804         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2805         * sysdeps/mach/hurd/tmpfile.c: Likewise.
2807 2012-05-24  Roland McGrath  <roland@hack.frob.com>
2809         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2811         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2812         in the third column, to generate for the shared library an IFUNC
2813         that uses _dl_vdso_vsym.
2814         * Makerules (COMPILE.c, compile-stdin.c): New variables.
2815         * Makeconfig (object-suffixes-noshared): New variable.
2817         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2818         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2819         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2820         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2822         [BZ #14132]
2823         * include/sys/time.h (__gettimeofday): Remove macro.
2824         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2825         * time/gettimeofday.c (__gettimeofday): Remove #undef.
2826         Remove INTDEF.
2827         (__gettimeofday): Add libc_hidden_def.
2828         (gettimeofday): Add libc_hidden_weak.
2829         * sysdeps/mach/gettimeofday.c: Likewise.
2830         * sysdeps/posix/gettimeofday.c: Likewise.
2831         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2832         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2833         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2834         (__gettimeofday_internal): Remove strong_alias.
2835         (__gettimeofday): Add libc_hidden_def.
2836         (gettimeofday): Add libc_hidden_weak.
2837         * sysdeps/unix/syscalls.list (gettimeofday):
2838         Remove __gettimeofday_internal alias.
2840 2012-05-24  Daniel Jacobowitz  <drow@false.org>
2841             H.J. Lu  <hongjiu.lu@intel.com>
2843         [BZ #12495]
2844         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2845         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2846         (largebin_index_32_big): New.
2847         (largebin_index): Use it for 16-byte alignment.
2848         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
2849         correction with front_misalign.
2851 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2855         Likewise.
2856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2857         Likewise.
2858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2859         Likewise.
2860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2861         Likewise.
2862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2863         Likewise.
2864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2865         Likewise.
2866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2867         Likewise.
2868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2869         Likewise.
2870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2871         Likewise.
2872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2873         Likewise.
2874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2875         Likewise.
2876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2877         Likewise.
2879         * scripts/data/c++-types-x32-linux-gnu.data: New file.
2880         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2882 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2884         [BZ #10846]
2885         [BZ #14036]
2886         * math/libm-test.inc (exp_test): Add test from bug 14036.
2887         (pow_test): Add test from bug 10846.
2889         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2890         and other flags.
2891         (special_function): Do not include flags in test name.
2892         (parse_args): Likewise.
2893         * sysdeps/i386/fpu/libm-test-ulps: Update.
2894         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2895         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2896         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2899         * math/gen-libm-test.pl (%beautify): Add entries for underflow
2900         exceptions.
2901         * math/libm-test.inc ("Philosophy"): Update comment about
2902         exception testing.
2903         (UNDERFLOW_EXCEPTION): New macro.
2904         (UNDERFLOW_EXCEPTION_OK): Likewise.
2905         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2906         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2907         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2908         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2909         (INVALID_EXCEPTION_OK): Update value.
2910         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2911         (OVERFLOW_EXCEPTION_OK): Likewise.
2912         (IGNORE_ZERO_INF_SIGN): Likewise.
2913         (test_exceptions): Handle underflow exceptions.
2914         (acos_test): Update for underflow exception expectations.
2915         (cexp_test): Likewise.
2916         (clog_test): Likewise.
2917         (clog10_test): Likewise.
2918         (csqrt_test): Likewise.
2919         (ctan_test): Likewise.
2920         (ctanh_test): Likewise.
2921         (exp_test): Likewise.
2922         (exp10_test): Likewise.
2923         (exp2_test): Likewise.
2924         (expm1_test): Likewise.
2925         (fma_test): Likewise.
2926         (j0_test): Likewise.
2927         (jn_test): Likewise.
2928         (nexttoward_test): Likewise.
2929         (pow_test): Likewise.
2930         (scalbn_test): Likewise.
2931         (scalbln_test): Likewise.
2932         (tan_test): Likewise.
2933         (y1_test): Likewise.
2934         * sysdeps/i386/fpu/libm-test-ulps: Update.
2935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2937 2012-05-23  David S. Miller  <davem@davemloft.net>
2939         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2940         (__libc_sigaction): Remove unused local variables.
2942 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2944         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2946 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
2948         mktime: avoid signed integer overflow
2949         * time/mktime.c (__mktime_internal): Do not mishandle the case
2950         where diff == INT_MIN.
2952         mktime: simplify computation of average
2953         * time/mktime.c (ranged_convert): Use new time_t_avg function
2954         instead of rolling our own (probably-slower) code.
2956         mktime: do not assume signed right shift propagates sign bit
2957         * time/mktime.c (isdst_differ): New static function.
2958         (__mktime_internal): No need to normalize tm_isdst now.
2959         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2960         tm_isdst values.
2962         mktime: merge another wrapv change from gnulib
2963         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2964         from some compilers.
2966         mktime: remove incorrect attempt at unusual arithmetics
2967         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2968         The code didn't really work on such machines anyway.
2969         (TYPE_MINIMUM): Assume two's complement.
2970         (twos_complement_arithmetic): Verify that long_int and time_t
2971         are two's complement (or unsigned, in the latter case).
2973         mktime: check signed shifts on long_int and time_t, too
2974         * time/mktime.c (SHR): Check that shifts work as desired
2975         on the types long_int and time_t too, as SHR is used on
2976         such types.
2978         mktime: do not assume 'long' is wide enough
2979         * time/mktime.c (verify): Move decl up.
2980         (long_int): New type.
2981         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2982         to remove assumption in the code that 'long' is wide enough to
2983         store year values.  This assumption is not true on x32 and on
2984         some non-glibc platforms.
2986         mktime: merge wrapv change from gnulib
2987         * time/mktime.c (WRAPV): New macro.
2988         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2989         (guess_time_tm, __mktime_internal): Do not assume that signed
2990         integer overflow wraps around; modern compilers generate code
2991         where this assumption is no longer valid.
2993 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2995         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2996         Replace "jmp L(pseudo_end)" with "ret".
2997         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2998         Likewise.
3000 2012-05-23  Andreas Jaeger  <aj@suse.de>
3002         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3003         * sysdeps/unix/sysv/linux/poll.c: Remove file.
3005 2012-05-23  Andreas Jaeger  <aj@suse.de>
3006             Maximilian Attems  <max@stro.at>
3008         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3009         New macros.
3011 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3013         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3014         code so that pseudo_end is just ret and the stack pointer is
3015         correct also for static library in error case.
3017 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
3019         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3020         move to syscalls.list.
3021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3026         * manual/install.texi (Running make install): Do not mention Linux
3027         kernel version for which pt_chown is not needed.
3028         (Linux): Do not mention problems with nscd with 2.0 kernels.
3029         * INSTALL: Regenerated.
3031 2012-05-23  Andreas Jaeger  <aj@suse.de>
3033         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3034         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3035         macro.
3036         * sysdeps/unix/sysv/linux/s390/bits/mman.h
3037         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3038         * sysdeps/unix/sysv/linux/sh/bits/mman.h
3039         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3040         * sysdeps/unix/sysv/linux/i386/bits/mman.h
3041         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3042         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3043         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3044         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3045         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3046         * sysdeps/unix/sysv/linux/bits/in.h
3047         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3049 2012-05-22  Roland McGrath  <roland@hack.frob.com>
3051         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3052         (PREPARE_VERSION): Just use assert instead, it will be elided
3053         under [NDEBUG] anyway.
3055 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3057         * sysdeps/unix/sysv/linux/Makefile: Include
3058         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3059         (sysdep_routines): Remove sysctl.
3060         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3061         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3062         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3063         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3064         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3066 2012-05-22  Andreas Jaeger  <aj@suse.de>
3068         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3069         that pseudo_end is just ret and the stack pointer is correct also
3070         for static library in error case.
3072 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3074         [BZ #14122]
3075         * nss/nsswitch.c (defconfig_entries): New variable.
3076         (__nss_database_lookup): Don't leak defconfig entries.
3077         (nss_parse_service_list): Don't leak on error paths.
3078         (free_database_entries): New function.
3079         (free_defconfig): New function.
3080         (free_mem): Move common code to free_database_entries.
3082 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3084         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3085         Add arch_prctl.
3086         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3088         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3089         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3091         New macro.
3092         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3093         (INTERNAL_SYSCALL_TYPES): Likewise.
3094         (LOAD_ARGS_TYPES_[1-6]): Likewise.
3095         (LOAD_REGS_TYPES_[1-6]): Likewise.
3096         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3097         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3099 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3101         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3102         copysignl for GLIBC_2_0.
3103         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3104         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3105         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3106         logbl for GLIBC_2_0.
3107         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3108         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3110 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3112         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3113         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3115         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3116         Use "neg %eax".
3118         * time/mktime.c: Update copyright years.
3120 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3122         mktime: merge comment-quoting-style change from gnulib
3123         * time/mktime.c: Quote 'like this' in comments.
3124         The GNU coding standards suggest that we no longer quote `like this',
3125         as "`" and "'" are typically rendered asymmetrically nowadays.
3126         The typical gnulib style is to quote 'like this' when quoting
3127         code, and "like this" when quoting English.
3129         * time/mktime.c (compile-command): Add "-I.".
3131         mktime: merge mktime-internal.h change from gnulib
3132         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3134         mktime: merge time_r change from gnulib
3135         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3137         mktime: merge DEBUG change from gnulib
3138         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3139         case system <time.h> has a #define.
3141         mktime: merge <sys/types.h> change from gnulib
3142         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3143         since <time.t> is now guaranteed to define time_t.
3145         mktime: merge HAVE_CONFIG_H change from gnulib
3146         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3148 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3150         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3151         Use "neg %eax".
3153         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3154         __rlim_t cast.
3155         (struct rusage): Use anonymous union to pad each field to
3156         __syscall_slong_t.
3158 2012-05-21  David S. Miller  <davem@davemloft.net>
3160         * Makefules (o-iterator): Remove .s cases.
3161         (compile-command.s): Delete.
3162         (COMPILE.s): Delete.
3163         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3165 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
3167         * configure.in (libc_cv_predef_stack_protector): Only consider
3168         "foobar" and "__stack_chk_fail" lines in libc_undefs.
3169         * configure: Regenerated.
3171 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
3173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3174         New macro.  Use R*LP on int and pointer.
3175         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3176         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3177         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3178         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3180         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3181         [__WORDSIZE_TIME64_COMPAT32] instead of
3182         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3183         (struct utmp): Likewise.
3184         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3185         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3186         Renamed to ...
3187         (__WORDSIZE_TIME64_COMPAT32): This.
3188         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3189         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3190         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3191         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3192         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3193         (__WORDSIZE_TIME64_COMPAT32): New macro.
3195 2012-05-21  Andreas Jaeger  <aj@suse.de>
3197         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3198         only if [SHARED]. Add prototype for __wcschr_ia32.
3200 2012-05-21  Roland McGrath  <roland@hack.frob.com>
3202         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3203         of %rbp unmolested in the jmp_buf while mangling the low bits.
3204         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3205         unmolested high bits of %rbp while demangling the low bits.
3206         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3208 2012-05-21  Andreas Jaeger  <aj@suse.de>
3210         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3211         * sunrpc/svc_simple.c: Use it for registerrpc.
3212         * sunrpc/xcrypt.c: Use it for passwd2des.
3214         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3216 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
3218         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3219         Don't define if [__SYSCALL_WORDSIZE != 32].
3220         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3221         New macro.
3223 2012-05-21  Bruno Haible  <bruno@clisp.org>
3224             Andreas Jaeger  <aj@suse.de>
3226         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3227         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3228         inptr and inend for must_buffer_ch.
3229         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3230         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3231         * stdio-common/Makefile (tests): Remove bug15.
3232         (bug15-ENV): Remove macro.
3233         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3234         anymore.
3236 2012-05-19  Andreas Jaeger  <aj@suse.de>
3237             Roland McGrath  <roland@hack.frob.com>
3239         * manual/contrib.texi: Completely rewritten. It contains now an
3240         alphabetical list of contributors and their contributions.
3242 2012-05-21  Richard Henderson  <rth@twiddle.net>
3244         * misc/getauxval.c (__getauxval): Use unsigned long int.
3245         * misc/sys/auxv.h: Include <sys/cdefs.h>.
3246         (getauxval): Use unsigned long int.
3248 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
3250         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3252 2012-05-21  Roland McGrath  <roland@hack.frob.com>
3254         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3255         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3256         __alignof__ (long double).
3258 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3262 2012-05-20  Richard Henderson  <rth@twiddle.net>
3264         * misc/getauxval.c: New file.
3265         * misc/sys/auxv.h: New file.
3266         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3267         (routines): Add getauxval.
3268         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3269         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3270         * elf/dl-sysdep.c (_dl_auxv): Remove.
3271         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3272         * elf/dl-support.c (_dl_auxv): New variable.
3273         (_dl_aux_init): Initialize it.
3274         * manual/startup.texi (Auxiliary Vector): New node.
3275         * sysdeps/generic/bits/hwcap.h: New file.
3276         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3277         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
3278         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3279         * sysdeps/sparc/sysdep.h: ... here.  Include it.
3280         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3281         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3283         Update.
3284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3287         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3293 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3297 2012-05-19  David S. Miller  <davem@davemloft.net>
3299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3301 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
3303         [BZ #14123]
3304         * math/s_ccosh.c: Include <float.h>
3305         (__ccosh): Avoid internal overflow calculating sinh and cosh
3306         values before multiplying by sin and cos values.
3307         * math/s_ccoshf.c: Likewise.
3308         * math/s_ccoshl.c: Likewise.
3309         * math/s_csin.c: Likewise.
3310         * math/s_csinf.c: Likewise.
3311         * math/s_csinl.c: Likewise.
3312         * math/s_csinh.c: Likewise.
3313         * math/s_csinhf.c: Likewise.
3314         * math/s_csinhl.c: Likewise.
3315         * math/libm-test.inc (ccos_test): Add more tests.
3316         (ccosh_test): Likewise.
3317         (csin_test): Likewise.
3318         (csinh_test): Likewise.
3319         * sysdeps/i386/fpu/libm-test-ulps: Update.
3320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3322 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3324         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3325         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3327         * sysdeps/x86_64/x32/_itoa.h: Add comment.
3329 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
3331         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3332         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3333         * sysdeps/powerpc/soft-fp/Versions: Likewise.
3334         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3335         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3336         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3337         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3338         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3339         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3340         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3341         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3342         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3343         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3344         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3345         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3346         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3347         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3348         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3349         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3350         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3351         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3352         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3353         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3354         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3355         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3356         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3357         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3358         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3359         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3360         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3361         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3363 2012-05-18  Andreas Jaeger  <aj@suse.de>
3365         * csu/.gitignore: Delete.
3367 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3369         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3370         (timex): Use __syscall_slong_t.
3372 2012-05-18  Andreas Jaeger  <aj@suse.de>
3373             Carlos O'Donell  <carlos_odonell@mentor.com>
3375         * manual/install.texi (Configuring and compiling): Update
3376         description about files modified in the source directory.
3377         * INSTALL: Regenerated.
3379 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3381         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3382         value.  Use "or" to set return value to -1.
3383         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3384         negate return value.
3386 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3388         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3389         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3390         failure if the compiler has Graphite support disabled.
3391         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3392         Likewise.
3393         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3394         CFLAGS-memmove.c): Likewise.
3395         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3396         Likewise.
3398 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3400         * sysdeps/x86_64/x32/_itoa.h: New file.
3402         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3403         getdents system call only if kernel and user dirents have the
3404         same d_ino and d_off.
3406         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3407         LLONG_MAX != LONG_MAX.
3408         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3409         (_fitoa_word): Likewise.
3411         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3412         years.
3413         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3414         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3415         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3417         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3418         include <bits/wordsize.h>.  Check __x86_64__ instead of
3419         __WORDSIZE.
3420         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3421         if __x86_64__ is defined.  Use anonymous union on fpstate.
3423         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3424         anonymous union.
3426 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
3428         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3429         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3430         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3431         Refer to _rtld_local_ro instead of _rtld_global_ro.
3432         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3433         Likewise.
3434         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3435         Likewise.
3436         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3437         Likewise.
3438         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3439         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3440         of _rtld_global, and rtld_progname instead of _dl_argv[0].
3442         * sysdeps/powerpc/powerpc32/dl-machine.c
3443         (__elf_machine_runtime_setup) [PROF]: Don't reference
3444         _dl_prof_resolve.
3446 2012-05-18  Andreas Jaeger  <aj@suse.de>
3448         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3449         function only available for GCCs before 3.4 since GCC 3.4
3450         introduced a builtin.
3451         (lrint): Likewise.
3452         (llrintf): Likewise.
3453         (llrint): Likewise.
3454         (fmaxf): Likewise.
3455         (fmax): Likewise.
3456         (fminf): Likewise.
3457         (fmin): Likewise.
3458         (rint): Likewise.
3459         (rintf): Likewise.
3460         (nearbyint): Likewise.
3461         (nearbyintf): Likewise.
3462         (ceil): Likewise.
3463         (ceilf): Likewise.
3464         (floor): Likewise.
3465         (floorf): Likewise.
3467 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3469         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3470         on both fields and cast pointer to __syscall_ulong_t.
3472         * bits/types.h (__fsword_t): New type.
3473         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3474         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3475         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3476         (__FSWORD_T_TYPE): Likewise.
3477         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3478         (__FSWORD_T_TYPE): Likewise.
3479         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3480         (__FSWORD_T_TYPE): Likewise.
3481         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3482         (__FSWORD_T_TYPE): Likewise.
3483         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3484         __SWORD_TYPE with __fsword_t.
3485         (statfs64): Likewise.
3487 2012-05-17  David S. Miller  <davem@davemloft.net>
3489         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3491 2012-05-17  Andreas Jaeger  <aj@suse.de>
3493         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3494         warning.
3496 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3498         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3500 2012-05-17  Andreas Jaeger  <aj@suse.de>
3502         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3503         when it is used.
3505 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
3507         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3509 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3511         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3512         * sysdeps/x86_64/tst-mallocalign1.c: New file.
3514 2012-05-17  Andreas Jaeger  <aj@suse.de>
3515             Carlos O'Donell  <carlos_odonell@mentor.com>
3517         [BZ #14059]
3518         * sysdeps/x86_64/multiarch/init-arch.h
3519         (bit_YMM_Usable): Rename to...
3520         (bit_AVX_Usable): ... this.
3521         (bit_FMA4_Usable): New macro.
3522         (bit_XMM_state): New macro.
3523         (bit_YMM_state): New macro.
3524         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3525         [__ASSEMBLER__] (index_AVX_Usable): ... this.
3526         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3527         (CPUID_OSXSAVE): New macro.
3528         (CPUID_AVX): New macro.
3529         (CPUID_FMA4): New macro.
3530         (index_YMM_Usable): Rename to...
3531         (index_AVX_Usable): ... this.
3532         (HAS_AVX): Use HAS_ARCH_FEATURE.
3533         (HAS_FMA4): Likewise.
3534         (HAS_YMM_USABLE): Remove.
3535         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3536         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3537         are present.
3538         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3539         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3540         * sysdeps/x86_64/multiarch/Makefile: Likewise.
3541         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3542         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3544 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
3546         * math/libm-test.c: Support platforms without multiple rounding modes.
3547         * math/bug-nextafter.c: Support platforms without FP exceptions.
3548         * math/bug-nexttoward.c: Likewise.
3549         * math/test-fenv.c: Likewise.
3550         * math/test-misc.c: Likewise.
3551         * stdlib/bug-getcontext.c: Likewise.
3553 2012-05-17  Andreas Jaeger  <aj@suse.de>
3555         * manual/examples/search.c (critter_cmp): Change signature to
3556         avoid warnings.
3557         * manual/string.texi (Collation Functions): Likewise.
3559 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3561         * bits/types.h: Fold copyright years.
3562         * bits/typesizes.h: Likewise.
3563         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3565         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3566         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3567         * time/time.h: Likewise.
3569 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
3571         [BZ #208]
3572         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3573         in instead of returning them.  Return void.
3574         (__libc_mallinfo): Accumulate over all arenas.
3575         (__malloc_stats): Adjust for change in int_mallinfo interface.
3577 2012-05-16  Roland McGrath  <roland@hack.frob.com>
3579         [BZ #10375]
3580         * configure.in (NM): Add AC_CHECK_TOOL for it.
3581         (libc_extra_cflags): New substituted variable.
3582         Check for -fstack-protector being used implicitly.
3583         * configure: Regenerated.
3584         * config.make.in (config-extra-cflags): New variable,
3585         gets @libc_extra_cflags@.
3586         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3588         [BZ #10375]
3589         * configure.in: Check for _FORTIFY_SOURCE being predefined.
3590         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3591         * configure: Regenerated.
3592         * config.make.in (CPPUNDEFS): New substituted variable.
3593         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3594         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3595         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3597 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3599         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3600         (mq_attr): Use __syscall_slong_t.
3602 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3604         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3605         Check __x86_64__ instead of __WORDSIZE.
3606         (_STAT_VER_LINUX): Likewise.
3607         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
3608         __syscall_ulong_t and __syscall_slong_t.
3609         (stat64): Likewise.
3611 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3613         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3615 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3617         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3619 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3621         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3622         __syscall_ulong_t.
3624         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3625         include <bits/wordsize.h>.  Check __x86_64__ instead of
3626         __WORDSIZE.
3627         (greg_t): Use "__extension__ long long int" if __x86_64__ is
3628         defined.
3629         (mcontext_t): Replace "unsigned long" with "unsigned long long".
3631         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3632         include <bits/wordsize.h>.  Check __x86_64__ instead of
3633         __WORDSIZE.
3634         (user_regs_struct): Use "__extension__ unsigned long long"
3635         instead of "unsigned long" if __x86_64__ is defined.
3636         (user): Likewise.  Pad after pointer field if __ILP32__ is
3637         defined.
3639 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
3641         * configure.in (makeinfo): Require version 4.5 or later.  Allow
3642         versions 5 to 9.
3643         * configure: Regenerated.
3644         * manual/install.texi (texinfo): Increase version requirement to
3645         4.5 or later.
3646         * INSTALL: Regenerated.
3648         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3650 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3652         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3654         * sysdeps/x86_64/x32/ffs.c: New file.
3656         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3657         __syscall_ulong_t.
3658         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3659         defined.  Use __syscall_ulong_t.
3660         (shminfo): Use __syscall_ulong_t.
3661         (shm_info): Likewise.
3663         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3664         __syscall_ulong_t.
3666         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3667         <bits/wordsize.h>.
3668         (msgqnum_t): Use __syscall_ulong_t.
3669         (msglen_t): Likewise.
3670         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
3671         __syscall_ulong_t.
3673         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3674         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3676         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3678         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3679         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3681         * sysvipc/sys/msg.h (msgbuf): Replace long int with
3682         __syscall_slong_t.
3684         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3685         include <bits/wordsize.h>.  Check __x86_64__ instead of
3686         __WORDSIZE.
3688         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3689         "unsigned long long int" if __x86_64__ is defined.
3690         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3692         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3693         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3694         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3696         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3697         <stdint.h>.
3698         (GET_PC): Cast to uintptr_t first.
3699         (GET_FRAME): Likewise.
3700         (GET_STACK): Likewise.
3702         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3703         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3704         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3705         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3706         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3707         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3708         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3709         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3710         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3711         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3712         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3713         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3714         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3715         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3716         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3717         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3718         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3719         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3720         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3721         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3722         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3723         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3724         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3725         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3726         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3727         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3728         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3729         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3730         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3732 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
3734         * Makerules (+depfiles): Also collect depfiles from .oS in
3735         $(extra-objs).
3736         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3737         .oS, $(libnldbl-routines)).
3739         * Makerules (native-compile-mkdep-flags): Define.
3740         * sunrpc/Makefile (extra-objs): Add $(addprefix
3741         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3742         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3743         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
3744         calling $(make-target-directory).
3746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3748         * bits/types.h (__snseconds_t): Removed.
3749         * time/time.h (struct timespec): Replace __snseconds_t with
3750         __syscall_slong_t.
3751         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3752         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3753         Likewise.
3754         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3755         (__SNSECONDS_T_TYPE): Likewise.
3756         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3757         (__SNSECONDS_T_TYPE): Likewise.
3758         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3759         (__SNSECONDS_T_TYPE): Likewise.
3761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3763         * sysdeps/mach/hurd/bits/typesizes.h
3764         (__SYSCALL_SLONG_TYPE): New macro.
3765         (__SYSCALL_ULONG_TYPE): Likewise.
3767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3769         * bits/types.h (__syscall_slong_t): New type.
3770         (__syscall_ulong_t): Likewise.
3772         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3773         (__SYSCALL_ULONG_TYPE): Likewise.
3774         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3775         (__SYSCALL_SLONG_TYPE): Likewise.
3776         (__SYSCALL_ULONG_TYPE): Likewise.
3777         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3778         (__SYSCALL_SLONG_TYPE): Likewise.
3779         (__SYSCALL_ULONG_TYPE): Likewise.
3780         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3781         (__SYSCALL_SLONG_TYPE): Likewise.
3782         (__SYSCALL_ULONG_TYPE): Likewise.
3784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3786         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3787         Add sigaltstack-offsets.sym.
3788         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3789         <sigaltstack-offsets.h>.
3790         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
3791         longjmp_msg pointer.
3792         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
3793         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3794         signal stack.
3795         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3797 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
3799         * elf/stackguard-macros.h: Remove file.
3800         * sysdeps/generic/stackguard-macros.h: New file.
3801         * sysdeps/i386/stackguard-macros.h: Likewise.
3802         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3803         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3804         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3805         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3806         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3807         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3808         * sysdeps/x86_64/stackguard-macros.h: Likewise.
3809         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3810         <elf/stackguard-macros.h>.
3812         [BZ #14109]
3813         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3814         __aligned__ in attribute.
3815         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3816         (gregset_t): Likewise.
3818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3820         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3821         * sysdeps/x86_64/64/Implies-after: Here.  New file.
3822         * sysdeps/x86_64/x32/Implies-after: New file.
3824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3826         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3827         and access return value for _dl_profile_fixup.  Use R10_LP to
3828         load frame size.
3830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3832         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3836         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3837         * sysdeps/x86_64/x32/sysdep.h: New file.
3839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3841         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3842         * sysdeps/x86_64/setjmp.S: Likewise.
3844 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3846         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3847         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3848         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3849         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3850         remove unused global constant.
3852 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
3854         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3855         include of <not-cancel.h>.
3857 2012-05-15  Roland McGrath  <roland@hack.frob.com>
3859         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3861 2012-05-15  Jeff Law  <law@redhat.com>
3862             Andreas Jaeger  <aj@suse.de>
3864         [BZ #13594]
3865         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3866         out from...
3867         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3868         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3869         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3870         code changing __hst_map_handle.map.
3872 2012-05-15  Roland McGrath  <roland@hack.frob.com>
3874         * configure.in (sysnames): Look for Implies-before and Implies-after
3875         files.
3876         * configure: Regenerated.
3878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3880         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3881         8-byte data alignment with LP_SIZE alignment.
3883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3885         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3886         into R10_LP.
3888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3890         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3894         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3895         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3896         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3897         Likewise.
3898         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3902         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3903         (stackinfo_sub_sp): Likewise.
3905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3907         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3908         RAX_LP.
3910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3912         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3913         into R*_LP.
3915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3917         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3918         sizes into R*_LP.
3920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3922         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3926         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3927         into R11_LP and load __x86_64_shared_cache_size_half into
3928         R8_LP.
3930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3932         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3933         R8_LP.
3935 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3937         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3938         logb for POWER7.
3939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3940         logbf for POWER7.
3941         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3942         logbl for POWER7.
3943         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3944         powerpc32/power7/fpu/s_logb.c via #include.
3945         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3946         powerpc32/power7/fpu/s_logbf.c via #include.
3947         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3948         powerpc32/power7/fpu/s_logbl.c via #include.
3950 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
3952         * README.libm: Remove file.
3954 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3956         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3957         count for x32.  Use R*_LP and omit operand-size suffix.
3959 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3961         * shlib-versions: Move x86_64-.*-linux.* entries to ...
3962         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
3963         * sysdeps/x86_64/x32/shlib-versions: New file.
3965 2012-05-14  Roland McGrath  <roland@hack.frob.com>
3967         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3968         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3969         Use _dl_fatal_printf instead.
3971 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
3973         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3974         set if not set by the user.  Do not allow for being unset.
3975         * sysdeps/unix/sysv/linux/configure: Regenerated.
3977 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3979         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3980         the `q' suffix from lea and replace .quad with ASM_ADDR.
3982 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3985         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
3986         instead of $17.
3987         (PTR_DEMANGLE): Likewise.
3989 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3991         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3992         (LP_OP): Likewise.
3993         (ASM_ADDR): Likewise.
3994         (RAX_LP): Likewise.
3995         (RBP_LP): Likewise.
3996         (RBX_LP): Likewise.
3997         (RCX_LP): Likewise.
3998         (RDI_LP): Likewise.
3999         (RSI_LP): Likewise.
4000         (RSP_LP): Likewise.
4001         (R8_LP): Likewise.
4002         (R9_LP): Likewise.
4003         (R10_LP): Likewise.
4004         (R10_LP): Likewise.
4005         (R11_LP): Likewise.
4006         (R12_LP): Likewise.
4007         (R13_LP): Likewise.
4008         (R14_LP): Likewise.
4009         (R15_LP): Likewise.
4011 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4013         * sysdeps/x86_64/x32/dl-machine.h: New file.
4015 2012-05-14  Andreas Jaeger  <aj@suse.de>
4017         * manual/Makefile (subdir): Remove export of subdir.
4018         (all): Remove target.
4019         (.PHONY): Remove all from list.
4020         (mkinstalldirs): Remove.
4021         (.PHONY): Remove installdirs from list.
4022         ($(inst_infodir)/libc.info): Use make-target-directory.
4023         (installdirs): Remove.
4024         (subdir_%): Remove.
4025         (glibc-targets): Remove.
4026         (lib): Remove.
4027         (stubs): Remove.
4028         ($(objpfx)stubs ../po/manual.pot): Remove.
4029         ($(objpfx)stamp%): Remove.
4030         (make-target-directory): Remove.
4031         (subdir_install): Remove.
4032         (routines): Remove.
4033         (aux): Remove.
4034         (sources): Remove.
4035         (objects): Remove.
4036         (headers): Remove.
4038         [BZ #13750]
4039         * manual/.gitignore: Remove, it's not needed anymore.
4040         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4041         all files in it.
4042         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4043         directory.
4044         (texis): Renamed to $(objpfx)texis.
4045         (texis-path): New, contains path to generated files.
4046         (chapters.%): Use texis-path for complete path, add extra argument
4047         libc-texinfo.sh.
4048         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4049         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4050         (summary,texi, stamp-summary): Use complete path of
4051         files. Generate files in build dir.
4052         (dir-add.texi): Build in build dir.
4053         (libm-err.texi,stamp-libm-err): Likewise.
4054         (version.texi, stamp-version): Likewise.
4055         (.%c.texi): Likewise.
4056         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4057         (mostlyclean): Remove target.
4058         (realclean): Remove target.
4059         (generated): Add new variable with contents from mostlyclean and
4060         realclean, remove entries duplicated in common-mostlyclean, add
4061         stamp-libm-err and stamp-version.
4062         (generated-dirs): Add libc directory.
4063         ($(inst_infodir)/libc.info): Install files from build dir.
4065         * manual/install.texi (Configuring and compiling): Adjust since
4066         the info files are not part of the tar ball anymore.
4068 2012-05-14  Andreas Jaeger  <aj@suse.de>
4070         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4071         variable.
4073 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
4075         [BZ #13717]
4076         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4077         to 2.2.0 where earlier.
4078         * sysdeps/unix/sysv/linux/configure: Regenerated.
4079         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4080         Remove conditional code.
4081         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4082         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4083         Remove conditional code.
4084         [!__NR_lchown]: Likewise.
4085         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4086         [__NR_lchown]: Likewise.
4087         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4088         comment referencing __ASSUME_LCHOWN_SYSCALL.
4089         * sysdeps/unix/sysv/linux/i386/sigaction.c
4090         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4091         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4092         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4093         Remove conditional code.
4094         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4095         (__protocol_available): Remove #if 0 code.
4096         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4097         conditional code.
4098         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4099         * sysdeps/unix/sysv/linux/kernel-features.h
4100         (__ASSUME_GETCWD_SYSCALL): Don't define.
4101         (__ASSUME_REALTIME_SIGNALS): Likewise.
4102         (__ASSUME_PREAD_SYSCALL): Likewise.
4103         (__ASSUME_PWRITE_SYSCALL): Likewise.
4104         (__ASSUME_POLL_SYSCALL): Likewise.
4105         (__ASSUME_LCHOWN_SYSCALL): Likewise.
4106         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4107         non-SPARC.
4108         (__ASSUME_SIOCGIFNAME): Don't define.
4109         (__ASSUME_MSG_NOSIGNAL): Likewise.
4110         (__ASSUME_SENDFILE): Define unconditionally.
4111         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4112         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4113         conditional code.
4114         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4115         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4116         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4117         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4118         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4119         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4120         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4122         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4123         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4125         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4126         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4128         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4129         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4131         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4132         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4134         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4135         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4137         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4138         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4140         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4141         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4143         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4144         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4145         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4146         Remove conditional code.
4147         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4148         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4149         Remove conditional code.
4150         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4151         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4152         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4153         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4154         Remove conditional code.
4155         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4156         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4157         Remove conditional code.
4158         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4159         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4160         Remove conditional code.
4161         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4162         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4163         Remove conditional code.
4164         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4165         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4166         Remove conditional code.
4167         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4168         * sysdeps/unix/sysv/linux/sh/pwrite64.c
4169         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4170         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4171         * sysdeps/unix/sysv/linux/sigaction.c
4172         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4173         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4174         * sysdeps/unix/sysv/linux/sigpending.c
4175         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4176         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4177         * sysdeps/unix/sysv/linux/sigprocmask.c
4178         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4179         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4180         * sysdeps/unix/sysv/linux/sigsuspend.c
4181         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4182         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4183         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4184         (__libc_missing_rt_sigs): Remove.
4185         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4186         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4187         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4188         Remove conditional code.
4189         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4190         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4191         return 1.
4192         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4193         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4194         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4195         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4197 2012-05-14  Andreas Jaeger  <aj@suse.de>
4199         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4200         it's not used in glibc.
4201         (__coshm1): Likewise.
4202         (__acosh1p): Likewise.
4203         (__sgn): Likewise.
4205         * manual/string.texi (Copying and Concatenation): Add missing
4206         variable in concat example.
4207         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4209 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4211         [BZ #14103]
4212         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4213         __builtin_clzl with __builtin_clzll.
4215 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4217         [BZ #14104]
4218         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4219         libc_freeres_ptr.
4221 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4223         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4224         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4225         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4226         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4228 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
4230         * NEWS: Update ia64 info.
4232 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
4234         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4235         used as bcopy.
4237 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
4239         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4240         * sysdeps/unix/syscalls.list (dup3): Likewise.
4241         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4242         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4244 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4246         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4247         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4249 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4251         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4252         thread pointer.
4253         (TLS_IE): Use mov/add instead of movq/addq to load thread
4254         pointer.
4255         (TLS_GD_PREFIX): New.
4256         (TLS_GD): Use it.
4258 2012-05-11  David S. Miller  <davem@davemloft.net>
4260         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4261         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4262         (_FPU_SETCW): Likewise.
4264 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4266         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4267         is 32-byte aligned.
4269 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
4271         [BZ #11837]
4272         * iconvdata/gb18030.c: Update tables.
4273         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
4274         characters specially.
4275         (BODY for TO_LOOP): Add encoding of missing ranges.
4277 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
4279         [BZ #13673]
4280         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4281         * sysdeps/mach/hurd/dup3.c: Likewise.
4282         * sysdeps/mach/hurd/readlinkat.c: Likewise.
4283         * sysdeps/powerpc/memmove.c:: Likewise.
4285 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4287         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4288         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4290 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4292         * elf/elf.h (R_X86_64_RELATIVE64): New.
4293         (R_X86_64_NUM): Updated.
4294         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4295         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
4296         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4297         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4298         tst-quad1pie tst-quad2pie
4299         (modules-names): Add tst-quadmod1 tst-quadmod2.
4300         ($(objpfx)tst-quad1): New dependency.
4301         ($(objpfx)tst-quad2): Likewise.
4302         ($(objpfx)tst-quad1pie): Likewise.
4303         ($(objpfx)tst-quad2pie): Likewise.
4304         * sysdeps/x86_64/tst-quad1.c: New file.
4305         * sysdeps/x86_64/tst-quad1pie.c: New file.
4306         * sysdeps/x86_64/tst-quad2.c: Likewise.
4307         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4308         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4309         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4310         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4311         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4313 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4315         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4316         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4317         * streams/stropts.h (t_scalar_t): Define type.
4319         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4320         (_PATH_PRESERVE): Set to "/var/lib".
4321         (_PATH_RWHODIR): Set to "/var/spool/rwho".
4323         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4324         instead of int.
4326         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4327         if __dir_mkfile succeeded.
4329         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4330         checking for _hurd_dtablesize.  Unlock it right after having
4331         finished _hurd_dtable allocation.
4333 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4335         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4336         * sysdeps/mach/hurd/configure: Regenerated.
4337         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4338         special-casing to...
4339         * sysdeps/gnu/configure.in: ... this new file.
4340         * sysdeps/unix/sysv/linux/configure: Regenerated.
4341         * sysdeps/gnu/configure: New generated file.
4343         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4344         for Linux: use nsec instead of usec, as well as:
4345         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4346         members of type struct timespec.
4347         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4348         New macros.
4349         (struct stat64): Likewise.
4350         (_STATBUF_ST_NSEC): New macro.
4351         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4353         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4354         __strtoul_internal rather than strtoul.
4356 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4358         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4359         and reject them.
4361 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4363         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4364         which preserves existing values.
4365         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4367 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4369         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4370         TIMEOUT values.  Return EINVAL for NFDS values either negative or
4371         greater than FD_SETSIZE.
4373 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4375         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4376         allocated, call __vm_protect to finish enabling the existing space, and
4377         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4378         allocate the remainder.
4380 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4382         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4383         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
4385 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4387         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4388         sysdeps/mach/hurd/readlink.c.
4390         * posix/tst-sysconf.c (posix_options): Only use
4391         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4392         _POSIX_SYNCHRONIZED_IO when they are defined
4393         * sysdeps/mach/hurd/bits/posix_opt.h:
4394         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4395         (_XOPEN_REALTIME): Undefine macro.
4396         (_XOPEN_REALTIME_THREADS): Undefine macro.
4397         (_XOPEN_SHM): Undefine macro.
4398         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4399         macro to -1.
4400         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4401         macro to -1.
4402         (_POSIX_ASYNC_IO): Undefine macro.
4403         (_POSIX_PRIORITIZED_IO): Undefine macro.
4404         (_POSIX_SPIN_LOCKS): Define macro to -1.
4406         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4407         SA_NODEFER, SA_RESETHAND.
4408         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4409         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4410         F_DUPFD_CLOEXEC.
4412 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4414         * elf/Makefile (pldd-modules): Define unconditionally.
4416 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4418         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4420 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4422         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4423         Return ENOENT when name is empty.
4424         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4426 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4428         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4430         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4432 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4434         Fix mlock in all cases except non-readable pages.
4435         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4436         instead of VM_PROT_ALL as parameter to __vm_wire function.
4438         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4439         (__mkdir): When path is `/', just fail with EEXIST.
4440         * sysdeps/mach/hurd/mkdirat.c: Likewise.
4442 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4444         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4445         <sys/uio.h> (for writev).
4446         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4447         and <sys/param.h> (for MIN).
4449 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4451         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4452         REQUESTED_TIME.  Properly set the remaining time and return EINTR
4453         if interrupted.
4455 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4457         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4458         Depend on against $(link-rpcuserlibs).
4460 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4462         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4463         (__libc_stack_end): Do not use attribute_relro.
4464         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4465         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4466         to libthread-provided value.
4467         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4468         attribute_relro.
4470 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4472         [BZ #3748]
4473         * bits/libc-lock.h (__libc_once_get): New macro.
4474         * sysdeps/mach/bits/libc-lock.h: Likewise.
4475         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4476         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4477         instead of using implementation details.
4479         * libio/fileops.c: Unconditionally include <kernel-features.h>.
4480         * libio/freopen.c: Likewise.
4481         * libio/freopen64.c: Likewise.
4482         * misc/syslog.c: Likewise.
4483         * nscd/connections.c: Likewise.
4484         * nscd/netgroupcache.c: Likewise.
4485         * sysdeps/posix/getcwd.c: Likewise.
4487 2012-05-10  Roland McGrath  <roland@hack.frob.com>
4489         * math/w_ilogbf.c: Add #include <limits.h>.
4491 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4493         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4494         path instead of returning without unlocking.
4496         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4497         immediate-write ioctls.
4498         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4500 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4502         * sysdeps/mach/hurd/i386/init-first.c (init): Use
4503         __builtin_frame_address instead of making assumptions about the
4504         location of the return address relative to DATA.  Force early load of
4505         the return address.
4506         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4507         __builtin_frame_address.
4509         dup3 for GNU Hurd.
4510         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4511         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
4512         implement dup3 and do some further code clean-ups.
4513         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4514         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4516 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4518         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4520         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4521         HURD_CRITICAL_END around holding _hurd_dtable_lock.
4522         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4523         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4524         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4525         d->port.lock.
4527         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4528         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
4529         when handler == SIG_ERR, not when handler != SIG_ERR.
4531 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4533         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4534         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4535         definitions.
4537         accept4 for GNU Hurd.
4538         * include/sys/socket.h (__libc_accept4): New prototype.
4539         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
4540         to implement __libc_accept4.
4541         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4542         __libc_accept4.
4543         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4545         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4546         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4547         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4548         signal-defines.sym.
4550 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4552         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4554 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4556         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4557         assertion on O_CLOEXEC flag.
4558         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4559         * hurd/intern-fd.c: Likewise.
4560         * hurd/port2fd.c: Likewise.
4562 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4564         [BZ #3906]
4565         * bits/in.h (IPV6_PKTINFO): Define new macro.
4566         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4568 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4570         [BZ #13954]
4571         [BZ #13955]
4572         [BZ #13956]
4573         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4574         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4575         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4576         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4577         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4578         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4579         * math/libm-test.inc (logb_test) : Additional logb tests.
4581 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
4582             Andreas Jaeger  <aj@suse.de>
4584         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4585         * configure: Regenerated.
4586         * config.h.in (LINK_OBSOLETE_RPC): New macro.
4587         * config.make.in (link-obsolete-rpc): New substituted variable.
4588         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4589         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4590         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4591         (shared-only-routines): Don't set it under [link-obsolete-rpc],
4592         so that libc.a contains the symbols.
4593         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4594         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4595         * sunrpc/auth_none.c: Likewise.
4596         * sunrpc/auth_unix.c: Likewise.
4597         * sunrpc/authdes_prot.c: Likewise.
4598         * sunrpc/authuxprot.c: Likewise.
4599         * sunrpc/clnt_gen.c: Likewise.
4600         * sunrpc/clnt_perr.c: Likewise.
4601         * sunrpc/clnt_raw.c: Likewise.
4602         * sunrpc/clnt_simp.c: Likewise.
4603         * sunrpc/clnt_tcp.c: Likewise.
4604         * sunrpc/clnt_udp.c: Likewise.
4605         * sunrpc/clnt_unix.c: Likewise.
4606         * sunrpc/des_crypt.c: Likewise.
4607         * sunrpc/des_soft.c: Likewise.
4608         * sunrpc/get_myaddr.c: Likewise.
4609         * sunrpc/key_call.c: Likewise.
4610         * sunrpc/key_prot.c: Likewise.
4611         * sunrpc/netname.c: Likewise.
4612         * sunrpc/pm_getmaps.c: Likewise.
4613         * sunrpc/pm_getport.c: Likewise.
4614         * sunrpc/pmap_clnt.c: Likewise.
4615         * sunrpc/pmap_prot.c: Likewise.
4616         * sunrpc/pmap_prot2.c: Likewise.
4617         * sunrpc/pmap_rmt.c: Likewise.
4618         * sunrpc/publickey.c: Likewise.
4619         * sunrpc/rpc_cmsg.c: Likewise.
4620         * sunrpc/rpc_common.c: Likewise.
4621         * sunrpc/rpc_dtable.c: Likewise.
4622         * sunrpc/rpc_prot.c: Likewise.
4623         * sunrpc/rpc_thread.c: Likewise.
4624         * sunrpc/rtime.c: Likewise.
4625         * sunrpc/svc.c: Likewise.
4626         * sunrpc/svc_auth.c: Likewise.
4627         * sunrpc/svc_raw.c: Likewise.
4628         * sunrpc/svc_run.c: Likewise.
4629         * sunrpc/svc_tcp.c: Likewise.
4630         * sunrpc/svc_udp.c: Likewise.
4631         * sunrpc/svc_unix.c: Likewise.
4632         * sunrpc/svcauth_des.c: Likewise.
4633         * sunrpc/xcrypt.c: Likewise.
4634         * sunrpc/xdr.c: Likewise.
4635         * sunrpc/xdr_array.c: Likewise.
4636         * sunrpc/xdr_float.c: Likewise.
4637         * sunrpc/xdr_intXX_t.c: Likewise.
4638         * sunrpc/xdr_mem.c: Likewise.
4639         * sunrpc/xdr_rec.c: Likewise.
4640         * sunrpc/xdr_ref.c: Likewise.
4641         * sunrpc/xdr_sizeof.c: Likewise.
4642         * sunrpc/xdr_stdio.c: Likewise.
4644 2012-05-10  Roland McGrath  <roland@hack.frob.com>
4646         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4647         change.  Update copyright years.
4649 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
4651         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4653 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
4654             Joseph Myers  <joseph@codesourcery.com>
4655             Paul Pluzhnikov  <ppluzhnikov@google.com>
4657         [BZ #14012]
4658         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4659         requiring rpcgen.
4660         [cross-compiling] (extra-libs): Likewise.
4661         [cross-compiling] (extra-libs-others): Likewise.
4662         [cross-compiling] (librpcsvc-routines): Likewise.
4663         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4664         [cross-compiling] (omit-deps): Likewise.
4665         (sunrpc-CPPFLAGS): New variable.
4666         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4667         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4668         (cross-rpcgen-objs): New variable.
4669         (extra-objs): Append $(cross-rpcgen-objs).
4670         ($(cross-rpcgen-objs)): New rule.
4671         ($(objpfx)cross-rpcgen): Likewise.
4672         (rpcgen-cmd): Define to use $(built-program-file).  Expand
4673         comment.
4674         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4675         ($(objpfx)x%.stmp): Likewise.
4676         * sunrpc/proto.h [IS_IN_build] (_): Define.
4677         [IS_IN_build] (_libc_intl_domainname): Likewise.
4679 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4681         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4682         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4683         and R_X86_64_TPOFF64.
4685 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
4687         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4688         sysdeps/unix/sysv/syscalls.list.
4689         (stime): Likewise.
4690         (utime): Likewise.
4691         * sysdeps/unix/sysv/syscalls.list: Remove file.
4693 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
4695         [BZ #3440]
4696         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4697         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4698         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4699         (__LC_IDENTIFICATION): Make these macros useful in #if
4700         expressions, as required by C99.
4702 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
4704         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4705         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
4706         after this.
4708 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4710         * stdlib/longlong.h: Updated from GCC.
4712 2012-05-09  Andreas Jaeger  <aj@suse.de>
4714         * nscd/nscd.c (run_modes): Make named enum, reorder so that
4715         default is first entry.
4716         (run_mode): Set type.
4717         (main): Remove informal message about syslog.
4718         (options): Fix typo.
4720         [BZ #14053]
4721         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4722         to asm.
4723         (lrint): Likewise.
4724         (llrintf): Likewise.
4725         (llrint): Likewise.
4726         (rint): Likewise.
4727         (rintf): Likewise.
4728         (nearbyint): Likewise.
4729         (nearbyintf): Likewise.
4731 2012-05-09  Andreas Jaeger  <aj@suse.de>
4732             Pedro Alves  <palves@redhat.com>
4734         * nscd/nscd.c (run_mode): Use enum.
4735         (main): Cleanup coding style issue.
4737 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
4738             Andreas Jaeger  <aj@suse.de>
4740         * nscd/nscd.c (go_background): Replaced with...
4741         (run_mode): ... this.
4742         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4743         (options): Add -F --foreground.
4744         (main): Implement it.
4745         (parse_opt): Parse it.
4747 2012-05-09  Andreas Jaeger  <aj@suse.de>
4749         [BZ #14083]
4750         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4751         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4752         -Wconversion warning.
4753         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4754         Likewise.
4756 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
4758         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
4759         == 0.
4760         (LC_ALL): Use macro-int-constant.
4761         (LC_COLLATE): Likewise.
4762         (LC_CTYPE): Likewise.
4763         (LC_MESSAGES): Likewise.
4764         (LC_MONETARY): Likewise.
4765         (LC_NUMERIC): Likewise.
4766         (LC_TIME): Likewise.
4767         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4768         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4769         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4770         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4771         Specify type.
4772         [C99-based standards] (float_t): Expect type.
4773         [C99-based standards] (double_t): Expect type.
4774         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
4775         type.
4776         [C99-based standards] (HUGE_VALL): Likewise.
4777         [C99-based standards] (INFINITY): Likewise.
4778         [C99-based standards] (NAN): Likewise.
4779         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4780         [C99-based standards] (FP_NAN): Likewise.
4781         [C99-based standards] (FP_NORMAL): Likewise.
4782         [C99-based standards] (FP_SUBNORMAL): Likewise.
4783         [C99-based standards] (FP_ZERO): Likewise.
4784         [C99-based standards] (FP_FAST_FMA): Use
4785         optional-macro-int-constant.  Specify type.  Require == 1.
4786         [C99-based standards] (FP_FAST_FMAF): Likewise.
4787         [C99-based standards] (FP_FAST_FMAL): Likewise.
4788         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4789         [C99-based standards] (FP_ILOGBNAN): Likewise.
4790         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4791         Specify type.
4792         [C99-based standards] (MATH_ERREXCEPT): Likewise.
4793         [C99-based standards] (math_errhandling): Specify type.
4794         [ISO99 || ISO11] (signgam): Do not allow.
4795         [non-C99-based standards] (copysignf): Do not allow.
4796         [non-C99-based standards] (exp2f): Likewise.
4797         [non-C99-based standards] (log2f): Likewise.
4798         [non-C99-based standards] (modff): Allow.
4799         [non-C99-based standards] (erff): Do not allow.
4800         [non-C99-based standards] (erfcf): Likewise.
4801         [non-C99-based standards] (gammaf): Likewise.
4802         [non-C99-based standards] (hypotf): Likewise.
4803         [non-C99-based standards] (j0f): Likewise.
4804         [non-C99-based standards] (j1f): Likewise.
4805         [non-C99-based standards] (jnf): Likewise.
4806         [non-C99-based standards] (lgammaf): Likewise.
4807         [non-C99-based standards] (tgammaf): Likewise.
4808         [non-C99-based standards] (y0f): Likewise.
4809         [non-C99-based standards] (y1f): Likewise.
4810         [non-C99-based standards] (ynf): Likewise.
4811         [non-C99-based standards] (isnanf): Likewise.
4812         [non-C99-based standards] (acoshf): Likewise.
4813         [non-C99-based standards] (asinhf): Likewise.
4814         [non-C99-based standards] (atanhf): Likewise.
4815         [non-C99-based standards] (cbrtf): Likewise.
4816         [non-C99-based standards] (expm1f): Likewise.
4817         [non-C99-based standards] (ilogbf): Likewise.
4818         [non-C99-based standards] (log1pf): Likewise.
4819         [non-C99-based standards] (logbf): Likewise.
4820         [non-C99-based standards] (nextafterf): Likewise.
4821         [non-C99-based standards] (remainderf): Likewise.
4822         [non-C99-based standards] (rintf): Likewise.
4823         [non-C99-based standards] (scalbf): Likewise.
4824         [non-C99-based standards] (copysignl): Likewise.
4825         [non-C99-based standards] (exp2l): Likewise.
4826         [non-C99-based standards] (log2l): Likewise.
4827         [non-C99-based standards] (modfl): Allow.
4828         [non-C99-based standards] (erfl): Do not allow.
4829         [non-C99-based standards] (erfcl): Likewise.
4830         [non-C99-based standards] (gammal): Likewise.
4831         [non-C99-based standards] (hypotl): Likewise.
4832         [non-C99-based standards] (j0l): Likewise.
4833         [non-C99-based standards] (j1l): Likewise.
4834         [non-C99-based standards] (jnl): Likewise.
4835         [non-C99-based standards] (lgammal): Likewise.
4836         [non-C99-based standards] (tgammal): Likewise.
4837         [non-C99-based standards] (y0l): Likewise.
4838         [non-C99-based standards] (y1l): Likewise.
4839         [non-C99-based standards] (ynl): Likewise.
4840         [non-C99-based standards] (isnanl): Likewise.
4841         [non-C99-based standards] (acoshl): Likewise.
4842         [non-C99-based standards] (asinhl): Likewise.
4843         [non-C99-based standards] (atanhl): Likewise.
4844         [non-C99-based standards] (cbrtl): Likewise.
4845         [non-C99-based standards] (expm1l): Likewise.
4846         [non-C99-based standards] (ilogbl): Likewise.
4847         [non-C99-based standards] (log1pl): Likewise.
4848         [non-C99-based standards] (logbl): Likewise.
4849         [non-C99-based standards] (nextafterl): Likewise.
4850         [non-C99-based standards] (remainderl): Likewise.
4851         [non-C99-based standards] (rintl): Likewise.
4852         [non-C99-based standards] (scalbl): Likewise.
4853         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4854         [non-C99-based standards] (FP_*): Do not allow.
4855         [C99-based standards] (FP_*): Change to
4856         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4857         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4858         allow.
4859         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4860         (SIG_ERR): Likewise.
4861         [X/Open-based standards] (SIG_HOLD): Likewise.
4862         (SIG_IGN): Likewise.
4863         (SIGABRT): Use macro-int-constant.  Specify type.  Require
4864         positive value.
4865         (SIGFPE): Likewise.
4866         (SIGILL): Likewise.
4867         (SIGINT): Likewise.
4868         (SIGSEGV): Likewise.
4869         (SIGTER): Likewise.
4870         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4871         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4872         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4873         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4874         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4875         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4876         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4877         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4878         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4879         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4880         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4881         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4882         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4883         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4884         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4885         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4886         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4887         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4888         [X/Open-based standards] (SIGTRAP): Likewise.
4889         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4890         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4891         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4892         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4893         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4894         allow.
4896 2012-05-08  Ian Wienand  <ianw@vmware.com>
4898         [BZ #14080]
4899         * time/tzset.c (__tzset_parse_tz): Update default rules for
4900         daylight time changes in the Energy Policy Act of 2005.
4902 2012-05-09  Andreas Jaeger  <aj@suse.de>
4904         [BZ #13983]
4905         * elf/ldconfig.c (parse_conf): Change string to make clear that
4906         ldconfig only issued a warning if ld.so.conf does not exist.
4908 2012-05-08  David S. Miller  <davem@davemloft.net>
4910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4911         movxtod instead of popping the value on the stack.
4913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4915 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
4917         * config.h.in: Add HAVE_ARM_PCS_VFP.
4919 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
4921         [BZ #13979]
4922         * include/features.h: Warn if user requests __FORTIFY_SOURCE
4923         checking but the checks are disabled for any reason.
4925 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4927         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4928         and ELF64_R_TYPE with ELFW(R_TYPE).
4930 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
4932         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4933         (ulimit): Likewise.
4935         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4936         (settimeofday): Likewise.
4938 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
4940         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
4941         a struct th_u2 inside the union, and move tu_block/tu_code into
4942         a new th_u3 union of tu_block/tu_code inside of that.  Move
4943         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
4944         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
4945         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4946         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4947         (th_stuff): Change to th_u1.tu_stuff.
4948         (th_data): Define.
4949         (th_msg): Change to th_u1.th_u2.tu_data.
4951 2012-05-07  David S. Miller  <davem@davemloft.net>
4953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4955         [BZ #14074]
4956         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4957         (SETUP_PIC_REG): Use it.
4958         (SETUP_PIC_REG_LEAF): Use it.
4960 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
4962         [BZ #13885]
4963         [BZ #13923]
4964         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4965         USE_AS_EXPM1L.
4966         (EXPL_FINITE): Likewise.
4967         (FLDLOG): Likewise.
4968         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4969         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4970         e_expl.S.
4971         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4972         USE_AS_EXPM1L.
4973         (EXPL_FINITE): Likewise.
4974         (FLDLOG): Likewise.
4975         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4976         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4977         e_expl.S.
4978         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
4979         test of -max_value argument for long double.
4980         * sysdeps/i386/fpu/libm-test-ulps: Update.
4981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4983 2012-05-06  David S. Miller  <davem@davemloft.net>
4985         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4986         quad soft-float symbols whose references which are compiler
4987         generated.
4988         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4990 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
4992         [BZ #13884]
4993         [BZ #13914]
4994         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4995         USE_AS_EXP10L.
4996         (EXPL_FINITE): Likewise.
4997         (FLDLOG): Likewise.
4998         (c0): Likewise.
4999         (c1): Likewise.
5000         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
5001         Adjust comments for base varying.
5002         (__expl_finite): Change alias to EXPL_FINITE.
5003         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5004         e_expl.S.
5005         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5006         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5007         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5008         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5009         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5010         USE_AS_EXP10L.
5011         (EXPL_FINITE): Likewise.
5012         (FLDLOG): Likewise.
5013         (c0): Likewise.
5014         (c1): Likewise.
5015         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
5016         Adjust comments for base varying.
5017         (__expl_finite): Change alias to EXPL_FINITE.
5018         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
5019         tests for bugs.
5020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5022         [BZ #14064]
5023         * math/libm-test.inc (check_float_internal): Correct ulp
5024         calculation for subnormal expected results.
5026 2012-05-06  Andreas Jaeger  <aj@suse.de>
5028         * Makeconfig (+math-flags): New, set to -frounding-math.
5029         (+cflags): Add +math-flags so that all of glibc gets compiled with
5030         it.
5032         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5034 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
5036         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5037         Disable one test.
5039         [BZ #13787]
5040         [BZ #13922]
5041         [BZ #14036]
5042         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5043         (__ieee754_expl): Allow for and saturate large arguments.
5044         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5045         (u_threshold): Likewise.
5046         (__exp): Call __ieee754_exp before checking for overflow and
5047         underflow.
5048         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5049         (u_threshold): Likewise.
5050         (__expf): Call __ieee754_expf before checking for overflow and
5051         underflow.
5052         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5053         (u_threshold): Likewise.
5054         (__expl): Call __ieee754_expl before checking for overflow and
5055         underflow.
5056         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5057         (__ieee754_expl): Allow for and saturate large arguments.
5058         * math/libm-test.inc (exp_test): Add another test.  Do not allow
5059         missing overflow exception on overflow.
5060         (expm1_test): Do not allow missing overflow exception on overflow.
5062         * sysdeps/i386/fpu/e_expl.c: Move to ...
5063         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
5064         rather than using inline asm.
5065         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5066         * sysdeps/x86_64/fpu/e_expl.S: Copy from
5067         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5069         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5070         (nice): Likewise.
5071         (poll): Likewise.
5072         (signal): Likewise.
5073         (time): Likewise.
5074         (times): Likewise.
5076 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
5078         * sysdeps/unix/syscalls.list (adjtime): Add entry from
5079         sysdeps/unix/common/syscalls.list.
5080         (fchmod): Likewise.
5081         (fchown): Likewise.
5082         (ftruncate): Likewise.
5083         (getrusage): Likewise.
5084         (gettimeofday): Likewise.
5085         (setpgid): Likewise.
5086         (setregid): Likewise.
5087         (setreuid): Likewise.
5088         (sigaction): Likewise.
5089         (truncate): Likewise.
5090         (vhangup): Likewise.
5091         * sysdeps/unix/common/syscalls.list: Remove file.
5092         * sysdeps/unix/bsd/Implies: Don't include unix/common.
5093         * sysdeps/unix/sysv/linux/Implies: Likewise.
5095 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
5097         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5099         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5100         Moved to ...
5101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5102         Here.
5103         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5104         to ...
5105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5106         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5107         to ...
5108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5109         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5110         to ...
5111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5112         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5113         to ...
5114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5115         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5116         to ...
5117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5118         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5119         to ...
5120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5121         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5122         to ...
5123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5124         Here.
5125         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5126         to ...
5127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5128         Here.
5129         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5130         to ...
5131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5132         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5133         Moved to ...
5134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5135         Here.
5136         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5137         to ...
5138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5140 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
5142         * sysdeps/unix/common/bits/dirent.h: Remove file.
5143         * sysdeps/unix/common/bits/fcntl.h: Likewise.
5145         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5146         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5147         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5148         * sysdeps/unix/bsd/isatty.c: Likewise.
5149         * sysdeps/unix/bsd/tcdrain.c: Likewise.
5150         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5151         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5153 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5155         [BZ #13563]
5156         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5157         long double comparison inaccuracies.
5158         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5161 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
5163         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5164         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5166 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
5168         [BZ #14049]
5169         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5170         nonzero digits before rounding a hex value.
5171         * stdlib/tst-strtod.c (tests): Add another test.
5173 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5175         * sysdeps/s390/fpu/libm-test-ulps: Update.
5177 2012-05-03  Andreas Jaeger  <aj@suse.de>
5179         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5180         does not get optimized out.
5181         (malloc_opt_barrier): New.
5183 2012-05-03  Andreas Jaeger  <aj@suse.de>
5184             Roland McGrath  <roland@hack.frob.com>
5186         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5187         intermediate file deletion.
5188         (generated): Add .symlist files.
5190 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
5192         [BZ #13775]
5193         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5194         Redirect under this condition.
5195         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5196         [__USE_GNU] (__dprintf_chk): Not under this condition.
5197         [__USE_GNU] (__vdprintf_chk): Likewise.
5198         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5199         under this condition.
5200         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5201         [__USE_XOPEN2K8] (dprintf): Define under this condition.
5202         [__USE_XOPEN2K8] (vdprintf): Likewise.
5203         [__USE_GNU] (__dprintf_chk): Not under this condition.
5204         [__USE_GNU] (__vdprintf_chk): Likewise.
5205         [__USE_GNU] (dprintf): Likewise.
5206         [__USE_GNU] (vdprintf): Likewise.
5208 2012-05-03  Roland McGrath  <roland@hack.frob.com>
5210         * elf/Makefile (common-generated): Set this instead of generated for
5211         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
5212         $(all-built-dso)-derived lists.
5214 2012-05-03  Andreas Jaeger  <aj@suse.de>
5216         * sysdeps/i386/fpu/libm-test-ulps: Update.
5218         * FAQ: Removed.
5219         * FAQ.in: Likewise.
5220         * scripts/gen-FAQ.pl: Likewise.
5221         * manual/install.texi (Installation): Point to online location of
5222         FAQ.
5223         * Makefile (files-for-dist): Remove FAQ.
5224         (FAQ): Remove.
5226 2012-05-02  Allan McRae  <allan@archlinux.org>
5228         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5229         (LDFLAGS-reldepmod5.so): Likewise.
5230         (LDFLAGS-reldep6mod1.so): Likewise.
5231         (LDFLAGS-reldep6mod4.so): Likewise.
5232         (LDFLAGS-reldep8mod3.so): Likewise.
5233         (LDFLAGS-unload4mod1.so): Likewise.
5234         (LDFLAGS-unload4mod2.so): Likewise.
5235         (LDFLAGS-tst-initorder): Likewise.
5236         (LDFLAGS-tst-initordera2.so): Likewise.
5237         (LDFLAGS-tst-initordera3.so): Likewise.
5238         (LDFLAGS-tst-initordera4.so): Likewise.
5239         (LDFLAGS-tst-initorderb2.so): Likewise.
5240         (LDFLAGS-noload): Likewise.
5241         (LDFLAGS-next): Likewise.
5242         (LDFLAGS-order2mod1.so): Likewise.
5243         (LDFLAGS-order2mod2.so): Likewise.
5244         (LDFLAGS-tst-initorder2): Likewise.
5245         (LDFLAGS-tst-initorder2a.so): Likewise.
5246         (LDFLAGS-tst-initorder2b.so): Likewise.
5247         (LDFLAGS-tst-initorder2c.so): Likewise.
5248         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5250 2012-05-02  David S. Miller  <davem@davemloft.net>
5252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5254 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5256         [BZ #14055]
5257         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5259 2012-05-02  Andreas Jaeger  <aj@suse.de>
5261         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5262         since we manipulate rounding mode.
5263         (CPPFLAGS-test-idouble.c): Likewise.
5264         (CPPFLAGS-test-ifloat.c): Likewise.
5265         (CFLAGS-test-ldouble.c): Likewise.
5266         (CFLAGS-test-double.c): Likewise.
5267         (CFLAGS-test-float.c): Likewise.
5268         (CFLAGS-test-misc.c): Likewise.
5269         (CFLAGS-test-test-fenv.c): Likewise.
5271 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5273         [BZ #2550]
5274         [BZ #2570]
5275         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5276         comparisons to determine direction to adjust input.
5278 2012-05-01  Roland McGrath  <roland@hack.frob.com>
5280         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5281         output to the target.
5283         * scripts/localplt.awk: New file.
5284         * elf/Makefile ($(objpfx)check-localplt): Target removed.
5285         (check-localplt-CFLAGS): Variable removed.
5286         ($(all-built-dso:=.jmprel)): New static pattern rule.
5287         (generated): Add those targets.
5288         (localplt-built-dso): New variable.
5289         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5291         * elf/check-localplt.c: File removed.
5293         * scripts/check-execstack.awk: New file.
5294         * elf/Makefile ($(objpfx)check-execstack): Target removed.
5295         (check-execstack-CFLAGS): Variable removed.
5296         ($(objpfx)check-execstack.h): Target removed.
5297         ($(objpfx)execstack-default): New target.
5298         (generated): Add that instead of check-execstack.h.
5299         ($(all-built-dso:=.phdr)): New static pattern rule.
5300         (generated): Add those targets.
5301         * elf/check-execstack.c: File removed.
5303         * scripts/check-textrel.awk: New file.
5304         * elf/Makefile ($(objpfx)check-textrel): Target removed.
5305         (check-textrel-CFLAGS): Variable removed.
5306         (all-built-dso): Use := to define.o
5307         ($(all-built-dso:=.dyn)): New static pattern rule.
5308         (generated): Add those targets.
5309         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5310         * config.make.in (READELF): New substituted variable.
5311         * elf/check-textrel.c: File removed.
5313 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
5315         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5316         allow.
5317         * conform/data/ctype.h-data [C99-based standards] (isblank):
5318         Expect function.
5319         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5320         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5321         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5322         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5323         Specify type.  Require positive value.
5324         (EILSEQ): Likewise.
5325         (ERANGE): Likewise.
5326         [ISO || POSIX] (EILSEQ): Do not expect.
5327         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5328         Specify type.  Require positive value.
5329         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5330         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5331         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5332         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5333         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5334         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5335         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5336         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5337         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5338         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5339         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5340         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5341         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5342         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5343         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5344         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5345         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5346         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5347         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5348         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5349         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5350         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5351         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5352         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5353         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5354         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5355         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5356         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5357         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5358         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5359         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5360         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5361         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5362         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5363         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5364         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5365         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5366         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5367         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5368         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5369         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5370         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5371         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5372         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5373         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5374         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5375         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5376         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5377         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5378         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5379         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5380         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5381         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5382         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5383         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5384         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5385         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5386         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5387         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5388         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5389         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5390         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5391         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5392         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5393         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5394         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5395         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5396         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5397         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5398         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5399         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5400         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5401         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5402         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5403         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5404         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5405         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5406         Require >= 2.
5407         (FLT_ROUNDS): Expect as macro, not constant.
5408         (FLT_MANT_DIG): Use macro-int-constant.
5409         (DBL_MANT_DIG): Likewise.
5410         (LDBL_MANT_DIG): Likewise.
5411         (FLT_DIG): Likewise.
5412         (DBL_DIG): Likewise.
5413         (LDBL_DIG): Likewise.
5414         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
5415         (DBL_MIN_EXP): Likewise.
5416         (LDBL_MIN_EXP): Likewise.
5417         (FLT_MAX_EXP): Use macro-int-constant.
5418         (DBL_MAX_EXP): Likewise.
5419         (LDBL_MAX_EXP): Likewise.
5420         (FLT_MAX_10_EXP): Likewise.
5421         (DBL_MAX_10_EXP): Likewise.
5422         (LDBL_MAX_10_EXP): Likewise.
5423         (FLT_MAX): Use macro-constant.
5424         (DBL_MAX): Likewise.
5425         (LDBL_MAX): Likewise.
5426         (FLT_EPSILON): Use macro-constant.  Give upper bound.
5427         (DBL_EPSILON): Likewise.
5428         (LDBL_EPSILON): Likewise.
5429         (FLT_MIN): Likewise.
5430         (DBL_MIN): Likewise.
5431         (LDBL_MIN): Likewise.
5432         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5433         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5434         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5435         [ISO11] (FLT_HAS_SUBNORM): Likewise.
5436         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5437         [ISO11] (DBL_DECIMAL_DIG): Likewise.
5438         [ISO11] (FLT_DECIMAL_DIG): Likewise.
5439         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5440         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5441         [ISO11] (FLT_TRUE_MIN): Likewise.
5442         [ISO11] (LDBL_TRUE_MIN): Likewise.
5443         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5444         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5445         (SCHAR_MIN): Use macro-int-constant.  Specify type.
5446         (SCHAR_MAX): Likewise.
5447         (UCHAR_MAX): Likewise.
5448         (CHAR_MIN): Likewise.
5449         (CHAR_MAX): Likewise.
5450         (MB_LEN_MAX): Use macro-int-constant.
5451         (SHRT_MIN): Use macro-int-constant.  Specify type.
5452         (SHRT_MAX): Likewise.
5453         (USHRT_MAX): Likewise.
5454         (INT_MAX): Likewise.
5455         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
5456         bound negative.
5457         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5458         bound with "U".
5459         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5460         bound with "L".
5461         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
5462         bound negative.  Suffix upper bound with "L".
5463         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5464         bound with "UL".
5465         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5466         Specify type.
5467         [C99-based standards] (LLONG_MAX): Likewise.
5468         [C99-based standards] (ULLONG_MAX): Likewise.
5469         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
5470         == 0.
5471         [ISO11] (max_align_t): Require type.
5472         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5474         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5475         from $CFLAGS, without defining away __attribute__ calls.
5476         (checknamespace): Use $CFLAGS_namespace.
5478         * conform/conformtest.pl (@keywords): Only include C99 keywords
5479         for standards based on C99 or C11.
5481         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5482         Disable tests.
5483         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5484         UNIX98]: Likewise.
5486         * conform/conformtest.pl: Handle "macro-int-constant" and test for
5487         usability of symbols in #if.
5489         * conform/conformtest.pl: If macro or constant types start
5490         "promoted:", expect the symbol to be of the following type
5491         promoted by the integer promotions.
5493         * conform/conformtest.pl: Parse all "constant" and "macro" lines
5494         in one place.  Also handle "macro-constant".
5496         * conform/conformtest.pl: Only accept expected macro values with
5497         "==".  Parse all "macro" lines in one place.
5498         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5500         * conform/conformtest.pl: Handle braced types on "constant" lines
5501         instead of handling "typed-constant".
5502         * conform/data/signal.h-data: Use "constant" instead of
5503         "typed-constant".
5505         * conform/conformtest.pl: Handle "optional-" at start of lines in
5506         one place rather than duplicating several cases.  Handle each
5507         format of "macro" line with initial "optional-".
5509         * conform/conformtest.pl: Only accept expected constant or
5510         optional-constant values with "==".  Parse all "constant" lines in
5511         one place.  Parse all "optional-constant" lines in one place.
5512         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5513         * conform/data/fmtmsg.h-data: Likewise.
5514         * conform/data/netinet/in.h-data: Likewise.
5515         * conform/data/tar.h-data: Likewise.
5516         * conform/data/limits.h-data: Use "==" form on "constant" and
5517         "optional-constant" lines.
5519         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5520         Use -std=c99 for XOPEN2K.
5521         (@knownproblems): Remove.
5522         (newtoken): Don't check %isknown.
5524         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5525         Do not expect macro.
5526         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5527         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5528         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5529         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5530         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5531         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5532         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5533         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5534         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5535         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5536         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5537         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5538         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5539         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5540         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5541         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5542         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5543         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5544         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5545         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5546         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5547         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5548         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5549         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5550         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5551         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5552         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5553         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5554         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5555         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5556         [XPG3] (acosh): Likewise.
5557         [XPG3] (asinh): Likewise.
5558         [XPG3] (atanh): Likewise.
5559         [XPG3] (cbrt): Likewise.
5560         [XPG3] (expm1): Likewise.
5561         [XPG3] (ilogb): Likewise.
5562         [XPG3] (log1p): Likewise.
5563         [XPG3] (logb): Likewise.
5564         [XPG3] (nextafter): Likewise.
5565         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5566         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5567         [XPG3] (remainder): Likewise.
5568         [XPG3] (rint): Likewise.
5569         [XPG3 || XPG4 || UNIX98] (round): Likewise.
5570         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5571         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5572         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5573         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5574         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5575         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5576         [UNIX98 || XOPEN2K] (scalb): Expect.
5577         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5578         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5579         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5580         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5581         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5582         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5583         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5584         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5585         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5586         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5587         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5588         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5589         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5590         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5591         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5592         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5593         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5594         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5595         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5596         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5597         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5598         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5599         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5600         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5601         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5602         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5603         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5604         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5605         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5606         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5607         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5608         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5609         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5610         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5611         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5612         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5613         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5614         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5615         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5616         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5617         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5618         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5619         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5620         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5621         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5622         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5623         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5624         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5625         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5626         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5627         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5628         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5629         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5630         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5631         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5632         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5633         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5634         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5635         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5636         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5637         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5638         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5639         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5640         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5641         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5642         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5643         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5644         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5645         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5646         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5647         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5648         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5649         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5650         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5651         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5652         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5653         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5654         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5655         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5656         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5657         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5658         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5659         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5660         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5661         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5662         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5663         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5664         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5665         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5666         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5667         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5668         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5669         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5670         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5671         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5672         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5673         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5674         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5675         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5676         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5677         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5678         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5679         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5680         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5681         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5682         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5683         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5684         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5685         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5686         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5687         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5688         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5689         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5690         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5691         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5692         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5693         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5694         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5695         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5696         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5697         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5698         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5699         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5700         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5701         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5702         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5703         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5704         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5705         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5706         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5707         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5708         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5709         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5710         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5711         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5712         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5713         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5715         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5716         _XOPEN_SOURCE_EXTENDED for XPG4.
5718         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5720         * Makeconfig (localtime): Remove variable.
5721         (inst_localtime-file): Likewise.
5723 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5726         Update.
5727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5728         Update.
5729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5730         Update.
5731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5732         Update.
5733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5734         Update.
5735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5736         Update.
5737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5738         Update.
5739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5740         Update.
5741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5742         Update.
5744 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
5746         [BZ #2550]
5747         [BZ #2570]
5748         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5749         comparisons to determine direction to adjust input.
5750         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5751         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5752         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5753         Likewise.
5754         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5755         Likewise.
5756         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5757         Likewise.
5758         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5759         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5760         Likewise.
5761         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5762         Likewise.
5763         * math/libm-test.inc (nexttoward_test): Add more tests.
5765 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5767         [BZ #14040]
5768         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5769         in version GLIBC_2.1, not GLIBC_2.0.
5770         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5771         Likewise.
5773 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
5775         [BZ #13942]
5776         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5777         (1 - x) * (1 + x).
5778         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5779         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5780         * math/libm-test.inc (acos_test): Add more tests.
5781         (asin_test): Likewise.
5782         * sysdeps/i386/fpu/libm-test-ulps: Update.
5783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5785         [BZ #14034]
5786         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5787         of square root.
5788         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5789         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5790         * math/libm-test.inc (acos_test_tonearest): New function.
5791         (acos_test_towardzero): Likewise.
5792         (acos_test_downward): Likewise.
5793         (acos_test_upward): Likewise.
5794         (asin_test_tonearest): Likewise.
5795         (asin_test_towardzero): Likewise.
5796         (asin_test_downward): Likewise.
5797         (asin_test_upward): Likewise.
5798         (main): Call the new functions.
5799         * sysdeps/i386/fpu/libm-test-ulps: Update.
5800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5802         [BZ #13884]
5803         [BZ #13924]
5804         * math/e_exp10.c: Include <float.h>.
5805         (__ieee754_exp10): Handle underflow here rather than multiplying
5806         large negative argument by M_LN10.
5807         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5808         of __ieee754_expf.
5809         * math/e_exp10l.c: Include <float.h>.
5810         (__ieee754_exp10l): Handle underflow here rather than multiplying
5811         large negative argument by M_LN10l.
5812         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
5813         spurious overflow exception on underflow.
5815 2012-04-29  Marek Polacek  <polacek@redhat.com>
5817         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5818         (__fortify_function): New macro.
5819         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5820         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5821         __extern_always_inline.
5822         * libio/bits/stdio2.h: Likewise.
5823         * libio/bits/stdio.h: Likewise.
5824         * string/string.h: Likewise.
5825         * string/bits/string3.h: Likewise.
5826         * include/stdio.h: Likewise.
5827         * stdlib/bits/stdlib.h: Likewise.
5828         * stdlib/stdlib.h: Likewise.
5829         * rt/bits/mqueue2.h: Likewise.
5830         * rt/mqueue.h: Likewise.
5831         * posix/bits/unistd.h: Likewise.
5832         * posix/unistd.h: Likewise.
5833         * io/bits/poll2.h: Likewise.
5834         * io/bits/fcntl2.h: Likewise.
5835         * io/fcntl.h: Likewise.
5836         * io/sys/poll.h: Likewise.
5837         * misc/bits/syslog.h: Likewise.
5838         * misc/bits/syslog-ldbl.h: Likewise.
5839         * misc/sys/syslog.h: Likewise.
5840         * socket/bits/socket2.h: Likewise.
5841         * socket/sys/socket.h: Likewise.
5842         * debug/tst-chk1.c: Likewise.
5843         * wcsmbs/bits/wchar2.h: Likewise.
5844         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5845         * wcsmbs/wchar.h: Likewise.
5847 2012-04-29  Andreas Jaeger  <aj@suse.de>
5849         * Makerules (tests): Remove enable-check-abi protection.
5850         (check-abi-warn): Remove.
5851         (check-abi-%): Remove check-abi-warn usage.
5853         * configure.in: Remove check-abi configure option.
5854         * configure: Regenerated.
5855         * config.make.in (enable-check-abi): Remove.
5857 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
5859         [BZ #14033]
5860         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5861         double functions to double *_finite functions.
5863         [BZ #13941]
5864         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5865         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5866         LDBL_MIN_EXP.
5867         * stdio-common/Makefile (tests): Add tst-sprintf3.
5868         * stdio-common/tst-sprintf3.c: New file.
5870         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5871         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5873 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
5875         * conform/conformtest.pl: Remove duplicate typed-constant
5876         handling.
5878 2012-04-28  David S. Miller  <davem@davemloft.net>
5880         * Makerules (%.abilist): Add vpath on sysdep_dirs.
5881         (check-abi-%): Remove AWK script prerequisite and explicit
5882         abilist directory.
5883         (check-abi): Rewrite to just diff the symlist with the abilist.
5884         (config-tls, config-abi-config): Delete, no longer used.
5885         (update-abi-%): Remove AWK script and explicit abilist directory.
5886         (update-abi): Rewrite to simply compare and conditionally copy the
5887         symlist and the sysdep abilist file.  Remove update-abi-config
5888         checks.
5889         * abilist/ld.abilist: Remove.
5890         * abilist/libBrokenLocale.abilist: Remove.
5891         * abilist/libanl.abilist: Remove.
5892         * abilist/libcrypt.abilist: Remove.
5893         * abilist/libdl.abilist: Remove.
5894         * abilist/librt.abilist: Remove.
5895         * abilist/libthread_db.abilist: Remove.
5896         * abilist/libutil.abilist: Remove.
5897         * scripts/extract-abilist.awk: Remove.
5898         * scripts/merge-abilist.awk: Remove.
5899         * sysdeps/generic/libcidn.abilist: New file.
5900         * sysdeps/generic/libnss_compat.abilist: New file.
5901         * sysdeps/generic/libnss_db.abilist: New file.
5902         * sysdeps/generic/libnss_dns.abilist: New file.
5903         * sysdeps/generic/libnss_files.abilist: New file.
5904         * sysdeps/generic/libnss_hesiod.abilist: New file.
5905         * sysdeps/generic/libnss_nis.abilist: New file.
5906         * sysdeps/generic/libnss_nisplus.abilist: New file.
5907         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5908         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5909         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5910         file.
5911         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5912         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5913         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5914         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5915         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5916         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5917         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5918         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5919         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5920         file.
5921         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5922         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5923         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5924         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5925         file.
5926         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5927         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5928         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5929         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5930         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5931         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5932         file.
5933         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5934         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5935         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5936         file.
5937         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5939         New file.
5940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5941         New file.
5942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5943         New file.
5944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5945         New file.
5946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5947         New file.
5948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5949         New file.
5950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5951         New file.
5952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5953         New file.
5954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5955         New file.
5956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5957         New file.
5958         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5959         New file.
5960         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5961         New file.
5962         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5963         New file.
5964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5965         file.
5966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5967         New file.
5968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5969         New file.
5970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5971         file.
5972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5973         New file.
5974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5975         New file.
5976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5977         file.
5978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5979         New file.
5980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5981         New file.
5982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5983         New file.
5984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5985         New file.
5986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5987         New file.
5988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5989         New file.
5990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5992         file.
5993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5994         New file.
5995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5996         file.
5997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5998         file.
5999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6000         file.
6001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6002         file.
6003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6004         file.
6005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6006         New file.
6007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6008         file.
6009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6010         file.
6011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6012         New file.
6013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6014         file.
6015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6017         file.
6018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6019         New file.
6020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6021         file.
6022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6023         file.
6024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6025         file.
6026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6027         file.
6028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6029         file.
6030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6031         New file.
6032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6033         file.
6034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6035         file.
6036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6037         New file.
6038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6039         file.
6040         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6041         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6042         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6043         file.
6044         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6045         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6046         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6047         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6048         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6049         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6050         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6051         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6052         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6053         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6056         file.
6057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6058         New file.
6059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6060         file.
6061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6062         file.
6063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6064         file.
6065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6066         file.
6067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6068         file.
6069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6070         New file.
6071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6072         New file.
6073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6074         file.
6075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6076         New file.
6077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6078         file.
6079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6081         file.
6082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6083         New file.
6084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6085         file.
6086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6087         file.
6088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6089         file.
6090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6091         file.
6092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6093         file.
6094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6095         New file.
6096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6097         New file.
6098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6099         file.
6100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6101         New file.
6102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6103         file.
6105 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
6107         * conform/conformtest.pl: Fix typo in handling typed-constant from
6108         allow-header.
6110 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
6112         * README: Cut down references to pre-2.6 Linux kernels and
6113         Linuxthreads.  Update lists of configurations in libc and ports
6114         and sort alphabetically.  Say "or newer" with Linux kernel version
6115         requirements.
6117         * config.h.in [IS_IN_build]: Allow compiling without optimization.
6119 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6121         [BZ #887]
6122         * math/libm-test.inc (logb_test_downward): New test to expose
6123         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6124         rounding mode.
6126 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
6128         [BZ #14027]
6129         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6130         to be done.
6131         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6132         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6134 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
6136         * sysdeps/unix/i386/brk.S: Remove file.
6137         * sysdeps/unix/i386/dl-brk.S: Likewise.
6138         * sysdeps/unix/i386/pipe.S: Likewise.
6139         * sysdeps/unix/i386/sigreturn.S: Likewise.
6140         * sysdeps/unix/i386/syscall.S: Likewise.
6141         * sysdeps/unix/i386/vfork.S: Likewise.
6142         * sysdeps/unix/i386/wait.S: Likewise.
6144         * sysdeps/unix/common/tcsendbrk.c: Move to ...
6145         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6147         * configure.in (arm*-none*): Do not allow without
6148         --enable-hacker-mode.
6149         (netbsd*): Remove case setting base_os.
6150         (386bsd*): Likewise.
6151         (freebsd*): Likewise.
6152         (bsdi*): Likewise.
6153         (osf*): Likewise.
6154         (sunos*): Likewise.
6155         (ultrix*): Likewise.
6156         (newsos*): Likewise.
6157         (dynix*): Likewise.
6158         (*bsd*): Likewise.
6159         (sysv*): Likewise.
6160         (isc*): Likewise.
6161         (esix*): Likewise.
6162         (sco*): Likewise.
6163         (minix*): Likewise.
6164         (irix4*): Likewise.
6165         (irix6*): Likewise.
6166         (solaris[2-9]*): Likewise.
6167         (none): Likewise.
6168         * configure: Regenerated.
6170 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6172         [BZ #11521]
6173         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6174         overflow or cancellation in calculating denominator.
6175         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6176         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6177         down expression to avoid unexpected rounding in newer GCCs.
6178         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6180 2012-04-26  David S. Miller  <davem@davemloft.net>
6182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6183         long-double compat symbols.
6184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6198 2012-04-25  David S. Miller  <davem@davemloft.net>
6200         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6201         HWCAP_* values only after the memory barriers have been defined.
6202         (atomic_full_barrier): Define.
6203         (atomic_read_barrier): Define.
6204         (atomic_write_barrier): Define.
6206 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6208         * shlib-versions: Add libgcc_s version information.
6209         * sysdeps/generic/libgcc_s.h: Remove.
6210         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6211         libgcc_s.h.
6212         * sysdeps/gnu/unwind-resume.c: Likewise.
6213         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6215 2012-04-25  David S. Miller  <davem@davemloft.net>
6217         * sysdeps/unix/sparc/brk.S: Delete.
6218         * sysdeps/unix/sparc/dl-brk.S: Delete.
6219         * sysdeps/unix/sparc/pipe.S: Delete.
6220         * sysdeps/unix/sparc/sysdep.S: Delete.
6221         * sysdeps/unix/sparc/sysdep.h: Delete.
6222         * sysdeps/unix/sparc/vfork.S: Delete.
6223         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6224         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6225         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6226         ret_ERRVAL, r0, r1, MOVE): Define.
6227         (JUMPTARGET): Remove.
6228         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6229         sysdeps/unix/sparc/sysdep.h
6230         (ENTRY, END): Remove.
6231         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6233 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
6235         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6236         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6237         -DIS_IN_build.
6239         * timezone/README: Update upstream location and email address for
6240         tzcode and tzdata.
6241         * timezone/zdump.c: Update from tzcode 2012b.
6242         * timezone/zic.c: Likewise.
6244         * configure.in (libc_cv_as_needed): Remove test.
6245         * configure: Regenerated.
6246         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6247         conditional definition.
6248         [$(have-as-needed) != yes] (no-as-needed): Likewise.
6249         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6250         * config.make.in (have-as-needed): Remove variable.
6252 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6253             Paul Pluzhnikov  <ppluzhnikov@google.com>
6255         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6256         strings correctly.
6258 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6260         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6261         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6262         * sysdeps/sh/strlen.S: Likewise.
6264 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
6266         * sysdeps/unix/fork.S: Remove file.
6267         * sysdeps/unix/i386/fork.S: Likewise.
6268         * sysdeps/unix/sparc/fork.S: Likewise.
6270         * sysdeps/unix/system.c: Remove file.
6271         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6273         * sysdeps/unix/getegid.S: Remove file.
6274         * sysdeps/unix/geteuid.S: Likewise.
6276 2012-04-24  Roland McGrath  <roland@hack.frob.com>
6278         * scripts/check-localplt.awk: New file.
6279         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6280         of diff.
6281         * scripts/data/localplt-generic.data: Add a comment.
6283         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6284         NODE when __dir_mkfile failed.
6285         * sysdeps/mach/hurd/symlinkat.c: Likewise.
6286         Reported by Ludovic Courtès <ludo@gnu.org>.
6288 2012-04-24  Andreas Jaeger  <aj@suse.de>
6290         * Makerules (common-clean): Also remove gen-as-const-headers
6291         files.
6293 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
6295         * Makerules (native-compile): Do not change working directory for
6296         build.  Use $(OUTPUT_OPTION) in command.
6297         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6299 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6301         [BZ #13886]
6302         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6303         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6304         * math/libm-test.inc (floor_test): Add more tests.
6305         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6307 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
6309         * sysdeps/unix/getdents.c: Remove file.
6310         * sysdeps/unix/sysv/getdents.c: Likewise.
6311         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6313         * sysdeps/unix/syscalls.list (madvise): Add syscall from
6314         sysdeps/unix/mman/syscalls.list.
6315         (mmap): Likewise.
6316         (mprotect): Likewise.
6317         (msync): Likewise.
6318         (munmap): Likewise.
6319         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6320         * sysdeps/unix/mman/syscalls.list: Remove.
6321         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6323         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6324         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6325         * configure: Regenerated.
6326         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6327         $(libgcc_s_suffix).
6328         * config.make.in (libgcc_s_suffix): Remove variable.
6330 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
6332         * sysdeps/unix/sysv/gethostname.c: Move to ...
6333         * sysdeps/posix/gethostname.c: ... here.
6335         * sysdeps/unix/execve.S: Remove file.
6337         * sysdeps/unix/_exit.S: Remove file.
6339 2012-04-23  Andreas Jaeger  <aj@suse.de>
6341         [BZ #13739]
6342         * manual/Makefile: Remove make dist support, there's no
6343         need for a stand-alone documentation tar ball.
6344         (TEXI2DVI): Define always, it's not in Makeconfig.
6345         (dist): Removed.
6346         (tar-it): Removed.
6347         (edition): Removed.
6348         (glibc-doc-$(edition).tar): Removed
6349         (%.Z): Removed.
6350         (%.gz): Removed.
6351         (%.uu): Removed.
6352         (ETAGS): Remove, it's in Makeconfig.
6353         (move-if-change): Remove, it's in Makeconfig.
6355 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
6357         [BZ #13970]
6358         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6359         (strtod, strtof, strtold, strtol, strtoul, strtoq)
6360         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6361         (strtod_l, strtof_l, strtold_l): Remove __wur.
6362         It is not necessarily an error to ignore strtol's return value.
6363         One can reliably look at the stored endptr to decide whether
6364         the number had valid syntax.
6366 2012-04-21  Andreas Jaeger  <aj@suse.de>
6368         [BZ #13739]
6369         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6371 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
6373         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6374         * sysdeps/unix/sysv/Versions: Remove file.
6376 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
6378         [BZ #13927]
6379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6381 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
6383         [BZ #7064]
6384         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6385         version from __vm86.
6387 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
6389         * sysdeps/unix/common/lxstat.c: Remove file.
6390         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6392         * sysdeps/unix/sysv/Makefile: Remove file.
6394         * sysdeps/unix/sysv/direct.h: Remove file.
6396         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6397         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6398         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6399         * sysdeps/unix/sysv/bits/signum.h: Likewise.
6400         * sysdeps/unix/sysv/bits/stat.h: Likewise.
6401         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6402         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6404         * sysdeps/unix/sysv/setrlimit.c: Remove file.
6406         * sysdeps/unix/xmknod.c: Remove file.
6407         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6409         * sysdeps/unix/sysv/settimeofday.c: Remove file.
6411         * sysdeps/unix/sysv/i386/time.S: Remove file.
6413         * sysdeps/unix/fxstat.c: Remove file.
6414         * sysdeps/unix/xstat.c: Likewise.
6415         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6417         * sysdeps/unix/sysv/sigaction.c: Remove file.
6419         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6420         (sysdep_headers): Remove variable.
6421         [termio.h not in sysdep_headers] (generated): Likewise.
6422         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6423         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6424         * sysdeps/unix/sysv/tcdrain.c: Likewise.
6425         * sysdeps/unix/sysv/tcflow.c: Likewise.
6426         * sysdeps/unix/sysv/tcflush.c: Likewise.
6427         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6428         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6429         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6430         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6431         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6433         * sysdeps/unix/siglist.c: Remove file.
6435         * sysdeps/unix/getppid.S: Remove file.
6437         * sysdeps/unix/mkdir.c: Remove file.
6438         * sysdeps/unix/rmdir.c: Likewise.
6440 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
6442         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6443         ERR_MAX value.
6444         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6445         errlist-compat value.
6447 2012-04-18  David S. Miller  <davem@davemloft.net>
6449         * sysdeps/generic/memcopy.h (reg_char): Delete.
6450         * debug/strcat_chk.c: Use char, not reg_char.
6451         * debug/strcpy_chk.c: Likewise.
6452         * debug/strncat_chk.c: Likewise.
6453         * debug/strncpy_chk.c: Likewise.
6454         * string/memchr.c: Likewise.
6455         * string/memrchr.c: Likewise.
6456         * string/rawmemchr.c: Likewise.
6457         * string/strcat.c: Likewise.
6458         * string/strchr.c: Likewise.
6459         * string/strchrnul.c: Likewise.
6460         * string/strcmp.c: Likewise.
6461         * string/strcpy.c: Likewise.
6462         * string/strncat.c: Likewise.
6463         * string/strncmp.c: Likewise.
6464         * string/strncpy.c: Likewise.
6466 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6468         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6469         __builtin_memcopy is called when src and dest ranges are known to not
6470         overlap.
6472 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6474         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6475         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6476         fwd_align_merge macro call.
6477         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6478         bwd_align_merge macro call.
6479         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6481 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6483         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6484         bwd_align_merge macros.
6485         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6486         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6487         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6489 2012-04-18  David S. Miller  <davem@davemloft.net>
6491         * sysdeps/sparc/sparc64/memcopy.h: Delete.
6493 2012-04-18  Andreas Jaeger  <aj@suse.de>
6495         [BZ# 6794]
6496         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6497         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6498         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6500         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6501         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6502         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6504         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6505         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6506         Adjust for changed ldbl-128 files.
6508         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6509         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6510         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6512 2012-04-17  David S. Miller  <davem@davemloft.net>
6514         * sysdeps/sparc/sparc32/memcopy.h: Delete.
6516 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
6518         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6519         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6520         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6521         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6522         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6523         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6525 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6527         [BZ #6794]
6528         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6529         * math/libm-test.inc: Add ilogb errno and exception tests.
6530         * math/w_ilogb.c: New file: ilogb wrapper.
6531         * math/w_ilogbf.c: New file: ilogbf wrapper.
6532         * math/w_ilogbl.c: New file: ilogbl wrapper.
6533         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6534         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6535         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6536         exception being thrown with 0.0 as argument.
6537         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6538         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6539         exception being thrown with 0.0 as argument.
6540         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6541         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6542         exception being thrown with 0.0 as argument.
6543         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6544         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6545         exception being thrown with 0.0 as argument.
6546         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6547         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6548         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6549         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6550         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6551         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6552         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6553         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6554         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6556 2012-04-17  Petr Baudis  <pasky@ucw.cz>
6558         * include/sys/uio.h: Change __vector to __iovec to avoid clash
6559         with altivec.
6561 2012-04-16  Marek Polacek  <polacek@redhat.com>
6563         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6565 2012-04-16  Marek Polacek  <polacek@redhat.com>
6567         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6568         operands of fdivp instruction.
6570 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
6572         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6573         * elf/tst-auditmod3b.c: Likewise.
6574         * elf/tst-auditmod4b.c: Likewise.
6575         * elf/tst-auditmod5b.c: Likewise.
6576         * elf/tst-auditmod6b.c: Likewise.
6577         * elf/tst-auditmod6c.c: Likewise.
6578         * elf/tst-auditmod7b.c: Likewise.
6579         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6580         * sysdeps/x86_64/preconfigure.in: Likewise.
6581         * sysdeps/x86_64/preconfigure: Regenerated.
6583 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
6585         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6586         __ILP32__.
6588 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
6590         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6591         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6593 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
6595         [BZ #13973]
6596         * locale/iso-639.def: Fix gl language name. Spotted by
6597         Yaron Shahrabani.
6599 2012-04-12  Roland McGrath  <roland@hack.frob.com>
6601         [BZ #2074]
6602         * libio/libio.h (__io_write_fn): Update comment.
6604 2012-04-12  Petr Baudis  <pasky@ucw.cz>
6606         [BZ #2074]
6607         * stdio.texi (Hook Functions): The user provided writer function
6608         is not allowed to return -1.
6610 2012-04-11  David S. Miller  <davem@davemloft.net>
6612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6614 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
6616         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6617         Add a leading slash to rtkaio.
6619 2012-04-11  Jim Meyering  <meyering@redhat.com>
6621         [BZ #11959]
6622         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6623         It is not necessarily an error to ignore fwrite's return
6624         value.  One can reliably use ferror to test for errors after
6625         the fact.
6627 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6629         * bits/types.h (__snseconds_t): New type.
6630         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6632         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6633         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6634         (__SNSECONDS_T_TYPE): Likewise.
6635         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6636         (__SNSECONDS_T_TYPE): Likewise.
6637         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6638         (__SNSECONDS_T_TYPE): Likewise.
6640 2012-04-10  Andreas Jaeger  <aj@suse.de>
6642         [BZ #2636]
6643         * manual/time.texi (Processor Time): Return type of times is
6644         elapsed real time since an arbitrary point in the past.
6645         (CPU Time): Move CLK_TCK from here...
6646         (Processor Time): ...to here.  Correct description.
6647         * manual/conf.texi (Constants for Sysconf): Correct description of
6648         _SC_CLK_TCK.
6650 2012-04-10  David S. Miller  <davem@davemloft.net>
6652         [BZ #13967]
6653         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6654         where the is a gap between DT_REL(A) and DT_JMPREL.
6656 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6658         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6659         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6660         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6662 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6664         * elf/dl-support.c (_dl_inhibit_cache): New variable.
6665         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6666         (dl_main): Handle --inhibit-cache.
6667         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6668         _dl_inhibit_cache.
6669         * elf/dl-load.c (_dl_map_object): Use it.
6670         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6672 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
6674         [BZ #13872]
6675         * sysdeps/i386/fpu/e_powl.S (p78): New object.
6676         (__ieee754_powl): Saturate large exponents rather than testing for
6677         overflow of y*log2(x).
6678         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6679         * math/libm-test.inc (pow_test): Do not permit spurious overflow
6680         exceptions.
6682         [BZ #11521]
6683         * math/s_ctan.c: Include <float.h>.
6684         (__ctan): Avoid internal overflow or cancellation in calculating
6685         denominator.
6686         * math/s_ctanf.c: Likewise.
6687         * math/s_ctanl.c: Likewise.
6688         * math/s_ctanh.c: Likewise.
6689         * math/s_ctanhf.c: Likewise.
6690         * math/s_ctanhl.c: Likewise.
6691         * math/libm-test.inc (ctan_test): Add more tests.
6692         (ctanh_test): Likewise.
6693         * sysdeps/i386/fpu/libm-test-ulps: Update.
6694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6696 2012-04-09  Andreas Jaeger  <aj@suse.de>
6698         [BZ #6894]
6699         * manual/filesys.texi (Directory Entries): Mention that d_namlen
6700         is an optional BSD extension.
6702         [BZ #10254]
6703         * manual/stdio.texi (Opening Streams): Document additional fopen
6704         parameters.
6706 2012-04-09  Roland McGrath  <roland@hack.frob.com>
6708         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6709         %eax without telling the compiler.
6711 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
6713         [BZ # 13963]
6714         * manual/install.texi: Use sourceware.org.
6716 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
6718         [BZ #13873]
6719         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6720         (__ieee754_pow): Generate overflow and underflow using huge*huge
6721         and tiny*tiny rather than just returning constant infinity or zero
6722         for large exponents.
6723         * math/libm-test.inc (pow_test): Require overflow exceptions for
6724         applicable cases of large exponents.
6726         [BZ #706]
6727         * sysdeps/i386/fpu/e_pow.S (p10): New object.
6728         (__ieee754_pow): Use iterative multiplication algorithm only for
6729         integer exponents with absolute value below 1024.  Check for odd
6730         integer exponents when using algorithm for real exponents.
6731         * math/libm-test.inc (pow_test): Add more tests.
6732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6734 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
6736         [BZ #13705]
6737         * math/libm-test.inc (exp_test): Do not allow overflow exception
6738         on underflow test.
6740 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
6742         [BZ #13705]
6743         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6744         instead of __kernel_standard_f.
6746 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
6748         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6749         * sysdeps/x86_64/memset_chk.S: Likewise.
6751 2012-04-08  Andreas Jaeger  <aj@suse.de>
6753         [BZ #10153]
6754         * manual/startup.texi (Environment Access): Describe return value
6755         for putenv and setenv.
6757         [BZ #6895]
6758         * manual/filesys.texi (Directory Entries): Add description for
6759         DT_LNK.
6761         [BZ #6890]
6762         * manual/filesys.texi (Directory Entries): Clarify that it's file
6763         system not operating system in the description of DT_UNKNOWN.
6765         [BZ #6578]
6766         * manual/syslog.texi (closelog): Fix reference, it's openlog.
6768 2012-04-08  Stephen Compall  <s11@member.fsf.org>
6770         [BZ #6649]
6771         * manual/llio.texi (Opening and Closing Files): Add cross
6772         reference to explain mode argument.
6774 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
6776         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6777         * sysdeps/x86_64/memset_chk.S: Likewise.
6779 2012-04-07  David S. Miller  <davem@davemloft.net>
6781         * elf/elf.h (R_SPARC_WDISP10): Define.
6782         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6783         R_SPARC_SIZE32.
6784         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6785         R_SPARC_SIZE64 and R_SPARC_H34.
6787 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
6789         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6790         conditions and remove no longer applicable assertion.
6792 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
6794         * bits/byteswap.h: Include <features.h>.
6795         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6796         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6798 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
6800         * bits/byteswap.h (__bswap_16): Removed.
6801         Include <bits/byteswap-16.h> to get __bswap_16.
6802         * sysdeps/i386/bits/byteswap.h: Likewise.
6803         * sysdeps/s390/bits/byteswap.h: Likewise.
6804         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6805         * bits/byteswap-16.h: New file.
6806         * sysdeps/i386/bits/byteswap-16.h: Likewise.
6807         * sysdeps/s390/bits/byteswap-16.h: Likewise.
6808         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6809         * string/Makefile (headers): Add bits/byteswap-16.h.
6811 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6813         [BZ #13895]
6814         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6815         extra indirection.
6816         * nss/Makefile (tests-static, tests): Add tst-nss-static.
6817         * nss/tst-nss-static.c: New.
6819 2012-04-06  Robert Millan  <rmh@gnu.org>
6821         [BZ #6486]
6822         * manual/llio.texi (File Position Primitive): lseek
6823         refers to WHENCE when it really means OFFSET.
6825 2012-04-06  Andreas Jaeger  <aj@suse.de>
6827         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6828         strncmp declarations.
6830         * abilist/libc.abilist: Add __poll and __ppoll.
6832 2012-04-05  David S. Miller  <davem@davemloft.net>
6834         * scripts/check-local-headers.sh: Accept a host triplet in the
6835         path matched by the exclude regexp.
6837         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6838         definition.
6839         * sysdeps/powerpc/powerpc32/dl-machine.h
6840         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6841         * sysdeps/s390/s390-32/dl-machine.h
6842         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6843         * sysdeps/sparc/sparc32/dl-machine.h
6844         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6845         * sysdeps/sparc/sparc64/dl-machine.h
6846         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6848         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6849         lazy binding.
6850         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6851         undefined symbol errors.
6853         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6854         DT_NEEDED entries.
6856 2012-04-05  Michael Matz  <matz@suse.de>
6858         [BZ #13592]
6859         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6861 2012-04-05  Andreas Jaeger  <aj@suse.de>
6863         [BZ #13908]
6864         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6865         comment.
6867 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6869         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6870         which ROUND is no valid rounding mode.
6872 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6874         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6875         read again.
6876         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6878 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6880         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6881         an exception using FPU order intentionally.
6883 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6885         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6886         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6887         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6888         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6890 2012-04-05  Simon Josefsson  <simon@josefsson.org>
6892         [BZ #12340]
6893         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6894         EINVAL when BUFLEN is too smal.
6896 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
6898         [BZ #13553]
6899         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6900         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6902 2012-04-03  Andreas Jaeger  <aj@suse.de>
6904         [BZ #13938]
6905         * manual/setjmp.texi (System V contexts): Fix sentence.
6907         [BZ #13926]
6908         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6909         New macro for this case.
6910         [!__GNUC__] (__bswap_64): New inline function for this case.
6911         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6912         * bits/byteswap.h: Likewise.
6913         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6914         ull, guard with __GLIBC_HAVE_LONG_LONG.
6916         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6917         __GLIBC_HAVE_LONG_LONG.
6919         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6920         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6922 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6924         [BZ #13691]
6925         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6926         inptr and inend, rather than using last_ch.
6928 2012-04-02  David S. Miller  <davem@davemloft.net>
6930         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6931         * stdio-common/printf-parse.h (read_int): Change return type to
6932         'int', return -1 on INT_MAX overflow.
6933         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6934         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
6935         overflows INT_MAX.  Check for overflow of in-format-string precision
6936         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
6937         SIZE_MAX not INT_MAX for integer overflow test.
6938         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6939         skip the construct in the format string but do not record anything.
6940         * stdio-common/bug22.c: Adjust to test both width/prevision
6941         INT_MAX overflow as well as total length INT_MAX overflow.  Check
6942         explicitly for proper errno values.
6944 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
6946         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6947         CHAR_MAX.
6948         * string/test-strcmp.c [! WIDE]: Likewise.
6949         * time/tst-mktime2.c: Likewise for INT_MAX.
6950         * string/test-string.h: #include <sys/param.h> for MIN.
6952         * csu/init-first.c (__libc_init_first): Call __ctype_init.
6953         * sysdeps/i386/init-first.c (init): Likewise.
6954         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6955         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6956         * sysdeps/sh/init-first.c (init): Likewise.
6958 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
6960         * po/ru.po: Update from translation team.
6961         * po/vi.po: Likewise.
6963 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6965         * resolv/nss_dns/dns-host.c: Merge copyright years.
6967 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6969         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6970         Optimize memcpy with prefetch if
6971         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
6972         src, dst pointers have unequal 16 byte alignments.
6974 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6976         [BZ #13928]
6977         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6978         from a CNAME entry and return the minimum ttl for the query.
6979         (gaih_getanswer_slice): Likewise.
6981 2012-03-30  Jeff Law  <law@redhat.com>
6983         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6984         due to long keys.
6985         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6986         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6988         * resolv/nss_dns/dns-host.c: Update copyright year.
6990 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
6992         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6993         requests to save a system call.  Fix check that all bytes are sent.
6995         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6996         comments for sendmmsg.
6998 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7000         [BZ #13691]
7001         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7002         with only 1 character between 0x0041 and 0x01b0.
7003         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7004         * wcsmbs/tst-mbsnrtowcs.c: New file.
7006 2012-03-29  David S. Miller  <davem@davemloft.net>
7008         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7009         small copies by hand.
7011 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7013         [BZ #13761]
7014         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7015         _nss_compat_initgroups_dyn): Fall back to malloc/free
7016         for large group memberships.
7018 2012-03-28  David S. Miller  <davem@davemloft.net>
7020         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7021         that branches into memcpy.
7022         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7023         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7024         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7025         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7026         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7027         bits.
7028         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7029         implementation too.
7030         * sysdeps/sparc/mempcpy.S: New file.
7032         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7033         the IFUNC routine in the libc case.
7034         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7036         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7037         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7038         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7039         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7040         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7041         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7042         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7043         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7045         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7046         loop to 256 bytes instead of 64 bytes and fix test signedness.
7048         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7049         * sysdeps/sparc/sparc32/Makefile: rather than here...
7050         * sysdeps/sparc/sparc64/Makefile: and here.
7052 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
7054         * malloc/mallocbug.c: Avoid warnings about unused variables.
7056 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7058         [BZ #13760]
7059         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7060         in the right place. Discard and retry query if response is
7061         larger than input buffer size.
7063 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
7065         [BZ #369]
7066         [BZ #2678]
7067         [BZ #3866]
7068         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7069         x for large integer exponent.
7070         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7071         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
7072         sign of result as needed afterwards.
7073         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7074         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7075         result for underflowing pow the same as for overflow.
7076         (__kernel_standard_l): Handle powl overflow and underflow here
7077         rather than calling __kernel_standard.
7078         * math/libm-test.inc (pow_test): Add more tests.
7080         [BZ #3868]
7081         [BZ #13879]
7082         [BZ #13910]
7083         [BZ #13911]
7084         [BZ #13912]
7085         [BZ #13913]
7086         [BZ #13915]
7087         [BZ #13916]
7088         [BZ #13917]
7089         [BZ #13918]
7090         [BZ #13919]
7091         [BZ #13920]
7092         [BZ #13921]
7093         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7094         * sysdeps/ieee754/k_standard.c: Include <float.h>.
7095         (__kernel_standard_l): New function.
7096         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7097         __kernel_standard.
7098         * math/w_acosl.c (__acosl): Likewise.
7099         * math/w_asinl.c (__asinl): Likewise.
7100         * math/w_atan2l.c (__atan2l): Likewise.
7101         * math/w_atanhl.c (__atanhl): Likewise.
7102         * math/w_coshl.c (__coshl): Likewise.
7103         * math/w_exp10l.c (__exp10l): Likewise.
7104         * math/w_exp2l.c (__exp2l): Likewise.
7105         * math/w_fmodl.c (__fmodl): Likewise.
7106         * math/w_hypotl.c (__hypotl): Likewise.
7107         * math/w_j0l.c (__j0l, __y0l): Likewise.
7108         * math/w_j1l.c (__j1l, __y1l): Likewise.
7109         * math/w_jnl.c (__jnl, __ynl): Likewise.
7110         * math/w_lgammal.c (__lgammal): Likewise.
7111         * math/w_log10l.c (__log10l): Likewise.
7112         * math/w_log2l.c (__log2l): Likewise.
7113         * math/w_logl.c (__logl): Likewise.
7114         * math/w_powl.c (__powl): Likewise.
7115         * math/w_remainderl.c (__remainderl): Likewise.
7116         * math/w_scalbl.c (sysv_scalbl): Likewise.
7117         * math/w_sinhl.c (__sinhl): Likewise.
7118         * math/w_sqrtl.c (__sqrtl): Likewise.
7119         * math/w_tgammal.c (__tgammal): Likewise.
7120         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7121         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7122         * math/libm-test.inc (acos_test): Add more tests.
7123         (acosh_test): Likewise.
7124         (asin_test): Likewise.
7125         (atanh_test): Likewise.
7126         (exp_test): Likewise.
7127         (exp10_test): Likewise.
7128         (exp2_test): Likewise.
7129         (expm1_test): Likewise.
7130         (lgamma_test): Likewise.
7131         (log_test): Likewise.
7132         (log10_test): Likewise.
7133         (log1p_test): Likewise.
7134         (log2_test): Likewise.
7135         (pow_test): Do not allow some spurious overflow exceptions.
7136         (sqrt_test): Add more tests.
7137         (tgamma_test): Likewise.
7138         (y0_test): Likewise.
7139         (y1_test): Likewise.
7140         (yn_test): Likewise.
7142 2012-03-27  Anton Blanchard  <anton@samba.org>
7144         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7145         MAP_HUGETLB.
7146         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7147         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7148         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7150 2012-03-27  David S. Miller  <davem@davemloft.net>
7152         * conform/Makefile: Run run-conformtest.sh using $(BASH).
7154         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7155         have-as-vis3 check.
7157 2012-03-27  Andreas Jaeger  <aj@suse.de>
7159         * sysdeps/x86_64/elf/configure.in: Moved to ...
7160         * sysdeps/x86_64/configure.in: ... here.
7161         * sysdeps/x86_64/elf/start.S: Moved to ...
7162         * sysdeps/x86_64/start.S: ... here.
7163         * sysdeps/x86_64/elf/configure: Delete.
7165         * sysdeps/x86_64/configure.in: Merge contents from
7166         sysdeps/i386/configure.in (without i686 check).
7168         * sysdeps/i386/elf/Versions: Merge into ...
7169         * sysdeps/i386/Versions: ... this.
7170         * sysdeps/i386/elf/Versions: Delete file.
7171         * sysdeps/i386/elf/start.S: Moved to ...
7172         * sysdeps/i386/start.S: ...here.
7173         * sysdeps/i386/elf/configure.in: Merge into...
7174         * sysdeps/i386/configure.in: ...here.
7175         * sysdeps/i386/elf/configure.in: Delete file.
7176         * sysdeps/i386/elf/configure: Delete file.
7178         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7179         * debug/backtracesyms.c: ... here.
7180         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7181         * debug/backtracesymsfd.c: ... here.
7182         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7183         * sysdeps/generic/ifunc-sel.h: ... here.
7185         * sysdeps/unix/i386/start.c: Delete file.
7186         * sysdeps/unix/sparc/start.c: Delete file.
7187         * sysdeps/unix/start.c: Delete file.
7189         * sysdeps/sh/elf/configure.in: Moved to ...
7190         * sysdeps/sh/configure.in: ... here.
7191         * sysdeps/sh/elf/start.S: Moved to ...
7192         * sysdeps/sh/start.S: ... here.
7193         * sysdeps/sh/elf/configure: Delete file.
7195         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7196         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7197         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7198         * sysdeps/powerpc/powerpc64/entry.h: ... here.
7199         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7200         * sysdeps/powerpc/powerpc64/start.S: here.
7201         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7202         * sysdeps/powerpc/powerpc64/Makefile: ... this.
7203         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7204         * sysdeps/powerpc/powerpc64/configure.in: ... this.
7205         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7207         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7208         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7209         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7210         * sysdeps/powerpc/powerpc32/start.S: ... here.
7211         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7212         * sysdeps/powerpc/powerpc32/configure.in: ... this.
7213         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7215         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7216         * sysdeps/powerpc/ifunc-sel.h: ... here.
7217         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7218         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7220         * sysdeps/sparc/elf/configure.in: Moved to ...
7221         * sysdeps/sparc/configure.in: ... here.
7222         * sysdeps/sparc/elf/configure: Delete file.
7223         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7224         * sysdeps/sparc/sparc32/start.S: ... here.
7225         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7226         * sysdeps/sparc/sparc64/start.S: ... here.
7227         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7228         * sysdeps/sparc/sparc32/Makefile: ... this.
7229         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7230         * sysdeps/sparc/sparc64/Makefile: ... this.
7232         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7233         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7234         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7235         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7236         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7237         * sysdeps/s390/s390-32/setjmp.S: ... here.
7238         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7239         * sysdeps/s390/s390-32/configure.in: ... here.
7240         * sysdeps/s390/s390-32/elf/configure: Delete file.
7241         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7242         * sysdeps/s390/s390-32/start.S: ... here.
7244         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7245         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7246         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7247         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7248         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7249         * sysdeps/s390/s390-64/setjmp.S: ... here.
7250         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7251         * sysdeps/s390/s390-64/configure.in: ... here
7252         * sysdeps/s390/s390-64/elf/configure: Delete file.
7253         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7254         * sysdeps/s390/s390-64/start.S: ... here.
7255         * sysdeps/s390/s390-64/elf/configure: Delete.
7257         * configure.in: Remove support for elf directories in sysdeps.
7259         * configure: Regenerated.
7260         * sysdeps/i386/configure: Regenerated.
7261         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7262         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7263         * sysdeps/s390/s390-32/configure: Regenerated.
7264         * sysdeps/s390/s390-64/configure: Regenerated.
7265         * sysdeps/sh/configure: Regenerated.
7266         * sysdeps/sparc/configure: Regenerated.
7267         * sysdeps/x86_64/configure: Regenerated.
7269 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
7271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7273         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7274         denormal result into account.
7276 2012-03-25  Roland McGrath  <roland@hack.frob.com>
7278         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7279         Reported by Allan McRae <allan@archlinux.org>.
7281 2012-03-23  Jeff Law  <law@redhat.com>
7283         * nss/getnssent.c (__nss_getent): Fix typo.
7285 2012-03-23  David S. Miller  <davem@davemloft.net>
7287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7289 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
7291         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7292         to pad to uint64_t for each field.
7293         (dl_tls_index): Replace unsigned long with uint64_t.
7295 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
7296         Paul Pluzhnikov  <ppluzhnikov@google.com>
7298         [BZ #6528]
7299         * grp/Makefile (otherlibs): Don't set it.
7300         * inet/Makefile (otherlibs): Likewise.
7301         * login/Makefile (otherlibs): Likewise.
7302         * nscd/Makefile (otherlibs): Likewise.
7303         * posix/Makefile (otherlibs): Likewise.
7304         * pwd/Makefile (otherlibs): Likewise.
7305         * rt/Makefile (otherlibs): Likewise.
7306         * sunrpc/Makefile (otherlibs): Likewise.
7307         * nss/Makefile (otherlibs): Likewise.
7308         Add libnss_files to routines and static-only-routines.
7309         ($(objpfx)getent): Remove rule.
7310         * resolv/Makefile: Add libnss_dns and libresolv to routines and
7311         static-only-routines.
7313 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
7315         [BZ #13892]
7316         * math/s_cexp.c: Include <float.h>.
7317         (__cexp): Handle exp result overflowing not necessarily
7318         overflowing both real and imaginary parts of result.
7319         * math/s_cexpf.c: Likewise.
7320         * math/s_cexpl.c: Likewise.
7321         * math/libm-test.inc (cexp_test): Add more tests.
7322         * sysdeps/i386/fpu/libm-test-ulps: Update.
7323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7325 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7327         * include/link.h (ELFW): New macro.
7328         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7329         Replace ELF64_R_TYPE with ELFW(R_TYPE).
7331 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7333         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7334         with uint64_t.
7336 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7338         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7339         declaration.
7340         (struct La_x32_retval): Likewise.
7342 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7344         * sysdeps/x86_64/preconfigure.in: New file.
7345         * sysdeps/x86_64/preconfigure: New generated file.
7347 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
7349         [BZ #13824]
7350         * math/e_exp2l.c: Include <float.h>.
7351         (__ieee754_exp2l): Handle overflow and underflow cases
7352         separately.  Only pass fractional part of argument to
7353         __ieee754_expl.
7354         * math/libm-test.inc (exp2_test): Add more tests.
7356         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7357         negating x to take absolute value.
7358         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7359         Likewise.
7360         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7361         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7362         Likewise.
7363         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7364         computing low part if x was negated.
7365         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7367 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7369         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7370         la_x32_gnu_pltexit.
7371         (pltexit): Cast int_retval to ptrdiff_t.
7372         * elf/tst-auditmod3b.c: Likewise.
7373         * elf/tst-auditmod4b.c: Likewise.
7374         * elf/tst-auditmod5b.c: Likewise.
7375         * elf/tst-auditmod6b.c: Likewise.
7376         * elf/tst-auditmod6c.c: Likewise.
7377         * elf/tst-auditmod7b.c: Likewise.
7379         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7380         and x32_gnu_pltexit.
7382         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7383         __ELF_NATIVE_CLASS.
7384         (La_x32_regs): New macro.
7385         (La_x32_retval): Likewise.
7386         (la_x32_gnu_pltenter): New function prototype.
7387         (la_x32_gnu_pltexit): Likewise.
7389 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
7391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7392         exponent.
7394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7396         * configure.in (libc_cv_cc_nofma): Check for option to disable
7397         generation of FMA instructions.
7398         * configure: Regenerate.
7399         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7400         * sysdeps/ieee754/dbl-64/Makefile: New file.
7401         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7402         Remove brandred-fma4.
7403         (CFLAGS-brandred-fma4.c): Remove.
7404         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7405         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7406         define.
7407         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7408         define.
7410 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7412         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7413         LLONG_MAX != LONG_MAX.
7414         (_itoa_word): Use _ITOA_WORD_TYPE on value.
7415         (_fitoa_word): Likewise.
7416         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7417         LLONG_MAX != LONG_MAX.
7418         * stdio-common/_itowa.h: Include <_itoa.h>.
7419         (_itowa_word): Use _ITOA_WORD_TYPE on value.
7420         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
7421         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
7422         only if not defined.
7423         (_ITOA_WORD_TYPE): Likewise.
7424         (_itoa_word): Use _ITOA_WORD_TYPE on value.
7425         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7427 2012-03-21  David S. Miller  <davem@davemloft.net>
7429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7431 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7433         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7434         of x86_64 when setting libc_cv_slibdir, libdir and
7435         libc_cv_localedir.
7436         * sysdeps/unix/sysv/linux/configure: Regenerated.
7438 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7440         * manual/lang.texi (Old Varargs): Remove section.
7441         (How Variadic): Update menu.
7442         (va_start): Do not mention varargs.h.
7444 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7445             Joseph Myers  <joseph@codesourcery.com>
7447         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7448         link test.
7449         * configure: Regenerated.
7451 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7453         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7454         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7455         conformtest.pl
7457 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7459         * NOTES: Remove.
7460         * Makefile (files-for-dist): Remove NOTES.
7461         (NOTES): Remove rule.
7462         * README: Don't refer to NOTES.
7463         * manual/creature.texi: Don't include macros.texi.
7464         * manual/intro.texi (creature.texi): Remove comment referring to
7465         NOTES.
7467         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7468         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7469         * configure: Regenerated.
7470         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7471         LIBC_TRY_CC_OPTION.
7472         (libc_cv_as_i686): Likewise.
7473         (libc_cv_cc_avx): Likewise.
7474         (libc_cv_cc_sse2avx): Likewise.
7475         (libc_cv_cc_fma4): Likewise.
7476         (libc_cv_cc_novzeroupper): Likewise.
7477         * sysdeps/i386/configure: Regenerated.
7479         [BZ #13883]
7480         * sysdeps/i386/fpu/s_cexp.S: Remove.
7481         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7482         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7483         * math/libm-test.inc (cexp_test): Add more tests.
7484         * sysdeps/i386/fpu/libm-test-ulps: Update.
7485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7487 2012-03-21  Allan McRae  <allan@archlinux.org>
7489         * timezone/Makefile: Do not install iso3166.tab and zone.tab
7491 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7493         [BZ #13871]
7494         * math/w_exp2.c: Do not include <float.h>.
7495         (o_threshold, u_threshold): Remove.
7496         (__exp2): Calculate result before checking finiteness and calling
7497         __kernel_standard.
7498         * math/w_exp2f.c: Likewise.
7499         * math/w_exp2l.c: Likewise.
7500         * math/libm-test.inc (exp2_test): Require overflow exception for
7501         1e6 input.
7503         [BZ #3866]
7504         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7505         range of signed 64-bit integers before using fistpll.  Remove
7506         checks for whether integers fit in mantissa bits.
7507         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7508         the range of signed 32-bit integers before using fistpl.  Remove
7509         checks for whether integers fit in mantissa bits.
7510         * sysdeps/i386/fpu/e_powl.S (p64): New object.
7511         (__ieee754_powl): Test for y outside the range of signed 64-bit
7512         integers before using fistpll.  Reduce 64-bit values to 63-bit
7513         ones as needed.
7514         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7515         divide-by-zero is raised for zero to large negative powers.
7516         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7517         (__ieee754_powl): Test for y outside the range of signed 64-bit
7518         integers before using fistpll.  Reduce 64-bit values to 63-bit
7519         ones as needed.
7520         * math/libm-test.inc (pow_test): Add more tests.
7522 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7524         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7525         <stdio-common/_itoa.h>.
7526         * debug/segfault.c: Likewise.
7527         * elf/dl-cache.c: Likewise.
7528         * elf/dl-minimal.c: Likewise.
7529         * elf/dl-misc.c: Likewise.
7530         * elf/dl-sysdep.c: Likewise.
7531         * elf/dl-version.c: Likewise.
7532         * elf/rtld.c: Likewise.
7533         * hurd/hurdsock.c: Likewise.
7534         * hurd/lookup-retry.c: Likewise.
7535         * malloc/malloc.c: Likewise.
7536         * malloc/mtrace.c: Likewise.
7537         * nscd/nscd_getgr_r.c: Likewise.
7538         * nscd/nscd_getpw_r.c: Likewise.
7539         * nscd/nscd_getserv_r.c: Likewise.
7540         * posix/getopt_init.c: Likewise.
7541         * posix/wordexp.c: Likewise.
7542         * stdio-common/_itoa.c: Likewise.
7543         * stdio-common/printf_fphex.c: Likewise.
7544         * stdio-common/vfprintf.c: Likewise.
7545         * string/_strerror.c: Likewise.
7546         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7547         * sysdeps/i386/i686/hp-timing.h: Likewise.
7548         * sysdeps/mach/_strerror.c: Likewise.
7549         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7550         * sysdeps/mach/hurd/sethostid.c: Likewise.
7551         * sysdeps/mach/hurd/xmknodat.c: Likewise.
7552         * sysdeps/mach/xpg-strerror.c: Likewise.
7553         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7554         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7555         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7556         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7557         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7558         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7559         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7560         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7561         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7562         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7563         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7564         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7565         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7566         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7567         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7568         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7569         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7570         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7571         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7572         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7573         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7575         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7577         * stdio-common/_itoa.h: Moved to ...
7578         * sysdeps/generic/_itoa.h: Here.
7580         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7582         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7583         instead of "_itoa.h" and "_itowa.h".
7584         * stdio-common/vfprintf.: Likewise.
7586 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7588         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7589         <bits/wordsize.h>.
7590         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7591         (__signbit): Likwise.
7592         (llrintf): Likwise.
7593         (llrint): Likwise.
7595 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7597         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7598         __WORDSIZE != 64.
7600 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
7602         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7603         OVERFLOW_EXCEPTION_OK.
7604         * math/libm-test.inc ("Philosophy"): Update comment about
7605         exception testing.
7606         (OVERFLOW_EXCEPTION): Define.
7607         (OVERFLOW_EXCEPTION_OK): Likewise.
7608         (INVALID_EXCEPTION_OK): Renumber.
7609         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7610         (IGNORE_ZERO_INF_SIGN): Likewise.
7611         (test_exceptions): Handle FE_OVERFLOW.
7612         (exp10_test): Expect overflow exceptions.
7613         (exp2_test): Likewise.
7614         (expm1_test): Likewise.
7615         (nextafter_test): Likewise.
7616         (pow_test): Likewise.
7617         (scalbn_test): Likewise.
7618         (scalbln_test): Likewise.
7620 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7622         * sysdeps/x86_64/bits/atomic.h
7623         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7624         64bit integer.
7625         (atomic_exchange_acq): Likewise.
7626         (__arch_exchange_and_add_body): Likewise.
7627         (__arch_add_body): Likewise.
7628         (atomic_add_negative): Likewise.
7629         (atomic_add_zero): Likewise.
7631 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7633         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7634         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7636 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7638         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7639         Check __x86_64__ instead of __WORDSIZE.
7641 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7643         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7645 2012-03-19  David S. Miller  <davem@davemloft.net>
7647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7649         * sysdeps/sparc/fpu/fenv_private.h: New file.
7650         * sysdeps/sparc/fpu/math_private.h: Use it.
7651         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7652         Remove.
7653         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7654         (libc_feholdexcept_setroundl): Remove.
7655         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7656         Remove.
7657         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7658         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7660 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7662         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7663         int64_t instead of long int.
7664         (INSERT_WORDS64): Likwise.
7666 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7668         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7669         _Unwind_GetCFA return to _Unwind_Ptr first.
7671 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
7673         [BZ #13629]
7674         * math/s_clog.c: Include <float.h>.
7675         (__clog): Scale large or subnormal inputs.
7676         * math/s_clogf.c: Likewise.
7677         * math/s_clogl.c: Likewise.
7678         * math/s_clog10.c: Include <float.h>.
7679         (M_LOG10_2): Define.
7680         (__clog10): Scale large or subnormal inputs.
7681         * math/s_clog10f.c: Likewise.
7682         * math/s_clog10l.c: Likewise.
7683         * math/libm-test.inc (clog_test): Add more tests.
7684         (clog10_test): Likewise.
7685         * sysdeps/i386/fpu/libm-test-ulps: Update.
7686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7688         [BZ #11451]
7689         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7690         x and y.
7691         * math/libm-test.inc (atan2_test): Add another test.
7693         * Makerules (common-objdir-compile): Remove.
7694         * sysdeps/unix/Makefile (config-generated): Do not add
7695         $(unix-generated) to variable.
7696         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7697         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7698         Remove rule.
7699         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7700         Likewise.
7701         [generic bits/local_lim.h] (before-compile): Do not append to
7702         variable.
7703         [generic bits/local_lim.h] (common-generated): Likewise.
7704         [generic sys/param.h] (before-compile): Do not append to variable.
7705         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7706         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7707         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7708         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7709         include.
7710         [generic sys/param.h] (sys/param.h-includes): Remove variable.
7711         [generic sys/param.h] (sys/param.h-includes): Remove rule.
7712         [generic sys/param.h] ($(addprefix
7713         $(common-objpfx),$(sys/param.h-includes))): Likewise.
7714         [generic sys/param.h] (common-generated): Do not append to
7715         variable.
7716         [generic sys/param.h] (sysdep_headers): Likewise.
7717         [generic bits/errno.h] (before-compile): Do not append to
7718         variable.
7719         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7720         rule.
7721         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7722         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7723         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7724         [generic bits/errno.h] (common-generated): Do not append to
7725         variable.
7726         [generic bits/ioctls.h] (before-compile): Do not append to
7727         variable.
7728         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7729         rule.
7730         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7731         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7732         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7733         rule.
7734         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7735         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7736         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7737         [generic bits/ioctls.h] (common-generated): Do not append to
7738         variable.
7739         [generic sys/syscall.h] (syscall.h): Remove variable.
7740         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7741         rule.
7742         [generic sys/syscall.h] (before-compile): Do not append to
7743         variable.
7744         [generic sys/syscall.h] (common-generated): Likewise.
7745         * sysdeps/unix/errnos-tmpl.c: Remove file.
7746         * sysdeps/unix/errnos.awk: Likewise.
7747         * sysdeps/unix/ioctls-tmpl.c: Likewise.
7748         * sysdeps/unix/ioctls.awk: Likewise.
7749         * sysdeps/unix/mk-local_lim.c: Likewise.
7750         * sysdeps/unix/snarf-ioctls: Likewise.
7752 2012-03-19  Richard Henderson  <rth@twiddle.net>
7754         * sysdeps/i386/fpu/fenv_private.h: New file.
7755         * sysdeps/i386/fpu/math_private.h: Use it.
7756         (math_opt_barrier, math_force_eval): Remove.
7757         (libc_feholdexcept_setround_53bit): Remove.
7758         (libc_feupdateenv_53bit): Remove.
7759         * sysdeps/x86_64/fpu/math_private.h: Likewise.
7760         (math_opt_barrier, math_force_eval): Remove.
7761         (libc_feholdexcept): Remove.
7762         (libc_feholdexcept_setround): Remove.
7763         (libc_fetestexcept, libc_fesetenv): Remove.
7764         (libc_feupdateenv_test): Remove.
7765         (libc_feupdateenv, libc_feholdsetround): Remove.
7766         (libc_feresetround): Remove.
7768         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7769         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7771         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7772         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7773         (libc_feupdateenv_testl): New.
7774         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7775         (libc_feupdateenv_testf): New.
7776         (libc_feupdateenv): Use libc_feupdateenv_test.
7777         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7778         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7780         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7781         (libc_feholdsetroundf, libc_feholdsetroundl): New.
7782         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7783         (libc_feresetround_noex): New.
7784         (libc_feresetround_noexf): New.
7785         (libc_feresetround_noexl): New.
7786         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7787         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7788         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7789         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7790         SET_RESTORE_ROUND.
7791         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7792         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7793         (__cos): Likewise.
7794         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7795         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7796         SET_RESTORE_ROUND_NOEX.
7797         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7798         SET_RESTORE_ROUND_NOEXF.
7799         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7800         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7801         (libc_feholdsetroundf): New.
7802         (libc_feresetround, libc_feresetroundf): New.
7804         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7805         (libc_feholdexcept_setround_53bit): Convert from macro to function.
7806         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
7808         * sysdeps/generic/math_private.h: Include <fenv.h>.
7809         (default_libc_feholdexcept): New.
7810         (default_libc_feholdexcept_setround): New.
7811         (default_libc_fesetenv, default_libc_feupdateenv): New.
7812         (libc_feholdexcept): Only define if undefined.
7813         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7814         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7815         (libc_feholdexcept_setroundl): Likewise.
7816         (libc_feholdexcept_setround_53bit): Likewise.
7817         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7818         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7819         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7820         (libc_feupdateenv_53bit): Likewise.
7821         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7822         (libc_feholdexcept): Convert from macro to inline function.
7823         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7824         (libc_fesetenv, libc_feupdateenv): Likewise.
7826         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7827         not previously defined.
7828         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7829         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7830         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7831         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7832         * sysdeps/ieee754/flt-32/math_private.h: New file.
7833         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7834         math_private.h below SET_FLOAT_WORD.
7835         (__isnan, __isinf_ns, __finite): Remove.
7836         (__isnanf, __isinf_nsf, __finitef): Remove.
7838 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
7840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7842 2012-03-17  David S. Miller  <davem@davemloft.net>
7844         [BZ #6471]
7845         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7846         for 2.16.
7848 2012-03-16  David S. Miller  <davem@davemloft.net>
7850         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7851         warnings.
7853         [BZ #6471]
7854         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7855         properly.
7856         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7857         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7858         sysdep_routines when subdir is sysvipc.
7859         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7860         __getshmlba helper.
7862         * sysdeps/sparc/fpu/libm-test/ulps: Update.
7864 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7866         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7867         [__LP64__].
7869 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7871         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7872         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7873         (__lround): Renamed to ...
7874         (__llround): This.  Replace long int with long long int.
7875         Define lround functions as aliases of llround functions.
7876         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7878 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7880         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7881         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
7882         adresses to uintptr_t.  Replace "long int" and "unsigned long
7883         int" with "greg_t" on va_arg.
7885 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7887         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7888         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7890         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7891         Move e_machine check before EI_CLASS check.  Handle x32
7892         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7893         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7894         SKIP_EM_IA_64 and include
7895         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7897         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7898         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7899         (add_system_dir): New macro.
7901         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7902         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7904 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
7906         [BZ #2551]
7907         [BZ #2552]
7908         [BZ #2553]
7909         [BZ #2554]
7910         [BZ #2562]
7911         [BZ #2563]
7912         [BZ #2565]
7913         [BZ #2566]
7914         [BZ #2576]
7915         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7916         (y0): Likewise.
7917         * math/w_j0f.c (j0f): Likewise.
7918         (y0f): Likewise.
7919         * math/w_j0l.c (__j0l): Likewise.
7920         (__y0l): Likewise.
7921         * math/w_j1.c (j1): Likewise.
7922         (y1): Likewise.
7923         * math/w_j1f.c (j1f): Likewise.
7924         (y1f): Likewise.
7925         * math/w_j1l.c (__j1l): Likewise.
7926         (__y1l): Likewise.
7927         * math/w_jn.c (jn): Likewise.
7928         (yn): Likewise.
7929         * math/w_jnf.c (jnf): Likewise.
7930         (ynf): Likewise.
7931         * math/w_jnl.c (__jnl): Likewise.
7932         (__ynl): Likewise.
7933         * math/libm-test.inc (j0_test): Add more tests.
7934         (j1_test): Likewise.
7935         (jn_test): Likewise.  Add trailing semicolon to existing test.
7936         (y0_test): Likewise.
7937         (y1_test): Likewise.
7938         * sysdeps/i386/fpu/libm-test-ulps: Update.
7939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7941         [BZ #13851]
7942         [BZ #13854]
7943         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7944         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7945         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7946         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7947         (__tanl): Set errno for infinite argument.
7948         * sysdeps/i386/fpu/mptan.c: Remove.
7949         * sysdeps/i386/fpu/s_tan.S: Likewise.
7950         * sysdeps/i386/fpu/s_tanl.S: Likewise.
7951         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7952         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7953         * math/libm-test.inc (tan_test): Add more tests and enable more
7954         tests for double and long double.
7955         * sysdeps/i386/fpu/libm-test-ulps: Update.
7956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7958 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7960         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7961         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7963 2012-03-16  Roland McGrath  <roland@hack.frob.com>
7965         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7966         * configure.in: Use it for both main tree and add-ons.
7967         * configure: Regenerated.
7969 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7971         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7973 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
7975         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7976         in comment.
7978         [BZ #13851]
7979         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7980         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7981         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7982         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7983         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7984         infinite argument.
7985         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7986         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7987         != 0 for prec == 2.
7988         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7989         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7990         * sysdeps/i386/fpu/s_cosl.S: Likewise.
7991         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7992         * sysdeps/i386/fpu/s_sinl.S: Likewise.
7993         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7994         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7995         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7996         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7997         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7998         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7999         * math/libm-test.inc (cos_test): Add more tests and enable more
8000         tests for long double.
8001         (sin_test): Likewise.
8002         (sincos_test): Likewise.
8003         * sysdeps/i386/fpu/libm-test-ulps: Update.
8004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8006 2012-03-16  David S. Miller  <davem@davemloft.net>
8008         * sysdeps/sparc/fpu/math_private.h: New file.
8010 2012-03-15  David S. Miller  <davem@davemloft.net>
8012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8013         file.
8014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8016         file.
8017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8019         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8022         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8023         sysdep routines.
8024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8026         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8027         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8029         * sysdeps/sparc/sparc-ifunc.h: New file.
8030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8031         sparc-ifunc.h
8032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8034         Likewise.
8035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8036         Likewise.
8037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8041         Likewise.
8042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8047         Likewise.
8048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8049         Likewise.
8050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8054         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8055         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8056         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8057         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8059         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8065         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8067         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8068         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8069         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8070         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8071         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8072         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8073         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8075 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
8077         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8078         scaling.
8079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8081 2012-03-15  Andreas Jaeger  <aj@suse.de>
8083         [BZ #13852]
8084         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8085         ieee754/flt-32 implementation for sin, cos and sincos.
8086         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8087         * sysdeps/i386/fpu/s_cosf.S: Likewise.
8088         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8089         * sysdeps/i386/fpu/s_sinf.S: Likewise.
8090         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8091         ieee754/flt-32 implementation for tan.
8093         * math/libm-test.inc (cos_test): Enable some large input tests for
8094         float as well
8095         (sin_test): Likewise.
8096         (sincos_test): Likewise.
8097         (tan_test): Add tests for large input.
8099         * sysdeps/i386/fpu/libm-test-ulps: Update.
8101 2012-03-15  Andreas Jaeger  <aj@suse.de>
8103         [BZ #13658]
8104         * math/libm-test.inc (cos_test): Add more test cases.
8105         (sin_test): Likewise.
8106         (sincos_test): Likewise.
8108 2012-03-15  Andreas Jaeger  <aj@suse.de>
8110         [BZ #13837]
8111         * math/libm-test.inc (cos_test): Add a test case for large input
8112         value.
8113         (sin_test): Likewise.
8114         (sincos_test): Likewise.
8116 2012-03-15  Andreas Jaeger  <aj@suse.de>,
8117         Joseph Myers  <joseph@codesourcery.com>
8119         [BZ #13658]
8120         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8121         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8122         * sysdeps/i386/fpu/branred.c: Likewise.
8123         * sysdeps/i386/fpu/dosincos.c: Likewise.
8124         * sysdeps/i386/fpu/mpa.c: Likewise.
8125         * sysdeps/i386/fpu/s_cos.S: Likewise.
8126         * sysdeps/i386/fpu/s_sin.S: Likewise.
8127         * sysdeps/i386/fpu/s_sincos.S: Likewise.
8128         * sysdeps/i386/fpu/sincos32.c: Likewise.
8130         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8131         Define.
8132         (libc_feupdateenv_53bit): Define.
8133         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8134         Define.
8135         (libc_feupdateenv_53bit): Define.
8137         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8138         53 bit (without extend i386 double precision).
8140         * math/libm-test.inc (sincos_test): Add tests for large input.
8141         (sin): Likewise.
8142         (cos): Likewise.
8144         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8146 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
8148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8150 2012-03-15  David S. Miller  <davem@davemloft.net>
8152         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8153         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8154         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8155         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8166         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8168         file.
8169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8171         file.
8172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8174         file.
8175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8177         file.
8178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8179         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8180         fmin/fmax sysdep routines.
8181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8183 2012-03-14  David S. Miller  <davem@davemloft.net>
8185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8189         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8190         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8191         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8192         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8202         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8203         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8204         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8205         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8206         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8207         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8208         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8209         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8210         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8211         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8212         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8213         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8214         routines.
8215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8216         file.
8217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8219         file.
8220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8222         file.
8223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8225         file.
8226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8228         file.
8229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8231         file.
8232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8233         file.
8234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8235         file.
8236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8237         file.
8238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8239         New file.
8240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8241         file.
8242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8243         file.
8244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8246         file.
8247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8249         file.
8250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8252         file.
8253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8255         VIS3 routines.
8257         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8258         New file.
8260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8262         * sysdeps/sparc/configure.in: New file.
8263         * sysdeps/sparc/configure: Generate.
8264         * configure.in (libc_cv_sparc_as_vis3): Substitute.
8265         * configure: Regenerate.
8266         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8267         * config.make.in (have-as-vis3): New.
8268         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8269         available use -Av9d instead of -Av9a.
8270         * sysdeps/sparc/sparc64/Makefile: Likewise.
8271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8273         New file.
8274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8275         file.
8276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8277         New file.
8278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8279         file.
8280         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8281         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8282         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8283         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8284         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8286         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8287         fzeros/fnegs to load 0x80000000 into a float register instead of
8288         using the stack.
8289         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8291 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
8293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8294         bits/syscall.h.
8295         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8296         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8297         ($(inst_includedir)/bits/syscall.h): Remove rule.
8298         ($(objpfx)bits/syscall.d): Include instead of
8299         $(objpfx)syscall-list.d.
8300         (generated): Change syscall-list.h and syscall-list.d to
8301         bits/syscall.h and bits/syscall.d.
8303 2012-03-14  Roland McGrath  <roland@hack.frob.com>
8305         [BZ #13846]
8306         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8308 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
8310         [BZ #13841]
8311         * math/s_csqrt.c: Include <float.h>.
8312         (__csqrt): Scale large or subnormal inputs.
8313         * math/s_csqrtf.c: Likewise.
8314         * math/s_csqrtl.c: Likewise.
8315         * math/libm-test.inc (csqrt_test): Add more tests.
8316         * sysdeps/i386/fpu/libm-test-ulps: Update.
8317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8319         [BZ #13840]
8320         * math/libm-test.inc (hypot_test): Add more tests.
8322 2012-03-13  David S. Miller  <davem@davemloft.net>
8324         [BZ #13840]
8325         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8326         double-precision for the calculation instead of scaling.
8328 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
8330         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8331         manipulate bits before adding and subtracting TWO52[sx].
8332         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8333         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8334         Likewise.
8335         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8337 2012-03-13  David S. Miller  <davem@davemloft.net>
8339         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8340         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8341         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8342         rtld-global-offsets.h
8343         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8345         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8346         large parameters.
8348         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8350         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8351         'err' in the ifdef scope in which it is actually used.
8353         * nss/nss_db/db-init.c: Include string.h
8355 2012-03-12  David S. Miller  <davem@davemloft.net>
8357         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8358         masking out of the most significant byte of random value used.
8359         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8360         Fix coding style in previous change.
8362         * sysdeps/unix/sysv/linux/kernel-features.h
8363         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8364         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8365         expression.
8366         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8367         later.
8369 2012-03-11  David S. Miller  <davem@davemloft.net>
8371         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8372         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8373         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8374         for 'resultvar' otherwise things get truncated on 64-bit.
8376         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8377         Fix masking out of the most significant byte of random value used.
8379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8381 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
8383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8385 2012-03-09  David S. Miller  <davem@davemloft.net>
8387         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8388         variables with appropriate CPP guards.
8389         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8390         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
8391         on resulting framesize and the management of the outregs buffer for pltexit.
8392         Preserve floating point return values across _dl_call_pltexit call.
8393         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8394         framesize and the management of the outregs buffer for pltexit.
8395         Preserve floating point return values across _dl_call_pltexit
8396         call.
8397         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8398         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8399         (print_exit): Fix format string for return register value.
8401 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
8403         * sunrpc/Makefile (others): Add rpcgen.
8404         ($(objpfx)rpcgen): Remove special build rule and dependency on
8405         libc.
8406         * sunrpc/rpcgen.c: New file.
8408 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
8410         [BZ #13673]
8411         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8412         * stdio-common/bug-vfprintf-nargs.c: Likewise.
8413         * sysdeps/i386/crti.S: Likewise.
8414         * sysdeps/i386/crtn.S: Likewise.
8415         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8416         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8417         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8418         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8419         * sysdeps/sh/crti.S: Likewise.
8420         * sysdeps/sh/crtn.S: Likewise.
8421         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8423         [BZ #13673]
8424         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8425         with URL.
8426         * locale/programs/locfile-kw.gperf: Likewise.
8427         * locale/programs/charmap-kw.h: Regenerated.
8428         * locale/programs/locfile-kw.h: Likewise.
8430         [BZ #13673]
8431         * intl/plural.y: Replace FSF snail mail address with URL.
8432         * intl/plural.c: Regenerated.
8434 2012-03-09  Richard Henderson  <rth@twiddle.net>
8436         * include/math_private.h: Remove file.
8437         * math/math_private.h: Move file ...
8438         * sysdeps/generic/math_private.h: ... here.
8440         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8441         * sysdeps/powerpc/fpu/math_private.h: Likewise.
8442         * sysdeps/x86_64/fpu/math_private.h: Likewise.
8444         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8445         and <math_private.h>.
8446         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8447         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8448         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8449         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8450         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8451         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8452         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8453         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8454         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8455         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8456         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8457         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8458         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8459         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8460         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8461         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8462         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8463         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8464         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8465         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8466         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8467         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8468         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8469         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8470         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8471         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8472         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8473         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8474         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8475         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8476         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8477         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8478         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8479         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8480         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8481         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8482         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8483         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8484         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8485         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8486         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8487         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8488         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8489         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8490         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8491         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8492         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8493         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8494         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8495         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8496         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8497         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8498         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8499         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8500         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8501         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8502         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8503         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8504         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8505         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8506         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8507         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8508         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8509         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8510         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8511         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8512         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8513         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8514         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8515         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8516         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8517         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8518         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8519         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8520         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8521         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8522         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8523         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8524         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8525         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8526         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8527         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8528         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8529         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8530         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8531         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8532         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8533         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8534         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8535         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8536         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8537         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8538         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8539         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8540         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8541         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8542         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8543         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8544         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8545         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8546         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8547         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8548         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8549         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8550         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8551         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8552         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8553         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8554         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8555         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8556         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8557         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8558         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8559         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8560         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8561         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8562         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8563         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8564         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8565         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8566         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8567         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8568         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8569         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8570         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8571         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8572         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8573         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8574         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8575         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8576         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8577         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8578         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8579         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8580         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8581         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8582         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8583         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8584         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8585         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8586         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8587         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8588         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8589         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8590         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8591         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8592         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8593         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8594         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8595         * sysdeps/ieee754/k_standard.c: Likewise.
8596         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8597         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8598         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8599         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8600         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8601         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8602         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8603         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8604         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8605         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8606         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8608         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8609         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8610         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8611         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8612         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8613         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8614         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8615         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8616         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8617         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8618         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8619         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8620         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8621         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8622         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8623         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8624         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8625         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8626         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8627         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8628         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8629         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8630         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8631         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8632         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8633         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8634         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8635         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8636         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8637         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8638         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8639         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8640         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8641         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8642         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8643         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8644         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8645         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8646         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8647         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8648         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8649         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8650         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8651         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8652         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8653         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8654         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8655         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8656         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8657         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8658         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8659         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8660         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8661         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8662         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8663         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8664         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8665         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8666         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8667         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8668         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8669         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8670         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8671         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8672         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8673         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8674         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8675         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8676         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8677         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8678         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8679         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8680         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8681         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8682         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8683         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8684         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8685         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8686         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8687         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8688         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8689         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8690         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8691         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8692         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8693         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8694         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8695         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8696         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8697         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8698         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8699         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8700         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8701         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8702         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8703         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8704         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8705         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8706         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8707         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8708         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8709         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8710         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8711         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8712         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8713         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8714         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8715         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8716         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8717         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8718         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8719         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8720         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8721         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8722         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8723         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8724         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8725         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8726         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8727         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8728         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8729         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8730         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8731         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8732         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8733         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8734         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8735         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8736         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8737         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8738         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8739         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8740         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8741         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8742         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8743         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8744         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8745         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8746         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8747         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8748         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8749         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8750         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8751         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8752         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8753         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8754         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8755         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8756         * sysdeps/ieee754/s_lib_version.c: Likewise.
8757         * sysdeps/ieee754/s_matherr.c: Likewise.
8758         * sysdeps/ieee754/s_signgam.c: Likewise.
8759         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8760         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8761         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8762         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8763         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8764         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8765         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8766         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8767         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8768         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8769         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8770         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8771         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8772         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8773         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8774         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8775         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8776         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8777         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8778         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8779         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8781 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
8783         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8784         * sunrpc/rpc_main.c: Likewise.
8785         * sunrpc/rpc_svcout.c: Likewise.
8787 2012-03-09  David S. Miller  <davem@davemloft.net>
8789         * include/math_private.h: New file.
8791 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
8793         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8794         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8795         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8796         from <bits/socket_type.h>.
8797         (enum __socket_type): Don't define here.
8798         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8799         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8800         bits/socket_type.h.
8802         [BZ #13566]
8803         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8804         checking __USE_GNU.
8806         * Makerules ($(inst_includedir)/%.h): New rule.
8807         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8808         (install-others): Remove variable setting.
8809         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8811 2012-03-08  Richard Henderson  <rth@twiddle.net>
8813         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8814         from macro to inline function; merge with the
8815         !__LIBC_INTERNAL_MATH_INLINES version.
8816         (__ieee754_sqrtf): Likewise.
8818         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8819         to inline function.
8820         (__rintf, __floor, __floorf): Likewise.
8822         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8823         macro to inline function.
8824         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8826         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8827         not <math/math_private.h>.
8829 2012-03-08  David S. Miller  <davem@davemloft.net>
8831         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8832         copyright year.
8833         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8835 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
8837         * resolv/gai_misc.c (handle_requests): Fix struct timespec
8838         normalization.
8839         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8840         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8842 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
8844         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
8845         be defined individually, they must be defined as a block.  Define
8846         S for printing a string instead of hidint the different by using a
8847         macro for adding the 'l'.
8848         * stdio-common/tst-fphex-wide.c: Adjust.
8850 2012-03-07  Marek Polacek  <polacek@redhat.com>
8852         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8854 2012-03-08  Marek Polacek  <polacek@redhat.com>
8856         [BZ #13806]
8857         * stdio-common/Makefile (tests): Add tst-fphex-wide.
8858         * stdio-common/tst-fphex.c: Define a few macros to make the
8859         test reusable.  Use them.
8860         * stdio-common/tst-fphex-wide.c: New file.
8862 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
8864         [BZ #6911]
8865         * manual/macros.texi (gnusystems): New macro.
8866         (nongnusystems): Likewise.
8867         (gnulinuxhurdsystems): Likewise.
8868         (gnuhurdsystems): Likewise..
8869         (gnulinuxsystems): Likewise.
8870         * manual/charset.texi: Use new macros or @theglibc{} to refer to
8871         variants of the GNU system, not "GNU system".
8872         * manual/conf.texi: Likewise.
8873         * manual/errno.texi: Likewise.  Update example of errno macro
8874         expansion.
8875         * manual/filesys.texi: Likewise.
8876         (getumask): Document as specific to GNU/Hurd.
8877         * manual/install.texi: Likewise.  Reword some references to
8878         GNU/Linux.
8879         * manual/intro.texi: Likewise.
8880         * manual/io.texi: Likewise.
8881         (File Name Portability): Detail which constraints are inapplicable
8882         to all GNU systems and which are only inapplicable to GNU/Hurd.
8883         * manual/job.texi: Likewise.
8884         * manual/llio.texi: Likewise.
8885         (O_NOCTTY): Document as present on GNU/Linux.
8886         * manual/maint.texi: Likewise.
8887         * manual/memory.texi: Likewise.
8888         * manual/pattern.texi: Likewise.
8889         * manual/pipe.texi: Likewise.
8890         * manual/process.texi: Likewise.
8891         * manual/resource.texi: Likewise.
8892         (RUSAGE_CHILDREN): Remove statement about specifying a particular
8893         child on GNU/Hurd.
8894         * manual/setjmp.texi: Likewise.
8895         * manual/signal.texi: Likewise.
8896         * manual/startup.texi: Likewise.
8897         * manual/stdio.texi: Likewise.
8898         * manual/terminal.texi: Likewise.
8899         (ONLCR): Document as POSIX.
8900         (OXTABS): Document availability on GNU/Linux as XTABS.
8901         (ONOEOT): Document availability separately from other bits.
8902         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8903         * manual/time.texi: Likewise.
8904         * manual/users.texi: Likewise.
8905         * INSTALL: Regenerated.
8906         * sysdeps/gnu/errlist.c: Regenerated.
8908         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8909         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8910         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
8911         puts.
8912         * configure: Regenerated.
8914 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
8916         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8917         default includes instead of AC_HEADER_CHECK.
8918         * sysdeps/i386/configure: Regenerated.
8920         [BZ #10716]
8921         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8922         * math/s_cacoshf.c (__cacoshf): Likewise.
8923         * math/s_cacoshl.c (__cacoshl): Likewise.
8924         * math/s_casinh.c (__casinh): Set signs of result from argument.
8925         * math/s_casinhf.c (__casinhf): Likewise.
8926         * math/s_casinhl.c (__casinhl): Likewise.
8927         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8928         (casinh_test): Add more tests.
8929         * sysdeps/i386/fpu/libm-test-ulps: Update.
8930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8932 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
8934         * po/zh_TW.po: Update from translation team.
8936         * login/Makefile (distribute): Remove variable.
8937         * catgets/Makefile: Likewise.
8938         * mach/Makefile: Likewise.
8939         * malloc/Makefile: Likewise.
8940         * misc/Makefile: Likewise.
8941         * iconv/Makefile: Likewise.
8942         * nscd/Makefile: Likewise.
8943         * hurd/Makefile: Likewise.
8944         * manual/Makefile: Likewise.
8945         * locale/Makefile: Likewise.
8946         * intl/Makefile: Likewise.
8947         * conform/Makefile: Likewise.
8948         * nss/Makefile: Likewise.
8949         * time/Makefile: Likewise.
8950         * soft-fp/Makefile: Likewise.
8951         * dirent/Makefile: Likewise.
8952         * gmon/Makefile: Likewise.
8953         * po/Makefile: Likewise.
8954         * rt/Makefile: Likewise.
8955         * socket/Makefile: Likewise.
8956         * math/Makefile: Likewise.
8957         * signal/Makefile: Likewise.
8958         * debug/Makefile: Likewise.
8959         * elf/Makefile: Likewise.
8960         * timezone/Makefile: Likewise.
8961         * stdlib/Makefile: Likewise.
8962         * iconvdata/Makefile: Likewise.
8963         * sunrpc/Makefile: Likewise.
8964         * io/Makefile: Likewise.
8965         * argp/Makefile: Likewise.
8966         * inet/Makefile: Likewise.
8967         * hesiod/Makefile: Likewise.
8968         * grp/Makefile: Likewise.
8969         * csu/Makefile: Likewise.
8970         * wctype/Makefile: Likewise.
8971         * crypt/Makefile: Likewise.
8972         * libio/Makefile: Likewise.
8973         * string/Makefile: Likewise.
8974         * nis/Makefile: Likewise.
8975         * resolv/Makefile: Likewise.
8976         * stdio-common/Makefile: Likewise.
8977         * wcsmbs/Makefile: Likewise.
8978         * dlfcn/Makefile: Likewise.
8979         * posix/Makefile: Likewise.
8981         [BZ #6959]
8982         * timezone/Makefile: Don't install timezone files, just the programs
8983         and scripts.
8985 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
8987         * nss/databases.def: Add missing gshadow entry.
8989         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
8991 2012-03-06  Marek Polacek  <polacek@redhat.com>
8993         [BZ #13726]
8994         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8995         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8996         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8997         * stdio-common/tst-long-dbl-fphex.c: New file.
8999 2012-03-06  David S. Miller  <davem@davemloft.net>
9001         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9002         (set_obp_int): New function.
9003         (get_obp_int): New function.
9004         (__get_clockfreq_via_dev_openprom): Likewise.
9005         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9006         Avoid unused variable warnings on 'val' and use builtin_expect.
9007         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9008         __builtin_expect.
9009         (INLINE_CLONE_SYSCALL): Likewise.
9011 2012-03-05  David S. Miller  <davem@davemloft.net>
9013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9015 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
9017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9019         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9020         only for |x| >= 40.
9021         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9023 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
9025         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9026         Replace gettimeofday with __vdso_gettimeofday.
9028         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9029         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9030         __vdso_clock_gettime and __vdso_getcpu.
9032         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9033         time with __vdso_time.
9035 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
9037         * manual/lang.texi (size_t): Note types to which size_t may be
9038         equivalent with the GNU C Library, but do not describe when
9039         differences between them are significant.
9041 2012-03-05  Andreas Jaeger  <aj@suse.de>
9043         * sysdeps/i386/fpu/libm-test-ulps: Update.
9045 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
9047         [BZ #3976]
9048         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9049         (__ieee754_pow): Save and restore rounding mode and use
9050         round-to-nearest for main computations.
9051         * math/libm-test.inc (pow_test_tonearest): New function.
9052         (pow_test_towardzero): Likewise.
9053         (pow_test_downward): Likewise.
9054         (pow_test_upward): Likewise.
9055         (main): Call the new functions.
9056         * sysdeps/i386/fpu/libm-test-ulps: Update.
9057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9059         [BZ #3976]
9060         * math/libm-test.inc (cosh_test_tonearest): New function.
9061         (cosh_test_towardzero): Likewise.
9062         (cosh_test_downward): Likewise.
9063         (cosh_test_upward): Likewise.
9064         (sinh_test_tonearest): Likewise.
9065         (sinh_test_towardzero): Likewise.
9066         (sinh_test_downward): Likewise.
9067         (sinh_test_upward): Likewise.
9068         (main): Call the new functions.
9069         * sysdeps/i386/fpu/libm-test-ulps: Update.
9070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9072 2012-03-05  Tom de Vries  <tom@codesourcery.com>
9074         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9075         default stack guard is set in last bytes.
9076         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9078 2012-03-05  Kees Cook  <keescook@chromium.org>
9080         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9082         [BZ #13656]
9083         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9084         possibly allocate from heap instead of stack.
9085         * stdio-common/bug-vfprintf-nargs.c: New file.
9086         * stdio-common/Makefile (tests): Add nargs overflow test.
9088 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
9090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9092 2012-03-03  Marek Polacek  <polacek@redhat.com>
9094         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9095         * math/math_private.h: Likewise.
9096         * stdlib/tst-strtod.c: Likewise.
9097         * sysdeps/i386/i486/bits/atomic.h: Likewise.
9098         * sysdeps/x86_64/bits/atomic.h: Likewise.
9100 2012-03-02  David S. Miller  <davem@davemloft.net>
9102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9106         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9107         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9108         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9109         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9111 2012-03-02  Roland McGrath  <roland@hack.frob.com>
9113         [BZ #13792]
9114         * manual/examples/README: New file, says the example source files
9115         can be used under GPL>=2.
9116         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9117         line containing just "*/".
9118         * manual/examples/add.c: Add copyright header (GPL>=2).
9119         * manual/examples/argp-ex1.c: Likewise.
9120         * manual/examples/argp-ex2.c: Likewise.
9121         * manual/examples/argp-ex3.c: Likewise.
9122         * manual/examples/argp-ex4.c: Likewise.
9123         * manual/examples/atexit.c: Likewise.
9124         * manual/examples/db.c: Likewise.
9125         * manual/examples/dir.c: Likewise.
9126         * manual/examples/dir2.c: Likewise.
9127         * manual/examples/execinfo.c: Likewise.
9128         * manual/examples/filecli.c: Likewise.
9129         * manual/examples/filesrv.c: Likewise.
9130         * manual/examples/fmtmsgexpl.c: Likewise.
9131         * manual/examples/genpass.c: Likewise.
9132         * manual/examples/inetcli.c: Likewise.
9133         * manual/examples/inetsrv.c: Likewise.
9134         * manual/examples/isockad.c: Likewise.
9135         * manual/examples/longopt.c: Likewise.
9136         * manual/examples/memopen.c: Likewise.
9137         * manual/examples/memstrm.c: Likewise.
9138         * manual/examples/mkfsock.c: Likewise.
9139         * manual/examples/mkisock.c: Likewise.
9140         * manual/examples/mygetpass.c: Likewise.
9141         * manual/examples/pipe.c: Likewise.
9142         * manual/examples/popen.c: Likewise.
9143         * manual/examples/rprintf.c: Likewise.
9144         * manual/examples/search.c: Likewise.
9145         * manual/examples/select.c: Likewise.
9146         * manual/examples/setjmp.c: Likewise.
9147         * manual/examples/sigh1.c: Likewise.
9148         * manual/examples/sigusr.c: Likewise.
9149         * manual/examples/stpcpy.c: Likewise.
9150         * manual/examples/strdupa.c: Likewise.
9151         * manual/examples/strftim.c: Likewise.
9152         * manual/examples/strncat.c: Likewise.
9153         * manual/examples/subopt.c: Likewise.
9154         * manual/examples/swapcontext.c: Likewise.
9155         * manual/examples/termios.c: Likewise.
9156         * manual/examples/testopt.c: Likewise.
9157         * manual/examples/testpass.c: Likewise.
9158         * manual/examples/timeval_subtract.c: Likewise.
9160         [BZ #13792]
9161         * manual/time.texi (Elapsed Time): Move timeval_subtract example
9162         function to ...
9163         * manual/timeval_subtract.c.texi: ... here, new file.
9165 2012-03-02  David S. Miller  <davem@davemloft.net>
9167         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9169 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
9171         [BZ #3976]
9172         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9173         (__sin): Save and restore rounding mode and use round-to-nearest
9174         for all computations.
9175         (__cos): Save and restore rounding mode and use round-to-nearest
9176         for all computations.
9177         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9178         <fenv.h>.
9179         (tan): Save and restore rounding mode and use round-to-nearest for
9180         all computations.
9181         * math/libm-test.inc (cos_test_tonearest): New function.
9182         (cos_test_towardzero): Likewise.
9183         (cos_test_downward): Likewise.
9184         (cos_test_upward): Likewise.
9185         (sin_test_tonearest): Likewise.
9186         (sin_test_towardzero): Likewise.
9187         (sin_test_downward): Likewise.
9188         (sin_test_upward): Likewise.
9189         (tan_test_tonearest): Likewise.
9190         (tan_test_towardzero): Likewise.
9191         (tan_test_downward): Likewise.
9192         (tan_test_upward): Likewise.
9193         (main): Call the new functions.
9194         * sysdeps/i386/fpu/libm-test-ulps: Update.
9195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9197         [BZ #10135]
9198         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9199         small n, then large n, before computing and testing k+n.
9200         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9201         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9202         Likewise.
9203         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9204         Likewise.
9205         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9206         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9207         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9208         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9209         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9210         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9211         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9212         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9213         * math/libm-test.inc (scalbn_test): Add more tests.
9214         (scalbln_test): Likewise.
9216         * manual/filesys.texi (mode_t): Describe constraints on size and
9217         signedness, not exact equivalence to a particular type.
9218         (ino_t): Likewise.
9219         (ino64_t): Likewise.
9220         (dev_t): Likewise.
9221         (nlink_t): Likewise.
9222         (blkcnt_t): Likewise.
9223         (blkcnt64_t): Likewise.
9224         * manual/llio.texi (off_t): Likewise.
9226         [BZ #3976]
9227         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9228         (__ieee754_exp): Save and restore rounding mode and use
9229         round-to-nearest for all computations.
9230         * math/libm-test.inc (exp_test_tonearest): New function.
9231         (exp_test_towardzero): Likewise.
9232         (exp_test_downward): Likewise.
9233         (exp_test_upward): Likewise.
9234         (main): Call the new functions.
9235         * sysdeps/i386/fpu/libm-test-ulps: Update.
9236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9238 2012-03-01  Chris Demetriou  <cgd@google.com>
9240         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9241         have predictable order.
9243 2012-03-01  David S. Miller  <davem@davemloft.net>
9245         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9247         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9248         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9249         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9250         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9252         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9253         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9254         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9256         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9257         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9258         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9259         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9260         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9264         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9265         * sysdeps/sparc/fpu/libm-test-ulps: to here.
9266         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9268         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9269         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9270         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9271         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9272         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9273         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9274         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9275         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9276         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9277         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9278         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9279         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9280         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9281         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9282         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9283         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9284         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9285         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9286         * sysdeps/sparc/elf/configure: Regenerated.
9288 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
9290         * configure.in (AS, LD): Require binutils 2.20 or later.
9291         * configure: Regenerated.
9292         * manual/install.texi (Tools for Compilation): Give binutils 2.20
9293         as required minimum version.
9294         * INSTALL: Regenerated.
9296         [BZ #2541]
9297         [BZ #4108]
9298         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9299         before squaring exponent.
9300         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9301         bottom long double and 27 bits of top long double before squaring
9302         exponent.
9303         * math/libm-test.inc (erfc_test): Add more tests.
9304         * sysdeps/i386/fpu/libm-test-ulps: Update.
9305         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9308 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9310         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9311         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9312         containing bit-fields.
9313         * soft-fp/extended.h (_FP_UNION_E): Likewise.
9314         * soft-fp/single.h (_FP_UNION_S): Likewise.
9315         * soft-fp/double.h (_FP_UNION_D): Likewise.
9317 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
9319         [BZ #13786]
9320         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9321         not include ../strcmp.S.
9322         [USE_AS_STRNCASECMP_L]: Likewise.
9323         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9324         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9325         * sysdeps/i386/i686/multiarch/strncase_l-c.c
9326         (__strncasecmp_l_ia32): Define as alias to
9327         __strncasecmp_l_nonascii.
9329         [BZ #5794]
9330         * math/libm-test.inc (expm1_test): Add test for bug 5794.
9331         * sysdeps/i386/fpu/libm-test-ulps: Update.
9332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9334         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9337 2012-02-29  Jeff Law  <law@redhat.com>
9339         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9340         out of bounds read.
9342 2012-02-29  Marek Polacek  <polacek@redhat.com>
9344         [BZ #13706]
9345         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9346         * elf/Makefile: Add rules to run tst-unused-dep.out.
9348 2012-02-28  David S. Miller  <davem@davemloft.net>
9350         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9351         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9352         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9353         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9354         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9355         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9357 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
9359         * math/libm-test.inc (llround_test): Move one test from
9360         lround_test.  Use TEST_f_L in moved test.
9361         (lround_test): Move misplaced test to llround_test.  Add testcase
9362         from bug 2561.
9364 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
9366         * sysdeps/x86_64/fpu/e_expf.S: New file.
9367         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9369 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
9371         [BZ #13637]
9372         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9373         of remain_len that may cause incomplete multi-byte character and
9374         false match.
9375         * posix/bug-regex33.c: New file.
9376         * posix/Makefile (tests): Add bug-regex33.
9378 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
9380         * manual/macros.texi: New file.
9381         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9382         * manual/libc.texinfo: Include macros.texi.
9383         * manual/creatute.texi: Likewise.
9384         * manual/install.texi: Likewise.
9385         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9386         @glibcadj{} in references to the GNU C Library.
9387         * manual/charset.texi: Likewise.
9388         * manual/conf.texi: Likewise.
9389         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
9390         when not using those macros.
9391         * manual/creature.texi: Likewise.
9392         * manual/crypt.texi: Likewise.
9393         * manual/errno.texi: Likewise.
9394         * manual/filesys.texi: Likewise.
9395         * manual/header.texi: Likewise.
9396         * manual/install.texi: Likewise.
9397         * manual/intro.texi: Likewise.
9398         * manual/io.texi: Likewise.
9399         * manual/job.texi: Likewise.
9400         * manual/lang.texi: Likewise.
9401         * manual/libc.texiinfo: Likewise.
9402         * manual/llio.texi: Likewise.
9403         * manual/locale.texi: Likewise.
9404         * manual/maint.texi: Likewise.
9405         * manual/math.texi: Likewise.
9406         * manual/memory.texi: Likewise.
9407         * manual/message.texi: Likewise.
9408         * manual/nss.texi: Likewise.
9409         * manual/pattern.texi: Likewise.
9410         * manual/process.texi: Likewise.
9411         * manual/resource.texi: Likewise.
9412         * manual/search.texi: Likewise.
9413         * manual/setjmp.texi: Likewise.
9414         * manual/signal.texi: Likewise.
9415         * manual/socket.texi: Likewise.
9416         * manual/startup.texi: Likewise.
9417         * manual/stdio.texi: Likewise.
9418         * manual/string.texi: Likewise.
9419         * manual/sysinfo.texi: Likewise.
9420         * manual/syslog.texi: Likewise.
9421         * manual/terminal.texi: Likewise.
9422         * manual/time.texi: Likewise.
9423         * manual/users.texi: Likewise.
9424         * INSTALL: Regenerated.
9425         * NOTES: Regenerated.
9426         * sysdeps/gnu/errlist.c: Regenerated.
9428 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
9430         * include/dirent.h: Include <dirstream.h> before
9431         <dirent/dirent.h>.
9433 2012-02-28  David S. Miller  <davem@davemloft.net>
9435         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9436         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9437         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9438         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9440 2012-02-27  David S. Miller  <davem@davemloft.net>
9442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9444         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9445         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9448         frame pointer instead of stack pointer relative arg slot.
9449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9450         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9451         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9453 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
9455         [BZ #3992]
9456         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9458 2012-02-27  David S. Miller  <davem@davemloft.net>
9460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9464         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9465         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9466         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9467         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9469 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
9471         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9472         later.  Allow versions 5-9.
9473         * configure: Regenerated.
9474         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9475         required minimum version and 4.6 as recommended version.  Do not
9476         mention bugs in GCC 2.7 and 2.8.
9477         * INSTALL: Regenerated.
9479 2012-02-27  David S. Miller  <davem@davemloft.net>
9481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9485         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9486         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9487         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9488         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9490         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9491         manipulate bits before adding and subtracting TWO112[sx].
9492         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9494 2012-02-27  Roland McGrath  <roland@hack.frob.com>
9496         [BZ #13775]
9497         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9498         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9499         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9500         being in POSIX, because they are in 1003.1-2008.
9502         * rt/tst-aio.c: Include <fcntl.h>.
9503         * rt/tst-aio7.c: Likewise.
9504         * rt/tst-aio64.c: Likewise.
9506         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9508 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
9510         * manual/install.texi (--with-headers): Describe headers as
9511         interface headers, not private headers.
9512         (Specific advice for GNU/Linux systems): Describe use of headers
9513         from "make headers_install", not private headers from older
9514         kernels.
9515         * INSTALL: Regenerated.
9516         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9517         Change to 2.6.19.
9518         * sysdeps/unix/sysv/linux/configure: Regenerated.
9520         * manual/llio.texi (fclean): Remove documentation.
9522         * manual/Makefile (libc-texi-generated): New variable.  Include
9523         version.texi.
9524         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9525         $(libc-texi-generated), not duplicated list of files.
9526         (version.texi, stamp-version): New rules.
9527         (realclean): Remove $(libc-texi-generated), not individual files
9528         from that list.  Do not remove dir-add.texinfo.
9529         * manual/libc.texinfo: Comment out uses of edition numbers and
9530         references to printed manual.  Remove last-updated dates.
9531         (EDITION): Comment out.
9532         (ISBN): Likewise.
9533         (VERSION, UPDATED): Remove.
9534         (version.texi): Include.
9536 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
9538         * sysdeps/posix/spawni.c: Include <signal.h>.
9539         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9540         * sysdeps/pthread/aio_fsync.c: Likewise.
9542 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
9544         * conform/Makefile (tests): Run only when not cross-compiling and
9545         when fast-check is not defined.
9547         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9548         * conform/data/limits.h-data: Fixes for POSIX2008.
9549         * conform/run-conformtest.sh: Run all tests.
9550         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9551         headers.
9552         * include/bits/dlfcn.h: Likewise.
9553         * include/langinfo.h: Likewise.
9554         * include/monetary.h: Likewise.
9555         * include/sys/poll.h: Likewise.
9557         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9558         for __USE_GNU.
9559         * posix/spawn.h: Define __need_sigset_t.
9560         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9561         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9562         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
9563         to get sigevent_t only.
9564         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9565         only for __USE_GNU.
9566         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9567         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9568         process_vm_writev only for __USE_GNU.
9569         * termios/termios.h: Declare tcgetsid also for POSIX2008.
9571         * conform/Makefile: For now ignore errors from run-conformtest.
9572         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
9573         POSIX to avoid namespace pollution.  Don't prepend headers.
9574         * conform/data/aio.h-data: Fixes for POSIX testing.
9575         * conform/data/fcntl.h-data: Likewise.
9576         * conform/data/glob.h-data: Likewise.
9577         * conform/data/grp.h-data: Likewise.
9578         * conform/data/pthread.h-data: Likewise.
9579         * conform/data/pwd.h-data: Likewise.
9580         * conform/data/signal.h-data: Likewise.
9581         * conform/data/spawn.h-data: Likewise.
9582         * conform/data/stdio.h-data: Likewise.
9583         * conform/data/stdlib.h-data: Likewise.
9584         * conform/data/stropts.h-data: Likewise.
9585         * conform/data/sys/mman.h-data: Likewise.
9586         * conform/data/sys/stat.h-data: Likewise.
9587         * conform/data/sys/types.h-data: Likewise.
9588         * conform/data/sys/wait.h-data: Likewise.
9589         * conform/data/time.h-data: Likewise.
9590         * conform/data/unistd.h-data: Likewise.
9591         * conform/data/utime.h-data: Likewise.
9593         * io/sys/stat.h: fchmod was always in POSIX.
9594         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9595         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9596         * rt/aio.h: Define __need_timespec before including <time.h>.
9597         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9598         struct.  Add forward declaration of pthread_attr_t and use it in
9599         sigevent.
9600         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9601         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9602         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9603         always remove CLK_TCK definition.
9605 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
9607         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9609 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
9611         * conform/run-conformtest.sh: New file.
9612         * conform/Makefile: Run run-conformtest for tests.
9613         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
9614         support.
9616         * conform/data/uchar.h-data: New file.
9617         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9618         * conform/data/arpa/inet.h-data: Likewise.
9619         * conform/data/assert.h-data: Likewise.
9620         * conform/data/complex.h-data: Likewise.
9621         * conform/data/cpio.h-data: Likewise.
9622         * conform/data/ctype.h-data: Likewise.
9623         * conform/data/dirent.h-data: Likewise.
9624         * conform/data/dlfcn.h-data: Likewise.
9625         * conform/data/errno.h-data: Likewise.
9626         * conform/data/fcntl.h-data: Likewise.
9627         * conform/data/float.h-data: Likewise.
9628         * conform/data/fmtmsg.h-data: Likewise.
9629         * conform/data/fnmatch.h-data: Likewise.
9630         * conform/data/ftw.h-data: Likewise.
9631         * conform/data/glob.h-data: Likewise.
9632         * conform/data/grp.h-data: Likewise.
9633         * conform/data/iconv.h-data: Likewise.
9634         * conform/data/inttypes.h-data: Likewise.
9635         * conform/data/langinfo.h-data: Likewise.
9636         * conform/data/libgen.h-data: Likewise.
9637         * conform/data/limits.h-data: Likewise.
9638         * conform/data/locale.h-data: Likewise.
9639         * conform/data/math.h-data: Likewise.
9640         * conform/data/monetary.h-data: Likewise.
9641         * conform/data/mqueue.h-data: Likewise.
9642         * conform/data/ndbm.h-data: Likewise.
9643         * conform/data/net/if.h-data: Likewise.
9644         * conform/data/netdb.h-data: Likewise.
9645         * conform/data/netinet/in.h-data: Likewise.
9646         * conform/data/nl_types.h-data: Likewise.
9647         * conform/data/poll.h-data: Likewise.
9648         * conform/data/pthread.h-data: Likewise.
9649         * conform/data/pwd.h-data: Likewise.
9650         * conform/data/regex.h-data: Likewise.
9651         * conform/data/sched.h-data: Likewise.
9652         * conform/data/search.h-data: Likewise.
9653         * conform/data/semaphore.h-data: Likewise.
9654         * conform/data/setjmp.h-data: Likewise.
9655         * conform/data/signal.h-data: Likewise.
9656         * conform/data/spawn.h-data: Likewise.
9657         * conform/data/stdarg.h-data: Likewise.
9658         * conform/data/stdio.h-data: Likewise.
9659         * conform/data/stdlib.h-data: Likewise.
9660         * conform/data/string.h-data: Likewise.
9661         * conform/data/strings.h-data: Likewise.
9662         * conform/data/stropts.h-data: Likewise.
9663         * conform/data/sys/ipc.h-data: Likewise.
9664         * conform/data/sys/mman.h-data: Likewise.
9665         * conform/data/sys/msg.h-data: Likewise.
9666         * conform/data/sys/resource.h-data: Likewise.
9667         * conform/data/sys/select.h-data: Likewise.
9668         * conform/data/sys/sem.h-data: Likewise.
9669         * conform/data/sys/shm.h-data: Likewise.
9670         * conform/data/sys/socket.h-data: Likewise.
9671         * conform/data/sys/stat.h-data: Likewise.
9672         * conform/data/sys/statvfs.h-data: Likewise.
9673         * conform/data/sys/time.h-data: Likewise.
9674         * conform/data/sys/timeb.h-data: Likewise.
9675         * conform/data/sys/times.h-data: Likewise.
9676         * conform/data/sys/types.h-data: Likewise.
9677         * conform/data/sys/uio.h-data: Likewise.
9678         * conform/data/sys/un.h-data: Likewise.
9679         * conform/data/sys/utsname.h-data: Likewise.
9680         * conform/data/sys/wait.h-data: Likewise.
9681         * conform/data/syslog.h-data: Likewise.
9682         * conform/data/tar.h-data: Likewise.
9683         * conform/data/termios.h-data: Likewise.
9684         * conform/data/utime.h-data: Likewise.
9685         * conform/data/utmpx.h-data: Likewise.
9686         * conform/data/varargs.h-data: Likewise.
9687         * conform/data/wchar.h-data: Likewise.
9688         * conform/data/wctype.h-data: Likewise.
9689         * conform/data/wordexp.h-data: Likewise.
9691         * include/stropts.h: New file.
9692         * include/uchar.h: New file.
9693         * include/aio.h: Changes to allow conformtest.pl to use the headers.
9694         * include/assert.h: Likewise.
9695         * include/ctype.h: Likewise.
9696         * include/dirent.h: Likewise.
9697         * include/dlfcn.h: Likewise.
9698         * include/fcntl.h: Likewise.
9699         * include/fnmatch.h: Likewise.
9700         * include/glob.h: Likewise.
9701         * include/grp.h: Likewise.
9702         * include/libio.h: Likewise.
9703         * include/locale.h: Likewise.
9704         * include/math.h: Likewise.
9705         * include/net/if.h: Likewise.
9706         * include/netdb.h: Likewise.
9707         * include/netinet/in.h: Likewise.
9708         * include/pthread.h: Likewise.
9709         * include/pwd.h: Likewise.
9710         * include/regex.h: Likewise.
9711         * include/sched.h: Likewise.
9712         * include/search.h: Likewise.
9713         * include/setjmp.h: Likewise.
9714         * include/signal.h: Likewise.
9715         * include/stdio.h: Likewise.
9716         * include/stdlib.h: Likewise.
9717         * include/string.h: Likewise.
9718         * include/sys/cdefs.h: Likewise.
9719         * include/sys/mman.h: Likewise.
9720         * include/sys/msg.h: Likewise.
9721         * include/sys/resource.h: Likewise.
9722         * include/sys/select.h: Likewise.
9723         * include/sys/socket.h: Likewise.
9724         * include/sys/stat.h: Likewise.
9725         * include/sys/statvfs.h: Likewise.
9726         * include/sys/time.h: Likewise.
9727         * include/sys/times.h: Likewise.
9728         * include/sys/uio.h: Likewise.
9729         * include/sys/utsname.h: Likewise.
9730         * include/sys/wait.h: Likewise.
9731         * include/termios.h: Likewise.
9732         * include/time.h: Likewise.
9733         * include/ulimit.h: Likewise.
9734         * include/unistd.h: Likewise.
9735         * include/utime.h: Likewise.
9736         * include/wchar.h: Likewise.
9737         * include/wctype.h: Likewise.
9738         * include/wordexp.h: Likewise.
9740         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9742         * time/time.h: TIME_UTC must be a macro.
9743         Make timespec_get available for ISO C11 only as well.
9745 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
9747         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9748         Reported by Peng Haitao <penght@cn.fujitsu.com>.
9750 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9752         * configure.in: Use -o not -a in test for unsupported multi-arch.
9754 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9756         * manual/texinfo.tex: Update to version 2012-01-19.16.
9758 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9760         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9762 2012-02-24  Roland McGrath  <roland@hack.frob.com>
9764         [BZ #13738]
9765         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9766         * manual/fdl-1.3.texi: New file.
9767         * manual/fdl-1.1.texi: File removed.
9769         [BZ #13738]
9770         * manual/libc.texinfo (FDL_VERSION): New @set.
9771         Use it for mention of FDL in cover text.
9772         (Documentation License): Use it in @include file name.
9774 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9775             Roland McGrath  <roland@hack.frob.com>
9777         [BZ #5461]
9778         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9779         not LONG_LONG_MAX and LONG_LONG_MIN.
9780         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9781         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
9782         name.
9783         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9785 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9787         [BZ #2547]
9788         [BZ #11365]
9789         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9790         manipulate bits before adding and subtracting TWO23[sx].
9791         * math/libm-test.inc (nearbyint_test): Add more tests.
9793 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9795         [BZ #2548]
9796         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9797         bits before adding and subtracting TWO23[sx].
9798         * math/libm-test.inc (rint_test): Add more tests.
9799         (rint_test_tonearest): Likewise.
9800         (rint_test_towardzero): Likewise.
9801         (rint_test_downward): Likewise.
9802         (rint_test_upward: Likewise.
9804 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9806         [BZ #10110]
9807         * include/stdc-predef.h: New file.  Extracted from features.h.
9808         * include/features.h: Include stdc-predef.h.
9809         * Makefile (headers): Add stdc-predef.h.
9810         * CONFORMANCE (Compiler limitations): Update.
9812 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9814         * manual/libc.texinfo (VERSION, UPDATED): Revert.
9816 2012-02-21  David S. Miller  <davem@davemloft.net>
9818         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9819         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9821 2012-02-20  David S. Miller  <davem@davemloft.net>
9823         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9824         using a normal save/restore sequence, rather than allocating a
9825         dummy stack frame just to store a frame pointer and restore.
9826         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9828 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9830         * manual/install.texi: Fix stray word in line-wrapped comment.
9832 2012-02-20  David S. Miller  <davem@davemloft.net>
9834         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9835         both binutils and gcc support GOTDATA.
9837         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9838         "rd %pc" in the PIC register setup sequences.
9840         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9841         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9842         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9843         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9844         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9845         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9846         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9847         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9848         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9849         (SYSCALL_ERROR_HANDLER): Likewise.
9850         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9851         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9852         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9853         (SYSCALL_ERROR_HANDLER): Likewise.
9855         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9856         (HAVE_GCC_GOTDATA): New.
9857         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9858         relocation support in both binutils and gcc.
9859         * sysdeps/sparc/elf/configure: Regenerate.
9861         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9862         * sysdeps/sparc/sparc32/elf/configure: Delete.
9863         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9864         * sysdeps/sparc/sparc64/elf/configure: Delete.
9865         * sysdeps/sparc/elf/configure.in: New file.
9866         * sysdeps/sparc/elf/configure: Generate.
9868         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9869         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9870         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9871         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9872         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9874 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9876         * manual/install.texi: Do not mention specific glibc version
9877         numbers.
9878         * manual/libc.texinfo (VERSION, UPDATED): Update.
9879         (@copying): Use @copyright{} and range of years.
9881 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9883         [BZ #13695]
9884         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9885         [crti.S not in sysdirs] (generated): Do not append.
9886         [crti.S not in sysdirs] (omit-deps): Likewise.
9887         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9888         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9889         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9890         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9891         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9892         Likewise.
9893         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9894         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9895         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9896         * csu/defs.awk: Remove file.
9897         * sysdeps/generic/initfini.c: Likewise.
9898         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9899         variable.
9900         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9901         Likewise.
9903 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9905         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9906         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9907         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9908         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9909         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9910         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9911         <bits/epoll.h>.
9912         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9913         (__EPOLL_PACKED): Define to empty if not defined by
9914         <bits/epoll.h>.
9915         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9917         bits/epoll.h.
9919 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9921         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9922         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9923         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9924         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9925         <bits/timerfd.h>.
9926         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9927         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9928         bits/timerfd.h.
9930 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9932         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9933         in C locale.
9934         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9935         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9936         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9939 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
9941         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9942         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9944 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
9946         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9947         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9948         defined.
9949         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9950         Likewise.
9951         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9952         entry for 2.16.
9954 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
9956         * math/w_acos.c: Use non-signaling floating-point comparisons.
9957         * math/w_acosf.c: Likewise.
9958         * math/w_acosh.c: Likewise.
9959         * math/w_acoshf.c: Likewise.
9960         * math/w_acoshl.c: Likewise.
9961         * math/w_acosl.c: Likewise.
9962         * math/w_asin.c: Likewise.
9963         * math/w_asinf.c: Likewise.
9964         * math/w_asinl.c: Likewise.
9965         * math/w_atanh.c: Likewise.
9966         * math/w_atanhf.c: Likewise.
9967         * math/w_atanhl.c: Likewise.
9968         * math/w_exp2.c: Likewise.
9969         * math/w_exp2f.c: Likewise.
9970         * math/w_exp2l.c: Likewise.
9971         * math/w_j0.c: Likewise.
9972         * math/w_j0f.c: Likewise.
9973         * math/w_j0l.c: Likewise.
9974         * math/w_j1.c: Likewise.
9975         * math/w_j1f.c: Likewise.
9976         * math/w_j1l.c: Likewise.
9977         * math/w_jn.c: Likewise.
9978         * math/w_jnf.c: Likewise.
9979         * math/w_log.c: Likewise.
9980         * math/w_log10.c: Likewise.
9981         * math/w_log10f.c: Likewise.
9982         * math/w_log10l.c: Likewise.
9983         * math/w_log2.c: Likewise.
9984         * math/w_log2f.c: Likewise.
9985         * math/w_log2l.c: Likewise.
9986         * math/w_logf.c: Likewise.
9987         * math/w_logl.c: Likewise.
9988         * math/w_sqrt.c: Likewise.
9989         * math/w_sqrtf.c: Likewise.
9990         * math/w_sqrtl.c: Likewise.
9991         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9992         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9993         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9994         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9995         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9997 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
9999         [BZ #9739]
10000         * manual/string.texi (strnlen): Use correct parameter name in
10001         equivalent expression.
10003 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10005         [BZ #11174]
10006         * manual/users.texi (seteuid): Consistently use neweuid for
10007         argument name.
10009 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10011         [BZ #13704]
10012         * manual/nss.texi (Services in the NSS configuration): Correct
10013         list of services in example configuration file.
10015 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
10017         [BZ #11322]
10018         * manual/arith.texi: Remove statements about negative zero
10019         behaving identically to zero.
10021 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
10023         [BZ #5993]
10024         * manual/install.texi: Do not document upgrading from libc5.
10026 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
10028         [BZ #4596]
10029         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10031 2012-02-18  David S. Miller  <davem@davemloft.net>
10033         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10034         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10035         %o7 across the call.
10036         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10037         instead.
10038         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10039         SETUP_PIC_REG_LEAF.
10040         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10041         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10042         * sysdeps/sparc/crtn.S: Likewise.
10044 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
10046         * aout/Makefile: Remove.
10048 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
10050         [BZ #13058]
10051         * manual/examples/argp-ex1.c (main): Format definition in GNU
10052         style.
10053         * manual/examples/argp-ex2.c (main): Likewise.
10054         * manual/examples/argp-ex3.c (main): Likewise.
10055         * manual/examples/argp-ex4.c (main): Likewise.
10056         * manual/examples/longopt.c (main): Use new-style prototype
10057         definition.
10058         * manual/examples/strncat.c (main): Specify return type and use
10059         (void) for arguments.
10060         * manual/examples/subopt.c (main): Use char **argv argument.
10062 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10064         [BZ #5077]
10065         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10066         rounding modes.
10068 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
10070         [BZ #6907]
10071         * manual/string.texi (strchr): Change when strchrnul is
10072         recommended.
10074 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
10076         [BZ #174]
10077         * manual/locale.texi (setlocale): Document LOCPATH.
10079 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10081         [BZ #10210]
10082         * manual/process.texi (execle): Move @dots{} before last argument.
10084 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
10086         [BZ #12047]
10087         * manual/charset.texi (Generic Charset Conversion): Fix typo
10088         (LC_TYPE -> LC_CTYPE).
10090 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
10092         [BZ #5805]
10093         * manual/arith.texi (scalbn): Use @var{} on parameter names.
10094         (scalbnf): Likewise.
10095         (scalbnl): Likewise.
10096         (scalbln): Likewise.
10097         (scalblnf): Likewise.
10098         (scalblnl): Likewise.
10099         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10100         (vwarnx): Likewise.
10101         (verr): Likewise.
10102         (verrx): Likewise.
10103         * manual/filesys.texi (telldir): Use braces around return type.
10104         * manual/llio.texi (mmap): Add space after comma.
10105         (mmap64): Likewise.
10106         * manual/math.texi (jn): Use @var{} on parameter names.
10107         (jnf): Likewise.
10108         (jnl): Likewise.
10109         (yn): Likewise.
10110         (ynf): Likewise.
10111         (ynl): Likewise.
10112         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10113         line.
10114         * manual/resource.texi (ulimit): Use @dots{} instead of literal
10115         "...".
10116         (sched_get_priority_min): Remove semicolon on @deftypefun line.
10117         (sched_get_priority_max): Likewise.
10118         * manual/signal.texi (sigvec): Add space after comma.
10119         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10120         names.
10121         (if_indextoname): Likewise.
10122         (if_freenameindex): Likewise.
10123         (sendto): Use ',' instead of '.' in prototype.
10124         * manual/startup.texi (syscall): Use @dots{} instead of literal
10125         "...".
10126         * manual/stdio.texi (__fpending): Separate initial words of
10127         paragraph from @deftypefun line.
10128         * manual/syslog.texi (syslog): Use @dots{} instead of literal
10129         "...".
10130         (vsyslog): Use @var{} on parameter names.
10131         * manual/terminal.texi (stty): Use @var{} on parameter names.
10132         * manual/users.texi (getutmp): Use @var{} on parameter names.
10133         (getutmpx): Likewise.
10135 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10137         [BZ #6884]
10138         * manual/stdio.texi (fopen): Fix typos in description of
10139         ",ccs=STRING".
10141 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
10143         [BZ #4026]
10144         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10145         get clock_id definition.
10147 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
10149         [BZ #4822]
10150         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10151         (madvise): Cast every argument to void on its own.
10153 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10155         [BZ #9902]
10156         * manual/startup.texi (Exit Status): Fix typo.
10158 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10160         [BZ #10140]
10161         * manual/examples/argp-ex1.c: Include <stdlib.h>.
10162         * manual/examples/argp-ex2.c: Likewise.
10163         * manual/examples/argp-ex3.c: Likewise.
10165 2012-02-16  Richard Henderson  <rth@redhat.com>
10167         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10168         * sysdeps/s390/s390-32/initfini.c: Remove.
10169         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10170         * sysdeps/s390/s390-64/initfini.c: Remove.
10172 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10174         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10175         compiler output for sysdeps/generic/initfini.c.
10176         * sysdeps/sh/elf/initfini.c: Remove file.
10178 2012-02-16  David S. Miller  <davem@davemloft.net>
10180         [BZ #11494]
10181         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10183         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10184         * sysdeps/sparc/crti.S: New file.
10185         * sysdeps/sparc/crtn.S: New file.
10186         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10187         * sysdeps/sparc/sparc64/Makefile: Likewise.
10189 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
10191         [BZ #3335]
10192         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10194 2012-02-15  Roland McGrath  <roland@hack.frob.com>
10196         [BZ #4822]
10197         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10199         * mach/devstream.c (cookie_io_functions_t): Macro removed.
10200         (write, read, close): Likewise.
10201         Patch by Aurelien Jarno <aurelien@aurel32.net>.
10203 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
10205         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10206         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10207         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10208         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10209         <bits/signalfd.h>.
10210         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10212         bits/signalfd.h.
10214 2012-02-14  Marek Polacek  <polacek@redhat.com>
10216         * sysdeps/x86_64/crti.S: New file.
10217         * sysdeps/x86_64/crtn.S: New file.
10218         * sysdeps/x86_64/elf/initfini.c: Remove file.
10220 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
10222         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10223         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10224         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10225         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10226         <bits/inotify.h>.
10227         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10229         bits/inotify.h.
10231 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
10233         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10234         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10235         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10236         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10237         <bits/eventfd.h>.
10238         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10239         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10240         bits/eventfd.h.
10242 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
10244         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10245         __feraiseexcept instead of feraiseexcept.
10247         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10248         nanosleep invocations.
10249         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10250         strings, and add error checking for a nanosleep invocations.
10252 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
10254         Replace FSF snail mail address with URLs, as per GNU coding standards.
10255         Most of the snail mail addresses were wrong anyway, and omitting
10256         them makes the source code easier to maintain.  Almost all of the
10257         changes are to license notices and to locale LC_IDENTIFICATION
10258         addresses, except for this one:
10259         * manual/libc.texinfo: In "Published by", give the FSF's URL,
10260         not its snail mail address.
10262 2012-02-09  Richard Henderson  <rth@twiddle.net>
10264         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10265         of kernel-features.h.
10267         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10269 2012-02-08  Marek Polacek  <polacek@redhat.com>
10271         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10272         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10273         * sysdeps/gnu/_G_config.h: Likewise.
10274         * sysdeps/generic/_G_config.h: Likewise.
10276 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
10278         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10279         tests.
10280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10282         * sysdeps/powerpc/powerpc32/crti.S: New file.
10283         * sysdeps/powerpc/powerpc32/crtn.S: New file.
10284         * sysdeps/powerpc/powerpc64/crti.S: New file.
10285         * sysdeps/powerpc/powerpc64/crtn.S: New file.
10287         * Makeconfig (have-initfini): Don't set.
10288         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10289         * configure.in (nopic_initfini): Don't substitute.
10290         * config.h.in (HAVE_INITFINI): Don't #undef.
10291         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10292         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10294 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
10296         Support crti.S and crtn.S provided directly by architectures.
10297         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10298         [crti.S in sysdirs] (omit-deps): Likewise.
10299         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10300         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10301         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10302         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10303         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10304         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10305         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10306         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10307         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10308         compiler output for sysdeps/generic/initfini.c.
10309         * sysdeps/i386/elf/Makefile: Remove file.
10310         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10312 2012-02-07  Marek Polacek  <polacek@redhat.com>
10314         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10315         * sysdeps/gnu/_G_config.h: Likewise.
10316         * sysdeps/mach/hurd/_G_config.h: Likewise.
10318 2012-02-07  Marek Polacek  <polacek@redhat.com>
10320         * math/Makefile (tests): Add tst-CMPLX2.
10321         * math/tst-CMPLX2.c: New file.
10323 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
10325         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10327         * math/libm-test.inc (jn_test): Add missing L suffix.
10329 2012-02-06  Marek Polacek  <polacek@redhat.com>
10331         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10332         * sysdeps/i386/fpu/e_powf.S: Likewise.
10333         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10334         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10335         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10336         * sysdeps/i386/fpu/e_pow.S: Likewise.
10337         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10338         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10339         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10340         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10341         * sysdeps/i386/fpu/e_log2.S: Likewise.
10342         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10343         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10344         * sysdeps/i386/fpu/e_powl.S: Likewise.
10345         * sysdeps/i386/fpu/s_log1p.S: Likewise.
10346         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10347         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10348         * sysdeps/i386/fpu/e_logl.S: Likewise.
10349         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10350         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10351         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10352         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10353         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10354         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10355         * sysdeps/i386/fpu/e_log.S: Likewise.
10356         * sysdeps/i386/fpu/s_cexp.S: Likewise.
10357         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10358         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10359         * sysdeps/i386/fpu/e_logf.S: Likewise.
10360         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10361         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10362         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10363         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10364         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10365         * sysdeps/i386/fpu/e_log10.S: Likewise.
10366         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10367         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10368         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10369         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10370         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10371         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10372         * sysdeps/i386/asm-syntax.h: Likewise.
10373         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10374         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10375         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10376         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10377         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10378         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10379         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10380         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10381         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10382         * sysdeps/powerpc/sysdep.h: Likewise.
10383         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10384         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10386 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
10388         [BZ #411]
10389         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10391 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
10393         * sysdeps/i386/sysdep.h: Include <features.h>.
10394         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10395         version.
10397 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
10399         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10400         Define.
10401         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10402         LOAD_PIC_REG_STR.
10404 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
10406         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10407         (SETUP_PIC_REG): Use GET_PC_THUNK.
10408         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10409         macro.
10411 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
10413         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10414         for non-PIC compilation.
10415         (SETUP_PIC_REG): Add .p2align directive.
10416         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10417         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10418         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10419         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10420         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10421         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10422         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10423         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10424         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10425         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10426         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10427         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10428         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10429         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10430         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10431         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10432         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10433         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10434         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10435         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10436         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10437         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10438         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10439         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10440         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10441         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10442         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10443         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10444         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10445         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10446         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10447         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10448         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10449         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10450         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10451         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10452         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10453         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10454         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10455         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10456         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10458 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
10460         * math/tst-CMPLX.c: Include <stdio.h>.
10462 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
10464         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10465         float.
10466         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10467         * sysdeps/sparc/bits/mathdef.h: Likewise.
10469 2012-01-31  Marek Polacek  <polacek@redhat.com>
10471         * libio/libio.h: Don't define _PARAMS.
10472         * locale/programs/config.h: Don't define PARAMS.
10473         * stdlib/strtol_l.c: Likewise.
10474         (__strtol_l): Remove PARAMS from the prototype.
10476 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
10478         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
10479         names.  Just use the correct names.  Remove unnecessary wrapper
10480         functions.
10481         * malloc/arena.c: Likewise.
10482         * malloc/hooks.c: Likewise.
10484         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10485         ARENA_TEST says not to.  Simplify test for creation of a new arena.
10486         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10488 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
10490         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10491         into tail calls.
10492         (update_get_addr): New function.
10493         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10494         GET_ADDR_MODULE parameter.
10496 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
10498         * crypt/cert.c: Remove __STDC__ conditionals.
10499         * crypt/crypt-entry.c: Likewise.
10500         * crypt/crypt_util.c: Likewise.
10501         * libio/filedoalloc.c: Likewise.
10502         * libio/fileops.c: Likewise.
10503         * libio/genops.c: Likewise.
10504         * libio/iofclose.c: Likewise.
10505         * libio/iofdopen.c: Likewise.
10506         * libio/iofopen.c: Likewise.
10507         * libio/iofopen64.c: Likewise.
10508         * libio/iogetdelim.c: Likewise.
10509         * libio/iopopen.c: Likewise.
10510         * libio/obprintf.c: Likewise.
10511         * libio/oldfileops.c: Likewise.
10512         * libio/oldiofclose.c: Likewise.
10513         * libio/oldiofdopen.c: Likewise.
10514         * libio/oldiofopen.c: Likewise.
10515         * libio/oldiopopen.c: Likewise.
10516         * libio/wfiledoalloc.c: Likewise.
10517         * libio/wgenops.c: Likewise.
10518         * locale/programs/xmalloc.c: Likewise.
10519         * misc/syslog.c: Likewise.
10520         * stdio-common/xbug.c: Likewise.
10521         * string/memchr.c: Likewise.
10522         * string/memcmp.c: Likewise.
10523         * string/memrchr.c: Likewise.
10524         * string/rawmemchr.c: Likewise.
10525         * sysdeps/posix/getcwd.c: Likewise.
10526         * time/strftime_l.c: Likewise.
10528 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
10530         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10531         * config.make.in (config-cflags-sse2avx): Define.
10532         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10533         Fix typo.
10535 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
10537         * scripts/config.guess: Update from upstream config git repository.
10538         * scripts/config.sub: Likewise.
10540 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
10542         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10543         (EM_NUM): Update.
10544         (R_TILEPRO_*, R_TILEGX_*): New macros.
10546         * scripts/firstversions.awk: Fix bug in version range handling.
10548         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10550         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10552         * include/sys/epoll.h: New file.
10553         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10554         libc_hidden_def.
10556 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
10558         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10559         Avoid unnecessary __WORDSIZE == 64 test.
10560         (fmaxf): Use VEX format if possible.
10561         (fmax): Likewise.
10562         (fminf): Likewise.
10563         (fmin): Likewise.
10565         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10566         * math/math_private.h: Remove libc_fegetround* and
10567         libc_fesetround*.
10568         * sysdeps/i386/configure.in: Check for -msse2avx.
10569         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10570         also if SSE2AVX is defined.
10571         Remove libc_fegetround* and libc_fesetround*.
10572         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10573         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
10574         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10575         of HAS_YMM_USABLE.
10576         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10577         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10578         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10579         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10580         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10582         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10584 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10586         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10587         size is not set.
10588         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10590 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
10592         [BZ #13618]
10593         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10594         relocation.
10595         * Makeconfig (libm): Define.
10596         * elf/Makefile: Add rules to build and run tst-relsort1.
10597         * elf/tst-relsort1.c: New file.
10598         * elf/tst-relsort1mod1.c: New file.
10599         * elf/tst-relsort1mod2.c: New file.
10601 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
10603         * math/s_ldexp.c: Remove __STDC__ conditionals.
10604         * math/s_ldexpf.c: Likewise.
10605         * math/s_ldexpl.c: Likewise.
10606         * math/s_nextafter.c: Likewise.
10607         * math/s_nexttowardf.c: Likewise.
10608         * math/s_significand.c: Likewise.
10609         * math/s_significandf.c: Likewise.
10610         * math/s_significandl.c: Likewise.
10611         * math/w_jnl.c: Likewise.
10612         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10613         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10614         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10615         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10616         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10617         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10618         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10619         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10620         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10621         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10622         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10623         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10624         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10625         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10626         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10627         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10628         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10629         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10630         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10631         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10632         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10633         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10634         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10635         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10636         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10637         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10638         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10639         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10640         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10641         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10642         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10643         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10644         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10645         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10646         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10647         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10648         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10649         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10650         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10651         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10652         * sysdeps/ieee754/k_standard.c: Likewise.
10653         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10654         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10655         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10656         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10657         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10658         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10659         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10660         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10661         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10662         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10663         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10664         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10665         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10666         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10667         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10668         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10669         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10670         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10671         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10672         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10673         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10674         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10675         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10676         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10677         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10678         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10679         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10680         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10681         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10682         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10683         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10684         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10685         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10686         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10687         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10688         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10689         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10690         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10691         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10692         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10693         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10694         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10695         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10696         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10697         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10698         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10699         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10700         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10701         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10702         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10703         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10704         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10705         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10706         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10707         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10708         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10709         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10710         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10711         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10712         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10713         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10714         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10715         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10716         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10717         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10718         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10719         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10720         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10721         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10722         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10723         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10724         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10725         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10726         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10727         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10728         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10729         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10730         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10731         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10732         * sysdeps/ieee754/s_matherr.c: Likewise.
10733         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10734         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10735         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10736         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10738 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
10740         * crypt/md5.h: Remove __STDC__ conditionals.
10741         * libio/libioP.h: Likewise.
10742         * locale/programs/config.h: Likewise.
10743         * sysdeps/generic/sysdep.h: Likewise.
10744         * sysdeps/i386/asm-syntax.h: Likewise.
10745         * sysdeps/s390/asm-syntax.h: Likewise.
10746         * sysdeps/unix/sysdep.h: Likewise.
10747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10750 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
10752         * libio/libio.h: Remove __STDC__ conditionals.
10753         * malloc/obstack.h: Likewise.
10754         * math/complex.h: Likewise.
10755         * math/math.h: Likewise.
10756         * sysdeps/generic/_G_config.h: Likewise.
10757         * sysdeps/gnu/_G_config.h: Likewise.
10758         * sysdeps/mach/hurd/_G_config.h: Likewise.
10759         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10760         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10761         * sysdeps/sparc/bits/mathdef.h: Likewise.
10763 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
10765         [BZ #13583]
10766         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10767         Clean up HAS_* macros.
10768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10769         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10770         possible.
10771         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10772         HAS_AVX.
10773         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10774         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10775         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10776         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10777         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10779 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
10781         * elf/tst-unique3.cc (gets): Remove declaration.
10782         * elf/tst-unique3lib.cc (gets): Likewise.
10783         * elf/tst-unique3lib2.cc (gets): Likewise.
10784         * elf/tst-unique4.cc (gets): Likewise.
10786 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
10788         * include/stdio.h: Add C++ protection.  Add gets declarations and
10789         definitions.
10790         * debug/tst-chk1.c: Don't declare gets here.
10791         * stdio-common/tst-gets.c: Likewise.
10793 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
10795         * posix/glob: Remove directory.
10797 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
10799         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10801 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
10803         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10804         of the non-standard EPFNOSUPPORT.
10806 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10808         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10809         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10810         ANYWHERE set to 1 only on KERN_NO_SPACE error.
10812 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
10814         * wcsmbs/uchar.h: Test __STDC_VERSION__.
10816 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
10818         * nscd/aicache.c (addhstaiX): Do not cache negative results of
10819         transient errors.
10820         * nscd/grpcache.c (cache_addgr): Likewise.
10821         * nscd/hstcache.c (cache_addhst): Likewise.
10822         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10823         * nscd/pwdcache.c (cache_addpw): Likewise.
10824         * nscd/servicescache.c (cache_addserv): Likewise.
10826 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
10828         * malloc/malloc.c: Various cleanups.
10829         * malloc/hooks.c: Likewise.
10831         * stdlib/Makefile (tests): Add bug-fmtmsg1.
10832         * stdlib/bug-fmtmsg1.c: New file.
10834         * stdlib/fmtmsg.c (init): Add missing unlock.
10835         Patch by Peng Haitao <penght@cn.fujitsu.com>.
10837 2012-01-12  Marek Polacek  <polacek@redhat.com>
10839         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10840         and _GNU_SOURCE.
10842 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
10844         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10845         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10846         macro to ensure uniqueness of label name.
10847         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10848         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10850 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
10852         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10854         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10855         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10856         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10857         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10859 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
10861         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10863         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10864         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10865         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10867         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10869         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10870         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10871         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10872         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10874         * math/bits/math-finite.h: Add ldexp support.
10876 2012-01-10  Marek Polacek  <polacek@redhat.com>
10878         * locale/programs/localedef.h (show_archive_content): Add noreturn
10879         attribute.
10881 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
10883         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10885 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10887         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10889         * io/Makefile (headers): Add bits/poll2.h.
10891 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
10893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10894         typo #include statement.
10896 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10898         * include/sys/cdefs.h: Define __attribute_alloc_size.
10899         * catgets/gencat.c: Add alloc_size attribute and apply consistently
10900         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10901         * elf/pldd.c: Likewise.
10902         * iconv/iconv_charmap.c: Likewise.
10903         * iconv/iconvconfig.c: Likewise.
10904         * iconv/strtab.c: Likewise.
10905         * locale/programs/locale.c: Likewise.
10906         * locale/programs/localedef.h: Likewise.
10907         * locale/programs/simple-hash.c: Likewise.
10908         * nscd/nscd.h: Likewise.
10909         * nss/makedb.c: Likewise.
10910         * sysdeps/generic/ldconfig.h: Likewise.
10911         * locale/programs/localedef.c: Remove xmalloc prototype.
10912         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10914 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10916         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10917         appropriate.
10919 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10921         * math/Makefile (tests): Add tst-CMPLX.
10922         * math/tst-CMPLX.c: New file.
10924         * math/complex.h (CMPLXL): Fix typo.
10926         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10927         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10928         GLIBC_2.16.
10929         * debug/tst-chk1.c: Add poll and ppoll tests.
10930         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10931         * include/sys/poll.h: Add hidden proto for ppoll.
10932         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10933         * sysdeps/mach/hurd/ppoll.c: Likewise.
10934         * io/ppoll.c: Likewise.
10935         * debug/poll_chk.c: New file.
10936         * debug/ppoll_chk.c: New file.
10937         * include/bits/poll2.h: New file.
10938         * io/bits/poll2.h: New file.
10940         [BZ #1350]
10941         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10943         * configure.in: static is always set to yes.  Remove.
10944         * config.make.in: Don't set build-static.
10945         * Makeconfig: Remove use of build-static.
10946         * dlfcn/Makefile: Likewise.
10947         * elf/Makefile: Likewise.
10948         * math/Makefile: Likewise.
10949         * misc/Makefile: Likewise.
10950         * nptl/Makefile: Likewise.
10951         * sysdeps/mach/hurd/Makefile: Likewise.
10953         * configure.in: PWD_P is not used anymore.
10954         * config.make.in: Remove PWD_P entry.
10956         * configure.in: Remove last remnants of RANLIB.
10957         No need to check for signed size_t anymore.
10958         Don't set libc_commonpagesize and libc_relro_required here for Alpha
10959         and IA-64.
10960         Remove __builtin_expect test because we require at least gcc 3.4.
10961         * aclocal.m4: Likewise.
10963         * wcsmbs/mbrtoc16.c: Implement using towc function.
10964         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10965         * wcsmbs/wcsmbsload.c: Likewise.
10966         * iconv/gconv_simple.c: Likewise.
10967         * iconv/gconv_int.h: Likewise.
10968         * iconv/gconv_builtin.h: Likewise.
10969         * iconv/iconv_prog.c: Remove CHAR16 handling.
10971         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10973         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10975         * configure.in: Remove --with-elf and --enable-bounded options.
10976         Dont set base_machine for ia64.  More non-ELF conditions removed.
10977         Remove testing and setting of leading underscore information.
10978         * config.make.in (build-bounded): Set to no.
10979         * config.h.in: Remove NO_UNDERSCORES entry.
10980         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
10981         them.
10982         * csu/start.c: Remove !NO_UNDERSCORE code.
10983         * locale/localeinfo.h: Likewise.
10984         * sysdeps/generic/machine-gmon.h: Likewise.
10985         * sysdeps/generic/sysdep.h: Likewise.
10986         * sysdeps/i386/sysdep.h: Likewise.
10987         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10988         * sysdeps/mach/sysdep.h: Likewise.
10989         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10990         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10991         * sysdeps/sh/sysdep.h: Likewise.
10992         * sysdeps/sparc/sparc32/alloca.S: Likewise.
10993         * sysdeps/unix/i386/sysdep.S: Likewise.
10994         * sysdeps/unix/sparc/start.c: Likewise.
10995         * sysdeps/unix/sparc/sysdep.S: Likewise.
10996         * sysdeps/unix/sparc/sysdep.h: Likewise.
10997         * sysdeps/unix/start.c: Likewise.
10998         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10999         * sysdeps/x86_64/sysdep.h: Likewise.
11001 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
11003         [BZ #13553]
11004         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11005         for non-gcc.
11006         * argp/argp-fmtstream.h: Use const instead __const.
11007         * argp/argp.h: Likewise.
11008         * assert/assert.h: Likewise.
11009         * bits/fenv.h: Likewise.
11010         * bits/sched.h: Likewise.
11011         * bits/sigset.h: Likewise.
11012         * bits/sigthread.h: Likewise.
11013         * catgets/nl_types.h: Likewise.
11014         * conform/data/pthread.h-data: Likewise.
11015         * crypt/crypt-private.h: Likewise.
11016         * crypt/crypt.h: Likewise.
11017         * crypt/crypt_util.c: Likewise.
11018         * ctype/ctype.h: Likewise.
11019         * debug/execinfo.h: Likewise.
11020         * debug/mbsnrtowcs_chk.c: Likewise.
11021         * debug/mbsrtowcs_chk.c: Likewise.
11022         * debug/wcsnrtombs_chk.c: Likewise.
11023         * debug/wcsrtombs_chk.c: Likewise.
11024         * debug/wcstombs_chk.c: Likewise.
11025         * dirent/dirent.h: Likewise.
11026         * dlfcn/dlfcn.h: Likewise.
11027         * elf/neededtest4.c: Likewise.
11028         * grp/grp.h: Likewise.
11029         * gshadow/gshadow.h: Likewise.
11030         * iconv/gconv.h: Likewise.
11031         * iconv/gconv_int.h: Likewise.
11032         * iconv/gconv_simple.c: Likewise.
11033         * iconv/iconv.h: Likewise.
11034         * iconv/loop.c: Likewise.
11035         * iconv/skeleton.c: Likewise.
11036         * include/aio.h: Likewise.
11037         * include/aliases.h: Likewise.
11038         * include/argz.h: Likewise.
11039         * include/arpa/inet.h: Likewise.
11040         * include/assert.h: Likewise.
11041         * include/dirent.h: Likewise.
11042         * include/dlfcn.h: Likewise.
11043         * include/execinfo.h: Likewise.
11044         * include/fcntl.h: Likewise.
11045         * include/fenv.h: Likewise.
11046         * include/glob.h: Likewise.
11047         * include/grp.h: Likewise.
11048         * include/libintl.h: Likewise.
11049         * include/mntent.h: Likewise.
11050         * include/netdb.h: Likewise.
11051         * include/pwd.h: Likewise.
11052         * include/rpc/netdb.h: Likewise.
11053         * include/sched.h: Likewise.
11054         * include/search.h: Likewise.
11055         * include/shadow.h: Likewise.
11056         * include/signal.h: Likewise.
11057         * include/stdio.h: Likewise.
11058         * include/stdlib.h: Likewise.
11059         * include/string.h: Likewise.
11060         * include/sys/socket.h: Likewise.
11061         * include/sys/stat.h: Likewise.
11062         * include/sys/statfs.h: Likewise.
11063         * include/sys/statvfs.h: Likewise.
11064         * include/sys/syslog.h: Likewise.
11065         * include/sys/time.h: Likewise.
11066         * include/sys/uio.h: Likewise.
11067         * include/time.h: Likewise.
11068         * include/unistd.h: Likewise.
11069         * include/utmp.h: Likewise.
11070         * include/wchar.h: Likewise.
11071         * include/wctype.h: Likewise.
11072         * inet/aliases.h: Likewise.
11073         * inet/arpa/inet.h: Likewise.
11074         * inet/netinet/ether.h: Likewise.
11075         * inet/netinet/in.h: Likewise.
11076         * intl/libintl.h: Likewise.
11077         * io/bits/fcntl2.h: Likewise.
11078         * io/fcntl.h: Likewise.
11079         * io/ftw.h: Likewise.
11080         * io/sys/poll.h: Likewise.
11081         * io/sys/stat.h: Likewise.
11082         * io/sys/statfs.h: Likewise.
11083         * io/sys/statvfs.h: Likewise.
11084         * io/utime.h: Likewise.
11085         * libio/bits/stdio.h: Likewise.
11086         * libio/bits/stdio2.h: Likewise.
11087         * libio/libio.h: Likewise.
11088         * libio/libioP.h: Likewise.
11089         * libio/stdio.h: Likewise.
11090         * locale/lc-ctype.c: Likewise.
11091         * locale/locale.h: Likewise.
11092         * login/utmp.h: Likewise.
11093         * malloc/arena.c: Likewise.
11094         * malloc/malloc.c: Likewise.
11095         * malloc/malloc.h: Likewise.
11096         * malloc/mcheck.c: Likewise.
11097         * malloc/mtrace.c: Likewise.
11098         * math/bits/mathcalls.h: Likewise.
11099         * math/fenv.h: Likewise.
11100         * math/math_private.h: Likewise.
11101         * misc/bits/error.h: Likewise.
11102         * misc/bits/syslog.h: Likewise.
11103         * misc/err.h: Likewise.
11104         * misc/error.h: Likewise.
11105         * misc/fstab.h: Likewise.
11106         * misc/mntent.h: Likewise.
11107         * misc/regexp.h: Likewise.
11108         * misc/search.h: Likewise.
11109         * misc/sgtty.h: Likewise.
11110         * misc/sys/mman.h: Likewise.
11111         * misc/sys/syslog.h: Likewise.
11112         * misc/sys/uio.h: Likewise.
11113         * misc/sys/xattr.h: Likewise.
11114         * misc/ttyent.h: Likewise.
11115         * nis/rpcsvc/ypclnt.h: Likewise.
11116         * nss/nss.h: Likewise.
11117         * posix/bits/unistd.h: Likewise.
11118         * posix/fnmatch.h: Likewise.
11119         * posix/glob.h: Likewise.
11120         * posix/sched.h: Likewise.
11121         * posix/spawn.h: Likewise.
11122         * posix/sys/wait.h: Likewise.
11123         * posix/unistd.h: Likewise.
11124         * posix/wordexp.h: Likewise.
11125         * pwd/pwd.h: Likewise.
11126         * resolv/netdb.h: Likewise.
11127         * resource/sys/resource.h: Likewise.
11128         * rt/aio.h: Likewise.
11129         * rt/bits/mqueue2.h: Likewise.
11130         * rt/mqueue.h: Likewise.
11131         * shadow/shadow.h: Likewise.
11132         * signal/signal.h: Likewise.
11133         * socket/send.c: Likewise.
11134         * socket/sendto.c: Likewise.
11135         * socket/sys/socket.h: Likewise.
11136         * stdio-common/printf.h: Likewise.
11137         * stdlib/bits/stdlib.h: Likewise.
11138         * stdlib/fmtmsg.h: Likewise.
11139         * stdlib/monetary.h: Likewise.
11140         * stdlib/stdlib.h: Likewise.
11141         * stdlib/ucontext.h: Likewise.
11142         * streams/stropts.h: Likewise.
11143         * string/argz.h: Likewise.
11144         * string/bits/string2.h: Likewise.
11145         * string/string.h: Likewise.
11146         * string/strings.h: Likewise.
11147         * sunrpc/rpc/auth.h: Likewise.
11148         * sunrpc/rpc/auth_des.h: Likewise.
11149         * sunrpc/rpc/clnt.h: Likewise.
11150         * sunrpc/rpc/netdb.h: Likewise.
11151         * sunrpc/rpc/pmap_clnt.h: Likewise.
11152         * sunrpc/rpc/xdr.h: Likewise.
11153         * sysdeps/generic/inttypes.h: Likewise.
11154         * sysdeps/generic/net/if.h: Likewise.
11155         * sysdeps/generic/sys/swap.h: Likewise.
11156         * sysdeps/gnu/net/if.h: Likewise.
11157         * sysdeps/gnu/utmpx.h: Likewise.
11158         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11159         * sysdeps/i386/i486/bits/string.h: Likewise.
11160         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11161         * sysdeps/s390/bits/string.h: Likewise.
11162         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11163         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11164         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11165         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11166         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11167         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11168         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11169         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11170         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11171         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11172         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11173         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11174         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11175         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11176         * sysdeps/unix/sysv/linux/readv.c: Likewise.
11177         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11178         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11179         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11180         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11181         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11182         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11183         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11184         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11185         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11186         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11187         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11188         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11189         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11190         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11191         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11192         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11193         * sysvipc/sys/ipc.h: Likewise.
11194         * sysvipc/sys/msg.h: Likewise.
11195         * sysvipc/sys/sem.h: Likewise.
11196         * sysvipc/sys/shm.h: Likewise.
11197         * termios/termios.h: Likewise.
11198         * time/sys/time.h: Likewise.
11199         * time/time.h: Likewise.
11200         * wcsmbs/bits/wchar2.h: Likewise.
11201         * wcsmbs/uchar.h: Likewise.
11202         * wcsmbs/wchar.h: Likewise.
11203         * wctype/wctype.h: Likewise.
11205         [BZ #13551]
11206         * Makeconfig: Remove all but ELF support including AIX support.
11207         * Makerules: Likewise.
11208         * config.h.in: Likewise.
11209         * config.make.in: Likewise.
11210         * configure: Likewise.
11211         * configure.in: Likewise.
11212         * csu/Makefile: Likewise.
11213         * csu/version.c: Likewise.
11214         * debug/Makefile: Likewise.
11215         * dlfcn/Makefile: Likewise.
11216         * elf/Makefile: Likewise.
11217         * extra-lib.mk: Likewise.
11218         * iconv/Makefile: Likewise.
11219         * include/libc-symbols.h: Likewise.
11220         * include/shlib-compat.h: Likewise.
11221         * resolv/Makefile: Likewise.
11222         * resolv/res_libc.c: Likewise.
11223         * rt/Makefile: Likewise.
11224         * sysdeps/i386/asm-syntax.h: Likewise.
11225         * sysdeps/i386/sysdep.h: Likewise.
11226         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11227         * sysdeps/mach/sysdep.h: Likewise.
11228         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11229         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11230         * sysdeps/s390/asm-syntax.h: Likewise.
11231         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11232         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11233         * sysdeps/sh/sysdep.h: Likewise.
11234         * sysdeps/unix/sparc/sysdep.h: Likewise.
11235         * sysdeps/wordsize-32/divdi3.c: Likewise.
11236         * sysdeps/x86_64/sysdep.h: Likewise.
11238         * argp/Versions: Remove _argp_unlock_xxx.
11240         [BZ #13559]
11241         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
11242         * abilist/libBrokenLocale.abilist: Likewise.
11243         * abilist/libanl.abilist: Likewise.
11244         * abilist/libc.abilist: Likewise.
11245         * abilist/libcrypt.abilist: Likewise.
11246         * abilist/libdl.abilist: Likewise.
11247         * abilist/libm.abilist: Likewise.
11248         * abilist/libnsl.abilist: Likewise.
11249         * abilist/libpthread.abilist: Likewise.
11250         * abilist/libresolv.abilist: Likewise.
11251         * abilist/librt.abilist: Likewise.
11252         * abilist/libthread_db.abilist: Likewise.
11253         * abilist/libutil.abilist: Likewise.
11254         * abilist/libnss_db.abilist: New file.
11256         * scripts/abilist.awk: Add support for indirect functions.
11258         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11260         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11262         * shlib-versions: Remove entries for ports architectures.
11264         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
11265         files in ports.
11266         * elf/stackguard-macros.h: Remove support for IA-64.
11267         * elf/tst-auditmod1.c: Likewise.
11268         * sysdeps/generic/ldsodefs.h: Likewise.
11270         * sysdeps/unix/sysv/linux/configure.in: Ports should define
11271         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11272         configure files.
11274         [BZ #13552]
11275         * configure.in: Remove --enable-omitfp support.
11276         * FAQ.in: Adjust.
11277         * config.make.in: Likewise.
11278         * Makeconfig: Likewise.
11279         * manual/install.texi: Likewise.
11281         In case anyone cares, the IA-64 architecture could move to ports.
11282         * sysdeps/ia64/*: Removed.
11283         * sysdeps/unix/sysv/linux/ia64/*: Removed.
11284         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11286         [BZ #13555]
11287         * configure.in: Remove entries for unsupported architectures.
11289         [BZ #13533]
11290         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11291         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
11292         routines.
11293         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11294         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11295         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
11296         fall back to using wcrtomb.
11297         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11298         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
11299         renaming.
11300         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11301         * wcsmbs/tst-c16c32-1.c: New file.
11303         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11304         local variable.
11306         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11308         * elf/tst-unique3.cc: Add explicit declaration of gets.
11309         * elf/tst-unique3lib.cc: Likewise.
11310         * elf/tst-unique3lib2.cc: Likewise.
11311         * elf/tst-unique4.cc: Likewise.
11313         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11315 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
11317         [BZ #13566]
11318         * assert/assert.h (static_assert): Don't define for C++.
11319         * libio/stdio.h (gets): Do declare for C++ <= C++11.
11320         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11322 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
11324         * iconv/loop.c (single loop): Fix assertion in storing of
11325         remaining bytes.
11327         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11329 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
11331         * posix/getconf.c: Update copyright year.
11332         * nss/getent.c: Likewise.
11333         * nss/makedb.c: Likewise.
11334         * iconv/iconvconfig.c: Likewise.
11335         * iconv/iconv_prog.c: Likewise.
11336         * elf/ldconfig.c: Likewise.
11337         * elf/pldd.c: Likewise.
11338         * elf/sotruss.ksh: Likewise.
11339         * catgets/gencat.c: Likewise.
11340         * csu/version.c: Likewise.
11341         * elf/ldd.bash.in: Likewise.
11342         * elf/sprof.c (print_version): Likewise.
11343         * locale/programs/locale.c: Likewise.
11344         * locale/programs/localedef.c: Likewise.
11345         * login/programs/pt_chown.c: Likewise.
11346         * nscd/nscd.c (print_version): Likewise.
11347         * debug/xtrace.sh: Likewise.
11348         * malloc/memusage.sh: Likewise.
11349         * malloc/mtrace.pl: Likewise.
11350         * debug/catchsegv.sh: Likewise.
11352 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
11354         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11355         pure attribute.
11357 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
11359         [BZ #13533]
11360         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11361         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11362         transformations.
11363         * iconv/gconv_int.h: Likewise.
11364         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11365         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11366         from libc for GLIBC_2.16.
11367         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11368         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11369         * wcsmbs/uchar.h: Really define mbstate_t.
11370         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11371         * wcsmbs/c16rtomb.c: New file.
11372         * wcsmbs/mbrtoc16.c: New file.
11373         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11374         for C/POSIX locale.
11375         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11376         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11378         * wcsmbs/wchar.h: Add missing __restrict.
11380 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
11382         [BZ #13532]
11383         * time/Makefile (routines): Add timespec_get.
11384         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11385         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
11386         timespec for ISO C11.
11387         * time/timespec_get.c: New file.
11388         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11389         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11391         [BZ #13531]
11392         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11393         * stdlib/stdlib.h: Declare aligned_alloc.
11394         * Versions.def: Add GLIBC_2.16 for libc.
11395         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11397         [BZ 13527]
11398         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11399         ISO C11.
11401         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11402         code.
11404         [BZ #13528]
11405         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11407         [BZ #13529]
11408         * assert/assert.h (static_assert): Define.
11410         * version.h: Update for 2.16 development version.
11412         [BZ #13526]
11413         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11414         _ISOC11_SOURCE.
11416         * version.h (RELEASE): Bump for 2.15 release.
11417         * include/features.h (__GLIBC_MINOR__): Bump to 15.
11419         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11420         Patch by Marek Polacek <mpolacek@redhat.com>.
11422         * bits/byteswap.h: Protect long long constants with __extension__.
11423         * sysdeps/i386/bits/byteswap.h: Likewise.
11424         * sysdeps/ia64/bits/byteswap.h: Likewise.
11425         * sysdeps/s390/bits/byteswap.h: Likewise.
11426         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11428 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11430         [BZ #13540]
11431         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11432         destination buffer.
11433         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11435 2011-12-23  Marek Polacek  <polacek@redhat.com>
11437         * elf/dl-addr.c (determine_info): Add inline keyword.
11438         * elf/tst-auditmod4b.c (check_avx): Likewise.
11439         * elf/tst-auditmod6b.c (check_avx): Likewise.
11440         * elf/tst-auditmod6c.c (check_avx): Likewise.
11441         * elf/tst-auditmod7b.c (check_avx): Likewise.
11443 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
11445         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11446         !__SSE_MATH__.
11448 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11450         [BZ #13540]
11451         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11452         processing for last bytes.
11454 2011-08-06  Bruno Haible  <bruno@clisp.org>
11456         [BZ #13061]
11457         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11458         U+0385, not to U+1FEE.
11460         [BZ #13062]
11461         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11462         entry for U+00A5 U+0301.
11464 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
11466         [BZ #13166]
11467         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11468         buffer for the output is too small.
11470         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11471         optimization.
11473         [BZ #13185]
11474         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11475         SSE flags if possible.
11477 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11479         [BZ #13540]
11480         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11481         processing for last bytes.
11483 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
11485         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11486         (syscall-list-default-options, syscall-list-default-condition)
11487         (syscall-list-includes): Define.
11488         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11489         list of ABIs and options and #if conditions for each ABI.  Do not
11490         handle common syscalls between ABIs specially.
11491         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11492         Remove.
11493         (syscall-list-variants, syscall-list-32bit-options)
11494         (syscall-list-32bit-condition, syscall-list-64bit-options)
11495         (syscall-list-64bit-condition): Define.
11496         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11497         (syscall-list-variants, syscall-list-32bit-options)
11498         (syscall-list-32bit-condition, syscall-list-64bit-options)
11499         (syscall-list-64bit-condition): Define.
11500         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11501         Remove.
11502         (syscall-list-variants, syscall-list-32bit-options)
11503         (syscall-list-32bit-condition, syscall-list-64bit-options)
11504         (syscall-list-64bit-condition): Define.
11505         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11506         Remove.
11507         (syscall-list-variants, syscall-list-32bit-options)
11508         (syscall-list-32bit-condition, syscall-list-64bit-options)
11509         (syscall-list-64bit-condition): Define.
11511 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
11513         * locale/iso-639.def: Add brx entry.
11515         [BZ #13328]
11516         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11517         Proposed by Mariusz_Cukr <marcukr@op.pl>.
11519         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11520         __feraiseexcept_renamed.
11522 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
11524         [BZ #13538]
11525         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11526         EPOLLET with unsigned values.
11527         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11528         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11530         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11531         to large cancellation.
11532         * math/s_cacoshf.c: Likewise.
11533         * math/s_cacoshl.c: Likewise.
11535 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
11537         [BZ #13305]
11538         [BZ #12786]
11539         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11540         * math/s_cacoshf.c: Likewise.
11541         * math/s_cacoshl.c: Likewise.
11543 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
11545         [BZ #13439]
11546         * iconv/gconv.h: Define __GCONV_SWAP.
11547         * iconvdata/unicode.c: The swap bit must be stored in __flags.
11548         * iconvdata/utf-16.c: Likewise.
11549         * iconvdata/utf-32.c: Likewise.
11551 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
11553         [BZ #13524]
11554         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11555         numerator after shifting it by one limb.
11557 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
11559         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11560         under [__USE_EXTERN_INLINES].
11562 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
11564         [BZ #13446]
11565         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11567 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11569         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11570         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11571         optimized code.
11572         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11573         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11574         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11575         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11576         for strncasecmp/strncasecmp_l compilation.
11577         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11578         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11580 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
11582         [BZ #13484]
11583         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11584         of __asm__.
11586 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
11588         [BZ #13506]
11589         * time/tzfile.c (__tzfile_read): Check values from file header.
11591 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
11593         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11594         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11595         * powerpc/powerpc32/dl-start.S: Likewise.
11596         * powerpc/powerpc32/elf/start.S: Likewise.
11597         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11598         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11599         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11600         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11601         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11602         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11603         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11604         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11605         * powerpc/powerpc32/fpu/s_round.S: Likewise.
11606         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11607         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11608         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11609         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11610         * powerpc/powerpc32/memset.S: Likewise.
11611         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11612         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11613         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11614         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11615         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11616         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11617         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11618         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11619         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11620         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11621         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11622         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11623         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11625 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11627         * math/libm-test.inc: Added more nearbyint tests.
11628         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11629         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11630         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11631         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11633 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
11635         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11636         FD_CLOEXEC.
11638 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11640         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11641         Add wcscpy-ssse3 wcscpy-c.
11642         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11643         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11644         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11645         * sysdeps/x86_64/wcschr.S: New file.
11646         * sysdeps/x86_64/wcsrchr.S: New file.
11647         * string/test-strcmp.c: Remove checking of wcscmp function for
11648         wrong alignments.
11649         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11650         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11651         wcsrchr-sse2 wcsrchr-c.
11652         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11653         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11654         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11655         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11656         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11657         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11658         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11659         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11660         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11661         * wcsmbc/wcschr.c (WCSCHR): New macro.
11663 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11665         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11666         * wcsmbs/test-wcsrchr.c: New file.
11667         * string/test-strrchr.c: Add wcsrchr support.
11668         (WIDE): New macro.
11669         * wcsmbs/test-wcscpy.c: New file.
11670         * string/test-strcpy.c: Add wcscpy support.
11671         (WIDE): New macro.
11673 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
11675         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11676         the inner loop.
11678 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
11680         [BZ #13472]
11681         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11683 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
11685         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11686         Minor optimizations.
11688         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11689         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11690         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11692 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
11694         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11695         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11696         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11697         for gcc to avoid warnings.
11698         * inet/Makefile (tests): Add tst-checks.
11699         * inet/tst-checks.c: New file.
11701         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11702         warning.
11704         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11705         __wmemcmp_sse2.
11707         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11708         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11710         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11712 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
11714         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11715         problem.
11717         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11719 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
11721         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11722         conditional on GCC version.
11723         (__arch_compare_and_exchange_val_8_acq)
11724         (__arch_compare_and_exchange_val_16_acq)
11725         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11726         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11727         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11729 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
11731         * sysdeps/sh/backtrace.c: New file.
11733 2011-12-02  Andreas Schwab  <schwab@redhat.com>
11735         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
11736         parenthesis.
11738 2011-12-01  Andreas Schwab  <schwab@redhat.com>
11740         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11741         falling back to utime.
11743 2011-11-30  Andreas Schwab  <schwab@redhat.com>
11745         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11746         expectations for float.
11748 2011-11-29  Andreas Schwab  <schwab@redhat.com>
11750         * locale/weight.h (findidx): Add parameter len.
11751         * locale/weightwc.h (findidx): Likewise.
11752         * posix/fnmatch_loop.c (FCT): Adjust caller.
11753         * posix/regcomp.c (build_equiv_class): Likewise.
11754         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11755         * posix/regexec.c (check_node_accept_bytes): Likewise.
11756         * string/strcoll_l.c (STRCOLL): Likewise.
11757         * string/strxfrm_l.c (STRXFRM): Likewise.
11759 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
11761         * Makefile.in: Remove CVSOPT handling.
11762         * configure.in: Remove use of AC_REVISION.
11763         * iconvdata/Makefile (distribute): No need to filter out CVS.
11764         * scripts/list-sources.sh: Remove CVS, subversion and monotone
11765         handling.
11767 2011-11-16  Andreas Schwab  <schwab@redhat.com>
11769         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11770         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11771         [USE_AS_STRNCASECMP_L]: Likewise.
11772         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11773         NO_TLS_DIRECT_SEG_REFS.
11774         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11775         Fix argument offsets for non-PIC.
11776         [USE_AS_STRNCASECMP_L]: Likewise.
11777         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11778         NO_TLS_DIRECT_SEG_REFS.
11780 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
11782         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11783         O_CLOEXEC.
11784         * locale/loadlocale.c (_nl_load_locale): Likewise.
11786 2011-11-15  Andreas Schwab  <schwab@redhat.com>
11788         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11789         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11790         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11791         (SYSCALL_GETTIME): Set errno on error.
11793         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11794         count references to noai6ai_cached.
11796 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
11798         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11800         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11801         FD_CLOEXEC for /proc/self/maps.
11803         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11804         FD_CLOEXEC for /proc/meminfo.
11806         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11807         gai.conf.
11809         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
11810         FD_CLOEXEC for given file.
11812         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11814         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11815         FD_CLOEXEC for /etc/hosts.
11816         (_gethtent): Likewise.
11818         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11820         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11821         cancellation and set FD_CLOEXEC for /etc/netgroup.
11823         * nss/nss_files/files-key.c (search): Don't allow cancellation when
11824         reading /etc/publickey.
11826         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11827         allow cancellation when reading /etc/group.
11829         * nss/nss_files/files-alias.c (internal_setent): Don't allow
11830         cancellation.
11831         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
11833         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11834         when using data file.
11836         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11838         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11839         (write_nis_obj): Use "c" and "e" in fopen.
11841         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11843         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11845         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11847         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11849         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11850         locale.alias.
11852         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11854         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11856         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11858         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11859         file parsing and set FD_CLOEXEC.
11861 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
11863         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11865 2011-11-14  Andreas Schwab  <schwab@redhat.com>
11867         * malloc/arena.c (arena_get2): Don't call reused_arena when
11868         _int_new_arena failed.
11870 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
11872         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11873         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11874         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11875         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11876         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11877         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11878         to compile strcasecmp and strncasecmp.
11879         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11880         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11882         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11884 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
11886         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11887         locale-defines.sym to gen-as-const-headers.
11888         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11889         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11890         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11891         to compile strcasecmp and strncasecmp.
11892         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11893         strcasecmp_l and strncasecmp_l.
11894         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11895         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11896         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11897         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11898         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11899         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11900         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11901         * sysdeps/i386/i686/multiarch/strncase.S: New file.
11902         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11903         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11904         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11906 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
11908         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11909         result of SYSDEP_GETTIME_CPU to retval.
11910         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11911         parameter list to macro.  Remove trailing semicolon.  Adjust users.
11913         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11914         variable.
11916         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11917         mantissa words.
11918         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11920         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11921         from unused variable.
11923         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11924         DWARF definitions.
11925         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11926         for assembling.
11928         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11929         over namespaces.
11931         * sunrpc/rpc_prot.c (rejected): Fix case value.
11933         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11934         unsigned long long int to avoid warnings in shift.
11936         * posix/regex_internal.c (re_string_reconstruct): Actually use result
11937         of use of trans.
11938         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11939         variable tmp.
11941         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11942         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11943         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11945         * nis/nis_table.c (nis_list): Use variable of correct type for
11946         result of __follow_path call.
11948 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11950         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11951         of math functions ceil, trunc, floor, round, and sqrt, when
11952         avaliable on the platform.
11953         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11954         name clash.
11955         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11956         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11957         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11959 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
11961         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11962         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11964 2011-11-11  Roland McGrath  <roland@hack.frob.com>
11966         * include/unistd.h: Fix __readlink return type.
11967         Reported by Chris Metcalf <cmetcalf@tilera.com>.
11969 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
11971         * stdlib/ucontext.h: Undo last change for makecontext.
11973 2011-11-11  Andreas Schwab  <schwab@redhat.com>
11975         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11977         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11978         * setjmp/setjmp.h: Mark functions as non-leaf.
11979         * setjmp/bits/setjmp2.h: Likewise.
11980         * stdlib/ucontext.h: Likewise.
11982 2011-11-10  Andreas Schwab  <schwab@redhat.com>
11984         * malloc/arena.c (_int_new_arena): Don't increment narenas.
11985         (reused_arena): Don't check arena limit.
11986         (arena_get2): Atomically check arena limit.
11988 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
11990         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11991         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11993         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11994         instructions.
11996 2011-11-07  Andreas Schwab  <schwab@redhat.com>
11998         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11999         handler when locking.
12001         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12002         Fix size of allocated buffer.
12004 2011-11-04  Andreas Schwab  <schwab@redhat.com>
12006         [BZ #10103]
12007         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12008         declarations for long double functions.
12009         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12011         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12013 2011-11-03  Andreas Schwab  <schwab@redhat.com>
12015         * nscd/nscd.c (main): Don't start AVC thread until credentials are
12016         installed.
12018         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12019         is disabled.
12021 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12023         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12025 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12027         * include/alloca.h (stackinfo_alloca_round): Define.
12028         (extend_alloca): Use it.
12029         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12030         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12031         here.
12033         * scripts/check-local-headers.sh: Ignore libaudit.h.
12035         * nscd/Makefile (extra-objs): Make recursively expanded.
12037 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
12039         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12040         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12042         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12043         * posix/tst-rfc3484-2.c: Likewise.
12044         * posix/tst-rfc3484-3.c: Likewise.
12046         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12047         process_vm_writev.
12048         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12049         process_vm_writev.
12050         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12051         process_vm_writev from libc using GLIBC_2.15 version.
12053         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12055 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
12057         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12058         stack usage.
12060 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
12062         [BZ #13367]
12063         * nss/getent.c (initgroups_keys): Show error message in case no group
12064         names are given.
12066         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12067         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12068         __bump_nl_timestamp.
12069         * nscd/connections (nscd_init): When host database is served open
12070         netlink socket and request notification about configuration changes.
12071         (main_loop_poll): Track netlink file descriptor and bump timestamp
12072         in case data becomes available.
12073         (main_loop_epoll): Likewise.
12074         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12075         (database_pers_head): Add extra_data fileds.
12076         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12077         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12078         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12079         Adjust caller.
12080         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12081         in6ai data, call __free_in6ai.
12082         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12083         Add -DHAVE_NETLINK.
12084         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
12085         interface information.  Reuse previous data if netlink timestamp
12086         is not changed.
12087         (__bump_nl_timestamp): New function.
12088         (__free_in6ai): New function.
12090 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
12092         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12093         close_not_cancel_no_status here.
12094         (__check_pf): Reorganize code a bit to not call close twice if OOM.
12096 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
12098         [BZ #13276]
12099         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12100         return value.
12102         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12103         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12104         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12106 2011-07-03  Andreas Jaeger  <aj@suse.de>
12108         [BZ #10709]
12109         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12110         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12111         * math/libm-test.inc (sin_test): Add test case.
12113 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
12115         [BZ #13337]
12116         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12117         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12119         * elf/chroot_canon.c (chroot_canon): Cleanups.
12121         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12123         [BZ #13335]
12124         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12125         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12127         * string/test-strchr.c: Make usable for strchrnul testing.
12128         * string/test-strchrnul.c: New file.
12129         * string/Makefile (strop-tests): Add strchrnul.
12131         * po/it.po: Update from translation team.
12132         * po/es.po: Likewise.
12134 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
12136         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12137         the three constants needed as parameters.  Drop the others.
12138         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12139         __m128i_strloadu_tolower.
12140         Create and initialize variable zero and use it in all the places
12141         where _mm_setzero_si128 was used.
12143         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12144         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12145         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12146         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12147         anymore.
12148         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12149         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12150         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12151         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12152         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12153         __mpranred, __mptan.
12154         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12155         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12156         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12157         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12158         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12159         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12160         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12161         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12162         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12164 2011-10-28  Andreas Schwab  <schwab@redhat.com>
12166         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12167         redefine if SHARED.
12168         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12170         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12171         wide char related routines to wcsmbs subdir.
12173 2011-10-27  Andreas Schwab  <schwab@redhat.com>
12175         [BZ #13344]
12176         * misc/sys/cdefs.h (__THROWNL): Define.
12177         * posix/unistd.h: Use __THREADNL instead of __THREAD
12178         for memory synchronization functions.
12180 2011-10-26  Roland McGrath  <roland@hack.frob.com>
12182         [BZ #13349]
12183         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12184         doesn't exist.
12185         * manual/stdio.texi (Obstack Streams): Node removed.
12187 2011-10-26  Andreas Schwab  <schwab@redhat.com>
12189         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12190         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12191         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12193         * math/math_private.h (math_force_eval): Allow non-addressable
12194         arguments.
12195         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12197 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
12199         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12200         file is not needed.
12202         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12203         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12204         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12205         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12206         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12207         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12208         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12209         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12210         Add AVX variants.
12211         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12212         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12213         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12214         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12215         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12216         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12217         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12218         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12219         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12220         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12221         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12222         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12223         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12224         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12225         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12226         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12227         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12228         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12229         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12231         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12232         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
12234         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12235         place.  Use VEX encoding when compiling for AVX.
12237 2011-10-25  Andreas Schwab  <schwab@redhat.com>
12239         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12240         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12242         * string/test-strchr.c (do_test): Don't generate NUL bytes.
12244 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
12246         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12247         useless if() expression.
12248         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12249         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12250         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12251         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12252         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12253         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12254         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12255         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12256         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12257         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12258         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12259         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12260         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12261         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12262         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12263         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12264         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12265         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12266         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12268         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12270 2011-10-25  Andreas Schwab  <schwab@redhat.com>
12272         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12273         condition.
12274         * elf/dl-fini.c (_dl_sort_fini): Likewise.
12276 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
12278         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12279         .text section.  Avoid duplicate constants.
12280         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12281         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12282         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12283         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12284         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12285         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12286         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12287         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12288         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12289         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12290         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12291         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12292         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12293         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12294         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12295         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12296         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12297         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12298         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12299         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12300         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12301         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12302         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12303         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12304         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12305         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12306         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12307         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12308         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12309         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12310         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12311         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12312         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12313         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12314         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12315         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12316         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12317         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12318         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12319         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12320         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12321         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12322         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12323         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12324         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12326 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
12328         * sysdeps/x86_64/dla.h: Move to ...
12329         * sysdeps/x86_64/fpu/dla.h: ...here.
12330         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12331         situations.  Use __builtin_fma only for gcc 4.6 and up.
12333         * config.make.in: Add have-mfma4 entry.
12334         * configure.in: Substitute libc_cv_cc_fma4.
12335         * math/Makefile (dbl-only-routines): Add sincostab.
12336         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12337         Use __sincostab not sincos.
12338         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12339         name is a macro.
12340         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12341         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12342         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12343         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
12344         using __copysign.
12345         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
12346         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
12347         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12348         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12349         and __inv.
12350         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12351         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12352         __copysign.
12353         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
12354         define aliases when function name is a macro.
12355         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12356         sysdeps/ieee754/dbl-64/sincos.tbl.
12357         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12358         fma4-enabled routines.
12359         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12360         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12361         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12362         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12363         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12364         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12365         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12366         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12367         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12368         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12369         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12370         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12371         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12372         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12373         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12374         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12375         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12376         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12377         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12378         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12379         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12380         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12381         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12382         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12383         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12384         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12385         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12386         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12387         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12388         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12390         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12391         rename.
12392         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12393         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12394         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12396         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12397         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12398         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12399         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12401 2011-10-24  Andreas Schwab  <schwab@redhat.com>
12403         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12405 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
12407         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12409         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12410         prediction.
12411         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12413         * string/strnlen.c: Don't define STRNLEN, reverse logic.
12414         Remove unused variable magic_bits.
12415         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12417         * string/strnlen.c: Define and use STRNLEN macro.
12418         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12419         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12420         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12421         * wcsmbs/wcslen.c: Define and use WCSLEN.
12422         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12423         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12424         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12425         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12426         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12427         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12428         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12430 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12432         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12433         strnlen-sse2-no-bsf.
12434         Rename strlen-no-bsf to strlen-sse2-no-bsf.
12435         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12436         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12437         Add strnlen support.
12438         (USE_AS_STRNLEN): New macro.
12439         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12440         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12441         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12442         * sysdeps/x86_64/wcslen.S: New file.
12444 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
12446         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12447         XMM-moves are used for copying on small sizes.
12449 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12451         * wcsmbs/Makefile (strop-tests): Add wcschr.
12452         * wcsmbs/test-wcschr.c: New file.
12453         * string/test-strchr.c: Update.
12454         Add wcschr support.
12455         (WIDE): New macro.
12457 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12459         * wcsmbs/Makefile (strop-tests): Add wcslen.
12460         * wcsmbs/test-wcslen.c: New file.
12461         * string/test-strlen.c: Update.
12462         Add wcslen support.
12463         (WIDE): New macro.
12465 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
12467         * po/it.po: Update from translation team.
12469 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12471         * sysdeps/x86_64/wcscmp.S: Update.
12472         Fix wrong comparison semantics.
12473         wcscmp shall use signed comparison not unsigned.
12474         Don't use substraction to avoid overflow bug.
12475         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12476         * wcsmbc/wcscmp.c: Likewise.
12477         * string/test-strcmp.c: Likewise.
12478         Add new tests to check cases with negative values.
12480 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
12482         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12483         * sysdeps/x86_64/dla.h: ...here.  New file.
12484         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12485         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12486         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12487         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12488         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12489         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12490         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12491         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12492         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12494 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
12496         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12497         __ynl_finite aliases.
12499 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
12501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12503         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12504         define DLA_FMA.
12505         [DLA_FMA] (EMULV): Use DLA_FMA.
12506         [DLA_FMA] (MUL12): Use EMULV.
12507         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12508         that are not needed.
12509         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12510         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12511         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12512         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12513         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12514         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12515         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12517 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
12519         * math/s_nan.c: Undef __nan.
12520         * math/s_nanf.c: Undef __nanf.
12521         * math/s_nanl.c: Undef __nanl.
12522         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12523         "math_private.h".
12525 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
12527         * math/s_catan.c: Add branch predictions.
12528         * math/s_catanf.c: Likewise.
12529         * math/s_catanh.c: Likewise.
12530         * math/s_catanhf.c: Likewise.
12531         * math/s_catanhl.c: Likewise.
12532         * math/s_catanl.c: Likewise.
12533         * math/s_cexp.c: Likewise.
12534         * math/s_cexpf.c: Likewise.
12535         * math/s_cexpl.c: Likewise.
12536         * math/s_clog.c: Likewise.
12537         * math/s_clog10.c: Likewise.
12538         * math/s_clog10f.c: Likewise.
12539         * math/s_clog10l.c: Likewise.
12540         * math/s_clogf.c: Likewise.
12541         * math/s_clogl.c: Likewise.
12542         * math/s_csqrt.c: Likewise.
12543         * math/s_csqrtf.c: Likewise.
12544         * math/s_csqrtl.c: Likewise.
12545         * math/s_ctanf.c: Likewise.
12546         * math/s_ctanh.c: Likewise.
12547         * math/s_ctanhf.c: Likewise.
12548         * math/s_ctanhl.c: Likewise.
12549         * math/s_ctanl.c: Likewise.
12551         * math/math_private.h: Define __nan, __nanf, __nanl.
12552         * math/s_cacosh.c: Include <math_private.h>.
12553         * math/s_cacoshl.c: Likewise.
12554         * math/s_casinh.c: Likewise.
12555         * math/s_casinhf.c: Likewise.
12556         * math/s_casinhl.c: Likewise.
12557         * math/s_ccos.c: Rely entire on ccosh.
12558         * math/s_ccosf.c: Rely entire on ccoshf.
12559         * math/s_ccosl.c: Rely entirely on ccoshl.
12560         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
12561         Remove tests for FE_INVALID.
12562         * math/s_ccoshf.c: Likewise.
12563         * math/s_ccoshl.c: Likewise.
12564         * math/s_csin.c: Likewise.
12565         * math/s_csinf.c: Likewise.
12566         * math/s_csinh.c Likewise.
12567         * math/s_csinhf.c: Likewise.
12568         * math/s_csinhl.c: Likewise.
12569         * math/s_csinl.c: Likewise.
12570         * math/s_ctan.c: Likewise.
12571         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12572         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12573         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12575 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
12577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12578         compilation problems.
12580         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12581         __builtin_expect.
12583 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
12585         * sysdeps/i386/configure.in: Test for -mfma4 option.
12586         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12587         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12588         COMMON_CPUID_INDEX_80000001.
12589         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12590         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12591         use it if FMA3 is not supported.
12592         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12594         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12595         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12597 2011-10-20  Andreas Schwab  <schwab@redhat.com>
12599         [BZ #12892]
12600         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12601         it would create a cycle with a link time dependency.
12603 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
12605         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12606         instruction.
12607         * string/Makefile (strop-tests): Add rawmemchr.
12608         * string/test-rawmemchr.c: New file.
12610         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12611         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
12612         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
12613         when compiling str{,n}casecmp and when AVX is available.  Hook up
12614         new optimized code in initializers.
12616 2011-10-19  Andreas Schwab  <schwab@redhat.com>
12618         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12619         __feraiseexcept instead of feraiseexcept.
12621 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
12623         * math/math_private.h: Define defaults for libc_fetestexcept and
12624         libc_feupdateenv.
12625         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12626         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12627         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12628         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12629         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12630         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12631         libc_fetestexcept and libc_feupdateenv.
12633         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12634         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12635         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12636         * sysdeps/x86_64/fpu/math_private.h: Define special version of
12637         libc_feholdexcept_setround.
12639         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12640         Add s_nearbyint-c and s_nearbyintf-c.
12641         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12642         nearbyintf inlines.
12643         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12644         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12645         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12646         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12648         * math/math_private.h: Define defaults for libc_fegetround,
12649         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12650         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12651         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12652         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12653         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12654         standard functions.
12655         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12656         Remove comments and hacks for old compiler versions.
12657         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12658         libc_fegetround, libc_fesetround, libc_feholdexcept, and
12659         libc_feholdexceptl.
12661 2011-10-18  Andreas Schwab  <schwab@redhat.com>
12663         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12664         (__feraiseexcept_renamed): Add __NTH.
12665         (feraiseexcept): Add __NTH.  Rename local variables to fix
12666         namespace violations.
12668 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
12670         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12672         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12674         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12675         recently added interfaces.
12676         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12678         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12679         about macro parameter expansion.
12681         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12682         __NO_MATH_INLINES is defined.  Cleanups.
12684         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12685         and __floorf is target has SSE4.1.
12686         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12687         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12688         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12689         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12691         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12692         name.
12693         (floorf): Likewise.
12695         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12697 2011-10-17  Andreas Schwab  <schwab@redhat.com>
12699         * misc/sys/cdefs.h: Fix last change.
12701         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12702         database lookup.
12704 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
12706         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12708         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12709         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12710         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12711         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12712         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12713         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12714         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12715         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12716         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12717         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12718         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12719         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12720         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12721         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12722         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12723         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12724         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12725         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12726         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12727         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12728         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12729         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12731         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12732         ceil, ceilf, floor, floorf.
12734         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12735         Perform IRELATIVE relocations last.
12737         * elf/do-rel.h: Add another parameter nrelative, replacing the
12738         local variable with the same name.  Change name of the function
12739         to end in Rel or Rela (uppercase).
12740         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12741         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
12742         elf_dynamic_do_##reloc function.
12744 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
12746         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12747         is sufficient, at least on modern CPUs.
12749         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12751         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12752         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12754         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12755         __expl_finite.
12756         * math/bits/math-finite.h: Add entries for exp.
12757         * math/e_expl.c: Add __*_finite alias.
12758         * sysdeps/i386/fpu/e_exp.S: Likewise.
12759         * sysdeps/i386/fpu/e_expf.S: Likewise.
12760         * sysdeps/i386/fpu/e_expl.c: Likewise.
12761         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12762         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12763         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12764         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12765         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12766         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12767         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12769         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12770         is sufficient, at least on modern CPUs.
12772         * ctype/ctype-info.c (__ctype_init): Define.
12773         * include/ctype.h (__ctype_init): Declare.
12774         (__ctype_b_loc): The variable is always initialized.
12775         (__ctype_toupper_loc): Likewise.
12776         (__ctype_tolower_loc): Likewise.
12777         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12778         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12780 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
12782         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12784         * configure.in: Also look in $cxxmachine/include for C++ system
12785         headers.
12787 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12789         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12790         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12791         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12792         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
12793         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12794         (USE_AS_WMEMCMP): New macro.
12795         Fixing indents.
12796         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12797         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12798         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12799         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12800         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12801         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12802         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12803         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12804         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12805         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12806         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12807         (USE_AS_WMEMCMP): New macro.
12808         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12809         * sysdeps/string/test-memcmp.c: Update.
12810         Fix simple_wmemcmp.
12811         Add new tests.
12812         * wcsmbs/wmemcmp.c: Update.
12813         (WMEMCMP): New macro.
12814         Fix overflow bug.
12816 2011-10-12  Andreas Jaeger  <aj@suse.de>
12818         [BZ #13268]
12819         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12821 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
12823         * libio/iofwide.c (do_length): Avoid warning.
12825         * ctype/ctype.h (__isctype_f): Add missing __THROW.
12827 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
12829         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12831         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12832         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12833         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12834         * sysdeps/i386/i686/fpu/e_log.S: New file.
12835         * sysdeps/i386/i686/fpu/e_logf.S: New file.
12836         * sysdeps/i386/i686/fpu/e_logl.S: New file.
12838         * ctype/ctype.h: Add support for inlined isXXX functions when
12839         compiling C++ code.
12841 2011-10-14  Andreas Schwab  <schwab@redhat.com>
12843         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12845         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12847 2011-10-13  Roland McGrath  <roland@hack.frob.com>
12849         [BZ #13291]
12850         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12852 2011-10-13  Andreas Schwab  <schwab@redhat.com>
12854         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12855         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12856         feraiseexcept.
12858         * sysdeps/x86_64/memrchr.S: Check for zero size.
12860         * string/stratcliff.c: Add memrchr tests.
12862 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12864         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12865         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12866         rawmemchr-sse2 rawmemchr-sse2-bsf.
12867         * sysdeps/i386/i686/multiarch/memchr.S: New file.
12868         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12869         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12870         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12871         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12872         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12873         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12874         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12875         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12876         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12877         * string/memrchr.c (MEMRCHR): New macro.
12879 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
12881         Add integration with gcc's -ffinite-math-only and optimize wrapper
12882         functions in libm.
12883         * Versions.def: Define GLIBC_2.15 version for libm.
12884         * math/Makefile (headers): Add bits/math-finite.h.
12885         * math/bits/math-finite.h: New file.
12886         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12887         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12888         * math/e_acoshl.c: Add __*_finite alias.
12889         * math/e_acosl.c: Likewise.
12890         * math/e_asinl.c: Likewise.
12891         * math/e_atan2l.c: Likewise.
12892         * math/e_atanhl.c: Likewise.
12893         * math/e_coshl.c: Likewise.
12894         * math/e_exp10.c: Likewise.
12895         * math/e_exp10f.c: Likewise.
12896         * math/e_exp10l.c: Likewise.
12897         * math/e_exp2l.c: Likewise.
12898         * math/e_fmodl.c: Likewise.
12899         * math/e_gammal_r.c: Likewise.
12900         * math/e_hypotl.c: Likewise.
12901         * math/e_j0l.c: Likewise.
12902         * math/e_j1l.c: Likewise.
12903         * math/e_jnl.c: Likewise.
12904         * math/e_lgammal_r.c: Likewise.
12905         * math/e_log10l.c: Likewise.
12906         * math/e_log2l.c: Likewise.
12907         * math/e_logl.c: Likewise.
12908         * math/e_powl.c: Likewise.
12909         * math/e_sinhl.c: Likewise.
12910         * math/e_sqrtl.c: Likewise.
12911         * math/e_scalb.c: Completely rewritten and optimized.
12912         * math/e_scalbf.c: Likewise.
12913         * math/e_scalbl.c: Likewise.
12914         * math/w_acos.c: Likewise.
12915         * math/w_acosf.c: Likewise.
12916         * math/w_acosl.c: Likewise.
12917         * math/w_acosh.c: Likewise.
12918         * math/w_acoshf.c: Likewise.
12919         * math/w_acoshl.c: Likewise.
12920         * math/w_asin.c: Likewise.
12921         * math/w_asinf.c: Likewise.
12922         * math/w_asinl.c: Likewise.
12923         * math/w_atan2.c: Likewise.
12924         * math/w_atan2f.c: Likewise.
12925         * math/w_atan2l.c: Likewise.
12926         * math/w_atanh.c: Likewise.
12927         * math/w_atanhf.c: Likewise.
12928         * math/w_atanhl.c: Likewise.
12929         * math/w_exp10.c: Likewise.
12930         * math/w_exp10f.c: Likewise.
12931         * math/w_exp10l.c: Likewise.
12932         * math/w_fmod.c: Likewise.
12933         * math/w_fmodf.c: Likewise.
12934         * math/w_fmodl.c: Likewise.
12935         * math/w_j0.c: Likewise.
12936         * math/w_j0f.c: Likewise.
12937         * math/w_j0l.c: Likewise.
12938         * math/w_j1.c: Likewise.
12939         * math/w_j1f.c: Likewise.
12940         * math/w_j1l.c: Likewise.
12941         * math/w_jn.c: Likewise.
12942         * math/w_jnf.c: Likewise.
12943         * math/w_log.c: Likewise.
12944         * math/w_logf.c: Likewise.
12945         * math/w_logl.c: Likewise.
12946         * math/w_log10.c: Likewise.
12947         * math/w_log10f.c: Likewise.
12948         * math/w_log10l.c: Likewise.
12949         * math/w_log2.c: Likewise.
12950         * math/w_log2f.c: Likewise.
12951         * math/w_log2l.c: Likewise.
12952         * math/w_pow.c: Likewise.
12953         * math/w_powf.c: Likewise.
12954         * math/w_powl.c: Likewise.
12955         * math/w_remainder.c: Likewise.
12956         * math/w_remainderf.c: Likewise.
12957         * math/w_remainderl.c: Likewise.
12958         * math/w_scalb.c: Likewise.
12959         * math/w_scalbf.c: Likewise.
12960         * math/w_scalbl.c: Likewise.
12961         * math/w_sqrt.c: Likewise.
12962         * math/w_sqrtf.c: Likewise.
12963         * math/w_sqrtl.c: Likewise.
12964         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12965         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
12966         used.
12967         * math/math_private.h: Declare __kernel_standard_f.
12968         * math/w_cosh.c: Remove cruft and optimize a bit.
12969         * math/w_coshf.c: Likewise.
12970         * math/w_coshl.c: Likewise.
12971         * math/w_exp2.c: Likewise.
12972         * math/w_exp2f.c: Likewise.
12973         * math/w_exp2l.c: Likewise.
12974         * math/w_hypot.c: Likewise.
12975         * math/w_hypotf.c: Likewise.
12976         * math/w_hypotl.c: Likewise.
12977         * math/w_lgamma.c: Likewise.
12978         * math/w_lgamma_r.c: Likewise.
12979         * math/w_lgammaf.c: Likewise.
12980         * math/w_lgammaf_r.c: Likewise.
12981         * math/w_lgammal.c: Likewise.
12982         * math/w_lgammal_r.c: Likewise.
12983         * math/w_sinh.c: Likewise.
12984         * math/w_sinhf.c: Likewise.
12985         * math/w_sinhl.c: Likewise.
12986         * math/w_tgamma.c: Likewise.
12987         * math/w_tgammaf.c: Likewise.
12988         * math/w_tgammal.c: Likewise.
12989         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12990         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12991         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12992         Minor optimizations.  Pretty printing.  Remove cruft.
12993         * sysdeps/i386/fpu/e_acosf.S: Likewise.
12994         * sysdeps/i386/fpu/e_acosh.S: Likewise.
12995         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12996         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12997         * sysdeps/i386/fpu/e_acosl.c: Likewise.
12998         * sysdeps/i386/fpu/e_asin.S: Likewise.
12999         * sysdeps/i386/fpu/e_asinf.S: Likewise.
13000         * sysdeps/i386/fpu/e_atan2.S: Likewise.
13001         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13002         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13003         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13004         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13005         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13006         * sysdeps/i386/fpu/e_exp10.S: Likewise.
13007         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13008         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13009         * sysdeps/i386/fpu/e_exp2.S: Likewise.
13010         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13011         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13012         * sysdeps/i386/fpu/e_fmod.S: Likewise.
13013         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13014         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13015         * sysdeps/i386/fpu/e_hypot.S: Likewise.
13016         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13017         * sysdeps/i386/fpu/e_log.S: Likewise.
13018         * sysdeps/i386/fpu/e_log10.S: Likewise.
13019         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13020         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13021         * sysdeps/i386/fpu/e_log2.S: Likewise.
13022         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13023         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13024         * sysdeps/i386/fpu/e_logf.S: Likewise.
13025         * sysdeps/i386/fpu/e_logl.S: Likewise.
13026         * sysdeps/i386/fpu/e_pow.S: Likewise.
13027         * sysdeps/i386/fpu/e_powf.S: Likewise.
13028         * sysdeps/i386/fpu/e_powl.S: Likewise.
13029         * sysdeps/i386/fpu/e_remainder.S: Likewise.
13030         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13031         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13032         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13033         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13034         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13035         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13036         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13037         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13038         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13039         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13040         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13041         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13042         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13043         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13044         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13045         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13046         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13047         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13048         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13049         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13050         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13051         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13052         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13053         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13054         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13055         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13056         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13057         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13058         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13059         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13060         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13061         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13062         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13063         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13064         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13065         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13066         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13067         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13068         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13069         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13070         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13071         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13072         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13073         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13074         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13075         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13076         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13077         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13078         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13079         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13080         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13081         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13082         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13083         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13084         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13085         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13086         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13087         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13088         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13089         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13090         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13091         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13092         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13093         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13094         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13095         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13096         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13097         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13098         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13099         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13100         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13101         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13102         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13103         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13104         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13105         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13106         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13107         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13108         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13109         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13110         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13111         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13112         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13113         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13114         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13115         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13116         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13117         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13118         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13119         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13120         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13121         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13122         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13123         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13124         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13125         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13126         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13127         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13128         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13129         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13130         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13131         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13132         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13133         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13134         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13135         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13136         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13137         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13138         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13139         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13140         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13141         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13142         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13143         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13144         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13145         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13146         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13147         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13148         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
13149         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13150         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13151         (__isnanf): Likewise.
13152         (__isinf_ns): Likewise.
13153         (__isinf_nsf): Likewise.
13154         (__finite): Likewise.
13155         (__finitef): Likewise.
13156         (__ieee754_sqrt): Define as macro.
13157         (__ieee754_sqrtf): Define as macro.
13158         (__ieee754_sqrtl): Define as macro.
13159         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13160         inlined copy.
13161         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13162         __FINITE_MATH_ONLY__ consistent.
13163         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13165 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
13167         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13168         of rawmemchr.
13170         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13172 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
13174         * po/ja.po: Update from translation team.
13176 2011-10-08  Roland McGrath  <roland@hack.frob.com>
13178         * locale/programs/locarchive.c (prepare_address_space): New function.
13179         (create_archive, enlarge_archive, open_archive): Use it.
13181         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13182         inside [SHARED], where it is used.
13184         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13186         * nss/getent.c (netgroup_keys): Remove unused variable.
13187         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13189 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
13191         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13192         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13193         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13194         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13195         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13196         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13197         * math/Makefile (libm-calls): Add s_isinf_ns.
13198         * math/divtc3.c: Use __isinf_nsl instead of isinf.
13199         * math/multc3.c: Likewise.
13200         * math/s_casin.c: Likewise.
13201         * math/s_casinf.c: Likewise.
13202         * math/s_casinl.c: Likewise.
13203         * math/s_ccos.c: Likewise.
13204         * math/s_ccosf.c: Likewise.
13205         * math/s_ccosl.c: Likewise.
13206         * math/s_ctan.c: Likewise.
13207         * math/s_ctanf.c: Likewise.
13208         * math/s_ctanh.c: Likewise.
13209         * math/s_ctanhf.c: Likewise.
13210         * math/s_ctanhl.c: Likewise.
13211         * math/s_ctanl.c: Likewise.
13212         * math/w_fmod.c: Likewise.
13213         * math/w_fmodf.c: Likewise.
13214         * math/w_fmodl.c: Likewise.
13215         * math/w_remainder.c: Likewise.
13216         * math/w_remainderf.c: Likewise.
13217         * math/w_remainderl.c: Likewise.
13218         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13219         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13220         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13221         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13222         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13223         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13224         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13225         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13227         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13228         of the number.
13229         * stdio-common/printf_fphex.c: Likewise.
13230         * stdio-common/printf_size.c: Likewise.
13232         * math/e_exp10.c: Include math_private.h using <...> not "...".
13233         * math/e_exp10f.c: Likewise.
13234         * math/e_exp10l.c: Likewise.
13235         * math/e_exp2l.c: Likewise.
13236         * math/e_j0l.c: Likewise.
13237         * math/e_j1l.c: Likewise.
13238         * math/e_jnl.c: Likewise.
13239         * math/e_lgammal_r.c: Likewise.
13240         * math/e_rem_pio2l.c: Likewise.
13241         * math/e_scalb.c: Likewise.
13242         * math/e_scalbf.c: Likewise.
13243         * math/e_scalbl.c: Likewise.
13244         * math/k_cosl.c: Likewise.
13245         * math/k_sinl.c: Likewise.
13246         * math/k_tanl.c: Likewise.
13247         * math/s_cacoshf.c: Likewise.
13248         * math/s_catan.c: Likewise.
13249         * math/s_catanf.c: Likewise.
13250         * math/s_catanh.c: Likewise.
13251         * math/s_catanhf.c: Likewise.
13252         * math/s_catanhl.c: Likewise.
13253         * math/s_catanl.c: Likewise.
13254         * math/s_ccosh.c: Likewise.
13255         * math/s_ccoshf.c: Likewise.
13256         * math/s_ccoshl.c: Likewise.
13257         * math/s_cexp.c: Likewise.
13258         * math/s_cexpf.c: Likewise.
13259         * math/s_cexpl.c: Likewise.
13260         * math/s_clog.c: Likewise.
13261         * math/s_clog10.c: Likewise.
13262         * math/s_clog10f.c: Likewise.
13263         * math/s_clog10l.c: Likewise.
13264         * math/s_clogf.c: Likewise.
13265         * math/s_clogl.c: Likewise.
13266         * math/s_csin.c: Likewise.
13267         * math/s_csinf.c: Likewise.
13268         * math/s_csinh.c: Likewise.
13269         * math/s_csinhf.c: Likewise.
13270         * math/s_csinhl.c: Likewise.
13271         * math/s_csinl.c: Likewise.
13272         * math/s_csqrt.c: Likewise.
13273         * math/s_csqrtf.c: Likewise.
13274         * math/s_csqrtl.c: Likewise.
13275         * math/s_ctan.c: Likewise.
13276         * math/s_ctanf.c: Likewise.
13277         * math/s_ctanh.c: Likewise.
13278         * math/s_ctanhf.c: Likewise.
13279         * math/s_ctanhl.c: Likewise.
13280         * math/s_ctanl.c: Likewise.
13281         * math/s_ldexp.c: Likewise.
13282         * math/s_ldexpf.c: Likewise.
13283         * math/s_ldexpl.c: Likewise.
13284         * math/s_significand.c: Likewise.
13285         * math/s_significandf.c: Likewise.
13286         * math/s_significandl.c: Likewise.
13287         * math/w_acos.c: Likewise.
13288         * math/w_acosf.c: Likewise.
13289         * math/w_acosh.c: Likewise.
13290         * math/w_acoshf.c: Likewise.
13291         * math/w_acoshl.c: Likewise.
13292         * math/w_acosl.c: Likewise.
13293         * math/w_asin.c: Likewise.
13294         * math/w_asinf.c: Likewise.
13295         * math/w_asinl.c: Likewise.
13296         * math/w_atan2.c: Likewise.
13297         * math/w_atan2f.c: Likewise.
13298         * math/w_atan2l.c: Likewise.
13299         * math/w_atanh.c: Likewise.
13300         * math/w_atanhf.c: Likewise.
13301         * math/w_atanhl.c: Likewise.
13302         * math/w_cosh.c: Likewise.
13303         * math/w_coshf.c: Likewise.
13304         * math/w_coshl.c: Likewise.
13305         * math/w_dremf.c: Likewise.
13306         * math/w_exp10.c: Likewise.
13307         * math/w_exp10f.c: Likewise.
13308         * math/w_exp10l.c: Likewise.
13309         * math/w_exp2.c: Likewise.
13310         * math/w_exp2f.c: Likewise.
13311         * math/w_fmod.c: Likewise.
13312         * math/w_fmodf.c: Likewise.
13313         * math/w_fmodl.c: Likewise.
13314         * math/w_hypot.c: Likewise.
13315         * math/w_hypotf.c: Likewise.
13316         * math/w_hypotl.c: Likewise.
13317         * math/w_j0.c: Likewise.
13318         * math/w_j0f.c: Likewise.
13319         * math/w_j0l.c: Likewise.
13320         * math/w_j1.c: Likewise.
13321         * math/w_j1f.c: Likewise.
13322         * math/w_j1l.c: Likewise.
13323         * math/w_jn.c: Likewise.
13324         * math/w_jnf.c: Likewise.
13325         * math/w_jnl.c: Likewise.
13326         * math/w_lgamma.c: Likewise.
13327         * math/w_lgamma_r.c: Likewise.
13328         * math/w_lgammaf.c: Likewise.
13329         * math/w_lgammaf_r.c: Likewise.
13330         * math/w_lgammal.c: Likewise.
13331         * math/w_lgammal_r.c: Likewise.
13332         * math/w_log.c: Likewise.
13333         * math/w_log10.c: Likewise.
13334         * math/w_log10f.c: Likewise.
13335         * math/w_log10l.c: Likewise.
13336         * math/w_log2.c: Likewise.
13337         * math/w_log2f.c: Likewise.
13338         * math/w_log2l.c: Likewise.
13339         * math/w_logf.c: Likewise.
13340         * math/w_logl.c: Likewise.
13341         * math/w_pow.c: Likewise.
13342         * math/w_powf.c: Likewise.
13343         * math/w_powl.c: Likewise.
13344         * math/w_remainder.c: Likewise.
13345         * math/w_remainderf.c: Likewise.
13346         * math/w_remainderl.c: Likewise.
13347         * math/w_scalb.c: Likewise.
13348         * math/w_scalbf.c: Likewise.
13349         * math/w_scalbl.c: Likewise.
13350         * math/w_sinh.c: Likewise.
13351         * math/w_sinhf.c: Likewise.
13352         * math/w_sinhl.c: Likewise.
13353         * math/w_sqrt.c: Likewise.
13354         * math/w_sqrtf.c: Likewise.
13355         * math/w_sqrtl.c: Likewise.
13356         * math/w_tgamma.c: Likewise.
13357         * math/w_tgammaf.c: Likewise.
13358         * math/w_tgammal.c: Likewise.
13360         * po/ja.po: Update from translation team.
13362 2011-09-29  Andreas Jaeger  <aj@suse.de>
13364         [BZ #13179]
13365         * sunrpc/netname.c (netname2host): Fix logic.
13367         [BZ #6779]
13368         [BZ #6783]
13369         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13370         correctly.
13371         * math/w_remainder.c (__remainder): Likewise.
13372         * math/w_remainderf.c (__remainderf): Likewise.
13373         * math/libm-test.inc (remainder_test): Add test cases.
13375 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13377         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
13378         sdiv_qrnnd.
13380 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
13382         * string/test-memcmp.c: Avoid unncessary #defines.
13383         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13385 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13387         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13388         Use new sse2 version for core i3 - i7 as it's faster
13389         than sse42 version.
13390         (bit_Prefer_PMINUB_for_stringop): New.
13391         * sysdeps/x86_64/rawmemchr.S: Update.
13392         Replace with faster SSE2 version.
13393         * sysdeps/x86_64/memrchr.S: New file.
13394         * sysdeps/x86_64/memchr.S: Update.
13395         Replace with faster SSE2 version.
13397 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
13399         * elf/dl-load.c (lose): Add cast to avoid warning.
13401 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
13403         * po/ca.po: Update from translation team.
13405         * inet/getnetgrent_r.c: Hook up nscd.
13406         * nscd/Makefile (routines): Add nscd_netgroup.
13407         (nscd-modules): Add netgroupcache.
13408         (CFLAGS-netgroupcache.c): Define.
13409         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13410         (cache_search): Add const to second parameter.
13411         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13412         INNETGR.
13413         (dbs): Add netgrdb entry.
13414         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13415         (verify_persistent_db): Handle netgrdb.
13416         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13417         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13418         GETFDNETGR.
13419         (netgroup_response_header): Define.
13420         (innetgroup_response_header): Define.
13421         (datahead): Add netgroup_response_header and innetgroup_response_header
13422         elements.
13423         * nscd/nscd.conf: Add entries for netgroup cache.
13424         * nscd/nscd.h (dbtype): Add netgrdb.
13425         (_PATH_NSCD_NETGROUP_DB): Define.
13426         (netgroup_iov_disabled): Declare.
13427         (xmalloc, xcalloc, xrealloc): Move declarations here.
13428         (cache_search): Adjust prototype.
13429         Add netgroup-related prototypes.
13430         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13431         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13432         (__nscd_innetgr): Declare.
13433         * nscd/selinux.c (perms): Use access_vector_t as element type and
13434         add netgroup-related initializers.
13435         * nscd/netgroupcache.c: New file.
13436         * nscd/nscd_netgroup.c: New file.
13437         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13438         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13439         For four parameters use innetgr.
13440         * nss/nss_files/files-init.c: Add definition and callback for netgr.
13441         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13442         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13443         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13445         * nscd/connections.c (register_traced_file): Don't register file
13446         for disabled databases.
13448 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
13450         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13452         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13453         from tree and freeing node.
13455 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
13457         * nss/nsswitch.c (__nss_database_lookup): Handle
13458         nss_parse_service_list out of memory case.
13460 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
13462         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13463         out of memory case.
13465 2011-10-04  Andreas Schwab  <schwab@redhat.com>
13467         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13468         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13469         pass it down.
13470         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13471         elf_machine_rela, elf_machine_lazy_rel.
13472         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13473         (ELF_DYNAMIC_DO_REL): Likewise.
13474         (ELF_DYNAMIC_DO_RELA): Likewise.
13475         (ELF_DYNAMIC_RELOCATE): Likewise.
13476         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13477         to ELF_DYNAMIC_DO_REL.
13478         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13479         (dl_main): In trace mode always set __RTLD_NOIFUNC.
13480         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13481         elf_machine_rela.
13482         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13483         skip_ifunc, don't call ifunc function if non-zero.
13484         (elf_machine_rela): Likewise.
13485         (elf_machine_lazy_rel): Likewise.
13486         (elf_machine_lazy_rela): Likewise.
13487         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13488         (elf_machine_lazy_rel): Likewise.
13489         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13490         Likewise.
13491         (elf_machine_lazy_rel): Likewise.
13492         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13493         Likewise.
13494         (elf_machine_lazy_rel): Likewise.
13495         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13496         (elf_machine_lazy_rel): Likewise.
13497         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13498         (elf_machine_lazy_rel): Likewise.
13499         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13500         (elf_machine_lazy_rel): Likewise.
13501         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13502         (elf_machine_lazy_rel): Likewise.
13503         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13504         (elf_machine_lazy_rel): Likewise.
13505         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13506         (elf_machine_lazy_rel): Likewise.
13508 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
13510         * nss/nss_files/files-init.c (_nss_files_init): Use static
13511         initialization for all the *_traced_file variables.
13513 2011-09-28  Andreas Schwab  <schwab@redhat.com>
13515         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13517 2011-09-27  Roland McGrath  <roland@hack.frob.com>
13519         [BZ #13226]
13520         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13522 2011-09-27  Andreas Schwab  <schwab@redhat.com>
13524         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13525         Reread the line before reparsing it.
13527 2011-09-26  Andreas Schwab  <schwab@redhat.com>
13529         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13531 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
13532             Maxim Kuvyrkov  <maxim@codesourcery.com>
13533             Joseph Myers  <joseph@codesourcery.com>
13535         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13536         if needed for __stack_chk_guard.
13538 2011-09-19  Roland McGrath  <roland@hack.frob.com>
13540         * sysdeps/posix/spawni.c (script_execute): Always define it.
13541         It will be optimized away if unused.
13542         (maybe_script_execute): New function.
13543         (__spawni): Call it.
13545         * Makerules: Don't include tls.make.
13546         (config-tls): Always set to thread.
13547         * tls.make.c: File removed.
13549 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
13551         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13552         * config.make.in (CPPFLAGS-config): New substituted variable.
13554 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
13556         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13558         [BZ #13192]
13559         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13560         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13562 2011-09-15  Roland McGrath  <roland@hack.frob.com>
13564         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13565         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13566         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13567         (CALL_FAIL): Likewise.
13568         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13569         (CALL_FAIL): Macro removed.
13570         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13572 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
13574         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13575         for __FINITE_MATH_ONLY__ == 1.
13577 2011-09-15  Andreas Schwab  <schwab@redhat.com>
13579         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13580         __ieee754_sqrt instead of sqrt.
13581         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13582         __ieee754_sqrtf instead of sqrtf.
13583         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13584         __floorf instead of floorf.
13585         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13586         __floorf, __truncf instead of floorf, truncf.
13588 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
13590         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13592         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13593         __extern_always_inline.
13594         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13595         32-bit.
13597 2011-09-14  Andreas Schwab  <schwab@redhat.com>
13599         * elf/rtld.c (dl_main): Also relocate in dependency order when
13600         doing symbol dependency testing.
13602 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
13604         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13605         Always define `refsym'.
13607 2011-09-13  Andreas Schwab  <schwab@redhat.com>
13609         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13610         (__FD_ELT): Renamed from __FDELT.
13611         * misc/bits/select2.h (__FD_ELT): Likewise.
13612         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13613         __FD_MASK instead of __FDELT, __FDMASK.
13614         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13615         Likewise.
13616         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13617         Likewise.
13619         * elf/Makefile (gen-ldd): Fix pattern.
13621         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13622         (init_tls): Likewise.
13624 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
13626         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13628 2011-09-12  Andreas Schwab  <schwab@redhat.com>
13630         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13631         `struct cmsghdr *' instead of `void *'.
13632         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13633         Likewise.
13635 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
13637         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13638         if non-absolute.
13639         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13640         ldd_rewrite_script.
13642 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
13644         * configure.in: Remove --with-tls option.
13645         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13646         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13647         out in case it is missing.
13648         * sysdeps/ia64/elf/configure.in: Likewise.
13649         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13650         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13651         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13652         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13653         * sysdeps/sh/elf/configure.in: Likewise.
13654         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13655         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13656         * sysdeps/x86_64/elf/configure.in: Likewise.
13657         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13658         * sysdeps/mach/hurd/tls.h: Likewise.
13660         [BZ #13067]
13661         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13663         [BZ #13090]
13664         * configure.in: Fix use of AC_INIT.
13666         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13668 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
13670         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13671         __set_errno.
13672         * malloc/hooks.c: Likewise.
13674         [BZ #11929]
13675         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
13676         variables statically.
13677         (narenas): Initialize.
13678         (list_lock): Initialize.
13679         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
13680         initializtion of main_arena and list_lock.  Small cleanups.
13681         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13682         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
13683         Add initializers to main_arena and mp_.
13684         (malloc_state): Remove pagesize member.  Change all users to use
13685         GLRO(dl_pagesize).
13687         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13688         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
13689         is always initialized.
13691         * malloc/malloc.c: Removed unused configurations and dead code.
13692         * malloc/arena.c: Likewise.
13693         * malloc/hooks.c: Likewise.
13694         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13696         * include/tls.h: Removed.  USE___THREAD must always be defined.
13697         * bits/libc-tsd.h: Don't handle !USE___THREAD.
13698         * elf/dl-libc.c: Likewise.
13699         * elf/dl-tsd.c: Likewise.
13700         * include/errno.h: Likewise.
13701         * include/netdb.h: Likewise.
13702         * include/resolv.h: Likewise.
13703         * inet/herrno-loc.c: Likewise.
13704         * inet/herrno.c: Likewise.
13705         * malloc/arena.c: Likewise.
13706         * malloc/hooks.c: Likewise.
13707         * malloc/malloc.c: Likewise.
13708         * resolv/res-state.c: Likewise.
13709         * resolv/res_libc.c: Likewise.
13710         * sysdeps/i386/dl-machine.h: Likewise.
13711         * sysdeps/ia64/dl-machine.h: Likewise.
13712         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13713         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13714         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13715         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13716         * sysdeps/sh/dl-machine.h: Likewise.
13717         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13718         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13719         * sysdeps/unix/i386/sysdep.S: Likewise.
13720         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13721         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13723         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13724         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13725         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13726         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13727         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13728         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13729         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13730         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13731         * sysdeps/x86_64/dl-machine.h: Likewise.
13732         * tls.make.c: Likewise.
13734         * configure.in: Remove --with-__thread option.  Make tests for
13735         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13736         tls_model attribute fail if no support is available.  Remove
13737         USE_IN_LIBIO.
13738         * Makeconfig: Adjust for dropped configure option.  All features are
13739         now mandatory.
13740         * Makerules: Likewise.
13741         * Versions.def: Likewise.
13742         * argp/argp-fmtstream.c: Likewise.
13743         * argp/argp-fmtstream.h: Likewise.
13744         * argp/argp-help.c: Likewise.
13745         * assert/assert.c: Likewise.
13746         * config.h.in: Likewise.
13747         * config.make.in: Likewise.
13748         * configure: Likewise.
13749         * configure.in: Likewise.
13750         * csu/Versions: Likewise.
13751         * csu/init.c: Likewise.
13752         * elf/tst-audit2.c: Likewise.
13753         * elf/tst-tls10.c: Likewise.
13754         * elf/tst-tls10.h: Likewise.
13755         * elf/tst-tls11.c: Likewise.
13756         * elf/tst-tls12.c: Likewise.
13757         * elf/tst-tls14.c: Likewise.
13758         * elf/tst-tlsmod11.c: Likewise.
13759         * elf/tst-tlsmod12.c: Likewise.
13760         * elf/tst-tlsmod13.c: Likewise.
13761         * elf/tst-tlsmod13a.c: Likewise.
13762         * elf/tst-tlsmod14a.c: Likewise.
13763         * elf/tst-tlsmod15b.c: Likewise.
13764         * elf/tst-tlsmod16a.c: Likewise.
13765         * elf/tst-tlsmod16b.c: Likewise.
13766         * elf/tst-tlsmod7.c: Likewise.
13767         * elf/tst-tlsmod8.c: Likewise.
13768         * elf/tst-tlsmod9.c: Likewise.
13769         * gmon/gmon.c: Likewise.
13770         * grp/fgetgrent_r.c: Likewise.
13771         * grp/putgrent.c: Likewise.
13772         * hurd/fopenport.c: Likewise.
13773         * include/libc-symbols.h: Likewise.
13774         * include/tls.h: Likewise.
13775         * intl/gettextP.h: Likewise.
13776         * intl/loadinfo.h: Likewise.
13777         * locale/global-locale.c: Likewise.
13778         * locale/localeinfo.h: Likewise.
13779         * mach/devstream.c: Likewise.
13780         * malloc/arena.c: Likewise.
13781         * malloc/set-freeres.c: Likewise.
13782         * misc/err.c: Likewise.
13783         * misc/getttyent.c: Likewise.
13784         * misc/mntent_r.c: Likewise.
13785         * posix/getopt.c: Likewise.
13786         * posix/wordexp.c: Likewise.
13787         * pwd/fgetpwent_r.c: Likewise.
13788         * resolv/Versions: Likewise.
13789         * resolv/res_hconf.c: Likewise.
13790         * shadow/fgetspent_r.c: Likewise.
13791         * shadow/putspent.c: Likewise.
13792         * stdio-common/printf_fphex.c: Likewise.
13793         * stdio-common/tmpfile.c: Likewise.
13794         * stdlib/abort.c: Likewise.
13795         * stdlib/fmtmsg.c: Likewise.
13796         * sunrpc/auth_unix.c: Likewise.
13797         * sunrpc/clnt_perr.c: Likewise.
13798         * sunrpc/clnt_tcp.c: Likewise.
13799         * sunrpc/clnt_udp.c: Likewise.
13800         * sunrpc/clnt_unix.c: Likewise.
13801         * sunrpc/openchild.c: Likewise.
13802         * sunrpc/svc_simple.c: Likewise.
13803         * sunrpc/svc_tcp.c: Likewise.
13804         * sunrpc/svc_udp.c: Likewise.
13805         * sunrpc/svc_unix.c: Likewise.
13806         * sunrpc/xdr.c: Likewise.
13807         * sunrpc/xdr_array.c: Likewise.
13808         * sunrpc/xdr_rec.c: Likewise.
13809         * sunrpc/xdr_ref.c: Likewise.
13810         * sunrpc/xdr_stdio.c: Likewise.
13812 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13814         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13816 2011-07-03  Andreas Jaeger  <aj@suse.de>
13818         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13819         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13820         regenerate with gen-libm-tests.pl.
13822 2010-05-12  Petr Baudis  <pasky@suse.cz>
13824         [BZ #11589]
13825         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13826         around j0() zero points by switching to j1().
13827         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13828         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13829         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13830         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13832 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13834         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13835         instead of 0.
13836         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13837         instead of 0.                              .
13838         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13839         Patch in part by Pavel Roskin <proski@gnu.org>.
13841         [BZ #13138]
13842         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13843         realloc.
13844         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
13845         Free memory block if necessary.
13847         [BZ #12847]
13848         * libio/genops.c (INTDEF): For string streams the _lock pointer can
13849         be NULL.  Don't lock in this case.
13851 2011-09-09  Roland McGrath  <roland@hack.frob.com>
13853         * elf/elf.h (ELFOSABI_GNU): New macro.
13854         (ELFOSABI_LINUX): Define to that.
13856 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
13858         * string/strncat.c (strncat): Undef the symbol in case it has been
13859         defined in bits/string.h.
13861 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13863         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13865         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13866         link map.
13868 2011-08-17  Andreas Jaeger  <aj@suse.de>
13870         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13872 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13873             Ian Lance Taylor  <iant@google.com>
13875         * math/libm-test.inc (lround_test): New testcase.
13876         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13878 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
13880         * Makefile: Remove support for automatic cvs check-ins.
13881         * Makerules: Likewise.
13882         * config.make.in: Likewise.
13883         * configure.in: Likewise.
13884         * intl/Makefile: Likewise.
13885         * locale/Makefile: Likewise.
13886         * po/Makefile: Likewise.
13887         * posix/Makefile: Likewise.
13888         * sysdeps/gnu/Makefile: Likewise.
13889         * sysdeps/mach/hurd/Makefile: Likewise.
13890         * sysdeps/sparc/sparc32/Makefile: Likewise.
13892         [BZ #13118]
13893         * posix/Makefile (bug-regex32-ENV): Define.
13894         Patch by John Stanley <jpsinthemix@verizon.net>.
13896         * misc/Makefile (headers): Add bits/select2.h.
13897         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13898         * misc/bits/select2.h: New file.
13899         * include/bits/select2.h: New file.
13900         * debug/Makefile (routines): Add fdelt_chk.
13901         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13902         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13903         FD_ISSET.
13904         * debug/fdelt_chk.c: New file.
13906         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
13907         * wcsmbs/test-wmemcmp.c: Likewise.
13908         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13909         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13911 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13913         * string/Makefile (strop-tests): Add memcmp.
13914         * string/test-wmemcmp.c: New file.
13915         * string/test-memcmp.c: Add wmemcmp support.
13917 2011-09-08  Roland McGrath  <roland@hack.frob.com>
13919         [BZ #13153]
13920         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13921         2011-07-19 change.
13923         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13924         garbage value in a __mach_port_mod_refs call in the cases of the
13925         task-self and thread-self ports.
13927 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13929         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13931 2011-09-08  Andreas Schwab  <schwab@redhat.com>
13933         * elf/dl-load.c (lose): Check for non-null L.
13935 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
13937         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13939         * elf/dl-libc.c (dlerror_run): Pass back error code from
13940         dl_catch_error.
13942         [BZ #13123]
13943         * elf/dl-load.c (lose): Free l_origin if it is valid.
13945         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13946         names.
13947         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13948         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13949         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13950         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13951         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13952         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13954 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13956         * sysdeps/powerpc/fpu/e_hypot.c: New file.
13957         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13958         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13959         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13960         * sysdeps/powerpc/fpu/k_cosf.c: New file.
13961         * sysdeps/powerpc/fpu/k_sinf.c: New file.
13962         * sysdeps/powerpc/fpu/s_cosf.c: New file.
13963         * sysdeps/powerpc/fpu/s_sinf.c: New file.
13964         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13965         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13967 2011-08-15  Alan Modra  <amodra@gmail.com>
13969         [BZ #13092]
13970         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13971         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13972         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
13973         ppc_mcount to static-only-routines.
13974         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13975         __mcount_internal.
13976         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13977         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
13979 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
13981         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13982         for finite and infinity parameters.
13984 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
13986         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13987         and add nop instructions for throughput optimization.
13988         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13990 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
13992         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13993         aligned copy for power7 with vector-scalar instructions.
13994         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13996 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
13998         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13999         AVX check.
14001 2011-09-07  Andreas Schwab  <schwab@redhat.com>
14003         [BZ #13144]
14004         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14005         last change.
14007 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
14009         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14010         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14011         syscall wrapper around clock_gettime in __vdso_clock_gettime.
14012         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14013         clock_gettime.
14015 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
14017         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14018         Forgot to demangle the pointer.
14020         * sysdeps/i386/sysdep.h: Define atom_text_section.
14021         * sysdeps/x86_64/sysdep.h: Likewise.
14022         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14023         section with atom_text_section.
14024         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14025         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14026         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14027         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14028         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14030         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14031         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14032         already be defined.  Change to take two parameters and don't assign
14033         result to variable.  Adjust all users.
14034         Define INTERNAL_GETTIME if not already defined.
14035         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14036         call.
14037         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14038         HAVE_CLOCK_GETTIME_VSYSCALL.
14039         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14041         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14042         gettimeofday vsyscall, just use time.
14044 2011-09-06  Andreas Schwab  <schwab@redhat.com>
14046         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14047         <errno.h>.
14049 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
14051         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14052         syscall on x86-64.
14053         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14054         syscall.
14055         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14056         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14057         syscall if possible.
14059 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
14061         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14062         e_ident.  Don't pass to find_mapsXX.
14063         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14065 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14068         strchr-sse2-no-bsf strrchr-sse2-no-bsf
14069         * sysdeps/x86_64/multiarch/strchr.S: Update.
14070         Check bit_slow_BSF bit.
14071         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14072         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14073         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14075 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
14077         [BZ #13134]
14078         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14079         before glibc 2.15.
14080         (tryshell): Define.
14081         (__spawni): Change last parameter to be flag.  Test
14082         SPAWN_XFLAGS_USE_PATH flag to use path or not.
14083         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14084         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14085         * posix/spawni.c: Likewise.
14086         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14087         * posix/spawnp.c: Likewise.  Change normal version to use
14088         SPAWN_XFLAGS_USE_PATH.
14089         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14090         SPAWN_XFLAGS_TRY_SHELL.
14092         [BZ #13150]
14093         * posix/glob.h: Remove gcc 1.x support.
14095         [BZ #13068]
14096         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14098 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14100         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14101         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14102         strrchr-sse2-bsf
14103         * sysdeps/i386/i686/multiarch/strchr.S: New file.
14104         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14105         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14106         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14107         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14108         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14110 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14112         * sysdeps/x86_64/wcscmp.S: New file.
14114         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14115         wcscmp-c wcscmp-sse2
14116         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14117         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14118         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14119         * wcsmbs/wcscmp.c: Allow renaming.
14121 2011-09-05  David S. Miller  <davem@davemloft.net>
14123         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14124         stack slot, rather than the struct return pointer slot.
14125         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14126         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14128         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14130 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
14132         * po/ja.po: Update from translation team.
14134         [BZ #13144]
14135         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14136         kernel in 64-bit binaries.
14138 2011-09-01  David S. Miller  <davem@davemloft.net>
14140         * elf/elf.h (HWCAP_SPARC_*): Move to..
14141         * sysdeps/sparc/sysdep.h: this new file and add new values.
14142         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14143         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14144         _DL_HWCAP_COUNT to 24.
14145         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14146         entries.
14147         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14148         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14149         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14150         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14151         instead of magic constants.
14152         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14154 2011-08-31  David S. Miller  <davem@davemloft.net>
14156         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14157         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14158         Reimplement to do errno handling inline.
14159         (SYSCALL_ERROR_HANDLER): New macro.
14160         (__SYSCALL_STRING): Do not do errno handling in asm.
14161         (__CLONE_SYSCALL_STRING): Delete.
14162         (__INTERNAL_SYSCALL_STRING): Delete.
14163         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14164         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14165         (PSEUDO): Reimplement to do errno handling inline.
14166         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14167         (SYSCALL_ERROR_HANDLER): New macro.
14168         (__SYSCALL_STRING): Do not do errno handling in asm.
14169         (__CLONE_SYSCALL_STRING): Delete.
14170         (__INTERNAL_SYSCALL_STRING): Delete.
14171         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14172         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14173         i386.
14174         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14175         (inline_syscall*): Add 'err' argument.
14176         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14177         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14178         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14179         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14181         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14182         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14184 2011-08-30  Andreas Schwab  <schwab@redhat.com>
14186         * elf/rtld.c (dl_main): Relocate objects in dependency order.
14188 2011-08-29  Jiri Olsa <jolsa@redhat.com>
14190         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14191         directive.
14193 2011-08-24  David S. Miller  <davem@davemloft.net>
14195         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14197 2011-08-24  Andreas Schwab  <schwab@redhat.com>
14199         * elf/Makefile: Add rules to build and run unload8 test.
14200         * elf/unload8.c: New file.
14201         * elf/unload8mod1.c: New file.
14202         * elf/unload8mod1x.c: New file.
14203         * elf/unload8mod2.c: New file.
14204         * elf/unload8mod3.c: New file.
14206         * elf/dl-close.c (_dl_close_worker): Reset private search list if
14207         it wasn't used.
14209 2011-08-23  David S. Miller  <davem@davemloft.net>
14211         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14212         subtract stack bias.
14213         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14214         %sp not %fp in calculations.
14215         (_JMPBUF_UNWINDS_ADJ): Likewise.
14217         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14218         (aio_suspend): Call it to force an exception region around the
14219         AIO_MISC_WAIT() invocation.
14221 2011-08-23  Andreas Schwab  <schwab@redhat.com>
14223         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14224         backslash.
14226 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
14228         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14229         protection macro.
14230         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14231         and <dl-machine.h>.
14232         (Elf64_FuncDesc): Remove.
14234 2011-08-22  David S. Miller  <davem@davemloft.net>
14236         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14237         sigaltstack check, add missing cfi directives.
14238         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14239         missing cfi directives, and sigaltstack handling.
14241 2011-08-16  Andreas Schwab  <schwab@redhat.com>
14243         [BZ #11724]
14244         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14245         object is seen twice.
14246         * elf/dl-fini.c (_dl_sort_fini): Likewise.
14248         * elf/Makefile (distribute): Add tst-initorder2.c.
14249         (tests): Add tst-initorder2.
14250         (modules-names): Add tst-initorder2a tst-initorder2b
14251         tst-initorder2c tst-initorder2d.  Add rules to build them.
14252         ($(objpfx)tst-initorder2.out): New rule.
14253         * elf/tst-initorder2.c: New file.
14254         * elf/tst-initorder2.exp: New file.
14256 2011-08-22  Andreas Schwab  <schwab@redhat.com>
14258         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14260         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14261         dependencies back to end of function.
14263         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14264         $(elfobjdir)/ld.so.
14266 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
14268         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14269         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14270         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14271         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14272         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14273         of __vdso_gettimeofday.
14274         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14275         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
14276         attribute_hidden.
14277         (_libc_vdso_platform_setup): Remove initialization of
14278         __vdso_gettimeofday and __vdso_time.
14280 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
14282         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14283         and fgetc_unlocked.
14284         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14285         getc_unlocked.
14287         * elf/dl-open.c (add_to_global): Report additions to the global scope
14288         for LD_DEBUG=scopes.
14289         (dl_open_worker): Also print scope of newly loaded dependencies.
14290         (_dl_show_scope): Indicate if there is no scope.
14292         [BZ #13114]
14293         * stdio-common/Makefile (tests): Add bug24.
14294         * stdio-common/bug24.c: New file.
14296 2011-08-19  Andreas Jaeger  <aj@suse.de>
14298         [BZ #13114]
14299         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14300         non-existant file when using close-on-exec mode.
14302 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
14304         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14305         the very first instruction.
14307         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14308         the CFI state in the end.
14309         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14310         inclusion of dl-trampoline.h.
14311         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14313 2011-08-19  Andreas Schwab  <schwab@redhat.com>
14315         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14316         expectations for long double.
14318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14319         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14321 2011-08-14  David S. Miller  <davem@davemloft.net>
14323         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14324         artificual limit depends upon the system page size.
14326 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
14328         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14329         * resolv/Makefile: Define CFLAGS-libresolv.
14331 2011-08-17  Andreas Schwab  <schwab@redhat.com>
14333         * nss/makedb.c (compute_tables): Make variables used in nested
14334         function static.
14336 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
14338         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14339         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14340         if buffer was too small.
14342         * elf/pldd.c (main): Attach to all threads in the process.
14343         Rewrite /proc handling to use *at functions.
14345 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
14347         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14348         specifies first scope to show.
14349         (dl_open_worker): Update callers.  Move printing scope of new
14350         object to before the relocation.
14351         * elf/rtld.c (dl_main): Update _dl_show_scope call.
14352         * sysdeps/generic/ldsodefs.h: Update declaration.
14354         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14355         string for the scope number.
14357 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
14359         * nscd/servicescache.c (cache_addserv): Make sure written is always
14360         initialized.
14362 2011-08-14  Roland McGrath  <roland@hack.frob.com>
14364         * sysdeps/i386/i486/bits/atomic.h
14365         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14366         statement expression, so as to suppress "set but not used" warning.
14367         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14369         * string/strncat.c (STRNCAT): Use prototype definition.
14371         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14372         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14373         -Iprograms here.
14374         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14375         (localedef-modules): Add localedef.
14376         (locale-modules): Add locale.
14378         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14379         * elf/rtld.c (dl_main): Invert order of assignment in last change,
14380         to avoid a warning.
14382 2011-08-14  David S. Miller  <davem@davemloft.net>
14384         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14385         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14387 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
14389         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14390         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14391         * elf/rtld.c (dl_main): Set l_name of vDSO.
14392         Call _dl_show_scope when DL_DEBUG_SCOPES.
14393         (process_dl_debug): Recognize scopes flag and also set it for all.
14394         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14395         Declare _dl_show_scope.
14397         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14398         (do_dlopen): Pass caller_dlopen to dl_open.
14399         (__libc_dlopen_mode): Initialize caller_dlopen.
14401         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14402         of libc.  Make tolower call locale-independent.  Optimize a bit by
14403         using isdigit instead of isalnum.
14404         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14406 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
14408         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14409         was a dependency or dynamically loaded.
14411 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
14413         * intl/l10nflist.c: Allow architecture-specific pop function.
14414         * sysdeps/x86_64/l10nflist.c: New file.
14416         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14417         classification.
14419 2011-08-10  Andreas Schwab  <schwab@redhat.com>
14421         * include/dirent.h: Add libc_hidden_proto for scandirat and
14422         scandirat64.  Don't declare __scandirat64.
14423         * dirent/scandirat.c: Add libc_hidden_def.
14424         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14425         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14427 2011-08-10  David S. Miller  <davem@davemloft.net>
14429         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14430         enum.
14431         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14432         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14433         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14435 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
14437         * Versions.def [libc]: Add GLIBC_2.15.
14438         * dirent/Makefile (routines): Add scandirat and scandirat64.
14439         * dirent/Versions [libc]: Export scandirat and scandirat64 for
14440         GLIBC_2.15.
14441         * dirent/dirent.h: Declare scandirat and scandirat64.
14442         * dirent/scandirat.c: New file.
14443         * dirent/scandirat64.c: New file.
14444         * sysdeps/wordsize-64/scandirat.c: New file.
14445         * sysdeps/wordsize-64/scandirat64.c: New file.
14446         * dirent/opendir.c: Define opendirat.
14447         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
14448         using scandirat.
14449         * dirent/scandir64.c: Adjust for scandir.c change.
14450         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
14451         __scandirat64, and __scandir_cancel_handler.
14452         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
14453         additional parameter and use openat instead of open (outside of ld.so).
14454         Add new __opendir as wrapper around __opendirat.
14455         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14456         here without requiring old scandirat implementation.
14458 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
14460         * dirent/scandir.c (cancel_handler): Renamed to
14461         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
14462         defined.  Adjust users.
14463         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14464         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14466 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
14468         * string/test-string.h (IMPL): Use __STRING to expand name and then
14469         stringify it.
14471         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
14472         of cleanups.
14474 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14476         * string/Makefile: Update.
14477         (strop-tests): Append strncat.
14478         * string/test-wcscmp.c: New file.
14479         New comprehensive test for wcscmp.
14480         * string/test-strcmp.c: Update.
14481         (WIDE): New define.
14483 2011-07-22  Andreas Schwab  <schwab@redhat.com>
14485         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14486         line.
14488 2011-07-26  Andreas Schwab  <schwab@redhat.com>
14490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14491         encoding to ACE if AI_IDN.
14493 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
14495         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14496         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14498 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14500         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14501         Fix overflow bug in strncat.
14502         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14504         * string/test-strncat.c: Update.
14505         Add new tests for checking overflow bugs.
14507 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14509         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14510         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14511         * sysdeps/i386/i686/multiarch/strcat.S: New file.
14512         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14513         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14514         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14515         * sysdeps/i386/i686/multiarch/strncat.S: New file.
14516         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14517         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14519         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14520         (USE_AS_STRCAT): Define.
14521         Add strcat and strncat support.
14522         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14524 2011-07-25  Andreas Schwab  <schwab@redhat.com>
14526         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14527         __n bigger than INT_MAX+1.
14528         (__strncmp_g): Likewise.
14530 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
14532         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14533         * libio/stido.h: Likewise.
14535         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14536         (AF_NFC): Define.
14537         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14538         (AF_NFC): Define.
14540         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14541         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14542         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14543         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14544         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14546         [BZ #13021]
14547         * scripts/test-installation.pl: Don't expect libnss_test1 to be
14548         installed.
14550         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14551         typo.
14552         (_dl_x86_64_save_sse): Likewise.
14554 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
14556         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14557         OSXSAVE.
14558         (_dl_x86_64_save_sse): Likewise.
14560         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14562         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14564 2011-07-21  Andreas Schwab  <schwab@redhat.com>
14566         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14567         change.
14568         (_dl_x86_64_save_sse): Use correct AVX check.
14570 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14572         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14573         bug in strncpy/strncat.
14574         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14576 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
14578         * string/tester.c (test_strcat): Add tests for different alignments
14579         of source and destination.
14580         (test_strncat): Likewise.
14582 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
14584         [BZ #12852]
14585         * posix/glob.c (glob): Check passed in values before using them in
14586         expressions to avoid some overflows.
14587         (glob_in_dir): Likewise.
14589         [BZ #13007]
14590         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14591         check for AVX enablement so that we don't crash with old kernels and
14592         new hardware.
14593         * elf/tst-audit4.c: Add same checks here.
14594         * elf/tst-audit6.c: Likewise.
14596         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14598 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
14600         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14602 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
14604         * po/cs.po: Update from translation team.
14605         * po/bg.po: Likewise.
14607 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
14609         * misc/sys/cdefs.h: Add support for const attribute.
14610         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14611         to gnu_dev_{major,minor,makedev} functions.
14613 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
14615         * intl/dcigettext.c (get_output_charset): Add missing bracket.
14617 2011-07-20  Andreas Schwab  <schwab@redhat.com>
14619         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14620         strlen results.
14622 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14624         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14625         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14626         register in order to avoid conflicts with the soft frame pointer
14627         being held in r11 when necessary.
14628         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14629         (INTERNAL_VSYSCALL_NCS): Likewise.
14631 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
14633         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14634         * elf/dl-fini.c (_dl_fini): Adjust caller.
14635         * elf/dl-close.c (_dl_close_worker): Likewise.
14636         * sysdeps/generic/ldsodefs.h: Adjust declaration.
14638 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
14640         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14641         "aux_cache->nlibs < 0".
14643         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14644         in the reload-count case.
14646 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14648         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14649         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14650         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14651         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14652         * sysdeps/x86_64/multiarch/strcat.S: New file.
14653         * sysdeps/x86_64/multiarch/strncat.S: New file.
14654         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14655         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14656         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14657         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14658         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14659         (USE_AS_STRCAT): Define.
14660         Add strcat and strncat support.
14661         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14662         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14663         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14664         * string/strncat.c: Update.
14665         (USE_AS_STRNCAT): Define.
14666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14667         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14668         and i7.
14669         * sysdeps/x86_64/multiarch/init-arch.h
14670         (bit_Prefer_PMINUB_for_stringop): New.
14671         (index_Prefer_PMINUB_for_stringop): Likewise.
14672         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14673         bit_Prefer_PMINUB_for_stringop.
14675 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
14677         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14678         buffer64.
14679         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14680         of casting of buffer.
14681         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14682         buffer32 and buffer64.
14683         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14684         writes instead of casting of buffer.
14685         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14686         buffer32.
14687         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14688         casting of buffer.
14690 2011-07-19  Andreas Schwab  <schwab@redhat.com>
14692         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14694 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
14696         * nscd/nscd.c (termination_handler): Don't do anything for a database
14697         if it has not yet been initialized.
14699 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
14701         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14703 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
14705         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14707 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
14709         * po/nl.po: Update from translation team.
14710         * po/sv.po: Likewise.
14712 2011-07-16  Roland McGrath  <roland@hack.frob.com>
14714         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14715         now disallowed by GCC.
14717         * configure.in (use-default-link): Default to yes if a test -shared
14718         link meets our qualifications.
14719         * configure: Regenerated.
14721         * config.make.in (output-format): New variable.
14722         * configure.in: Check for ld --print-output-format support.
14723         * configure: Regenerated.
14724         * Makerules ($(common-objpfx)format.lds)
14725         [$(output-format) != unknown]: Just use $(output-format),
14726         instead of the linker-script munging.
14728 2011-07-14  Roland McGrath  <roland@hack.frob.com>
14730         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14731         of $(common-objpfx)shlib.lds.
14732         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14734         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14735         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14737         * configure.in (-z relro check): Adjust test code to add a large
14738         writable data section after it.
14739         * configure: Regenerated.
14741 2011-07-11  Roland McGrath  <roland@hack.frob.com>
14743         * configure.in (-z relro check): Fix test code to make the variable
14744         truly const.
14745         * configure: Regenerated.
14747 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
14749         * nscd/nscd.h (struct traced_file): Define.
14750         (struct database_dyn): Remove inotify_descr, reset_res, and filename
14751         elements.  Add traced_files.
14752         (inotify_fd): Declare.
14753         (register_traced_file): Declare.
14754         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14755         (inotify_fd): Export.
14756         (resolv_conf_descr): Remove.
14757         (nscd_init): Move inotify descriptor creation to main.
14758         Don't register files for notification here.
14759         (register_traced_file): New function.
14760         (invalidate_cache): Don't use reset_res to determine whether to call
14761         res_init, go through the list of registered files.
14762         (main_loop_poll): The inotify descriptors are now stored in the
14763         structures for the traced files.
14764         (main_loop_epoll): Likewise
14765         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
14766         to __nss_disable_nscd.
14767         * nscd/cache.c (prune_cache): There is no single inotify descriptor
14768         for a database anymore.  Check the records for all the registered
14769         files instead.
14770         * nss/Makefile (libnss_files-routines): Add files-init.
14771         (libnss_db-routines): Add db-init.
14772         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14773         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14774         * nss/nss_db/db-init.c: New file.
14775         * nss/nss_files/files-init.c: New file.
14776         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
14777         __nss_lookup_function.
14778         (__nss_lookup_function): Call nss_load_library.
14779         (nss_load_all_libraries): New function.
14780         (__nss_disable_nscd): Take parameter with callback function for files
14781         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
14782         used for the cached services.
14783         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14784         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14785         options for features to all the files in nscd.
14787         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14789 2011-07-10  Roland McGrath  <roland@hack.frob.com>
14791         * csu/elf-init.c (__libc_csu_init): Comment typo.
14793 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
14795         * po/pl.po: Update from translation team.
14796         * po/ja.po: Likewise.
14797         * po/ru.po: Likewise.
14798         * po/ko.po: Likewise.
14799         * po/fr.po: Likewise.
14801 2011-07-09  Roland McGrath  <roland@hack.frob.com>
14803         * configure.in (.ctors/.dtors header and trailer check):
14804         Use an empirical test on a built program.
14805         * configure: Regenerated.
14807         * configure.in (-z relro check): Use an empirical test on a built DSO.
14808         Detect, but do not require, on ia64.
14809         * configure: Regenerated.
14811         * configure.in (READELF): Find it with AC_CHECK_TOOL.
14812         Update tests that use readelf to use $READELF instead.
14813         * configure: Regenerated.
14815 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
14817         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14818         if the result is not used.
14820 2011-07-05  Andreas Jaeger  <aj@suse.de>
14822         [BZ#9696]
14823         * stdlib/tst-strtod.c: Add testcase.
14825 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
14827         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14828         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14829         The latter has a higher limit.  Take additional parameter to pass to
14830         the new function.
14831         (__pathconf): Pass file to __statfs_link_max.
14832         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14833         __statfs_link_max.
14834         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14835         __statfs_link_max.
14837         [BZ #12868]
14838         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14839         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14840         Handle Lustre.
14841         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14842         (__statfs_filesize_max): Likewise.
14843         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14845 2011-07-05  Andreas Jaeger  <aj@suse.de>
14847         * resolv/res_comp.c (dn_skipname): Remove unused variable.
14849 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
14851         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14852         `status' variable.
14853         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14854         Likewise.
14856 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
14858         * Makefile (strop-tests): Add strncat.
14859         * string/test-strncat.c: New file.
14861 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
14863         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14865 2011-06-21  Andreas Jaeger  <aj@suse.de>
14867         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14868         Copy rule from iconvdata/Makefile.
14870 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
14872         [BZ #12922]
14873         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14874         but no long options are defined, just return 'W'.
14876 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
14878         [BZ #9696]
14879         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14881 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
14883         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14884         netgroups to read.
14885         (innetgr): Likewise.
14887 2011-07-05  Roland McGrath  <roland@hack.frob.com>
14889         * config.make.in (install_root): Default to $(DESTDIR).
14891 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
14893         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14895 2011-07-02  Roland McGrath  <roland@hack.frob.com>
14897         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14899         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14900         containing directory rather than embedding absolute directory names.
14902         * scripts/check-local-headers.sh: Rewritten using awk.
14903         Match by word, not by line.  Print error messages for matches.
14904         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14906         * Makerules [shlib-lds-flags empty]:
14907         ($(common-objpfx)libc_pic.opts): New target.
14908         ($(common-objpfx)libc_pic.os.clean): New target.
14909         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14911         * config.make.in (OBJCOPY): New variable.
14912         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14913         * configure: Regenerated.
14915         * config.make.in (use-default-link): New variable.
14916         * configure.in (use_default_link): Grok --with-default-link to set it.
14917         * configure: Regenerated.
14918         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14919         (shlib-lds, shlib-lds-flags): Define to empty.
14921         * Makerules (shlib-lds): New variable.
14922         (shlib-lds-flags): New variable.
14923         (build-shlib, build-moduile, build-module-asneeded): Use it.
14924         ($(common-objpfx)libc.so): Use $(shlib-lds).
14925         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14926         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14928         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14929         DT_FLAGS/DT_FLAGS_1 with zero flags.
14931         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14932         linker script munging.
14934 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
14936         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14937         as 128-bit value.
14938         * crypt/sha512.c (sha512_process_block): Perform total addition using
14939         128-bit if possible.
14940         (__sha512_finish_ctx): Likewise.
14941         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14942         as 64-bit value.
14943         * crypt/sha256.c (SWAP64): Define.
14944         (sha256_process_block): Perform total addition using 64-bit if
14945         possible.
14946         (__sha256_finish_ctx): Likewise.
14948 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
14950         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
14951         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14952         * nscd/hstcache.c (cache_addhst): Likewise.
14953         * nscd/grpcache.c (cache_addgr): Likewise.
14954         * nscd/aicache.c (addhstaiX): Likewise
14955         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14957 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
14959         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14960         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14961         * nscd/hstcache.c (cache_addhst): Likewise.
14962         * nscd/grpcache.c (cache_addgr): Likewise.
14963         * nscd/aicache.c (addhstaiX): Likewise
14965 2011-07-01  Andreas Schwab  <schwab@redhat.com>
14967         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14968         domain only when needed.
14970 2011-06-30  Andreas Schwab  <schwab@redhat.com>
14972         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14973         is always restored.
14975 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
14977         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14978         are re-adding the entry.
14979         * nscd/servicescache.c (cache_addserv): Likewise.
14981 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
14983         * sysdeps/generic/dl-irel.h: fix protection against multiple
14984         inclusions.
14985         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14987 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
14989         [BZ #12935]
14990         * malloc/memusage.sh: Fix quoting in message.
14991         * debug/xtrace.sh: Likewise.
14993         * configure.in: Remove support for --experimental-malloc option, make
14994         it the default.
14995         * config.make.in: Likewise.
14996         * malloc/Makefile: Likewise.
14998 2011-06-27  Andreas Schwab  <schwab@redhat.com>
15000         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15001         two-byte characters.
15003 2011-06-27  Roland McGrath  <roland@hack.frob.com>
15005         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15006         AC_CACHE_CHECK invocation.
15007         * configure: Regenerated.
15009         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15011 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
15013         [BZ #12350]
15014         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
15015         bit from old_res_options.
15017         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15019         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15020         value type for setfct.
15022 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
15024         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15025         __gettimeofday instead of gettimeofday.
15027 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
15029         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15031 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15033         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15035         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15036         info.
15038 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
15040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15041         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15042         strcpy-sse2-unaligned strncpy-sse2-unaligned
15043         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15044         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15045         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15046         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15047         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15048         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15049         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15050         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15051         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15052         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15053         (STRCPY): Support SSE2 and SSSE3 versions.
15055 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
15057         [BZ #12874]
15058         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15059         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15060         kernels which artificially limit size of requests.
15062 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
15064         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15065         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15066         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15067         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15068         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15069         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15070         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15071         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15072         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15073         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15074         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15075         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15076         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15077         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15078         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15079         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15080         Enable unaligned load optimization for Intel Core i3, i5 and i7
15081         processors.
15082         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15083         Define.
15084         (index_Fast_Unaligned_Load): Define.
15085         (HAS_FAST_UNALIGNED_LOAD): Define.
15087 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
15089         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15091 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
15093         [BZ #12907]
15094         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15095         until it is clear that the information is realy needed.
15096         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15098 2011-06-22  Andreas Schwab  <schwab@redhat.com>
15100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15102 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
15104         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15105         /sys/devices/system/cpu/online if it is usable.
15107         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15108         reading the information from the /proc filesystem to once a second.
15110 2011-06-21  Andreas Jaeger  <aj@suse.de>
15112         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15113         NULL after inclusion of kernel headers.
15115 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
15117         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15118         calls to internal_setent.
15120         [BZ #12885]
15121         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15122         addresses using gethostbyname4_r ignore IPv4 addresses.
15124         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15125         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
15127         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15129 2011-06-20  David S. Miller  <davem@davemloft.net>
15131         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15132         inclusions.
15133         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15135         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15136         (elf_irel): Use it.
15137         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15138         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15139         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15140         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15141         * sysdeps/x86_64/dl-irel.h: Likewise.
15143         * elf/dl-runtime.c: Use elf_ifunc_invoke.
15144         * elf/dl-sym.c: Likewise.
15146 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
15148         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
15149         need to dereference resplen2.
15151 2011-06-14  Andreas Schwab  <schwab@redhat.com>
15153         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15155 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
15157         * Makeconfig: Define vardbdir and inst_vardbdir.
15158         * nss/Makefile: Add rules to install db-Makefile.
15160         * nss/nss_db/db-XXX.c: Cleanup.
15162         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15163         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15164         GLIBC_PRIVATE.
15165         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15166         * nss/makedb.c: Implement -g option to specify that value strings
15167         are generated and should not be added to table iterated over for
15168         get*ent calls.
15169         * nss/nss_db/db-initgroups.c: New file.
15171         * nss/getent.c: Add support for initgroups lookups through getgrouplist
15172         interface.
15174         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15175         (internal_getgrouplist): Adjust to name change.
15176         Update use_initgroups_entry if this is not the first call.
15177         * nss/databases.def: Add initgroups entry.
15179         * nss/makedb.c (compute_tables): Check result of multiple hash table
15180         sizes to minimize maximum chain length.
15182 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
15184         * Versions.def: Add entry for libnss_db.
15185         * shlib-versions: Likewise.
15186         * nss/Makefile: Add rules to build libnss_db.
15187         * nss/Versions: Add libnss_db information.  Organize libnss_files
15188         entries better.
15189         * nss/db-Makefile: Add gshadow support.  Change rules for the new
15190         makedb progra.  Some minor improvements to generate smaller files.
15191         * nss/nss_db/nss_db.h: Move NSS database header data structures to
15192         here from...
15193         * nss/makedb.c: ...here.
15194         Improve database format to be smaller and require less memory at
15195         runtime.
15196         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
15197         db anymore.
15198         * nss/nss_db/db-netgrp.c: Likewise.
15199         * nss/nss_db/db-open.c: Likewise.
15200         * nss/nss_files/flies-XXX.x: Adjust comments.
15201         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15202         * nss/nss_files/files-grp.c: Likewise.
15203         * nss/nss_files/files-hosts.c: Likewise.
15204         * nss/nss_files/files-network.c: Likewise.
15205         * nss/nss_files/files-proto.c: Likewise.
15206         * nss/nss_files/files-pwd.c: Likewise.
15207         * nss/nss_files/files-rpc.c: Likewise.
15208         * nss/nss_files/files-service.c: Likewise.
15209         * nss/nss_files/files-sgrp.c: Likewise.
15210         * nss/nss_files/files-spwd.c: Likewise.
15211         * nss/nss_db/db-alias.c: Removed.
15212         * nss/nss_db/dummy-db.h: Removed.
15214 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
15216         * nss/makedb.c: Rewritten to not use database library.
15217         * nss/Makefile: Update to build new makedb program.
15219 2011-06-14  Andreas Jaeger  <aj@suse.de>
15221         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15222         memset declaration.
15224 2011-06-10  Andreas Schwab  <schwab@redhat.com>
15226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15227         tmpbuf.
15229 2011-06-10  Roland McGrath  <roland@hack.frob.com>
15231         * Makerules (shlib.lds): Fail if the linker script comes out empty.
15232         * elf/Makefile ($(objpfx)ld.so): Likewise.
15234         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15235         Don't list ld.so twice in dependencies.
15237         * posix/bug-regex31.c: Include <stdlib.h>.
15239         * nscd/hstcache.c (cache_addhst): Remove unused variable.
15241         * nis/nss_compat/compat-spwd.c
15242         (getspent_next_nss_netgr): Remove unused variable.
15243         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15245         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15246         nonmembers" output to use the right array.
15248         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15250         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15252         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15253         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15254         * catgets/gencat.c (read_input_file): Likewise.
15255         * locale/programs/locarchive.c (enlarge_archive): Likewise.
15257         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15258         variable definition inside #if's controlling its use.
15260         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15262         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15264         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15266         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15267         unreachable code.
15269         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15271         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15272         * configure: Regenerated.
15274         * Makerules: Revert last change.
15275         * elf/Makefile: Likewise.
15277 2011-06-09  Roland McGrath  <roland@hack.frob.com>
15279         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15280         * elf/Makefile ($(objpfx)librtld.os): Likewise.
15281         (reloc-link): Likewise.
15283 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
15285         * elf/Makefile: Add rules to build pldd.
15286         * elf/pldd.c: New file.
15287         * elf/pldd-xx.c: New file.
15289 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
15291         * version.h: Update for 2.15 development version.
15293 2011-06-07  David S. Miller  <davem@davemloft.net>
15295         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15296         ifuncs.
15297         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15298         elf_machine_lazy_rel): Likewise.
15299         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15300         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15301         elf_machine_lazy_rel): Likewise.
15302         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15303         dl_hwcap via passed in argument.
15304         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15305         Likewise.
15307 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15309         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
15311 2011-06-06  Roland McGrath  <roland@hack.frob.com>
15313         [BZ #12849]
15314         * manual/fdl-1.1.texi: New file, verbatim from:
15315         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15316         * manual/lgpl-2.1.texi: New file, verbatim from:
15317         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15318         * manual/Makefile (licenses): New variable, list those new file names.
15319         (texis): Use it.
15320         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15322         * manual/fdl.texi: File removed.
15323         * manual/lesser.texi: File removed.
15324         * manual/libc.texinfo (Copying, Documentation License):
15325         Use new @include file names, put @appendix directive before @include.
15327 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
15329         [BZ #12841]
15330         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15331         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15332         (mq_open): Add __NTH.
15334 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
15336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15337         Assume Intel Core i3/i5/i7 processor if AVX is available.
15339 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
15341         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15342         typo.
15344 2011-05-31  Andreas Schwab  <schwab@redhat.com>
15346         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15347         memory.  Use alloca_account.  Fix memory leak when retrying.
15349 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
15351         * version.h (RELEASE): Bump for 2.14 release.
15352         * include/features.h (__GLIBC_MINOR__): Bump to 14.
15354         * config.make.in (RANLIB): Remove entry.
15356 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
15358         * po/Makefile (po-sed-cmd): Add ksh to extensions.
15359         (libc.pot): Work around missing support for .ksh extension in xgettext.
15361         [BZ #12684]
15362         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15363         if both request failed.
15364         (send_dg): In case of server errors clear resplen or *resplen2.
15366         [BZ #12454]
15367         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15368         when there are multiple maps.
15369         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15370         (_dl_fini): Remove test here.
15372         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15374 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
15376         [BZ #12350]
15377         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15378         bit from old_res_options.
15379         (gaih_inet): Likewise.
15381         [BZ #11099]
15382         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15383         as signed.
15385         * resolv/res_init.c (res_setoptions): Make the code more compact.
15387         [BZ #11558]
15388         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15389         set RES_USEVC.
15391         [BZ #11634]
15392         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15394         * malloc/malloc.h: Mark malloc hook variables as deprecated.
15396         [BZ #11781]
15397         * malloc/malloc.h: Declare malloc hook variables as volatile.
15399         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15400         in last patch.
15402         [BZ #11799]
15403         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15404         raise in the comment.
15405         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15406         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15407         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15409 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
15411         [BZ #12811]
15412         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15413         grow the buffers more if it already has to be sufficient.
15414         (build_wcs_upper_buffer): Likewise.
15415         * posix/regexec.c (check_matching): Likewise.
15416         (clean_state_log_if_needed): Likewise.
15417         (extend_buffers): Don't enlarge buffers beyond size of the input
15418         buffer.
15419         Patches mostly by Emil Wojak <emil@wojak.eu>.
15420         * posix/bug-regex32.c: New file.
15421         * posix/Makefile (tests): Add bug-regex32.
15423         * locale/findlocale.c (_nl_find_locale): Return right away if
15424         _nl_explode_name failed.
15425         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15427         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15429         * debug/xtrace.sh: Unify messages.
15430         * malloc/memusage.sh: Likewise.
15432         [BZ #12813]
15433         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15434         time symbol from vDSO.  Substitute with vsyscall if not available.
15435         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15436         __vdso_time.
15438         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15439         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15440         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15441         Add sendmmsg and internal_sendmmsg.
15442         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15443         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15444         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15446         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15447         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15448         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15450 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
15452         [BZ #12813]
15453         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15454         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
15455         available.
15456         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15457         __vdso_getcpu.
15459         [BZ #12814]
15460         * iconvdata/Makefile (tests): Add bug-iconv9.
15461         * iconvdata/bug-iconv9.c: New file.
15463 2011-05-27  Andreas Schwab  <schwab@redhat.com>
15465         [BZ #12814]
15466         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15468 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
15470         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15471         (struct user_regs_struct): Change intcs field back to cs.
15473 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
15475         * po/ja.po: Update from translation team.
15477 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
15479         [BZ #12795]
15480         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15481         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15483 2011-05-20  Andreas Schwab  <schwab@redhat.com>
15485         * stdlib/longlong.h: Update from GCC.
15487 2011-05-23  Andreas Schwab  <schwab@redhat.com>
15489         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15490         parameter name.
15491         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15492         Add parameter name.
15493         (__sysconf): Pass it down.
15495 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
15497         [BZ #12671]
15498         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15499         some situations.
15500         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15501         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15502         add in in __libc_use_alloca calls.  Adjust callers.
15503         (glob): Use malloc in some situations.
15505         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15506         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15507         pltexit.
15509 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
15511         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15512         and CLOCK_BOOTTIME_ALARM.
15514         [BZ #12782]
15515         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15516         is returned.
15518         * string/_strerror.c (__strerror_r): Print negative errors as signed
15519         numbers.
15521         [BZ #12777]
15522         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15523         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15524         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15526         * configure.in: Fix typo in redirection and correct removal of test
15527         files in two cases.
15529         [BZ #12788]
15530         * locale/setlocale.c (new_composite_name): Fix test to check for
15531         identical name of all categories.
15533         [BZ #12792]
15534         * libio/filedoalloc.c (local_isatty): New function.
15535         (_IO_file_doallocate): Use local_isatty.
15536         * stdio-common/perror.c (perror): In case a new stream is used
15537         forward the stream error.
15538         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15539         error flag.
15541 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
15543         [BZ #11869]
15544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15545         alloca.
15546         * include/alloca.h (extend_alloca_account): Define.
15548         [BZ #11857]
15549         * posix/regex.h: Fix comments with documentation of user-accessible
15550         fields after compilation and describe correct free'ing of pattern
15551         after re_compile_pattern.
15552         Patch by Reuben Thomas <rrt@sc3d.org>.
15554 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
15556         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15557         and -mno-altivec to prevent the compiler from using Altivec and/or
15558         VSX instructions when the corresponding registers are not available.
15560 2011-05-19  Andreas Schwab  <schwab@redhat.com>
15562         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15564 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
15566         * libio/freopen.c (freopen): Use __dup2, not dup2.
15567         * libio/freopen64.c (freopen64): Likewise.
15569 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15571         [BZ #12775]
15572         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15573         * math/Makefile (tests): Add test-powl.
15574         (CFLAGS-test-powl.c): Define.
15575         * math/test-powl.c: New file.
15577 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15579         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15581 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
15583         [BZ #11837]
15584         * iconvdata/gb18030.c: Update to GB18020-2005.
15586 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
15588         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15589         RE_SYNTAX_POSIX_AWK): Update to match recent development.
15590         Patch by Aharon Robbins <arnold@skeeve.com>.
15592         [BZ #11892]
15593         * stdlib/putenv.c (putenv): Don't always create copy of the variable
15594         on the stack.
15596         [BZ #11895]
15597         * misc/pselect.c (__pselect): Handle timeout value errors hidden
15598         through underflows.
15600         [BZ #12766]
15601         * misc/error.c (error_at_line): Ensure file_name and old_file_name
15602         point to strings before performing equality test for error_one_per_line
15603         mode.
15605         [BZ #11697]
15606         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15608         [BZ #11820]
15609         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15610         (struct user_fpregs_struct): Avoid __uint*_t types.
15612         [BZ #6420]
15613         * malloc/mtrace.c (tr_where): Add additional parameter to point to
15614         symbol info.  Use it instead of calling _dl_addr locally.
15615         (lock_and_info): New function.
15616         (tr_freehook): Call lock_and_info and pass symbol info as additional
15617         parameter to tr_where.
15618         (tr_mallochook): Likewise.
15619         (tr_reallochook): Likewise.
15620         (tr_memalignhook): Likewise.
15622         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
15623         used and couldn't be at all thread-safe.
15625 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
15627         * libio/freopen.c (freopen): Don't close old file descriptor
15628         before the new one is opened.  Instead dup the new file descriptor
15629         to the old one after the new stream is created.
15630         * libio/freopen64.c (freopen64): Likewise.
15631         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15632         * libio/fileops.c (_IO_new_file_close_it): Handle new
15633         _IO_FLAGS2_NOCLOSE flag.
15634         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15635         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15636         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15637         _IO_FLAGS2_NOCLOSE flag.
15638         * include/unistd.h: Add hidden_proto for dup3.
15639         Define __have_dup3.
15640         * io/dup3.c: Define hidden symbol.
15641         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15643         [BZ #7101]
15644         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15645         when an incomplete long option is used.
15646         * posix/tst-getopt_long1.c: New file.
15647         * posix/Makefile (tests): Add tst-getopt_long1.
15649         [BZ #10138]
15650         * scripts/config.guess: Update from autoconf-2.68.
15651         * scripts/config.sub: Likewise.
15653         [BZ #10157]
15654         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15655         tests into ...
15656         (has_cpuclock): ...this.  New function.
15657         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15658         macro here based on has_cpuclock code.
15660         [BZ #10149]
15661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15662         First byte (not low byte) is now always NUL.
15663         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15665         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15666         Use non-cancelable interfaces.
15668         [BZ #9809]
15669         * locale/iso-639.def: Add entry for Sorani.
15671         [BZ #11901]
15672         * include/stdlib.h: Move include protection to the right place.
15673         Define abort_msg_s.  Declare __abort_msg with it.
15674         * stdlib/abort.c (__abort_msg): Adjust type.
15675         * assert/assert.c (__assert_fail_base): New function.  Majority
15676         of code from __assert_fail.  Allocate memory for __abort_msg with
15677         mmap.
15678         (__assert_fail): Now call __assert_fail_base.
15679         * assert/assert-perr.c: Remove bulk of implementation.  Use
15680         __assert_fail_base.
15681         * include/assert.hL Declare __assert_fail_base.
15682         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15683         mmap.
15684         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15686 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
15688         [BZ #11952]
15689         [BZ #12453]
15690         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15691         until all modules are registered in the DTV.
15692         * elf/Makefile: Add rules to build and run tst-tls19.
15693         * elf/tst-tls19.c: New file.
15694         * elf/tst-tls19mod1.c: New file.
15695         * elf/tst-tls19mod2.c: New file.
15696         * elf/tst-tls19mod3.c: New file.
15697         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15699         [BZ #12083]
15700         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15701         correctly.
15703         [BZ #12601]
15704         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15705         two-byte sequence errors.
15706         * iconvdata/Makefile (tests): Add bug-iconv8.
15707         * iconvdata/bug-iconv8.c: New file.
15709         [BZ #12626]
15710         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15711         buf2 definition.
15713         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15715         [BZ #12432]
15716         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15717         (dummy_getcfa): New function.
15718         (init): Get _Unwind_GetCFA address, use dummy if not found.
15719         (backtrace_helper): In recursion check, also check whether CFA changes.
15720         (__backtrace): Completely initialize arg.
15722         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15723         storing incomplete byte sequence in state object.  Avoid testing for
15724         guaranteed too small input if we know there is enough data available.
15726 2011-05-11  Andreas Schwab  <schwab@redhat.com>
15728         * Makeconfig (+link-pie): Indent.
15729         * Rules (binaries-pie): Define if $(have-fpie) and
15730         $(build-shared).
15731         (binaries-shared): Also filter out $(binaries-pie).
15732         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15733         * nscd/Makefile (others-pie): Add nscd.
15734         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15735         ($(objpfx)nscd): Remove command override.
15736         * login/Makefile (others-pie): Add pt_chown.
15737         ($(objpfx)pt_chown): Remove command override.
15738         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15739         remove command overrides.
15741 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
15743         * libio/tst_putwc.c: Fix error messages.
15745         [BZ #12724]
15746         * libio/fileops.c (_IO_new_file_close_it): Always flush when
15747         currently writing and seek to current position when not.
15748         * libio/Makefile (tests): Add bug-fclose1.
15749         * libio/bug-fclose1.c: New file.
15751 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
15753         [BZ #12511]
15754         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15755         don't set DF_1_NODELETE here.
15756         (do_lookup_x): When entering new entry test for copy relocation
15757         and if necessary set DF_1_NODELETE flag.
15758         * elf/tst-unique4.cc: New file.
15759         * elf/tst-unique4.h: New file.
15760         * elf/tst-unique4lib.cc: New file.
15761         * elf/Makefile: Add rules to build and run tst-unique4.
15762         Patch by Piotr Bury <pbury@goahead.com>.
15764 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
15766         [BZ #12052]
15767         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15769         [BZ #12625]
15770         * misc/mntent_r.c (addmntent): Flush the stream after the output
15772         [BZ #12393]
15773         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15774         (is_trusted_path_normalize): Skip initial colon.  Append slash
15775         to empty buffer.  Duplicate is_trusted_path code but allow
15776         constructed patch to be prefix.
15777         (is_dst): Allow $ORIGIN followed by /.
15778         (_dl_dst_substitute): Correct clearing of check_for_trusted.
15779         Correct testing of result of is_trusted_path_normalize
15780         (decompose_rpath): Fix warning.
15782 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
15784         [BZ #11257]
15785         * grp/initgroups.c (internal_getgrouplist): When we found the service
15786         list through the initgroups entry in nsswitch.conf do not always
15787         continue on a successful lookup.  Don't always use the
15788         __nss_group_database value if it is set.
15789         * nss/nsswitch.conf (initgroups): Change action for successful db
15790         lookup to continue for compatibility.
15792 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
15794         [BZ #11532]
15795         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15796         and CP774 modules.
15797         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15798         and CP774 modules.
15799         * iconvdata/tst-tables.sh: Likewise.
15800         * iconvdata/cp770.c: New file.
15801         * iconvdata/cp771.c: New file.
15802         * iconvdata/cp772.c: New file.
15803         * iconvdata/cp773.c: New file.
15804         * iconvdata/cp774.c: New file.
15805         * iconvdata/testdata/CP770: New file.
15806         * iconvdata/testdata/CP770..UTF8: New file.
15807         * iconvdata/testdata/CP771: New file.
15808         * iconvdata/testdata/CP771..UTF8: New file.
15809         * iconvdata/testdata/CP772: New file.
15810         * iconvdata/testdata/CP772..UTF8: New file.
15811         * iconvdata/testdata/CP773: New file.
15812         * iconvdata/testdata/CP773..UTF8: New file.
15813         * iconvdata/testdata/CP774: New file.
15814         * iconvdata/testdata/CP774..UTF8: New file.
15816         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15817         END CHARMAP line.
15818         * iconvdata/gen-8bit-gap.sh: Likewise.
15819         * iconvdata/gen-8bit.sh: Likewise.
15821         * locale/iso-639.def: Add ary entry.
15823         [BZ #11258]
15824         * locale/C-translit.h.in: Add U20A1 transliteration.
15826         [BZ #12178]
15827         * locale/iso-639.def: Add wae entry.
15828         Patch by Kevin Bortis <bortis@translate-wae.ch>.
15830         [BZ #12545]
15831         * locale/programs/localedef.c (construct_output_path): Use ssize_t
15832         for n.
15834         [BZ #12711]
15835         * locale/C-translit.h.in: Add entry for U20B9.
15836         Patch by pravin.d.s@gmail.com.
15838 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
15840         [BZ #12713]
15841         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15842         ENAMETOOLONG use generic getcwd.
15843         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
15844         in rtld.  Use *stat64.
15845         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15846         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15847         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15848         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15849         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15850         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15851         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15852         __fstatat64 macros.
15853         * include/dirent.h: Add libc_hidden_proto for rewinddir.
15854         * dirent/rewinddir.c: Add libc_hidden_def.
15855         * sysdeps/mach/hurd/rewinddir.c: Likewise.
15856         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
15858         * include/dirent.h (__alloc_dir): Add flags parameter.
15859         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15860         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15861         __alloc_dir.
15862         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
15863         from fdopendir if O_CLOEXEC is already set.
15865 2011-03-15  Alan Modra  <amodra@gmail.com>
15867         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15868         l_tls_firstbyte_offset non-zero.  Save padding offset in
15869         l_tls_firstbyte_offset for later use.
15870         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15871         freeing static tls block.
15873 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
15875         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15876         where #ifdef was intended.  The intent is to prevent ARG_MAX from
15877         being defined by the kernel headers.
15879 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
15881         [BZ #12734]
15882         * resolv/resolv.h: Define RES_NOTLDQUERY.
15883         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15884         no-tld-query and set RES_NOTLDQUERY.
15885         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15886         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15887         modern BIND to search name as TLD unless forbidden.
15889 2011-05-07  Petr Baudis  <pasky@suse.cz>
15890             Ulrich Drepper  <drepper@gmail.com>
15892         [BZ #12393]
15893         * elf/dl-load.c (fillin_rpath): Move trusted path check...
15894         (is_trusted_path): ...to here.
15895         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15896         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15897         using is_trusted_path_normalize() in setuid scripts.
15899 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15901         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15902         __BEGIN/__END_DECLS.
15904 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
15906         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15907         NSS_STATUS_NOTFOUND if no record was found.
15909 2011-05-05  Andreas Schwab  <schwab@redhat.com>
15911         * sunrpc/Makefile (headers): Add rpc/netdb.h.
15912         (headers-not-in-tirpc): Remove rpc/netdb.h
15913         * resolv/netdb.h: Revert last change.
15915 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15917         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15918         circular dependency between libgcc.a and libc.a.
15920 2011-05-05  Andreas Schwab  <schwab@redhat.com>
15922         * resolv/netdb.h: Don't include <rpc/netdb.h>.
15923         * nis/Makefile: Don't install rpcsvc/*.
15924         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15925         instead of <rpc/types.h>.
15926         (MAXHOSTNAMELEN): Define.
15928 2011-05-03  Andreas Schwab  <schwab@redhat.com>
15930         * elf/ldconfig.c (add_dir): Don't crash on empty path.
15932 2011-04-28  Maciej Babinski  <mbabinski@google.com>
15934         [BZ #12714]
15935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15936         gethostbyname4_r when IPv6 results are possible.
15938 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
15940         [BZ #12723]
15941         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15942         _PC_PIPE_BUF handling.
15944 2011-04-30  Bruno Haible  <bruno@clisp.org>
15946         [BZ #12717]
15947         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15948         * resolv/netdb.h (getnameinfo): Change type of flags parameter
15949         to 'int'.
15950         * inet/getnameinfo.c (getnameinfo): Likewise.
15952 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
15954         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15955         to groups setting in database lookup.
15956         * nss/nsswitch.conf: Add initgroups entry.
15958 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
15960         [BZ #12685]
15961         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15962         mode string.
15963         Patch by Eric Blake <eblake@redhat.com>.
15965 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
15967         * sunrpc/Makefile (need-export-routines): Add svc_run.
15968         (routines): Remove svc_run.
15969         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15970         * sunrpc/clnt_perr.c (clnt_perrno): Export.
15971         * sunrpc/svc_run.c (svc_run): Likewise.
15972         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15974 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
15976         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15977         problem in reallocation in last patch.
15979 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
15981         * sunrpc/Makefile: Move inclusion of Rules.
15983 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
15985         * nss/nss_files/files-initgroups.c: New file.
15986         * nss/Makefile (libnss_files-routines): Add files-initgroups.
15987         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15988         _nss_files_initgroups_dyn.
15990 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
15992         * elf/elf.h (R_ARM_IRELATIVE): Define.
15994 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
15996         * po/ru.po: Update from translation team.
15998 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
16000         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16001         dependencies.
16003 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
16005         [BZ #12653]
16006         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16007         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16008         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16009         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16010         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16012 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
16014         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16015         differing bytes.
16016         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16017         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16018         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16020 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
16022         [BZ #12420]
16023         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16024         storing it.
16025         * stdlib/bug-getcontext.c: New file.
16026         * stdlib/Makefile: Add rules to build and run bug-getcontext.
16028 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16030         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16031         instructions into .machine "z9-109".
16032         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16033         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16035 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16037         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16038         between environment variables and auxiliary vector.
16040 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
16042         * Makefile: Add rules to build linkobj/libc.so.
16043         * include/libc-symbols.h: Define libc_hidden_nolink.
16044         * include/rpc/auth.h: Mark functions which are to be hidden.
16045         * include/rpc/auth_des.h: Likewise.
16046         * include/rpc/auth_unix.h: Likewise.
16047         * include/rpc/clnt.h: Likewise.
16048         * include/rpc/des_crypt.h: Likewise.
16049         * include/rpc/key_prot.h: Likewise.
16050         * include/rpc/pmap_clnt.h: Likewise.
16051         * include/rpc/pmap_prot.h: Likewise.
16052         * include/rpc/pmap_rmt.h: Likewise.
16053         * include/rpc/rpc_msg.h: Likewise.
16054         * include/rpc/svc.h: Likewise.
16055         * include/rpc/svc_auth.h: Likewise.
16056         * include/rpc/xdr.h: Likewise.
16057         * nis/Makefile: Link all DSOs against linkobj/libc.so.
16058         * nss/Makefile: Likewise.
16059         * sunrpc/Makefile: Don't install headers.  Build library with normal
16060         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
16061         * sunrpc/auth_des.c: Hide exported symbols by default, export some
16062         for the compat linking library.  Remove use of INTDEF/INTUSE.
16063         * sunrpc/auth_none.c: Likewise.
16064         * sunrpc/auth_unix.c: Likewise.
16065         * sunrpc/authdes_prot.c: Likewise.
16066         * sunrpc/authuxprot.c: Likewise.
16067         * sunrpc/clnt_gen.c: Likewise.
16068         * sunrpc/clnt_perr.c: Likewise.
16069         * sunrpc/clnt_raw.c: Likewise.
16070         * sunrpc/clnt_simp.c: Likewise.
16071         * sunrpc/clnt_tcp.c: Likewise.
16072         * sunrpc/clnt_udp.c: Likewise.
16073         * sunrpc/clnt_unix.c: Likewise.
16074         * sunrpc/des_crypt.c: Likewise.
16075         * sunrpc/des_soft.c: Likewise.
16076         * sunrpc/get_myaddr.c: Likewise.
16077         * sunrpc/key_call.c: Likewise.
16078         * sunrpc/key_prot.c: Likewise.
16079         * sunrpc/netname.c: Likewise.
16080         * sunrpc/pm_getmaps.c: Likewise.
16081         * sunrpc/pm_getport.c: Likewise.
16082         * sunrpc/pmap_clnt.c: Likewise.
16083         * sunrpc/pmap_prot.c: Likewise.
16084         * sunrpc/pmap_prot2.c: Likewise.
16085         * sunrpc/pmap_rmt.c: Likewise.
16086         * sunrpc/publickey.c: Likewise.
16087         * sunrpc/rpc_cmsg.c: Likewise.
16088         * sunrpc/rpc_common.c: Likewise.
16089         * sunrpc/rpc_dtable.c: Likewise.
16090         * sunrpc/rpc_prot.c: Likewise.
16091         * sunrpc/rpc_thread.c: Likewise.
16092         * sunrpc/rtime.c: Likewise.
16093         * sunrpc/svc.c: Likewise.
16094         * sunrpc/svc_auth.c: Likewise.
16095         * sunrpc/svc_authux.c: Likewise.
16096         * sunrpc/svc_raw.c: Likewise.
16097         * sunrpc/svc_run.c: Likewise.
16098         * sunrpc/svc_simple.c: Likewise.
16099         * sunrpc/svc_tcp.c: Likewise.
16100         * sunrpc/svc_udp.c: Likewise.
16101         * sunrpc/svc_unix.c: Likewise.
16102         * sunrpc/svcauth_des.c: Likewise.
16103         * sunrpc/xcrypt.c: Likewise.
16104         * sunrpc/xdr.c: Likewise.
16105         * sunrpc/xdr_array.c: Likewise.
16106         * sunrpc/xdr_float.c: Likewise.
16107         * sunrpc/xdr_intXX_t.c: Likewise.
16108         * sunrpc/xdr_mem.c: Likewise.
16109         * sunrpc/xdr_rec.c: Likewise.
16110         * sunrpc/xdr_ref.c: Likewise.
16111         * sunrpc/xdr_sizeof.c: Likewise.
16112         * sunrpc/xdr_stdio.c: Likewise.
16114 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
16116         [BZ #12650]
16117         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16118         * sysdeps/ia64/dl-tls.h: Likewise.
16119         * sysdeps/powerpc/dl-tls.h: Likewise.
16120         * sysdeps/s390/dl-tls.h: Likewise.
16121         * sysdeps/sh/dl-tls.h: Likewise.
16122         * sysdeps/sparc/dl-tls.h: Likewise.
16123         * sysdeps/x86_64/dl-tls.h: Likewise.
16124         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16126 2011-03-14  Andreas Schwab  <schwab@redhat.com>
16128         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16129         rpath element also skip the following colon.
16130         (expand_dynamic_string_token): Add is_path parameter and pass
16131         down to DL_DST_REQUIRED and _dl_dst_substitute.
16132         (decompose_rpath): Call expand_dynamic_string_token with
16133         non-zero is_path.  Ignore empty rpaths.
16134         (_dl_map_object_from_fd): Call expand_dynamic_string_token
16135         with zero is_path.
16137 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
16139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16140         Make cancelable.
16142 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
16144         [BZ #12655]
16145         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16146         Patch by Filipe David Manana <fdmanana@apache.org>.
16148 2011-04-07  Andreas Schwab  <schwab@redhat.com>
16150         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16151         Maintain aligned stack.
16152         (CHECK_RSP): Remove unused macro.
16154 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
16156         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16157         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16159 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
16161         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16163         * include/features.h: Mention __USE_XOPEN2K8 in comment.
16165 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
16167         [BZ #12518]
16168         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16169         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16170         * sysdeps/x86_64/memmove.c: New file.
16171         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16172         (memcpy): Renamed to ...
16173         (__new_memcpy): This.
16174         (memcpy): Provide GLIBC_2_14 memcpy.
16175         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16176         (memcpy): Provide GLIBC_2_2_5 memcpy.
16178 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
16180         [BZ #12631]
16181         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16183 2011-03-30  Andreas Schwab  <schwab@redhat.com>
16185         * misc/syncfs.c: New file.
16186         * misc/Makefile (routines): Add syncfs.
16187         * posix/unistd.h: Declare syncfs.
16188         * sysdeps/unix/syscalls.list: Add syncfs.
16190 2011-04-01  Andreas Schwab  <schwab@redhat.com>
16192         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16193         open_by_handle_at.
16194         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16195         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16196         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16197         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16198         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16199         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16200         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16202 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
16204         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16205         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16206         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16207         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16208         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16209         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16210         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16212         * io/Makefile: Compile fallocate.c, fallocate64.c, and
16213         sync_file_range.c with -fexceptions.
16214         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16215         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16216         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16217         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16218         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16219         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16220         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16221         sync_file_range as cancellation point
16222         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
16223         now a wrapper around __call_sync_file_range with cancellation handling.
16224         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16225         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
16226         function name to __call_sync_file_range.
16227         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16228         Add call_sync_file_range.
16230 2011-04-01  Andreas Schwab  <schwab@redhat.com>
16232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16233         bits/timex.h.
16235 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
16237         * iconv/iconv.h: Fix typo in comment.
16238         * io/fcntl.h: Likewise.
16239         * libio/stdio.h: Likewise.
16240         * posix/spawn.h: Likewise.
16241         * posix/unistd.h: Likewise.
16242         * stdlib/stdlib.h: Likewise.
16243         * time/time.h: Likewise.
16244         * wcsmbs/wchar.h: Likewise.
16246         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16247         open_by_handle): Add.
16248         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16249         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
16250         Augment a few comments.
16251         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16252         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16253         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16254         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16255         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16256         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16257         open_by_handle.
16259         * io/fcntl.h (AT_EMPTY_PATH): Define.
16261 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
16263         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16264         * sysdeps/unix/sysv/linux/bits/time.h: New file.
16265         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16266         to...
16267         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
16268         * Versions.def: Add GLIBC_2.14.
16269         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16270         Export.
16272 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
16274         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16275         round counter.
16276         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16278 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16280         [BZ #12597]
16281         * string/test-strncmp.c (do_page_test): New function.
16282         (check2): Likewise.
16283         (test_main): Call check2.
16284         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16286 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
16288         [BZ #12587]
16289         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16290         Handle cache information in CPU leaf 4.
16291         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16293 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
16295         [BZ #12583]
16296         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16297         character representation.
16298         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16300 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
16302         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16303         END(__isnan) to END(__isnanf) to match function entry point/label
16304         EALIGN(__isnanf,...).
16306 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
16308         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16310 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
16312         [BZ #12510]
16313         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16314         copy from the symbol referenced in the relocation to initialize the
16315         used variable.
16316         Patch by Piotr Bury <pbury@goahead.com>.
16317         * elf/Makefile: Add rules to build and tst-unique3.
16318         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16319         * elf/tst-unique3.cc: New file.
16320         * elf/tst-unique3.h: New file.
16321         * elf/tst-unique3lib.cc: New file.
16322         * elf/tst-unique3lib2.cc: New file.
16324         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16326 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
16328         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16329         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
16330         to _start.
16332 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
16334         * elf/dl-load.c (_dl_map_object): If we are looking for the first
16335         to-be-loaded object along a path to loader is ld.so.
16337 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
16338             Ulrich Drepper  <drepper@gmail.com>
16340         * sysdeps/x86_64/memset.S: After aligning destination, code
16341         branches to different locations depending on the value of
16342         misalignment, when multiarch is enabled. Fix this.
16344 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
16346         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16347         Set _x86_64_preferred_memory_instruction for AMD processsors.
16348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16349         Set bit_Prefer_SSE_for_memop for AMD processors.
16351 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
16353         * libio/fmemopen.c (fmemopen): Optimize a bit.
16355 2011-03-03  Andreas Schwab  <schwab@redhat.com>
16357         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16359 2011-03-03  Roland McGrath  <roland@redhat.com>
16361         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16363 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
16365         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16366         __bzero_ultra1 instead of __memset_ultra1.
16368 2011-02-23  Andreas Schwab  <schwab@redhat.com>
16369             Ulrich Drepper  <drepper@gmail.com>
16371         [BZ #12509]
16372         * include/link.h (struct link_map): Add l_orig_initfini.
16373         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16374         returning unsuccessfully.
16375         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16376         close of a file loaded at startup, restore the original l_initfini
16377         list.
16378         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16379         list, store the pointer.
16380         * elf/Makefile ($(objpfx)noload-mem): New rule.
16381         (noload-ENV): Define.
16382         (tests): Add $(objpfx)noload-mem.
16383         * elf/noload.c: Include <memcheck.h>.
16384         (main): Call mtrace.  Close all opened handles.
16386 2011-02-17  Andreas Schwab  <schwab@redhat.com>
16388         [BZ #12454]
16389         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16390         dependencies are missing.
16392 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16394         Fix __if_freereq crash: Unlike the generic version which uses free,
16395         Hurd needs munmap.
16396         * sysdeps/mach/hurd/ifreq.h: New file.
16398 2011-01-27  Petr Baudis  <pasky@suse.cz>
16399             Ulrich Drepper  <drepper@gmail.com>
16401         [BZ 12445]#
16402         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16403         to extend_alloca().
16404         * stdio-common/bug23.c: New file.
16405         * stdio-common/Makefile (tests): Add bug23.
16407 2010-09-28  Andreas Schwab  <schwab@redhat.com>
16408             Ulrich Drepper  <drepper@gmail.com>
16410         [BZ #12489]
16411         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16412         before performing relro protection.  At old place add assertion
16413         to make sure nothing changed.
16415 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
16416             Glauber de Oliveira Costa  <glommer@gmail.com>
16418         * elf/elf.h: Add new ARM TLS relocs.
16420 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
16422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16423         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16424         cast from r3.
16425         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
16426         'tests' variable.
16427         * sysdeps/wordsize-64/tst-writev.c: New file.
16429 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
16431         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16432         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16433         insns in _dl_start to prevent a TOC reference before relocs are
16434         resolved.
16436 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
16438         [BZ #12469]
16439         * Makeconfig: Remove RANLIB definition.
16440         * Makerules: Don't use RANLIB.
16441         * aclocal.m4: Remove ranlib test.
16442         * configure.in: No need to check for ranlib.
16443         * elf/rtld-Rules: Don't use RANLIB.
16445 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16447         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16448         protection macro.
16449         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16450         inclusion protection macro.
16452         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16453         SIGRTMIN and SIGRTMAX and print information in that case only when
16454         SIGRTMIN is defined.
16456 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
16458         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16459         arginfo fn returning -1.
16461         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16462         and thousands string is zero terminated.
16464 2011-02-03  Andreas Schwab  <schwab@redhat.com>
16466         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16467         sysdeps/unix/sysv/linux/bits/socket.h.
16469 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16471         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16472         (__CPU_COUNT): Remove old macros.
16473         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16474         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16475         (__CPU_ALLOC, __CPU_FREE): Add macros.
16476         (__sched_cpualloc, __sched_cpufree): Add declarations.
16478 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
16480         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16481         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16482         * nscd/aicache.c (addhstaiX): Return timeout of added value.
16483         (readdhstai): Return value of addhstaiX call.
16484         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16485         (addgrbyX): Return value returned by cache_addgr.
16486         (readdgrbyname): Return value returned by addgrbyX.
16487         (readdgrbygid): Likewise.
16488         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16489         (addpwbyX): Return value returned by cache_addpw.
16490         (readdpwbyname): Return value returned by addhstbyX.
16491         (readdpwbyuid): Likewise.
16492         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16493         (addservbyX): Return value returned by cache_addserv.
16494         (readdservbyname): Return value returned by addservbyX:
16495         (readdservbyport): Likewise.
16496         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16497         (addhstbyX): Return value returned by cache_addhst.
16498         (readdhstbyname): Return value returned by addhstbyX.
16499         (readdhstbyaddr): Likewise.
16500         (readdhstbynamev6): Likewise.
16501         (readdhstbyaddrv6): Likewise.
16502         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16503         (readdinitgroups): Return value returned by addinitgroupsX.
16504         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16505         (prune_cache): Keep track of timeout value of re-added entries.
16506         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16507         * nscd/nscd.h: Adjust prototypes of readd* functions.
16509 2011-02-04  Roland McGrath  <roland@redhat.com>
16511         * nis/nis_server.c (nis_servstate): Use the right name for 0.
16512         (nis_stats): Likewise.
16513         * nis/nis_modify.c (nis_modify): Likewise.
16514         * nis/nis_remove.c (nis_remove): Likewise.
16515         * nis/nis_add.c (nis_add): Likewise.
16517         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16519         * posix/fnmatch_loop.c: Add some consts.
16521         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16523 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
16525         [BZ #12460]
16526         * config.make.in (config-cflags-novzeroupper): Define.
16527         * configure.in: Substitute libc_cv_cc_novzeroupper.
16528         * elf/Makefile (AVX-CFLAGS): Define.
16529         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16530         (CFLAGS-tst-auditmod4a.c): Likewise.
16531         (CFLAGS-tst-auditmod4b.c): Likewise.
16532         (CFLAGS-tst-auditmod6b.c): Likewise.
16533         (CFLAGS-tst-auditmod6c.c): Likewise.
16534         (CFLAGS-tst-auditmod7b.c): Likewise.
16535         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16537 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
16539         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16540         function to the callback.
16541         Patch partly by Jiri Olsa <jolsa@redhat.com>.
16543 2011-02-02  Andreas Schwab  <schwab@redhat.com>
16545         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16546         of errno.
16548 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
16550         [BZ #11724]
16551         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16552         of constructors.
16553         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16554         of destructors.
16555         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16557         [BZ #11724]
16558         * elf/Makefile: Add rules to build and run new test.
16559         * elf/tst-initorder.c: New file.
16560         * elf/tst-initorder.exp: New file.
16561         * elf/tst-initordera1.c: New file.
16562         * elf/tst-initordera2.c: New file.
16563         * elf/tst-initordera3.c: New file.
16564         * elf/tst-initordera4.c: New file.
16565         * elf/tst-initorderb1.c: New file.
16566         * elf/tst-initorderb2.c: New file.
16567         * elf/tst-order-a1.c: New file.
16568         * elf/tst-order-a2.c: New file.
16569         * elf/tst-order-a3.c: New file.
16570         * elf/tst-order-a4.c: New file.
16571         * elf/tst-order-b1.c: New file.
16572         * elf/tst-order-b2.c: New file.
16573         * elf/tst-order-main.c: New file.
16574         New test case by George Gensure <werkt0@gmail.com>.
16576 2010-10-01  Andreas Schwab  <schwab@redhat.com>
16578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16579         decoding ACE if AI_CANONIDN.
16581 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
16583         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16585 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
16587         * version.h (RELEASE): Bump for 2.13 release.
16588         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16590         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16592         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16593         MADV_NOHUGEPAGE.
16594         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16595         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16596         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16597         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16598         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16599         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16601         * posix/getconf.c: Update copyright year.
16602         * catgets/gencat.c: Likewise.
16603         * csu/version.c: Likewise.
16604         * debug/catchsegv.sh: Likewise.
16605         * debug/xtrace.sh: Likewise.
16606         * elf/ldconfig.c: Likewise.
16607         * elf/ldd.bash.in: Likewise.
16608         * elf/sprof.c (print_version): Likewise.
16609         * iconv/iconv_prog.c: Likewise.
16610         * iconv/iconvconfig.c: Likewise.
16611         * locale/programs/locale.c: Likewise.
16612         * locale/programs/localedef.c: Likewise.
16613         * malloc/memusage.sh: Likewise.
16614         * malloc/mtrace.pl: Likewise.
16615         * nscd/nscd.c (print_version): Likewise.
16616         * nss/getent.c: Likewise.
16618         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16619         PF_CAIF, and PF_ALG.
16620         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16622 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
16624         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16625         (modules-names): Use them.
16626         (ifunc-test-modules, ifunc-pie-tests): Define.
16627         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16628         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16629         (test-extras): Likewise.
16630         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16631         $(compile-command.c).
16632         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16633         (all-built-dso): Define.
16634         (check-textrel.out, check-execstack.out): Depend on it.
16636         * configure.in: Don't override --enable-multi-arch.
16638 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
16640         [BZ #6812]
16641         * nscd/hstcache.c (tryagain): Define.
16642         (cache_addhst): Return tryagain not notfound for temporary errors.
16643         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16644         failed.
16646 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
16648         [BZ #10563]
16649         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16650         to make the syscall.
16651         * sysdeps/unix/sysv/linux/setgroups.c: New file.
16653         [BZ #12378]
16654         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16655         and fall back to matching as normal character if the string ends before
16656         the matching ']' is found.  This is what POSIX requires.
16657         * posix/testfnm.c: Adjust test result.
16658         * posix/globtest.sh: Adjust test result.  Add new test.
16659         * posix/tst-fnmatch.input: Likewise.
16660         * posix/tst-fnmatch2.c: Add new test.
16662 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
16664         * elf/Makefile (check-execstack): Revert last change.  Depend on
16665         check-execstack.h.
16666         (check-execstack.h): New target.
16667         (generated): Add check-execstack.h.
16668         * elf/check-execstack.c: Include "check-execstack.h".
16669         (main): Revert last change.
16670         (handle_file): Return zero if GNU_STACK is absent and
16671         DEFAULT_STACK_PERMS doesn't include PF_X.
16673 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
16675         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16676         in child fails because the descriptor is already closed.
16677         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16678         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16679         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16681         [BZ #12397]
16682         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16683         syscall.
16685         [BZ #10484]
16686         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16687         temporary buffer used to handle multi lookups locally.
16688         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16690 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
16692         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16693         loader is ld.so.
16695 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
16697         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16698         alignment for SSE2.
16700 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
16702         [BZ #12394]
16703         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16704         characters.  When rounding increased number of integer digits recompute
16705         number of groups.
16706         * stdio-common/tst-grouping.c: New file.
16707         * stdio-common/Makefile: Add rules to build and run tst-grouping.
16709 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
16711         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16712         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
16714         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16715         void.
16716         * bits/select.h: Likewise.
16718 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
16720         * po/ja.po: Update from translation team.
16722 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
16724         [BZ #11155]
16725         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16726         implementation just like for lxstat, fxstatat, et al.
16728 2010-12-27  Jim Meyering  <meyering@redhat.com>
16730         [BZ #12348]
16731         * posix/regexec.c (build_trtable): Return failure indication upon
16732         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
16734 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
16736         [BZ #12201]
16737         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16738         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16739         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16740         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16742         [BZ #12207]
16743         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16745         [BZ #12204]
16746         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16747         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16749 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16751         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16752         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16753         script has SORT_BY_INIT_PRIORITY.
16754         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16755         NO_CTORS_DTORS_SECTIONS is defined.
16756         * elf/soinit.c: Likewise.
16757         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16758         NO_CTORS_DTORS_SECTIONS is defined.
16759         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16760         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16761         * sysdeps/sh/init-first.c: Likewise.
16762         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16764 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
16766         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16767         always use the slow path.
16769 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
16771         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16772         similar rule which adds the sysdep directories to the header search in
16773         order to pick up the correct platform stackinfo.h.
16774         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16775         perform test if it is, otherwise return successfully without testing.
16776         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16777         DEFAULT_STACK_PERMS define in stackinfo.h.
16778         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16779         defined in stackinfo.h.
16780         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16781         DEFAULT_STACK_PERMS defined in stackinfo.h.
16782         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16783         * sysdeps/ia64/stackinfo.h: Likewise.
16784         * sysdeps/s390/stackinfo.h: Likewise.
16785         * sysdeps/sh/stackinfo.h: Likewise.
16786         * sysdeps/sparc/stackinfo.h: Likewise.
16787         * sysdeps/x86_64/stackinfo.h: Likewise.
16788         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16789         PF_X for powerpc64.  Retain PF_X for powerpc32.
16791 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
16793         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16794         accurately.
16795         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16796         GETDENTS_64BIT_ALIGNED.
16798 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
16800         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16802 2010-12-10  Andreas Schwab  <schwab@redhat.com>
16804         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16805         _GNU_SOURCE.
16807         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16808         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16809         Remove __restrict.
16810         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16811         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16813 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
16815         [BZ #11655]
16816         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16817         are initialized.
16819 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
16821         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16823 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
16825         * po/it.po: Update from translation team.
16827 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
16829         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16830         unused codes.
16832 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
16834         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16836 2010-11-24  Andreas Schwab  <schwab@redhat.com>
16838         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16839         specially.
16840         (gaih_getanswer_slice): Likewise.
16842 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
16844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16846 2010-05-31  Petr Baudis  <pasky@suse.cz>
16848         [BZ #11149]
16849         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16850         silently even in the chroot mode.
16852 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
16854         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16855         last patch a bit.  Pretty printing
16857 2010-05-31  Petr Baudis <pasky@suse.cz>
16859         [BZ #10085]
16860         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16861         initialization of skip_initgroups_dyn.
16863 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
16865         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16866         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16868 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
16870         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16872 2010-11-11  Andreas Schwab  <schwab@redhat.com>
16874         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16875         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16876         (tst-fnmatch-ENV): Set MALLOC_TRACE.
16877         ($(objpfx)tst-fnmatch-mem): New rule.
16878         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16879         * posix/tst-fnmatch.c (main): Call mtrace.
16881 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
16883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16884         Support Intel processor model 6 and model 0x2c.
16886 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
16888         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16889           signed comparison.
16891 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
16893         [BZ #12205]
16894         * string/test-strncasecmp.c (check_result): New function.
16895         (do_one_test): Use it.
16896         (check1): New function.
16897         (test_main): Use it.
16898         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16899         Support strcasecmp and strncasecmp.
16901 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
16903         [BZ #12194]
16904         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16905         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16907 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16909         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16910         IFUNC support.
16911         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16912         memset-x86-64.
16913         * sysdeps/x86_64/multiarch/bzero.S: New file.
16914         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16915         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16916         * sysdeps/x86_64/multiarch/memset.S: New file.
16917         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16918         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16919         Set bit_Prefer_SSE_for_memop for Intel processors.
16920         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16921         Define.
16922         (index_Prefer_SSE_for_memop): Define.
16923         (HAS_PREFER_SSE_FOR_MEMOP): Define.
16925 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
16927         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16928         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16930 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
16932         [BZ #12191]
16933         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16934         (__x86_64_raw_data_cache_size_half): Likewise.
16935         (__x86_64_raw_shared_cache_size): Likewise.
16936         (__x86_64_raw_shared_cache_size_half): Likewise.
16938         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16939         (__x86_64_raw_data_cache_size_half): Likewise.
16940         (__x86_64_raw_shared_cache_size): Likewise.
16941         (__x86_64_raw_shared_cache_size_half): Likewise.
16942         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16943         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16944         and __x86_64_raw_shared_cache_size_half.  Round
16945         __x86_64_data_cache_size_half, __x86_64_data_cache_size
16946         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16947         to multiple of 256 bytes.
16949 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
16951         [BZ #12167]
16952         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16953         of inacessible symlinks.  Verify result of symlink before returning it.
16954         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16955         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16957 2010-10-28  Erich Ritz  <erichritz@gmail.com>
16959         * math/math.h (isinf): Fix typo in comment.
16961 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
16963         * po/da.po: Update from translation team.
16965 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
16967         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16968         is added to the list.
16970 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16971             Ulrich Drepper  <drepper@gmail.com>
16973         * elf/dl-object.c (_dl_new_object): Don't append the new object to
16974         the global list here.  Move code to...
16975         (_dl_add_to_namespace_list): ...here.  New function.
16976         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16977         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16978         * elf/dl-load.c (lose): Don't remove the element from the list.
16979         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16980         (_dl_map_object): Likewise.
16982 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
16984         [BZ #12159]
16985         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16986         into all bytes of SSE register.
16987         Patch by Richard Li <richardpku@gmail.com>.
16989 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
16991         [BZ #12140]
16992         * malloc/malloc.c (_int_free): Fill correct number of bytes when
16993         perturbing.
16995 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
16997         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16998         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16999         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17000         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17002         submachine.
17003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17005 2010-10-22  Andreas Schwab  <schwab@redhat.com>
17007         * include/dlfcn.h (__RTLD_SECURE): Define.
17008         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
17009         mode & __RTLD_SECURE instead.
17010         (open_path): Rename preloaded parameter to secure.
17011         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17012         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17013         * elf/dl-deps.c (openaux): Likewise.
17014         * elf/rtld.c (struct map_args): Remove is_preloaded.
17015         (map_doit): Don't use it.
17016         (dl_main): Likewise.
17017         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17018         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17020 2010-09-09  Andreas Schwab  <schwab@redhat.com>
17022         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17023         (sysd-rules-targets): Remove duplicates.
17024         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17025         rtld-%.$o dependency.
17027 2010-10-18  Andreas Schwab  <schwab@redhat.com>
17029         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17030         _dl_map_object do it.
17032 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
17034         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17035         fast fma builtins, define the macros in the C99 standard.
17036         (FP_FAST_FMAF): Likewise.
17037         (FP_FAST_FMAL): Likewise.
17038         * sysdeps/x86_64/bits/mathdef.h: Likewise.
17040         * bits/mathdef.h: Update copyright year.
17041         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17043 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
17045         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17046         builtins, define the macros in the C99 standard.
17047         (FP_FAST_FMAF): Likewise.
17048         (FP_FAST_FMAL): Likewise.
17049         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17050         multiply/add.
17051         (FP_FAST_FMAF): Likewise.
17053 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
17055         [BZ #3268]
17056         * math/libm-test.inc (fma_test): Some new testcases.
17057         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17058         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17059         y and infinite z.  Do multiplication by C already in long double.
17060         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17061         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17062         y and infinite z.  Do bitwise or of inexact bit into u.d.
17063         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17064         * sysdeps/i386/fpu/s_fmaf.S: Removed.
17065         * sysdeps/i386/fpu/s_fma.S: Removed.
17066         * sysdeps/i386/fpu/s_fmal.S: Removed.
17068 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
17070         [BZ #3268]
17071         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17072         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17073         computation is not scheduled after fetestexcept.  Fix value
17074         of minimum denormal long double.
17076 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
17078         [BZ #3268]
17079         * math/libm-test.inc (fma_test): Add some more tests.
17080         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17081         correctly.
17083 2010-10-15  Andreas Schwab  <schwab@redhat.com>
17085         * scripts/data/localplt-s390-linux-gnu.data: New file.
17086         * scripts/data/localplt-s390x-linux-gnu.data: New file.
17088 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
17090         [BZ #3268]
17091         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17092         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17093         instead of dbl-64.
17094         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17095         inlines.
17096         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17097         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17098         if one of x and y is very large and the other is subnormal.
17099         * sysdeps/s390/fpu/s_fmaf.c: New file.
17100         * sysdeps/s390/fpu/s_fma.c: New file.
17101         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17102         * sysdeps/powerpc/fpu/s_fma.S: New file.
17103         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17104         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17105         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17107 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
17109         [BZ #3268]
17110         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17111         fma tests.
17112         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17113         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17114         * sysdeps/i386/i686/multiarch/s_fma.c: Include
17115         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17116         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17117         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17118         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17120 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
17122         [BZ #12078]
17123         * posix/regcomp.c (parse_branch): One more memory leak plugged.
17124         * posix/bug-regex31.input: Add test case.
17126 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
17128         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17129         * posix/bug-regex31.input: New file.
17131         [BZ #12078]
17132         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17133         (parse_sub_exp): Fix last change, use postorder.
17135         * posix/bug-regex31.c: New file.
17136         * posix/Makefile: Add rules to build and run bug-regex31.
17138         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17140         [BZ #12078]
17141         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17143         [BZ #12108]
17144         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17145         to have entries in sys_siglist.
17147         [BZ #12093]
17148         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17149         be NULL.
17151 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
17153         [BZ #3268]
17154         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17155         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17156         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17157         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17158         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17159         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17160         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17161         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17162         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17163         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17164         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17165         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17166         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17167         * math/ftestexcept.c (fetestexcept): Likewise.
17168         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17169         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17170         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17171         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17172         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17173         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17174         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17176 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
17178         [BZ #12107]
17179         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17180         newline.
17182 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
17184         * string/bug-strstr1.c: New file.
17185         * string/Makefile: Add rules to build and run bug-strstr1.
17187 2010-10-05  Eric Blake  <eblake@redhat.com>
17189         [BZ #12092]
17190         * string/str-two-way.h (two_way_long_needle): Always clear memory
17191         when skipping input due to the shift table.
17193 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
17195         [BZ #12005]
17196         * malloc/mcheck.c: Handle large requests.
17198         [BZ #12077]
17199         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17200         for strncmp and strncasecmp.
17201         * string/stratcliff.c: Add tests for strcmp and strncmp.
17202         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17204 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17206         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17207         __set_fpscr.
17209 2010-09-30  Andreas Jaeger  <aj@suse.de>
17211         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17212         (CGROUP_SUPER_MAGIC): Define.
17213         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17214         Handle btrfs and cgroup file systems.
17215         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17216         Likewise.
17218 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
17220         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17221         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17223 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17225         [BZ #12067]
17226         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17227         trying to locate the ELF header.
17229 2010-09-27  Andreas Schwab  <schwab@redhat.com>
17231         [BZ #11611]
17232         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17233         Mask out sign-bit copies when constructing f_fsid.
17235 2010-09-24  Petr Baudis <pasky@suse.cz>
17237         * debug/stack_chk_fail_local.c: Add missing licence exception.
17238         * debug/warning-nop.c: Likewise.
17240 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
17242         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17243         implementing getdents64 using getdents syscall, set d_type if
17244         __ASSUME_GETDENTS32_D_TYPE.
17246 2010-09-16  Andreas Schwab  <schwab@redhat.com>
17248         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17249         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17251 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
17253         [BZ #12037]
17254         * posix/unistd.h: Undo change of feature selection for ftruncate from
17255         2010-01-11.
17257 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
17259         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17260         detection.
17262 2010-09-20  Andreas Schwab  <schwab@redhat.com>
17264         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17265         fanotify_mark.
17266         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17268 2010-09-14  Andreas Schwab  <schwab@redhat.com>
17270         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17271         variables after CHECK_SP call.
17272         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17274 2010-09-13  Andreas Schwab  <schwab@redhat.com>
17275             Ulrich Drepper  <drepper@redhat.com>
17277         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17278         re-relocationg ld.so.
17279         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17280         _dl_init_paths call.
17281         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
17282         here anymore.
17284 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
17286         * resolv/res_init.c (__res_vinit): Count the default server we added.
17288 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
17289             Ulrich Drepper  <drepper@redhat.com>
17291         [BZ #11968]
17292         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17293         (____longjmp_chk): Use %ebx for saving value across system call.
17294         Add unwind info.
17296 2010-09-06  Andreas Schwab  <schwab@redhat.com>
17298         * manual/Makefile: Don't mix pattern rules with normal rules.
17300 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17302         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17303         operation.
17304         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17305         * libio/iofopncook.c (_IO_cookie_init): Likewise.
17306         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17307         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17308         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17309         Likewise.
17311 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
17313         [BZ #11979]
17314         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17315         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17317 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
17319         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17320         * sysdeps/x86_64/addmul_1.S: Likewise.
17321         * sysdeps/x86_64/lshift.S: Likewise.
17322         * sysdeps/x86_64/mul_1.S: Likewise.
17323         * sysdeps/x86_64/rshift.S: Likewise.
17324         * sysdeps/x86_64/sub_n.S: Likewise.
17325         * sysdeps/x86_64/submul_1.S: Likewise.
17327 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17329         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17330         Define __sched_param instead of SCHED_* and sched_param when
17331         <bits/sched.h> is included with __need_schedparam defined.
17332         * bits/sched.h [__need_schedparam]
17333         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17334         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17335         (__defined_schedparam): Define to 1.
17336         (__sched_param): New structure, identical to sched_param.
17337         (__need_schedparam): Undefine.
17339 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
17341         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17342         (epoll_create1): Declare.
17344         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17346 2010-08-31  Andreas Schwab  <schwab@redhat.com>
17348         [BZ #7066]
17349         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17350         shifting retval into place.
17352 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
17354         * nis/rpcsvc/nis.h: Update copyright notice.
17355         * nis/rpcsvc/nis.x: Likewise.
17356         * nis/rpcsvc/nis_callback.h: Likewise.
17357         * nis/rpcsvc/nis_callback.x: Likewise.
17358         * nis/rpcsvc/nis_object.x: Likewise.
17359         * nis/rpcsvc/nis_tags.h: Likewise.
17360         * nis/rpcsvc/yp.h: Likewise.
17361         * nis/rpcsvc/yp.x: Likewise.
17362         * nis/rpcsvc/ypupd.h: Likewise.
17363         * nis/yp_xdr.c: Likewise.
17364         * nis/ypupdate_xdr.c: Likewise.
17366         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
17367         mainly the body of pmap_getport.  Add parameters to specify timeouts.
17368         (pmap_getport): Use __libc_rpc_getport.
17369         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17370         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17371         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17373 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
17375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17376         fanotify_mark.
17378 2010-08-27  Roland McGrath  <roland@redhat.com>
17380         * sysdeps/i386/i686/multiarch/Makefile
17381         (CFLAGS-varshift.c): New variable.
17383 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
17385         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17386         * sysdeps/i386/i686/multiarch/varshift.c: New file.
17388         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17390         * sysdeps/x86_64/strlen.S: Minimal code improvement.
17392 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17394         * sysdeps/x86_64/strlen.S: Unroll the loop.
17395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17396         strlen-sse2 strlen-sse2-bsf.
17397         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17398         __strlen_no_bsf if bit_Slow_BSF is set.
17399         (__strlen_sse42): Removed.
17400         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17401         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17403 2010-08-25  Roland McGrath  <roland@redhat.com>
17405         * sysdeps/x86_64/multiarch/varshift.S: File removed.
17406         * sysdeps/x86_64/multiarch/varshift.c: New file.
17407         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17408         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17409         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17410         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17412 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17414         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17415         strlen-sse2 strlen-sse2-bsf.
17416         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17417         __strlen_sse2_bsf if bit_Slow_BSF is unset.
17418         (__strlen_sse2): Removed.
17419         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17420         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17422         bit_Slow_BSF for Atom.
17423         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17424         (index_Slow_BSF): Define.
17425         (HAS_SLOW_BSF): Define.
17427 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
17429         [BZ #10851]
17430         * resolv/res_init.c (__res_vinit): When no server address at all
17431         is given default to loopback.
17433 2010-08-24  Roland McGrath  <roland@redhat.com>
17435         * configure.in: Remove config-name.h generation.
17436         * configure: Regenerated.
17437         * config-name.in: File removed.
17438         * scripts/config-uname.sh: New file.
17439         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17440         ($(objdir)config-name.h): New target.
17442         * sunrpc/rpc_parse.h: Avoid nested comment.
17444 2010-08-24  Richard Henderson  <rth@redhat.com>
17445             Ulrich Drepper  <drepper@redhat.com>
17446             H.J. Lu  <hongjiu.lu@intel.com>
17448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17450         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17451         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
17452         _mm_alignr_epi8 with _mm_loadu_si128.
17453         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17454         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17455         (__m128i_shift_right): Removed.
17456         * sysdeps/i386/i686/multiarch/varshift.h: New file.
17457         * sysdeps/i386/i686/multiarch/varshift.S: New file.
17458         * sysdeps/x86_64/multiarch/varshift.h: New file.
17459         * sysdeps/x86_64/multiarch/varshift.S: New file.
17461 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
17463         * configure.in: Move assembler checks to before sysdep dir checking.
17465 2010-08-20  Petr Baudis  <pasky@suse.cz>
17467         * LICENSES: Sync the sunrpc license.
17469 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
17471         * sunrpc/auth_des.c: Update copyright notice once again.
17472         * sunrpc/auth_none.c: Likewise.
17473         * sunrpc/auth_unix.c: Likewise.
17474         * sunrpc/authdes_prot.c: Likewise.
17475         * sunrpc/authuxprot.c: Likewise.
17476         * sunrpc/bindrsvprt.c: Likewise.
17477         * sunrpc/clnt_gen.c: Likewise.
17478         * sunrpc/clnt_perr.c: Likewise.
17479         * sunrpc/clnt_raw.c: Likewise.
17480         * sunrpc/clnt_simp.c: Likewise.
17481         * sunrpc/clnt_tcp.c: Likewise.
17482         * sunrpc/clnt_udp.c: Likewise.
17483         * sunrpc/clnt_unix.c: Likewise.
17484         * sunrpc/des_crypt.c: Likewise.
17485         * sunrpc/des_soft.c: Likewise.
17486         * sunrpc/get_myaddr.c: Likewise.
17487         * sunrpc/getrpcport.c: Likewise.
17488         * sunrpc/key_call.c: Likewise.
17489         * sunrpc/key_prot.c: Likewise.
17490         * sunrpc/openchild.c: Likewise.
17491         * sunrpc/pm_getmaps.c: Likewise.
17492         * sunrpc/pm_getport.c: Likewise.
17493         * sunrpc/pmap_clnt.c: Likewise.
17494         * sunrpc/pmap_prot.c: Likewise.
17495         * sunrpc/pmap_prot2.c: Likewise.
17496         * sunrpc/pmap_rmt.c: Likewise.
17497         * sunrpc/rpc/auth.h: Likewise.
17498         * sunrpc/rpc/auth_unix.h: Likewise.
17499         * sunrpc/rpc/clnt.h: Likewise.
17500         * sunrpc/rpc/des_crypt.h: Likewise.
17501         * sunrpc/rpc/key_prot.h: Likewise.
17502         * sunrpc/rpc/netdb.h: Likewise.
17503         * sunrpc/rpc/pmap_clnt.h: Likewise.
17504         * sunrpc/rpc/pmap_prot.h: Likewise.
17505         * sunrpc/rpc/pmap_rmt.h: Likewise.
17506         * sunrpc/rpc/rpc.h: Likewise.
17507         * sunrpc/rpc/rpc_des.h: Likewise.
17508         * sunrpc/rpc/rpc_msg.h: Likewise.
17509         * sunrpc/rpc/svc.h: Likewise.
17510         * sunrpc/rpc/svc_auth.h: Likewise.
17511         * sunrpc/rpc/types.h: Likewise.
17512         * sunrpc/rpc/xdr.h: Likewise.
17513         * sunrpc/rpc_clntout.c: Likewise.
17514         * sunrpc/rpc_cmsg.c: Likewise.
17515         * sunrpc/rpc_common.c: Likewise.
17516         * sunrpc/rpc_cout.c: Likewise.
17517         * sunrpc/rpc_dtable.c: Likewise.
17518         * sunrpc/rpc_hout.c: Likewise.
17519         * sunrpc/rpc_main.c: Likewise.
17520         * sunrpc/rpc_parse.c: Likewise.
17521         * sunrpc/rpc_parse.h: Likewise.
17522         * sunrpc/rpc_prot.c: Likewise.
17523         * sunrpc/rpc_sample.c: Likewise.
17524         * sunrpc/rpc_scan.c: Likewise.
17525         * sunrpc/rpc_scan.h: Likewise.
17526         * sunrpc/rpc_svcout.c: Likewise.
17527         * sunrpc/rpc_tblout.c: Likewise.
17528         * sunrpc/rpc_util.c: Likewise.
17529         * sunrpc/rpc_util.h: Likewise.
17530         * sunrpc/rpcinfo.c: Likewise.
17531         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17532         * sunrpc/rpcsvc/key_prot.x: Likewise.
17533         * sunrpc/rpcsvc/klm_prot.x: Likewise.
17534         * sunrpc/rpcsvc/mount.x: Likewise.
17535         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17536         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17537         * sunrpc/rpcsvc/rex.x: Likewise.
17538         * sunrpc/rpcsvc/rstat.x: Likewise.
17539         * sunrpc/rpcsvc/rusers.x: Likewise.
17540         * sunrpc/rpcsvc/sm_inter.x: Likewise.
17541         * sunrpc/rpcsvc/spray.x: Likewise.
17542         * sunrpc/rpcsvc/yppasswd.x: Likewise.
17543         * sunrpc/rtime.c: Likewise.
17544         * sunrpc/svc.c: Likewise.
17545         * sunrpc/svc_auth.c: Likewise.
17546         * sunrpc/svc_authux.c: Likewise.
17547         * sunrpc/svc_raw.c: Likewise.
17548         * sunrpc/svc_run.c: Likewise.
17549         * sunrpc/svc_simple.c: Likewise.
17550         * sunrpc/svc_tcp.c: Likewise.
17551         * sunrpc/svc_udp.c: Likewise.
17552         * sunrpc/svc_unix.c: Likewise.
17553         * sunrpc/svcauth_des.c: Likewise.
17554         * sunrpc/xcrypt.c: Likewise.
17555         * sunrpc/xdr.c: Likewise.
17556         * sunrpc/xdr_array.c: Likewise.
17557         * sunrpc/xdr_float.c: Likewise.
17558         * sunrpc/xdr_mem.c: Likewise.
17559         * sunrpc/xdr_rec.c: Likewise.
17560         * sunrpc/xdr_ref.c: Likewise.
17561         * sunrpc/xdr_sizeof.c: Likewise.
17562         * sunrpc/xdr_stdio.c: Likewise.
17564         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17565         handling.
17567 2010-08-19  Andreas Schwab  <schwab@redhat.com>
17569         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17571 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
17573         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17574         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17575         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17576         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17577         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17578         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17579         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17580         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17581         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17582         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17583         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17584         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17585         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17586         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17588 2010-07-26  Anton Blanchard  <anton@samba.org>
17590         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17591         * malloc/arena.c (heap_trim): Likewise.
17593 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
17595         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17596         here.  Not...
17597         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17598         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17600 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
17602         * sysdeps/i386/elf/Makefile: New file.
17604 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
17606         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17607         from fanotify_init.
17608         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17609         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17611 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
17613         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17614         of strncasecmp_l.
17615         * sysdeps/multiarch/strcmp.S: Likewise.
17617 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
17619         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17620         strncase_l-nonascii.
17621         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17622         Add strncase_l-ssse3.
17623         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17624         * sysdeps/x86_64/strcmp.S: Likewise.
17625         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17626         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17627         * sysdeps/x86_64/strncase.S: New file.
17628         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17629         * sysdeps/x86_64/strncase_l.S: New file.
17630         * string/Makefile (strop-tests): Add strncasecmp.
17631         * string/test-strncasecmp.c: New file.
17633         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17634         warning.
17636         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17637         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17639 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
17641         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17643 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
17645         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17646         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17647         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17649 2010-05-01  Alan Modra  <amodra@gmail.com>
17651         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17652         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17653         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17654         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17655         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17656         tidying.  Don't tail-call __sigjmp_save for static lib.
17657         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17658         save location.
17659         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17660         (CALL_MCOUNT): Add eh info, and nop after bl.
17661         (TAIL_CALL_SYSCALL_ERROR): New macro.
17662         (PSEUDO_RET): Use it.
17663         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17664         Correct save location of integer regs and cr.
17665         (_dl_profile_resolve): Correct cr save location.  Delete nops
17666         after bl when SHARED.  Reduce cfi size a little by better
17667         placement of cfi directives.
17668         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17669         make a stack frame.  Instead use parm save area as a temp.
17670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17671         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
17672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17673         Don't make a stack frame for parent, use parm save area.
17674         Increase child stack frame to 112 bytes.  Don't save unused reg,
17675         and adjust reg usage.  Set up cfi on error recovery and
17676         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17678         (__makecontext): Add dummy nop after jump to exit.
17679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17680         Use correct parm save area and cr save, reduce stack frame.
17681         Correct cfi for possible PSEUDO_RET frame setup.
17682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17683         Branch to local label emitted by PSEUDO_RET rather than
17684         __syscall_error.
17686 2010-08-12  Andreas Schwab  <schwab@redhat.com>
17688         [BZ #11904]
17689         * locale/programs/locale.c (print_assignment): New function.
17690         (show_locale_vars): Use it.
17692 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
17694         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17695         field.
17696         (struct statfs64): Likewise.
17697         (_STATFS_F_FLAGS): Define.
17698         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17699         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17700         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17701         (ST_VALID): Define locally.
17702         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17703         __statvfs_getflags, use the provided value.
17704         * sysdeps/unix/sysv/linux/kernel-features.h: Define
17705         __ASSUME_STATFS_F_FLAGS.
17707         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17709         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17710         Add sys/fanotify.h.
17711         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17712         fanotify_mask for GLIBC_2.13.
17713         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17714         fanotify_init and fanotify_mark.
17715         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17716         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17718         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17719         Add prlimit.
17720         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17721         prlimit64 for GLIBC_2.13.
17722         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17723         prlimit64.
17724         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17725         syscall.
17726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17727         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17728         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17729         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17730         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
17731         add prlimit alias.
17732         * sysdeps/unix/sysv/linux/prlimit.c: New file.
17734         [BZ #11903]
17735         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17736         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17738         * nss/Makefile: Add rules to build and run tst-nss-test1.
17739         * shlib-versions: Add entry for libnss_test1.
17740         * nss/nss_test1.c: New file.
17741         * nss/tst-nss-test1.c: New file.
17743         * nss/nsswitch.c (__nss_database_custom): Define new variable.
17744         (__nss_configure_lookup): Set appropriate entry in
17745         __nss_configure_lookup to true.
17746         * nss/nsswitch.h: Define enum with indeces of databases in
17747         databases and __nss_database_custom arrays.  Declare
17748         __nss_database_custom.
17749         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17750         to avoid using nscd when custom rules are installed.
17751         * nss/getXXbyYY_r.c: Likewise.
17752         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17754         * nss/nss_files/files-parse.c: Whitespace fixes.
17756 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
17758         [BZ #11883]
17759         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17760         * posix/fnmatch_loop.c: Likewise.
17762 2010-07-17  Andi Kleen  <ak@linux.intel.com>
17764         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17765         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17766         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17767         * Versions.def [GLIBC_2.13]: Add.
17769 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
17771         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17772         Also fail if tpwd after pwuid call is NULL.
17774 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17776         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17777         when converting to ms.
17779 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17781         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17782         EOPNOTSUPP errors with ENOTTY.
17783         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17784         EOPNOTSUPP errors with ENOTTY.
17786 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
17788         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17789         Add strcasecmp_l-ssse3.
17790         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17791         strcasecmp.
17792         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17793         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17794         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17796 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
17798         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17800         * string/Makefile (strop-tests): Add strcasecmp.
17801         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17802         strcasecmp_l-nonascii.
17803         (gen-as-const-headers): Add locale-defines.sym.
17804         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17805         * sysdeps/x86_64/strcasecmp.S: New file.
17806         * sysdeps/x86_64/strcasecmp_l.S: New file.
17807         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17808         * sysdeps/x86_64/locale-defines.sym: New file.
17809         * string/test-strcasecmp.c: New file.
17811         * string/test-strcasestr.c: Test both ends of the range of characters.
17812         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17814 2010-07-29  Roland McGrath  <roland@redhat.com>
17816         [BZ #11856]
17817         * manual/locale.texi (Yes-or-No Questions): Fix example code.
17819 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
17821         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17822         for ld.so.
17824 2010-07-27  Andreas Schwab  <schwab@redhat.com>
17826         * manual/memory.texi (Malloc Tunable Parameters): Document
17827         M_PERTURB.
17829 2010-07-26  Roland McGrath  <roland@redhat.com>
17831         [BZ #11840]
17832         * configure.in (-fgnu89-inline check): Set and substitute
17833         gnu89_inline, not libc_cv_gnu89_inline.
17834         * configure: Regenerated.
17835         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17837 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
17839         * string/test-strnlen.c: New file.
17840         * string/Makefile (strop-tests): Add strnlen.
17841         * string/tester.c (test_strnlen): Add a few more test cases.
17842         * string/tst-strlen.c: Better error reporting.
17844         * sysdeps/x86_64/strnlen.S: New file.
17846 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
17848         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17849         lower-latency instructions.
17851 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
17853         * string/test-strcasestr.c: New file.
17854         * string/test-strstr.c: New file.
17855         * string/Makefile (strop-tests): Add strstr and strcasestr.
17856         * string/str-two-way.h: Don't undefine MAX.
17857         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17859 2010-07-21  Andreas Schwab  <schwab@redhat.com>
17861         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17862         strcasestr-nonascii.
17863         (CFLAGS-strcasestr-nonascii.c): Define.
17864         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17865         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17866         Remove unused attribute.
17868 2010-07-20  Roland McGrath  <roland@redhat.com>
17870         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17871         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
17872         ld.so.cache was broken.  With it, there is no way to disable dsocaps
17873         like LD_HWCAP_MASK can disable hwcaps.
17875 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
17877         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17879 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
17881         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17882         call in strcasestr.
17883         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17884         __strcasestr_sse42_nonascii.
17885         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17886         strcasestr-nonascii.c.
17887         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17889 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
17891         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17892         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17893         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17894         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17896 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
17898         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17899         fcntl.
17901 2010-07-06  Andreas Schwab  <schwab@redhat.com>
17903         [BZ #11577]
17904         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17905         dl_signal_cerror.
17907 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
17909         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17910         _PC_PIPE_BUF using F_GETPIPE_SZ.
17912 2010-07-05  Roland McGrath  <roland@redhat.com>
17914         * manual/arith.texi (Rounding Functions): Fix rint description
17915         implicit in round description.
17917 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
17919         * elf/Makefile: Fix linking for a few tests to make recent linker
17920         happy.
17922 2010-06-30  Andreas Schwab  <schwab@redhat.com>
17924         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17925         $(common-objpfx)libc_nonshared.a.
17927 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
17929         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17930         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17931         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17932         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17933         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17934         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17935         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17936         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17951         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17952         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17953         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17954         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17955         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17956         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17957         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17958         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17959         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17960         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17961         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17962         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17978 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17980         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17981         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
17982         * string/memmove.c (memmove): Renamed to ...
17983         (MEMMOVE): ...this.  Default to memmove.
17984         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17985         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17986         (END_CHK): Define.
17987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17988         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17989         mempcpy-ssse3-back memmove-ssse3-back.
17990         * sysdeps/x86_64/multiarch/bcopy.S: New file .
17991         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17992         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17993         * sysdeps/x86_64/multiarch/memcpy.S: New file.
17994         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17995         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17996         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17997         * sysdeps/x86_64/multiarch/memmove.c: New file.
17998         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17999         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18000         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18001         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18002         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18003         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18004         Define.
18005         (index_Fast_Copy_Backward): Define.
18006         (HAS_ARCH_FEATURE): Define.
18007         (HAS_FAST_REP_STRING): Define.
18008         (HAS_FAST_COPY_BACKWARD): Define.
18010 2010-06-21  Andreas Schwab  <schwab@redhat.com>
18012         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18013         Restore proper fallback handling.
18015 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
18017         [BZ #11701]
18018         * posix/group_member.c (__group_member): Correct checking loop.
18020         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18021         OOM in getpwuid_r correctly.  Return error number when the caller
18022         should return, otherwise -1.
18023         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18024         call returning > 0 value.
18025         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18027 2010-06-07  Andreas Schwab  <schwab@redhat.com>
18029         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18030         libc_nonshared.a from targets in modules-names.
18032 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
18034         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18035         requires it.
18037 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
18039         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18040         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18041         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18042         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18044 2010-06-02  Andreas Schwab  <schwab@redhat.com>
18046         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18048 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
18050         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18051         and F_GETPIPE_SZ.
18052         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18053         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18054         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18055         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18056         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18057         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18059 2010-06-14  Roland McGrath  <roland@redhat.com>
18061         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18063 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
18065         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18066         __REDIRECT followed by __THROW.
18067         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18068         * posix/getopt.h (getopt): Likewise.
18070 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
18072         * hurd/lookup-at.c (__file_name_lookup_at): Accept
18073         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
18074         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18075         in AT_FLAGS.
18076         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18077         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18079 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
18081         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18083 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
18085         [BZ #11640]
18086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18087         Properly check family and model.
18089 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
18091         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18093 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
18095         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18097 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
18099         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18100         symbol reference.
18102 2010-05-19  Andreas Schwab  <schwab@redhat.com>
18104         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18105         symbol reference.
18107 2010-05-21  Andreas Schwab  <schwab@redhat.com>
18109         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18110         and internal_recvmmsg.
18111         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18112         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18113         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18114         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18116         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18117         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18118         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18120 2010-05-20  Andreas Schwab  <schwab@redhat.com>
18122         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18124 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
18126         POWER7 optimizations.
18127         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18128         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18130 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
18132         * version.h: Update for 2.13 development version.
18134 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
18136         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18137         exceptions.  Return 0.
18139 2010-05-07  Roland McGrath  <roland@redhat.com>
18141         * elf/ldconfig.c (main): Add a const.
18143 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
18145         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18146         (args_options): Add no-idn option.
18147         (ahosts_keys_int): Add idn_flags to ai_flags.
18148         (parse_option): Handle 'i' option to clear idn_flags.
18150         * malloc/malloc.c (_int_free): Possible race in the most recently
18151         added check.  Only act on the data if no current modification
18152         happened.
18154 See ChangeLog.17 for earlier changes.