Move stub lseek.c to the right directory.
[glibc.git] / ChangeLog
blob3dd5842b082f74a10b52d0a4fe65d8a733cd7969
1 2012-08-15  Roland McGrath  <roland@hack.frob.com>
3         * misc/lseek.c: File moved to ...
4         * io/lseek.c: ... here.
6         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9         shifting LEN more than 31 bits at once.
11 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13         [BZ #14195]
14         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15         segmentation fault for a case of two empty input strings.
16         * string/test-strncasecmp.c (check1): Renamed to...
17         (bz12205): ...this.
18         (bz14195): Add new testcase for two empty input strings and N > 0.
19         (test_main): Call new testcase, adapt for renamed function.
21 2012-08-15  Andreas Jaeger  <aj@suse.de>
23         [BZ #14090]
24         * crypt/md5test2.c: New test, based on test supplied by Serge
25         Belyshev <belyshev@depni.sinp.msu.ru>.
26         * crypt/Makefile (xtests): Add md5test-giant..
27         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31         [BZ #14090]
32         * crypt/md5.c (md5_process_block): Don't assume the buffer
33         length is less than 2**32.
34         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35         length is less than 2**64.
37 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39         * string/str-two-way.h: Include <sys/param.h>.
40         (MAX): Macro removed.
42         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43         Move #define and #undef of memmove to just before and after
44         including <string.h>.
46         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48         and after including <string.h>.  Move declarations of
49         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
50         to before #include "string/memmove.c".
52         * include/dirent.h: Declare __getdirentries.
54         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
60         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61         * sysdeps/i386/configure: Regenerated.
62         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
63         STABS_CURRENT_FILE, and STABS_FUN.
64         (END): Remove call to STABS_FUN_END.
65         (STABS_CURRENT_FILE1): Delete.
66         (STABS_CURRENT_FILE): Likewise.
67         (STABS_FUN): Likewise.
68         (STABS_FUN_END): Likewise.
69         (STABS_FUN2): Likewise.
70         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
71         * sysdeps/x86_64/configure: Regenerated.
73 2012-08-14  Roland McGrath  <roland@hack.frob.com>
75         * elf/dl-open.c: Include <atomic.h>.
76         * elf/dl-lookup.c: Likewise.
78 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
80         * sysdeps/unix/sysv/linux/kernel-features.h
81         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
82         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
83         unconditionally.
84         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
85         unconditionally.
86         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
87         condition on __ASSUME_CLONE_THREAD_FLAGS.
89 2012-08-14  Andreas Jaeger  <aj@suse.de>
91         * sysdeps/i386/fpu/libm-test-ulps: Update.
93 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
95         * include/atomic.h (atomic_exchange_and_add): Split into ...
96         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
97         New atomic macros.
99 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
103 2012-08-13  Jeff Law <law@redhat.com>
105         * manual/stdio.texi (snprintf): Clarify handling of the trailing
106         null byte in the output string.
108 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
110         * sysdeps/unix/sysv/linux/kernel-features.h
111         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
112         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
113         (__ASSUME_ARG_MAX_STACK_BASED): Define.
114         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
115         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
116         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
117         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
119 2012-08-09  Jeff Law <law@redhat.com>
121         [BZ #13939]
122         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
123         When avoid_arena is set, don't retry in the that arena.  Pick the
124         next one, whatever it might be.
125         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
126         (arena_lock): Pass in new parameter to arena_get2.
127         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
128         arena_get2.
129         (__libc_malloc): Unify retrying after main arena failure with
130         __libc_memalign version.
131         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
133 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
135         [BZ #14166]
136         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
137         to __redirect_strstr.
138         (__strstr_sse42): Use typeof __redirect_strstr.
139         (__strstr_ia32): Likewise.
140         (__libc_strstr): New prototype.
141         (strstr): Renamed to ...
142         (__libc_strstr): This.
143         (strstr): New strong alias of __libc_strstr.
144         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
145         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
146         __redirect_time.
147         Include <time.h>.
148         (__libc_time): New prototype.
149         (time_ifunc): Replace time with __libc_time.
150         (time): New strong alias and hidden definition of __libc_time.
151         (__GI_time): Remove strong alias.
152         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
153         Include <stddef.h>.
154         (memmove): Redefined to __redirect_memmove.
155         (__memmove_sse2): Use typeof __redirect_memmove.
156         (__memmove_ssse3): Likewise.
157         (__memmove_ssse3_back): Likewise.
158         (__libc_memmove): New prototype.
159         (memmove): Renamed to ...
160         (__libc_memmove): This.
161         (memmove): New strong alias of __libc_memmove.
163 2012-08-08  Mark Salter  <msalter@redhat.com>
165         * elf/elf.h
166         (R_MN10300_TLS_GD): Define.
167         (R_MN10300_TLS_LD): Likewise.
168         (R_MN10300_TLS_LDO): Likewise.
169         (R_MN10300_TLS_GOTIE): Likewise.
170         (R_MN10300_TLS_IE): Likewise.
171         (R_MN10300_TLS_LE): Likewise.
172         (R_MN10300_TLS_DTPMOD): Likewise.
173         (R_MN10300_TLS_DTPOFF): Likewise.
174         (R_MN10300_TLS_TPOFF): Likewise.
175         (R_MN10300_SYM_DIFF): Likewise.
176         (R_MN10300_ALIGN): Likewise.
177         (R_MN10300_NUM): Update.
179 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
181         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
182         Remove.
184 2012-08-08  Roland McGrath  <roland@hack.frob.com>
186         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
188         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
189         sysdeps/unix -> sysdeps/posix move.
190         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
192 2012-08-07      Allan McRae     <allan@archlinux.org>
194         [BZ #14303]
195         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
196         (SUNOS_CPP): Likewise.
197         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
198         not found.
199         (open_input): Call CPP using execvp.
201 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
203         * sysdeps/unix/sysv/linux/kernel-features.h
204         (__ASSUME_PROT_GROWSUPDOWN): Remove.
205         (__ASSUME_NO_CLONE_DETACHED): Likewise.
206         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
207         (__ASSUME_WAITID_SYSCALL): Likewise.
208         * sysdeps/unix/sysv/linux/dl-execstack.c
209         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
210         code unconditional.
211         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
212         conditional code.
213         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
214         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
215         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
216         code.
217         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
218         unconditional.
219         [__ASSUME_WAITID_SYSCALL]: Likewise.
220         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
222 2012-08-07  Roland McGrath  <roland@hack.frob.com>
224         * sysdeps/unix/closedir.c: Renamed to ...
225         * sysdeps/posix/closedir.c: ... here.
226         * sysdeps/unix/dirfd.c: Renamed to ...
227         * sysdeps/posix/dirfd.c: ... here.
228         * sysdeps/unix/dirstream.h: Renamed to ...
229         * sysdeps/posix/dirstream.h: ... here.
230         * sysdeps/unix/fdopendir.c: Renamed to ...
231         * sysdeps/posix/fdopendir.c: ... here.
232         * sysdeps/unix/opendir.c: Renamed to ...
233         * sysdeps/posix/opendir.c: ... here.
234         * sysdeps/unix/readdir.c: Renamed to ...
235         * sysdeps/posix/readdir.c: ... here.
236         * sysdeps/unix/readdir_r.c: Renamed to ...
237         * sysdeps/posix/readdir_r.c: ... here.
238         * sysdeps/unix/rewinddir.c: Renamed to ...
239         * sysdeps/posix/rewinddir.c: ... here.
240         * sysdeps/unix/seekdir.c: Renamed to ...
241         * sysdeps/posix/seekdir.c: ... here.
242         * sysdeps/unix/telldir.c: Renamed to ...
243         * sysdeps/posix/telldir.c: ... here.
244         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
245         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
246         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
247         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
249         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
250         * bits/fcntl.h: ... here.
252         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
253         not 0.
254         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
255         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
256         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
257         (struct flock): Move l_start, l_len to the beginning.
258         Use __pid_t for l_pid.
259         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
260         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
261         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
262         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
263         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
264         [__USE_LARGEFILE64] (struct flock64): New type.
265         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
267         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
268         * bits/dirent.h: ... here.
270         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
271         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
273 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
275         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
276         Change from 2.6.0 to 2.6.16.
277         * sysdeps/unix/sysv/linux/configure: Regenerated.
278         * sysdeps/unix/sysv/linux/kernel-features.h
279         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
280         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
281         version.
282         (__ASSUME_UTIMES): Likewise.
283         (__ASSUME_CLONE_STOPPED): Remove.
284         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
285         architectures, not kernel version.
286         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
287         (__ASSUME_NO_CLONE_DETACHED): Likewise.
288         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
289         (__ASSUME_WAITID_SYSCALL): Likewise.
290         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
291         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
292         * README: State 2.6.16 as minimum Linux kernel version.  Do not
293         refer to older versions.
295 2012-08-06  Roland McGrath  <roland@hack.frob.com>
297         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
298         Define alphasort64 as an alias.
299         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
300         Define versionsort64 as an alias.
301         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
302         Define scandir64 as an alias.
303         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
304         Define scandirat64 as an alias.
305         * dirent/alphasort64.c (alphasort64):
306         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
307         * dirent/versionsort64.c: Likewise.
308         * dirent/scandir64.c: Likewise.
309         * dirent/scandirat64.c: Likewise.
310         * sysdeps/wordsize-64/alphasort.c: File removed.
311         * sysdeps/wordsize-64/alphasort64.c: File removed.
312         * sysdeps/wordsize-64/scandir.c: File removed.
313         * sysdeps/wordsize-64/scandir64.c: File removed.
314         * sysdeps/wordsize-64/scandirat.c: File removed.
315         * sysdeps/wordsize-64/scandirat64.c: File removed.
316         * sysdeps/wordsize-64/versionsort.c: File removed.
317         * sysdeps/wordsize-64/versionsort64.c: File removed.
318         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
319         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
320         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
321         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
322         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
323         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
324         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
325         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
327         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
328         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
329         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
330         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
331         [defined __arch64__ || defined __sparcv9]
332         (__INO_T_MATCHES_INO64_T): New macro.
333         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
334         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
335         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
336         * sysdeps/unix/sysv/linux/bits/dirent.h
337         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
338         (_DIRENT_MATCHES_DIRENT64): New macro.
340         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
341         Define lockf64 as an alias.
342         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
343         Define fseeko64 as an alias.
344         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
345         Define ftello64 as an alias.
346         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
347         Define _IO_fgetpos64 and fgetpos64 as aliases.
348         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
349         Define _IO_fsetpos64 and fsetpos64 as aliases.
350         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
351         Conditionalize body on this.
352         * libio/fseeko64.c: Likewise.
353         * libio/ftello64.c: Likewise.
354         * libio/iofgetpos64.c: Likewise.
355         * libio/iofsetpos64.c: Likewise.
356         * sysdeps/wordsize-64/lockf.c: File removed.
357         * sysdeps/wordsize-64/lockf64.c: File removed.
358         * sysdeps/wordsize-64/fseeko.c: File removed.
359         * sysdeps/wordsize-64/fseeko64.c: File removed.
360         * sysdeps/wordsize-64/ftello.c: File removed.
361         * sysdeps/wordsize-64/ftello64.c: File removed.
362         * sysdeps/wordsize-64/iofgetpos.c: File removed.
363         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
364         * sysdeps/wordsize-64/iofsetpos.c: File removed.
365         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
366         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
367         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
368         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
369         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
370         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
371         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
372         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
373         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
374         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
375         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
377         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
378         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
379         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
380         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
381         [defined __arch64__ || defined __sparcv9]
382         (__OFF_T_MATCHES_OFF64_T): New macro.
383         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
384         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
385         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
386         (__OFF_T_MATCHES_OFF64_T): New macro.
388 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
390         * stdlib/secure-getenv.c (__secure_getenv): Replace
391         GLIBC_2_16 with GLIBC_2_17.
393 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
395         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
396         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
398 2012-08-03  David S. Miller  <davem@davemloft.net>
400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
402 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
404         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
405         Remove.
406         (__ASSUME_CORRECT_SI_PID): Likewise.
407         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
408         (__ASSUME_TMPFS_NAME): Likewise.
409         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
410         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
411         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
412         (HAVE_AUX_SECURE): Make definition unconditional.
413         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
414         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
416 2012-08-03  Roland McGrath  <roland@hack.frob.com>
418         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
419         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
420         * sysdeps/mach/hurd/eloop-threshold.h: New file.
421         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
422         __eloop_threshold instead of SYMLOOP_MAX.
424         * sysdeps/generic/eloop-threshold.h: New file.
425         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
426         of MAXSYMLINKS.
427         * elf/chroot_canon.c (chroot_canon): Likewise.
429 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
431         [BZ #13717]
432         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
433         Change to 2.6.0 everywhere.
434         * sysdeps/unix/sysv/linux/configure: Regenerated.
435         * sysdeps/unix/sysv/linux/kernel-features.h
436         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
437         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
438         kernel versions.
439         (__ASSUME_POSIX_TIMERS): Define unconditionally.
440         (__ASSUME_FUTEX_REQUEUE): Remove.
441         (__ASSUME_STATFS64): Define unconditionally.
442         (__ASSUME_AT_SECURE): Likewise.
443         (__ASSUME_CORRECT_SI_PID): Likewise.
444         (__ASSUME_TGKILL): Define without depending on kernel version for
445         i386.
446         (__ASSUME_UTIMES): Likewise.
447         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
448         kernel version.
449         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
450         (__ASSUME_TMPFS_NAME): Likewise.
451         * README: Update reference to Linux kernel versions.
453 2012-08-02  Marek Polacek  <polacek@redhat.com>
455         [BZ#14150]
456         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
457         libc_cv_asm_type_prefix with %.
458         * configure: Regenerated.
459         * include/libc-symbols.h: Remove comment about
460         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
461         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
462         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
463         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
464         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
465         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
466         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
467         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
468         * elf/tst-unique2mod1.c: Likewise.
469         * elf/tst-unique1mod2.c: Likewise.
470         * elf/tst-unique1mod1.c: Likewise.
471         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
472         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
473         Replace ASM_TYPE_DIRECTIVE with .type.
474         * sysdeps/s390/s390-64/sysdep.h: Likewise.
475         * sysdeps/i386/sysdep.h: Likewise.
476         * sysdeps/x86_64/sysdep.h: Likewise.
477         * sysdeps/sh/sysdep.h: Likewise.
478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
479         Do not define ASM_TYPE_DIRECTIVE.
480         * sysdeps/powerpc/sysdep.h: Likewise.
481         * sysdeps/powerpc/powerpc32/sysdep.h:
482         Replace ASM_TYPE_DIRECTIVE with .type.
483         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
484         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
485         * sysdeps/i386/fpu/e_powf.S: Likewise.
486         * sysdeps/i386/fpu/e_expl.S: Likewise.
487         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
488         * sysdeps/i386/fpu/e_acosh.S: Likewise.
489         * sysdeps/i386/fpu/e_pow.S: Likewise.
490         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
491         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
492         * sysdeps/i386/fpu/s_expm1.S: Likewise.
493         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
494         * sysdeps/i386/fpu/e_log2.S: Likewise.
495         * sysdeps/i386/fpu/e_log2l.S: Likewise.
496         * sysdeps/i386/fpu/e_scalb.S: Likewise.
497         * sysdeps/i386/fpu/e_powl.S: Likewise.
498         * sysdeps/i386/fpu/e_log10f.S: Likewise.
499         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
500         * sysdeps/i386/fpu/e_logl.S: Likewise.
501         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
502         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
503         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
504         * sysdeps/i386/fpu/e_log2f.S: Likewise.
505         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
506         * sysdeps/i386/fpu/e_log.S: Likewise.
507         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
508         * sysdeps/i386/fpu/e_logf.S: Likewise.
509         * sysdeps/i386/fpu/e_log10l.S: Likewise.
510         * sysdeps/i386/fpu/e_atanh.S: Likewise.
511         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
512         * sysdeps/i386/fpu/e_log10.S: Likewise.
513         * sysdeps/i386/fpu/s_frexp.S: Likewise.
514         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
515         * sysdeps/i386/fpu/s_asinh.S: Likewise.
516         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
517         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
518         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
519         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
520         * sysdeps/i386/i686/strtok.S: Likewise.
521         * sysdeps/i386/i386-mcount.S: Likewise.
522         * sysdeps/i386/strtok.S: Likewise.
523         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
524         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
525         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
526         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
527         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
528         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
529         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
530         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
531         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
532         * sysdeps/x86_64/_mcount.S: Likewise.
533         * sysdeps/x86_64/strtok.S: Likewise.
534         * sysdeps/sh/_mcount.S: Likewise.
536 2012-08-01  Roland McGrath  <roland@hack.frob.com>
538         * libio/iofopen.c: Include <fcntl.h>.
539         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
540         (_IO_fopen64, fopen64): Define as aliases.
541         * libio/iofopen64.c: Include <fcntl.h>.
542         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
543         Conditionalize body on this.
544         * sysdeps/wordsize-64/iofopen.c: File removed.
545         * sysdeps/wordsize-64/iofopen64.c: File removed.
547 2012-08-01  Marek Polacek  <polacek@redhat.com>
549         * libc/Makeconfig: Use elf in place of binfmt-subdir.
550         Use dlfcn directly instead of a variable.
551         (binfmt-subdir): Do not define.
552         (dlfcn): Likewise.
554 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
556         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
557         Remove all definitions.
558         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
559         <kernel-features.h>.
560         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
561         (miss_F_GETOWN_EX): Remove all definitions.
562         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
563         macro definition.
564         [!__ASSUME_FCNTL64]: Remove conditional code.
565         [__ASSUME_FCNTL64]: Make code unconditional.
566         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
567         <kernel-features.h>.
568         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
569         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
570         (lockf64) [__NR_fcntl64]: Make code unconditional.
571         (lockf64) [__ASSUME_FCNTL64]: Likewise.
573         * sysdeps/unix/sysv/linux/kernel-features.h
574         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
575         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
576         Make code unconditional.
577         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
578         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
580         [__NR_vfork]: Make code unconditional.
581         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
582         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
584         [__NR_vfork]: Make code unconditional.
585         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
586         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
588 2012-08-01  Roland McGrath  <roland@hack.frob.com>
590         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
591         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
593         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
594         Define mkstemp64 as an alias.
595         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
596         Define mkstemps64 as an alias.
597         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
598         Define mkostemp64 as an alias.
599         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
600         Define mkostemps64 as an alias.
601         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
602         Conditionalize body on this.
603         * misc/mkostemp64.c: Likewise.
604         * misc/mkostemps64.c: Likewise.
605         * misc/mkstemps64.c: Likewise.
606         * sysdeps/wordsize-64/mkstemp64.c: File removed.
607         * sysdeps/wordsize-64/mkostemp64.c: File removed.
608         * sysdeps/wordsize-64/mkostemp.c: File removed.
609         * sysdeps/wordsize-64/mkstemp.c: File removed.
610         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
611         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
612         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
613         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
615         [BZ #14138]
616         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
617         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
618         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
619         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
621         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
622         compat_symbol macros from <shlib-compat.h> rather than the underlying
623         default_symbol_version and symbol_version macros, so that DEFAULT
624         lines in shlib-versions are respected.
625         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
627 2012-08-01  Florian Weimer  <fweimer@redhat.com>
629         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
630         Declare with warn_unused_result.
631         (setgid, setregid, setegid, setresgid): Likewise.
632         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
633         Likewise.
634         * WUR-REPORT: Remove set*id functions.
636 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
638         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
640 2012-07-31  Roland McGrath  <roland@hack.frob.com>
642         * include/sys/socket.h (__libc_accept, __libc_accept4):
643         Add attribute_hidden.
644         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
646         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
647         use of PTR_MANGLE.
648         * inet/getnetgrent_r.c (setup): Likewise.
650         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
652 2012-07-31  David S. Miller  <davem@davemloft.net>
654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
656 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
658         [BZ #13629]
659         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
660         value between 1.0 and 2.0 and smaller part has absolute value less
661         than 1.0.
662         * math/s_clog10.c (__clog10): Likewise.
663         * math/s_clog10f.c (__clog10f): Likewise.
664         * math/s_clog10l.c (__clog10l): Likewise.
665         * math/s_clogf.c (__clogf): Likewise.
666         * math/s_clogl.c (__clogl): Likewise.
667         * math/libm-test.inc (clog_test): Add more tests.
668         (clog10_test): Likewise.
669         * sysdeps/i386/fpu/libm-test-ulps: Update.
670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
672 2012-07-31  Florian Weimer  <fweimer@redhat.com>
674         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
675         Exit with zero in case no suitable GID is found, and write a
676         message to standard error.
678 2012-07-30  Roland McGrath  <roland@hack.frob.com>
680         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
681         rather than to 1.
682         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
683         (MAXPATHLEN): Removed.
684         (NOGROUP, NODEV): New macros.
685         (setbit, clrbit, isset, isclr): New macros.
686         (howmany, roundup, powerof2): New macros.
687         (DEV_BSIZE): New macro.
689         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
690         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
692         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
693         definition on [!__NO_LONG_DOUBLE_MATH].
695         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
696         PTR_MANGLE and PTR_DEMANGLE.
698         * socket/accept4.c (accept4): Rename to __libc_accept4.
699         Define accept4 as a weak alias.
701         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
702         on [_DIRENT_HAVE_D_TYPE].
703         * io/ftw.c (ftw_dir): Likewise.
705         * io/xmknod.c (__xmknod): Don't check PATH for being null.
707         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
709         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
710         Use the BSD numbers rather than the arbitrary ones we had.
711         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
712         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
713         (SIGXCPU, SIGXFSZ): New macros.
714         (_NSIG): Now 32.
716         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
717         initializer on [_LIBC_REENTRANT].
719         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
720         definitions inside [_POSIX_MAPPED_FILES].
722         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
724         * dirent/opendir.c: Include <fcntl.h>.
726         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
727         (__libc_getspecific): Likewise.
728         (__libc_key_create): Likewise.
730         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
731         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
732         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
733         (tmpfile64): Define as alias.
734         * sysdeps/wordsize-64/tmpfile.c: File removed.
735         * sysdeps/wordsize-64/tmpfile64.c: File removed.
736         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
737         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
739         * stdio-common/vfscanf.c: Include <stdbool.h>.
740         * nss/makedb.c: Likewise.
741         * stdio-common/_i18n_number.h: Likewise.
742         * argp/argp-help.c: Likewise.
743         * posix/wordexp.c: Likewise.
744         * sysdeps/posix/spawni.c: Likewise.
745         * nss/nss_files/files-initgroups.c: Likewise.
746         * stdio-common/reg-modifier.c: Include <stdlib.h>.
747         * nss/nss_files/files-initgroups.c: Likewise.
748         * nss/nss_db/db-netgrp.c: Likewise.
749         * nss/nss_db/db-initgroups.c: Likewise.
750         * io/fchmodat.c: Include <sys/stat.h>.
752         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
753         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
755         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
756         [HAVE_MMAP].
758         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
759         Add multiple inclusion protection.
761 2012-07-27  David S. Miller  <davem@davemloft.net>
763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
765 2012-07-27  Gary Benson  <gbenson@redhat.com>
767         [BZ #14298]
768         * elf/rtld.c: Include <stap-probe.h>.
769         (dl_main): Added static probes "init_start" and "init_complete".
770         * elf/dl-load.c: Include <stap-probe.h>.
771         (lose): Take new parameter "nsid".
772         Added static probe "map_failed".
773         (_dl_map_object_from_fd): Pass namespace id to lose.
774         Added static probe "map_start".
775         (open_verify): Pass namespace id to lose.
776         * elf/dl-open.c: Include <stap-probe.h>.
777         (dl_open_worker) Added static probes "map_complete", "reloc_start"
778         and "reloc_complete".
779         * elf/dl-close.c: Include <stap-probe.h>.
780         (_dl_close_worker): Added static probes "unmap_start" and
781         "unmap_complete".
782         * elf/rtld-debugger-interface.txt: New file documenting the above.
784 2012-07-26  Roland McGrath  <roland@hack.frob.com>
786         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
787         rather than a string variable.
788         * sunrpc/rpc_main.c (h_output): Likewise.
789         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
791 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
793         * inet/check_native.c: New file.
795 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
797         [BZ #13629]
798         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
799         if larger part has absolute value 1.0.
800         * math/s_clog10.c (__clog10): Likewise.
801         * math/s_clog10f.c (__clog10f): Likewise.
802         * math/s_clog10l.c (__clog10l): Likewise.
803         * math/s_clogf.c (__clogf): Likewise.
804         * math/s_clogl.c (__clogl): Likewise.
805         * math/libm-test.inc (clog_test): Add more tests.
806         (clog10_test): Likewise.
807         * sysdeps/i386/fpu/libm-test-ulps: Update.
808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
810         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
811         (pltexit): Likewise.
812         (La_regs): Likewise.
813         (La_retval): Likewise.
814         (int_retval): Likewise.
815         Update #error for removed macros to refer only to definitions in
816         tst-audit.h.
817         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
818         macro.
819         (pltexit): Likewise.
820         (La_regs): Likewise.
821         (La_retval): Likewise.
822         (int_retval): Likewise.
823         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
824         macro.
825         (pltexit): Likewise.
826         (La_regs): Likewise.
827         (La_retval): Likewise.
828         (int_retval): Likewise.
829         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
830         macro.
831         (pltexit): Likewise.
832         (La_regs): Likewise.
833         (La_retval): Likewise.
834         (int_retval): Likewise.
835         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
836         macro.
837         (pltexit): Likewise.
838         (La_regs): Likewise.
839         (La_retval): Likewise.
840         (int_retval): Likewise.
841         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
842         macro.
843         (pltexit): Likewise.
844         (La_regs): Likewise.
845         (La_retval): Likewise.
846         (int_retval): Likewise.
847         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
848         macro.
849         (pltexit): Likewise.
850         (La_regs): Likewise.
851         (La_retval): Likewise.
852         (int_retval): Likewise.
853         * sysdeps/generic/tst-audit.h: Update comment to refer only to
854         macro definitions in tst-audit.h.
855         * sysdeps/i386/tst-audit.h: New file.
856         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
857         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
858         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
859         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
860         * sysdeps/sh/tst-audit.h: Likewise.
861         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
862         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
863         * sysdeps/x86_64/tst-audit.h: Likewise.
865 2012-07-26  Andreas Jaeger  <aj@suse.de>
867         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
868         ptrace.
870         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
871         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
872         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
873         PTRACE_O_MASK.
874         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
875         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
876         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
878         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
879         value.
881         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
882         _sigsys.
883         (si_call_addr, si_syscall, si_arch): Define new macro.
884         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
885         _sigsys.
886         (si_call_addr, si_syscall, si_arch): Define new marcro.
887         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
888         _sigsys.
889         (si_call_addr, si_syscall, si_arch): Define new macro.
890         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
891         _sigsys.
892         (si_call_addr, si_syscall, si_arch): Define new macro.
894 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
896         [BZ #13717]
897         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
898         Change to 2.4.21 where previously 2.4.1.
899         * sysdeps/unix/sysv/linux/configure: Regenerated.
900         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
901         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
902         Linux kernel version.
903         (__ASSUME_STD_AUXV): Remove.
904         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
905         kernel version.
906         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
907         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
908         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
909         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
910         (__ASSUME_NETLINK_SUPPORT): Likewise.
911         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
912         (__no_netlink_support): Remove conditional definition.
913         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
914         Remove.
915         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
916         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
917         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
918         (if_nameindex_ioctl): Remove.
919         (if_nameindex_netlink): Do not handle __no_netlink_support.
920         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
921         code.
922         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
923         Remove conditional code.
924         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
925         code.
926         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
927         unconditional.
928         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
929         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
930         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
931         Remove.
932         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
933         [!__ASSUME_STD_AUXV]: Remove conditional code.
934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
935         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
936         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
938         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
939         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
940         code.
941         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
943         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
944         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
945         conditional code.
946         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
948         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
949         code.
950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
951         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
952         conditional code.
953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
954         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
955         code unconditional.
956         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
957         conditional code.
958         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
959         unconditional.
960         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
961         conditional code.
962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
963         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
964         unconditional.
965         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
966         conditional code.
967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
968         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
969         code unconditional.
970         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
971         conditional code.
972         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
973         unconditional.
974         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
975         conditional code.
976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
977         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
978         code unconditional.
979         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
980         conditional code.
981         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
982         unconditional.
983         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
984         conditional code.
986 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
988         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
989         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
990         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
991         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
992         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
993         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
994         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
995         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
996         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
997         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
998         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
999         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1000         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1001         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1002         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1003         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1004         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1005         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1006         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1008         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1009         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1010         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1012 2012-07-25  Florian Weimer  <fweimer@redhat.com>
1014         * Versions.def: Add GLIBC_2.17.
1015         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1016         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1017         Introduce __libc_secure_getenv.
1018         * stdlib/Versions (2.17): Add secure_getenv
1019         (GLIBC_PRIVATE): Add __libc_secure_getenv.
1020         * stdlib/secure-getenv.c: Rename __secure_getenv to
1021         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
1022         symbol __secure_getenv for GLIBC_2.0.
1023         * stdlib/tst-secure-getenv.c: New.
1024         * stdlib/Makefile (tests): Add testcase.
1025         * manual/startup.texi (Environment Access): Document
1026         secure_getenv.
1027         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1028         __libc_secure_getenv.
1029         * inet/ruserpass.c (ruserpass): Likewise.
1030         * malloc/mtrace.c (mtrace): Likewise.
1031         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1032         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1033         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1034         * sysdeps/posix/tempname.c: Likewise.  Evaluate
1035         HAVE_SECURE_GETENV.
1036         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1037         __secure_getenv to __libc_secure_getenv.
1038         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1040         Likewise.
1041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1042         Likewise.
1043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1045         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1051 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
1053         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1054         (struct La_i86_retval): Likewise.
1055         (struct La_x86_64_regs): Likewise.
1056         (struct La_x86_64_retval): Likewise.
1057         (struct La_x32_regs): Likewise.
1058         (struct La_x32_retval): Likewise.
1059         (struct La_ppc32_regs): Likewise.
1060         (struct La_ppc32_retval): Likewise.
1061         (struct La_ppc64_regs): Likewise.
1062         (struct La_ppc64_retval): Likewise.
1063         (struct La_sh_regs): Likewise.
1064         (struct La_sh_retval): Likewise.
1065         (struct La_s390_32_regs): Likewise.
1066         (struct La_s390_32_retval): Likewise.
1067         (struct La_s390_64_regs): Likewise.
1068         (struct La_s390_64_retval): Likewise.
1069         (struct La_sparc32_regs): Likewise.
1070         (struct La_sparc32_retval): Likewise.
1071         (struct La_sparc64_regs): Likewise.
1072         (struct La_sparc64_retval): Likewise.
1073         (struct audit_ifaces): Remove architecture-specific pltenter and
1074         pltexit members.
1075         * sysdeps/i386/ldsodefs.h: New file.
1076         * sysdeps/powerpc/ldsodefs.h: Likewise.
1077         * sysdeps/s390/ldsodefs.h: Likewise.
1078         * sysdeps/sh/ldsodefs.h: Likewise.
1079         * sysdeps/sparc/ldsodefs.h: Likewise.
1080         * sysdeps/x86_64/ldsodefs.h: Likewise.
1082 2012-07-25  Marek Polacek  <polacek@redhat.com>
1084         [BZ #6808]
1085         * math/libm-test.inc (yn_test): Add another test.
1086         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1087         to ERANGE when the result is +-Inf.
1088         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1089         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1090         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1091         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1093 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
1095         * conform/data/time.h-data (NULL): Use macro-constant.  Require
1096         equal to 0.
1097         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
1098         clock_t.
1099         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
1101 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
1103         * configure.in <sysdeps resolving>: Correct printing
1104         Implies_before.
1105         * configure: Regenerate.
1107 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
1109         * math/w_ilogb.c: Include <limits.h>.
1110         * math/w_ilogbl.c: Likewise.
1112 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
1114         * manual/lang.texi (__va_copy): Document primarily as ISO C99
1115         va_copy.  Document allowing for unavailable va_copy only as
1116         pre-C99 compatibility.
1117         * manual/string.texi (Copying and Concatenation): Use va_copy
1118         instead of __va_copy in concat example.
1120 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
1122         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1123         (__sendto): Use create_address_port.  Initialize APORT and deallocate
1124         it if not null.
1126         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1127         with O_NOLINK passed to __file_name_lookup.
1129         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1130         with O_NOLINK passed to __file_name_lookup.
1132         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1133         negative N or less than NGIDS.
1135         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1136         type to string_t.  Set ERANGE as errno and return it if NAME is not big
1137         enough.  Use memcpy instead of strncpy.
1139 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
1141         * elf/Makefile (check-data): Remove.
1142         (localplt.data): New vpath directive.
1143         ($(objpfx)check-localplt.out): Use localplt.data from vpath
1144         instead of $(check-data).
1145         * scripts/data/localplt-generic.data: Move to ...
1146         * sysdeps/generic/localplt.data: ... here.
1147         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1148         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1149         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1151         ... here.
1152         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1154         ... here.
1155         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1157         ... here.
1158         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1160         ... here.
1161         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1163         ... here.
1164         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1166         ... here.
1168 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1170         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1171         PPC32 and PPC64 files.
1172         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1173         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1175 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1177         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1178         __makecontext_ret to ...
1179         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1180         ... here and call exit if uc_link is NULL.  New file.
1181         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1182         __makecontext_ret.S.
1183         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1184         __makecontext_ret to ...
1185         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1186         ... here and call exit if uc_link is NULL.  New file.
1187         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1188         __makecontext_ret.S.
1190 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1192         * elf/elf.h (R_390_IRELATIVE): New definition.
1193         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1194         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
1195         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1196         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1197         (elf_machine_lazy_rel): Likewise.
1198         * sysdeps/s390/dl-irel.h: New file.
1199         * sysdeps/s390/s390-64/memcpy.S: New asm code.
1200         * sysdeps/s390/s390-64/memset.S: New asm code.
1201         * sysdeps/s390/s390-64/memcmp.S: New asm code.
1202         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1203         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1204         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1205         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1206         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1207         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1208         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1209         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1210         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1211         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1212         * sysdeps/s390/s390-32/memcpy.S: New asm code.
1213         * sysdeps/s390/s390-32/memset.S: New asm code.
1214         * sysdeps/s390/s390-32/memcmp.S: New asm code.
1216 2012-07-17  Marek Polacek  <polacek@redhat.com>
1218         [BZ #14349]
1219         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1220         * sysdeps/s390/s390-64/configure.in: Likewise.
1221         * sysdeps/sparc/configure.in: Likewise.
1222         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1223         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1224         * sysdeps/i386/configure.in: Likewise.
1225         * sysdeps/x86_64/configure.in: Likewise.
1226         * sysdeps/sh/configure.in: Likewise.
1227         * sysdeps/s390/s390-32/configure: Regenerated.
1228         * sysdeps/s390/s390-64/configure: Likewise.
1229         * sysdeps/x86_64/configure: Likewise.
1230         * sysdeps/sh/configure: Likewise.
1231         * sysdeps/powerpc/powerpc64/configure: Likewise.
1232         * sysdeps/powerpc/powerpc32/configure: Likewise.
1233         * sysdeps/sparc/configure: Likwise.
1234         * sysdeps/i386/configure: Likewise.
1236         * elf/dl-open.c: Comment fixes.
1238 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
1240         * Makefile [CXX] (check-data): Remove.
1241         [CXX] (c++-types.data): New vpath directive.
1242         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1243         vpath.  Do not allow for C++ type data being missing.
1244         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1245         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1246         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1247         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1248         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1249         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1250         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1252         ... here.
1253         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1255         ... here.
1256         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1258         ... here.
1259         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1261         ... here.
1262         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1264         ... here.
1265         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1267         ... here.
1268         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1270         ... here.
1271         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1274         * elf/tls-macros.h (TLS_LE): Move architecture-specific
1275         definitions to architecture-specific files.
1276         (TLS_IE): Likewise.
1277         (TLS_LD): Likewise.
1278         (TLS_GD): Likewise.
1279         * sysdeps/i386/tls-macros.h: New file.
1280         * sysdeps/powerpc/tls-macros.h: Likewise.
1281         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1282         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1283         * sysdeps/sh/tls-macros.h: Likewise.
1284         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1285         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1286         * sysdeps/x86_64/tls-macros.h: Likewise.
1288 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
1290         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1291         zero value for regular exit case.
1293         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1294         (__start_context): Preserve zero value for regular exit case.
1296 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
1297             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1299         * manual/setjmp.texi (setcontext): Clarify normal process
1300         termination when uc_link is the null pointer.
1301         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1302         exit call.
1304 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
1306         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1307         preprocessor.  Test for each exception mask separately.
1309 2012-07-16  Andreas Jaeger  <aj@suse.de>
1311         * po/ru.po: Update from translation team.
1313 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
1315         * conform/data/string.h-data (NULL): Use macro-constant.  Require
1316         equal to 0.
1317         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1318         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1319         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1320         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1321         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1323 2012-07-13  Andreas Jaeger  <aj@suse.de>
1325         * po/fr.po: Update from translation team.
1327 2012-07-12  Marek Polacek  <polacek@redhat.com>
1329         [BZ #14173]
1330         * math/libm-test.inc (yn_test): Add test for BZ #14173.
1331         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1332         loop condition.
1334 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
1336         [BZ #13717]
1337         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1338         Change to 2.4.1 where previously 2.4.0.
1339         * sysdeps/unix/sysv/linux/configure: Regenerated.
1340         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1341         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1342         version.
1343         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1344         (__ASSUME_AT_CLKTCK): Remove.
1345         (__ASSUME_AT_PAGESIZE): Likewise.
1346         (__ASSUME_AT_XID): Likewise.
1347         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1348         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1349         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1350         unconditionally.
1351         (HAVE_AUX_PAGESIZE): Likewise.
1352         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1353         [__ASSUME_AT_CLKTCK]: Make code unconditional.
1354         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1356 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
1358         [BZ #14307]
1359         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1360         the temporary buffer used to invoke __gethostbyname2_r,
1361         __gethostbyaddr_r and gethostbyname4_r to make room for struct
1362         host_data / struct gaih_addrtuple.
1363         * resolv/nss_dns/dns-host.c (global scope): Move definition of
1364         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1365         header file nss/nsswitch.h.
1366         * nss/nsswitch.h (global scope): Add definition of implementation
1367         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1368         resolv/nss_dns/dns-host.c).
1370 2012-07-11  Andreas Jaeger  <aj@suse.de>
1372         * po/fr.po: Update from translation team.
1374         * po/sv.po: Update from translation team
1375         * po/fr.po: Another update from translation team.
1377 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1379         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1380         for subnormals or multiply small sinh result by itself.
1381         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1384 2012-07-11  David S. Miller  <davem@davemloft.net>
1386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1388 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
1390         [BZ #14347]
1391         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1392         (INTERNAL_MARK): Shift it here.
1394 2012-07-10  Marek Polacek  <polacek@redhat.com>
1396         [BZ #14151]
1397         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
1398         libc_cv_asm_global_directive with .globl.
1399         * configure: Regenerated.
1400         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1401         with .globl.
1402         * sysdeps/i386/configure: Regenerated.
1403         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1404         with .globl.
1405         * sysdeps/x86_64/configure: Regenerated.
1406         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1407         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1408         * elf/tst-unique2mod2.c: Likewise.
1409         * elf/tst-unique2mod1.c: Likewise.
1410         * elf/tst-unique1mod2.c: Likewise.
1411         * elf/tst-unique1mod1.c: Likewise.
1412         * sysdeps/s390/s390-32/sysdep.h: Likewise.
1413         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1414         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1415         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1416         * sysdeps/mach/sysdep.h: Likewise.
1417         * sysdeps/i386/sysdep.h: Likewise.
1418         * sysdeps/i386/i386-mcount.S: Likewise.
1419         * sysdeps/x86_64/_mcount.S: Likewise.
1420         * sysdeps/x86_64/sysdep.h: Likewise.
1421         * sysdeps/sh/_mcount.S: Likewise.
1422         * sysdeps/sh/sysdep.h: Likewise.
1423         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1424         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1425         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1426         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1427         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1428         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1429         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1430         * locale/localeinfo.h: Likewise.
1431         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1432         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1434 2012-07-09  Roland McGrath  <roland@hack.frob.com>
1436         [BZ #14336]
1437         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1438         system".
1439         * manual/message.texi (The Uniforum approach): Likewise.
1440         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1441         (glibc iconv Implementation): Likewise.
1443 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
1445         [BZ #14337]
1446         * math/s_clog.c (__clog): Avoid scaling a value down where that
1447         could result in underflow.
1448         * math/s_clog10.c (__clog10): Likewise.
1449         * math/s_clog10f.c (__clog10f): Likewise.
1450         * math/s_clog10l.c (__clog10l): Likewise.
1451         * math/s_clogf.c (__clogf): Likewise.
1452         * math/s_clogl.c (__clogl): Likewise.
1453         * math/libm-test.inc (clog_test): Add more tests.
1454         (clog10_test): Likewise.
1455         * sysdeps/i386/fpu/libm-test-ulps: Update.
1456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1458 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
1460         [BZ #14283]
1461         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1462         by 7 not 8 to examine high bit of fractional part.
1464         [BZ #14042]
1465         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1466         for call to __mcount_internal.
1467         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1468         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1469         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1471 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
1473         [BZ #14154]
1474         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1475         approximation for values within 0x1p-13f of an odd multiple of
1476         pi/4.
1477         * math/libm-test.inc (tan_test): Do not allow spurious underflow
1478         exception.  Add more tests.
1479         * sysdeps/i386/fpu/libm-test-ulps: Update.
1481         [BZ #6778]
1482         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1483         inputs and return -1 for them.  Do not check for +Inf in case not
1484         reachable for +Inf.
1485         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1486         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1487         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1488         and return -1 for them.  Do not check for +Inf in case not
1489         reachable for +Inf.
1490         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1491         define.
1492         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1493         and return -1 for them.  Do not check for +Inf in case not
1494         reachable for +Inf.
1495         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
1496         spurious underflow.
1497         * sysdeps/i386/fpu/libm-test-ulps: Update.
1498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1500 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
1502         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1504 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
1506         [BZ #14157]
1507         [BZ #14331]
1508         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1509         could result in spurious underflow.  Scale down values above
1510         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1511         * math/s_csqrtf.c (__csqrtf): Likewise.
1512         * math/s_csqrtl.c (__csqrtl): Likewise.
1513         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
1514         spurious underflow.
1515         * sysdeps/i386/fpu/libm-test-ulps: Update.
1516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1518 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1520         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1521         xopen-msg.sed.
1522         * catgets/xopen-msg.awk: New file.
1523         * catgets/xopen-msg.sed: Removed.
1525         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1526         po2text.sed.
1527         * intl/po2test.awk: New file.
1528         * intl/po2test.sed: Removed.
1530 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
1532         [BZ #14328]
1533         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1534         or multiply small sinh result by itself.
1535         * math/s_ctanf.c (__ctanf): Likewise.
1536         * math/s_ctanh.c (__ctanh): Likewise.
1537         * math/s_ctanhf.c (__ctanhf): Likewise.
1538         * math/s_ctanhl.c (__ctanhl): Likewise.
1539         * math/s_ctanl.c (__ctanl): Likewise.
1540         * math/libm-test.inc (ctan_test_tonearest): New function.
1541         (ctan_test_towardzero): Likewise.
1542         (ctan_test_downward): Likewise.
1543         (ctan_test_upward): Likewise.
1544         (ctanh_test_tonearest): Likewise.
1545         (ctanh_test_towardzero): Likewise.
1546         (ctanh_test_downward): Likewise.
1547         (ctanh_test_upward): Likewise.
1548         (main): Call these new functions.
1549         * sysdeps/i386/fpu/libm-test-ulps: Update.
1550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1552 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
1554         * .gitignore: Delete /ports entry.
1556 2012-07-03  Andreas Jaeger  <aj@suse.de>
1558         * po/bg.po: Update from translation team.
1559         * po/cs.po: Likewise.
1560         * po/de.po: Likewise.
1561         * po/hr.po: Likewise.
1562         * po/nl.pl: Likewise.
1563         * po/pl.po: Likewise.
1564         * po/vi.po: Likewise.
1566 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
1568         * Makeconfig [!+link] (+link-before-libc): New variable.
1569         [!+link] (+link-after-libc): Likewise.
1570         [!+link] (+link-tests): Likewise.
1571         [!+link] (+link): Define in terms of $(+link-before-libc) and
1572         $(+link-after-libc).
1573         [!+link-static] (+link-static-before-libc): New variable.
1574         [!+link-static] (+link-static-after-libc): Likewise.
1575         [!+link-static] (+link-static-tests): Likewise.
1576         [!+link-static] (+link-static): Define in terms of
1577         $(+link-static-before-libc) and $(+link-static-after-libc).
1578         [build-shared] (link-libc-before-gnulib): New variable.
1579         [build-shared] (link-libc-tests): Likewise.
1580         [build-shared] (link-libc): Define in terms of
1581         $(link-libc-before-gnulib).
1582         [!build-shared] (link-libc-tests): New variable.
1583         (link-libc-static-tests): New variable.
1584         [!gnulib] (gnulib-arch): New variable.
1585         [!gnulib] (gnulib-tests): Likewise.
1586         [!gnulib] (static-gnulib-arch): Likewise.
1587         [!gnulib] (static-gnulib-tests): Likewise.
1588         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
1589         Define with "=" instead of ":=".
1590         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
1591         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
1592         * Rules (binaries-all-notests): New variable.
1593         (binaries-all-tests): Likewise.
1594         (binaries-static-notests): Likewise.
1595         (binaries-static-tests): Likewise.
1596         (binaries-all): Define using $(binaries-all-notests) and
1597         $(binaries-all-tests).
1598         (binaries-static): Define using $(binaries-static-notests) and
1599         $(binaries-static-tests).
1600         (binaries-shared-tests): New variable.
1601         (binaries-shared-notests): Likewise.
1602         (binaries-shared): Remove variable.
1603         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1604         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1605         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1606         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1607         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1608         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1609         * elf/Makefile (sln-modules): New variable.
1610         (extra-objs): Add $(sln-modules:=.o).
1611         (ldconfig-modules): Add static-stubs.
1612         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1613         * elf/static-stubs.c: New file.
1615         [BZ #14283]
1616         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1617         by 7 not 8 to examine high bit of fractional part.  Use volatile
1618         variables when splitting into final array of floats if
1619         __FLT_EVAL_METHOD__ != 0.
1620         * math/libm-test.inc (cos_test): Add another test.
1621         (sin_test): Likewise.
1622         * sysdeps/i386/fpu/libm-test-ulps: Update.
1624         [BZ #14273]
1625         * math/libm-test.inc (cosh_test): Add more tests.
1627         * version.h (RELEASE): Set to "development".
1628         (VERSION): Set to "2.16.90".
1630 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
1632         * NEWS: Update copyright. Remove last-updated date.
1633         Mention math library bug fixes and timezone data changes.
1634         * README: Mention GNU/Hurd, x32, and HPPA support status.
1636 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
1638         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1640 2012-06-27  Andreas Jaeger  <aj@suse.de>
1642         * manual/contrib.texi (Contributors): Add Samuel Thibault.
1644 2012-06-25  Andreas Jaeger  <aj@suse.de>
1646         * sysdeps/s390/fpu/libm-test-ulps: Update.
1648 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
1649             Thomas Schwinge  <thomas@codesourcery.com>
1651         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1652         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1653         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1654         fanotify_mark.
1656 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
1658         * sysdeps/mach/start.c: Remove file.
1659         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1660         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1661         * sysdeps/sh/init-first.c: Likewise.
1663         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1664         registers for frame unwinding purposes, add CFI directives.
1665         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1666         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1667         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1668         Likewise.
1670         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1671         __fortify_fail returning.
1672         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1674         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1675         sysdeps/sh/____longjmp_chk.S.
1676         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1677         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1678         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1679         (gen-as-const-headers): Append sigaltstack-offsets.sym.
1681         * sysdeps/sh/abort-instr.h: New file.
1682         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1683         process in case exit returns.
1685         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1686         initialize the GOT register before use.
1688         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1689         calculation of ARGC > 4.
1691         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1692         meaningful names to some local labels.
1694 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1695             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1697         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1698         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1699         (__arch_compare_and_exchange_val_16_acq): Likewise.
1700         (__arch_compare_and_exchange_val_32_acq): Likewise.
1701         (atomic_exchange_and_add): Fix gUSA sequence.
1702         (atomic_add): Likewise.
1703         (atomic_add_negative): Likewise.
1704         (atomic_add_zero): Likewise.
1705         (atomic_bit_test_set): Likewise.
1707 2012-06-22  Andreas Schwab  <schwab@redhat.com>
1709         [BZ #13579]
1710         * include/link.h (struct link_map): Add l_free_initfini.
1711         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1712         l_initfini.
1713         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1714         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1715         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1716         set.
1718 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
1720         * configure.in: Use AC_LANG_SOURCE.
1721         * configure: Regenerate.
1723 2012-06-22  Roland McGrath  <roland@hack.frob.com>
1725         * configure.in (libc_cv_localstatedir): New substituted variable.
1726         * configure: Regenerated.
1727         * config.make.in (localstatedir): New variable, substituted from
1728         libc_cv_localstatedir.
1729         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1730         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1731         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1732         * sysdeps/gnu/configure: Regenerated.
1734 2012-06-21  Jeff Law  <law@redhat.com>
1736         [BZ #14277]
1737         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1738         free.  Simplify list management for _LIBC case.
1740 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
1742         [BZ #14273]
1743         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1744         Clear sign bit of 64-bit integer value before comparing against
1745         overflow value.
1747         * sysdeps/mach/configure: Regenerated.
1749 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1751         [BZ #14278]
1752         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1754 2012-06-21  Jeff Law  <law@redhat.com>
1756         [BZ #13882]
1757         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
1758         uint16_t for elements in the "seen" array to avoid char overflows.
1759         * elf/dl-fini.c (_dl_sort_fini): Likewise.
1760         * elf/dl-open.c (dl_open_worker): Likewise.
1762 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
1764         * scripts/list-sources.sh: Scan PORTS for translations.
1765         * po/libc.pot: Regenerated.
1767 2012-06-21  Andreas Jaeger  <aj@suse.de>
1769         [BZ #12194]
1770         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1771         warning.
1772         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1773         * bits/byteswap-16.h (__bswap_16): Likewise.
1774         * bits/byteswap.h (__bswap_constant_16): Likewise.
1776 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
1778         [BZ #14117]
1779         * sysdeps/i386/fpu_control.h: Removed.
1780         * sysdeps/x86_64/fpu_control.h: Moved to ...
1781         * sysdeps/x86/fpu_control.h: Here.
1783         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1784         (_FPU_SETCW): Likewise.
1786 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1788         [BZ #14117]
1789         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1790         * sysdeps/x86/fpu/bits/mathinline.h: This.
1791         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1793         [BZ #14050]
1794         [BZ #14117]
1795         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1796         functions if __x86_64__ is defined.
1798 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
1800         * string/endian.h: Add !__ASSEMBLER__ condition for including
1801         conversion interfaces.
1803 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
1805         [BZ #14241]
1806         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1807         of ABS(x) in calculating zero to negative powers other than odd
1808         integers.
1809         * math/libm-test.inc (pow_test): Add more tests.
1811 2012-06-15  Andreas Jaeger  <aj@suse.de>
1813         * manual/contrib.texi (Contributors): Update entry of Liubov
1814         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1815         Machado Filho.
1817 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
1819         * string/string.h: Add __wur to GNU version of strerror_r.
1821 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1823         [BZ #14229]
1824         * string/Makefile (tests): Add tst-strtok_r.
1825         * string/tst-strtok_r.c: New file.
1826         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1827         RAX_LP/RDX_LP on SAVE_PTR.
1829 2012-06-14  Roland McGrath  <roland@hack.frob.com>
1831         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1833 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
1835         * libm_test.inc (csqrt_test): Allow more spurious underflow
1836         exceptions.
1837         (j0_test): Likewise.
1838         (j1_test): Likewise.
1839         (y0_test): Likewise.
1840         (y1_test): Likewise.
1842 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
1844         * po/Makefile (libc.pot): Use UTF-8 charset.
1846 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
1848         [BZ #14210]
1849         Suppress sign-conversion warning from FD_SET.
1850         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1851         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1852         not unsigned long int.
1853         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1855 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1857         [BZ #14050]
1858         [BZ #14117]
1859         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1860         __extern_always_inline instead of __extern_inline.
1861         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1862         (__signbit): Likewise.
1863         (__signbitl): Support C++ namespace.
1864         (lrintf): New inline function.
1865         (lrint): Likewise.
1866         (llrintf): Likewise.
1867         (llrint): Likewise.
1868         (fmaxf): Likewise.
1869         (fmax): Likewise.
1870         (fminf): Likewise.
1871         (fmin): Likewise.
1872         (rint): Likewise.
1873         (rintf): Likewise.
1874         (ceil): Likewise.
1875         (ceilf): Likewise.
1876         (floor): Likewise.
1877         (floorf): Likewise.
1878         (nearbyint): Likewise.
1879         (nearbyintf): Likewise.
1881 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
1883         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1884         non-default versions.
1886 2012-06-11  Roland McGrath  <roland@hack.frob.com>
1888         [BZ #14218]
1889         * manual/argp.texi (Argp): Reword argp_parse description slightly.
1891 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
1893         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1894         (FE_UPWARD, FE_DOWNWARD): Don't define.
1895         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1896         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1898         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1899         reading it.
1900         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1901         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1903 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1905         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1906         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1907         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1908         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1910 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1912         [BZ #14117]
1913         * sysdeps/i386/fpu/bits/fenv.h: Removed.
1914         * sysdeps/i386/fpu/Implies: New file.
1915         * sysdeps/x86_64/fpu/Implies: Likewise.
1916         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1917         * sysdeps/x86/fpu/bits/fenv.h: This.
1919         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1920         __SSE_MATH__.
1922 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1924         [BZ #14134]
1925         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1926         character 0xffff that matches the last element of the
1927         conversion table.
1929 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1931         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1932         fmodl commit.
1934 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1936         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1937         values higher than 25.6283.
1939 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1941         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1942         subnormal exponent extraction and add some __builtin_expect.
1943         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1944         Fix for subnormal mantissa calculation.
1946 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
1948         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1949         cpu2 is -1 and errno is not ENOSYS.
1951 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
1953         [BZ #14117]
1954         * sysdeps/i386/i486/bits/string.h: Renamed to ...
1955         * sysdeps/x86/bits/string.h: This.
1956         * sysdeps/x86_64/bits/string.h: Removed.
1958         * sysdeps/i386/i486/bits/string.h: Define inline functions only
1959         if not compiling for x86-64, but compiling for >= i486.
1961         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1962         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1964         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1965         New macro from Linux kernel 3.4.0.
1966         (FP_XSTATE_MAGIC2): Likewise.
1967         (FP_XSTATE_MAGIC2_SIZE): Likewise.
1968         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1969         (struct _fpx_sw_bytes): New struct.
1970         (struct _xsave_hdr): Likewise.
1971         (struct _ymmh_state): Likewise.
1972         (struct _xstate): Likewise.
1974         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1975         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1976         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1977         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1978         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1979         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1981         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1982         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1983         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1984         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1985         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1986         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1988 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1990         [BZ #13743]
1991         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1992         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1993         (sysdep_headers): Include sys/platform/ppc.h.
1994         * sysdeps/powerpc/test-gettimebase.c: Test for
1995         __ppc_get_timebase() to catch future ISA opcode/insn changes.
1996         * manual/Makefile (appendices): Include platform.texi.
1997         * manual/contrib.texi (Contributors): Update @node pointers.
1998         * manual/maint.texi (Maintenance): Likewise.
1999         (Platform): New node.
2000         * manual/platform.texi: New file.  Document the new features.
2002 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2003             Jakub Jelinek  <jakub@redhat.com>
2005         [BZ #14188]
2006         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2007         where __builtin_expect is unavailable.
2009 2012-06-03  David S. Miller  <davem@davemloft.net>
2011         * stdlib/longlong.h: Updated from GCC.
2013 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
2015         [BZ #14042]
2016         * sysdeps/powerpc/powerpc32/mcount.c: New file.
2017         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2018         __mcount_internal.
2019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2020         (GLIBC_2.16): Likewise.
2022 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2024         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2026 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
2028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2029         (default-abi): New variable.
2030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2031         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2032         variable.
2033         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2034         Likewise.
2035         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2036         Likewise.
2037         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2038         Likewise.
2040         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2041         definition.  Document in comment.
2043 2012-06-01  David S. Miller  <davem@davemloft.net>
2045         * stdlib/longlong.h: Updated from GCC.
2047 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2049         [BZ #14117]
2050         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2051         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2052         sys/debugreg.h sys/io.h here.
2053         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2054         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2055         sys/io.h.
2056         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2057         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2058         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2059         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2060         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2061         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2063         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2064         Define only if __x86_64__ is defined.
2066 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
2068         [BZ #14048]
2069         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2070         Use int64_t for variable i.
2071         * math/libm-test.inc (fmod_test): Add more tests.
2073         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2074         z computation is not scheduled after fetestexcept.
2075         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2076         Use math_force_eval instead of asm to ensure calculation scheduled
2077         before exception test.
2078         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2079         Ensure a1 + u.d computation is not scheduled after fetestexcept.
2081 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
2083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2084         computation is not scheduled after fetestexcept.
2086 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
2088         [BZ #14117]
2089         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2090         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2092 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2094         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2095         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2097 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
2099         [BZ #14117]
2100         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2101         <bits/wordsize.h>.
2102         (__WCHAR_MIN): Support __WORDSIZE == 64.
2103         (__WCHAR_MAX): Likewise.
2105         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2106         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2108         [BZ #14183]
2109         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2110         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2112         [BZ #14117]
2113         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2114         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2116         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2117         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2119         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2120         Defined to 1 if __x86_64__ isn't defined.
2121         (_STAT_VER_LINUX_OLD): New.
2122         (st_atime): Remove duplicate.
2123         (st_mtime): Likewise.
2124         (st_ctime): Likewise.
2126 2012-05-31  David S. Miller  <davem@davemloft.net>
2128         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2129         entries.
2131 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
2133         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2134         gen-libm-test.pl.
2136         [BZ #14132]
2137         * elf/dl-reloc.c: Include <_itoa.h>.
2138         (_dl_reloc_bad_type): Remove use of INTUSE.
2139         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2140         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2141         * stdio-common/psiginfo.c (psiginfo): Likewise.
2142         * stdio-common/psignal.c (psignal): Likewise.
2143         * string/strsignal.c (strsignal): Likewise.
2144         * include/signal.h (_sys_siglist): Declare hidden proto.
2145         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
2146         INTVARDEF with libc_hidden_data_def.
2147         * stdio-common/itoa-udigits.c: Likewise.
2148         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2149         (_itoa_lower_digits_internal): Remove declaration.
2150         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2151         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2152         (_sys_sigabbrev_internal): Remove aliases.
2153         (_sys_siglist): Define hidden alias.
2155 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
2157         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2158         bits/sysctl.h.
2160 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
2162         [BZ #14117]
2163         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2164         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2166         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2167         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2168         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2169         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2170         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2171         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2173         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2174         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2175         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2177         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2178         with __addr.
2179         (insw): Likewise.
2180         (insl): Likewise.
2181         (outsb): Likewise.
2182         (outsw): Likewise.
2183         (outsl): Likewise.
2185         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2186         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2187         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2189         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2190         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2191         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2192         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2193         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2194         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2196         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2197         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2199         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2200         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2202         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2203         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2204         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2206         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2207         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2208         to ...
2209         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2211         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2212         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2213         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2215         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2216         for x86-64.
2217         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2219 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
2221         * math/math.h (M_El): Use two more decimal places.
2222         (M_LOG2El): Likewise.
2223         (M_LOG10El): Likewise.
2224         (M_LN2l): Likewise.
2225         (M_LN10l): Likewise.
2226         (M_PIl): Likewise.
2227         (M_PI_2l): Likewise.
2228         (M_PI_4l): Likewise.
2229         (M_1_PIl): Likewise.
2230         (M_2_PIl): Likewise.
2231         (M_2_SQRTPIl): Likewise.
2232         (M_SQRT2l): Likewise.
2233         (M_SQRT1_2l): Likewise.
2235 2012-05-31  David S. Miller  <davem@davemloft.net>
2237         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2238         values between float registers.
2239         * sysdeps/sparc/sparc64/memset.S: Likewise.
2240         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2242 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
2244         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2245         -D_FORTIFY_SOURCE=1.
2246         (CPPFLAGS-tst-longjmp_chk.c): Define.
2247         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2248         (CPPFLAGS-tst-longjmp_chk2.c): Define.
2249         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2250         CFLAGS-tst-wchar-h.c.
2252 2012-05-31  Marek Polacek  <polacek@redhat.com>
2254         [BZ #14132]
2255         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2256         __endmntent_internal): Remove declaration.
2257         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2258         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2259         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2261 2012-05-30  David S. Miller  <davem@davemloft.net>
2263         * sysdeps/sparc/sparc32/soft-fp/q_util.c
2264         (___Q_simulate_exceptions): Use real FP ops rather than writing
2265         into the %fsr.
2266         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2267         Likewise.
2269 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2271         [BZ #14117]
2272         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2273         * sysdeps/x86/bits/xtitypes.h: This.
2275         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2276         * sysdeps/x86/bits/wordsize.h: This.
2278         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2279         * sysdeps/x86/bits/huge_vall.h: This.
2281         * sysdeps/i386/bits/select.h: Removed.
2282         * sysdeps/x86_64/bits/select.h: Renamed to ...
2283         * sysdeps/x86/bits/select.h: This.
2285         * sysdeps/i386/bits/setjmp.h: Removed.
2286         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2287         * sysdeps/x86/bits/setjmp.h: This.
2289         * sysdeps/i386/bits/mathdef.h: Removed.
2290         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2291         * sysdeps/x86/bits/mathdef.h: This.
2293 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
2295         [BZ #14132]
2296         * include/sys/socket.h (__connect_internal)
2297         (__libc_sa_len_internal): Remove declaration.
2298         (__connect, __libc_sa_len): Declare hidden_proto.
2299         (SA_LEN): Remove use of INTUSE.
2300         * socket/connect.c: Add libc_hidden_def.
2301         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2302         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2303         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2304         alias.
2305         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2306         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2307         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2308         of adding _internal alias.
2310 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2312         [BZ #14117]
2313         * sysdeps/i386/bits/link.h: Removed.
2314         * sysdeps/i386/bits/linkmap.h: Likewise.
2315         * sysdeps/x86_64/bits/link.h: Renamed to ...
2316         * sysdeps/x86/bits/link.h: This.
2317         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2318         * sysdeps/x86/bits/linkmap.h: This.
2320         * sysdeps/i386/bits/endian.h: Removed.
2321         * sysdeps/x86_64/bits/endian.h: Renamed to ...
2322         * sysdeps/x86/bits/endian.h: This.
2324         * sysdeps/i386/bits/byteswap.h: Removed.
2325         * sysdeps/i386/bits/byteswap-16.h: Likewise.
2326         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2327         * sysdeps/x86/bits/byteswap.h: This.
2328         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2329         * sysdeps/x86/bits/byteswap-16.h: This.
2330         * sysdeps/i386/Implies: Add x86.
2331         * sysdeps/x86_64/Implies: Likewise.
2333 2012-05-30  David S. Miller  <davem@davemloft.net>
2335         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2336         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2337         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2338         (FP_TRAPPING_EXCEPTIONS): Define.
2339         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2340         (FP_TRAPPING_EXCEPTIONS): Define.
2341         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2342         subnormals only when inexact has been signalled or underflow
2343         exceptions are enabled.
2344         (_FP_PACK_CANONICAL): Likewise.
2346 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2348         [BZ #14183]
2349         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2350         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2352 2012-05-30  Richard Henderson  <rth@twiddle.net>
2354         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2355         with #ifndef NOT_IN_libc.
2357         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
2358         marked to avoid plt entry.
2360 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2362         [BZ #14112]
2363         * Makeconfig (default-abi): New macro.
2364         (abi-includes): Likewise.
2365         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
2366         $(abi-$(default-abi)-lib-soname) for soname if defined.
2367         ($(common-objpfx)gnu/lib-names.stmp): Generate from
2368         abi-variants.
2369         * Makefile (installed-stubs): Likewise.
2370         * include/stubs-biarch.h: Removed.
2371         * scripts/lib-names.awk: Only handle one library at a time.
2372         * scripts/soversions.awk: Remove WORDSIZE support.
2373         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2374         entries.
2375         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2376         Removed.
2377         (syscall-list-default-condition): Likewise.
2378         (syscall-list-default-condition): Likewise.
2379         (syscall-list-includes): Likewise.
2380         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2381         syscall-list-* with abi-*.  Handle undefined abi-variants.
2382         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2383         * sysdeps/unix/sysv/linux/i386/Implies: New file.
2384         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2385         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2386         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2387         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2388         Removed.
2389         (syscall-list-32-options): Likewise.
2390         (syscall-list-32-condition): Likewise.
2391         (syscall-list-64-options): Likewise.
2392         (syscall-list-64-condition): Likewise.
2393         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2394         macro.
2395         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2396         Renamed to ...
2397         (abi-*): This.
2398         (abi-64-ld-soname): New macro.
2399         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2400         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2401         Renamed to ...
2402         (abi-*): This.
2403         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2404         * sysdeps/x86_64/x32/shlib-versions: Likewise.
2406 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
2408         * sysdeps/unix/sysv/linux/kernel-features.h
2409         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2410         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2411         include <kernel-features.h>.
2412         [!__NR_ftruncate64]: Remove conditional code.
2413         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2414         [__NR_ftruncate64]: Make code unconditional.
2415         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2416         * sysdeps/unix/sysv/linux/truncate64.c: Do not
2417         include <kernel-features.h>.
2418         [!__NR_ftruncate64]: Remove conditional code.
2419         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2420         [__NR_ftruncate64]: Make code unconditional.
2421         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2423         include <kernel-features.h>.
2424         [!__NR_ftruncate64]: Remove conditional code.
2425         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2426         [__NR_ftruncate64]: Make code unconditional.
2427         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2429         include <kernel-features.h>.
2430         [!__NR_ftruncate64]: Remove conditional code.
2431         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2432         [__NR_ftruncate64]: Make code unconditional.
2433         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2435         * configure.in (libc_cv_fpie): Weaken to a compile test using
2436         LIBC_TRY_CC_OPTION.
2437         * configure: Regenerated.
2439 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2445         Refreshed.
2446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2452         Refreshed.
2454 2012-05-27  David S. Miller  <davem@davemloft.net>
2456         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2457         (___Q_zero): New.
2458         (__Q_simulate_exceptions): Return void.  Change to simulate
2459         exceptions by writing into the %fsr.
2460         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2461         (__Qp_handle_exceptions): Likewise.
2462         (numbers): Delete.
2463         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2464         __Qp_handle_exceptions.
2465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2466         __Qp_handle_exceptions.
2467         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2468         as unused and give dummy FP_RND_NEAREST initializer.
2469         (FP_INHIBIT_RESULTS): Define.
2470         (___Q_simulate_exceptions): Update declaration.
2471         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2472         formatting.
2473         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2474         as unused and give dummy FP_RND_NEAREST initializer.
2475         (__Qp_handle_exceptions): Update declaration.
2476         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2477         formatting.
2479 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
2481         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2482         the temporary FPU control word.
2483         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2484         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2485         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2486         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2487         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2488         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2489         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2490         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2491         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2492         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2493         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2495 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2497         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2498         fields.
2500 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
2502         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2503         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2504         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2505         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2506         Likewise.
2507         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2508         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2509         Likewise.
2511 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
2513         * po/h.po: Update from translation team.
2515 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
2517         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2519         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2520         handling of denormals.
2521         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2522         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2523         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2524         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2525         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2526         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2527         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2528         Likewise.
2530 2012-05-26  Marek Polacek  <polacek@redhat.com>
2532         [BZ #14152]
2533         * math/libm-test.inc (fma_test): Don't always expect underflow
2534         exception.
2536 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2538         [BZ #12416]
2539         * elf/tst-execstack.c: Include stackinfo.h.
2540         (do_test): Adjust test case to ensure that pthread_getattr_np
2541         behaviour remains the same after marking stack executable.
2543 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
2545         * sysdeps/unix/sysv/linux/kernel-features.h
2546         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2547         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2548         kernel-features.h.
2549         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2550         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2551         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2552         kernel-features.h.
2553         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2554         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2556 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2558         * configure.in: Define the default includes to being none.
2559         * configure: Regenerated.
2561 2012-05-25  Roland McGrath  <roland@hack.frob.com>
2563         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2564         * sysdeps/x86_64/setjmp.S: Likewise.
2565         * sysdeps/i386/bsd-setjmp.S: Likewise.
2566         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2567         * sysdeps/i386/setjmp.S: Likewise.
2568         * sysdeps/i386/__longjmp.S: Likewise.
2569         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2570         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2572         * include/stap-probe.h: New file.
2573         * configure.in: Handle --enable-systemtap.
2574         * configure: Regenerated.
2575         * config.h.in (USE_STAP_PROBE): New #undef.
2576         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2577         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2578         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2580 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
2582         [BZ #13717]
2583         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2584         to 2.4.0 where earlier.
2585         * sysdeps/unix/sysv/linux/configure: Regenerated.
2586         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2587         <kernel-features.h>.
2588         [__ASSUME_32BITUIDS]: Make code unconditional.
2589         [!__ASSUME_32BITUIDS]: Remove conditional code.
2590         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2591         <kernel-features.h>.
2592         [__ASSUME_32BITUIDS]: Make code unconditional.
2593         [!__ASSUME_32BITUIDS]: Remove conditional code.
2594         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2595         [__ASSUME_32BITUIDS]: Make code unconditional.
2596         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2597         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2598         <kernel-features.h>.
2599         [__ASSUME_32BITUIDS]: Make code unconditional.
2600         [!__ASSUME_32BITUIDS]: Remove conditional code.
2601         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2602         <kernel-features.h>.
2603         [__ASSUME_32BITUIDS]: Make code unconditional.
2604         [!__ASSUME_32BITUIDS]: Remove conditional code.
2605         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2606         <kernel-features.h>.
2607         [__ASSUME_32BITUIDS]: Make code unconditional.
2608         [!__ASSUME_32BITUIDS]: Remove conditional code.
2609         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2610         <kernel-features.h>.
2611         [__ASSUME_32BITUIDS]: Make code unconditional.
2612         [!__ASSUME_32BITUIDS]: Remove conditional code.
2613         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2614         <kernel-features.h>.
2615         [__ASSUME_32BITUIDS]: Make code unconditional.
2616         [!__ASSUME_32BITUIDS]: Remove conditional code.
2617         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2618         <kernel-features.h>.
2619         [__ASSUME_32BITUIDS]: Make code unconditional.
2620         [!__ASSUME_32BITUIDS]: Remove conditional code.
2621         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2622         <kernel-features.h>.
2623         [__ASSUME_32BITUIDS]: Make code unconditional.
2624         [!__ASSUME_32BITUIDS]: Remove conditional code.
2625         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2626         <kernel-features.h>.
2627         [__ASSUME_32BITUIDS]: Make code unconditional.
2628         [!__ASSUME_32BITUIDS]: Remove conditional code.
2629         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2630         <kernel-features.h>.
2631         [__ASSUME_32BITUIDS]: Make code unconditional.
2632         [!__ASSUME_32BITUIDS]: Remove conditional code.
2633         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2634         <kernel-features.h>.
2635         [__ASSUME_32BITUIDS]: Make code unconditional.
2636         [!__ASSUME_32BITUIDS]: Remove conditional code.
2637         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2638         <kernel-features.h>.
2639         [__NR_setresgid] (__setresgid): Do not declare.
2640         [__ASSUME_32BITUIDS]: Make code unconditional.
2641         [!__ASSUME_32BITUIDS]: Remove conditional code.
2642         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2643         <kernel-features.h>.
2644         [__NR_setresuid] (__setresuid): Do not declare.
2645         [__ASSUME_32BITUIDS]: Make code unconditional.
2646         [!__ASSUME_32BITUIDS]: Remove conditional code.
2647         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2648         <kernel-features.h>.
2649         [__ASSUME_32BITUIDS]: Make code unconditional.
2650         [!__ASSUME_32BITUIDS]: Remove conditional code.
2651         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2652         <kernel-features.h>.
2653         [__ASSUME_32BITUIDS]: Make code unconditional.
2654         [!__ASSUME_32BITUIDS]: Remove conditional code.
2655         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2656         <kernel-features.h>.
2657         [__ASSUME_32BITUIDS]: Make code unconditional.
2658         [!__ASSUME_32BITUIDS]: Remove conditional code.
2659         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2660         <kernel-features.h>.
2661         [__ASSUME_32BITUIDS]: Make code unconditional.
2662         [!__ASSUME_32BITUIDS]: Remove conditional code.
2663         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2664         <kernel-features.h>.
2665         [__ASSUME_32BITUIDS]: Make code unconditional.
2666         [!__ASSUME_32BITUIDS]: Remove conditional code.
2667         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2668         <kernel-features.h>.
2669         [__ASSUME_32BITUIDS]: Make code unconditional.
2670         [!__ASSUME_32BITUIDS]: Remove conditional code.
2671         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2672         <kernel-features.h>.
2673         [__ASSUME_32BITUIDS]: Make code unconditional.
2674         [!__ASSUME_32BITUIDS]: Remove conditional code.
2675         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2676         <kernel-features.h>.
2677         [__ASSUME_32BITUIDS]: Make code unconditional.
2678         [!__ASSUME_32BITUIDS]: Remove conditional code.
2679         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2680         <kernel-features.h>.
2681         [__ASSUME_32BITUIDS]: Make code unconditional.
2682         [!__ASSUME_32BITUIDS]: Remove conditional code.
2683         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2684         <kernel-features.h>.
2685         [__ASSUME_32BITUIDS]: Make code unconditional.
2686         [!__ASSUME_32BITUIDS]: Remove conditional code.
2687         * sysdeps/unix/sysv/linux/kernel-features.h
2688         (__ASSUME_SETRESUID_SYSCALL): Remove.
2689         (__ASSUME_SETRESGID_SYSCALL): Likewise.
2690         (__ASSUME_32BITUIDS): Likewise.
2691         (__ASSUME_LDT_WORKS): Likewise.
2692         (__ASSUME_O_DIRECTORY): Likewise.
2693         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2694         architecture but not kernel version.
2695         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2696         (__ASSUME_MMAP2_SYSCALL): Likewise.
2697         (__ASSUME_STAT64_SYSCALL): Likewise.
2698         (__ASSUME_IPC64): Likewise.
2699         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2700         <kernel-features.h>.
2701         [__ASSUME_32BITUIDS]: Make code unconditional.
2702         [!__ASSUME_32BITUIDS]: Remove conditional code.
2703         * sysdeps/unix/sysv/linux/opendir.c: Do not include
2704         <kernel-features.h>.
2705         [__ASSUME_O_DIRECTORY]: Make code unconditional.
2706         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2707         132096]: Remove conditional code.
2708         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2709         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2710         <kernel-features.h>.
2711         [__ASSUME_32BITUIDS]: Make code unconditional.
2712         [!__ASSUME_32BITUIDS]: Remove conditional code.
2713         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2714         <kernel-features.h>.
2715         [__ASSUME_32BITUIDS]: Make code unconditional.
2716         [!__ASSUME_32BITUIDS]: Remove conditional code.
2717         * sysdeps/unix/sysv/linux/setegid.c: Do not include
2718         <kernel-features.h>.
2719         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2720         unconditional.
2721         (__setresgid): Do not declare.
2722         [__ASSUME_32BITUIDS]: Make code unconditional.
2723         [!__ASSUME_32BITUIDS]: Remove conditional code.
2724         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2725         <kernel-features.h>.
2726         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2727         unconditional.
2728         (__setresuid): Do not declare.
2729         [__ASSUME_32BITUIDS]: Make code unconditional.
2730         [!__ASSUME_32BITUIDS]: Remove conditional code.
2731         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2732         <kernel-features.h>.
2733         [__ASSUME_32BITUIDS]: Make code unconditional.
2734         [!__ASSUME_32BITUIDS]: Remove conditional code.
2735         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2736         <kernel-features.h>.
2737         [__ASSUME_32BITUIDS]: Make code unconditional.
2738         [!__ASSUME_32BITUIDS]: Remove conditional code.
2740 2012-05-25  Richard Henderson  <rth@twiddle.net>
2742         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2743         dl_hwcap to ifunc resolver.
2744         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2745         elf_ifunc_invoke.
2746         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2747         dl_hwcap to ifunc resolver.
2748         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2750 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2752         [BZ #14153]
2753         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2754         for |x| <= 2**-26, not 2**-57.
2755         * math/libm-test.inc (acos_test): Do not allow spurious underflow
2756         exception.
2758 2012-05-24  Jeff Law  <law@redhat.com>
2760         * stdio-common/Makefile (tests): Add bug25.
2761         * stdio-common/bug25.c: New test.
2763 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2765         [BZ #13576]
2766         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2767         multiple of MALLOC_ALIGNMENT in size.
2768         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2770 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2772         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2773         Require >= 256.
2774         (FILENAME_MAX): Use macro-int-constant.
2775         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
2776         (_IOFBF): Use macro-int-constant.
2777         (_IOLBF): Likewise.
2778         (_IONBF): Likewise.
2779         (SEEK_CUR): Likewise.
2780         (SEEK_END): Likewise.
2781         (SEEK_SET): Likewise.
2782         (TMP_MAX): Likewise.
2783         (EOF): Use macro-int-constant.  Require < 0.
2784         (NULL): Use macro-constant.  Require == 0.
2785         (stdin): Require type to be FILE *.
2786         (stdout): Likewise.
2787         (stderr): Likewise.
2788         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2789         macro-int-constant.
2790         (EXIT_SUCCESS): Likewise.
2791         (NULL): Use macro-constant.  Require == 0.
2792         (RAND_MAX): Use macro-int-constant.
2793         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2794         [C99-based standards] (strtof): Require function.
2795         [C99-based standards] (strtold): Likewise.
2796         [C99-based standards] (strtoll): Likewise.
2797         [C99-based standards] (strtoull): Likewise.
2798         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2799         [ISO || ISO99 || ISO11] (limits.h): Likewise.
2800         [ISO || ISO99 || ISO11] (math.h): Likewise.
2801         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2802         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2803         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2805 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
2807         [BZ #14132]
2808         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2809         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2810         * intl/dgettext.c (DCGETTEXT): Likewise.
2811         * intl/gettext.c (DCGETTEXT): Likewise.
2812         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2813         * posix/regex_internal.h (gettext): Likewise.
2814         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2815         Remove declaration.
2816         * include/argz.h (__argz_count_internal)
2817         (__argz_stringify_internal): Remove declaration.
2818         (__argz_count, __argz_stringify): Declare hidden proto.
2819         * intl/dcgettext.c: Remove use of INTDEF.
2820         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2821         * string/argz-stringify.c: Likewise.
2822         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2823         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2824         Declare hidden proto.
2825         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2826         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2827         Declare hidden proto.
2828         * include/stdio.h (__asprintf_internal): Don't declare.
2829         (__asprintf): Don't define as macro.  Declare hidden proto.
2830         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2831         (__fsetlocking): Declare hidden proto.
2832         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2833         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2834         hidden proto.
2835         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2836         (_IO_setlinebuf): Remove use of INTUSE.
2837         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2838         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2839         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2840         Remove declaration.
2841         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2842         (_IO_do_flush): Remove use of INTUSE.
2843         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2844         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2845         (_IO_adjust_column, _IO_least_wmarker)
2846         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2847         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2848         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2849         (_IO_default_doallocate, _IO_wdefault_doallocate)
2850         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2851         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2852         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2853         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2854         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2855         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2856         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2857         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2858         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2859         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2860         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2861         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2862         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2863         proto.
2864         (_IO_flush_all_internal, _IO_adjust_column_internal)
2865         (_IO_default_uflow_internal, _IO_default_finish_internal)
2866         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2867         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2868         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2869         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2870         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2871         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2872         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2873         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2874         (_IO_file_close_internal, _IO_file_close_it_internal)
2875         (_IO_file_underflow_internal, _IO_file_overflow_internal)
2876         (_IO_file_init_internal, _IO_file_attach_internal)
2877         (_IO_file_fopen_internal, _IO_file_read_internal)
2878         (_IO_file_sync_internal, _IO_file_seek_internal)
2879         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2880         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2881         (_IO_str_underflow_internal, _IO_str_overflow_internal)
2882         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2883         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2884         (_IO_list_all_internal, _IO_link_in_internal)
2885         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2886         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2887         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2888         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2889         (_IO_do_write_internal, _IO_padn_internal)
2890         (_IO_getline_info_internal, _IO_getline_internal)
2891         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2892         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2893         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2894         (_IO_vfscanf_internal, _IO_vfprintf_internal)
2895         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2896         (_IO_init_internal, _IO_un_link_internal): Don't declare.
2897         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2898         with libc_hidden_ver, remove use of INTUSE.
2899         * libio/genops.c: Likewise.
2900         * libio/freopen.c: Likewise.
2901         * libio/freopen64.c: Likewise.
2902         * libio/iofclose.c: Likewise.
2903         * libio/iofdopen.c: Likewise.
2904         * libio/iofflush.c: Likewise.
2905         * libio/iofflush_u.c: Likewise.
2906         * libio/iofgets.c: Likewise.
2907         * libio/iofgets_u.c: Likewise.
2908         * libio/iofopen.c: Likewise.
2909         * libio/iofopncook.c: Likewise.
2910         * libio/iofread.c: Likewise.
2911         * libio/iofread_u.c: Likewise.
2912         * libio/ioftell.c: Likewise.
2913         * libio/iofwrite.c: Likewise.
2914         * libio/iogetline.c: Likewise.
2915         * libio/iogets.c: Likewise.
2916         * libio/iogetwline.c: Likewise.
2917         * libio/iopadn.c: Likewise.
2918         * libio/iopopen.c: Likewise.
2919         * libio/ioseekoff.c: Likewise.
2920         * libio/ioseekpos.c: Likewise.
2921         * libio/iosetbuffer.c: Likewise.
2922         * libio/iosetvbuf.c: Likewise.
2923         * libio/ioungetc.c: Likewise.
2924         * libio/ioungetwc.c: Likewise.
2925         * libio/iovdprintf.c: Likewise.
2926         * libio/iovsprintf.c: Likewise.
2927         * libio/iovsscanf.c: Likewise.
2928         * libio/memstream.c: Likewise.
2929         * libio/obprintf.c: Likewise.
2930         * libio/oldfileops.c: Likewise.
2931         * libio/oldiofclose.c: Likewise.
2932         * libio/oldiofdopen.c: Likewise.
2933         * libio/oldiofopen.c: Likewise.
2934         * libio/oldiopopen.c: Likewise.
2935         * libio/oldstdfiles.c: Likewise.
2936         * libio/putc.c: Likewise.
2937         * libio/setbuf.c: Likewise.
2938         * libio/setlinebuf.c: Likewise.
2939         * libio/stdfiles.c: Likewise.
2940         * libio/strops.c: Likewise.
2941         * libio/vasprintf.c: Likewise.
2942         * libio/vscanf.c: Likewise.
2943         * libio/vsnprintf.c: Likewise.
2944         * libio/vswprintf.c: Likewise.
2945         * libio/wfiledoalloc.c: Likewise.
2946         * libio/wfileops.c: Likewise.
2947         * libio/wgenops.c: Likewise.
2948         * libio/wmemstream.c: Likewise.
2949         * libio/wstrops.c: Likewise.
2950         * libio/__fpurge.c: Likewise.
2951         * libio/__fsetlocking.c: Likewise.
2952         * assert/assert.c: Likewise.
2953         * debug/fgets_chk.c: Likewise.
2954         * debug/fgets_u_chk.c: Likewise.
2955         * debug/fread_chk.c: Likewise.
2956         * debug/fread_u_chk.c: Likewise.
2957         * debug/gets_chk.c: Likewise.
2958         * debug/obprintf_chk.c: Likewise.
2959         * debug/vasprintf_chk.c: Likewise.
2960         * debug/vdprintf_chk.c: Likewise.
2961         * debug/vsnprintf_chk.c: Likewise.
2962         * debug/vsprintf_chk.c: Likewise.
2963         * malloc/mtrace.c: Likewise.
2964         * misc/error.c: Likewise.
2965         * misc/syslog.c: Likewise.
2966         * stdio-common/asprintf.c: Likewise.
2967         * stdio-common/fxprintf.c: Likewise.
2968         * stdio-common/getw.c: Likewise.
2969         * stdio-common/isoc99_fscanf.c: Likewise.
2970         * stdio-common/isoc99_scanf.c: Likewise.
2971         * stdio-common/isoc99_vfscanf.c: Likewise.
2972         * stdio-common/isoc99_vscanf.c: Likewise.
2973         * stdio-common/isoc99_vsscanf.c: Likewise.
2974         * stdio-common/printf-prs.c: Likewise.
2975         * stdio-common/printf_fp.c: Likewise.
2976         * stdio-common/printf_fphex.c: Likewise.
2977         * stdio-common/printf_size.c: Likewise.
2978         * stdio-common/putw.c: Likewise.
2979         * stdio-common/scanf.c: Likewise.
2980         * stdio-common/sprintf.c: Likewise.
2981         * stdio-common/tmpfile.c: Likewise.
2982         * stdio-common/vfprintf.c: Likewise.
2983         * stdio-common/vfscanf.c: Likewise.
2984         * stdlib/strfmon_l.c: Likewise.
2985         * sunrpc/openchild.c: Likewise.
2986         * sunrpc/xdr_stdio.c: Likewise.
2987         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2988         * sysdeps/mach/hurd/tmpfile.c: Likewise.
2990 2012-05-24  Roland McGrath  <roland@hack.frob.com>
2992         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2994         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2995         in the third column, to generate for the shared library an IFUNC
2996         that uses _dl_vdso_vsym.
2997         * Makerules (COMPILE.c, compile-stdin.c): New variables.
2998         * Makeconfig (object-suffixes-noshared): New variable.
3000         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3001         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3002         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3003         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3005         [BZ #14132]
3006         * include/sys/time.h (__gettimeofday): Remove macro.
3007         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3008         * time/gettimeofday.c (__gettimeofday): Remove #undef.
3009         Remove INTDEF.
3010         (__gettimeofday): Add libc_hidden_def.
3011         (gettimeofday): Add libc_hidden_weak.
3012         * sysdeps/mach/gettimeofday.c: Likewise.
3013         * sysdeps/posix/gettimeofday.c: Likewise.
3014         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3015         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3016         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3017         (__gettimeofday_internal): Remove strong_alias.
3018         (__gettimeofday): Add libc_hidden_def.
3019         (gettimeofday): Add libc_hidden_weak.
3020         * sysdeps/unix/syscalls.list (gettimeofday):
3021         Remove __gettimeofday_internal alias.
3023 2012-05-24  Daniel Jacobowitz  <drow@false.org>
3024             H.J. Lu  <hongjiu.lu@intel.com>
3026         [BZ #12495]
3027         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3028         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3029         (largebin_index_32_big): New.
3030         (largebin_index): Use it for 16-byte alignment.
3031         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
3032         correction with front_misalign.
3034 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3038         Likewise.
3039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3040         Likewise.
3041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3042         Likewise.
3043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3044         Likewise.
3045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3046         Likewise.
3047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3048         Likewise.
3049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3050         Likewise.
3051         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3052         Likewise.
3053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3054         Likewise.
3055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3056         Likewise.
3057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3058         Likewise.
3059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3060         Likewise.
3062         * scripts/data/c++-types-x32-linux-gnu.data: New file.
3063         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3065 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
3067         [BZ #10846]
3068         [BZ #14036]
3069         * math/libm-test.inc (exp_test): Add test from bug 14036.
3070         (pow_test): Add test from bug 10846.
3072         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3073         and other flags.
3074         (special_function): Do not include flags in test name.
3075         (parse_args): Likewise.
3076         * sysdeps/i386/fpu/libm-test-ulps: Update.
3077         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3078         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3079         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3082         * math/gen-libm-test.pl (%beautify): Add entries for underflow
3083         exceptions.
3084         * math/libm-test.inc ("Philosophy"): Update comment about
3085         exception testing.
3086         (UNDERFLOW_EXCEPTION): New macro.
3087         (UNDERFLOW_EXCEPTION_OK): Likewise.
3088         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3089         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3090         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3091         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3092         (INVALID_EXCEPTION_OK): Update value.
3093         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3094         (OVERFLOW_EXCEPTION_OK): Likewise.
3095         (IGNORE_ZERO_INF_SIGN): Likewise.
3096         (test_exceptions): Handle underflow exceptions.
3097         (acos_test): Update for underflow exception expectations.
3098         (cexp_test): Likewise.
3099         (clog_test): Likewise.
3100         (clog10_test): Likewise.
3101         (csqrt_test): Likewise.
3102         (ctan_test): Likewise.
3103         (ctanh_test): Likewise.
3104         (exp_test): Likewise.
3105         (exp10_test): Likewise.
3106         (exp2_test): Likewise.
3107         (expm1_test): Likewise.
3108         (fma_test): Likewise.
3109         (j0_test): Likewise.
3110         (jn_test): Likewise.
3111         (nexttoward_test): Likewise.
3112         (pow_test): Likewise.
3113         (scalbn_test): Likewise.
3114         (scalbln_test): Likewise.
3115         (tan_test): Likewise.
3116         (y1_test): Likewise.
3117         * sysdeps/i386/fpu/libm-test-ulps: Update.
3118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3120 2012-05-23  David S. Miller  <davem@davemloft.net>
3122         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3123         (__libc_sigaction): Remove unused local variables.
3125 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3127         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3129 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
3131         mktime: avoid signed integer overflow
3132         * time/mktime.c (__mktime_internal): Do not mishandle the case
3133         where diff == INT_MIN.
3135         mktime: simplify computation of average
3136         * time/mktime.c (ranged_convert): Use new time_t_avg function
3137         instead of rolling our own (probably-slower) code.
3139         mktime: do not assume signed right shift propagates sign bit
3140         * time/mktime.c (isdst_differ): New static function.
3141         (__mktime_internal): No need to normalize tm_isdst now.
3142         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3143         tm_isdst values.
3145         mktime: merge another wrapv change from gnulib
3146         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3147         from some compilers.
3149         mktime: remove incorrect attempt at unusual arithmetics
3150         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3151         The code didn't really work on such machines anyway.
3152         (TYPE_MINIMUM): Assume two's complement.
3153         (twos_complement_arithmetic): Verify that long_int and time_t
3154         are two's complement (or unsigned, in the latter case).
3156         mktime: check signed shifts on long_int and time_t, too
3157         * time/mktime.c (SHR): Check that shifts work as desired
3158         on the types long_int and time_t too, as SHR is used on
3159         such types.
3161         mktime: do not assume 'long' is wide enough
3162         * time/mktime.c (verify): Move decl up.
3163         (long_int): New type.
3164         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3165         to remove assumption in the code that 'long' is wide enough to
3166         store year values.  This assumption is not true on x32 and on
3167         some non-glibc platforms.
3169         mktime: merge wrapv change from gnulib
3170         * time/mktime.c (WRAPV): New macro.
3171         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3172         (guess_time_tm, __mktime_internal): Do not assume that signed
3173         integer overflow wraps around; modern compilers generate code
3174         where this assumption is no longer valid.
3176 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3178         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3179         Replace "jmp L(pseudo_end)" with "ret".
3180         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3181         Likewise.
3183 2012-05-23  Andreas Jaeger  <aj@suse.de>
3185         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3186         * sysdeps/unix/sysv/linux/poll.c: Remove file.
3188 2012-05-23  Andreas Jaeger  <aj@suse.de>
3189             Maximilian Attems  <max@stro.at>
3191         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3192         New macros.
3194 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
3196         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3197         code so that pseudo_end is just ret and the stack pointer is
3198         correct also for static library in error case.
3200 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
3202         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3203         move to syscalls.list.
3204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3209         * manual/install.texi (Running make install): Do not mention Linux
3210         kernel version for which pt_chown is not needed.
3211         (Linux): Do not mention problems with nscd with 2.0 kernels.
3212         * INSTALL: Regenerated.
3214 2012-05-23  Andreas Jaeger  <aj@suse.de>
3216         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3217         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3218         macro.
3219         * sysdeps/unix/sysv/linux/s390/bits/mman.h
3220         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3221         * sysdeps/unix/sysv/linux/sh/bits/mman.h
3222         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3223         * sysdeps/unix/sysv/linux/i386/bits/mman.h
3224         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3225         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3226         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3227         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3228         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3229         * sysdeps/unix/sysv/linux/bits/in.h
3230         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3232 2012-05-22  Roland McGrath  <roland@hack.frob.com>
3234         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3235         (PREPARE_VERSION): Just use assert instead, it will be elided
3236         under [NDEBUG] anyway.
3238 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3240         * sysdeps/unix/sysv/linux/Makefile: Include
3241         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3242         (sysdep_routines): Remove sysctl.
3243         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3244         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3245         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3246         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3247         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3249 2012-05-22  Andreas Jaeger  <aj@suse.de>
3251         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3252         that pseudo_end is just ret and the stack pointer is correct also
3253         for static library in error case.
3255 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3257         [BZ #14122]
3258         * nss/nsswitch.c (defconfig_entries): New variable.
3259         (__nss_database_lookup): Don't leak defconfig entries.
3260         (nss_parse_service_list): Don't leak on error paths.
3261         (free_database_entries): New function.
3262         (free_defconfig): New function.
3263         (free_mem): Move common code to free_database_entries.
3265 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3267         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3268         Add arch_prctl.
3269         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3271         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3272         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3274         New macro.
3275         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3276         (INTERNAL_SYSCALL_TYPES): Likewise.
3277         (LOAD_ARGS_TYPES_[1-6]): Likewise.
3278         (LOAD_REGS_TYPES_[1-6]): Likewise.
3279         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3280         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3282 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3284         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3285         copysignl for GLIBC_2_0.
3286         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3287         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3288         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3289         logbl for GLIBC_2_0.
3290         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3291         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3293 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3295         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3296         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3298         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3299         Use "neg %eax".
3301         * time/mktime.c: Update copyright years.
3303 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3305         mktime: merge comment-quoting-style change from gnulib
3306         * time/mktime.c: Quote 'like this' in comments.
3307         The GNU coding standards suggest that we no longer quote `like this',
3308         as "`" and "'" are typically rendered asymmetrically nowadays.
3309         The typical gnulib style is to quote 'like this' when quoting
3310         code, and "like this" when quoting English.
3312         * time/mktime.c (compile-command): Add "-I.".
3314         mktime: merge mktime-internal.h change from gnulib
3315         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3317         mktime: merge time_r change from gnulib
3318         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3320         mktime: merge DEBUG change from gnulib
3321         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3322         case system <time.h> has a #define.
3324         mktime: merge <sys/types.h> change from gnulib
3325         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3326         since <time.t> is now guaranteed to define time_t.
3328         mktime: merge HAVE_CONFIG_H change from gnulib
3329         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3331 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3334         Use "neg %eax".
3336         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3337         __rlim_t cast.
3338         (struct rusage): Use anonymous union to pad each field to
3339         __syscall_slong_t.
3341 2012-05-21  David S. Miller  <davem@davemloft.net>
3343         * Makefules (o-iterator): Remove .s cases.
3344         (compile-command.s): Delete.
3345         (COMPILE.s): Delete.
3346         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3348 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
3350         * configure.in (libc_cv_predef_stack_protector): Only consider
3351         "foobar" and "__stack_chk_fail" lines in libc_undefs.
3352         * configure: Regenerated.
3354 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
3356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3357         New macro.  Use R*LP on int and pointer.
3358         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3359         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3360         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3361         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3363         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3364         [__WORDSIZE_TIME64_COMPAT32] instead of
3365         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3366         (struct utmp): Likewise.
3367         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3368         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3369         Renamed to ...
3370         (__WORDSIZE_TIME64_COMPAT32): This.
3371         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3372         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3373         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3374         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3375         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3376         (__WORDSIZE_TIME64_COMPAT32): New macro.
3378 2012-05-21  Andreas Jaeger  <aj@suse.de>
3380         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3381         only if [SHARED]. Add prototype for __wcschr_ia32.
3383 2012-05-21  Roland McGrath  <roland@hack.frob.com>
3385         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3386         of %rbp unmolested in the jmp_buf while mangling the low bits.
3387         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3388         unmolested high bits of %rbp while demangling the low bits.
3389         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3391 2012-05-21  Andreas Jaeger  <aj@suse.de>
3393         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3394         * sunrpc/svc_simple.c: Use it for registerrpc.
3395         * sunrpc/xcrypt.c: Use it for passwd2des.
3397         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3399 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
3401         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3402         Don't define if [__SYSCALL_WORDSIZE != 32].
3403         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3404         New macro.
3406 2012-05-21  Bruno Haible  <bruno@clisp.org>
3407             Andreas Jaeger  <aj@suse.de>
3409         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3410         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3411         inptr and inend for must_buffer_ch.
3412         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3413         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3414         * stdio-common/Makefile (tests): Remove bug15.
3415         (bug15-ENV): Remove macro.
3416         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3417         anymore.
3419 2012-05-19  Andreas Jaeger  <aj@suse.de>
3420             Roland McGrath  <roland@hack.frob.com>
3422         * manual/contrib.texi: Completely rewritten. It contains now an
3423         alphabetical list of contributors and their contributions.
3425 2012-05-21  Richard Henderson  <rth@twiddle.net>
3427         * misc/getauxval.c (__getauxval): Use unsigned long int.
3428         * misc/sys/auxv.h: Include <sys/cdefs.h>.
3429         (getauxval): Use unsigned long int.
3431 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
3433         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3435 2012-05-21  Roland McGrath  <roland@hack.frob.com>
3437         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3438         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3439         __alignof__ (long double).
3441 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3445 2012-05-20  Richard Henderson  <rth@twiddle.net>
3447         * misc/getauxval.c: New file.
3448         * misc/sys/auxv.h: New file.
3449         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3450         (routines): Add getauxval.
3451         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3452         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3453         * elf/dl-sysdep.c (_dl_auxv): Remove.
3454         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3455         * elf/dl-support.c (_dl_auxv): New variable.
3456         (_dl_aux_init): Initialize it.
3457         * manual/startup.texi (Auxiliary Vector): New node.
3458         * sysdeps/generic/bits/hwcap.h: New file.
3459         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3460         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
3461         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3462         * sysdeps/sparc/sysdep.h: ... here.  Include it.
3463         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3464         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3466         Update.
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3470         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3476 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3480 2012-05-19  David S. Miller  <davem@davemloft.net>
3482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3484 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
3486         [BZ #14123]
3487         * math/s_ccosh.c: Include <float.h>
3488         (__ccosh): Avoid internal overflow calculating sinh and cosh
3489         values before multiplying by sin and cos values.
3490         * math/s_ccoshf.c: Likewise.
3491         * math/s_ccoshl.c: Likewise.
3492         * math/s_csin.c: Likewise.
3493         * math/s_csinf.c: Likewise.
3494         * math/s_csinl.c: Likewise.
3495         * math/s_csinh.c: Likewise.
3496         * math/s_csinhf.c: Likewise.
3497         * math/s_csinhl.c: Likewise.
3498         * math/libm-test.inc (ccos_test): Add more tests.
3499         (ccosh_test): Likewise.
3500         (csin_test): Likewise.
3501         (csinh_test): Likewise.
3502         * sysdeps/i386/fpu/libm-test-ulps: Update.
3503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3505 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3507         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3508         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3510         * sysdeps/x86_64/x32/_itoa.h: Add comment.
3512 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
3514         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3515         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3516         * sysdeps/powerpc/soft-fp/Versions: Likewise.
3517         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3518         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3519         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3520         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3521         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3522         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3523         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3524         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3525         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3526         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3527         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3528         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3529         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3530         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3531         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3532         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3533         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3534         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3535         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3536         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3537         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3538         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3539         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3540         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3541         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3542         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3543         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3544         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3546 2012-05-18  Andreas Jaeger  <aj@suse.de>
3548         * csu/.gitignore: Delete.
3550 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3552         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3553         (timex): Use __syscall_slong_t.
3555 2012-05-18  Andreas Jaeger  <aj@suse.de>
3556             Carlos O'Donell  <carlos_odonell@mentor.com>
3558         * manual/install.texi (Configuring and compiling): Update
3559         description about files modified in the source directory.
3560         * INSTALL: Regenerated.
3562 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3564         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3565         value.  Use "or" to set return value to -1.
3566         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3567         negate return value.
3569 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3571         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3572         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3573         failure if the compiler has Graphite support disabled.
3574         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3575         Likewise.
3576         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3577         CFLAGS-memmove.c): Likewise.
3578         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3579         Likewise.
3581 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3583         * sysdeps/x86_64/x32/_itoa.h: New file.
3585         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3586         getdents system call only if kernel and user dirents have the
3587         same d_ino and d_off.
3589         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3590         LLONG_MAX != LONG_MAX.
3591         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3592         (_fitoa_word): Likewise.
3594         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3595         years.
3596         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3597         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3598         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3600         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3601         include <bits/wordsize.h>.  Check __x86_64__ instead of
3602         __WORDSIZE.
3603         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3604         if __x86_64__ is defined.  Use anonymous union on fpstate.
3606         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3607         anonymous union.
3609 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
3611         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3612         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3613         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3614         Refer to _rtld_local_ro instead of _rtld_global_ro.
3615         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3616         Likewise.
3617         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3618         Likewise.
3619         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3620         Likewise.
3621         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3622         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3623         of _rtld_global, and rtld_progname instead of _dl_argv[0].
3625         * sysdeps/powerpc/powerpc32/dl-machine.c
3626         (__elf_machine_runtime_setup) [PROF]: Don't reference
3627         _dl_prof_resolve.
3629 2012-05-18  Andreas Jaeger  <aj@suse.de>
3631         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3632         function only available for GCCs before 3.4 since GCC 3.4
3633         introduced a builtin.
3634         (lrint): Likewise.
3635         (llrintf): Likewise.
3636         (llrint): Likewise.
3637         (fmaxf): Likewise.
3638         (fmax): Likewise.
3639         (fminf): Likewise.
3640         (fmin): Likewise.
3641         (rint): Likewise.
3642         (rintf): Likewise.
3643         (nearbyint): Likewise.
3644         (nearbyintf): Likewise.
3645         (ceil): Likewise.
3646         (ceilf): Likewise.
3647         (floor): Likewise.
3648         (floorf): Likewise.
3650 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3652         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3653         on both fields and cast pointer to __syscall_ulong_t.
3655         * bits/types.h (__fsword_t): New type.
3656         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3657         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3658         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3659         (__FSWORD_T_TYPE): Likewise.
3660         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3661         (__FSWORD_T_TYPE): Likewise.
3662         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3663         (__FSWORD_T_TYPE): Likewise.
3664         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3665         (__FSWORD_T_TYPE): Likewise.
3666         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3667         __SWORD_TYPE with __fsword_t.
3668         (statfs64): Likewise.
3670 2012-05-17  David S. Miller  <davem@davemloft.net>
3672         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3674 2012-05-17  Andreas Jaeger  <aj@suse.de>
3676         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3677         warning.
3679 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3681         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3683 2012-05-17  Andreas Jaeger  <aj@suse.de>
3685         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3686         when it is used.
3688 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
3690         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3692 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3694         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3695         * sysdeps/x86_64/tst-mallocalign1.c: New file.
3697 2012-05-17  Andreas Jaeger  <aj@suse.de>
3698             Carlos O'Donell  <carlos_odonell@mentor.com>
3700         [BZ #14059]
3701         * sysdeps/x86_64/multiarch/init-arch.h
3702         (bit_YMM_Usable): Rename to...
3703         (bit_AVX_Usable): ... this.
3704         (bit_FMA4_Usable): New macro.
3705         (bit_XMM_state): New macro.
3706         (bit_YMM_state): New macro.
3707         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3708         [__ASSEMBLER__] (index_AVX_Usable): ... this.
3709         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3710         (CPUID_OSXSAVE): New macro.
3711         (CPUID_AVX): New macro.
3712         (CPUID_FMA4): New macro.
3713         (index_YMM_Usable): Rename to...
3714         (index_AVX_Usable): ... this.
3715         (HAS_AVX): Use HAS_ARCH_FEATURE.
3716         (HAS_FMA4): Likewise.
3717         (HAS_YMM_USABLE): Remove.
3718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3719         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3720         are present.
3721         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3722         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3723         * sysdeps/x86_64/multiarch/Makefile: Likewise.
3724         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3725         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3727 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
3729         * math/libm-test.c: Support platforms without multiple rounding modes.
3730         * math/bug-nextafter.c: Support platforms without FP exceptions.
3731         * math/bug-nexttoward.c: Likewise.
3732         * math/test-fenv.c: Likewise.
3733         * math/test-misc.c: Likewise.
3734         * stdlib/bug-getcontext.c: Likewise.
3736 2012-05-17  Andreas Jaeger  <aj@suse.de>
3738         * manual/examples/search.c (critter_cmp): Change signature to
3739         avoid warnings.
3740         * manual/string.texi (Collation Functions): Likewise.
3742 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3744         * bits/types.h: Fold copyright years.
3745         * bits/typesizes.h: Likewise.
3746         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3747         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3748         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3749         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3750         * time/time.h: Likewise.
3752 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
3754         [BZ #208]
3755         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3756         in instead of returning them.  Return void.
3757         (__libc_mallinfo): Accumulate over all arenas.
3758         (__malloc_stats): Adjust for change in int_mallinfo interface.
3760 2012-05-16  Roland McGrath  <roland@hack.frob.com>
3762         [BZ #10375]
3763         * configure.in (NM): Add AC_CHECK_TOOL for it.
3764         (libc_extra_cflags): New substituted variable.
3765         Check for -fstack-protector being used implicitly.
3766         * configure: Regenerated.
3767         * config.make.in (config-extra-cflags): New variable,
3768         gets @libc_extra_cflags@.
3769         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3771         [BZ #10375]
3772         * configure.in: Check for _FORTIFY_SOURCE being predefined.
3773         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3774         * configure: Regenerated.
3775         * config.make.in (CPPUNDEFS): New substituted variable.
3776         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3777         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3778         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3780 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3782         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3783         (mq_attr): Use __syscall_slong_t.
3785 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3787         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3788         Check __x86_64__ instead of __WORDSIZE.
3789         (_STAT_VER_LINUX): Likewise.
3790         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
3791         __syscall_ulong_t and __syscall_slong_t.
3792         (stat64): Likewise.
3794 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3796         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3798 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3800         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3802 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3804         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3805         __syscall_ulong_t.
3807         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3808         include <bits/wordsize.h>.  Check __x86_64__ instead of
3809         __WORDSIZE.
3810         (greg_t): Use "__extension__ long long int" if __x86_64__ is
3811         defined.
3812         (mcontext_t): Replace "unsigned long" with "unsigned long long".
3814         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3815         include <bits/wordsize.h>.  Check __x86_64__ instead of
3816         __WORDSIZE.
3817         (user_regs_struct): Use "__extension__ unsigned long long"
3818         instead of "unsigned long" if __x86_64__ is defined.
3819         (user): Likewise.  Pad after pointer field if __ILP32__ is
3820         defined.
3822 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
3824         * configure.in (makeinfo): Require version 4.5 or later.  Allow
3825         versions 5 to 9.
3826         * configure: Regenerated.
3827         * manual/install.texi (texinfo): Increase version requirement to
3828         4.5 or later.
3829         * INSTALL: Regenerated.
3831         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3833 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3835         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3837         * sysdeps/x86_64/x32/ffs.c: New file.
3839         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3840         __syscall_ulong_t.
3841         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3842         defined.  Use __syscall_ulong_t.
3843         (shminfo): Use __syscall_ulong_t.
3844         (shm_info): Likewise.
3846         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3847         __syscall_ulong_t.
3849         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3850         <bits/wordsize.h>.
3851         (msgqnum_t): Use __syscall_ulong_t.
3852         (msglen_t): Likewise.
3853         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
3854         __syscall_ulong_t.
3856         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3857         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3859         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3861         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3862         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3864         * sysvipc/sys/msg.h (msgbuf): Replace long int with
3865         __syscall_slong_t.
3867         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3868         include <bits/wordsize.h>.  Check __x86_64__ instead of
3869         __WORDSIZE.
3871         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3872         "unsigned long long int" if __x86_64__ is defined.
3873         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3875         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3876         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3877         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3879         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3880         <stdint.h>.
3881         (GET_PC): Cast to uintptr_t first.
3882         (GET_FRAME): Likewise.
3883         (GET_STACK): Likewise.
3885         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3886         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3887         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3888         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3889         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3890         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3891         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3892         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3893         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3894         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3895         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3896         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3897         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3898         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3899         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3900         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3901         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3902         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3903         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3904         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3905         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3906         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3907         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3908         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3909         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3910         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3911         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3912         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3913         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3915 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
3917         * Makerules (+depfiles): Also collect depfiles from .oS in
3918         $(extra-objs).
3919         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3920         .oS, $(libnldbl-routines)).
3922         * Makerules (native-compile-mkdep-flags): Define.
3923         * sunrpc/Makefile (extra-objs): Add $(addprefix
3924         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3925         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3926         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
3927         calling $(make-target-directory).
3929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3931         * bits/types.h (__snseconds_t): Removed.
3932         * time/time.h (struct timespec): Replace __snseconds_t with
3933         __syscall_slong_t.
3934         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3935         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3936         Likewise.
3937         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3938         (__SNSECONDS_T_TYPE): Likewise.
3939         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3940         (__SNSECONDS_T_TYPE): Likewise.
3941         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3942         (__SNSECONDS_T_TYPE): Likewise.
3944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3946         * sysdeps/mach/hurd/bits/typesizes.h
3947         (__SYSCALL_SLONG_TYPE): New macro.
3948         (__SYSCALL_ULONG_TYPE): Likewise.
3950 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3952         * bits/types.h (__syscall_slong_t): New type.
3953         (__syscall_ulong_t): Likewise.
3955         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3956         (__SYSCALL_ULONG_TYPE): Likewise.
3957         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3958         (__SYSCALL_SLONG_TYPE): Likewise.
3959         (__SYSCALL_ULONG_TYPE): Likewise.
3960         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3961         (__SYSCALL_SLONG_TYPE): Likewise.
3962         (__SYSCALL_ULONG_TYPE): Likewise.
3963         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3964         (__SYSCALL_SLONG_TYPE): Likewise.
3965         (__SYSCALL_ULONG_TYPE): Likewise.
3967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3969         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3970         Add sigaltstack-offsets.sym.
3971         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3972         <sigaltstack-offsets.h>.
3973         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
3974         longjmp_msg pointer.
3975         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
3976         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3977         signal stack.
3978         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3980 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
3982         * elf/stackguard-macros.h: Remove file.
3983         * sysdeps/generic/stackguard-macros.h: New file.
3984         * sysdeps/i386/stackguard-macros.h: Likewise.
3985         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3986         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3987         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3988         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3989         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3990         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3991         * sysdeps/x86_64/stackguard-macros.h: Likewise.
3992         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3993         <elf/stackguard-macros.h>.
3995         [BZ #14109]
3996         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3997         __aligned__ in attribute.
3998         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3999         (gregset_t): Likewise.
4001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4003         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4004         * sysdeps/x86_64/64/Implies-after: Here.  New file.
4005         * sysdeps/x86_64/x32/Implies-after: New file.
4007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4009         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4010         and access return value for _dl_profile_fixup.  Use R10_LP to
4011         load frame size.
4013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4015         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4019         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4020         * sysdeps/x86_64/x32/sysdep.h: New file.
4022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4024         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4025         * sysdeps/x86_64/setjmp.S: Likewise.
4027 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4029         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4030         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4031         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4032         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4033         remove unused global constant.
4035 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
4037         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4038         include of <not-cancel.h>.
4040 2012-05-15  Roland McGrath  <roland@hack.frob.com>
4042         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4044 2012-05-15  Jeff Law  <law@redhat.com>
4045             Andreas Jaeger  <aj@suse.de>
4047         [BZ #13594]
4048         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4049         out from...
4050         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4051         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4052         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4053         code changing __hst_map_handle.map.
4055 2012-05-15  Roland McGrath  <roland@hack.frob.com>
4057         * configure.in (sysnames): Look for Implies-before and Implies-after
4058         files.
4059         * configure: Regenerated.
4061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4063         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4064         8-byte data alignment with LP_SIZE alignment.
4066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4068         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4069         into R10_LP.
4071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4073         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4075 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4077         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4078         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4079         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4080         Likewise.
4081         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4085         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4086         (stackinfo_sub_sp): Likewise.
4088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4090         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4091         RAX_LP.
4093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4095         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4096         into R*_LP.
4098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4100         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4101         sizes into R*_LP.
4103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4105         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4109         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4110         into R11_LP and load __x86_64_shared_cache_size_half into
4111         R8_LP.
4113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
4115         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4116         R8_LP.
4118 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4120         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4121         logb for POWER7.
4122         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4123         logbf for POWER7.
4124         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4125         logbl for POWER7.
4126         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4127         powerpc32/power7/fpu/s_logb.c via #include.
4128         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4129         powerpc32/power7/fpu/s_logbf.c via #include.
4130         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4131         powerpc32/power7/fpu/s_logbl.c via #include.
4133 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
4135         * README.libm: Remove file.
4137 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4139         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4140         count for x32.  Use R*_LP and omit operand-size suffix.
4142 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4144         * shlib-versions: Move x86_64-.*-linux.* entries to ...
4145         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
4146         * sysdeps/x86_64/x32/shlib-versions: New file.
4148 2012-05-14  Roland McGrath  <roland@hack.frob.com>
4150         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4151         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4152         Use _dl_fatal_printf instead.
4154 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
4156         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4157         set if not set by the user.  Do not allow for being unset.
4158         * sysdeps/unix/sysv/linux/configure: Regenerated.
4160 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4162         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4163         the `q' suffix from lea and replace .quad with ASM_ADDR.
4165 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4167         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4168         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
4169         instead of $17.
4170         (PTR_DEMANGLE): Likewise.
4172 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4174         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4175         (LP_OP): Likewise.
4176         (ASM_ADDR): Likewise.
4177         (RAX_LP): Likewise.
4178         (RBP_LP): Likewise.
4179         (RBX_LP): Likewise.
4180         (RCX_LP): Likewise.
4181         (RDI_LP): Likewise.
4182         (RSI_LP): Likewise.
4183         (RSP_LP): Likewise.
4184         (R8_LP): Likewise.
4185         (R9_LP): Likewise.
4186         (R10_LP): Likewise.
4187         (R10_LP): Likewise.
4188         (R11_LP): Likewise.
4189         (R12_LP): Likewise.
4190         (R13_LP): Likewise.
4191         (R14_LP): Likewise.
4192         (R15_LP): Likewise.
4194 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4196         * sysdeps/x86_64/x32/dl-machine.h: New file.
4198 2012-05-14  Andreas Jaeger  <aj@suse.de>
4200         * manual/Makefile (subdir): Remove export of subdir.
4201         (all): Remove target.
4202         (.PHONY): Remove all from list.
4203         (mkinstalldirs): Remove.
4204         (.PHONY): Remove installdirs from list.
4205         ($(inst_infodir)/libc.info): Use make-target-directory.
4206         (installdirs): Remove.
4207         (subdir_%): Remove.
4208         (glibc-targets): Remove.
4209         (lib): Remove.
4210         (stubs): Remove.
4211         ($(objpfx)stubs ../po/manual.pot): Remove.
4212         ($(objpfx)stamp%): Remove.
4213         (make-target-directory): Remove.
4214         (subdir_install): Remove.
4215         (routines): Remove.
4216         (aux): Remove.
4217         (sources): Remove.
4218         (objects): Remove.
4219         (headers): Remove.
4221         [BZ #13750]
4222         * manual/.gitignore: Remove, it's not needed anymore.
4223         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4224         all files in it.
4225         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4226         directory.
4227         (texis): Renamed to $(objpfx)texis.
4228         (texis-path): New, contains path to generated files.
4229         (chapters.%): Use texis-path for complete path, add extra argument
4230         libc-texinfo.sh.
4231         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4232         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4233         (summary,texi, stamp-summary): Use complete path of
4234         files. Generate files in build dir.
4235         (dir-add.texi): Build in build dir.
4236         (libm-err.texi,stamp-libm-err): Likewise.
4237         (version.texi, stamp-version): Likewise.
4238         (.%c.texi): Likewise.
4239         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4240         (mostlyclean): Remove target.
4241         (realclean): Remove target.
4242         (generated): Add new variable with contents from mostlyclean and
4243         realclean, remove entries duplicated in common-mostlyclean, add
4244         stamp-libm-err and stamp-version.
4245         (generated-dirs): Add libc directory.
4246         ($(inst_infodir)/libc.info): Install files from build dir.
4248         * manual/install.texi (Configuring and compiling): Adjust since
4249         the info files are not part of the tar ball anymore.
4251 2012-05-14  Andreas Jaeger  <aj@suse.de>
4253         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4254         variable.
4256 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
4258         [BZ #13717]
4259         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4260         to 2.2.0 where earlier.
4261         * sysdeps/unix/sysv/linux/configure: Regenerated.
4262         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4263         Remove conditional code.
4264         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4265         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4266         Remove conditional code.
4267         [!__NR_lchown]: Likewise.
4268         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4269         [__NR_lchown]: Likewise.
4270         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4271         comment referencing __ASSUME_LCHOWN_SYSCALL.
4272         * sysdeps/unix/sysv/linux/i386/sigaction.c
4273         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4274         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4275         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4276         Remove conditional code.
4277         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4278         (__protocol_available): Remove #if 0 code.
4279         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4280         conditional code.
4281         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4282         * sysdeps/unix/sysv/linux/kernel-features.h
4283         (__ASSUME_GETCWD_SYSCALL): Don't define.
4284         (__ASSUME_REALTIME_SIGNALS): Likewise.
4285         (__ASSUME_PREAD_SYSCALL): Likewise.
4286         (__ASSUME_PWRITE_SYSCALL): Likewise.
4287         (__ASSUME_POLL_SYSCALL): Likewise.
4288         (__ASSUME_LCHOWN_SYSCALL): Likewise.
4289         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4290         non-SPARC.
4291         (__ASSUME_SIOCGIFNAME): Don't define.
4292         (__ASSUME_MSG_NOSIGNAL): Likewise.
4293         (__ASSUME_SENDFILE): Define unconditionally.
4294         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4295         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4296         conditional code.
4297         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4298         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4299         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4300         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4301         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4302         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4303         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4305         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4306         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4308         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4309         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4311         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4312         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4314         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4315         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4317         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4318         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4320         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4321         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4323         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4324         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4326         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4327         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4328         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4329         Remove conditional code.
4330         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4331         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4332         Remove conditional code.
4333         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4334         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4335         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4336         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4337         Remove conditional code.
4338         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4339         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4340         Remove conditional code.
4341         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4342         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4343         Remove conditional code.
4344         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4345         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4346         Remove conditional code.
4347         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4348         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4349         Remove conditional code.
4350         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4351         * sysdeps/unix/sysv/linux/sh/pwrite64.c
4352         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4353         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4354         * sysdeps/unix/sysv/linux/sigaction.c
4355         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4356         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4357         * sysdeps/unix/sysv/linux/sigpending.c
4358         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4359         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4360         * sysdeps/unix/sysv/linux/sigprocmask.c
4361         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4362         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4363         * sysdeps/unix/sysv/linux/sigsuspend.c
4364         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4365         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4366         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4367         (__libc_missing_rt_sigs): Remove.
4368         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4369         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4370         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4371         Remove conditional code.
4372         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4373         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4374         return 1.
4375         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4376         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4377         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4378         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4380 2012-05-14  Andreas Jaeger  <aj@suse.de>
4382         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4383         it's not used in glibc.
4384         (__coshm1): Likewise.
4385         (__acosh1p): Likewise.
4386         (__sgn): Likewise.
4388         * manual/string.texi (Copying and Concatenation): Add missing
4389         variable in concat example.
4390         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4392 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4394         [BZ #14103]
4395         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4396         __builtin_clzl with __builtin_clzll.
4398 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
4400         [BZ #14104]
4401         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4402         libc_freeres_ptr.
4404 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4406         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4407         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4408         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4409         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4411 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
4413         * NEWS: Update ia64 info.
4415 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
4417         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4418         used as bcopy.
4420 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
4422         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4423         * sysdeps/unix/syscalls.list (dup3): Likewise.
4424         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4425         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4427 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4429         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4430         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4432 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4434         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4435         thread pointer.
4436         (TLS_IE): Use mov/add instead of movq/addq to load thread
4437         pointer.
4438         (TLS_GD_PREFIX): New.
4439         (TLS_GD): Use it.
4441 2012-05-11  David S. Miller  <davem@davemloft.net>
4443         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4444         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4445         (_FPU_SETCW): Likewise.
4447 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4449         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4450         is 32-byte aligned.
4452 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
4454         [BZ #11837]
4455         * iconvdata/gb18030.c: Update tables.
4456         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
4457         characters specially.
4458         (BODY for TO_LOOP): Add encoding of missing ranges.
4460 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
4462         [BZ #13673]
4463         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4464         * sysdeps/mach/hurd/dup3.c: Likewise.
4465         * sysdeps/mach/hurd/readlinkat.c: Likewise.
4466         * sysdeps/powerpc/memmove.c:: Likewise.
4468 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4470         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4471         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4473 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4475         * elf/elf.h (R_X86_64_RELATIVE64): New.
4476         (R_X86_64_NUM): Updated.
4477         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4478         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
4479         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4480         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4481         tst-quad1pie tst-quad2pie
4482         (modules-names): Add tst-quadmod1 tst-quadmod2.
4483         ($(objpfx)tst-quad1): New dependency.
4484         ($(objpfx)tst-quad2): Likewise.
4485         ($(objpfx)tst-quad1pie): Likewise.
4486         ($(objpfx)tst-quad2pie): Likewise.
4487         * sysdeps/x86_64/tst-quad1.c: New file.
4488         * sysdeps/x86_64/tst-quad1pie.c: New file.
4489         * sysdeps/x86_64/tst-quad2.c: Likewise.
4490         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4491         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4492         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4493         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4494         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4496 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4498         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4499         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4500         * streams/stropts.h (t_scalar_t): Define type.
4502         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4503         (_PATH_PRESERVE): Set to "/var/lib".
4504         (_PATH_RWHODIR): Set to "/var/spool/rwho".
4506         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4507         instead of int.
4509         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4510         if __dir_mkfile succeeded.
4512         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4513         checking for _hurd_dtablesize.  Unlock it right after having
4514         finished _hurd_dtable allocation.
4516 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4518         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4519         * sysdeps/mach/hurd/configure: Regenerated.
4520         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4521         special-casing to...
4522         * sysdeps/gnu/configure.in: ... this new file.
4523         * sysdeps/unix/sysv/linux/configure: Regenerated.
4524         * sysdeps/gnu/configure: New generated file.
4526         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4527         for Linux: use nsec instead of usec, as well as:
4528         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4529         members of type struct timespec.
4530         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4531         New macros.
4532         (struct stat64): Likewise.
4533         (_STATBUF_ST_NSEC): New macro.
4534         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4536         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4537         __strtoul_internal rather than strtoul.
4539 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4541         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4542         and reject them.
4544 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4546         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4547         which preserves existing values.
4548         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4550 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4552         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4553         TIMEOUT values.  Return EINVAL for NFDS values either negative or
4554         greater than FD_SETSIZE.
4556 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4558         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4559         allocated, call __vm_protect to finish enabling the existing space, and
4560         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4561         allocate the remainder.
4563 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4565         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4566         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
4568 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4570         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4571         sysdeps/mach/hurd/readlink.c.
4573         * posix/tst-sysconf.c (posix_options): Only use
4574         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4575         _POSIX_SYNCHRONIZED_IO when they are defined
4576         * sysdeps/mach/hurd/bits/posix_opt.h:
4577         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4578         (_XOPEN_REALTIME): Undefine macro.
4579         (_XOPEN_REALTIME_THREADS): Undefine macro.
4580         (_XOPEN_SHM): Undefine macro.
4581         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4582         macro to -1.
4583         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4584         macro to -1.
4585         (_POSIX_ASYNC_IO): Undefine macro.
4586         (_POSIX_PRIORITIZED_IO): Undefine macro.
4587         (_POSIX_SPIN_LOCKS): Define macro to -1.
4589         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4590         SA_NODEFER, SA_RESETHAND.
4591         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4592         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4593         F_DUPFD_CLOEXEC.
4595 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4597         * elf/Makefile (pldd-modules): Define unconditionally.
4599 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4601         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4605         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4606         Return ENOENT when name is empty.
4607         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4609 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4611         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4613         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4615 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4617         Fix mlock in all cases except non-readable pages.
4618         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4619         instead of VM_PROT_ALL as parameter to __vm_wire function.
4621         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4622         (__mkdir): When path is `/', just fail with EEXIST.
4623         * sysdeps/mach/hurd/mkdirat.c: Likewise.
4625 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4627         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4628         <sys/uio.h> (for writev).
4629         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4630         and <sys/param.h> (for MIN).
4632 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4634         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4635         REQUESTED_TIME.  Properly set the remaining time and return EINTR
4636         if interrupted.
4638 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4640         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4641         Depend on against $(link-rpcuserlibs).
4643 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4645         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4646         (__libc_stack_end): Do not use attribute_relro.
4647         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4648         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4649         to libthread-provided value.
4650         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4651         attribute_relro.
4653 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4655         [BZ #3748]
4656         * bits/libc-lock.h (__libc_once_get): New macro.
4657         * sysdeps/mach/bits/libc-lock.h: Likewise.
4658         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4659         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4660         instead of using implementation details.
4662         * libio/fileops.c: Unconditionally include <kernel-features.h>.
4663         * libio/freopen.c: Likewise.
4664         * libio/freopen64.c: Likewise.
4665         * misc/syslog.c: Likewise.
4666         * nscd/connections.c: Likewise.
4667         * nscd/netgroupcache.c: Likewise.
4668         * sysdeps/posix/getcwd.c: Likewise.
4670 2012-05-10  Roland McGrath  <roland@hack.frob.com>
4672         * math/w_ilogbf.c: Add #include <limits.h>.
4674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4676         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4677         path instead of returning without unlocking.
4679         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4680         immediate-write ioctls.
4681         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4683 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4685         * sysdeps/mach/hurd/i386/init-first.c (init): Use
4686         __builtin_frame_address instead of making assumptions about the
4687         location of the return address relative to DATA.  Force early load of
4688         the return address.
4689         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4690         __builtin_frame_address.
4692         dup3 for GNU Hurd.
4693         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4694         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
4695         implement dup3 and do some further code clean-ups.
4696         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4697         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4699 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4701         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4703         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4704         HURD_CRITICAL_END around holding _hurd_dtable_lock.
4705         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4706         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4707         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4708         d->port.lock.
4710         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4711         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
4712         when handler == SIG_ERR, not when handler != SIG_ERR.
4714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4716         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4717         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4718         definitions.
4720         accept4 for GNU Hurd.
4721         * include/sys/socket.h (__libc_accept4): New prototype.
4722         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
4723         to implement __libc_accept4.
4724         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4725         __libc_accept4.
4726         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4728         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4729         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4730         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4731         signal-defines.sym.
4733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4735         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4737 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4739         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4740         assertion on O_CLOEXEC flag.
4741         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4742         * hurd/intern-fd.c: Likewise.
4743         * hurd/port2fd.c: Likewise.
4745 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4747         [BZ #3906]
4748         * bits/in.h (IPV6_PKTINFO): Define new macro.
4749         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4751 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4753         [BZ #13954]
4754         [BZ #13955]
4755         [BZ #13956]
4756         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4757         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4758         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4759         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4760         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4761         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4762         * math/libm-test.inc (logb_test) : Additional logb tests.
4764 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
4765             Andreas Jaeger  <aj@suse.de>
4767         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4768         * configure: Regenerated.
4769         * config.h.in (LINK_OBSOLETE_RPC): New macro.
4770         * config.make.in (link-obsolete-rpc): New substituted variable.
4771         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4772         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4773         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4774         (shared-only-routines): Don't set it under [link-obsolete-rpc],
4775         so that libc.a contains the symbols.
4776         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4777         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4778         * sunrpc/auth_none.c: Likewise.
4779         * sunrpc/auth_unix.c: Likewise.
4780         * sunrpc/authdes_prot.c: Likewise.
4781         * sunrpc/authuxprot.c: Likewise.
4782         * sunrpc/clnt_gen.c: Likewise.
4783         * sunrpc/clnt_perr.c: Likewise.
4784         * sunrpc/clnt_raw.c: Likewise.
4785         * sunrpc/clnt_simp.c: Likewise.
4786         * sunrpc/clnt_tcp.c: Likewise.
4787         * sunrpc/clnt_udp.c: Likewise.
4788         * sunrpc/clnt_unix.c: Likewise.
4789         * sunrpc/des_crypt.c: Likewise.
4790         * sunrpc/des_soft.c: Likewise.
4791         * sunrpc/get_myaddr.c: Likewise.
4792         * sunrpc/key_call.c: Likewise.
4793         * sunrpc/key_prot.c: Likewise.
4794         * sunrpc/netname.c: Likewise.
4795         * sunrpc/pm_getmaps.c: Likewise.
4796         * sunrpc/pm_getport.c: Likewise.
4797         * sunrpc/pmap_clnt.c: Likewise.
4798         * sunrpc/pmap_prot.c: Likewise.
4799         * sunrpc/pmap_prot2.c: Likewise.
4800         * sunrpc/pmap_rmt.c: Likewise.
4801         * sunrpc/publickey.c: Likewise.
4802         * sunrpc/rpc_cmsg.c: Likewise.
4803         * sunrpc/rpc_common.c: Likewise.
4804         * sunrpc/rpc_dtable.c: Likewise.
4805         * sunrpc/rpc_prot.c: Likewise.
4806         * sunrpc/rpc_thread.c: Likewise.
4807         * sunrpc/rtime.c: Likewise.
4808         * sunrpc/svc.c: Likewise.
4809         * sunrpc/svc_auth.c: Likewise.
4810         * sunrpc/svc_raw.c: Likewise.
4811         * sunrpc/svc_run.c: Likewise.
4812         * sunrpc/svc_tcp.c: Likewise.
4813         * sunrpc/svc_udp.c: Likewise.
4814         * sunrpc/svc_unix.c: Likewise.
4815         * sunrpc/svcauth_des.c: Likewise.
4816         * sunrpc/xcrypt.c: Likewise.
4817         * sunrpc/xdr.c: Likewise.
4818         * sunrpc/xdr_array.c: Likewise.
4819         * sunrpc/xdr_float.c: Likewise.
4820         * sunrpc/xdr_intXX_t.c: Likewise.
4821         * sunrpc/xdr_mem.c: Likewise.
4822         * sunrpc/xdr_rec.c: Likewise.
4823         * sunrpc/xdr_ref.c: Likewise.
4824         * sunrpc/xdr_sizeof.c: Likewise.
4825         * sunrpc/xdr_stdio.c: Likewise.
4827 2012-05-10  Roland McGrath  <roland@hack.frob.com>
4829         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4830         change.  Update copyright years.
4832 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
4834         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4836 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
4837             Joseph Myers  <joseph@codesourcery.com>
4838             Paul Pluzhnikov  <ppluzhnikov@google.com>
4840         [BZ #14012]
4841         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4842         requiring rpcgen.
4843         [cross-compiling] (extra-libs): Likewise.
4844         [cross-compiling] (extra-libs-others): Likewise.
4845         [cross-compiling] (librpcsvc-routines): Likewise.
4846         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4847         [cross-compiling] (omit-deps): Likewise.
4848         (sunrpc-CPPFLAGS): New variable.
4849         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4850         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4851         (cross-rpcgen-objs): New variable.
4852         (extra-objs): Append $(cross-rpcgen-objs).
4853         ($(cross-rpcgen-objs)): New rule.
4854         ($(objpfx)cross-rpcgen): Likewise.
4855         (rpcgen-cmd): Define to use $(built-program-file).  Expand
4856         comment.
4857         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4858         ($(objpfx)x%.stmp): Likewise.
4859         * sunrpc/proto.h [IS_IN_build] (_): Define.
4860         [IS_IN_build] (_libc_intl_domainname): Likewise.
4862 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4864         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4865         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4866         and R_X86_64_TPOFF64.
4868 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
4870         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4871         sysdeps/unix/sysv/syscalls.list.
4872         (stime): Likewise.
4873         (utime): Likewise.
4874         * sysdeps/unix/sysv/syscalls.list: Remove file.
4876 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
4878         [BZ #3440]
4879         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4880         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4881         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4882         (__LC_IDENTIFICATION): Make these macros useful in #if
4883         expressions, as required by C99.
4885 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
4887         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4888         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
4889         after this.
4891 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4893         * stdlib/longlong.h: Updated from GCC.
4895 2012-05-09  Andreas Jaeger  <aj@suse.de>
4897         * nscd/nscd.c (run_modes): Make named enum, reorder so that
4898         default is first entry.
4899         (run_mode): Set type.
4900         (main): Remove informal message about syslog.
4901         (options): Fix typo.
4903         [BZ #14053]
4904         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4905         to asm.
4906         (lrint): Likewise.
4907         (llrintf): Likewise.
4908         (llrint): Likewise.
4909         (rint): Likewise.
4910         (rintf): Likewise.
4911         (nearbyint): Likewise.
4912         (nearbyintf): Likewise.
4914 2012-05-09  Andreas Jaeger  <aj@suse.de>
4915             Pedro Alves  <palves@redhat.com>
4917         * nscd/nscd.c (run_mode): Use enum.
4918         (main): Cleanup coding style issue.
4920 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
4921             Andreas Jaeger  <aj@suse.de>
4923         * nscd/nscd.c (go_background): Replaced with...
4924         (run_mode): ... this.
4925         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4926         (options): Add -F --foreground.
4927         (main): Implement it.
4928         (parse_opt): Parse it.
4930 2012-05-09  Andreas Jaeger  <aj@suse.de>
4932         [BZ #14083]
4933         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4934         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4935         -Wconversion warning.
4936         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4937         Likewise.
4939 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
4941         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
4942         == 0.
4943         (LC_ALL): Use macro-int-constant.
4944         (LC_COLLATE): Likewise.
4945         (LC_CTYPE): Likewise.
4946         (LC_MESSAGES): Likewise.
4947         (LC_MONETARY): Likewise.
4948         (LC_NUMERIC): Likewise.
4949         (LC_TIME): Likewise.
4950         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4951         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4952         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4953         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4954         Specify type.
4955         [C99-based standards] (float_t): Expect type.
4956         [C99-based standards] (double_t): Expect type.
4957         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
4958         type.
4959         [C99-based standards] (HUGE_VALL): Likewise.
4960         [C99-based standards] (INFINITY): Likewise.
4961         [C99-based standards] (NAN): Likewise.
4962         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4963         [C99-based standards] (FP_NAN): Likewise.
4964         [C99-based standards] (FP_NORMAL): Likewise.
4965         [C99-based standards] (FP_SUBNORMAL): Likewise.
4966         [C99-based standards] (FP_ZERO): Likewise.
4967         [C99-based standards] (FP_FAST_FMA): Use
4968         optional-macro-int-constant.  Specify type.  Require == 1.
4969         [C99-based standards] (FP_FAST_FMAF): Likewise.
4970         [C99-based standards] (FP_FAST_FMAL): Likewise.
4971         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4972         [C99-based standards] (FP_ILOGBNAN): Likewise.
4973         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4974         Specify type.
4975         [C99-based standards] (MATH_ERREXCEPT): Likewise.
4976         [C99-based standards] (math_errhandling): Specify type.
4977         [ISO99 || ISO11] (signgam): Do not allow.
4978         [non-C99-based standards] (copysignf): Do not allow.
4979         [non-C99-based standards] (exp2f): Likewise.
4980         [non-C99-based standards] (log2f): Likewise.
4981         [non-C99-based standards] (modff): Allow.
4982         [non-C99-based standards] (erff): Do not allow.
4983         [non-C99-based standards] (erfcf): Likewise.
4984         [non-C99-based standards] (gammaf): Likewise.
4985         [non-C99-based standards] (hypotf): Likewise.
4986         [non-C99-based standards] (j0f): Likewise.
4987         [non-C99-based standards] (j1f): Likewise.
4988         [non-C99-based standards] (jnf): Likewise.
4989         [non-C99-based standards] (lgammaf): Likewise.
4990         [non-C99-based standards] (tgammaf): Likewise.
4991         [non-C99-based standards] (y0f): Likewise.
4992         [non-C99-based standards] (y1f): Likewise.
4993         [non-C99-based standards] (ynf): Likewise.
4994         [non-C99-based standards] (isnanf): Likewise.
4995         [non-C99-based standards] (acoshf): Likewise.
4996         [non-C99-based standards] (asinhf): Likewise.
4997         [non-C99-based standards] (atanhf): Likewise.
4998         [non-C99-based standards] (cbrtf): Likewise.
4999         [non-C99-based standards] (expm1f): Likewise.
5000         [non-C99-based standards] (ilogbf): Likewise.
5001         [non-C99-based standards] (log1pf): Likewise.
5002         [non-C99-based standards] (logbf): Likewise.
5003         [non-C99-based standards] (nextafterf): Likewise.
5004         [non-C99-based standards] (remainderf): Likewise.
5005         [non-C99-based standards] (rintf): Likewise.
5006         [non-C99-based standards] (scalbf): Likewise.
5007         [non-C99-based standards] (copysignl): Likewise.
5008         [non-C99-based standards] (exp2l): Likewise.
5009         [non-C99-based standards] (log2l): Likewise.
5010         [non-C99-based standards] (modfl): Allow.
5011         [non-C99-based standards] (erfl): Do not allow.
5012         [non-C99-based standards] (erfcl): Likewise.
5013         [non-C99-based standards] (gammal): Likewise.
5014         [non-C99-based standards] (hypotl): Likewise.
5015         [non-C99-based standards] (j0l): Likewise.
5016         [non-C99-based standards] (j1l): Likewise.
5017         [non-C99-based standards] (jnl): Likewise.
5018         [non-C99-based standards] (lgammal): Likewise.
5019         [non-C99-based standards] (tgammal): Likewise.
5020         [non-C99-based standards] (y0l): Likewise.
5021         [non-C99-based standards] (y1l): Likewise.
5022         [non-C99-based standards] (ynl): Likewise.
5023         [non-C99-based standards] (isnanl): Likewise.
5024         [non-C99-based standards] (acoshl): Likewise.
5025         [non-C99-based standards] (asinhl): Likewise.
5026         [non-C99-based standards] (atanhl): Likewise.
5027         [non-C99-based standards] (cbrtl): Likewise.
5028         [non-C99-based standards] (expm1l): Likewise.
5029         [non-C99-based standards] (ilogbl): Likewise.
5030         [non-C99-based standards] (log1pl): Likewise.
5031         [non-C99-based standards] (logbl): Likewise.
5032         [non-C99-based standards] (nextafterl): Likewise.
5033         [non-C99-based standards] (remainderl): Likewise.
5034         [non-C99-based standards] (rintl): Likewise.
5035         [non-C99-based standards] (scalbl): Likewise.
5036         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5037         [non-C99-based standards] (FP_*): Do not allow.
5038         [C99-based standards] (FP_*): Change to
5039         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5040         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5041         allow.
5042         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5043         (SIG_ERR): Likewise.
5044         [X/Open-based standards] (SIG_HOLD): Likewise.
5045         (SIG_IGN): Likewise.
5046         (SIGABRT): Use macro-int-constant.  Specify type.  Require
5047         positive value.
5048         (SIGFPE): Likewise.
5049         (SIGILL): Likewise.
5050         (SIGINT): Likewise.
5051         (SIGSEGV): Likewise.
5052         (SIGTER): Likewise.
5053         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5054         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5055         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5056         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5057         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5058         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5059         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5060         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5061         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5062         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5063         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5064         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5065         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5066         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5067         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5068         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5069         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5070         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5071         [X/Open-based standards] (SIGTRAP): Likewise.
5072         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5073         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5074         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5075         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5076         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5077         allow.
5079 2012-05-08  Ian Wienand  <ianw@vmware.com>
5081         [BZ #14080]
5082         * time/tzset.c (__tzset_parse_tz): Update default rules for
5083         daylight time changes in the Energy Policy Act of 2005.
5085 2012-05-09  Andreas Jaeger  <aj@suse.de>
5087         [BZ #13983]
5088         * elf/ldconfig.c (parse_conf): Change string to make clear that
5089         ldconfig only issued a warning if ld.so.conf does not exist.
5091 2012-05-08  David S. Miller  <davem@davemloft.net>
5093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5094         movxtod instead of popping the value on the stack.
5096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5098 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
5100         * config.h.in: Add HAVE_ARM_PCS_VFP.
5102 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
5104         [BZ #13979]
5105         * include/features.h: Warn if user requests __FORTIFY_SOURCE
5106         checking but the checks are disabled for any reason.
5108 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5110         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5111         and ELF64_R_TYPE with ELFW(R_TYPE).
5113 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
5115         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5116         (ulimit): Likewise.
5118         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5119         (settimeofday): Likewise.
5121 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
5123         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
5124         a struct th_u2 inside the union, and move tu_block/tu_code into
5125         a new th_u3 union of tu_block/tu_code inside of that.  Move
5126         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
5127         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
5128         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5129         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5130         (th_stuff): Change to th_u1.tu_stuff.
5131         (th_data): Define.
5132         (th_msg): Change to th_u1.th_u2.tu_data.
5134 2012-05-07  David S. Miller  <davem@davemloft.net>
5136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5138         [BZ #14074]
5139         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5140         (SETUP_PIC_REG): Use it.
5141         (SETUP_PIC_REG_LEAF): Use it.
5143 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
5145         [BZ #13885]
5146         [BZ #13923]
5147         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5148         USE_AS_EXPM1L.
5149         (EXPL_FINITE): Likewise.
5150         (FLDLOG): Likewise.
5151         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5152         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5153         e_expl.S.
5154         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5155         USE_AS_EXPM1L.
5156         (EXPL_FINITE): Likewise.
5157         (FLDLOG): Likewise.
5158         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5159         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5160         e_expl.S.
5161         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
5162         test of -max_value argument for long double.
5163         * sysdeps/i386/fpu/libm-test-ulps: Update.
5164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5166 2012-05-06  David S. Miller  <davem@davemloft.net>
5168         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5169         quad soft-float symbols whose references which are compiler
5170         generated.
5171         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5173 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
5175         [BZ #13884]
5176         [BZ #13914]
5177         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5178         USE_AS_EXP10L.
5179         (EXPL_FINITE): Likewise.
5180         (FLDLOG): Likewise.
5181         (c0): Likewise.
5182         (c1): Likewise.
5183         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
5184         Adjust comments for base varying.
5185         (__expl_finite): Change alias to EXPL_FINITE.
5186         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5187         e_expl.S.
5188         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5189         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5190         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5191         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5192         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5193         USE_AS_EXP10L.
5194         (EXPL_FINITE): Likewise.
5195         (FLDLOG): Likewise.
5196         (c0): Likewise.
5197         (c1): Likewise.
5198         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
5199         Adjust comments for base varying.
5200         (__expl_finite): Change alias to EXPL_FINITE.
5201         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
5202         tests for bugs.
5203         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5205         [BZ #14064]
5206         * math/libm-test.inc (check_float_internal): Correct ulp
5207         calculation for subnormal expected results.
5209 2012-05-06  Andreas Jaeger  <aj@suse.de>
5211         * Makeconfig (+math-flags): New, set to -frounding-math.
5212         (+cflags): Add +math-flags so that all of glibc gets compiled with
5213         it.
5215         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5217 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
5219         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5220         Disable one test.
5222         [BZ #13787]
5223         [BZ #13922]
5224         [BZ #14036]
5225         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5226         (__ieee754_expl): Allow for and saturate large arguments.
5227         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5228         (u_threshold): Likewise.
5229         (__exp): Call __ieee754_exp before checking for overflow and
5230         underflow.
5231         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5232         (u_threshold): Likewise.
5233         (__expf): Call __ieee754_expf before checking for overflow and
5234         underflow.
5235         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5236         (u_threshold): Likewise.
5237         (__expl): Call __ieee754_expl before checking for overflow and
5238         underflow.
5239         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5240         (__ieee754_expl): Allow for and saturate large arguments.
5241         * math/libm-test.inc (exp_test): Add another test.  Do not allow
5242         missing overflow exception on overflow.
5243         (expm1_test): Do not allow missing overflow exception on overflow.
5245         * sysdeps/i386/fpu/e_expl.c: Move to ...
5246         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
5247         rather than using inline asm.
5248         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5249         * sysdeps/x86_64/fpu/e_expl.S: Copy from
5250         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5252         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5253         (nice): Likewise.
5254         (poll): Likewise.
5255         (signal): Likewise.
5256         (time): Likewise.
5257         (times): Likewise.
5259 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
5261         * sysdeps/unix/syscalls.list (adjtime): Add entry from
5262         sysdeps/unix/common/syscalls.list.
5263         (fchmod): Likewise.
5264         (fchown): Likewise.
5265         (ftruncate): Likewise.
5266         (getrusage): Likewise.
5267         (gettimeofday): Likewise.
5268         (setpgid): Likewise.
5269         (setregid): Likewise.
5270         (setreuid): Likewise.
5271         (sigaction): Likewise.
5272         (truncate): Likewise.
5273         (vhangup): Likewise.
5274         * sysdeps/unix/common/syscalls.list: Remove file.
5275         * sysdeps/unix/bsd/Implies: Don't include unix/common.
5276         * sysdeps/unix/sysv/linux/Implies: Likewise.
5278 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
5280         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5282         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5283         Moved to ...
5284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5285         Here.
5286         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5287         to ...
5288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5289         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5290         to ...
5291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5292         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5293         to ...
5294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5295         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5296         to ...
5297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5298         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5299         to ...
5300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5301         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5302         to ...
5303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5304         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5305         to ...
5306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5307         Here.
5308         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5309         to ...
5310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5311         Here.
5312         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5313         to ...
5314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5315         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5316         Moved to ...
5317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5318         Here.
5319         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5320         to ...
5321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5323 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
5325         * sysdeps/unix/common/bits/dirent.h: Remove file.
5326         * sysdeps/unix/common/bits/fcntl.h: Likewise.
5328         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5329         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5330         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5331         * sysdeps/unix/bsd/isatty.c: Likewise.
5332         * sysdeps/unix/bsd/tcdrain.c: Likewise.
5333         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5334         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5336 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5338         [BZ #13563]
5339         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5340         long double comparison inaccuracies.
5341         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5344 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
5346         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5347         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5349 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
5351         [BZ #14049]
5352         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5353         nonzero digits before rounding a hex value.
5354         * stdlib/tst-strtod.c (tests): Add another test.
5356 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5358         * sysdeps/s390/fpu/libm-test-ulps: Update.
5360 2012-05-03  Andreas Jaeger  <aj@suse.de>
5362         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5363         does not get optimized out.
5364         (malloc_opt_barrier): New.
5366 2012-05-03  Andreas Jaeger  <aj@suse.de>
5367             Roland McGrath  <roland@hack.frob.com>
5369         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5370         intermediate file deletion.
5371         (generated): Add .symlist files.
5373 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
5375         [BZ #13775]
5376         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5377         Redirect under this condition.
5378         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5379         [__USE_GNU] (__dprintf_chk): Not under this condition.
5380         [__USE_GNU] (__vdprintf_chk): Likewise.
5381         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5382         under this condition.
5383         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5384         [__USE_XOPEN2K8] (dprintf): Define under this condition.
5385         [__USE_XOPEN2K8] (vdprintf): Likewise.
5386         [__USE_GNU] (__dprintf_chk): Not under this condition.
5387         [__USE_GNU] (__vdprintf_chk): Likewise.
5388         [__USE_GNU] (dprintf): Likewise.
5389         [__USE_GNU] (vdprintf): Likewise.
5391 2012-05-03  Roland McGrath  <roland@hack.frob.com>
5393         * elf/Makefile (common-generated): Set this instead of generated for
5394         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
5395         $(all-built-dso)-derived lists.
5397 2012-05-03  Andreas Jaeger  <aj@suse.de>
5399         * sysdeps/i386/fpu/libm-test-ulps: Update.
5401         * FAQ: Removed.
5402         * FAQ.in: Likewise.
5403         * scripts/gen-FAQ.pl: Likewise.
5404         * manual/install.texi (Installation): Point to online location of
5405         FAQ.
5406         * Makefile (files-for-dist): Remove FAQ.
5407         (FAQ): Remove.
5409 2012-05-02  Allan McRae  <allan@archlinux.org>
5411         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5412         (LDFLAGS-reldepmod5.so): Likewise.
5413         (LDFLAGS-reldep6mod1.so): Likewise.
5414         (LDFLAGS-reldep6mod4.so): Likewise.
5415         (LDFLAGS-reldep8mod3.so): Likewise.
5416         (LDFLAGS-unload4mod1.so): Likewise.
5417         (LDFLAGS-unload4mod2.so): Likewise.
5418         (LDFLAGS-tst-initorder): Likewise.
5419         (LDFLAGS-tst-initordera2.so): Likewise.
5420         (LDFLAGS-tst-initordera3.so): Likewise.
5421         (LDFLAGS-tst-initordera4.so): Likewise.
5422         (LDFLAGS-tst-initorderb2.so): Likewise.
5423         (LDFLAGS-noload): Likewise.
5424         (LDFLAGS-next): Likewise.
5425         (LDFLAGS-order2mod1.so): Likewise.
5426         (LDFLAGS-order2mod2.so): Likewise.
5427         (LDFLAGS-tst-initorder2): Likewise.
5428         (LDFLAGS-tst-initorder2a.so): Likewise.
5429         (LDFLAGS-tst-initorder2b.so): Likewise.
5430         (LDFLAGS-tst-initorder2c.so): Likewise.
5431         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5433 2012-05-02  David S. Miller  <davem@davemloft.net>
5435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5437 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5439         [BZ #14055]
5440         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5442 2012-05-02  Andreas Jaeger  <aj@suse.de>
5444         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5445         since we manipulate rounding mode.
5446         (CPPFLAGS-test-idouble.c): Likewise.
5447         (CPPFLAGS-test-ifloat.c): Likewise.
5448         (CFLAGS-test-ldouble.c): Likewise.
5449         (CFLAGS-test-double.c): Likewise.
5450         (CFLAGS-test-float.c): Likewise.
5451         (CFLAGS-test-misc.c): Likewise.
5452         (CFLAGS-test-test-fenv.c): Likewise.
5454 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5456         [BZ #2550]
5457         [BZ #2570]
5458         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5459         comparisons to determine direction to adjust input.
5461 2012-05-01  Roland McGrath  <roland@hack.frob.com>
5463         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5464         output to the target.
5466         * scripts/localplt.awk: New file.
5467         * elf/Makefile ($(objpfx)check-localplt): Target removed.
5468         (check-localplt-CFLAGS): Variable removed.
5469         ($(all-built-dso:=.jmprel)): New static pattern rule.
5470         (generated): Add those targets.
5471         (localplt-built-dso): New variable.
5472         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5474         * elf/check-localplt.c: File removed.
5476         * scripts/check-execstack.awk: New file.
5477         * elf/Makefile ($(objpfx)check-execstack): Target removed.
5478         (check-execstack-CFLAGS): Variable removed.
5479         ($(objpfx)check-execstack.h): Target removed.
5480         ($(objpfx)execstack-default): New target.
5481         (generated): Add that instead of check-execstack.h.
5482         ($(all-built-dso:=.phdr)): New static pattern rule.
5483         (generated): Add those targets.
5484         * elf/check-execstack.c: File removed.
5486         * scripts/check-textrel.awk: New file.
5487         * elf/Makefile ($(objpfx)check-textrel): Target removed.
5488         (check-textrel-CFLAGS): Variable removed.
5489         (all-built-dso): Use := to define.o
5490         ($(all-built-dso:=.dyn)): New static pattern rule.
5491         (generated): Add those targets.
5492         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5493         * config.make.in (READELF): New substituted variable.
5494         * elf/check-textrel.c: File removed.
5496 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
5498         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5499         allow.
5500         * conform/data/ctype.h-data [C99-based standards] (isblank):
5501         Expect function.
5502         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5503         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5504         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5505         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5506         Specify type.  Require positive value.
5507         (EILSEQ): Likewise.
5508         (ERANGE): Likewise.
5509         [ISO || POSIX] (EILSEQ): Do not expect.
5510         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5511         Specify type.  Require positive value.
5512         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5513         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5514         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5515         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5516         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5517         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5518         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5519         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5520         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5521         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5522         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5523         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5524         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5525         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5526         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5527         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5528         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5529         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5530         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5531         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5532         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5533         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5534         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5535         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5536         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5537         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5538         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5539         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5540         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5541         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5542         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5543         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5544         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5545         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5546         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5547         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5548         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5549         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5550         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5551         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5552         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5553         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5554         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5555         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5556         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5557         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5558         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5559         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5560         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5561         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5562         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5563         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5564         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5565         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5566         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5567         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5568         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5569         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5570         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5571         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5572         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5573         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5574         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5575         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5576         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5577         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5578         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5579         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5580         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5581         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5582         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5583         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5584         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5585         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5586         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5587         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5588         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5589         Require >= 2.
5590         (FLT_ROUNDS): Expect as macro, not constant.
5591         (FLT_MANT_DIG): Use macro-int-constant.
5592         (DBL_MANT_DIG): Likewise.
5593         (LDBL_MANT_DIG): Likewise.
5594         (FLT_DIG): Likewise.
5595         (DBL_DIG): Likewise.
5596         (LDBL_DIG): Likewise.
5597         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
5598         (DBL_MIN_EXP): Likewise.
5599         (LDBL_MIN_EXP): Likewise.
5600         (FLT_MAX_EXP): Use macro-int-constant.
5601         (DBL_MAX_EXP): Likewise.
5602         (LDBL_MAX_EXP): Likewise.
5603         (FLT_MAX_10_EXP): Likewise.
5604         (DBL_MAX_10_EXP): Likewise.
5605         (LDBL_MAX_10_EXP): Likewise.
5606         (FLT_MAX): Use macro-constant.
5607         (DBL_MAX): Likewise.
5608         (LDBL_MAX): Likewise.
5609         (FLT_EPSILON): Use macro-constant.  Give upper bound.
5610         (DBL_EPSILON): Likewise.
5611         (LDBL_EPSILON): Likewise.
5612         (FLT_MIN): Likewise.
5613         (DBL_MIN): Likewise.
5614         (LDBL_MIN): Likewise.
5615         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5616         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5617         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5618         [ISO11] (FLT_HAS_SUBNORM): Likewise.
5619         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5620         [ISO11] (DBL_DECIMAL_DIG): Likewise.
5621         [ISO11] (FLT_DECIMAL_DIG): Likewise.
5622         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5623         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5624         [ISO11] (FLT_TRUE_MIN): Likewise.
5625         [ISO11] (LDBL_TRUE_MIN): Likewise.
5626         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5627         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5628         (SCHAR_MIN): Use macro-int-constant.  Specify type.
5629         (SCHAR_MAX): Likewise.
5630         (UCHAR_MAX): Likewise.
5631         (CHAR_MIN): Likewise.
5632         (CHAR_MAX): Likewise.
5633         (MB_LEN_MAX): Use macro-int-constant.
5634         (SHRT_MIN): Use macro-int-constant.  Specify type.
5635         (SHRT_MAX): Likewise.
5636         (USHRT_MAX): Likewise.
5637         (INT_MAX): Likewise.
5638         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
5639         bound negative.
5640         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5641         bound with "U".
5642         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5643         bound with "L".
5644         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
5645         bound negative.  Suffix upper bound with "L".
5646         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5647         bound with "UL".
5648         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5649         Specify type.
5650         [C99-based standards] (LLONG_MAX): Likewise.
5651         [C99-based standards] (ULLONG_MAX): Likewise.
5652         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
5653         == 0.
5654         [ISO11] (max_align_t): Require type.
5655         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5657         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5658         from $CFLAGS, without defining away __attribute__ calls.
5659         (checknamespace): Use $CFLAGS_namespace.
5661         * conform/conformtest.pl (@keywords): Only include C99 keywords
5662         for standards based on C99 or C11.
5664         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5665         Disable tests.
5666         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5667         UNIX98]: Likewise.
5669         * conform/conformtest.pl: Handle "macro-int-constant" and test for
5670         usability of symbols in #if.
5672         * conform/conformtest.pl: If macro or constant types start
5673         "promoted:", expect the symbol to be of the following type
5674         promoted by the integer promotions.
5676         * conform/conformtest.pl: Parse all "constant" and "macro" lines
5677         in one place.  Also handle "macro-constant".
5679         * conform/conformtest.pl: Only accept expected macro values with
5680         "==".  Parse all "macro" lines in one place.
5681         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5683         * conform/conformtest.pl: Handle braced types on "constant" lines
5684         instead of handling "typed-constant".
5685         * conform/data/signal.h-data: Use "constant" instead of
5686         "typed-constant".
5688         * conform/conformtest.pl: Handle "optional-" at start of lines in
5689         one place rather than duplicating several cases.  Handle each
5690         format of "macro" line with initial "optional-".
5692         * conform/conformtest.pl: Only accept expected constant or
5693         optional-constant values with "==".  Parse all "constant" lines in
5694         one place.  Parse all "optional-constant" lines in one place.
5695         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5696         * conform/data/fmtmsg.h-data: Likewise.
5697         * conform/data/netinet/in.h-data: Likewise.
5698         * conform/data/tar.h-data: Likewise.
5699         * conform/data/limits.h-data: Use "==" form on "constant" and
5700         "optional-constant" lines.
5702         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5703         Use -std=c99 for XOPEN2K.
5704         (@knownproblems): Remove.
5705         (newtoken): Don't check %isknown.
5707         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5708         Do not expect macro.
5709         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5710         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5711         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5712         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5713         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5714         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5715         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5716         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5717         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5718         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5719         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5720         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5721         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5722         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5723         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5724         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5725         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5726         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5727         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5728         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5729         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5730         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5731         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5732         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5733         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5734         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5735         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5736         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5737         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5738         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5739         [XPG3] (acosh): Likewise.
5740         [XPG3] (asinh): Likewise.
5741         [XPG3] (atanh): Likewise.
5742         [XPG3] (cbrt): Likewise.
5743         [XPG3] (expm1): Likewise.
5744         [XPG3] (ilogb): Likewise.
5745         [XPG3] (log1p): Likewise.
5746         [XPG3] (logb): Likewise.
5747         [XPG3] (nextafter): Likewise.
5748         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5749         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5750         [XPG3] (remainder): Likewise.
5751         [XPG3] (rint): Likewise.
5752         [XPG3 || XPG4 || UNIX98] (round): Likewise.
5753         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5754         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5755         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5756         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5757         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5758         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5759         [UNIX98 || XOPEN2K] (scalb): Expect.
5760         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5761         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5762         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5763         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5764         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5765         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5766         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5767         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5768         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5769         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5770         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5771         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5772         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5773         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5774         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5775         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5776         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5777         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5778         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5779         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5780         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5781         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5782         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5783         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5784         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5785         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5786         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5787         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5788         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5789         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5790         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5791         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5792         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5793         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5794         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5795         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5796         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5797         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5798         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5799         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5800         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5801         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5802         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5803         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5804         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5805         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5806         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5807         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5808         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5809         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5810         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5811         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5812         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5813         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5814         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5815         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5816         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5817         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5818         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5819         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5820         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5821         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5822         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5823         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5824         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5825         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5826         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5827         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5828         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5829         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5830         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5831         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5832         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5833         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5834         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5835         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5836         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5837         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5838         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5839         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5840         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5841         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5842         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5843         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5844         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5845         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5846         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5847         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5848         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5849         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5850         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5851         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5852         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5853         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5854         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5855         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5856         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5857         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5858         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5859         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5860         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5861         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5862         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5863         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5864         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5865         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5866         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5867         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5868         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5869         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5870         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5871         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5872         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5873         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5874         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5875         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5876         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5877         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5878         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5879         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5880         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5881         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5882         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5883         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5884         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5885         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5886         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5887         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5888         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5889         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5890         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5891         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5892         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5893         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5894         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5895         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5896         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5898         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5899         _XOPEN_SOURCE_EXTENDED for XPG4.
5901         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5903         * Makeconfig (localtime): Remove variable.
5904         (inst_localtime-file): Likewise.
5906 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5909         Update.
5910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5911         Update.
5912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5913         Update.
5914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5915         Update.
5916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5917         Update.
5918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5919         Update.
5920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5921         Update.
5922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5923         Update.
5924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5925         Update.
5927 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
5929         [BZ #2550]
5930         [BZ #2570]
5931         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5932         comparisons to determine direction to adjust input.
5933         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5934         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5935         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5936         Likewise.
5937         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5938         Likewise.
5939         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5940         Likewise.
5941         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5942         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5943         Likewise.
5944         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5945         Likewise.
5946         * math/libm-test.inc (nexttoward_test): Add more tests.
5948 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5950         [BZ #14040]
5951         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5952         in version GLIBC_2.1, not GLIBC_2.0.
5953         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5954         Likewise.
5956 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
5958         [BZ #13942]
5959         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5960         (1 - x) * (1 + x).
5961         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5962         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5963         * math/libm-test.inc (acos_test): Add more tests.
5964         (asin_test): Likewise.
5965         * sysdeps/i386/fpu/libm-test-ulps: Update.
5966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5968         [BZ #14034]
5969         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5970         of square root.
5971         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5972         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5973         * math/libm-test.inc (acos_test_tonearest): New function.
5974         (acos_test_towardzero): Likewise.
5975         (acos_test_downward): Likewise.
5976         (acos_test_upward): Likewise.
5977         (asin_test_tonearest): Likewise.
5978         (asin_test_towardzero): Likewise.
5979         (asin_test_downward): Likewise.
5980         (asin_test_upward): Likewise.
5981         (main): Call the new functions.
5982         * sysdeps/i386/fpu/libm-test-ulps: Update.
5983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5985         [BZ #13884]
5986         [BZ #13924]
5987         * math/e_exp10.c: Include <float.h>.
5988         (__ieee754_exp10): Handle underflow here rather than multiplying
5989         large negative argument by M_LN10.
5990         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5991         of __ieee754_expf.
5992         * math/e_exp10l.c: Include <float.h>.
5993         (__ieee754_exp10l): Handle underflow here rather than multiplying
5994         large negative argument by M_LN10l.
5995         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
5996         spurious overflow exception on underflow.
5998 2012-04-29  Marek Polacek  <polacek@redhat.com>
6000         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6001         (__fortify_function): New macro.
6002         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6003         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6004         __extern_always_inline.
6005         * libio/bits/stdio2.h: Likewise.
6006         * libio/bits/stdio.h: Likewise.
6007         * string/string.h: Likewise.
6008         * string/bits/string3.h: Likewise.
6009         * include/stdio.h: Likewise.
6010         * stdlib/bits/stdlib.h: Likewise.
6011         * stdlib/stdlib.h: Likewise.
6012         * rt/bits/mqueue2.h: Likewise.
6013         * rt/mqueue.h: Likewise.
6014         * posix/bits/unistd.h: Likewise.
6015         * posix/unistd.h: Likewise.
6016         * io/bits/poll2.h: Likewise.
6017         * io/bits/fcntl2.h: Likewise.
6018         * io/fcntl.h: Likewise.
6019         * io/sys/poll.h: Likewise.
6020         * misc/bits/syslog.h: Likewise.
6021         * misc/bits/syslog-ldbl.h: Likewise.
6022         * misc/sys/syslog.h: Likewise.
6023         * socket/bits/socket2.h: Likewise.
6024         * socket/sys/socket.h: Likewise.
6025         * debug/tst-chk1.c: Likewise.
6026         * wcsmbs/bits/wchar2.h: Likewise.
6027         * wcsmbs/bits/wchar-ldbl.h: Likewise.
6028         * wcsmbs/wchar.h: Likewise.
6030 2012-04-29  Andreas Jaeger  <aj@suse.de>
6032         * Makerules (tests): Remove enable-check-abi protection.
6033         (check-abi-warn): Remove.
6034         (check-abi-%): Remove check-abi-warn usage.
6036         * configure.in: Remove check-abi configure option.
6037         * configure: Regenerated.
6038         * config.make.in (enable-check-abi): Remove.
6040 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
6042         [BZ #14033]
6043         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6044         double functions to double *_finite functions.
6046         [BZ #13941]
6047         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6048         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6049         LDBL_MIN_EXP.
6050         * stdio-common/Makefile (tests): Add tst-sprintf3.
6051         * stdio-common/tst-sprintf3.c: New file.
6053         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6054         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6056 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
6058         * conform/conformtest.pl: Remove duplicate typed-constant
6059         handling.
6061 2012-04-28  David S. Miller  <davem@davemloft.net>
6063         * Makerules (%.abilist): Add vpath on sysdep_dirs.
6064         (check-abi-%): Remove AWK script prerequisite and explicit
6065         abilist directory.
6066         (check-abi): Rewrite to just diff the symlist with the abilist.
6067         (config-tls, config-abi-config): Delete, no longer used.
6068         (update-abi-%): Remove AWK script and explicit abilist directory.
6069         (update-abi): Rewrite to simply compare and conditionally copy the
6070         symlist and the sysdep abilist file.  Remove update-abi-config
6071         checks.
6072         * abilist/ld.abilist: Remove.
6073         * abilist/libBrokenLocale.abilist: Remove.
6074         * abilist/libanl.abilist: Remove.
6075         * abilist/libcrypt.abilist: Remove.
6076         * abilist/libdl.abilist: Remove.
6077         * abilist/librt.abilist: Remove.
6078         * abilist/libthread_db.abilist: Remove.
6079         * abilist/libutil.abilist: Remove.
6080         * scripts/extract-abilist.awk: Remove.
6081         * scripts/merge-abilist.awk: Remove.
6082         * sysdeps/generic/libcidn.abilist: New file.
6083         * sysdeps/generic/libnss_compat.abilist: New file.
6084         * sysdeps/generic/libnss_db.abilist: New file.
6085         * sysdeps/generic/libnss_dns.abilist: New file.
6086         * sysdeps/generic/libnss_files.abilist: New file.
6087         * sysdeps/generic/libnss_hesiod.abilist: New file.
6088         * sysdeps/generic/libnss_nis.abilist: New file.
6089         * sysdeps/generic/libnss_nisplus.abilist: New file.
6090         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6091         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6092         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6093         file.
6094         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6095         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6096         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6097         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6098         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6099         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6100         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6101         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6102         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6103         file.
6104         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6105         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6106         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6107         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6108         file.
6109         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6110         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6111         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6112         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6113         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6114         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6115         file.
6116         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6117         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6118         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6119         file.
6120         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6121         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6122         New file.
6123         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6124         New file.
6125         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6126         New file.
6127         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6128         New file.
6129         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6130         New file.
6131         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6132         New file.
6133         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6134         New file.
6135         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6136         New file.
6137         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6138         New file.
6139         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6140         New file.
6141         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6142         New file.
6143         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6144         New file.
6145         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6146         New file.
6147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6148         file.
6149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6150         New file.
6151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6152         New file.
6153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6154         file.
6155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6156         New file.
6157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6158         New file.
6159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6160         file.
6161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6162         New file.
6163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6164         New file.
6165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6166         New file.
6167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6168         New file.
6169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6170         New file.
6171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6172         New file.
6173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6175         file.
6176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6177         New file.
6178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6179         file.
6180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6181         file.
6182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6183         file.
6184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6185         file.
6186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6187         file.
6188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6189         New file.
6190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6191         file.
6192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6193         file.
6194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6195         New file.
6196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6197         file.
6198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6200         file.
6201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6202         New file.
6203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6204         file.
6205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6206         file.
6207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6208         file.
6209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6210         file.
6211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6212         file.
6213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6214         New file.
6215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6216         file.
6217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6218         file.
6219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6220         New file.
6221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6222         file.
6223         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6224         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6225         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6226         file.
6227         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6228         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6229         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6230         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6231         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6232         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6233         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6234         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6235         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6236         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6239         file.
6240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6241         New file.
6242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6243         file.
6244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6245         file.
6246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6247         file.
6248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6249         file.
6250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6251         file.
6252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6253         New file.
6254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6255         New file.
6256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6257         file.
6258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6259         New file.
6260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6261         file.
6262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6264         file.
6265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6266         New file.
6267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6268         file.
6269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6270         file.
6271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6272         file.
6273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6274         file.
6275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6276         file.
6277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6278         New file.
6279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6280         New file.
6281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6282         file.
6283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6284         New file.
6285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6286         file.
6288 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
6290         * conform/conformtest.pl: Fix typo in handling typed-constant from
6291         allow-header.
6293 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
6295         * README: Cut down references to pre-2.6 Linux kernels and
6296         Linuxthreads.  Update lists of configurations in libc and ports
6297         and sort alphabetically.  Say "or newer" with Linux kernel version
6298         requirements.
6300         * config.h.in [IS_IN_build]: Allow compiling without optimization.
6302 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6304         [BZ #887]
6305         * math/libm-test.inc (logb_test_downward): New test to expose
6306         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6307         rounding mode.
6309 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
6311         [BZ #14027]
6312         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6313         to be done.
6314         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6315         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6317 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
6319         * sysdeps/unix/i386/brk.S: Remove file.
6320         * sysdeps/unix/i386/dl-brk.S: Likewise.
6321         * sysdeps/unix/i386/pipe.S: Likewise.
6322         * sysdeps/unix/i386/sigreturn.S: Likewise.
6323         * sysdeps/unix/i386/syscall.S: Likewise.
6324         * sysdeps/unix/i386/vfork.S: Likewise.
6325         * sysdeps/unix/i386/wait.S: Likewise.
6327         * sysdeps/unix/common/tcsendbrk.c: Move to ...
6328         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6330         * configure.in (arm*-none*): Do not allow without
6331         --enable-hacker-mode.
6332         (netbsd*): Remove case setting base_os.
6333         (386bsd*): Likewise.
6334         (freebsd*): Likewise.
6335         (bsdi*): Likewise.
6336         (osf*): Likewise.
6337         (sunos*): Likewise.
6338         (ultrix*): Likewise.
6339         (newsos*): Likewise.
6340         (dynix*): Likewise.
6341         (*bsd*): Likewise.
6342         (sysv*): Likewise.
6343         (isc*): Likewise.
6344         (esix*): Likewise.
6345         (sco*): Likewise.
6346         (minix*): Likewise.
6347         (irix4*): Likewise.
6348         (irix6*): Likewise.
6349         (solaris[2-9]*): Likewise.
6350         (none): Likewise.
6351         * configure: Regenerated.
6353 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6355         [BZ #11521]
6356         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6357         overflow or cancellation in calculating denominator.
6358         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6359         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6360         down expression to avoid unexpected rounding in newer GCCs.
6361         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6363 2012-04-26  David S. Miller  <davem@davemloft.net>
6365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6366         long-double compat symbols.
6367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6381 2012-04-25  David S. Miller  <davem@davemloft.net>
6383         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6384         HWCAP_* values only after the memory barriers have been defined.
6385         (atomic_full_barrier): Define.
6386         (atomic_read_barrier): Define.
6387         (atomic_write_barrier): Define.
6389 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6391         * shlib-versions: Add libgcc_s version information.
6392         * sysdeps/generic/libgcc_s.h: Remove.
6393         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6394         libgcc_s.h.
6395         * sysdeps/gnu/unwind-resume.c: Likewise.
6396         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6398 2012-04-25  David S. Miller  <davem@davemloft.net>
6400         * sysdeps/unix/sparc/brk.S: Delete.
6401         * sysdeps/unix/sparc/dl-brk.S: Delete.
6402         * sysdeps/unix/sparc/pipe.S: Delete.
6403         * sysdeps/unix/sparc/sysdep.S: Delete.
6404         * sysdeps/unix/sparc/sysdep.h: Delete.
6405         * sysdeps/unix/sparc/vfork.S: Delete.
6406         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6407         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6408         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6409         ret_ERRVAL, r0, r1, MOVE): Define.
6410         (JUMPTARGET): Remove.
6411         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6412         sysdeps/unix/sparc/sysdep.h
6413         (ENTRY, END): Remove.
6414         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6416 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
6418         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6419         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6420         -DIS_IN_build.
6422         * timezone/README: Update upstream location and email address for
6423         tzcode and tzdata.
6424         * timezone/zdump.c: Update from tzcode 2012b.
6425         * timezone/zic.c: Likewise.
6427         * configure.in (libc_cv_as_needed): Remove test.
6428         * configure: Regenerated.
6429         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6430         conditional definition.
6431         [$(have-as-needed) != yes] (no-as-needed): Likewise.
6432         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6433         * config.make.in (have-as-needed): Remove variable.
6435 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6436             Paul Pluzhnikov  <ppluzhnikov@google.com>
6438         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6439         strings correctly.
6441 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6443         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6444         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6445         * sysdeps/sh/strlen.S: Likewise.
6447 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
6449         * sysdeps/unix/fork.S: Remove file.
6450         * sysdeps/unix/i386/fork.S: Likewise.
6451         * sysdeps/unix/sparc/fork.S: Likewise.
6453         * sysdeps/unix/system.c: Remove file.
6454         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6456         * sysdeps/unix/getegid.S: Remove file.
6457         * sysdeps/unix/geteuid.S: Likewise.
6459 2012-04-24  Roland McGrath  <roland@hack.frob.com>
6461         * scripts/check-localplt.awk: New file.
6462         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6463         of diff.
6464         * scripts/data/localplt-generic.data: Add a comment.
6466         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6467         NODE when __dir_mkfile failed.
6468         * sysdeps/mach/hurd/symlinkat.c: Likewise.
6469         Reported by Ludovic Courtès <ludo@gnu.org>.
6471 2012-04-24  Andreas Jaeger  <aj@suse.de>
6473         * Makerules (common-clean): Also remove gen-as-const-headers
6474         files.
6476 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
6478         * Makerules (native-compile): Do not change working directory for
6479         build.  Use $(OUTPUT_OPTION) in command.
6480         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6482 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6484         [BZ #13886]
6485         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6486         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6487         * math/libm-test.inc (floor_test): Add more tests.
6488         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6490 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
6492         * sysdeps/unix/getdents.c: Remove file.
6493         * sysdeps/unix/sysv/getdents.c: Likewise.
6494         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6496         * sysdeps/unix/syscalls.list (madvise): Add syscall from
6497         sysdeps/unix/mman/syscalls.list.
6498         (mmap): Likewise.
6499         (mprotect): Likewise.
6500         (msync): Likewise.
6501         (munmap): Likewise.
6502         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6503         * sysdeps/unix/mman/syscalls.list: Remove.
6504         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6506         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6507         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6508         * configure: Regenerated.
6509         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6510         $(libgcc_s_suffix).
6511         * config.make.in (libgcc_s_suffix): Remove variable.
6513 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
6515         * sysdeps/unix/sysv/gethostname.c: Move to ...
6516         * sysdeps/posix/gethostname.c: ... here.
6518         * sysdeps/unix/execve.S: Remove file.
6520         * sysdeps/unix/_exit.S: Remove file.
6522 2012-04-23  Andreas Jaeger  <aj@suse.de>
6524         [BZ #13739]
6525         * manual/Makefile: Remove make dist support, there's no
6526         need for a stand-alone documentation tar ball.
6527         (TEXI2DVI): Define always, it's not in Makeconfig.
6528         (dist): Removed.
6529         (tar-it): Removed.
6530         (edition): Removed.
6531         (glibc-doc-$(edition).tar): Removed
6532         (%.Z): Removed.
6533         (%.gz): Removed.
6534         (%.uu): Removed.
6535         (ETAGS): Remove, it's in Makeconfig.
6536         (move-if-change): Remove, it's in Makeconfig.
6538 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
6540         [BZ #13970]
6541         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6542         (strtod, strtof, strtold, strtol, strtoul, strtoq)
6543         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6544         (strtod_l, strtof_l, strtold_l): Remove __wur.
6545         It is not necessarily an error to ignore strtol's return value.
6546         One can reliably look at the stored endptr to decide whether
6547         the number had valid syntax.
6549 2012-04-21  Andreas Jaeger  <aj@suse.de>
6551         [BZ #13739]
6552         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6554 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
6556         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6557         * sysdeps/unix/sysv/Versions: Remove file.
6559 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
6561         [BZ #13927]
6562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6564 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
6566         [BZ #7064]
6567         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6568         version from __vm86.
6570 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
6572         * sysdeps/unix/common/lxstat.c: Remove file.
6573         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6575         * sysdeps/unix/sysv/Makefile: Remove file.
6577         * sysdeps/unix/sysv/direct.h: Remove file.
6579         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6580         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6581         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6582         * sysdeps/unix/sysv/bits/signum.h: Likewise.
6583         * sysdeps/unix/sysv/bits/stat.h: Likewise.
6584         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6585         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6587         * sysdeps/unix/sysv/setrlimit.c: Remove file.
6589         * sysdeps/unix/xmknod.c: Remove file.
6590         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6592         * sysdeps/unix/sysv/settimeofday.c: Remove file.
6594         * sysdeps/unix/sysv/i386/time.S: Remove file.
6596         * sysdeps/unix/fxstat.c: Remove file.
6597         * sysdeps/unix/xstat.c: Likewise.
6598         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6600         * sysdeps/unix/sysv/sigaction.c: Remove file.
6602         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6603         (sysdep_headers): Remove variable.
6604         [termio.h not in sysdep_headers] (generated): Likewise.
6605         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6606         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6607         * sysdeps/unix/sysv/tcdrain.c: Likewise.
6608         * sysdeps/unix/sysv/tcflow.c: Likewise.
6609         * sysdeps/unix/sysv/tcflush.c: Likewise.
6610         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6611         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6612         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6613         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6614         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6616         * sysdeps/unix/siglist.c: Remove file.
6618         * sysdeps/unix/getppid.S: Remove file.
6620         * sysdeps/unix/mkdir.c: Remove file.
6621         * sysdeps/unix/rmdir.c: Likewise.
6623 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
6625         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6626         ERR_MAX value.
6627         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6628         errlist-compat value.
6630 2012-04-18  David S. Miller  <davem@davemloft.net>
6632         * sysdeps/generic/memcopy.h (reg_char): Delete.
6633         * debug/strcat_chk.c: Use char, not reg_char.
6634         * debug/strcpy_chk.c: Likewise.
6635         * debug/strncat_chk.c: Likewise.
6636         * debug/strncpy_chk.c: Likewise.
6637         * string/memchr.c: Likewise.
6638         * string/memrchr.c: Likewise.
6639         * string/rawmemchr.c: Likewise.
6640         * string/strcat.c: Likewise.
6641         * string/strchr.c: Likewise.
6642         * string/strchrnul.c: Likewise.
6643         * string/strcmp.c: Likewise.
6644         * string/strcpy.c: Likewise.
6645         * string/strncat.c: Likewise.
6646         * string/strncmp.c: Likewise.
6647         * string/strncpy.c: Likewise.
6649 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6651         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6652         __builtin_memcopy is called when src and dest ranges are known to not
6653         overlap.
6655 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6657         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6658         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6659         fwd_align_merge macro call.
6660         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6661         bwd_align_merge macro call.
6662         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6664 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6666         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6667         bwd_align_merge macros.
6668         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6669         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6670         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6672 2012-04-18  David S. Miller  <davem@davemloft.net>
6674         * sysdeps/sparc/sparc64/memcopy.h: Delete.
6676 2012-04-18  Andreas Jaeger  <aj@suse.de>
6678         [BZ# 6794]
6679         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6680         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6681         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6683         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6684         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6685         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6687         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6688         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6689         Adjust for changed ldbl-128 files.
6691         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6692         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6693         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6695 2012-04-17  David S. Miller  <davem@davemloft.net>
6697         * sysdeps/sparc/sparc32/memcopy.h: Delete.
6699 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
6701         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6702         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6703         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6704         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6705         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6706         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6708 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6710         [BZ #6794]
6711         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6712         * math/libm-test.inc: Add ilogb errno and exception tests.
6713         * math/w_ilogb.c: New file: ilogb wrapper.
6714         * math/w_ilogbf.c: New file: ilogbf wrapper.
6715         * math/w_ilogbl.c: New file: ilogbl wrapper.
6716         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6717         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6718         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6719         exception being thrown with 0.0 as argument.
6720         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6721         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6722         exception being thrown with 0.0 as argument.
6723         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6724         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6725         exception being thrown with 0.0 as argument.
6726         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6727         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6728         exception being thrown with 0.0 as argument.
6729         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6730         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6731         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6732         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6733         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6734         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6735         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6736         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6737         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6739 2012-04-17  Petr Baudis  <pasky@ucw.cz>
6741         * include/sys/uio.h: Change __vector to __iovec to avoid clash
6742         with altivec.
6744 2012-04-16  Marek Polacek  <polacek@redhat.com>
6746         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6748 2012-04-16  Marek Polacek  <polacek@redhat.com>
6750         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6751         operands of fdivp instruction.
6753 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
6755         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6756         * elf/tst-auditmod3b.c: Likewise.
6757         * elf/tst-auditmod4b.c: Likewise.
6758         * elf/tst-auditmod5b.c: Likewise.
6759         * elf/tst-auditmod6b.c: Likewise.
6760         * elf/tst-auditmod6c.c: Likewise.
6761         * elf/tst-auditmod7b.c: Likewise.
6762         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6763         * sysdeps/x86_64/preconfigure.in: Likewise.
6764         * sysdeps/x86_64/preconfigure: Regenerated.
6766 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
6768         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6769         __ILP32__.
6771 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
6773         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6774         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6776 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
6778         [BZ #13973]
6779         * locale/iso-639.def: Fix gl language name. Spotted by
6780         Yaron Shahrabani.
6782 2012-04-12  Roland McGrath  <roland@hack.frob.com>
6784         [BZ #2074]
6785         * libio/libio.h (__io_write_fn): Update comment.
6787 2012-04-12  Petr Baudis  <pasky@ucw.cz>
6789         [BZ #2074]
6790         * stdio.texi (Hook Functions): The user provided writer function
6791         is not allowed to return -1.
6793 2012-04-11  David S. Miller  <davem@davemloft.net>
6795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6797 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
6799         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6800         Add a leading slash to rtkaio.
6802 2012-04-11  Jim Meyering  <meyering@redhat.com>
6804         [BZ #11959]
6805         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6806         It is not necessarily an error to ignore fwrite's return
6807         value.  One can reliably use ferror to test for errors after
6808         the fact.
6810 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6812         * bits/types.h (__snseconds_t): New type.
6813         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6815         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6816         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6817         (__SNSECONDS_T_TYPE): Likewise.
6818         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6819         (__SNSECONDS_T_TYPE): Likewise.
6820         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6821         (__SNSECONDS_T_TYPE): Likewise.
6823 2012-04-10  Andreas Jaeger  <aj@suse.de>
6825         [BZ #2636]
6826         * manual/time.texi (Processor Time): Return type of times is
6827         elapsed real time since an arbitrary point in the past.
6828         (CPU Time): Move CLK_TCK from here...
6829         (Processor Time): ...to here.  Correct description.
6830         * manual/conf.texi (Constants for Sysconf): Correct description of
6831         _SC_CLK_TCK.
6833 2012-04-10  David S. Miller  <davem@davemloft.net>
6835         [BZ #13967]
6836         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6837         where the is a gap between DT_REL(A) and DT_JMPREL.
6839 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6841         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6842         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6843         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6845 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6847         * elf/dl-support.c (_dl_inhibit_cache): New variable.
6848         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6849         (dl_main): Handle --inhibit-cache.
6850         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6851         _dl_inhibit_cache.
6852         * elf/dl-load.c (_dl_map_object): Use it.
6853         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6855 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
6857         [BZ #13872]
6858         * sysdeps/i386/fpu/e_powl.S (p78): New object.
6859         (__ieee754_powl): Saturate large exponents rather than testing for
6860         overflow of y*log2(x).
6861         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6862         * math/libm-test.inc (pow_test): Do not permit spurious overflow
6863         exceptions.
6865         [BZ #11521]
6866         * math/s_ctan.c: Include <float.h>.
6867         (__ctan): Avoid internal overflow or cancellation in calculating
6868         denominator.
6869         * math/s_ctanf.c: Likewise.
6870         * math/s_ctanl.c: Likewise.
6871         * math/s_ctanh.c: Likewise.
6872         * math/s_ctanhf.c: Likewise.
6873         * math/s_ctanhl.c: Likewise.
6874         * math/libm-test.inc (ctan_test): Add more tests.
6875         (ctanh_test): Likewise.
6876         * sysdeps/i386/fpu/libm-test-ulps: Update.
6877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6879 2012-04-09  Andreas Jaeger  <aj@suse.de>
6881         [BZ #6894]
6882         * manual/filesys.texi (Directory Entries): Mention that d_namlen
6883         is an optional BSD extension.
6885         [BZ #10254]
6886         * manual/stdio.texi (Opening Streams): Document additional fopen
6887         parameters.
6889 2012-04-09  Roland McGrath  <roland@hack.frob.com>
6891         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6892         %eax without telling the compiler.
6894 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
6896         [BZ # 13963]
6897         * manual/install.texi: Use sourceware.org.
6899 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
6901         [BZ #13873]
6902         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6903         (__ieee754_pow): Generate overflow and underflow using huge*huge
6904         and tiny*tiny rather than just returning constant infinity or zero
6905         for large exponents.
6906         * math/libm-test.inc (pow_test): Require overflow exceptions for
6907         applicable cases of large exponents.
6909         [BZ #706]
6910         * sysdeps/i386/fpu/e_pow.S (p10): New object.
6911         (__ieee754_pow): Use iterative multiplication algorithm only for
6912         integer exponents with absolute value below 1024.  Check for odd
6913         integer exponents when using algorithm for real exponents.
6914         * math/libm-test.inc (pow_test): Add more tests.
6915         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6917 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
6919         [BZ #13705]
6920         * math/libm-test.inc (exp_test): Do not allow overflow exception
6921         on underflow test.
6923 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
6925         [BZ #13705]
6926         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6927         instead of __kernel_standard_f.
6929 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
6931         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6932         * sysdeps/x86_64/memset_chk.S: Likewise.
6934 2012-04-08  Andreas Jaeger  <aj@suse.de>
6936         [BZ #10153]
6937         * manual/startup.texi (Environment Access): Describe return value
6938         for putenv and setenv.
6940         [BZ #6895]
6941         * manual/filesys.texi (Directory Entries): Add description for
6942         DT_LNK.
6944         [BZ #6890]
6945         * manual/filesys.texi (Directory Entries): Clarify that it's file
6946         system not operating system in the description of DT_UNKNOWN.
6948         [BZ #6578]
6949         * manual/syslog.texi (closelog): Fix reference, it's openlog.
6951 2012-04-08  Stephen Compall  <s11@member.fsf.org>
6953         [BZ #6649]
6954         * manual/llio.texi (Opening and Closing Files): Add cross
6955         reference to explain mode argument.
6957 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
6959         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6960         * sysdeps/x86_64/memset_chk.S: Likewise.
6962 2012-04-07  David S. Miller  <davem@davemloft.net>
6964         * elf/elf.h (R_SPARC_WDISP10): Define.
6965         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6966         R_SPARC_SIZE32.
6967         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6968         R_SPARC_SIZE64 and R_SPARC_H34.
6970 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
6972         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6973         conditions and remove no longer applicable assertion.
6975 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
6977         * bits/byteswap.h: Include <features.h>.
6978         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6979         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6981 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
6983         * bits/byteswap.h (__bswap_16): Removed.
6984         Include <bits/byteswap-16.h> to get __bswap_16.
6985         * sysdeps/i386/bits/byteswap.h: Likewise.
6986         * sysdeps/s390/bits/byteswap.h: Likewise.
6987         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6988         * bits/byteswap-16.h: New file.
6989         * sysdeps/i386/bits/byteswap-16.h: Likewise.
6990         * sysdeps/s390/bits/byteswap-16.h: Likewise.
6991         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6992         * string/Makefile (headers): Add bits/byteswap-16.h.
6994 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6996         [BZ #13895]
6997         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6998         extra indirection.
6999         * nss/Makefile (tests-static, tests): Add tst-nss-static.
7000         * nss/tst-nss-static.c: New.
7002 2012-04-06  Robert Millan  <rmh@gnu.org>
7004         [BZ #6486]
7005         * manual/llio.texi (File Position Primitive): lseek
7006         refers to WHENCE when it really means OFFSET.
7008 2012-04-06  Andreas Jaeger  <aj@suse.de>
7010         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7011         strncmp declarations.
7013         * abilist/libc.abilist: Add __poll and __ppoll.
7015 2012-04-05  David S. Miller  <davem@davemloft.net>
7017         * scripts/check-local-headers.sh: Accept a host triplet in the
7018         path matched by the exclude regexp.
7020         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7021         definition.
7022         * sysdeps/powerpc/powerpc32/dl-machine.h
7023         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7024         * sysdeps/s390/s390-32/dl-machine.h
7025         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7026         * sysdeps/sparc/sparc32/dl-machine.h
7027         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7028         * sysdeps/sparc/sparc64/dl-machine.h
7029         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7031         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7032         lazy binding.
7033         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7034         undefined symbol errors.
7036         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7037         DT_NEEDED entries.
7039 2012-04-05  Michael Matz  <matz@suse.de>
7041         [BZ #13592]
7042         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7044 2012-04-05  Andreas Jaeger  <aj@suse.de>
7046         [BZ #13908]
7047         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7048         comment.
7050 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7052         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7053         which ROUND is no valid rounding mode.
7055 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7057         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7058         read again.
7059         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7061 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7063         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7064         an exception using FPU order intentionally.
7066 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7068         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7069         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7070         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7071         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7073 2012-04-05  Simon Josefsson  <simon@josefsson.org>
7075         [BZ #12340]
7076         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7077         EINVAL when BUFLEN is too smal.
7079 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7081         [BZ #13553]
7082         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7083         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7085 2012-04-03  Andreas Jaeger  <aj@suse.de>
7087         [BZ #13938]
7088         * manual/setjmp.texi (System V contexts): Fix sentence.
7090         [BZ #13926]
7091         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7092         New macro for this case.
7093         [!__GNUC__] (__bswap_64): New inline function for this case.
7094         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7095         * bits/byteswap.h: Likewise.
7096         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7097         ull, guard with __GLIBC_HAVE_LONG_LONG.
7099         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7100         __GLIBC_HAVE_LONG_LONG.
7102         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7103         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7105 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7107         [BZ #13691]
7108         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7109         inptr and inend, rather than using last_ch.
7111 2012-04-02  David S. Miller  <davem@davemloft.net>
7113         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7114         * stdio-common/printf-parse.h (read_int): Change return type to
7115         'int', return -1 on INT_MAX overflow.
7116         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7117         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
7118         overflows INT_MAX.  Check for overflow of in-format-string precision
7119         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
7120         SIZE_MAX not INT_MAX for integer overflow test.
7121         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7122         skip the construct in the format string but do not record anything.
7123         * stdio-common/bug22.c: Adjust to test both width/prevision
7124         INT_MAX overflow as well as total length INT_MAX overflow.  Check
7125         explicitly for proper errno values.
7127 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7129         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7130         CHAR_MAX.
7131         * string/test-strcmp.c [! WIDE]: Likewise.
7132         * time/tst-mktime2.c: Likewise for INT_MAX.
7133         * string/test-string.h: #include <sys/param.h> for MIN.
7135         * csu/init-first.c (__libc_init_first): Call __ctype_init.
7136         * sysdeps/i386/init-first.c (init): Likewise.
7137         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7138         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7139         * sysdeps/sh/init-first.c (init): Likewise.
7141 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
7143         * po/ru.po: Update from translation team.
7144         * po/vi.po: Likewise.
7146 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7148         * resolv/nss_dns/dns-host.c: Merge copyright years.
7150 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7152         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7153         Optimize memcpy with prefetch if
7154         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
7155         src, dst pointers have unequal 16 byte alignments.
7157 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7159         [BZ #13928]
7160         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7161         from a CNAME entry and return the minimum ttl for the query.
7162         (gaih_getanswer_slice): Likewise.
7164 2012-03-30  Jeff Law  <law@redhat.com>
7166         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7167         due to long keys.
7168         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7169         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7171         * resolv/nss_dns/dns-host.c: Update copyright year.
7173 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
7175         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7176         requests to save a system call.  Fix check that all bytes are sent.
7178         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7179         comments for sendmmsg.
7181 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7183         [BZ #13691]
7184         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7185         with only 1 character between 0x0041 and 0x01b0.
7186         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7187         * wcsmbs/tst-mbsnrtowcs.c: New file.
7189 2012-03-29  David S. Miller  <davem@davemloft.net>
7191         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7192         small copies by hand.
7194 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7196         [BZ #13761]
7197         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7198         _nss_compat_initgroups_dyn): Fall back to malloc/free
7199         for large group memberships.
7201 2012-03-28  David S. Miller  <davem@davemloft.net>
7203         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7204         that branches into memcpy.
7205         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7206         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7207         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7208         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7209         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7210         bits.
7211         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7212         implementation too.
7213         * sysdeps/sparc/mempcpy.S: New file.
7215         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7216         the IFUNC routine in the libc case.
7217         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7219         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7220         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7221         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7222         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7223         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7224         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7225         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7226         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7228         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7229         loop to 256 bytes instead of 64 bytes and fix test signedness.
7231         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7232         * sysdeps/sparc/sparc32/Makefile: rather than here...
7233         * sysdeps/sparc/sparc64/Makefile: and here.
7235 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
7237         * malloc/mallocbug.c: Avoid warnings about unused variables.
7239 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7241         [BZ #13760]
7242         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7243         in the right place. Discard and retry query if response is
7244         larger than input buffer size.
7246 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
7248         [BZ #369]
7249         [BZ #2678]
7250         [BZ #3866]
7251         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7252         x for large integer exponent.
7253         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7254         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
7255         sign of result as needed afterwards.
7256         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7257         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7258         result for underflowing pow the same as for overflow.
7259         (__kernel_standard_l): Handle powl overflow and underflow here
7260         rather than calling __kernel_standard.
7261         * math/libm-test.inc (pow_test): Add more tests.
7263         [BZ #3868]
7264         [BZ #13879]
7265         [BZ #13910]
7266         [BZ #13911]
7267         [BZ #13912]
7268         [BZ #13913]
7269         [BZ #13915]
7270         [BZ #13916]
7271         [BZ #13917]
7272         [BZ #13918]
7273         [BZ #13919]
7274         [BZ #13920]
7275         [BZ #13921]
7276         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7277         * sysdeps/ieee754/k_standard.c: Include <float.h>.
7278         (__kernel_standard_l): New function.
7279         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7280         __kernel_standard.
7281         * math/w_acosl.c (__acosl): Likewise.
7282         * math/w_asinl.c (__asinl): Likewise.
7283         * math/w_atan2l.c (__atan2l): Likewise.
7284         * math/w_atanhl.c (__atanhl): Likewise.
7285         * math/w_coshl.c (__coshl): Likewise.
7286         * math/w_exp10l.c (__exp10l): Likewise.
7287         * math/w_exp2l.c (__exp2l): Likewise.
7288         * math/w_fmodl.c (__fmodl): Likewise.
7289         * math/w_hypotl.c (__hypotl): Likewise.
7290         * math/w_j0l.c (__j0l, __y0l): Likewise.
7291         * math/w_j1l.c (__j1l, __y1l): Likewise.
7292         * math/w_jnl.c (__jnl, __ynl): Likewise.
7293         * math/w_lgammal.c (__lgammal): Likewise.
7294         * math/w_log10l.c (__log10l): Likewise.
7295         * math/w_log2l.c (__log2l): Likewise.
7296         * math/w_logl.c (__logl): Likewise.
7297         * math/w_powl.c (__powl): Likewise.
7298         * math/w_remainderl.c (__remainderl): Likewise.
7299         * math/w_scalbl.c (sysv_scalbl): Likewise.
7300         * math/w_sinhl.c (__sinhl): Likewise.
7301         * math/w_sqrtl.c (__sqrtl): Likewise.
7302         * math/w_tgammal.c (__tgammal): Likewise.
7303         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7304         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7305         * math/libm-test.inc (acos_test): Add more tests.
7306         (acosh_test): Likewise.
7307         (asin_test): Likewise.
7308         (atanh_test): Likewise.
7309         (exp_test): Likewise.
7310         (exp10_test): Likewise.
7311         (exp2_test): Likewise.
7312         (expm1_test): Likewise.
7313         (lgamma_test): Likewise.
7314         (log_test): Likewise.
7315         (log10_test): Likewise.
7316         (log1p_test): Likewise.
7317         (log2_test): Likewise.
7318         (pow_test): Do not allow some spurious overflow exceptions.
7319         (sqrt_test): Add more tests.
7320         (tgamma_test): Likewise.
7321         (y0_test): Likewise.
7322         (y1_test): Likewise.
7323         (yn_test): Likewise.
7325 2012-03-27  Anton Blanchard  <anton@samba.org>
7327         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7328         MAP_HUGETLB.
7329         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7330         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7331         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7333 2012-03-27  David S. Miller  <davem@davemloft.net>
7335         * conform/Makefile: Run run-conformtest.sh using $(BASH).
7337         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7338         have-as-vis3 check.
7340 2012-03-27  Andreas Jaeger  <aj@suse.de>
7342         * sysdeps/x86_64/elf/configure.in: Moved to ...
7343         * sysdeps/x86_64/configure.in: ... here.
7344         * sysdeps/x86_64/elf/start.S: Moved to ...
7345         * sysdeps/x86_64/start.S: ... here.
7346         * sysdeps/x86_64/elf/configure: Delete.
7348         * sysdeps/x86_64/configure.in: Merge contents from
7349         sysdeps/i386/configure.in (without i686 check).
7351         * sysdeps/i386/elf/Versions: Merge into ...
7352         * sysdeps/i386/Versions: ... this.
7353         * sysdeps/i386/elf/Versions: Delete file.
7354         * sysdeps/i386/elf/start.S: Moved to ...
7355         * sysdeps/i386/start.S: ...here.
7356         * sysdeps/i386/elf/configure.in: Merge into...
7357         * sysdeps/i386/configure.in: ...here.
7358         * sysdeps/i386/elf/configure.in: Delete file.
7359         * sysdeps/i386/elf/configure: Delete file.
7361         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7362         * debug/backtracesyms.c: ... here.
7363         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7364         * debug/backtracesymsfd.c: ... here.
7365         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7366         * sysdeps/generic/ifunc-sel.h: ... here.
7368         * sysdeps/unix/i386/start.c: Delete file.
7369         * sysdeps/unix/sparc/start.c: Delete file.
7370         * sysdeps/unix/start.c: Delete file.
7372         * sysdeps/sh/elf/configure.in: Moved to ...
7373         * sysdeps/sh/configure.in: ... here.
7374         * sysdeps/sh/elf/start.S: Moved to ...
7375         * sysdeps/sh/start.S: ... here.
7376         * sysdeps/sh/elf/configure: Delete file.
7378         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7379         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7380         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7381         * sysdeps/powerpc/powerpc64/entry.h: ... here.
7382         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7383         * sysdeps/powerpc/powerpc64/start.S: here.
7384         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7385         * sysdeps/powerpc/powerpc64/Makefile: ... this.
7386         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7387         * sysdeps/powerpc/powerpc64/configure.in: ... this.
7388         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7390         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7391         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7392         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7393         * sysdeps/powerpc/powerpc32/start.S: ... here.
7394         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7395         * sysdeps/powerpc/powerpc32/configure.in: ... this.
7396         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7398         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7399         * sysdeps/powerpc/ifunc-sel.h: ... here.
7400         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7401         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7403         * sysdeps/sparc/elf/configure.in: Moved to ...
7404         * sysdeps/sparc/configure.in: ... here.
7405         * sysdeps/sparc/elf/configure: Delete file.
7406         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7407         * sysdeps/sparc/sparc32/start.S: ... here.
7408         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7409         * sysdeps/sparc/sparc64/start.S: ... here.
7410         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7411         * sysdeps/sparc/sparc32/Makefile: ... this.
7412         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7413         * sysdeps/sparc/sparc64/Makefile: ... this.
7415         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7416         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7417         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7418         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7419         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7420         * sysdeps/s390/s390-32/setjmp.S: ... here.
7421         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7422         * sysdeps/s390/s390-32/configure.in: ... here.
7423         * sysdeps/s390/s390-32/elf/configure: Delete file.
7424         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7425         * sysdeps/s390/s390-32/start.S: ... here.
7427         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7428         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7429         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7430         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7431         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7432         * sysdeps/s390/s390-64/setjmp.S: ... here.
7433         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7434         * sysdeps/s390/s390-64/configure.in: ... here
7435         * sysdeps/s390/s390-64/elf/configure: Delete file.
7436         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7437         * sysdeps/s390/s390-64/start.S: ... here.
7438         * sysdeps/s390/s390-64/elf/configure: Delete.
7440         * configure.in: Remove support for elf directories in sysdeps.
7442         * configure: Regenerated.
7443         * sysdeps/i386/configure: Regenerated.
7444         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7445         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7446         * sysdeps/s390/s390-32/configure: Regenerated.
7447         * sysdeps/s390/s390-64/configure: Regenerated.
7448         * sysdeps/sh/configure: Regenerated.
7449         * sysdeps/sparc/configure: Regenerated.
7450         * sysdeps/x86_64/configure: Regenerated.
7452 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
7454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7456         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7457         denormal result into account.
7459 2012-03-25  Roland McGrath  <roland@hack.frob.com>
7461         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7462         Reported by Allan McRae <allan@archlinux.org>.
7464 2012-03-23  Jeff Law  <law@redhat.com>
7466         * nss/getnssent.c (__nss_getent): Fix typo.
7468 2012-03-23  David S. Miller  <davem@davemloft.net>
7470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7472 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
7474         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7475         to pad to uint64_t for each field.
7476         (dl_tls_index): Replace unsigned long with uint64_t.
7478 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
7479         Paul Pluzhnikov  <ppluzhnikov@google.com>
7481         [BZ #6528]
7482         * grp/Makefile (otherlibs): Don't set it.
7483         * inet/Makefile (otherlibs): Likewise.
7484         * login/Makefile (otherlibs): Likewise.
7485         * nscd/Makefile (otherlibs): Likewise.
7486         * posix/Makefile (otherlibs): Likewise.
7487         * pwd/Makefile (otherlibs): Likewise.
7488         * rt/Makefile (otherlibs): Likewise.
7489         * sunrpc/Makefile (otherlibs): Likewise.
7490         * nss/Makefile (otherlibs): Likewise.
7491         Add libnss_files to routines and static-only-routines.
7492         ($(objpfx)getent): Remove rule.
7493         * resolv/Makefile: Add libnss_dns and libresolv to routines and
7494         static-only-routines.
7496 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
7498         [BZ #13892]
7499         * math/s_cexp.c: Include <float.h>.
7500         (__cexp): Handle exp result overflowing not necessarily
7501         overflowing both real and imaginary parts of result.
7502         * math/s_cexpf.c: Likewise.
7503         * math/s_cexpl.c: Likewise.
7504         * math/libm-test.inc (cexp_test): Add more tests.
7505         * sysdeps/i386/fpu/libm-test-ulps: Update.
7506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7508 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7510         * include/link.h (ELFW): New macro.
7511         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7512         Replace ELF64_R_TYPE with ELFW(R_TYPE).
7514 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7516         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7517         with uint64_t.
7519 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7521         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7522         declaration.
7523         (struct La_x32_retval): Likewise.
7525 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7527         * sysdeps/x86_64/preconfigure.in: New file.
7528         * sysdeps/x86_64/preconfigure: New generated file.
7530 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
7532         [BZ #13824]
7533         * math/e_exp2l.c: Include <float.h>.
7534         (__ieee754_exp2l): Handle overflow and underflow cases
7535         separately.  Only pass fractional part of argument to
7536         __ieee754_expl.
7537         * math/libm-test.inc (exp2_test): Add more tests.
7539         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7540         negating x to take absolute value.
7541         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7542         Likewise.
7543         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7544         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7545         Likewise.
7546         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7547         computing low part if x was negated.
7548         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7550 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7552         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7553         la_x32_gnu_pltexit.
7554         (pltexit): Cast int_retval to ptrdiff_t.
7555         * elf/tst-auditmod3b.c: Likewise.
7556         * elf/tst-auditmod4b.c: Likewise.
7557         * elf/tst-auditmod5b.c: Likewise.
7558         * elf/tst-auditmod6b.c: Likewise.
7559         * elf/tst-auditmod6c.c: Likewise.
7560         * elf/tst-auditmod7b.c: Likewise.
7562         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7563         and x32_gnu_pltexit.
7565         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7566         __ELF_NATIVE_CLASS.
7567         (La_x32_regs): New macro.
7568         (La_x32_retval): Likewise.
7569         (la_x32_gnu_pltenter): New function prototype.
7570         (la_x32_gnu_pltexit): Likewise.
7572 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
7574         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7575         exponent.
7577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7579         * configure.in (libc_cv_cc_nofma): Check for option to disable
7580         generation of FMA instructions.
7581         * configure: Regenerate.
7582         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7583         * sysdeps/ieee754/dbl-64/Makefile: New file.
7584         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7585         Remove brandred-fma4.
7586         (CFLAGS-brandred-fma4.c): Remove.
7587         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7588         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7589         define.
7590         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7591         define.
7593 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7595         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7596         LLONG_MAX != LONG_MAX.
7597         (_itoa_word): Use _ITOA_WORD_TYPE on value.
7598         (_fitoa_word): Likewise.
7599         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7600         LLONG_MAX != LONG_MAX.
7601         * stdio-common/_itowa.h: Include <_itoa.h>.
7602         (_itowa_word): Use _ITOA_WORD_TYPE on value.
7603         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
7604         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
7605         only if not defined.
7606         (_ITOA_WORD_TYPE): Likewise.
7607         (_itoa_word): Use _ITOA_WORD_TYPE on value.
7608         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7610 2012-03-21  David S. Miller  <davem@davemloft.net>
7612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7614 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7616         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7617         of x86_64 when setting libc_cv_slibdir, libdir and
7618         libc_cv_localedir.
7619         * sysdeps/unix/sysv/linux/configure: Regenerated.
7621 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7623         * manual/lang.texi (Old Varargs): Remove section.
7624         (How Variadic): Update menu.
7625         (va_start): Do not mention varargs.h.
7627 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7628             Joseph Myers  <joseph@codesourcery.com>
7630         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7631         link test.
7632         * configure: Regenerated.
7634 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7636         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7637         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7638         conformtest.pl
7640 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7642         * NOTES: Remove.
7643         * Makefile (files-for-dist): Remove NOTES.
7644         (NOTES): Remove rule.
7645         * README: Don't refer to NOTES.
7646         * manual/creature.texi: Don't include macros.texi.
7647         * manual/intro.texi (creature.texi): Remove comment referring to
7648         NOTES.
7650         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7651         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7652         * configure: Regenerated.
7653         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7654         LIBC_TRY_CC_OPTION.
7655         (libc_cv_as_i686): Likewise.
7656         (libc_cv_cc_avx): Likewise.
7657         (libc_cv_cc_sse2avx): Likewise.
7658         (libc_cv_cc_fma4): Likewise.
7659         (libc_cv_cc_novzeroupper): Likewise.
7660         * sysdeps/i386/configure: Regenerated.
7662         [BZ #13883]
7663         * sysdeps/i386/fpu/s_cexp.S: Remove.
7664         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7665         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7666         * math/libm-test.inc (cexp_test): Add more tests.
7667         * sysdeps/i386/fpu/libm-test-ulps: Update.
7668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7670 2012-03-21  Allan McRae  <allan@archlinux.org>
7672         * timezone/Makefile: Do not install iso3166.tab and zone.tab
7674 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7676         [BZ #13871]
7677         * math/w_exp2.c: Do not include <float.h>.
7678         (o_threshold, u_threshold): Remove.
7679         (__exp2): Calculate result before checking finiteness and calling
7680         __kernel_standard.
7681         * math/w_exp2f.c: Likewise.
7682         * math/w_exp2l.c: Likewise.
7683         * math/libm-test.inc (exp2_test): Require overflow exception for
7684         1e6 input.
7686         [BZ #3866]
7687         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7688         range of signed 64-bit integers before using fistpll.  Remove
7689         checks for whether integers fit in mantissa bits.
7690         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7691         the range of signed 32-bit integers before using fistpl.  Remove
7692         checks for whether integers fit in mantissa bits.
7693         * sysdeps/i386/fpu/e_powl.S (p64): New object.
7694         (__ieee754_powl): Test for y outside the range of signed 64-bit
7695         integers before using fistpll.  Reduce 64-bit values to 63-bit
7696         ones as needed.
7697         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7698         divide-by-zero is raised for zero to large negative powers.
7699         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7700         (__ieee754_powl): Test for y outside the range of signed 64-bit
7701         integers before using fistpll.  Reduce 64-bit values to 63-bit
7702         ones as needed.
7703         * math/libm-test.inc (pow_test): Add more tests.
7705 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7707         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7708         <stdio-common/_itoa.h>.
7709         * debug/segfault.c: Likewise.
7710         * elf/dl-cache.c: Likewise.
7711         * elf/dl-minimal.c: Likewise.
7712         * elf/dl-misc.c: Likewise.
7713         * elf/dl-sysdep.c: Likewise.
7714         * elf/dl-version.c: Likewise.
7715         * elf/rtld.c: Likewise.
7716         * hurd/hurdsock.c: Likewise.
7717         * hurd/lookup-retry.c: Likewise.
7718         * malloc/malloc.c: Likewise.
7719         * malloc/mtrace.c: Likewise.
7720         * nscd/nscd_getgr_r.c: Likewise.
7721         * nscd/nscd_getpw_r.c: Likewise.
7722         * nscd/nscd_getserv_r.c: Likewise.
7723         * posix/getopt_init.c: Likewise.
7724         * posix/wordexp.c: Likewise.
7725         * stdio-common/_itoa.c: Likewise.
7726         * stdio-common/printf_fphex.c: Likewise.
7727         * stdio-common/vfprintf.c: Likewise.
7728         * string/_strerror.c: Likewise.
7729         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7730         * sysdeps/i386/i686/hp-timing.h: Likewise.
7731         * sysdeps/mach/_strerror.c: Likewise.
7732         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7733         * sysdeps/mach/hurd/sethostid.c: Likewise.
7734         * sysdeps/mach/hurd/xmknodat.c: Likewise.
7735         * sysdeps/mach/xpg-strerror.c: Likewise.
7736         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7737         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7738         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7739         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7740         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7741         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7742         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7743         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7744         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7745         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7746         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7747         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7748         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7749         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7750         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7751         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7752         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7753         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7754         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7755         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7756         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7758         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7760         * stdio-common/_itoa.h: Moved to ...
7761         * sysdeps/generic/_itoa.h: Here.
7763         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7765         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7766         instead of "_itoa.h" and "_itowa.h".
7767         * stdio-common/vfprintf.: Likewise.
7769 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7771         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7772         <bits/wordsize.h>.
7773         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7774         (__signbit): Likwise.
7775         (llrintf): Likwise.
7776         (llrint): Likwise.
7778 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7780         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7781         __WORDSIZE != 64.
7783 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
7785         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7786         OVERFLOW_EXCEPTION_OK.
7787         * math/libm-test.inc ("Philosophy"): Update comment about
7788         exception testing.
7789         (OVERFLOW_EXCEPTION): Define.
7790         (OVERFLOW_EXCEPTION_OK): Likewise.
7791         (INVALID_EXCEPTION_OK): Renumber.
7792         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7793         (IGNORE_ZERO_INF_SIGN): Likewise.
7794         (test_exceptions): Handle FE_OVERFLOW.
7795         (exp10_test): Expect overflow exceptions.
7796         (exp2_test): Likewise.
7797         (expm1_test): Likewise.
7798         (nextafter_test): Likewise.
7799         (pow_test): Likewise.
7800         (scalbn_test): Likewise.
7801         (scalbln_test): Likewise.
7803 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7805         * sysdeps/x86_64/bits/atomic.h
7806         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7807         64bit integer.
7808         (atomic_exchange_acq): Likewise.
7809         (__arch_exchange_and_add_body): Likewise.
7810         (__arch_add_body): Likewise.
7811         (atomic_add_negative): Likewise.
7812         (atomic_add_zero): Likewise.
7814 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7816         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7817         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7819 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7821         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7822         Check __x86_64__ instead of __WORDSIZE.
7824 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7826         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7828 2012-03-19  David S. Miller  <davem@davemloft.net>
7830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7832         * sysdeps/sparc/fpu/fenv_private.h: New file.
7833         * sysdeps/sparc/fpu/math_private.h: Use it.
7834         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7835         Remove.
7836         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7837         (libc_feholdexcept_setroundl): Remove.
7838         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7839         Remove.
7840         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7841         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7843 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7845         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7846         int64_t instead of long int.
7847         (INSERT_WORDS64): Likwise.
7849 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7851         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7852         _Unwind_GetCFA return to _Unwind_Ptr first.
7854 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
7856         [BZ #13629]
7857         * math/s_clog.c: Include <float.h>.
7858         (__clog): Scale large or subnormal inputs.
7859         * math/s_clogf.c: Likewise.
7860         * math/s_clogl.c: Likewise.
7861         * math/s_clog10.c: Include <float.h>.
7862         (M_LOG10_2): Define.
7863         (__clog10): Scale large or subnormal inputs.
7864         * math/s_clog10f.c: Likewise.
7865         * math/s_clog10l.c: Likewise.
7866         * math/libm-test.inc (clog_test): Add more tests.
7867         (clog10_test): Likewise.
7868         * sysdeps/i386/fpu/libm-test-ulps: Update.
7869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7871         [BZ #11451]
7872         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7873         x and y.
7874         * math/libm-test.inc (atan2_test): Add another test.
7876         * Makerules (common-objdir-compile): Remove.
7877         * sysdeps/unix/Makefile (config-generated): Do not add
7878         $(unix-generated) to variable.
7879         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7880         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7881         Remove rule.
7882         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7883         Likewise.
7884         [generic bits/local_lim.h] (before-compile): Do not append to
7885         variable.
7886         [generic bits/local_lim.h] (common-generated): Likewise.
7887         [generic sys/param.h] (before-compile): Do not append to variable.
7888         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7889         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7890         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7891         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7892         include.
7893         [generic sys/param.h] (sys/param.h-includes): Remove variable.
7894         [generic sys/param.h] (sys/param.h-includes): Remove rule.
7895         [generic sys/param.h] ($(addprefix
7896         $(common-objpfx),$(sys/param.h-includes))): Likewise.
7897         [generic sys/param.h] (common-generated): Do not append to
7898         variable.
7899         [generic sys/param.h] (sysdep_headers): Likewise.
7900         [generic bits/errno.h] (before-compile): Do not append to
7901         variable.
7902         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7903         rule.
7904         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7905         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7906         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7907         [generic bits/errno.h] (common-generated): Do not append to
7908         variable.
7909         [generic bits/ioctls.h] (before-compile): Do not append to
7910         variable.
7911         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7912         rule.
7913         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7914         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7915         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7916         rule.
7917         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7918         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7919         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7920         [generic bits/ioctls.h] (common-generated): Do not append to
7921         variable.
7922         [generic sys/syscall.h] (syscall.h): Remove variable.
7923         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7924         rule.
7925         [generic sys/syscall.h] (before-compile): Do not append to
7926         variable.
7927         [generic sys/syscall.h] (common-generated): Likewise.
7928         * sysdeps/unix/errnos-tmpl.c: Remove file.
7929         * sysdeps/unix/errnos.awk: Likewise.
7930         * sysdeps/unix/ioctls-tmpl.c: Likewise.
7931         * sysdeps/unix/ioctls.awk: Likewise.
7932         * sysdeps/unix/mk-local_lim.c: Likewise.
7933         * sysdeps/unix/snarf-ioctls: Likewise.
7935 2012-03-19  Richard Henderson  <rth@twiddle.net>
7937         * sysdeps/i386/fpu/fenv_private.h: New file.
7938         * sysdeps/i386/fpu/math_private.h: Use it.
7939         (math_opt_barrier, math_force_eval): Remove.
7940         (libc_feholdexcept_setround_53bit): Remove.
7941         (libc_feupdateenv_53bit): Remove.
7942         * sysdeps/x86_64/fpu/math_private.h: Likewise.
7943         (math_opt_barrier, math_force_eval): Remove.
7944         (libc_feholdexcept): Remove.
7945         (libc_feholdexcept_setround): Remove.
7946         (libc_fetestexcept, libc_fesetenv): Remove.
7947         (libc_feupdateenv_test): Remove.
7948         (libc_feupdateenv, libc_feholdsetround): Remove.
7949         (libc_feresetround): Remove.
7951         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7952         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7954         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7955         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7956         (libc_feupdateenv_testl): New.
7957         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7958         (libc_feupdateenv_testf): New.
7959         (libc_feupdateenv): Use libc_feupdateenv_test.
7960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7961         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7963         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7964         (libc_feholdsetroundf, libc_feholdsetroundl): New.
7965         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7966         (libc_feresetround_noex): New.
7967         (libc_feresetround_noexf): New.
7968         (libc_feresetround_noexl): New.
7969         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7970         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7971         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7972         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7973         SET_RESTORE_ROUND.
7974         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7975         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7976         (__cos): Likewise.
7977         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7978         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7979         SET_RESTORE_ROUND_NOEX.
7980         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7981         SET_RESTORE_ROUND_NOEXF.
7982         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7983         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7984         (libc_feholdsetroundf): New.
7985         (libc_feresetround, libc_feresetroundf): New.
7987         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7988         (libc_feholdexcept_setround_53bit): Convert from macro to function.
7989         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
7991         * sysdeps/generic/math_private.h: Include <fenv.h>.
7992         (default_libc_feholdexcept): New.
7993         (default_libc_feholdexcept_setround): New.
7994         (default_libc_fesetenv, default_libc_feupdateenv): New.
7995         (libc_feholdexcept): Only define if undefined.
7996         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7997         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7998         (libc_feholdexcept_setroundl): Likewise.
7999         (libc_feholdexcept_setround_53bit): Likewise.
8000         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8001         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8002         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8003         (libc_feupdateenv_53bit): Likewise.
8004         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8005         (libc_feholdexcept): Convert from macro to inline function.
8006         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8007         (libc_fesetenv, libc_feupdateenv): Likewise.
8009         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8010         not previously defined.
8011         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8012         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8013         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8014         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8015         * sysdeps/ieee754/flt-32/math_private.h: New file.
8016         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8017         math_private.h below SET_FLOAT_WORD.
8018         (__isnan, __isinf_ns, __finite): Remove.
8019         (__isnanf, __isinf_nsf, __finitef): Remove.
8021 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
8023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8025 2012-03-17  David S. Miller  <davem@davemloft.net>
8027         [BZ #6471]
8028         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8029         for 2.16.
8031 2012-03-16  David S. Miller  <davem@davemloft.net>
8033         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8034         warnings.
8036         [BZ #6471]
8037         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8038         properly.
8039         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8040         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8041         sysdep_routines when subdir is sysvipc.
8042         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8043         __getshmlba helper.
8045         * sysdeps/sparc/fpu/libm-test/ulps: Update.
8047 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8049         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8050         [__LP64__].
8052 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8054         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8055         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8056         (__lround): Renamed to ...
8057         (__llround): This.  Replace long int with long long int.
8058         Define lround functions as aliases of llround functions.
8059         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8061 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8063         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8064         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
8065         adresses to uintptr_t.  Replace "long int" and "unsigned long
8066         int" with "greg_t" on va_arg.
8068 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8070         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8071         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8073         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8074         Move e_machine check before EI_CLASS check.  Handle x32
8075         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8076         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8077         SKIP_EM_IA_64 and include
8078         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8080         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8081         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8082         (add_system_dir): New macro.
8084         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8085         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8087 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
8089         [BZ #2551]
8090         [BZ #2552]
8091         [BZ #2553]
8092         [BZ #2554]
8093         [BZ #2562]
8094         [BZ #2563]
8095         [BZ #2565]
8096         [BZ #2566]
8097         [BZ #2576]
8098         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8099         (y0): Likewise.
8100         * math/w_j0f.c (j0f): Likewise.
8101         (y0f): Likewise.
8102         * math/w_j0l.c (__j0l): Likewise.
8103         (__y0l): Likewise.
8104         * math/w_j1.c (j1): Likewise.
8105         (y1): Likewise.
8106         * math/w_j1f.c (j1f): Likewise.
8107         (y1f): Likewise.
8108         * math/w_j1l.c (__j1l): Likewise.
8109         (__y1l): Likewise.
8110         * math/w_jn.c (jn): Likewise.
8111         (yn): Likewise.
8112         * math/w_jnf.c (jnf): Likewise.
8113         (ynf): Likewise.
8114         * math/w_jnl.c (__jnl): Likewise.
8115         (__ynl): Likewise.
8116         * math/libm-test.inc (j0_test): Add more tests.
8117         (j1_test): Likewise.
8118         (jn_test): Likewise.  Add trailing semicolon to existing test.
8119         (y0_test): Likewise.
8120         (y1_test): Likewise.
8121         * sysdeps/i386/fpu/libm-test-ulps: Update.
8122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8124         [BZ #13851]
8125         [BZ #13854]
8126         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8127         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8128         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8129         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8130         (__tanl): Set errno for infinite argument.
8131         * sysdeps/i386/fpu/mptan.c: Remove.
8132         * sysdeps/i386/fpu/s_tan.S: Likewise.
8133         * sysdeps/i386/fpu/s_tanl.S: Likewise.
8134         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8135         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8136         * math/libm-test.inc (tan_test): Add more tests and enable more
8137         tests for double and long double.
8138         * sysdeps/i386/fpu/libm-test-ulps: Update.
8139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8141 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
8143         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8144         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8146 2012-03-16  Roland McGrath  <roland@hack.frob.com>
8148         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8149         * configure.in: Use it for both main tree and add-ons.
8150         * configure: Regenerated.
8152 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8154         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8156 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
8158         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8159         in comment.
8161         [BZ #13851]
8162         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8163         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8164         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8165         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8166         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8167         infinite argument.
8168         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8169         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8170         != 0 for prec == 2.
8171         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8172         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8173         * sysdeps/i386/fpu/s_cosl.S: Likewise.
8174         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8175         * sysdeps/i386/fpu/s_sinl.S: Likewise.
8176         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8177         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8178         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8179         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8180         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8181         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8182         * math/libm-test.inc (cos_test): Add more tests and enable more
8183         tests for long double.
8184         (sin_test): Likewise.
8185         (sincos_test): Likewise.
8186         * sysdeps/i386/fpu/libm-test-ulps: Update.
8187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8189 2012-03-16  David S. Miller  <davem@davemloft.net>
8191         * sysdeps/sparc/fpu/math_private.h: New file.
8193 2012-03-15  David S. Miller  <davem@davemloft.net>
8195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8196         file.
8197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8199         file.
8200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8205         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8206         sysdep routines.
8207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8209         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8210         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8212         * sysdeps/sparc/sparc-ifunc.h: New file.
8213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8214         sparc-ifunc.h
8215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8217         Likewise.
8218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8219         Likewise.
8220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8224         Likewise.
8225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8230         Likewise.
8231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8232         Likewise.
8233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8237         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8238         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8239         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8240         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8249         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8250         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8251         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8252         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8253         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8254         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8255         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8256         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8258 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
8260         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8261         scaling.
8262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8264 2012-03-15  Andreas Jaeger  <aj@suse.de>
8266         [BZ #13852]
8267         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8268         ieee754/flt-32 implementation for sin, cos and sincos.
8269         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8270         * sysdeps/i386/fpu/s_cosf.S: Likewise.
8271         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8272         * sysdeps/i386/fpu/s_sinf.S: Likewise.
8273         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8274         ieee754/flt-32 implementation for tan.
8276         * math/libm-test.inc (cos_test): Enable some large input tests for
8277         float as well
8278         (sin_test): Likewise.
8279         (sincos_test): Likewise.
8280         (tan_test): Add tests for large input.
8282         * sysdeps/i386/fpu/libm-test-ulps: Update.
8284 2012-03-15  Andreas Jaeger  <aj@suse.de>
8286         [BZ #13658]
8287         * math/libm-test.inc (cos_test): Add more test cases.
8288         (sin_test): Likewise.
8289         (sincos_test): Likewise.
8291 2012-03-15  Andreas Jaeger  <aj@suse.de>
8293         [BZ #13837]
8294         * math/libm-test.inc (cos_test): Add a test case for large input
8295         value.
8296         (sin_test): Likewise.
8297         (sincos_test): Likewise.
8299 2012-03-15  Andreas Jaeger  <aj@suse.de>,
8300         Joseph Myers  <joseph@codesourcery.com>
8302         [BZ #13658]
8303         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8304         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8305         * sysdeps/i386/fpu/branred.c: Likewise.
8306         * sysdeps/i386/fpu/dosincos.c: Likewise.
8307         * sysdeps/i386/fpu/mpa.c: Likewise.
8308         * sysdeps/i386/fpu/s_cos.S: Likewise.
8309         * sysdeps/i386/fpu/s_sin.S: Likewise.
8310         * sysdeps/i386/fpu/s_sincos.S: Likewise.
8311         * sysdeps/i386/fpu/sincos32.c: Likewise.
8313         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8314         Define.
8315         (libc_feupdateenv_53bit): Define.
8316         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8317         Define.
8318         (libc_feupdateenv_53bit): Define.
8320         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8321         53 bit (without extend i386 double precision).
8323         * math/libm-test.inc (sincos_test): Add tests for large input.
8324         (sin): Likewise.
8325         (cos): Likewise.
8327         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8329 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
8331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8333 2012-03-15  David S. Miller  <davem@davemloft.net>
8335         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8336         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8337         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8338         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8348         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8349         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8351         file.
8352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8354         file.
8355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8357         file.
8358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8360         file.
8361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8362         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8363         fmin/fmax sysdep routines.
8364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8366 2012-03-14  David S. Miller  <davem@davemloft.net>
8368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8370         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8372         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8373         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8374         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8375         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8377         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8378         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8386         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8387         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8388         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8389         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8390         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8391         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8392         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8393         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8394         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8395         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8396         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8397         routines.
8398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8399         file.
8400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8402         file.
8403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8405         file.
8406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8408         file.
8409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8411         file.
8412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8414         file.
8415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8416         file.
8417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8418         file.
8419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8420         file.
8421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8422         New file.
8423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8424         file.
8425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8426         file.
8427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8429         file.
8430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8432         file.
8433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8435         file.
8436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8438         VIS3 routines.
8440         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8441         New file.
8443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8445         * sysdeps/sparc/configure.in: New file.
8446         * sysdeps/sparc/configure: Generate.
8447         * configure.in (libc_cv_sparc_as_vis3): Substitute.
8448         * configure: Regenerate.
8449         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8450         * config.make.in (have-as-vis3): New.
8451         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8452         available use -Av9d instead of -Av9a.
8453         * sysdeps/sparc/sparc64/Makefile: Likewise.
8454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8456         New file.
8457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8458         file.
8459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8460         New file.
8461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8462         file.
8463         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8464         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8465         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8466         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8467         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8469         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8470         fzeros/fnegs to load 0x80000000 into a float register instead of
8471         using the stack.
8472         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8474 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
8476         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8477         bits/syscall.h.
8478         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8479         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8480         ($(inst_includedir)/bits/syscall.h): Remove rule.
8481         ($(objpfx)bits/syscall.d): Include instead of
8482         $(objpfx)syscall-list.d.
8483         (generated): Change syscall-list.h and syscall-list.d to
8484         bits/syscall.h and bits/syscall.d.
8486 2012-03-14  Roland McGrath  <roland@hack.frob.com>
8488         [BZ #13846]
8489         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8491 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
8493         [BZ #13841]
8494         * math/s_csqrt.c: Include <float.h>.
8495         (__csqrt): Scale large or subnormal inputs.
8496         * math/s_csqrtf.c: Likewise.
8497         * math/s_csqrtl.c: Likewise.
8498         * math/libm-test.inc (csqrt_test): Add more tests.
8499         * sysdeps/i386/fpu/libm-test-ulps: Update.
8500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8502         [BZ #13840]
8503         * math/libm-test.inc (hypot_test): Add more tests.
8505 2012-03-13  David S. Miller  <davem@davemloft.net>
8507         [BZ #13840]
8508         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8509         double-precision for the calculation instead of scaling.
8511 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
8513         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8514         manipulate bits before adding and subtracting TWO52[sx].
8515         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8516         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8517         Likewise.
8518         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8520 2012-03-13  David S. Miller  <davem@davemloft.net>
8522         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8523         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8524         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8525         rtld-global-offsets.h
8526         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8528         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8529         large parameters.
8531         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8533         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8534         'err' in the ifdef scope in which it is actually used.
8536         * nss/nss_db/db-init.c: Include string.h
8538 2012-03-12  David S. Miller  <davem@davemloft.net>
8540         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8541         masking out of the most significant byte of random value used.
8542         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8543         Fix coding style in previous change.
8545         * sysdeps/unix/sysv/linux/kernel-features.h
8546         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8547         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8548         expression.
8549         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8550         later.
8552 2012-03-11  David S. Miller  <davem@davemloft.net>
8554         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8555         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8556         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8557         for 'resultvar' otherwise things get truncated on 64-bit.
8559         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8560         Fix masking out of the most significant byte of random value used.
8562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8564 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
8566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8568 2012-03-09  David S. Miller  <davem@davemloft.net>
8570         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8571         variables with appropriate CPP guards.
8572         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8573         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
8574         on resulting framesize and the management of the outregs buffer for pltexit.
8575         Preserve floating point return values across _dl_call_pltexit call.
8576         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8577         framesize and the management of the outregs buffer for pltexit.
8578         Preserve floating point return values across _dl_call_pltexit
8579         call.
8580         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8581         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8582         (print_exit): Fix format string for return register value.
8584 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
8586         * sunrpc/Makefile (others): Add rpcgen.
8587         ($(objpfx)rpcgen): Remove special build rule and dependency on
8588         libc.
8589         * sunrpc/rpcgen.c: New file.
8591 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
8593         [BZ #13673]
8594         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8595         * stdio-common/bug-vfprintf-nargs.c: Likewise.
8596         * sysdeps/i386/crti.S: Likewise.
8597         * sysdeps/i386/crtn.S: Likewise.
8598         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8599         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8600         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8601         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8602         * sysdeps/sh/crti.S: Likewise.
8603         * sysdeps/sh/crtn.S: Likewise.
8604         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8606         [BZ #13673]
8607         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8608         with URL.
8609         * locale/programs/locfile-kw.gperf: Likewise.
8610         * locale/programs/charmap-kw.h: Regenerated.
8611         * locale/programs/locfile-kw.h: Likewise.
8613         [BZ #13673]
8614         * intl/plural.y: Replace FSF snail mail address with URL.
8615         * intl/plural.c: Regenerated.
8617 2012-03-09  Richard Henderson  <rth@twiddle.net>
8619         * include/math_private.h: Remove file.
8620         * math/math_private.h: Move file ...
8621         * sysdeps/generic/math_private.h: ... here.
8623         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8624         * sysdeps/powerpc/fpu/math_private.h: Likewise.
8625         * sysdeps/x86_64/fpu/math_private.h: Likewise.
8627         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8628         and <math_private.h>.
8629         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8630         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8631         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8632         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8633         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8634         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8635         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8636         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8637         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8638         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8639         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8640         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8641         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8642         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8643         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8644         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8645         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8646         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8647         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8648         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8649         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8650         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8651         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8652         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8653         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8654         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8655         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8656         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8657         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8658         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8659         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8660         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8661         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8662         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8663         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8664         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8665         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8666         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8667         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8668         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8669         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8670         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8671         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8672         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8673         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8674         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8675         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8676         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8677         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8678         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8679         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8680         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8681         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8682         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8683         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8684         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8685         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8686         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8687         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8688         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8689         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8690         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8691         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8692         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8693         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8694         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8695         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8696         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8697         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8698         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8699         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8700         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8701         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8702         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8703         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8704         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8706         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8707         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8708         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8709         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8710         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8711         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8712         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8713         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8714         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8715         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8716         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8717         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8718         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8719         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8720         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8721         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8722         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8723         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8724         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8725         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8726         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8727         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8729         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8730         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8731         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8732         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8733         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8734         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8735         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8736         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8737         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8738         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8739         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8740         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8741         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8742         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8743         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8744         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8745         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8746         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8747         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8748         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8749         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8750         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8751         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8752         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8753         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8754         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8755         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8756         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8757         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8758         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8759         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8760         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8761         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8762         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8763         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8764         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8765         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8766         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8767         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8768         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8769         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8770         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8771         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8772         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8773         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8774         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8775         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8776         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8777         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8778         * sysdeps/ieee754/k_standard.c: Likewise.
8779         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8780         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8781         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8782         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8783         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8784         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8785         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8786         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8787         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8788         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8789         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8790         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8791         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8792         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8793         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8794         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8795         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8796         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8797         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8798         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8799         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8800         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8801         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8802         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8803         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8804         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8805         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8806         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8807         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8808         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8809         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8810         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8811         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8812         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8813         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8814         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8815         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8816         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8817         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8818         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8819         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8820         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8821         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8822         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8823         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8824         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8825         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8826         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8827         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8828         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8829         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8830         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8831         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8832         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8833         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8834         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8835         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8836         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8837         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8838         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8839         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8840         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8841         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8842         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8843         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8844         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8845         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8846         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8847         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8848         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8849         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8851         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8852         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8853         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8854         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8855         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8856         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8857         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8858         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8859         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8860         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8861         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8862         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8863         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8864         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8865         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8866         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8867         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8868         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8869         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8870         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8871         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8872         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8873         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8874         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8875         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8876         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8877         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8878         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8879         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8880         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8881         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8882         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8883         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8884         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8885         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8886         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8887         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8888         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8889         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8890         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8891         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8892         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8893         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8894         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8895         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8896         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8897         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8898         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8899         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8900         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8901         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8902         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8903         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8904         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8905         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8906         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8907         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8908         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8909         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8910         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8911         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8912         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8913         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8914         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8915         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8916         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8917         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8918         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8919         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8920         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8921         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8922         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8923         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8924         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8925         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8926         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8927         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8928         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8929         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8930         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8931         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8932         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8933         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8934         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8935         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8936         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8937         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8938         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8939         * sysdeps/ieee754/s_lib_version.c: Likewise.
8940         * sysdeps/ieee754/s_matherr.c: Likewise.
8941         * sysdeps/ieee754/s_signgam.c: Likewise.
8942         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8943         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8944         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8945         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8946         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8947         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8948         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8949         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8950         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8951         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8952         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8953         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8954         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8955         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8956         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8957         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8958         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8959         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8960         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8961         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8962         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8964 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
8966         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8967         * sunrpc/rpc_main.c: Likewise.
8968         * sunrpc/rpc_svcout.c: Likewise.
8970 2012-03-09  David S. Miller  <davem@davemloft.net>
8972         * include/math_private.h: New file.
8974 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
8976         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8977         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8978         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8979         from <bits/socket_type.h>.
8980         (enum __socket_type): Don't define here.
8981         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8982         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8983         bits/socket_type.h.
8985         [BZ #13566]
8986         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8987         checking __USE_GNU.
8989         * Makerules ($(inst_includedir)/%.h): New rule.
8990         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8991         (install-others): Remove variable setting.
8992         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8994 2012-03-08  Richard Henderson  <rth@twiddle.net>
8996         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8997         from macro to inline function; merge with the
8998         !__LIBC_INTERNAL_MATH_INLINES version.
8999         (__ieee754_sqrtf): Likewise.
9001         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9002         to inline function.
9003         (__rintf, __floor, __floorf): Likewise.
9005         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9006         macro to inline function.
9007         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9009         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9010         not <math/math_private.h>.
9012 2012-03-08  David S. Miller  <davem@davemloft.net>
9014         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9015         copyright year.
9016         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9018 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
9020         * resolv/gai_misc.c (handle_requests): Fix struct timespec
9021         normalization.
9022         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9023         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9025 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
9027         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
9028         be defined individually, they must be defined as a block.  Define
9029         S for printing a string instead of hidint the different by using a
9030         macro for adding the 'l'.
9031         * stdio-common/tst-fphex-wide.c: Adjust.
9033 2012-03-07  Marek Polacek  <polacek@redhat.com>
9035         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9037 2012-03-08  Marek Polacek  <polacek@redhat.com>
9039         [BZ #13806]
9040         * stdio-common/Makefile (tests): Add tst-fphex-wide.
9041         * stdio-common/tst-fphex.c: Define a few macros to make the
9042         test reusable.  Use them.
9043         * stdio-common/tst-fphex-wide.c: New file.
9045 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
9047         [BZ #6911]
9048         * manual/macros.texi (gnusystems): New macro.
9049         (nongnusystems): Likewise.
9050         (gnulinuxhurdsystems): Likewise.
9051         (gnuhurdsystems): Likewise..
9052         (gnulinuxsystems): Likewise.
9053         * manual/charset.texi: Use new macros or @theglibc{} to refer to
9054         variants of the GNU system, not "GNU system".
9055         * manual/conf.texi: Likewise.
9056         * manual/errno.texi: Likewise.  Update example of errno macro
9057         expansion.
9058         * manual/filesys.texi: Likewise.
9059         (getumask): Document as specific to GNU/Hurd.
9060         * manual/install.texi: Likewise.  Reword some references to
9061         GNU/Linux.
9062         * manual/intro.texi: Likewise.
9063         * manual/io.texi: Likewise.
9064         (File Name Portability): Detail which constraints are inapplicable
9065         to all GNU systems and which are only inapplicable to GNU/Hurd.
9066         * manual/job.texi: Likewise.
9067         * manual/llio.texi: Likewise.
9068         (O_NOCTTY): Document as present on GNU/Linux.
9069         * manual/maint.texi: Likewise.
9070         * manual/memory.texi: Likewise.
9071         * manual/pattern.texi: Likewise.
9072         * manual/pipe.texi: Likewise.
9073         * manual/process.texi: Likewise.
9074         * manual/resource.texi: Likewise.
9075         (RUSAGE_CHILDREN): Remove statement about specifying a particular
9076         child on GNU/Hurd.
9077         * manual/setjmp.texi: Likewise.
9078         * manual/signal.texi: Likewise.
9079         * manual/startup.texi: Likewise.
9080         * manual/stdio.texi: Likewise.
9081         * manual/terminal.texi: Likewise.
9082         (ONLCR): Document as POSIX.
9083         (OXTABS): Document availability on GNU/Linux as XTABS.
9084         (ONOEOT): Document availability separately from other bits.
9085         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9086         * manual/time.texi: Likewise.
9087         * manual/users.texi: Likewise.
9088         * INSTALL: Regenerated.
9089         * sysdeps/gnu/errlist.c: Regenerated.
9091         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9092         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9093         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
9094         puts.
9095         * configure: Regenerated.
9097 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
9099         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9100         default includes instead of AC_HEADER_CHECK.
9101         * sysdeps/i386/configure: Regenerated.
9103         [BZ #10716]
9104         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9105         * math/s_cacoshf.c (__cacoshf): Likewise.
9106         * math/s_cacoshl.c (__cacoshl): Likewise.
9107         * math/s_casinh.c (__casinh): Set signs of result from argument.
9108         * math/s_casinhf.c (__casinhf): Likewise.
9109         * math/s_casinhl.c (__casinhl): Likewise.
9110         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9111         (casinh_test): Add more tests.
9112         * sysdeps/i386/fpu/libm-test-ulps: Update.
9113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9115 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
9117         * po/zh_TW.po: Update from translation team.
9119         * login/Makefile (distribute): Remove variable.
9120         * catgets/Makefile: Likewise.
9121         * mach/Makefile: Likewise.
9122         * malloc/Makefile: Likewise.
9123         * misc/Makefile: Likewise.
9124         * iconv/Makefile: Likewise.
9125         * nscd/Makefile: Likewise.
9126         * hurd/Makefile: Likewise.
9127         * manual/Makefile: Likewise.
9128         * locale/Makefile: Likewise.
9129         * intl/Makefile: Likewise.
9130         * conform/Makefile: Likewise.
9131         * nss/Makefile: Likewise.
9132         * time/Makefile: Likewise.
9133         * soft-fp/Makefile: Likewise.
9134         * dirent/Makefile: Likewise.
9135         * gmon/Makefile: Likewise.
9136         * po/Makefile: Likewise.
9137         * rt/Makefile: Likewise.
9138         * socket/Makefile: Likewise.
9139         * math/Makefile: Likewise.
9140         * signal/Makefile: Likewise.
9141         * debug/Makefile: Likewise.
9142         * elf/Makefile: Likewise.
9143         * timezone/Makefile: Likewise.
9144         * stdlib/Makefile: Likewise.
9145         * iconvdata/Makefile: Likewise.
9146         * sunrpc/Makefile: Likewise.
9147         * io/Makefile: Likewise.
9148         * argp/Makefile: Likewise.
9149         * inet/Makefile: Likewise.
9150         * hesiod/Makefile: Likewise.
9151         * grp/Makefile: Likewise.
9152         * csu/Makefile: Likewise.
9153         * wctype/Makefile: Likewise.
9154         * crypt/Makefile: Likewise.
9155         * libio/Makefile: Likewise.
9156         * string/Makefile: Likewise.
9157         * nis/Makefile: Likewise.
9158         * resolv/Makefile: Likewise.
9159         * stdio-common/Makefile: Likewise.
9160         * wcsmbs/Makefile: Likewise.
9161         * dlfcn/Makefile: Likewise.
9162         * posix/Makefile: Likewise.
9164         [BZ #6959]
9165         * timezone/Makefile: Don't install timezone files, just the programs
9166         and scripts.
9168 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
9170         * nss/databases.def: Add missing gshadow entry.
9172         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
9174 2012-03-06  Marek Polacek  <polacek@redhat.com>
9176         [BZ #13726]
9177         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9178         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9179         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9180         * stdio-common/tst-long-dbl-fphex.c: New file.
9182 2012-03-06  David S. Miller  <davem@davemloft.net>
9184         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9185         (set_obp_int): New function.
9186         (get_obp_int): New function.
9187         (__get_clockfreq_via_dev_openprom): Likewise.
9188         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9189         Avoid unused variable warnings on 'val' and use builtin_expect.
9190         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9191         __builtin_expect.
9192         (INLINE_CLONE_SYSCALL): Likewise.
9194 2012-03-05  David S. Miller  <davem@davemloft.net>
9196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9198 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
9200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9202         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9203         only for |x| >= 40.
9204         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9206 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
9208         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9209         Replace gettimeofday with __vdso_gettimeofday.
9211         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9212         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9213         __vdso_clock_gettime and __vdso_getcpu.
9215         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9216         time with __vdso_time.
9218 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
9220         * manual/lang.texi (size_t): Note types to which size_t may be
9221         equivalent with the GNU C Library, but do not describe when
9222         differences between them are significant.
9224 2012-03-05  Andreas Jaeger  <aj@suse.de>
9226         * sysdeps/i386/fpu/libm-test-ulps: Update.
9228 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
9230         [BZ #3976]
9231         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9232         (__ieee754_pow): Save and restore rounding mode and use
9233         round-to-nearest for main computations.
9234         * math/libm-test.inc (pow_test_tonearest): New function.
9235         (pow_test_towardzero): Likewise.
9236         (pow_test_downward): Likewise.
9237         (pow_test_upward): Likewise.
9238         (main): Call the new functions.
9239         * sysdeps/i386/fpu/libm-test-ulps: Update.
9240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9242         [BZ #3976]
9243         * math/libm-test.inc (cosh_test_tonearest): New function.
9244         (cosh_test_towardzero): Likewise.
9245         (cosh_test_downward): Likewise.
9246         (cosh_test_upward): Likewise.
9247         (sinh_test_tonearest): Likewise.
9248         (sinh_test_towardzero): Likewise.
9249         (sinh_test_downward): Likewise.
9250         (sinh_test_upward): Likewise.
9251         (main): Call the new functions.
9252         * sysdeps/i386/fpu/libm-test-ulps: Update.
9253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9255 2012-03-05  Tom de Vries  <tom@codesourcery.com>
9257         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9258         default stack guard is set in last bytes.
9259         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9261 2012-03-05  Kees Cook  <keescook@chromium.org>
9263         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9265         [BZ #13656]
9266         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9267         possibly allocate from heap instead of stack.
9268         * stdio-common/bug-vfprintf-nargs.c: New file.
9269         * stdio-common/Makefile (tests): Add nargs overflow test.
9271 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
9273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9275 2012-03-03  Marek Polacek  <polacek@redhat.com>
9277         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9278         * math/math_private.h: Likewise.
9279         * stdlib/tst-strtod.c: Likewise.
9280         * sysdeps/i386/i486/bits/atomic.h: Likewise.
9281         * sysdeps/x86_64/bits/atomic.h: Likewise.
9283 2012-03-02  David S. Miller  <davem@davemloft.net>
9285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9289         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9290         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9291         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9292         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9294 2012-03-02  Roland McGrath  <roland@hack.frob.com>
9296         [BZ #13792]
9297         * manual/examples/README: New file, says the example source files
9298         can be used under GPL>=2.
9299         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9300         line containing just "*/".
9301         * manual/examples/add.c: Add copyright header (GPL>=2).
9302         * manual/examples/argp-ex1.c: Likewise.
9303         * manual/examples/argp-ex2.c: Likewise.
9304         * manual/examples/argp-ex3.c: Likewise.
9305         * manual/examples/argp-ex4.c: Likewise.
9306         * manual/examples/atexit.c: Likewise.
9307         * manual/examples/db.c: Likewise.
9308         * manual/examples/dir.c: Likewise.
9309         * manual/examples/dir2.c: Likewise.
9310         * manual/examples/execinfo.c: Likewise.
9311         * manual/examples/filecli.c: Likewise.
9312         * manual/examples/filesrv.c: Likewise.
9313         * manual/examples/fmtmsgexpl.c: Likewise.
9314         * manual/examples/genpass.c: Likewise.
9315         * manual/examples/inetcli.c: Likewise.
9316         * manual/examples/inetsrv.c: Likewise.
9317         * manual/examples/isockad.c: Likewise.
9318         * manual/examples/longopt.c: Likewise.
9319         * manual/examples/memopen.c: Likewise.
9320         * manual/examples/memstrm.c: Likewise.
9321         * manual/examples/mkfsock.c: Likewise.
9322         * manual/examples/mkisock.c: Likewise.
9323         * manual/examples/mygetpass.c: Likewise.
9324         * manual/examples/pipe.c: Likewise.
9325         * manual/examples/popen.c: Likewise.
9326         * manual/examples/rprintf.c: Likewise.
9327         * manual/examples/search.c: Likewise.
9328         * manual/examples/select.c: Likewise.
9329         * manual/examples/setjmp.c: Likewise.
9330         * manual/examples/sigh1.c: Likewise.
9331         * manual/examples/sigusr.c: Likewise.
9332         * manual/examples/stpcpy.c: Likewise.
9333         * manual/examples/strdupa.c: Likewise.
9334         * manual/examples/strftim.c: Likewise.
9335         * manual/examples/strncat.c: Likewise.
9336         * manual/examples/subopt.c: Likewise.
9337         * manual/examples/swapcontext.c: Likewise.
9338         * manual/examples/termios.c: Likewise.
9339         * manual/examples/testopt.c: Likewise.
9340         * manual/examples/testpass.c: Likewise.
9341         * manual/examples/timeval_subtract.c: Likewise.
9343         [BZ #13792]
9344         * manual/time.texi (Elapsed Time): Move timeval_subtract example
9345         function to ...
9346         * manual/timeval_subtract.c.texi: ... here, new file.
9348 2012-03-02  David S. Miller  <davem@davemloft.net>
9350         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9352 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
9354         [BZ #3976]
9355         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9356         (__sin): Save and restore rounding mode and use round-to-nearest
9357         for all computations.
9358         (__cos): Save and restore rounding mode and use round-to-nearest
9359         for all computations.
9360         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9361         <fenv.h>.
9362         (tan): Save and restore rounding mode and use round-to-nearest for
9363         all computations.
9364         * math/libm-test.inc (cos_test_tonearest): New function.
9365         (cos_test_towardzero): Likewise.
9366         (cos_test_downward): Likewise.
9367         (cos_test_upward): Likewise.
9368         (sin_test_tonearest): Likewise.
9369         (sin_test_towardzero): Likewise.
9370         (sin_test_downward): Likewise.
9371         (sin_test_upward): Likewise.
9372         (tan_test_tonearest): Likewise.
9373         (tan_test_towardzero): Likewise.
9374         (tan_test_downward): Likewise.
9375         (tan_test_upward): Likewise.
9376         (main): Call the new functions.
9377         * sysdeps/i386/fpu/libm-test-ulps: Update.
9378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9380         [BZ #10135]
9381         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9382         small n, then large n, before computing and testing k+n.
9383         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9384         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9385         Likewise.
9386         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9387         Likewise.
9388         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9389         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9390         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9391         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9392         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9393         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9394         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9395         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9396         * math/libm-test.inc (scalbn_test): Add more tests.
9397         (scalbln_test): Likewise.
9399         * manual/filesys.texi (mode_t): Describe constraints on size and
9400         signedness, not exact equivalence to a particular type.
9401         (ino_t): Likewise.
9402         (ino64_t): Likewise.
9403         (dev_t): Likewise.
9404         (nlink_t): Likewise.
9405         (blkcnt_t): Likewise.
9406         (blkcnt64_t): Likewise.
9407         * manual/llio.texi (off_t): Likewise.
9409         [BZ #3976]
9410         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9411         (__ieee754_exp): Save and restore rounding mode and use
9412         round-to-nearest for all computations.
9413         * math/libm-test.inc (exp_test_tonearest): New function.
9414         (exp_test_towardzero): Likewise.
9415         (exp_test_downward): Likewise.
9416         (exp_test_upward): Likewise.
9417         (main): Call the new functions.
9418         * sysdeps/i386/fpu/libm-test-ulps: Update.
9419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9421 2012-03-01  Chris Demetriou  <cgd@google.com>
9423         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9424         have predictable order.
9426 2012-03-01  David S. Miller  <davem@davemloft.net>
9428         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9430         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9431         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9432         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9433         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9435         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9436         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9437         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9439         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9440         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9441         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9442         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9443         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9447         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9448         * sysdeps/sparc/fpu/libm-test-ulps: to here.
9449         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9451         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9452         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9453         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9454         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9455         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9456         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9457         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9458         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9459         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9460         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9461         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9462         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9463         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9464         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9465         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9466         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9467         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9468         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9469         * sysdeps/sparc/elf/configure: Regenerated.
9471 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
9473         * configure.in (AS, LD): Require binutils 2.20 or later.
9474         * configure: Regenerated.
9475         * manual/install.texi (Tools for Compilation): Give binutils 2.20
9476         as required minimum version.
9477         * INSTALL: Regenerated.
9479         [BZ #2541]
9480         [BZ #4108]
9481         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9482         before squaring exponent.
9483         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9484         bottom long double and 27 bits of top long double before squaring
9485         exponent.
9486         * math/libm-test.inc (erfc_test): Add more tests.
9487         * sysdeps/i386/fpu/libm-test-ulps: Update.
9488         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9491 2012-03-01  Kai Tietz  <ktietz@redhat.com>
9493         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9494         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9495         containing bit-fields.
9496         * soft-fp/extended.h (_FP_UNION_E): Likewise.
9497         * soft-fp/single.h (_FP_UNION_S): Likewise.
9498         * soft-fp/double.h (_FP_UNION_D): Likewise.
9500 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
9502         [BZ #13786]
9503         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9504         not include ../strcmp.S.
9505         [USE_AS_STRNCASECMP_L]: Likewise.
9506         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9507         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9508         * sysdeps/i386/i686/multiarch/strncase_l-c.c
9509         (__strncasecmp_l_ia32): Define as alias to
9510         __strncasecmp_l_nonascii.
9512         [BZ #5794]
9513         * math/libm-test.inc (expm1_test): Add test for bug 5794.
9514         * sysdeps/i386/fpu/libm-test-ulps: Update.
9515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9517         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9520 2012-02-29  Jeff Law  <law@redhat.com>
9522         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9523         out of bounds read.
9525 2012-02-29  Marek Polacek  <polacek@redhat.com>
9527         [BZ #13706]
9528         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9529         * elf/Makefile: Add rules to run tst-unused-dep.out.
9531 2012-02-28  David S. Miller  <davem@davemloft.net>
9533         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9534         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9535         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9536         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9537         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9538         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9540 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
9542         * math/libm-test.inc (llround_test): Move one test from
9543         lround_test.  Use TEST_f_L in moved test.
9544         (lround_test): Move misplaced test to llround_test.  Add testcase
9545         from bug 2561.
9547 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
9549         * sysdeps/x86_64/fpu/e_expf.S: New file.
9550         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9552 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
9554         [BZ #13637]
9555         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9556         of remain_len that may cause incomplete multi-byte character and
9557         false match.
9558         * posix/bug-regex33.c: New file.
9559         * posix/Makefile (tests): Add bug-regex33.
9561 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
9563         * manual/macros.texi: New file.
9564         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9565         * manual/libc.texinfo: Include macros.texi.
9566         * manual/creatute.texi: Likewise.
9567         * manual/install.texi: Likewise.
9568         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9569         @glibcadj{} in references to the GNU C Library.
9570         * manual/charset.texi: Likewise.
9571         * manual/conf.texi: Likewise.
9572         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
9573         when not using those macros.
9574         * manual/creature.texi: Likewise.
9575         * manual/crypt.texi: Likewise.
9576         * manual/errno.texi: Likewise.
9577         * manual/filesys.texi: Likewise.
9578         * manual/header.texi: Likewise.
9579         * manual/install.texi: Likewise.
9580         * manual/intro.texi: Likewise.
9581         * manual/io.texi: Likewise.
9582         * manual/job.texi: Likewise.
9583         * manual/lang.texi: Likewise.
9584         * manual/libc.texiinfo: Likewise.
9585         * manual/llio.texi: Likewise.
9586         * manual/locale.texi: Likewise.
9587         * manual/maint.texi: Likewise.
9588         * manual/math.texi: Likewise.
9589         * manual/memory.texi: Likewise.
9590         * manual/message.texi: Likewise.
9591         * manual/nss.texi: Likewise.
9592         * manual/pattern.texi: Likewise.
9593         * manual/process.texi: Likewise.
9594         * manual/resource.texi: Likewise.
9595         * manual/search.texi: Likewise.
9596         * manual/setjmp.texi: Likewise.
9597         * manual/signal.texi: Likewise.
9598         * manual/socket.texi: Likewise.
9599         * manual/startup.texi: Likewise.
9600         * manual/stdio.texi: Likewise.
9601         * manual/string.texi: Likewise.
9602         * manual/sysinfo.texi: Likewise.
9603         * manual/syslog.texi: Likewise.
9604         * manual/terminal.texi: Likewise.
9605         * manual/time.texi: Likewise.
9606         * manual/users.texi: Likewise.
9607         * INSTALL: Regenerated.
9608         * NOTES: Regenerated.
9609         * sysdeps/gnu/errlist.c: Regenerated.
9611 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
9613         * include/dirent.h: Include <dirstream.h> before
9614         <dirent/dirent.h>.
9616 2012-02-28  David S. Miller  <davem@davemloft.net>
9618         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9619         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9620         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9621         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9623 2012-02-27  David S. Miller  <davem@davemloft.net>
9625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9627         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9628         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9631         frame pointer instead of stack pointer relative arg slot.
9632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9633         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9634         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9636 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
9638         [BZ #3992]
9639         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9641 2012-02-27  David S. Miller  <davem@davemloft.net>
9643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9647         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9648         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9649         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9650         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9652 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
9654         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9655         later.  Allow versions 5-9.
9656         * configure: Regenerated.
9657         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9658         required minimum version and 4.6 as recommended version.  Do not
9659         mention bugs in GCC 2.7 and 2.8.
9660         * INSTALL: Regenerated.
9662 2012-02-27  David S. Miller  <davem@davemloft.net>
9664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9668         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9669         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9670         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9671         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9673         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9674         manipulate bits before adding and subtracting TWO112[sx].
9675         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9677 2012-02-27  Roland McGrath  <roland@hack.frob.com>
9679         [BZ #13775]
9680         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9681         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9682         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9683         being in POSIX, because they are in 1003.1-2008.
9685         * rt/tst-aio.c: Include <fcntl.h>.
9686         * rt/tst-aio7.c: Likewise.
9687         * rt/tst-aio64.c: Likewise.
9689         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9691 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
9693         * manual/install.texi (--with-headers): Describe headers as
9694         interface headers, not private headers.
9695         (Specific advice for GNU/Linux systems): Describe use of headers
9696         from "make headers_install", not private headers from older
9697         kernels.
9698         * INSTALL: Regenerated.
9699         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9700         Change to 2.6.19.
9701         * sysdeps/unix/sysv/linux/configure: Regenerated.
9703         * manual/llio.texi (fclean): Remove documentation.
9705         * manual/Makefile (libc-texi-generated): New variable.  Include
9706         version.texi.
9707         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9708         $(libc-texi-generated), not duplicated list of files.
9709         (version.texi, stamp-version): New rules.
9710         (realclean): Remove $(libc-texi-generated), not individual files
9711         from that list.  Do not remove dir-add.texinfo.
9712         * manual/libc.texinfo: Comment out uses of edition numbers and
9713         references to printed manual.  Remove last-updated dates.
9714         (EDITION): Comment out.
9715         (ISBN): Likewise.
9716         (VERSION, UPDATED): Remove.
9717         (version.texi): Include.
9719 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
9721         * sysdeps/posix/spawni.c: Include <signal.h>.
9722         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9723         * sysdeps/pthread/aio_fsync.c: Likewise.
9725 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
9727         * conform/Makefile (tests): Run only when not cross-compiling and
9728         when fast-check is not defined.
9730         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9731         * conform/data/limits.h-data: Fixes for POSIX2008.
9732         * conform/run-conformtest.sh: Run all tests.
9733         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9734         headers.
9735         * include/bits/dlfcn.h: Likewise.
9736         * include/langinfo.h: Likewise.
9737         * include/monetary.h: Likewise.
9738         * include/sys/poll.h: Likewise.
9740         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9741         for __USE_GNU.
9742         * posix/spawn.h: Define __need_sigset_t.
9743         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9744         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9745         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
9746         to get sigevent_t only.
9747         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9748         only for __USE_GNU.
9749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9750         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9751         process_vm_writev only for __USE_GNU.
9752         * termios/termios.h: Declare tcgetsid also for POSIX2008.
9754         * conform/Makefile: For now ignore errors from run-conformtest.
9755         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
9756         POSIX to avoid namespace pollution.  Don't prepend headers.
9757         * conform/data/aio.h-data: Fixes for POSIX testing.
9758         * conform/data/fcntl.h-data: Likewise.
9759         * conform/data/glob.h-data: Likewise.
9760         * conform/data/grp.h-data: Likewise.
9761         * conform/data/pthread.h-data: Likewise.
9762         * conform/data/pwd.h-data: Likewise.
9763         * conform/data/signal.h-data: Likewise.
9764         * conform/data/spawn.h-data: Likewise.
9765         * conform/data/stdio.h-data: Likewise.
9766         * conform/data/stdlib.h-data: Likewise.
9767         * conform/data/stropts.h-data: Likewise.
9768         * conform/data/sys/mman.h-data: Likewise.
9769         * conform/data/sys/stat.h-data: Likewise.
9770         * conform/data/sys/types.h-data: Likewise.
9771         * conform/data/sys/wait.h-data: Likewise.
9772         * conform/data/time.h-data: Likewise.
9773         * conform/data/unistd.h-data: Likewise.
9774         * conform/data/utime.h-data: Likewise.
9776         * io/sys/stat.h: fchmod was always in POSIX.
9777         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9778         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9779         * rt/aio.h: Define __need_timespec before including <time.h>.
9780         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9781         struct.  Add forward declaration of pthread_attr_t and use it in
9782         sigevent.
9783         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9784         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9785         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9786         always remove CLK_TCK definition.
9788 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
9790         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9792 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
9794         * conform/run-conformtest.sh: New file.
9795         * conform/Makefile: Run run-conformtest for tests.
9796         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
9797         support.
9799         * conform/data/uchar.h-data: New file.
9800         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9801         * conform/data/arpa/inet.h-data: Likewise.
9802         * conform/data/assert.h-data: Likewise.
9803         * conform/data/complex.h-data: Likewise.
9804         * conform/data/cpio.h-data: Likewise.
9805         * conform/data/ctype.h-data: Likewise.
9806         * conform/data/dirent.h-data: Likewise.
9807         * conform/data/dlfcn.h-data: Likewise.
9808         * conform/data/errno.h-data: Likewise.
9809         * conform/data/fcntl.h-data: Likewise.
9810         * conform/data/float.h-data: Likewise.
9811         * conform/data/fmtmsg.h-data: Likewise.
9812         * conform/data/fnmatch.h-data: Likewise.
9813         * conform/data/ftw.h-data: Likewise.
9814         * conform/data/glob.h-data: Likewise.
9815         * conform/data/grp.h-data: Likewise.
9816         * conform/data/iconv.h-data: Likewise.
9817         * conform/data/inttypes.h-data: Likewise.
9818         * conform/data/langinfo.h-data: Likewise.
9819         * conform/data/libgen.h-data: Likewise.
9820         * conform/data/limits.h-data: Likewise.
9821         * conform/data/locale.h-data: Likewise.
9822         * conform/data/math.h-data: Likewise.
9823         * conform/data/monetary.h-data: Likewise.
9824         * conform/data/mqueue.h-data: Likewise.
9825         * conform/data/ndbm.h-data: Likewise.
9826         * conform/data/net/if.h-data: Likewise.
9827         * conform/data/netdb.h-data: Likewise.
9828         * conform/data/netinet/in.h-data: Likewise.
9829         * conform/data/nl_types.h-data: Likewise.
9830         * conform/data/poll.h-data: Likewise.
9831         * conform/data/pthread.h-data: Likewise.
9832         * conform/data/pwd.h-data: Likewise.
9833         * conform/data/regex.h-data: Likewise.
9834         * conform/data/sched.h-data: Likewise.
9835         * conform/data/search.h-data: Likewise.
9836         * conform/data/semaphore.h-data: Likewise.
9837         * conform/data/setjmp.h-data: Likewise.
9838         * conform/data/signal.h-data: Likewise.
9839         * conform/data/spawn.h-data: Likewise.
9840         * conform/data/stdarg.h-data: Likewise.
9841         * conform/data/stdio.h-data: Likewise.
9842         * conform/data/stdlib.h-data: Likewise.
9843         * conform/data/string.h-data: Likewise.
9844         * conform/data/strings.h-data: Likewise.
9845         * conform/data/stropts.h-data: Likewise.
9846         * conform/data/sys/ipc.h-data: Likewise.
9847         * conform/data/sys/mman.h-data: Likewise.
9848         * conform/data/sys/msg.h-data: Likewise.
9849         * conform/data/sys/resource.h-data: Likewise.
9850         * conform/data/sys/select.h-data: Likewise.
9851         * conform/data/sys/sem.h-data: Likewise.
9852         * conform/data/sys/shm.h-data: Likewise.
9853         * conform/data/sys/socket.h-data: Likewise.
9854         * conform/data/sys/stat.h-data: Likewise.
9855         * conform/data/sys/statvfs.h-data: Likewise.
9856         * conform/data/sys/time.h-data: Likewise.
9857         * conform/data/sys/timeb.h-data: Likewise.
9858         * conform/data/sys/times.h-data: Likewise.
9859         * conform/data/sys/types.h-data: Likewise.
9860         * conform/data/sys/uio.h-data: Likewise.
9861         * conform/data/sys/un.h-data: Likewise.
9862         * conform/data/sys/utsname.h-data: Likewise.
9863         * conform/data/sys/wait.h-data: Likewise.
9864         * conform/data/syslog.h-data: Likewise.
9865         * conform/data/tar.h-data: Likewise.
9866         * conform/data/termios.h-data: Likewise.
9867         * conform/data/utime.h-data: Likewise.
9868         * conform/data/utmpx.h-data: Likewise.
9869         * conform/data/varargs.h-data: Likewise.
9870         * conform/data/wchar.h-data: Likewise.
9871         * conform/data/wctype.h-data: Likewise.
9872         * conform/data/wordexp.h-data: Likewise.
9874         * include/stropts.h: New file.
9875         * include/uchar.h: New file.
9876         * include/aio.h: Changes to allow conformtest.pl to use the headers.
9877         * include/assert.h: Likewise.
9878         * include/ctype.h: Likewise.
9879         * include/dirent.h: Likewise.
9880         * include/dlfcn.h: Likewise.
9881         * include/fcntl.h: Likewise.
9882         * include/fnmatch.h: Likewise.
9883         * include/glob.h: Likewise.
9884         * include/grp.h: Likewise.
9885         * include/libio.h: Likewise.
9886         * include/locale.h: Likewise.
9887         * include/math.h: Likewise.
9888         * include/net/if.h: Likewise.
9889         * include/netdb.h: Likewise.
9890         * include/netinet/in.h: Likewise.
9891         * include/pthread.h: Likewise.
9892         * include/pwd.h: Likewise.
9893         * include/regex.h: Likewise.
9894         * include/sched.h: Likewise.
9895         * include/search.h: Likewise.
9896         * include/setjmp.h: Likewise.
9897         * include/signal.h: Likewise.
9898         * include/stdio.h: Likewise.
9899         * include/stdlib.h: Likewise.
9900         * include/string.h: Likewise.
9901         * include/sys/cdefs.h: Likewise.
9902         * include/sys/mman.h: Likewise.
9903         * include/sys/msg.h: Likewise.
9904         * include/sys/resource.h: Likewise.
9905         * include/sys/select.h: Likewise.
9906         * include/sys/socket.h: Likewise.
9907         * include/sys/stat.h: Likewise.
9908         * include/sys/statvfs.h: Likewise.
9909         * include/sys/time.h: Likewise.
9910         * include/sys/times.h: Likewise.
9911         * include/sys/uio.h: Likewise.
9912         * include/sys/utsname.h: Likewise.
9913         * include/sys/wait.h: Likewise.
9914         * include/termios.h: Likewise.
9915         * include/time.h: Likewise.
9916         * include/ulimit.h: Likewise.
9917         * include/unistd.h: Likewise.
9918         * include/utime.h: Likewise.
9919         * include/wchar.h: Likewise.
9920         * include/wctype.h: Likewise.
9921         * include/wordexp.h: Likewise.
9923         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9925         * time/time.h: TIME_UTC must be a macro.
9926         Make timespec_get available for ISO C11 only as well.
9928 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
9930         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9931         Reported by Peng Haitao <penght@cn.fujitsu.com>.
9933 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9935         * configure.in: Use -o not -a in test for unsupported multi-arch.
9937 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9939         * manual/texinfo.tex: Update to version 2012-01-19.16.
9941 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9943         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9945 2012-02-24  Roland McGrath  <roland@hack.frob.com>
9947         [BZ #13738]
9948         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9949         * manual/fdl-1.3.texi: New file.
9950         * manual/fdl-1.1.texi: File removed.
9952         [BZ #13738]
9953         * manual/libc.texinfo (FDL_VERSION): New @set.
9954         Use it for mention of FDL in cover text.
9955         (Documentation License): Use it in @include file name.
9957 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9958             Roland McGrath  <roland@hack.frob.com>
9960         [BZ #5461]
9961         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9962         not LONG_LONG_MAX and LONG_LONG_MIN.
9963         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9964         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
9965         name.
9966         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9968 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9970         [BZ #2547]
9971         [BZ #11365]
9972         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9973         manipulate bits before adding and subtracting TWO23[sx].
9974         * math/libm-test.inc (nearbyint_test): Add more tests.
9976 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9978         [BZ #2548]
9979         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9980         bits before adding and subtracting TWO23[sx].
9981         * math/libm-test.inc (rint_test): Add more tests.
9982         (rint_test_tonearest): Likewise.
9983         (rint_test_towardzero): Likewise.
9984         (rint_test_downward): Likewise.
9985         (rint_test_upward: Likewise.
9987 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9989         [BZ #10110]
9990         * include/stdc-predef.h: New file.  Extracted from features.h.
9991         * include/features.h: Include stdc-predef.h.
9992         * Makefile (headers): Add stdc-predef.h.
9993         * CONFORMANCE (Compiler limitations): Update.
9995 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9997         * manual/libc.texinfo (VERSION, UPDATED): Revert.
9999 2012-02-21  David S. Miller  <davem@davemloft.net>
10001         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10002         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10004 2012-02-20  David S. Miller  <davem@davemloft.net>
10006         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10007         using a normal save/restore sequence, rather than allocating a
10008         dummy stack frame just to store a frame pointer and restore.
10009         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10011 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10013         * manual/install.texi: Fix stray word in line-wrapped comment.
10015 2012-02-20  David S. Miller  <davem@davemloft.net>
10017         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10018         both binutils and gcc support GOTDATA.
10020         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10021         "rd %pc" in the PIC register setup sequences.
10023         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10024         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10025         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10026         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10027         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10028         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10029         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10030         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10032         (SYSCALL_ERROR_HANDLER): Likewise.
10033         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10034         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10035         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10036         (SYSCALL_ERROR_HANDLER): Likewise.
10038         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10039         (HAVE_GCC_GOTDATA): New.
10040         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10041         relocation support in both binutils and gcc.
10042         * sysdeps/sparc/elf/configure: Regenerate.
10044         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10045         * sysdeps/sparc/sparc32/elf/configure: Delete.
10046         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10047         * sysdeps/sparc/sparc64/elf/configure: Delete.
10048         * sysdeps/sparc/elf/configure.in: New file.
10049         * sysdeps/sparc/elf/configure: Generate.
10051         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10052         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10053         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10054         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10055         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10057 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10059         * manual/install.texi: Do not mention specific glibc version
10060         numbers.
10061         * manual/libc.texinfo (VERSION, UPDATED): Update.
10062         (@copying): Use @copyright{} and range of years.
10064 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
10066         [BZ #13695]
10067         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10068         [crti.S not in sysdirs] (generated): Do not append.
10069         [crti.S not in sysdirs] (omit-deps): Likewise.
10070         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10071         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10072         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10073         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10074         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10075         Likewise.
10076         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10077         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10078         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10079         * csu/defs.awk: Remove file.
10080         * sysdeps/generic/initfini.c: Likewise.
10081         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10082         variable.
10083         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10084         Likewise.
10086 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10088         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10089         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10090         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10091         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10092         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10093         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10094         <bits/epoll.h>.
10095         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10096         (__EPOLL_PACKED): Define to empty if not defined by
10097         <bits/epoll.h>.
10098         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10100         bits/epoll.h.
10102 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10104         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10105         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10106         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10107         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10108         <bits/timerfd.h>.
10109         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10111         bits/timerfd.h.
10113 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
10115         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10116         in C locale.
10117         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10118         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10119         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10122 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
10124         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10125         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10127 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
10129         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10130         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10131         defined.
10132         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10133         Likewise.
10134         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10135         entry for 2.16.
10137 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
10139         * math/w_acos.c: Use non-signaling floating-point comparisons.
10140         * math/w_acosf.c: Likewise.
10141         * math/w_acosh.c: Likewise.
10142         * math/w_acoshf.c: Likewise.
10143         * math/w_acoshl.c: Likewise.
10144         * math/w_acosl.c: Likewise.
10145         * math/w_asin.c: Likewise.
10146         * math/w_asinf.c: Likewise.
10147         * math/w_asinl.c: Likewise.
10148         * math/w_atanh.c: Likewise.
10149         * math/w_atanhf.c: Likewise.
10150         * math/w_atanhl.c: Likewise.
10151         * math/w_exp2.c: Likewise.
10152         * math/w_exp2f.c: Likewise.
10153         * math/w_exp2l.c: Likewise.
10154         * math/w_j0.c: Likewise.
10155         * math/w_j0f.c: Likewise.
10156         * math/w_j0l.c: Likewise.
10157         * math/w_j1.c: Likewise.
10158         * math/w_j1f.c: Likewise.
10159         * math/w_j1l.c: Likewise.
10160         * math/w_jn.c: Likewise.
10161         * math/w_jnf.c: Likewise.
10162         * math/w_log.c: Likewise.
10163         * math/w_log10.c: Likewise.
10164         * math/w_log10f.c: Likewise.
10165         * math/w_log10l.c: Likewise.
10166         * math/w_log2.c: Likewise.
10167         * math/w_log2f.c: Likewise.
10168         * math/w_log2l.c: Likewise.
10169         * math/w_logf.c: Likewise.
10170         * math/w_logl.c: Likewise.
10171         * math/w_sqrt.c: Likewise.
10172         * math/w_sqrtf.c: Likewise.
10173         * math/w_sqrtl.c: Likewise.
10174         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10175         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10176         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10177         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10178         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10180 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10182         [BZ #9739]
10183         * manual/string.texi (strnlen): Use correct parameter name in
10184         equivalent expression.
10186 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10188         [BZ #11174]
10189         * manual/users.texi (seteuid): Consistently use neweuid for
10190         argument name.
10192 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
10194         [BZ #13704]
10195         * manual/nss.texi (Services in the NSS configuration): Correct
10196         list of services in example configuration file.
10198 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
10200         [BZ #11322]
10201         * manual/arith.texi: Remove statements about negative zero
10202         behaving identically to zero.
10204 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
10206         [BZ #5993]
10207         * manual/install.texi: Do not document upgrading from libc5.
10209 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
10211         [BZ #4596]
10212         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10214 2012-02-18  David S. Miller  <davem@davemloft.net>
10216         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10217         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10218         %o7 across the call.
10219         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10220         instead.
10221         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10222         SETUP_PIC_REG_LEAF.
10223         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10224         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10225         * sysdeps/sparc/crtn.S: Likewise.
10227 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
10229         * aout/Makefile: Remove.
10231 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
10233         [BZ #13058]
10234         * manual/examples/argp-ex1.c (main): Format definition in GNU
10235         style.
10236         * manual/examples/argp-ex2.c (main): Likewise.
10237         * manual/examples/argp-ex3.c (main): Likewise.
10238         * manual/examples/argp-ex4.c (main): Likewise.
10239         * manual/examples/longopt.c (main): Use new-style prototype
10240         definition.
10241         * manual/examples/strncat.c (main): Specify return type and use
10242         (void) for arguments.
10243         * manual/examples/subopt.c (main): Use char **argv argument.
10245 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10247         [BZ #5077]
10248         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10249         rounding modes.
10251 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
10253         [BZ #6907]
10254         * manual/string.texi (strchr): Change when strchrnul is
10255         recommended.
10257 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
10259         [BZ #174]
10260         * manual/locale.texi (setlocale): Document LOCPATH.
10262 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10264         [BZ #10210]
10265         * manual/process.texi (execle): Move @dots{} before last argument.
10267 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
10269         [BZ #12047]
10270         * manual/charset.texi (Generic Charset Conversion): Fix typo
10271         (LC_TYPE -> LC_CTYPE).
10273 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
10275         [BZ #5805]
10276         * manual/arith.texi (scalbn): Use @var{} on parameter names.
10277         (scalbnf): Likewise.
10278         (scalbnl): Likewise.
10279         (scalbln): Likewise.
10280         (scalblnf): Likewise.
10281         (scalblnl): Likewise.
10282         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10283         (vwarnx): Likewise.
10284         (verr): Likewise.
10285         (verrx): Likewise.
10286         * manual/filesys.texi (telldir): Use braces around return type.
10287         * manual/llio.texi (mmap): Add space after comma.
10288         (mmap64): Likewise.
10289         * manual/math.texi (jn): Use @var{} on parameter names.
10290         (jnf): Likewise.
10291         (jnl): Likewise.
10292         (yn): Likewise.
10293         (ynf): Likewise.
10294         (ynl): Likewise.
10295         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10296         line.
10297         * manual/resource.texi (ulimit): Use @dots{} instead of literal
10298         "...".
10299         (sched_get_priority_min): Remove semicolon on @deftypefun line.
10300         (sched_get_priority_max): Likewise.
10301         * manual/signal.texi (sigvec): Add space after comma.
10302         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10303         names.
10304         (if_indextoname): Likewise.
10305         (if_freenameindex): Likewise.
10306         (sendto): Use ',' instead of '.' in prototype.
10307         * manual/startup.texi (syscall): Use @dots{} instead of literal
10308         "...".
10309         * manual/stdio.texi (__fpending): Separate initial words of
10310         paragraph from @deftypefun line.
10311         * manual/syslog.texi (syslog): Use @dots{} instead of literal
10312         "...".
10313         (vsyslog): Use @var{} on parameter names.
10314         * manual/terminal.texi (stty): Use @var{} on parameter names.
10315         * manual/users.texi (getutmp): Use @var{} on parameter names.
10316         (getutmpx): Likewise.
10318 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10320         [BZ #6884]
10321         * manual/stdio.texi (fopen): Fix typos in description of
10322         ",ccs=STRING".
10324 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
10326         [BZ #4026]
10327         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10328         get clock_id definition.
10330 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
10332         [BZ #4822]
10333         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10334         (madvise): Cast every argument to void on its own.
10336 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10338         [BZ #9902]
10339         * manual/startup.texi (Exit Status): Fix typo.
10341 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
10343         [BZ #10140]
10344         * manual/examples/argp-ex1.c: Include <stdlib.h>.
10345         * manual/examples/argp-ex2.c: Likewise.
10346         * manual/examples/argp-ex3.c: Likewise.
10348 2012-02-16  Richard Henderson  <rth@redhat.com>
10350         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10351         * sysdeps/s390/s390-32/initfini.c: Remove.
10352         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10353         * sysdeps/s390/s390-64/initfini.c: Remove.
10355 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10357         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10358         compiler output for sysdeps/generic/initfini.c.
10359         * sysdeps/sh/elf/initfini.c: Remove file.
10361 2012-02-16  David S. Miller  <davem@davemloft.net>
10363         [BZ #11494]
10364         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10366         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10367         * sysdeps/sparc/crti.S: New file.
10368         * sysdeps/sparc/crtn.S: New file.
10369         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10370         * sysdeps/sparc/sparc64/Makefile: Likewise.
10372 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
10374         [BZ #3335]
10375         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10377 2012-02-15  Roland McGrath  <roland@hack.frob.com>
10379         [BZ #4822]
10380         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10382         * mach/devstream.c (cookie_io_functions_t): Macro removed.
10383         (write, read, close): Likewise.
10384         Patch by Aurelien Jarno <aurelien@aurel32.net>.
10386 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
10388         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10389         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10390         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10391         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10392         <bits/signalfd.h>.
10393         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10394         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10395         bits/signalfd.h.
10397 2012-02-14  Marek Polacek  <polacek@redhat.com>
10399         * sysdeps/x86_64/crti.S: New file.
10400         * sysdeps/x86_64/crtn.S: New file.
10401         * sysdeps/x86_64/elf/initfini.c: Remove file.
10403 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
10405         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10406         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10407         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10408         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10409         <bits/inotify.h>.
10410         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10412         bits/inotify.h.
10414 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
10416         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10417         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10418         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10419         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10420         <bits/eventfd.h>.
10421         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10423         bits/eventfd.h.
10425 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
10427         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10428         __feraiseexcept instead of feraiseexcept.
10430         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10431         nanosleep invocations.
10432         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10433         strings, and add error checking for a nanosleep invocations.
10435 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
10437         Replace FSF snail mail address with URLs, as per GNU coding standards.
10438         Most of the snail mail addresses were wrong anyway, and omitting
10439         them makes the source code easier to maintain.  Almost all of the
10440         changes are to license notices and to locale LC_IDENTIFICATION
10441         addresses, except for this one:
10442         * manual/libc.texinfo: In "Published by", give the FSF's URL,
10443         not its snail mail address.
10445 2012-02-09  Richard Henderson  <rth@twiddle.net>
10447         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10448         of kernel-features.h.
10450         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10452 2012-02-08  Marek Polacek  <polacek@redhat.com>
10454         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10455         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10456         * sysdeps/gnu/_G_config.h: Likewise.
10457         * sysdeps/generic/_G_config.h: Likewise.
10459 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
10461         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10462         tests.
10463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10465         * sysdeps/powerpc/powerpc32/crti.S: New file.
10466         * sysdeps/powerpc/powerpc32/crtn.S: New file.
10467         * sysdeps/powerpc/powerpc64/crti.S: New file.
10468         * sysdeps/powerpc/powerpc64/crtn.S: New file.
10470         * Makeconfig (have-initfini): Don't set.
10471         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10472         * configure.in (nopic_initfini): Don't substitute.
10473         * config.h.in (HAVE_INITFINI): Don't #undef.
10474         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10475         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10477 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
10479         Support crti.S and crtn.S provided directly by architectures.
10480         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10481         [crti.S in sysdirs] (omit-deps): Likewise.
10482         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10483         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10484         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10485         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10486         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10487         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10488         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10489         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10490         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10491         compiler output for sysdeps/generic/initfini.c.
10492         * sysdeps/i386/elf/Makefile: Remove file.
10493         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10495 2012-02-07  Marek Polacek  <polacek@redhat.com>
10497         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10498         * sysdeps/gnu/_G_config.h: Likewise.
10499         * sysdeps/mach/hurd/_G_config.h: Likewise.
10501 2012-02-07  Marek Polacek  <polacek@redhat.com>
10503         * math/Makefile (tests): Add tst-CMPLX2.
10504         * math/tst-CMPLX2.c: New file.
10506 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
10508         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10510         * math/libm-test.inc (jn_test): Add missing L suffix.
10512 2012-02-06  Marek Polacek  <polacek@redhat.com>
10514         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10515         * sysdeps/i386/fpu/e_powf.S: Likewise.
10516         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10517         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10518         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10519         * sysdeps/i386/fpu/e_pow.S: Likewise.
10520         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10521         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10522         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10523         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10524         * sysdeps/i386/fpu/e_log2.S: Likewise.
10525         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10526         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10527         * sysdeps/i386/fpu/e_powl.S: Likewise.
10528         * sysdeps/i386/fpu/s_log1p.S: Likewise.
10529         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10530         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10531         * sysdeps/i386/fpu/e_logl.S: Likewise.
10532         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10533         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10534         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10535         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10536         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10537         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10538         * sysdeps/i386/fpu/e_log.S: Likewise.
10539         * sysdeps/i386/fpu/s_cexp.S: Likewise.
10540         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10541         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10542         * sysdeps/i386/fpu/e_logf.S: Likewise.
10543         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10544         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10545         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10546         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10547         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10548         * sysdeps/i386/fpu/e_log10.S: Likewise.
10549         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10550         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10551         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10552         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10553         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10554         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10555         * sysdeps/i386/asm-syntax.h: Likewise.
10556         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10557         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10558         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10559         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10560         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10561         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10562         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10563         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10564         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10565         * sysdeps/powerpc/sysdep.h: Likewise.
10566         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10567         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10569 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
10571         [BZ #411]
10572         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10574 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
10576         * sysdeps/i386/sysdep.h: Include <features.h>.
10577         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10578         version.
10580 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
10582         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10583         Define.
10584         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10585         LOAD_PIC_REG_STR.
10587 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
10589         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10590         (SETUP_PIC_REG): Use GET_PC_THUNK.
10591         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10592         macro.
10594 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
10596         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10597         for non-PIC compilation.
10598         (SETUP_PIC_REG): Add .p2align directive.
10599         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10600         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10601         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10602         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10603         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10604         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10605         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10606         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10607         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10608         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10609         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10610         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10611         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10612         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10613         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10614         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10615         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10616         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10617         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10618         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10619         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10620         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10621         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10622         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10623         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10624         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10625         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10626         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10627         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10628         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10629         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10630         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10631         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10632         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10633         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10634         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10635         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10636         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10637         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10638         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10639         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10641 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
10643         * math/tst-CMPLX.c: Include <stdio.h>.
10645 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
10647         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10648         float.
10649         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10650         * sysdeps/sparc/bits/mathdef.h: Likewise.
10652 2012-01-31  Marek Polacek  <polacek@redhat.com>
10654         * libio/libio.h: Don't define _PARAMS.
10655         * locale/programs/config.h: Don't define PARAMS.
10656         * stdlib/strtol_l.c: Likewise.
10657         (__strtol_l): Remove PARAMS from the prototype.
10659 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
10661         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
10662         names.  Just use the correct names.  Remove unnecessary wrapper
10663         functions.
10664         * malloc/arena.c: Likewise.
10665         * malloc/hooks.c: Likewise.
10667         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10668         ARENA_TEST says not to.  Simplify test for creation of a new arena.
10669         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10671 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
10673         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10674         into tail calls.
10675         (update_get_addr): New function.
10676         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10677         GET_ADDR_MODULE parameter.
10679 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
10681         * crypt/cert.c: Remove __STDC__ conditionals.
10682         * crypt/crypt-entry.c: Likewise.
10683         * crypt/crypt_util.c: Likewise.
10684         * libio/filedoalloc.c: Likewise.
10685         * libio/fileops.c: Likewise.
10686         * libio/genops.c: Likewise.
10687         * libio/iofclose.c: Likewise.
10688         * libio/iofdopen.c: Likewise.
10689         * libio/iofopen.c: Likewise.
10690         * libio/iofopen64.c: Likewise.
10691         * libio/iogetdelim.c: Likewise.
10692         * libio/iopopen.c: Likewise.
10693         * libio/obprintf.c: Likewise.
10694         * libio/oldfileops.c: Likewise.
10695         * libio/oldiofclose.c: Likewise.
10696         * libio/oldiofdopen.c: Likewise.
10697         * libio/oldiofopen.c: Likewise.
10698         * libio/oldiopopen.c: Likewise.
10699         * libio/wfiledoalloc.c: Likewise.
10700         * libio/wgenops.c: Likewise.
10701         * locale/programs/xmalloc.c: Likewise.
10702         * misc/syslog.c: Likewise.
10703         * stdio-common/xbug.c: Likewise.
10704         * string/memchr.c: Likewise.
10705         * string/memcmp.c: Likewise.
10706         * string/memrchr.c: Likewise.
10707         * string/rawmemchr.c: Likewise.
10708         * sysdeps/posix/getcwd.c: Likewise.
10709         * time/strftime_l.c: Likewise.
10711 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
10713         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10714         * config.make.in (config-cflags-sse2avx): Define.
10715         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10716         Fix typo.
10718 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
10720         * scripts/config.guess: Update from upstream config git repository.
10721         * scripts/config.sub: Likewise.
10723 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
10725         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10726         (EM_NUM): Update.
10727         (R_TILEPRO_*, R_TILEGX_*): New macros.
10729         * scripts/firstversions.awk: Fix bug in version range handling.
10731         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10733         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10735         * include/sys/epoll.h: New file.
10736         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10737         libc_hidden_def.
10739 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
10741         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10742         Avoid unnecessary __WORDSIZE == 64 test.
10743         (fmaxf): Use VEX format if possible.
10744         (fmax): Likewise.
10745         (fminf): Likewise.
10746         (fmin): Likewise.
10748         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10749         * math/math_private.h: Remove libc_fegetround* and
10750         libc_fesetround*.
10751         * sysdeps/i386/configure.in: Check for -msse2avx.
10752         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10753         also if SSE2AVX is defined.
10754         Remove libc_fegetround* and libc_fesetround*.
10755         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10756         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
10757         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10758         of HAS_YMM_USABLE.
10759         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10760         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10761         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10762         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10763         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10765         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10767 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10769         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10770         size is not set.
10771         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10773 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
10775         [BZ #13618]
10776         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10777         relocation.
10778         * Makeconfig (libm): Define.
10779         * elf/Makefile: Add rules to build and run tst-relsort1.
10780         * elf/tst-relsort1.c: New file.
10781         * elf/tst-relsort1mod1.c: New file.
10782         * elf/tst-relsort1mod2.c: New file.
10784 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
10786         * math/s_ldexp.c: Remove __STDC__ conditionals.
10787         * math/s_ldexpf.c: Likewise.
10788         * math/s_ldexpl.c: Likewise.
10789         * math/s_nextafter.c: Likewise.
10790         * math/s_nexttowardf.c: Likewise.
10791         * math/s_significand.c: Likewise.
10792         * math/s_significandf.c: Likewise.
10793         * math/s_significandl.c: Likewise.
10794         * math/w_jnl.c: Likewise.
10795         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10796         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10797         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10798         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10799         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10800         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10801         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10802         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10803         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10804         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10805         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10806         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10807         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10808         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10809         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10810         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10811         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10812         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10813         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10814         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10815         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10816         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10817         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10818         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10819         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10820         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10821         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10822         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10823         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10824         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10825         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10826         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10827         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10828         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10829         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10830         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10831         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10832         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10833         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10834         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10835         * sysdeps/ieee754/k_standard.c: Likewise.
10836         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10837         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10838         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10839         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10840         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10841         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10842         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10843         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10844         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10845         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10846         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10847         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10848         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10849         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10850         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10851         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10852         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10853         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10854         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10855         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10856         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10857         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10858         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10859         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10860         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10861         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10862         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10863         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10864         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10865         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10866         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10867         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10868         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10869         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10870         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10871         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10872         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10873         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10874         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10875         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10876         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10877         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10878         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10879         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10880         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10881         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10882         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10883         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10884         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10885         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10886         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10887         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10888         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10889         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10890         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10891         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10892         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10893         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10894         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10895         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10896         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10897         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10898         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10899         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10900         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10901         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10902         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10903         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10904         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10905         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10906         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10907         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10908         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10909         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10910         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10911         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10912         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10913         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10914         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10915         * sysdeps/ieee754/s_matherr.c: Likewise.
10916         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10917         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10918         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10919         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10921 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
10923         * crypt/md5.h: Remove __STDC__ conditionals.
10924         * libio/libioP.h: Likewise.
10925         * locale/programs/config.h: Likewise.
10926         * sysdeps/generic/sysdep.h: Likewise.
10927         * sysdeps/i386/asm-syntax.h: Likewise.
10928         * sysdeps/s390/asm-syntax.h: Likewise.
10929         * sysdeps/unix/sysdep.h: Likewise.
10930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10933 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
10935         * libio/libio.h: Remove __STDC__ conditionals.
10936         * malloc/obstack.h: Likewise.
10937         * math/complex.h: Likewise.
10938         * math/math.h: Likewise.
10939         * sysdeps/generic/_G_config.h: Likewise.
10940         * sysdeps/gnu/_G_config.h: Likewise.
10941         * sysdeps/mach/hurd/_G_config.h: Likewise.
10942         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10943         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10944         * sysdeps/sparc/bits/mathdef.h: Likewise.
10946 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
10948         [BZ #13583]
10949         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10950         Clean up HAS_* macros.
10951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10952         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10953         possible.
10954         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10955         HAS_AVX.
10956         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10957         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10958         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10959         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10960         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10962 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
10964         * elf/tst-unique3.cc (gets): Remove declaration.
10965         * elf/tst-unique3lib.cc (gets): Likewise.
10966         * elf/tst-unique3lib2.cc (gets): Likewise.
10967         * elf/tst-unique4.cc (gets): Likewise.
10969 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
10971         * include/stdio.h: Add C++ protection.  Add gets declarations and
10972         definitions.
10973         * debug/tst-chk1.c: Don't declare gets here.
10974         * stdio-common/tst-gets.c: Likewise.
10976 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
10978         * posix/glob: Remove directory.
10980 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
10982         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10984 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
10986         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10987         of the non-standard EPFNOSUPPORT.
10989 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10991         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10992         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10993         ANYWHERE set to 1 only on KERN_NO_SPACE error.
10995 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
10997         * wcsmbs/uchar.h: Test __STDC_VERSION__.
10999 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
11001         * nscd/aicache.c (addhstaiX): Do not cache negative results of
11002         transient errors.
11003         * nscd/grpcache.c (cache_addgr): Likewise.
11004         * nscd/hstcache.c (cache_addhst): Likewise.
11005         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11006         * nscd/pwdcache.c (cache_addpw): Likewise.
11007         * nscd/servicescache.c (cache_addserv): Likewise.
11009 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
11011         * malloc/malloc.c: Various cleanups.
11012         * malloc/hooks.c: Likewise.
11014         * stdlib/Makefile (tests): Add bug-fmtmsg1.
11015         * stdlib/bug-fmtmsg1.c: New file.
11017         * stdlib/fmtmsg.c (init): Add missing unlock.
11018         Patch by Peng Haitao <penght@cn.fujitsu.com>.
11020 2012-01-12  Marek Polacek  <polacek@redhat.com>
11022         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11023         and _GNU_SOURCE.
11025 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
11027         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11028         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11029         macro to ensure uniqueness of label name.
11030         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11031         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11033 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
11035         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11037         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11038         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11039         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11040         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11042 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
11044         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11046         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11047         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11048         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11050         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11052         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11053         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11054         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11055         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11057         * math/bits/math-finite.h: Add ldexp support.
11059 2012-01-10  Marek Polacek  <polacek@redhat.com>
11061         * locale/programs/localedef.h (show_archive_content): Add noreturn
11062         attribute.
11064 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
11066         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11068 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11070         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11072         * io/Makefile (headers): Add bits/poll2.h.
11074 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11077         typo #include statement.
11079 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11081         * include/sys/cdefs.h: Define __attribute_alloc_size.
11082         * catgets/gencat.c: Add alloc_size attribute and apply consistently
11083         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11084         * elf/pldd.c: Likewise.
11085         * iconv/iconv_charmap.c: Likewise.
11086         * iconv/iconvconfig.c: Likewise.
11087         * iconv/strtab.c: Likewise.
11088         * locale/programs/locale.c: Likewise.
11089         * locale/programs/localedef.h: Likewise.
11090         * locale/programs/simple-hash.c: Likewise.
11091         * nscd/nscd.h: Likewise.
11092         * nss/makedb.c: Likewise.
11093         * sysdeps/generic/ldconfig.h: Likewise.
11094         * locale/programs/localedef.c: Remove xmalloc prototype.
11095         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11097 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11099         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11100         appropriate.
11102 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
11104         * math/Makefile (tests): Add tst-CMPLX.
11105         * math/tst-CMPLX.c: New file.
11107         * math/complex.h (CMPLXL): Fix typo.
11109         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11110         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11111         GLIBC_2.16.
11112         * debug/tst-chk1.c: Add poll and ppoll tests.
11113         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11114         * include/sys/poll.h: Add hidden proto for ppoll.
11115         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11116         * sysdeps/mach/hurd/ppoll.c: Likewise.
11117         * io/ppoll.c: Likewise.
11118         * debug/poll_chk.c: New file.
11119         * debug/ppoll_chk.c: New file.
11120         * include/bits/poll2.h: New file.
11121         * io/bits/poll2.h: New file.
11123         [BZ #1350]
11124         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11126         * configure.in: static is always set to yes.  Remove.
11127         * config.make.in: Don't set build-static.
11128         * Makeconfig: Remove use of build-static.
11129         * dlfcn/Makefile: Likewise.
11130         * elf/Makefile: Likewise.
11131         * math/Makefile: Likewise.
11132         * misc/Makefile: Likewise.
11133         * nptl/Makefile: Likewise.
11134         * sysdeps/mach/hurd/Makefile: Likewise.
11136         * configure.in: PWD_P is not used anymore.
11137         * config.make.in: Remove PWD_P entry.
11139         * configure.in: Remove last remnants of RANLIB.
11140         No need to check for signed size_t anymore.
11141         Don't set libc_commonpagesize and libc_relro_required here for Alpha
11142         and IA-64.
11143         Remove __builtin_expect test because we require at least gcc 3.4.
11144         * aclocal.m4: Likewise.
11146         * wcsmbs/mbrtoc16.c: Implement using towc function.
11147         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11148         * wcsmbs/wcsmbsload.c: Likewise.
11149         * iconv/gconv_simple.c: Likewise.
11150         * iconv/gconv_int.h: Likewise.
11151         * iconv/gconv_builtin.h: Likewise.
11152         * iconv/iconv_prog.c: Remove CHAR16 handling.
11154         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11156         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11158         * configure.in: Remove --with-elf and --enable-bounded options.
11159         Dont set base_machine for ia64.  More non-ELF conditions removed.
11160         Remove testing and setting of leading underscore information.
11161         * config.make.in (build-bounded): Set to no.
11162         * config.h.in: Remove NO_UNDERSCORES entry.
11163         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
11164         them.
11165         * csu/start.c: Remove !NO_UNDERSCORE code.
11166         * locale/localeinfo.h: Likewise.
11167         * sysdeps/generic/machine-gmon.h: Likewise.
11168         * sysdeps/generic/sysdep.h: Likewise.
11169         * sysdeps/i386/sysdep.h: Likewise.
11170         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11171         * sysdeps/mach/sysdep.h: Likewise.
11172         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11173         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11174         * sysdeps/sh/sysdep.h: Likewise.
11175         * sysdeps/sparc/sparc32/alloca.S: Likewise.
11176         * sysdeps/unix/i386/sysdep.S: Likewise.
11177         * sysdeps/unix/sparc/start.c: Likewise.
11178         * sysdeps/unix/sparc/sysdep.S: Likewise.
11179         * sysdeps/unix/sparc/sysdep.h: Likewise.
11180         * sysdeps/unix/start.c: Likewise.
11181         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11182         * sysdeps/x86_64/sysdep.h: Likewise.
11184 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
11186         [BZ #13553]
11187         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11188         for non-gcc.
11189         * argp/argp-fmtstream.h: Use const instead __const.
11190         * argp/argp.h: Likewise.
11191         * assert/assert.h: Likewise.
11192         * bits/fenv.h: Likewise.
11193         * bits/sched.h: Likewise.
11194         * bits/sigset.h: Likewise.
11195         * bits/sigthread.h: Likewise.
11196         * catgets/nl_types.h: Likewise.
11197         * conform/data/pthread.h-data: Likewise.
11198         * crypt/crypt-private.h: Likewise.
11199         * crypt/crypt.h: Likewise.
11200         * crypt/crypt_util.c: Likewise.
11201         * ctype/ctype.h: Likewise.
11202         * debug/execinfo.h: Likewise.
11203         * debug/mbsnrtowcs_chk.c: Likewise.
11204         * debug/mbsrtowcs_chk.c: Likewise.
11205         * debug/wcsnrtombs_chk.c: Likewise.
11206         * debug/wcsrtombs_chk.c: Likewise.
11207         * debug/wcstombs_chk.c: Likewise.
11208         * dirent/dirent.h: Likewise.
11209         * dlfcn/dlfcn.h: Likewise.
11210         * elf/neededtest4.c: Likewise.
11211         * grp/grp.h: Likewise.
11212         * gshadow/gshadow.h: Likewise.
11213         * iconv/gconv.h: Likewise.
11214         * iconv/gconv_int.h: Likewise.
11215         * iconv/gconv_simple.c: Likewise.
11216         * iconv/iconv.h: Likewise.
11217         * iconv/loop.c: Likewise.
11218         * iconv/skeleton.c: Likewise.
11219         * include/aio.h: Likewise.
11220         * include/aliases.h: Likewise.
11221         * include/argz.h: Likewise.
11222         * include/arpa/inet.h: Likewise.
11223         * include/assert.h: Likewise.
11224         * include/dirent.h: Likewise.
11225         * include/dlfcn.h: Likewise.
11226         * include/execinfo.h: Likewise.
11227         * include/fcntl.h: Likewise.
11228         * include/fenv.h: Likewise.
11229         * include/glob.h: Likewise.
11230         * include/grp.h: Likewise.
11231         * include/libintl.h: Likewise.
11232         * include/mntent.h: Likewise.
11233         * include/netdb.h: Likewise.
11234         * include/pwd.h: Likewise.
11235         * include/rpc/netdb.h: Likewise.
11236         * include/sched.h: Likewise.
11237         * include/search.h: Likewise.
11238         * include/shadow.h: Likewise.
11239         * include/signal.h: Likewise.
11240         * include/stdio.h: Likewise.
11241         * include/stdlib.h: Likewise.
11242         * include/string.h: Likewise.
11243         * include/sys/socket.h: Likewise.
11244         * include/sys/stat.h: Likewise.
11245         * include/sys/statfs.h: Likewise.
11246         * include/sys/statvfs.h: Likewise.
11247         * include/sys/syslog.h: Likewise.
11248         * include/sys/time.h: Likewise.
11249         * include/sys/uio.h: Likewise.
11250         * include/time.h: Likewise.
11251         * include/unistd.h: Likewise.
11252         * include/utmp.h: Likewise.
11253         * include/wchar.h: Likewise.
11254         * include/wctype.h: Likewise.
11255         * inet/aliases.h: Likewise.
11256         * inet/arpa/inet.h: Likewise.
11257         * inet/netinet/ether.h: Likewise.
11258         * inet/netinet/in.h: Likewise.
11259         * intl/libintl.h: Likewise.
11260         * io/bits/fcntl2.h: Likewise.
11261         * io/fcntl.h: Likewise.
11262         * io/ftw.h: Likewise.
11263         * io/sys/poll.h: Likewise.
11264         * io/sys/stat.h: Likewise.
11265         * io/sys/statfs.h: Likewise.
11266         * io/sys/statvfs.h: Likewise.
11267         * io/utime.h: Likewise.
11268         * libio/bits/stdio.h: Likewise.
11269         * libio/bits/stdio2.h: Likewise.
11270         * libio/libio.h: Likewise.
11271         * libio/libioP.h: Likewise.
11272         * libio/stdio.h: Likewise.
11273         * locale/lc-ctype.c: Likewise.
11274         * locale/locale.h: Likewise.
11275         * login/utmp.h: Likewise.
11276         * malloc/arena.c: Likewise.
11277         * malloc/malloc.c: Likewise.
11278         * malloc/malloc.h: Likewise.
11279         * malloc/mcheck.c: Likewise.
11280         * malloc/mtrace.c: Likewise.
11281         * math/bits/mathcalls.h: Likewise.
11282         * math/fenv.h: Likewise.
11283         * math/math_private.h: Likewise.
11284         * misc/bits/error.h: Likewise.
11285         * misc/bits/syslog.h: Likewise.
11286         * misc/err.h: Likewise.
11287         * misc/error.h: Likewise.
11288         * misc/fstab.h: Likewise.
11289         * misc/mntent.h: Likewise.
11290         * misc/regexp.h: Likewise.
11291         * misc/search.h: Likewise.
11292         * misc/sgtty.h: Likewise.
11293         * misc/sys/mman.h: Likewise.
11294         * misc/sys/syslog.h: Likewise.
11295         * misc/sys/uio.h: Likewise.
11296         * misc/sys/xattr.h: Likewise.
11297         * misc/ttyent.h: Likewise.
11298         * nis/rpcsvc/ypclnt.h: Likewise.
11299         * nss/nss.h: Likewise.
11300         * posix/bits/unistd.h: Likewise.
11301         * posix/fnmatch.h: Likewise.
11302         * posix/glob.h: Likewise.
11303         * posix/sched.h: Likewise.
11304         * posix/spawn.h: Likewise.
11305         * posix/sys/wait.h: Likewise.
11306         * posix/unistd.h: Likewise.
11307         * posix/wordexp.h: Likewise.
11308         * pwd/pwd.h: Likewise.
11309         * resolv/netdb.h: Likewise.
11310         * resource/sys/resource.h: Likewise.
11311         * rt/aio.h: Likewise.
11312         * rt/bits/mqueue2.h: Likewise.
11313         * rt/mqueue.h: Likewise.
11314         * shadow/shadow.h: Likewise.
11315         * signal/signal.h: Likewise.
11316         * socket/send.c: Likewise.
11317         * socket/sendto.c: Likewise.
11318         * socket/sys/socket.h: Likewise.
11319         * stdio-common/printf.h: Likewise.
11320         * stdlib/bits/stdlib.h: Likewise.
11321         * stdlib/fmtmsg.h: Likewise.
11322         * stdlib/monetary.h: Likewise.
11323         * stdlib/stdlib.h: Likewise.
11324         * stdlib/ucontext.h: Likewise.
11325         * streams/stropts.h: Likewise.
11326         * string/argz.h: Likewise.
11327         * string/bits/string2.h: Likewise.
11328         * string/string.h: Likewise.
11329         * string/strings.h: Likewise.
11330         * sunrpc/rpc/auth.h: Likewise.
11331         * sunrpc/rpc/auth_des.h: Likewise.
11332         * sunrpc/rpc/clnt.h: Likewise.
11333         * sunrpc/rpc/netdb.h: Likewise.
11334         * sunrpc/rpc/pmap_clnt.h: Likewise.
11335         * sunrpc/rpc/xdr.h: Likewise.
11336         * sysdeps/generic/inttypes.h: Likewise.
11337         * sysdeps/generic/net/if.h: Likewise.
11338         * sysdeps/generic/sys/swap.h: Likewise.
11339         * sysdeps/gnu/net/if.h: Likewise.
11340         * sysdeps/gnu/utmpx.h: Likewise.
11341         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11342         * sysdeps/i386/i486/bits/string.h: Likewise.
11343         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11344         * sysdeps/s390/bits/string.h: Likewise.
11345         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11346         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11347         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11348         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11349         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11350         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11351         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11352         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11353         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11354         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11355         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11356         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11357         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11358         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11359         * sysdeps/unix/sysv/linux/readv.c: Likewise.
11360         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11361         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11362         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11363         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11364         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11365         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11366         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11367         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11368         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11369         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11370         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11371         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11372         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11373         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11374         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11375         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11376         * sysvipc/sys/ipc.h: Likewise.
11377         * sysvipc/sys/msg.h: Likewise.
11378         * sysvipc/sys/sem.h: Likewise.
11379         * sysvipc/sys/shm.h: Likewise.
11380         * termios/termios.h: Likewise.
11381         * time/sys/time.h: Likewise.
11382         * time/time.h: Likewise.
11383         * wcsmbs/bits/wchar2.h: Likewise.
11384         * wcsmbs/uchar.h: Likewise.
11385         * wcsmbs/wchar.h: Likewise.
11386         * wctype/wctype.h: Likewise.
11388         [BZ #13551]
11389         * Makeconfig: Remove all but ELF support including AIX support.
11390         * Makerules: Likewise.
11391         * config.h.in: Likewise.
11392         * config.make.in: Likewise.
11393         * configure: Likewise.
11394         * configure.in: Likewise.
11395         * csu/Makefile: Likewise.
11396         * csu/version.c: Likewise.
11397         * debug/Makefile: Likewise.
11398         * dlfcn/Makefile: Likewise.
11399         * elf/Makefile: Likewise.
11400         * extra-lib.mk: Likewise.
11401         * iconv/Makefile: Likewise.
11402         * include/libc-symbols.h: Likewise.
11403         * include/shlib-compat.h: Likewise.
11404         * resolv/Makefile: Likewise.
11405         * resolv/res_libc.c: Likewise.
11406         * rt/Makefile: Likewise.
11407         * sysdeps/i386/asm-syntax.h: Likewise.
11408         * sysdeps/i386/sysdep.h: Likewise.
11409         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11410         * sysdeps/mach/sysdep.h: Likewise.
11411         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11412         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11413         * sysdeps/s390/asm-syntax.h: Likewise.
11414         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11415         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11416         * sysdeps/sh/sysdep.h: Likewise.
11417         * sysdeps/unix/sparc/sysdep.h: Likewise.
11418         * sysdeps/wordsize-32/divdi3.c: Likewise.
11419         * sysdeps/x86_64/sysdep.h: Likewise.
11421         * argp/Versions: Remove _argp_unlock_xxx.
11423         [BZ #13559]
11424         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
11425         * abilist/libBrokenLocale.abilist: Likewise.
11426         * abilist/libanl.abilist: Likewise.
11427         * abilist/libc.abilist: Likewise.
11428         * abilist/libcrypt.abilist: Likewise.
11429         * abilist/libdl.abilist: Likewise.
11430         * abilist/libm.abilist: Likewise.
11431         * abilist/libnsl.abilist: Likewise.
11432         * abilist/libpthread.abilist: Likewise.
11433         * abilist/libresolv.abilist: Likewise.
11434         * abilist/librt.abilist: Likewise.
11435         * abilist/libthread_db.abilist: Likewise.
11436         * abilist/libutil.abilist: Likewise.
11437         * abilist/libnss_db.abilist: New file.
11439         * scripts/abilist.awk: Add support for indirect functions.
11441         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11443         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11445         * shlib-versions: Remove entries for ports architectures.
11447         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
11448         files in ports.
11449         * elf/stackguard-macros.h: Remove support for IA-64.
11450         * elf/tst-auditmod1.c: Likewise.
11451         * sysdeps/generic/ldsodefs.h: Likewise.
11453         * sysdeps/unix/sysv/linux/configure.in: Ports should define
11454         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11455         configure files.
11457         [BZ #13552]
11458         * configure.in: Remove --enable-omitfp support.
11459         * FAQ.in: Adjust.
11460         * config.make.in: Likewise.
11461         * Makeconfig: Likewise.
11462         * manual/install.texi: Likewise.
11464         In case anyone cares, the IA-64 architecture could move to ports.
11465         * sysdeps/ia64/*: Removed.
11466         * sysdeps/unix/sysv/linux/ia64/*: Removed.
11467         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11469         [BZ #13555]
11470         * configure.in: Remove entries for unsupported architectures.
11472         [BZ #13533]
11473         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11474         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
11475         routines.
11476         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11477         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11478         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
11479         fall back to using wcrtomb.
11480         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11481         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
11482         renaming.
11483         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11484         * wcsmbs/tst-c16c32-1.c: New file.
11486         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11487         local variable.
11489         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11491         * elf/tst-unique3.cc: Add explicit declaration of gets.
11492         * elf/tst-unique3lib.cc: Likewise.
11493         * elf/tst-unique3lib2.cc: Likewise.
11494         * elf/tst-unique4.cc: Likewise.
11496         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11498 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
11500         [BZ #13566]
11501         * assert/assert.h (static_assert): Don't define for C++.
11502         * libio/stdio.h (gets): Do declare for C++ <= C++11.
11503         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11505 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
11507         * iconv/loop.c (single loop): Fix assertion in storing of
11508         remaining bytes.
11510         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11512 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
11514         * posix/getconf.c: Update copyright year.
11515         * nss/getent.c: Likewise.
11516         * nss/makedb.c: Likewise.
11517         * iconv/iconvconfig.c: Likewise.
11518         * iconv/iconv_prog.c: Likewise.
11519         * elf/ldconfig.c: Likewise.
11520         * elf/pldd.c: Likewise.
11521         * elf/sotruss.ksh: Likewise.
11522         * catgets/gencat.c: Likewise.
11523         * csu/version.c: Likewise.
11524         * elf/ldd.bash.in: Likewise.
11525         * elf/sprof.c (print_version): Likewise.
11526         * locale/programs/locale.c: Likewise.
11527         * locale/programs/localedef.c: Likewise.
11528         * login/programs/pt_chown.c: Likewise.
11529         * nscd/nscd.c (print_version): Likewise.
11530         * debug/xtrace.sh: Likewise.
11531         * malloc/memusage.sh: Likewise.
11532         * malloc/mtrace.pl: Likewise.
11533         * debug/catchsegv.sh: Likewise.
11535 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
11537         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11538         pure attribute.
11540 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
11542         [BZ #13533]
11543         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11544         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11545         transformations.
11546         * iconv/gconv_int.h: Likewise.
11547         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11548         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11549         from libc for GLIBC_2.16.
11550         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11551         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11552         * wcsmbs/uchar.h: Really define mbstate_t.
11553         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11554         * wcsmbs/c16rtomb.c: New file.
11555         * wcsmbs/mbrtoc16.c: New file.
11556         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11557         for C/POSIX locale.
11558         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11559         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11561         * wcsmbs/wchar.h: Add missing __restrict.
11563 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
11565         [BZ #13532]
11566         * time/Makefile (routines): Add timespec_get.
11567         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11568         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
11569         timespec for ISO C11.
11570         * time/timespec_get.c: New file.
11571         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11572         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11574         [BZ #13531]
11575         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11576         * stdlib/stdlib.h: Declare aligned_alloc.
11577         * Versions.def: Add GLIBC_2.16 for libc.
11578         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11580         [BZ 13527]
11581         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11582         ISO C11.
11584         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11585         code.
11587         [BZ #13528]
11588         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11590         [BZ #13529]
11591         * assert/assert.h (static_assert): Define.
11593         * version.h: Update for 2.16 development version.
11595         [BZ #13526]
11596         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11597         _ISOC11_SOURCE.
11599         * version.h (RELEASE): Bump for 2.15 release.
11600         * include/features.h (__GLIBC_MINOR__): Bump to 15.
11602         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11603         Patch by Marek Polacek <mpolacek@redhat.com>.
11605         * bits/byteswap.h: Protect long long constants with __extension__.
11606         * sysdeps/i386/bits/byteswap.h: Likewise.
11607         * sysdeps/ia64/bits/byteswap.h: Likewise.
11608         * sysdeps/s390/bits/byteswap.h: Likewise.
11609         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11611 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11613         [BZ #13540]
11614         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11615         destination buffer.
11616         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11618 2011-12-23  Marek Polacek  <polacek@redhat.com>
11620         * elf/dl-addr.c (determine_info): Add inline keyword.
11621         * elf/tst-auditmod4b.c (check_avx): Likewise.
11622         * elf/tst-auditmod6b.c (check_avx): Likewise.
11623         * elf/tst-auditmod6c.c (check_avx): Likewise.
11624         * elf/tst-auditmod7b.c (check_avx): Likewise.
11626 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
11628         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11629         !__SSE_MATH__.
11631 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11633         [BZ #13540]
11634         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11635         processing for last bytes.
11637 2011-08-06  Bruno Haible  <bruno@clisp.org>
11639         [BZ #13061]
11640         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11641         U+0385, not to U+1FEE.
11643         [BZ #13062]
11644         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11645         entry for U+00A5 U+0301.
11647 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
11649         [BZ #13166]
11650         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11651         buffer for the output is too small.
11653         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11654         optimization.
11656         [BZ #13185]
11657         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11658         SSE flags if possible.
11660 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11662         [BZ #13540]
11663         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11664         processing for last bytes.
11666 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
11668         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11669         (syscall-list-default-options, syscall-list-default-condition)
11670         (syscall-list-includes): Define.
11671         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11672         list of ABIs and options and #if conditions for each ABI.  Do not
11673         handle common syscalls between ABIs specially.
11674         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11675         Remove.
11676         (syscall-list-variants, syscall-list-32bit-options)
11677         (syscall-list-32bit-condition, syscall-list-64bit-options)
11678         (syscall-list-64bit-condition): Define.
11679         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11680         (syscall-list-variants, syscall-list-32bit-options)
11681         (syscall-list-32bit-condition, syscall-list-64bit-options)
11682         (syscall-list-64bit-condition): Define.
11683         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11684         Remove.
11685         (syscall-list-variants, syscall-list-32bit-options)
11686         (syscall-list-32bit-condition, syscall-list-64bit-options)
11687         (syscall-list-64bit-condition): Define.
11688         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11689         Remove.
11690         (syscall-list-variants, syscall-list-32bit-options)
11691         (syscall-list-32bit-condition, syscall-list-64bit-options)
11692         (syscall-list-64bit-condition): Define.
11694 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
11696         * locale/iso-639.def: Add brx entry.
11698         [BZ #13328]
11699         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11700         Proposed by Mariusz_Cukr <marcukr@op.pl>.
11702         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11703         __feraiseexcept_renamed.
11705 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
11707         [BZ #13538]
11708         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11709         EPOLLET with unsigned values.
11710         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11711         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11713         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11714         to large cancellation.
11715         * math/s_cacoshf.c: Likewise.
11716         * math/s_cacoshl.c: Likewise.
11718 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
11720         [BZ #13305]
11721         [BZ #12786]
11722         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11723         * math/s_cacoshf.c: Likewise.
11724         * math/s_cacoshl.c: Likewise.
11726 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
11728         [BZ #13439]
11729         * iconv/gconv.h: Define __GCONV_SWAP.
11730         * iconvdata/unicode.c: The swap bit must be stored in __flags.
11731         * iconvdata/utf-16.c: Likewise.
11732         * iconvdata/utf-32.c: Likewise.
11734 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
11736         [BZ #13524]
11737         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11738         numerator after shifting it by one limb.
11740 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
11742         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11743         under [__USE_EXTERN_INLINES].
11745 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
11747         [BZ #13446]
11748         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11750 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11752         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11753         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11754         optimized code.
11755         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11756         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11757         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11758         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11759         for strncasecmp/strncasecmp_l compilation.
11760         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11761         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11763 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
11765         [BZ #13484]
11766         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11767         of __asm__.
11769 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
11771         [BZ #13506]
11772         * time/tzfile.c (__tzfile_read): Check values from file header.
11774 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
11776         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11777         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11778         * powerpc/powerpc32/dl-start.S: Likewise.
11779         * powerpc/powerpc32/elf/start.S: Likewise.
11780         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11781         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11782         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11783         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11784         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11785         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11786         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11787         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11788         * powerpc/powerpc32/fpu/s_round.S: Likewise.
11789         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11790         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11791         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11792         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11793         * powerpc/powerpc32/memset.S: Likewise.
11794         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11795         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11796         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11797         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11798         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11799         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11800         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11801         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11802         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11803         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11804         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11805         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11806         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11808 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11810         * math/libm-test.inc: Added more nearbyint tests.
11811         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11812         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11813         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11814         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11816 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
11818         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11819         FD_CLOEXEC.
11821 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11823         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11824         Add wcscpy-ssse3 wcscpy-c.
11825         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11826         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11827         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11828         * sysdeps/x86_64/wcschr.S: New file.
11829         * sysdeps/x86_64/wcsrchr.S: New file.
11830         * string/test-strcmp.c: Remove checking of wcscmp function for
11831         wrong alignments.
11832         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11833         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11834         wcsrchr-sse2 wcsrchr-c.
11835         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11836         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11837         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11838         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11839         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11840         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11841         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11842         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11843         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11844         * wcsmbc/wcschr.c (WCSCHR): New macro.
11846 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11848         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11849         * wcsmbs/test-wcsrchr.c: New file.
11850         * string/test-strrchr.c: Add wcsrchr support.
11851         (WIDE): New macro.
11852         * wcsmbs/test-wcscpy.c: New file.
11853         * string/test-strcpy.c: Add wcscpy support.
11854         (WIDE): New macro.
11856 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
11858         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11859         the inner loop.
11861 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
11863         [BZ #13472]
11864         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11866 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
11868         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11869         Minor optimizations.
11871         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11872         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11873         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11875 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
11877         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11878         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11879         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11880         for gcc to avoid warnings.
11881         * inet/Makefile (tests): Add tst-checks.
11882         * inet/tst-checks.c: New file.
11884         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11885         warning.
11887         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11888         __wmemcmp_sse2.
11890         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11891         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11893         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11895 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
11897         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11898         problem.
11900         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11902 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
11904         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11905         conditional on GCC version.
11906         (__arch_compare_and_exchange_val_8_acq)
11907         (__arch_compare_and_exchange_val_16_acq)
11908         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11909         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11910         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11912 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
11914         * sysdeps/sh/backtrace.c: New file.
11916 2011-12-02  Andreas Schwab  <schwab@redhat.com>
11918         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
11919         parenthesis.
11921 2011-12-01  Andreas Schwab  <schwab@redhat.com>
11923         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11924         falling back to utime.
11926 2011-11-30  Andreas Schwab  <schwab@redhat.com>
11928         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11929         expectations for float.
11931 2011-11-29  Andreas Schwab  <schwab@redhat.com>
11933         * locale/weight.h (findidx): Add parameter len.
11934         * locale/weightwc.h (findidx): Likewise.
11935         * posix/fnmatch_loop.c (FCT): Adjust caller.
11936         * posix/regcomp.c (build_equiv_class): Likewise.
11937         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11938         * posix/regexec.c (check_node_accept_bytes): Likewise.
11939         * string/strcoll_l.c (STRCOLL): Likewise.
11940         * string/strxfrm_l.c (STRXFRM): Likewise.
11942 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
11944         * Makefile.in: Remove CVSOPT handling.
11945         * configure.in: Remove use of AC_REVISION.
11946         * iconvdata/Makefile (distribute): No need to filter out CVS.
11947         * scripts/list-sources.sh: Remove CVS, subversion and monotone
11948         handling.
11950 2011-11-16  Andreas Schwab  <schwab@redhat.com>
11952         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11953         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11954         [USE_AS_STRNCASECMP_L]: Likewise.
11955         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11956         NO_TLS_DIRECT_SEG_REFS.
11957         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11958         Fix argument offsets for non-PIC.
11959         [USE_AS_STRNCASECMP_L]: Likewise.
11960         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11961         NO_TLS_DIRECT_SEG_REFS.
11963 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
11965         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11966         O_CLOEXEC.
11967         * locale/loadlocale.c (_nl_load_locale): Likewise.
11969 2011-11-15  Andreas Schwab  <schwab@redhat.com>
11971         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11972         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11973         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11974         (SYSCALL_GETTIME): Set errno on error.
11976         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11977         count references to noai6ai_cached.
11979 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
11981         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11983         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11984         FD_CLOEXEC for /proc/self/maps.
11986         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11987         FD_CLOEXEC for /proc/meminfo.
11989         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11990         gai.conf.
11992         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
11993         FD_CLOEXEC for given file.
11995         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11997         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11998         FD_CLOEXEC for /etc/hosts.
11999         (_gethtent): Likewise.
12001         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12003         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12004         cancellation and set FD_CLOEXEC for /etc/netgroup.
12006         * nss/nss_files/files-key.c (search): Don't allow cancellation when
12007         reading /etc/publickey.
12009         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12010         allow cancellation when reading /etc/group.
12012         * nss/nss_files/files-alias.c (internal_setent): Don't allow
12013         cancellation.
12014         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
12016         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12017         when using data file.
12019         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12021         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12022         (write_nis_obj): Use "c" and "e" in fopen.
12024         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12026         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12028         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12030         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12032         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12033         locale.alias.
12035         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12037         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12039         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12041         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12042         file parsing and set FD_CLOEXEC.
12044 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
12046         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12048 2011-11-14  Andreas Schwab  <schwab@redhat.com>
12050         * malloc/arena.c (arena_get2): Don't call reused_arena when
12051         _int_new_arena failed.
12053 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
12055         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12056         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12057         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12058         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12059         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12060         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12061         to compile strcasecmp and strncasecmp.
12062         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12063         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12065         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12067 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
12069         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12070         locale-defines.sym to gen-as-const-headers.
12071         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12072         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12073         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12074         to compile strcasecmp and strncasecmp.
12075         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12076         strcasecmp_l and strncasecmp_l.
12077         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12078         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12079         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12080         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12081         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12082         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12083         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12084         * sysdeps/i386/i686/multiarch/strncase.S: New file.
12085         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12086         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12087         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12089 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
12091         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12092         result of SYSDEP_GETTIME_CPU to retval.
12093         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12094         parameter list to macro.  Remove trailing semicolon.  Adjust users.
12096         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12097         variable.
12099         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12100         mantissa words.
12101         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12103         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12104         from unused variable.
12106         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12107         DWARF definitions.
12108         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12109         for assembling.
12111         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12112         over namespaces.
12114         * sunrpc/rpc_prot.c (rejected): Fix case value.
12116         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12117         unsigned long long int to avoid warnings in shift.
12119         * posix/regex_internal.c (re_string_reconstruct): Actually use result
12120         of use of trans.
12121         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12122         variable tmp.
12124         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12125         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12126         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12128         * nis/nis_table.c (nis_list): Use variable of correct type for
12129         result of __follow_path call.
12131 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12133         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12134         of math functions ceil, trunc, floor, round, and sqrt, when
12135         avaliable on the platform.
12136         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12137         name clash.
12138         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12139         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12140         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12142 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
12144         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12145         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12147 2011-11-11  Roland McGrath  <roland@hack.frob.com>
12149         * include/unistd.h: Fix __readlink return type.
12150         Reported by Chris Metcalf <cmetcalf@tilera.com>.
12152 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
12154         * stdlib/ucontext.h: Undo last change for makecontext.
12156 2011-11-11  Andreas Schwab  <schwab@redhat.com>
12158         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12160         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12161         * setjmp/setjmp.h: Mark functions as non-leaf.
12162         * setjmp/bits/setjmp2.h: Likewise.
12163         * stdlib/ucontext.h: Likewise.
12165 2011-11-10  Andreas Schwab  <schwab@redhat.com>
12167         * malloc/arena.c (_int_new_arena): Don't increment narenas.
12168         (reused_arena): Don't check arena limit.
12169         (arena_get2): Atomically check arena limit.
12171 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
12173         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12174         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12176         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12177         instructions.
12179 2011-11-07  Andreas Schwab  <schwab@redhat.com>
12181         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12182         handler when locking.
12184         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12185         Fix size of allocated buffer.
12187 2011-11-04  Andreas Schwab  <schwab@redhat.com>
12189         [BZ #10103]
12190         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12191         declarations for long double functions.
12192         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12194         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12196 2011-11-03  Andreas Schwab  <schwab@redhat.com>
12198         * nscd/nscd.c (main): Don't start AVC thread until credentials are
12199         installed.
12201         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12202         is disabled.
12204 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12206         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12208 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12210         * include/alloca.h (stackinfo_alloca_round): Define.
12211         (extend_alloca): Use it.
12212         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12213         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12214         here.
12216         * scripts/check-local-headers.sh: Ignore libaudit.h.
12218         * nscd/Makefile (extra-objs): Make recursively expanded.
12220 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
12222         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12223         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12225         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12226         * posix/tst-rfc3484-2.c: Likewise.
12227         * posix/tst-rfc3484-3.c: Likewise.
12229         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12230         process_vm_writev.
12231         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12232         process_vm_writev.
12233         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12234         process_vm_writev from libc using GLIBC_2.15 version.
12236         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12238 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
12240         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12241         stack usage.
12243 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
12245         [BZ #13367]
12246         * nss/getent.c (initgroups_keys): Show error message in case no group
12247         names are given.
12249         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12250         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12251         __bump_nl_timestamp.
12252         * nscd/connections (nscd_init): When host database is served open
12253         netlink socket and request notification about configuration changes.
12254         (main_loop_poll): Track netlink file descriptor and bump timestamp
12255         in case data becomes available.
12256         (main_loop_epoll): Likewise.
12257         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12258         (database_pers_head): Add extra_data fileds.
12259         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12260         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12261         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12262         Adjust caller.
12263         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12264         in6ai data, call __free_in6ai.
12265         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12266         Add -DHAVE_NETLINK.
12267         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
12268         interface information.  Reuse previous data if netlink timestamp
12269         is not changed.
12270         (__bump_nl_timestamp): New function.
12271         (__free_in6ai): New function.
12273 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
12275         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12276         close_not_cancel_no_status here.
12277         (__check_pf): Reorganize code a bit to not call close twice if OOM.
12279 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
12281         [BZ #13276]
12282         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12283         return value.
12285         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12286         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12287         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12289 2011-07-03  Andreas Jaeger  <aj@suse.de>
12291         [BZ #10709]
12292         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12293         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12294         * math/libm-test.inc (sin_test): Add test case.
12296 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
12298         [BZ #13337]
12299         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12300         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12302         * elf/chroot_canon.c (chroot_canon): Cleanups.
12304         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12306         [BZ #13335]
12307         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12308         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12310         * string/test-strchr.c: Make usable for strchrnul testing.
12311         * string/test-strchrnul.c: New file.
12312         * string/Makefile (strop-tests): Add strchrnul.
12314         * po/it.po: Update from translation team.
12315         * po/es.po: Likewise.
12317 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
12319         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12320         the three constants needed as parameters.  Drop the others.
12321         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12322         __m128i_strloadu_tolower.
12323         Create and initialize variable zero and use it in all the places
12324         where _mm_setzero_si128 was used.
12326         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12327         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12328         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12329         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12330         anymore.
12331         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12332         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12333         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12334         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12335         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12336         __mpranred, __mptan.
12337         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12338         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12339         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12340         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12341         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12342         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12343         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12344         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12345         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12347 2011-10-28  Andreas Schwab  <schwab@redhat.com>
12349         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12350         redefine if SHARED.
12351         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12353         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12354         wide char related routines to wcsmbs subdir.
12356 2011-10-27  Andreas Schwab  <schwab@redhat.com>
12358         [BZ #13344]
12359         * misc/sys/cdefs.h (__THROWNL): Define.
12360         * posix/unistd.h: Use __THREADNL instead of __THREAD
12361         for memory synchronization functions.
12363 2011-10-26  Roland McGrath  <roland@hack.frob.com>
12365         [BZ #13349]
12366         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12367         doesn't exist.
12368         * manual/stdio.texi (Obstack Streams): Node removed.
12370 2011-10-26  Andreas Schwab  <schwab@redhat.com>
12372         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12373         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12374         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12376         * math/math_private.h (math_force_eval): Allow non-addressable
12377         arguments.
12378         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12380 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
12382         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12383         file is not needed.
12385         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12386         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12387         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12388         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12389         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12390         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12391         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12392         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12393         Add AVX variants.
12394         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12395         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12396         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12397         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12398         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12399         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12400         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12401         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12402         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12403         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12404         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12405         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12406         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12407         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12408         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12409         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12410         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12411         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12412         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12414         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12415         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
12417         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12418         place.  Use VEX encoding when compiling for AVX.
12420 2011-10-25  Andreas Schwab  <schwab@redhat.com>
12422         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12423         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12425         * string/test-strchr.c (do_test): Don't generate NUL bytes.
12427 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
12429         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12430         useless if() expression.
12431         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12432         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12433         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12434         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12435         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12436         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12437         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12438         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12439         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12440         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12441         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12442         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12443         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12444         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12445         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12446         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12447         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12448         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12449         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12451         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12453 2011-10-25  Andreas Schwab  <schwab@redhat.com>
12455         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12456         condition.
12457         * elf/dl-fini.c (_dl_sort_fini): Likewise.
12459 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
12461         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12462         .text section.  Avoid duplicate constants.
12463         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12464         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12465         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12466         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12467         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12468         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12469         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12470         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12471         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12472         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12473         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12474         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12475         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12476         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12477         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12478         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12479         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12480         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12481         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12482         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12483         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12484         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12485         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12486         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12487         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12488         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12489         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12490         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12491         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12492         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12493         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12494         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12495         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12496         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12497         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12498         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12499         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12500         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12501         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12502         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12503         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12504         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12505         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12506         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12507         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12509 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
12511         * sysdeps/x86_64/dla.h: Move to ...
12512         * sysdeps/x86_64/fpu/dla.h: ...here.
12513         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12514         situations.  Use __builtin_fma only for gcc 4.6 and up.
12516         * config.make.in: Add have-mfma4 entry.
12517         * configure.in: Substitute libc_cv_cc_fma4.
12518         * math/Makefile (dbl-only-routines): Add sincostab.
12519         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12520         Use __sincostab not sincos.
12521         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12522         name is a macro.
12523         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12525         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12526         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
12527         using __copysign.
12528         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
12529         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
12530         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12531         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12532         and __inv.
12533         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12534         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12535         __copysign.
12536         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
12537         define aliases when function name is a macro.
12538         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12539         sysdeps/ieee754/dbl-64/sincos.tbl.
12540         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12541         fma4-enabled routines.
12542         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12543         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12544         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12545         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12546         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12547         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12548         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12549         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12550         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12551         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12552         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12553         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12554         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12555         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12556         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12557         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12558         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12559         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12560         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12561         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12562         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12563         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12564         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12565         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12566         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12567         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12568         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12569         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12570         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12571         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12573         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12574         rename.
12575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12576         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12578         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12580         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12581         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12582         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12584 2011-10-24  Andreas Schwab  <schwab@redhat.com>
12586         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12588 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
12590         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12592         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12593         prediction.
12594         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12596         * string/strnlen.c: Don't define STRNLEN, reverse logic.
12597         Remove unused variable magic_bits.
12598         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12600         * string/strnlen.c: Define and use STRNLEN macro.
12601         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12602         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12603         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12604         * wcsmbs/wcslen.c: Define and use WCSLEN.
12605         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12606         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12607         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12608         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12609         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12610         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12611         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12613 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12616         strnlen-sse2-no-bsf.
12617         Rename strlen-no-bsf to strlen-sse2-no-bsf.
12618         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12619         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12620         Add strnlen support.
12621         (USE_AS_STRNLEN): New macro.
12622         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12623         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12624         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12625         * sysdeps/x86_64/wcslen.S: New file.
12627 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
12629         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12630         XMM-moves are used for copying on small sizes.
12632 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12634         * wcsmbs/Makefile (strop-tests): Add wcschr.
12635         * wcsmbs/test-wcschr.c: New file.
12636         * string/test-strchr.c: Update.
12637         Add wcschr support.
12638         (WIDE): New macro.
12640 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12642         * wcsmbs/Makefile (strop-tests): Add wcslen.
12643         * wcsmbs/test-wcslen.c: New file.
12644         * string/test-strlen.c: Update.
12645         Add wcslen support.
12646         (WIDE): New macro.
12648 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
12650         * po/it.po: Update from translation team.
12652 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12654         * sysdeps/x86_64/wcscmp.S: Update.
12655         Fix wrong comparison semantics.
12656         wcscmp shall use signed comparison not unsigned.
12657         Don't use substraction to avoid overflow bug.
12658         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12659         * wcsmbc/wcscmp.c: Likewise.
12660         * string/test-strcmp.c: Likewise.
12661         Add new tests to check cases with negative values.
12663 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
12665         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12666         * sysdeps/x86_64/dla.h: ...here.  New file.
12667         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12668         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12669         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12670         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12671         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12672         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12673         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12674         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12675         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12677 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
12679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12680         __ynl_finite aliases.
12682 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
12684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12686         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12687         define DLA_FMA.
12688         [DLA_FMA] (EMULV): Use DLA_FMA.
12689         [DLA_FMA] (MUL12): Use EMULV.
12690         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12691         that are not needed.
12692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12693         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12696         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12697         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12698         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12700 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
12702         * math/s_nan.c: Undef __nan.
12703         * math/s_nanf.c: Undef __nanf.
12704         * math/s_nanl.c: Undef __nanl.
12705         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12706         "math_private.h".
12708 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
12710         * math/s_catan.c: Add branch predictions.
12711         * math/s_catanf.c: Likewise.
12712         * math/s_catanh.c: Likewise.
12713         * math/s_catanhf.c: Likewise.
12714         * math/s_catanhl.c: Likewise.
12715         * math/s_catanl.c: Likewise.
12716         * math/s_cexp.c: Likewise.
12717         * math/s_cexpf.c: Likewise.
12718         * math/s_cexpl.c: Likewise.
12719         * math/s_clog.c: Likewise.
12720         * math/s_clog10.c: Likewise.
12721         * math/s_clog10f.c: Likewise.
12722         * math/s_clog10l.c: Likewise.
12723         * math/s_clogf.c: Likewise.
12724         * math/s_clogl.c: Likewise.
12725         * math/s_csqrt.c: Likewise.
12726         * math/s_csqrtf.c: Likewise.
12727         * math/s_csqrtl.c: Likewise.
12728         * math/s_ctanf.c: Likewise.
12729         * math/s_ctanh.c: Likewise.
12730         * math/s_ctanhf.c: Likewise.
12731         * math/s_ctanhl.c: Likewise.
12732         * math/s_ctanl.c: Likewise.
12734         * math/math_private.h: Define __nan, __nanf, __nanl.
12735         * math/s_cacosh.c: Include <math_private.h>.
12736         * math/s_cacoshl.c: Likewise.
12737         * math/s_casinh.c: Likewise.
12738         * math/s_casinhf.c: Likewise.
12739         * math/s_casinhl.c: Likewise.
12740         * math/s_ccos.c: Rely entire on ccosh.
12741         * math/s_ccosf.c: Rely entire on ccoshf.
12742         * math/s_ccosl.c: Rely entirely on ccoshl.
12743         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
12744         Remove tests for FE_INVALID.
12745         * math/s_ccoshf.c: Likewise.
12746         * math/s_ccoshl.c: Likewise.
12747         * math/s_csin.c: Likewise.
12748         * math/s_csinf.c: Likewise.
12749         * math/s_csinh.c Likewise.
12750         * math/s_csinhf.c: Likewise.
12751         * math/s_csinhl.c: Likewise.
12752         * math/s_csinl.c: Likewise.
12753         * math/s_ctan.c: Likewise.
12754         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12755         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12756         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12758 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
12760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12761         compilation problems.
12763         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12764         __builtin_expect.
12766 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
12768         * sysdeps/i386/configure.in: Test for -mfma4 option.
12769         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12770         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12771         COMMON_CPUID_INDEX_80000001.
12772         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12773         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12774         use it if FMA3 is not supported.
12775         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12777         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12778         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12780 2011-10-20  Andreas Schwab  <schwab@redhat.com>
12782         [BZ #12892]
12783         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12784         it would create a cycle with a link time dependency.
12786 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
12788         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12789         instruction.
12790         * string/Makefile (strop-tests): Add rawmemchr.
12791         * string/test-rawmemchr.c: New file.
12793         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12794         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
12795         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
12796         when compiling str{,n}casecmp and when AVX is available.  Hook up
12797         new optimized code in initializers.
12799 2011-10-19  Andreas Schwab  <schwab@redhat.com>
12801         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12802         __feraiseexcept instead of feraiseexcept.
12804 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
12806         * math/math_private.h: Define defaults for libc_fetestexcept and
12807         libc_feupdateenv.
12808         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12809         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12810         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12811         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12812         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12813         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12814         libc_fetestexcept and libc_feupdateenv.
12816         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12817         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12818         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12819         * sysdeps/x86_64/fpu/math_private.h: Define special version of
12820         libc_feholdexcept_setround.
12822         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12823         Add s_nearbyint-c and s_nearbyintf-c.
12824         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12825         nearbyintf inlines.
12826         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12827         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12828         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12829         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12831         * math/math_private.h: Define defaults for libc_fegetround,
12832         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12833         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12834         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12835         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12836         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12837         standard functions.
12838         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12839         Remove comments and hacks for old compiler versions.
12840         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12841         libc_fegetround, libc_fesetround, libc_feholdexcept, and
12842         libc_feholdexceptl.
12844 2011-10-18  Andreas Schwab  <schwab@redhat.com>
12846         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12847         (__feraiseexcept_renamed): Add __NTH.
12848         (feraiseexcept): Add __NTH.  Rename local variables to fix
12849         namespace violations.
12851 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
12853         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12855         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12857         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12858         recently added interfaces.
12859         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12861         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12862         about macro parameter expansion.
12864         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12865         __NO_MATH_INLINES is defined.  Cleanups.
12867         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12868         and __floorf is target has SSE4.1.
12869         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12870         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12871         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12872         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12874         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12875         name.
12876         (floorf): Likewise.
12878         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12880 2011-10-17  Andreas Schwab  <schwab@redhat.com>
12882         * misc/sys/cdefs.h: Fix last change.
12884         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12885         database lookup.
12887 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
12889         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12891         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12892         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12893         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12894         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12895         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12896         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12897         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12898         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12899         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12900         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12901         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12902         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12903         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12904         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12905         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12906         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12907         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12908         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12909         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12910         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12911         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12912         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12914         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12915         ceil, ceilf, floor, floorf.
12917         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12918         Perform IRELATIVE relocations last.
12920         * elf/do-rel.h: Add another parameter nrelative, replacing the
12921         local variable with the same name.  Change name of the function
12922         to end in Rel or Rela (uppercase).
12923         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12924         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
12925         elf_dynamic_do_##reloc function.
12927 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
12929         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12930         is sufficient, at least on modern CPUs.
12932         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12934         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12935         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12937         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12938         __expl_finite.
12939         * math/bits/math-finite.h: Add entries for exp.
12940         * math/e_expl.c: Add __*_finite alias.
12941         * sysdeps/i386/fpu/e_exp.S: Likewise.
12942         * sysdeps/i386/fpu/e_expf.S: Likewise.
12943         * sysdeps/i386/fpu/e_expl.c: Likewise.
12944         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12945         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12946         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12947         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12948         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12949         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12950         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12952         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12953         is sufficient, at least on modern CPUs.
12955         * ctype/ctype-info.c (__ctype_init): Define.
12956         * include/ctype.h (__ctype_init): Declare.
12957         (__ctype_b_loc): The variable is always initialized.
12958         (__ctype_toupper_loc): Likewise.
12959         (__ctype_tolower_loc): Likewise.
12960         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12961         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12963 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
12965         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12967         * configure.in: Also look in $cxxmachine/include for C++ system
12968         headers.
12970 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12972         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12973         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12974         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12975         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
12976         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12977         (USE_AS_WMEMCMP): New macro.
12978         Fixing indents.
12979         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12980         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12981         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12982         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12984         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12985         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12986         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12987         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12988         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12989         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12990         (USE_AS_WMEMCMP): New macro.
12991         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12992         * sysdeps/string/test-memcmp.c: Update.
12993         Fix simple_wmemcmp.
12994         Add new tests.
12995         * wcsmbs/wmemcmp.c: Update.
12996         (WMEMCMP): New macro.
12997         Fix overflow bug.
12999 2011-10-12  Andreas Jaeger  <aj@suse.de>
13001         [BZ #13268]
13002         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13004 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
13006         * libio/iofwide.c (do_length): Avoid warning.
13008         * ctype/ctype.h (__isctype_f): Add missing __THROW.
13010 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
13012         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13014         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13015         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13016         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13017         * sysdeps/i386/i686/fpu/e_log.S: New file.
13018         * sysdeps/i386/i686/fpu/e_logf.S: New file.
13019         * sysdeps/i386/i686/fpu/e_logl.S: New file.
13021         * ctype/ctype.h: Add support for inlined isXXX functions when
13022         compiling C++ code.
13024 2011-10-14  Andreas Schwab  <schwab@redhat.com>
13026         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13028         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13030 2011-10-13  Roland McGrath  <roland@hack.frob.com>
13032         [BZ #13291]
13033         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13035 2011-10-13  Andreas Schwab  <schwab@redhat.com>
13037         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13038         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13039         feraiseexcept.
13041         * sysdeps/x86_64/memrchr.S: Check for zero size.
13043         * string/stratcliff.c: Add memrchr tests.
13045 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13047         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13048         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13049         rawmemchr-sse2 rawmemchr-sse2-bsf.
13050         * sysdeps/i386/i686/multiarch/memchr.S: New file.
13051         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13052         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13053         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13054         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13055         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13056         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13057         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13058         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13059         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13060         * string/memrchr.c (MEMRCHR): New macro.
13062 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
13064         Add integration with gcc's -ffinite-math-only and optimize wrapper
13065         functions in libm.
13066         * Versions.def: Define GLIBC_2.15 version for libm.
13067         * math/Makefile (headers): Add bits/math-finite.h.
13068         * math/bits/math-finite.h: New file.
13069         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13070         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13071         * math/e_acoshl.c: Add __*_finite alias.
13072         * math/e_acosl.c: Likewise.
13073         * math/e_asinl.c: Likewise.
13074         * math/e_atan2l.c: Likewise.
13075         * math/e_atanhl.c: Likewise.
13076         * math/e_coshl.c: Likewise.
13077         * math/e_exp10.c: Likewise.
13078         * math/e_exp10f.c: Likewise.
13079         * math/e_exp10l.c: Likewise.
13080         * math/e_exp2l.c: Likewise.
13081         * math/e_fmodl.c: Likewise.
13082         * math/e_gammal_r.c: Likewise.
13083         * math/e_hypotl.c: Likewise.
13084         * math/e_j0l.c: Likewise.
13085         * math/e_j1l.c: Likewise.
13086         * math/e_jnl.c: Likewise.
13087         * math/e_lgammal_r.c: Likewise.
13088         * math/e_log10l.c: Likewise.
13089         * math/e_log2l.c: Likewise.
13090         * math/e_logl.c: Likewise.
13091         * math/e_powl.c: Likewise.
13092         * math/e_sinhl.c: Likewise.
13093         * math/e_sqrtl.c: Likewise.
13094         * math/e_scalb.c: Completely rewritten and optimized.
13095         * math/e_scalbf.c: Likewise.
13096         * math/e_scalbl.c: Likewise.
13097         * math/w_acos.c: Likewise.
13098         * math/w_acosf.c: Likewise.
13099         * math/w_acosl.c: Likewise.
13100         * math/w_acosh.c: Likewise.
13101         * math/w_acoshf.c: Likewise.
13102         * math/w_acoshl.c: Likewise.
13103         * math/w_asin.c: Likewise.
13104         * math/w_asinf.c: Likewise.
13105         * math/w_asinl.c: Likewise.
13106         * math/w_atan2.c: Likewise.
13107         * math/w_atan2f.c: Likewise.
13108         * math/w_atan2l.c: Likewise.
13109         * math/w_atanh.c: Likewise.
13110         * math/w_atanhf.c: Likewise.
13111         * math/w_atanhl.c: Likewise.
13112         * math/w_exp10.c: Likewise.
13113         * math/w_exp10f.c: Likewise.
13114         * math/w_exp10l.c: Likewise.
13115         * math/w_fmod.c: Likewise.
13116         * math/w_fmodf.c: Likewise.
13117         * math/w_fmodl.c: Likewise.
13118         * math/w_j0.c: Likewise.
13119         * math/w_j0f.c: Likewise.
13120         * math/w_j0l.c: Likewise.
13121         * math/w_j1.c: Likewise.
13122         * math/w_j1f.c: Likewise.
13123         * math/w_j1l.c: Likewise.
13124         * math/w_jn.c: Likewise.
13125         * math/w_jnf.c: Likewise.
13126         * math/w_log.c: Likewise.
13127         * math/w_logf.c: Likewise.
13128         * math/w_logl.c: Likewise.
13129         * math/w_log10.c: Likewise.
13130         * math/w_log10f.c: Likewise.
13131         * math/w_log10l.c: Likewise.
13132         * math/w_log2.c: Likewise.
13133         * math/w_log2f.c: Likewise.
13134         * math/w_log2l.c: Likewise.
13135         * math/w_pow.c: Likewise.
13136         * math/w_powf.c: Likewise.
13137         * math/w_powl.c: Likewise.
13138         * math/w_remainder.c: Likewise.
13139         * math/w_remainderf.c: Likewise.
13140         * math/w_remainderl.c: Likewise.
13141         * math/w_scalb.c: Likewise.
13142         * math/w_scalbf.c: Likewise.
13143         * math/w_scalbl.c: Likewise.
13144         * math/w_sqrt.c: Likewise.
13145         * math/w_sqrtf.c: Likewise.
13146         * math/w_sqrtl.c: Likewise.
13147         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13148         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
13149         used.
13150         * math/math_private.h: Declare __kernel_standard_f.
13151         * math/w_cosh.c: Remove cruft and optimize a bit.
13152         * math/w_coshf.c: Likewise.
13153         * math/w_coshl.c: Likewise.
13154         * math/w_exp2.c: Likewise.
13155         * math/w_exp2f.c: Likewise.
13156         * math/w_exp2l.c: Likewise.
13157         * math/w_hypot.c: Likewise.
13158         * math/w_hypotf.c: Likewise.
13159         * math/w_hypotl.c: Likewise.
13160         * math/w_lgamma.c: Likewise.
13161         * math/w_lgamma_r.c: Likewise.
13162         * math/w_lgammaf.c: Likewise.
13163         * math/w_lgammaf_r.c: Likewise.
13164         * math/w_lgammal.c: Likewise.
13165         * math/w_lgammal_r.c: Likewise.
13166         * math/w_sinh.c: Likewise.
13167         * math/w_sinhf.c: Likewise.
13168         * math/w_sinhl.c: Likewise.
13169         * math/w_tgamma.c: Likewise.
13170         * math/w_tgammaf.c: Likewise.
13171         * math/w_tgammal.c: Likewise.
13172         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13173         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13174         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13175         Minor optimizations.  Pretty printing.  Remove cruft.
13176         * sysdeps/i386/fpu/e_acosf.S: Likewise.
13177         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13178         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13179         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13180         * sysdeps/i386/fpu/e_acosl.c: Likewise.
13181         * sysdeps/i386/fpu/e_asin.S: Likewise.
13182         * sysdeps/i386/fpu/e_asinf.S: Likewise.
13183         * sysdeps/i386/fpu/e_atan2.S: Likewise.
13184         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13185         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13186         * sysdeps/i386/fpu/e_atanh.S: Likewise.
13187         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13188         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13189         * sysdeps/i386/fpu/e_exp10.S: Likewise.
13190         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13191         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13192         * sysdeps/i386/fpu/e_exp2.S: Likewise.
13193         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13194         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13195         * sysdeps/i386/fpu/e_fmod.S: Likewise.
13196         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13197         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13198         * sysdeps/i386/fpu/e_hypot.S: Likewise.
13199         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13200         * sysdeps/i386/fpu/e_log.S: Likewise.
13201         * sysdeps/i386/fpu/e_log10.S: Likewise.
13202         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13203         * sysdeps/i386/fpu/e_log10l.S: Likewise.
13204         * sysdeps/i386/fpu/e_log2.S: Likewise.
13205         * sysdeps/i386/fpu/e_log2f.S: Likewise.
13206         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13207         * sysdeps/i386/fpu/e_logf.S: Likewise.
13208         * sysdeps/i386/fpu/e_logl.S: Likewise.
13209         * sysdeps/i386/fpu/e_pow.S: Likewise.
13210         * sysdeps/i386/fpu/e_powf.S: Likewise.
13211         * sysdeps/i386/fpu/e_powl.S: Likewise.
13212         * sysdeps/i386/fpu/e_remainder.S: Likewise.
13213         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13214         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13215         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13216         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13217         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13218         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13219         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13220         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13221         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13222         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13223         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13224         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13225         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13226         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13227         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13228         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13229         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13230         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13231         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13232         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13233         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13234         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13235         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13236         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13237         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13238         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13239         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13240         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13241         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13242         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13243         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13244         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13245         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13246         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13247         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13248         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13249         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13250         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13251         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13252         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13253         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13254         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13255         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13256         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13257         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13258         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13259         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13260         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13261         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13262         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13263         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13264         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13265         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13266         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13267         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13268         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13269         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13270         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13271         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13272         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13273         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13274         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13275         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13276         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13277         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13278         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13279         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13280         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13281         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13282         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13283         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13284         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13285         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13286         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13287         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13288         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13289         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13290         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13291         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13292         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13293         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13294         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13295         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13296         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13297         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13298         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13299         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13300         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13301         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13302         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13303         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13304         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13305         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13306         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13307         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13308         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13309         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13310         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13311         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13312         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13313         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13314         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13315         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13316         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13317         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13318         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13319         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13320         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13321         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13322         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13323         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13324         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13325         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13326         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13327         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13328         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13329         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13330         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13331         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
13332         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13333         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13334         (__isnanf): Likewise.
13335         (__isinf_ns): Likewise.
13336         (__isinf_nsf): Likewise.
13337         (__finite): Likewise.
13338         (__finitef): Likewise.
13339         (__ieee754_sqrt): Define as macro.
13340         (__ieee754_sqrtf): Define as macro.
13341         (__ieee754_sqrtl): Define as macro.
13342         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13343         inlined copy.
13344         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13345         __FINITE_MATH_ONLY__ consistent.
13346         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13348 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
13350         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13351         of rawmemchr.
13353         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13355 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
13357         * po/ja.po: Update from translation team.
13359 2011-10-08  Roland McGrath  <roland@hack.frob.com>
13361         * locale/programs/locarchive.c (prepare_address_space): New function.
13362         (create_archive, enlarge_archive, open_archive): Use it.
13364         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13365         inside [SHARED], where it is used.
13367         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13369         * nss/getent.c (netgroup_keys): Remove unused variable.
13370         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13372 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
13374         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13375         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13376         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13377         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13378         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13379         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13380         * math/Makefile (libm-calls): Add s_isinf_ns.
13381         * math/divtc3.c: Use __isinf_nsl instead of isinf.
13382         * math/multc3.c: Likewise.
13383         * math/s_casin.c: Likewise.
13384         * math/s_casinf.c: Likewise.
13385         * math/s_casinl.c: Likewise.
13386         * math/s_ccos.c: Likewise.
13387         * math/s_ccosf.c: Likewise.
13388         * math/s_ccosl.c: Likewise.
13389         * math/s_ctan.c: Likewise.
13390         * math/s_ctanf.c: Likewise.
13391         * math/s_ctanh.c: Likewise.
13392         * math/s_ctanhf.c: Likewise.
13393         * math/s_ctanhl.c: Likewise.
13394         * math/s_ctanl.c: Likewise.
13395         * math/w_fmod.c: Likewise.
13396         * math/w_fmodf.c: Likewise.
13397         * math/w_fmodl.c: Likewise.
13398         * math/w_remainder.c: Likewise.
13399         * math/w_remainderf.c: Likewise.
13400         * math/w_remainderl.c: Likewise.
13401         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13402         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13403         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13404         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13405         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13406         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13407         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13408         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13410         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13411         of the number.
13412         * stdio-common/printf_fphex.c: Likewise.
13413         * stdio-common/printf_size.c: Likewise.
13415         * math/e_exp10.c: Include math_private.h using <...> not "...".
13416         * math/e_exp10f.c: Likewise.
13417         * math/e_exp10l.c: Likewise.
13418         * math/e_exp2l.c: Likewise.
13419         * math/e_j0l.c: Likewise.
13420         * math/e_j1l.c: Likewise.
13421         * math/e_jnl.c: Likewise.
13422         * math/e_lgammal_r.c: Likewise.
13423         * math/e_rem_pio2l.c: Likewise.
13424         * math/e_scalb.c: Likewise.
13425         * math/e_scalbf.c: Likewise.
13426         * math/e_scalbl.c: Likewise.
13427         * math/k_cosl.c: Likewise.
13428         * math/k_sinl.c: Likewise.
13429         * math/k_tanl.c: Likewise.
13430         * math/s_cacoshf.c: Likewise.
13431         * math/s_catan.c: Likewise.
13432         * math/s_catanf.c: Likewise.
13433         * math/s_catanh.c: Likewise.
13434         * math/s_catanhf.c: Likewise.
13435         * math/s_catanhl.c: Likewise.
13436         * math/s_catanl.c: Likewise.
13437         * math/s_ccosh.c: Likewise.
13438         * math/s_ccoshf.c: Likewise.
13439         * math/s_ccoshl.c: Likewise.
13440         * math/s_cexp.c: Likewise.
13441         * math/s_cexpf.c: Likewise.
13442         * math/s_cexpl.c: Likewise.
13443         * math/s_clog.c: Likewise.
13444         * math/s_clog10.c: Likewise.
13445         * math/s_clog10f.c: Likewise.
13446         * math/s_clog10l.c: Likewise.
13447         * math/s_clogf.c: Likewise.
13448         * math/s_clogl.c: Likewise.
13449         * math/s_csin.c: Likewise.
13450         * math/s_csinf.c: Likewise.
13451         * math/s_csinh.c: Likewise.
13452         * math/s_csinhf.c: Likewise.
13453         * math/s_csinhl.c: Likewise.
13454         * math/s_csinl.c: Likewise.
13455         * math/s_csqrt.c: Likewise.
13456         * math/s_csqrtf.c: Likewise.
13457         * math/s_csqrtl.c: Likewise.
13458         * math/s_ctan.c: Likewise.
13459         * math/s_ctanf.c: Likewise.
13460         * math/s_ctanh.c: Likewise.
13461         * math/s_ctanhf.c: Likewise.
13462         * math/s_ctanhl.c: Likewise.
13463         * math/s_ctanl.c: Likewise.
13464         * math/s_ldexp.c: Likewise.
13465         * math/s_ldexpf.c: Likewise.
13466         * math/s_ldexpl.c: Likewise.
13467         * math/s_significand.c: Likewise.
13468         * math/s_significandf.c: Likewise.
13469         * math/s_significandl.c: Likewise.
13470         * math/w_acos.c: Likewise.
13471         * math/w_acosf.c: Likewise.
13472         * math/w_acosh.c: Likewise.
13473         * math/w_acoshf.c: Likewise.
13474         * math/w_acoshl.c: Likewise.
13475         * math/w_acosl.c: Likewise.
13476         * math/w_asin.c: Likewise.
13477         * math/w_asinf.c: Likewise.
13478         * math/w_asinl.c: Likewise.
13479         * math/w_atan2.c: Likewise.
13480         * math/w_atan2f.c: Likewise.
13481         * math/w_atan2l.c: Likewise.
13482         * math/w_atanh.c: Likewise.
13483         * math/w_atanhf.c: Likewise.
13484         * math/w_atanhl.c: Likewise.
13485         * math/w_cosh.c: Likewise.
13486         * math/w_coshf.c: Likewise.
13487         * math/w_coshl.c: Likewise.
13488         * math/w_dremf.c: Likewise.
13489         * math/w_exp10.c: Likewise.
13490         * math/w_exp10f.c: Likewise.
13491         * math/w_exp10l.c: Likewise.
13492         * math/w_exp2.c: Likewise.
13493         * math/w_exp2f.c: Likewise.
13494         * math/w_fmod.c: Likewise.
13495         * math/w_fmodf.c: Likewise.
13496         * math/w_fmodl.c: Likewise.
13497         * math/w_hypot.c: Likewise.
13498         * math/w_hypotf.c: Likewise.
13499         * math/w_hypotl.c: Likewise.
13500         * math/w_j0.c: Likewise.
13501         * math/w_j0f.c: Likewise.
13502         * math/w_j0l.c: Likewise.
13503         * math/w_j1.c: Likewise.
13504         * math/w_j1f.c: Likewise.
13505         * math/w_j1l.c: Likewise.
13506         * math/w_jn.c: Likewise.
13507         * math/w_jnf.c: Likewise.
13508         * math/w_jnl.c: Likewise.
13509         * math/w_lgamma.c: Likewise.
13510         * math/w_lgamma_r.c: Likewise.
13511         * math/w_lgammaf.c: Likewise.
13512         * math/w_lgammaf_r.c: Likewise.
13513         * math/w_lgammal.c: Likewise.
13514         * math/w_lgammal_r.c: Likewise.
13515         * math/w_log.c: Likewise.
13516         * math/w_log10.c: Likewise.
13517         * math/w_log10f.c: Likewise.
13518         * math/w_log10l.c: Likewise.
13519         * math/w_log2.c: Likewise.
13520         * math/w_log2f.c: Likewise.
13521         * math/w_log2l.c: Likewise.
13522         * math/w_logf.c: Likewise.
13523         * math/w_logl.c: Likewise.
13524         * math/w_pow.c: Likewise.
13525         * math/w_powf.c: Likewise.
13526         * math/w_powl.c: Likewise.
13527         * math/w_remainder.c: Likewise.
13528         * math/w_remainderf.c: Likewise.
13529         * math/w_remainderl.c: Likewise.
13530         * math/w_scalb.c: Likewise.
13531         * math/w_scalbf.c: Likewise.
13532         * math/w_scalbl.c: Likewise.
13533         * math/w_sinh.c: Likewise.
13534         * math/w_sinhf.c: Likewise.
13535         * math/w_sinhl.c: Likewise.
13536         * math/w_sqrt.c: Likewise.
13537         * math/w_sqrtf.c: Likewise.
13538         * math/w_sqrtl.c: Likewise.
13539         * math/w_tgamma.c: Likewise.
13540         * math/w_tgammaf.c: Likewise.
13541         * math/w_tgammal.c: Likewise.
13543         * po/ja.po: Update from translation team.
13545 2011-09-29  Andreas Jaeger  <aj@suse.de>
13547         [BZ #13179]
13548         * sunrpc/netname.c (netname2host): Fix logic.
13550         [BZ #6779]
13551         [BZ #6783]
13552         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13553         correctly.
13554         * math/w_remainder.c (__remainder): Likewise.
13555         * math/w_remainderf.c (__remainderf): Likewise.
13556         * math/libm-test.inc (remainder_test): Add test cases.
13558 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13560         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
13561         sdiv_qrnnd.
13563 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
13565         * string/test-memcmp.c: Avoid unncessary #defines.
13566         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13568 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13570         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13571         Use new sse2 version for core i3 - i7 as it's faster
13572         than sse42 version.
13573         (bit_Prefer_PMINUB_for_stringop): New.
13574         * sysdeps/x86_64/rawmemchr.S: Update.
13575         Replace with faster SSE2 version.
13576         * sysdeps/x86_64/memrchr.S: New file.
13577         * sysdeps/x86_64/memchr.S: Update.
13578         Replace with faster SSE2 version.
13580 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
13582         * elf/dl-load.c (lose): Add cast to avoid warning.
13584 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
13586         * po/ca.po: Update from translation team.
13588         * inet/getnetgrent_r.c: Hook up nscd.
13589         * nscd/Makefile (routines): Add nscd_netgroup.
13590         (nscd-modules): Add netgroupcache.
13591         (CFLAGS-netgroupcache.c): Define.
13592         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13593         (cache_search): Add const to second parameter.
13594         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13595         INNETGR.
13596         (dbs): Add netgrdb entry.
13597         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13598         (verify_persistent_db): Handle netgrdb.
13599         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13600         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13601         GETFDNETGR.
13602         (netgroup_response_header): Define.
13603         (innetgroup_response_header): Define.
13604         (datahead): Add netgroup_response_header and innetgroup_response_header
13605         elements.
13606         * nscd/nscd.conf: Add entries for netgroup cache.
13607         * nscd/nscd.h (dbtype): Add netgrdb.
13608         (_PATH_NSCD_NETGROUP_DB): Define.
13609         (netgroup_iov_disabled): Declare.
13610         (xmalloc, xcalloc, xrealloc): Move declarations here.
13611         (cache_search): Adjust prototype.
13612         Add netgroup-related prototypes.
13613         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13614         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13615         (__nscd_innetgr): Declare.
13616         * nscd/selinux.c (perms): Use access_vector_t as element type and
13617         add netgroup-related initializers.
13618         * nscd/netgroupcache.c: New file.
13619         * nscd/nscd_netgroup.c: New file.
13620         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13621         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13622         For four parameters use innetgr.
13623         * nss/nss_files/files-init.c: Add definition and callback for netgr.
13624         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13625         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13626         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13628         * nscd/connections.c (register_traced_file): Don't register file
13629         for disabled databases.
13631 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
13633         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13635         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13636         from tree and freeing node.
13638 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
13640         * nss/nsswitch.c (__nss_database_lookup): Handle
13641         nss_parse_service_list out of memory case.
13643 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
13645         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13646         out of memory case.
13648 2011-10-04  Andreas Schwab  <schwab@redhat.com>
13650         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13651         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13652         pass it down.
13653         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13654         elf_machine_rela, elf_machine_lazy_rel.
13655         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13656         (ELF_DYNAMIC_DO_REL): Likewise.
13657         (ELF_DYNAMIC_DO_RELA): Likewise.
13658         (ELF_DYNAMIC_RELOCATE): Likewise.
13659         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13660         to ELF_DYNAMIC_DO_REL.
13661         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13662         (dl_main): In trace mode always set __RTLD_NOIFUNC.
13663         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13664         elf_machine_rela.
13665         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13666         skip_ifunc, don't call ifunc function if non-zero.
13667         (elf_machine_rela): Likewise.
13668         (elf_machine_lazy_rel): Likewise.
13669         (elf_machine_lazy_rela): Likewise.
13670         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13671         (elf_machine_lazy_rel): Likewise.
13672         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13673         Likewise.
13674         (elf_machine_lazy_rel): Likewise.
13675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13676         Likewise.
13677         (elf_machine_lazy_rel): Likewise.
13678         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13679         (elf_machine_lazy_rel): Likewise.
13680         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13681         (elf_machine_lazy_rel): Likewise.
13682         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13683         (elf_machine_lazy_rel): Likewise.
13684         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13685         (elf_machine_lazy_rel): Likewise.
13686         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13687         (elf_machine_lazy_rel): Likewise.
13688         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13689         (elf_machine_lazy_rel): Likewise.
13691 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
13693         * nss/nss_files/files-init.c (_nss_files_init): Use static
13694         initialization for all the *_traced_file variables.
13696 2011-09-28  Andreas Schwab  <schwab@redhat.com>
13698         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13700 2011-09-27  Roland McGrath  <roland@hack.frob.com>
13702         [BZ #13226]
13703         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13705 2011-09-27  Andreas Schwab  <schwab@redhat.com>
13707         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13708         Reread the line before reparsing it.
13710 2011-09-26  Andreas Schwab  <schwab@redhat.com>
13712         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13714 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
13715             Maxim Kuvyrkov  <maxim@codesourcery.com>
13716             Joseph Myers  <joseph@codesourcery.com>
13718         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13719         if needed for __stack_chk_guard.
13721 2011-09-19  Roland McGrath  <roland@hack.frob.com>
13723         * sysdeps/posix/spawni.c (script_execute): Always define it.
13724         It will be optimized away if unused.
13725         (maybe_script_execute): New function.
13726         (__spawni): Call it.
13728         * Makerules: Don't include tls.make.
13729         (config-tls): Always set to thread.
13730         * tls.make.c: File removed.
13732 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
13734         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13735         * config.make.in (CPPFLAGS-config): New substituted variable.
13737 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
13739         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13741         [BZ #13192]
13742         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13743         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13745 2011-09-15  Roland McGrath  <roland@hack.frob.com>
13747         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13748         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13749         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13750         (CALL_FAIL): Likewise.
13751         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13752         (CALL_FAIL): Macro removed.
13753         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13755 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
13757         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13758         for __FINITE_MATH_ONLY__ == 1.
13760 2011-09-15  Andreas Schwab  <schwab@redhat.com>
13762         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13763         __ieee754_sqrt instead of sqrt.
13764         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13765         __ieee754_sqrtf instead of sqrtf.
13766         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13767         __floorf instead of floorf.
13768         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13769         __floorf, __truncf instead of floorf, truncf.
13771 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
13773         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13775         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13776         __extern_always_inline.
13777         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13778         32-bit.
13780 2011-09-14  Andreas Schwab  <schwab@redhat.com>
13782         * elf/rtld.c (dl_main): Also relocate in dependency order when
13783         doing symbol dependency testing.
13785 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
13787         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13788         Always define `refsym'.
13790 2011-09-13  Andreas Schwab  <schwab@redhat.com>
13792         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13793         (__FD_ELT): Renamed from __FDELT.
13794         * misc/bits/select2.h (__FD_ELT): Likewise.
13795         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13796         __FD_MASK instead of __FDELT, __FDMASK.
13797         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13798         Likewise.
13799         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13800         Likewise.
13802         * elf/Makefile (gen-ldd): Fix pattern.
13804         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13805         (init_tls): Likewise.
13807 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
13809         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13811 2011-09-12  Andreas Schwab  <schwab@redhat.com>
13813         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13814         `struct cmsghdr *' instead of `void *'.
13815         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13816         Likewise.
13818 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
13820         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13821         if non-absolute.
13822         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13823         ldd_rewrite_script.
13825 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
13827         * configure.in: Remove --with-tls option.
13828         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13829         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13830         out in case it is missing.
13831         * sysdeps/ia64/elf/configure.in: Likewise.
13832         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13833         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13834         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13835         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13836         * sysdeps/sh/elf/configure.in: Likewise.
13837         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13838         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13839         * sysdeps/x86_64/elf/configure.in: Likewise.
13840         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13841         * sysdeps/mach/hurd/tls.h: Likewise.
13843         [BZ #13067]
13844         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13846         [BZ #13090]
13847         * configure.in: Fix use of AC_INIT.
13849         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13851 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
13853         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13854         __set_errno.
13855         * malloc/hooks.c: Likewise.
13857         [BZ #11929]
13858         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
13859         variables statically.
13860         (narenas): Initialize.
13861         (list_lock): Initialize.
13862         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
13863         initializtion of main_arena and list_lock.  Small cleanups.
13864         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13865         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
13866         Add initializers to main_arena and mp_.
13867         (malloc_state): Remove pagesize member.  Change all users to use
13868         GLRO(dl_pagesize).
13870         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13871         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
13872         is always initialized.
13874         * malloc/malloc.c: Removed unused configurations and dead code.
13875         * malloc/arena.c: Likewise.
13876         * malloc/hooks.c: Likewise.
13877         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13879         * include/tls.h: Removed.  USE___THREAD must always be defined.
13880         * bits/libc-tsd.h: Don't handle !USE___THREAD.
13881         * elf/dl-libc.c: Likewise.
13882         * elf/dl-tsd.c: Likewise.
13883         * include/errno.h: Likewise.
13884         * include/netdb.h: Likewise.
13885         * include/resolv.h: Likewise.
13886         * inet/herrno-loc.c: Likewise.
13887         * inet/herrno.c: Likewise.
13888         * malloc/arena.c: Likewise.
13889         * malloc/hooks.c: Likewise.
13890         * malloc/malloc.c: Likewise.
13891         * resolv/res-state.c: Likewise.
13892         * resolv/res_libc.c: Likewise.
13893         * sysdeps/i386/dl-machine.h: Likewise.
13894         * sysdeps/ia64/dl-machine.h: Likewise.
13895         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13896         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13897         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13898         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13899         * sysdeps/sh/dl-machine.h: Likewise.
13900         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13901         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13902         * sysdeps/unix/i386/sysdep.S: Likewise.
13903         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13904         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13906         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13907         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13908         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13909         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13913         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13914         * sysdeps/x86_64/dl-machine.h: Likewise.
13915         * tls.make.c: Likewise.
13917         * configure.in: Remove --with-__thread option.  Make tests for
13918         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13919         tls_model attribute fail if no support is available.  Remove
13920         USE_IN_LIBIO.
13921         * Makeconfig: Adjust for dropped configure option.  All features are
13922         now mandatory.
13923         * Makerules: Likewise.
13924         * Versions.def: Likewise.
13925         * argp/argp-fmtstream.c: Likewise.
13926         * argp/argp-fmtstream.h: Likewise.
13927         * argp/argp-help.c: Likewise.
13928         * assert/assert.c: Likewise.
13929         * config.h.in: Likewise.
13930         * config.make.in: Likewise.
13931         * configure: Likewise.
13932         * configure.in: Likewise.
13933         * csu/Versions: Likewise.
13934         * csu/init.c: Likewise.
13935         * elf/tst-audit2.c: Likewise.
13936         * elf/tst-tls10.c: Likewise.
13937         * elf/tst-tls10.h: Likewise.
13938         * elf/tst-tls11.c: Likewise.
13939         * elf/tst-tls12.c: Likewise.
13940         * elf/tst-tls14.c: Likewise.
13941         * elf/tst-tlsmod11.c: Likewise.
13942         * elf/tst-tlsmod12.c: Likewise.
13943         * elf/tst-tlsmod13.c: Likewise.
13944         * elf/tst-tlsmod13a.c: Likewise.
13945         * elf/tst-tlsmod14a.c: Likewise.
13946         * elf/tst-tlsmod15b.c: Likewise.
13947         * elf/tst-tlsmod16a.c: Likewise.
13948         * elf/tst-tlsmod16b.c: Likewise.
13949         * elf/tst-tlsmod7.c: Likewise.
13950         * elf/tst-tlsmod8.c: Likewise.
13951         * elf/tst-tlsmod9.c: Likewise.
13952         * gmon/gmon.c: Likewise.
13953         * grp/fgetgrent_r.c: Likewise.
13954         * grp/putgrent.c: Likewise.
13955         * hurd/fopenport.c: Likewise.
13956         * include/libc-symbols.h: Likewise.
13957         * include/tls.h: Likewise.
13958         * intl/gettextP.h: Likewise.
13959         * intl/loadinfo.h: Likewise.
13960         * locale/global-locale.c: Likewise.
13961         * locale/localeinfo.h: Likewise.
13962         * mach/devstream.c: Likewise.
13963         * malloc/arena.c: Likewise.
13964         * malloc/set-freeres.c: Likewise.
13965         * misc/err.c: Likewise.
13966         * misc/getttyent.c: Likewise.
13967         * misc/mntent_r.c: Likewise.
13968         * posix/getopt.c: Likewise.
13969         * posix/wordexp.c: Likewise.
13970         * pwd/fgetpwent_r.c: Likewise.
13971         * resolv/Versions: Likewise.
13972         * resolv/res_hconf.c: Likewise.
13973         * shadow/fgetspent_r.c: Likewise.
13974         * shadow/putspent.c: Likewise.
13975         * stdio-common/printf_fphex.c: Likewise.
13976         * stdio-common/tmpfile.c: Likewise.
13977         * stdlib/abort.c: Likewise.
13978         * stdlib/fmtmsg.c: Likewise.
13979         * sunrpc/auth_unix.c: Likewise.
13980         * sunrpc/clnt_perr.c: Likewise.
13981         * sunrpc/clnt_tcp.c: Likewise.
13982         * sunrpc/clnt_udp.c: Likewise.
13983         * sunrpc/clnt_unix.c: Likewise.
13984         * sunrpc/openchild.c: Likewise.
13985         * sunrpc/svc_simple.c: Likewise.
13986         * sunrpc/svc_tcp.c: Likewise.
13987         * sunrpc/svc_udp.c: Likewise.
13988         * sunrpc/svc_unix.c: Likewise.
13989         * sunrpc/xdr.c: Likewise.
13990         * sunrpc/xdr_array.c: Likewise.
13991         * sunrpc/xdr_rec.c: Likewise.
13992         * sunrpc/xdr_ref.c: Likewise.
13993         * sunrpc/xdr_stdio.c: Likewise.
13995 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13997         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13999 2011-07-03  Andreas Jaeger  <aj@suse.de>
14001         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14002         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14003         regenerate with gen-libm-tests.pl.
14005 2010-05-12  Petr Baudis  <pasky@suse.cz>
14007         [BZ #11589]
14008         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14009         around j0() zero points by switching to j1().
14010         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14011         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14012         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14013         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14015 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14017         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14018         instead of 0.
14019         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14020         instead of 0.                              .
14021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14022         Patch in part by Pavel Roskin <proski@gnu.org>.
14024         [BZ #13138]
14025         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14026         realloc.
14027         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
14028         Free memory block if necessary.
14030         [BZ #12847]
14031         * libio/genops.c (INTDEF): For string streams the _lock pointer can
14032         be NULL.  Don't lock in this case.
14034 2011-09-09  Roland McGrath  <roland@hack.frob.com>
14036         * elf/elf.h (ELFOSABI_GNU): New macro.
14037         (ELFOSABI_LINUX): Define to that.
14039 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
14041         * string/strncat.c (strncat): Undef the symbol in case it has been
14042         defined in bits/string.h.
14044 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
14046         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14048         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14049         link map.
14051 2011-08-17  Andreas Jaeger  <aj@suse.de>
14053         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14055 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14056             Ian Lance Taylor  <iant@google.com>
14058         * math/libm-test.inc (lround_test): New testcase.
14059         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14061 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
14063         * Makefile: Remove support for automatic cvs check-ins.
14064         * Makerules: Likewise.
14065         * config.make.in: Likewise.
14066         * configure.in: Likewise.
14067         * intl/Makefile: Likewise.
14068         * locale/Makefile: Likewise.
14069         * po/Makefile: Likewise.
14070         * posix/Makefile: Likewise.
14071         * sysdeps/gnu/Makefile: Likewise.
14072         * sysdeps/mach/hurd/Makefile: Likewise.
14073         * sysdeps/sparc/sparc32/Makefile: Likewise.
14075         [BZ #13118]
14076         * posix/Makefile (bug-regex32-ENV): Define.
14077         Patch by John Stanley <jpsinthemix@verizon.net>.
14079         * misc/Makefile (headers): Add bits/select2.h.
14080         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14081         * misc/bits/select2.h: New file.
14082         * include/bits/select2.h: New file.
14083         * debug/Makefile (routines): Add fdelt_chk.
14084         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14085         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14086         FD_ISSET.
14087         * debug/fdelt_chk.c: New file.
14089         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
14090         * wcsmbs/test-wmemcmp.c: Likewise.
14091         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14092         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14094 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14096         * string/Makefile (strop-tests): Add memcmp.
14097         * string/test-wmemcmp.c: New file.
14098         * string/test-memcmp.c: Add wmemcmp support.
14100 2011-09-08  Roland McGrath  <roland@hack.frob.com>
14102         [BZ #13153]
14103         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14104         2011-07-19 change.
14106         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14107         garbage value in a __mach_port_mod_refs call in the cases of the
14108         task-self and thread-self ports.
14110 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14112         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14114 2011-09-08  Andreas Schwab  <schwab@redhat.com>
14116         * elf/dl-load.c (lose): Check for non-null L.
14118 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
14120         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14122         * elf/dl-libc.c (dlerror_run): Pass back error code from
14123         dl_catch_error.
14125         [BZ #13123]
14126         * elf/dl-load.c (lose): Free l_origin if it is valid.
14128         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14129         names.
14130         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14131         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14132         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14133         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14134         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14135         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14137 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14139         * sysdeps/powerpc/fpu/e_hypot.c: New file.
14140         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14141         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14142         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14143         * sysdeps/powerpc/fpu/k_cosf.c: New file.
14144         * sysdeps/powerpc/fpu/k_sinf.c: New file.
14145         * sysdeps/powerpc/fpu/s_cosf.c: New file.
14146         * sysdeps/powerpc/fpu/s_sinf.c: New file.
14147         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14148         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14150 2011-08-15  Alan Modra  <amodra@gmail.com>
14152         [BZ #13092]
14153         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14154         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14155         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
14156         ppc_mcount to static-only-routines.
14157         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14158         __mcount_internal.
14159         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14160         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
14162 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
14164         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14165         for finite and infinity parameters.
14167 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
14169         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14170         and add nop instructions for throughput optimization.
14171         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14173 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
14175         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14176         aligned copy for power7 with vector-scalar instructions.
14177         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14179 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
14181         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14182         AVX check.
14184 2011-09-07  Andreas Schwab  <schwab@redhat.com>
14186         [BZ #13144]
14187         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14188         last change.
14190 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
14192         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14193         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14194         syscall wrapper around clock_gettime in __vdso_clock_gettime.
14195         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14196         clock_gettime.
14198 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
14200         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14201         Forgot to demangle the pointer.
14203         * sysdeps/i386/sysdep.h: Define atom_text_section.
14204         * sysdeps/x86_64/sysdep.h: Likewise.
14205         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14206         section with atom_text_section.
14207         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14208         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14209         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14210         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14211         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14213         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14214         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14215         already be defined.  Change to take two parameters and don't assign
14216         result to variable.  Adjust all users.
14217         Define INTERNAL_GETTIME if not already defined.
14218         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14219         call.
14220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14221         HAVE_CLOCK_GETTIME_VSYSCALL.
14222         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14224         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14225         gettimeofday vsyscall, just use time.
14227 2011-09-06  Andreas Schwab  <schwab@redhat.com>
14229         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14230         <errno.h>.
14232 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
14234         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14235         syscall on x86-64.
14236         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14237         syscall.
14238         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14239         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14240         syscall if possible.
14242 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
14244         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14245         e_ident.  Don't pass to find_mapsXX.
14246         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14248 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14251         strchr-sse2-no-bsf strrchr-sse2-no-bsf
14252         * sysdeps/x86_64/multiarch/strchr.S: Update.
14253         Check bit_slow_BSF bit.
14254         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14255         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14256         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14258 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
14260         [BZ #13134]
14261         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14262         before glibc 2.15.
14263         (tryshell): Define.
14264         (__spawni): Change last parameter to be flag.  Test
14265         SPAWN_XFLAGS_USE_PATH flag to use path or not.
14266         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14267         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14268         * posix/spawni.c: Likewise.
14269         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14270         * posix/spawnp.c: Likewise.  Change normal version to use
14271         SPAWN_XFLAGS_USE_PATH.
14272         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14273         SPAWN_XFLAGS_TRY_SHELL.
14275         [BZ #13150]
14276         * posix/glob.h: Remove gcc 1.x support.
14278         [BZ #13068]
14279         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14281 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14283         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14284         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14285         strrchr-sse2-bsf
14286         * sysdeps/i386/i686/multiarch/strchr.S: New file.
14287         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14288         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14289         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14290         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14291         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14293 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14295         * sysdeps/x86_64/wcscmp.S: New file.
14297         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14298         wcscmp-c wcscmp-sse2
14299         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14300         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14301         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14302         * wcsmbs/wcscmp.c: Allow renaming.
14304 2011-09-05  David S. Miller  <davem@davemloft.net>
14306         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14307         stack slot, rather than the struct return pointer slot.
14308         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14309         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14311         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14313 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
14315         * po/ja.po: Update from translation team.
14317         [BZ #13144]
14318         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14319         kernel in 64-bit binaries.
14321 2011-09-01  David S. Miller  <davem@davemloft.net>
14323         * elf/elf.h (HWCAP_SPARC_*): Move to..
14324         * sysdeps/sparc/sysdep.h: this new file and add new values.
14325         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14326         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14327         _DL_HWCAP_COUNT to 24.
14328         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14329         entries.
14330         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14331         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14332         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14333         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14334         instead of magic constants.
14335         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14337 2011-08-31  David S. Miller  <davem@davemloft.net>
14339         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14341         Reimplement to do errno handling inline.
14342         (SYSCALL_ERROR_HANDLER): New macro.
14343         (__SYSCALL_STRING): Do not do errno handling in asm.
14344         (__CLONE_SYSCALL_STRING): Delete.
14345         (__INTERNAL_SYSCALL_STRING): Delete.
14346         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14347         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14348         (PSEUDO): Reimplement to do errno handling inline.
14349         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14350         (SYSCALL_ERROR_HANDLER): New macro.
14351         (__SYSCALL_STRING): Do not do errno handling in asm.
14352         (__CLONE_SYSCALL_STRING): Delete.
14353         (__INTERNAL_SYSCALL_STRING): Delete.
14354         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14355         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14356         i386.
14357         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14358         (inline_syscall*): Add 'err' argument.
14359         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14360         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14361         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14362         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14364         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14365         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14367 2011-08-30  Andreas Schwab  <schwab@redhat.com>
14369         * elf/rtld.c (dl_main): Relocate objects in dependency order.
14371 2011-08-29  Jiri Olsa <jolsa@redhat.com>
14373         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14374         directive.
14376 2011-08-24  David S. Miller  <davem@davemloft.net>
14378         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14380 2011-08-24  Andreas Schwab  <schwab@redhat.com>
14382         * elf/Makefile: Add rules to build and run unload8 test.
14383         * elf/unload8.c: New file.
14384         * elf/unload8mod1.c: New file.
14385         * elf/unload8mod1x.c: New file.
14386         * elf/unload8mod2.c: New file.
14387         * elf/unload8mod3.c: New file.
14389         * elf/dl-close.c (_dl_close_worker): Reset private search list if
14390         it wasn't used.
14392 2011-08-23  David S. Miller  <davem@davemloft.net>
14394         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14395         subtract stack bias.
14396         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14397         %sp not %fp in calculations.
14398         (_JMPBUF_UNWINDS_ADJ): Likewise.
14400         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14401         (aio_suspend): Call it to force an exception region around the
14402         AIO_MISC_WAIT() invocation.
14404 2011-08-23  Andreas Schwab  <schwab@redhat.com>
14406         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14407         backslash.
14409 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
14411         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14412         protection macro.
14413         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14414         and <dl-machine.h>.
14415         (Elf64_FuncDesc): Remove.
14417 2011-08-22  David S. Miller  <davem@davemloft.net>
14419         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14420         sigaltstack check, add missing cfi directives.
14421         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14422         missing cfi directives, and sigaltstack handling.
14424 2011-08-16  Andreas Schwab  <schwab@redhat.com>
14426         [BZ #11724]
14427         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14428         object is seen twice.
14429         * elf/dl-fini.c (_dl_sort_fini): Likewise.
14431         * elf/Makefile (distribute): Add tst-initorder2.c.
14432         (tests): Add tst-initorder2.
14433         (modules-names): Add tst-initorder2a tst-initorder2b
14434         tst-initorder2c tst-initorder2d.  Add rules to build them.
14435         ($(objpfx)tst-initorder2.out): New rule.
14436         * elf/tst-initorder2.c: New file.
14437         * elf/tst-initorder2.exp: New file.
14439 2011-08-22  Andreas Schwab  <schwab@redhat.com>
14441         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14443         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14444         dependencies back to end of function.
14446         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14447         $(elfobjdir)/ld.so.
14449 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
14451         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14452         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14453         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14454         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14455         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14456         of __vdso_gettimeofday.
14457         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14458         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
14459         attribute_hidden.
14460         (_libc_vdso_platform_setup): Remove initialization of
14461         __vdso_gettimeofday and __vdso_time.
14463 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
14465         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14466         and fgetc_unlocked.
14467         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14468         getc_unlocked.
14470         * elf/dl-open.c (add_to_global): Report additions to the global scope
14471         for LD_DEBUG=scopes.
14472         (dl_open_worker): Also print scope of newly loaded dependencies.
14473         (_dl_show_scope): Indicate if there is no scope.
14475         [BZ #13114]
14476         * stdio-common/Makefile (tests): Add bug24.
14477         * stdio-common/bug24.c: New file.
14479 2011-08-19  Andreas Jaeger  <aj@suse.de>
14481         [BZ #13114]
14482         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14483         non-existant file when using close-on-exec mode.
14485 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
14487         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14488         the very first instruction.
14490         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14491         the CFI state in the end.
14492         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14493         inclusion of dl-trampoline.h.
14494         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14496 2011-08-19  Andreas Schwab  <schwab@redhat.com>
14498         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14499         expectations for long double.
14501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14502         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14504 2011-08-14  David S. Miller  <davem@davemloft.net>
14506         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14507         artificual limit depends upon the system page size.
14509 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
14511         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14512         * resolv/Makefile: Define CFLAGS-libresolv.
14514 2011-08-17  Andreas Schwab  <schwab@redhat.com>
14516         * nss/makedb.c (compute_tables): Make variables used in nested
14517         function static.
14519 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
14521         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14522         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14523         if buffer was too small.
14525         * elf/pldd.c (main): Attach to all threads in the process.
14526         Rewrite /proc handling to use *at functions.
14528 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
14530         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14531         specifies first scope to show.
14532         (dl_open_worker): Update callers.  Move printing scope of new
14533         object to before the relocation.
14534         * elf/rtld.c (dl_main): Update _dl_show_scope call.
14535         * sysdeps/generic/ldsodefs.h: Update declaration.
14537         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14538         string for the scope number.
14540 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
14542         * nscd/servicescache.c (cache_addserv): Make sure written is always
14543         initialized.
14545 2011-08-14  Roland McGrath  <roland@hack.frob.com>
14547         * sysdeps/i386/i486/bits/atomic.h
14548         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14549         statement expression, so as to suppress "set but not used" warning.
14550         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14552         * string/strncat.c (STRNCAT): Use prototype definition.
14554         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14555         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14556         -Iprograms here.
14557         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14558         (localedef-modules): Add localedef.
14559         (locale-modules): Add locale.
14561         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14562         * elf/rtld.c (dl_main): Invert order of assignment in last change,
14563         to avoid a warning.
14565 2011-08-14  David S. Miller  <davem@davemloft.net>
14567         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14568         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14570 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
14572         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14573         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14574         * elf/rtld.c (dl_main): Set l_name of vDSO.
14575         Call _dl_show_scope when DL_DEBUG_SCOPES.
14576         (process_dl_debug): Recognize scopes flag and also set it for all.
14577         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14578         Declare _dl_show_scope.
14580         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14581         (do_dlopen): Pass caller_dlopen to dl_open.
14582         (__libc_dlopen_mode): Initialize caller_dlopen.
14584         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14585         of libc.  Make tolower call locale-independent.  Optimize a bit by
14586         using isdigit instead of isalnum.
14587         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14589 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
14591         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14592         was a dependency or dynamically loaded.
14594 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
14596         * intl/l10nflist.c: Allow architecture-specific pop function.
14597         * sysdeps/x86_64/l10nflist.c: New file.
14599         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14600         classification.
14602 2011-08-10  Andreas Schwab  <schwab@redhat.com>
14604         * include/dirent.h: Add libc_hidden_proto for scandirat and
14605         scandirat64.  Don't declare __scandirat64.
14606         * dirent/scandirat.c: Add libc_hidden_def.
14607         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14608         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14610 2011-08-10  David S. Miller  <davem@davemloft.net>
14612         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14613         enum.
14614         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14616         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14618 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
14620         * Versions.def [libc]: Add GLIBC_2.15.
14621         * dirent/Makefile (routines): Add scandirat and scandirat64.
14622         * dirent/Versions [libc]: Export scandirat and scandirat64 for
14623         GLIBC_2.15.
14624         * dirent/dirent.h: Declare scandirat and scandirat64.
14625         * dirent/scandirat.c: New file.
14626         * dirent/scandirat64.c: New file.
14627         * sysdeps/wordsize-64/scandirat.c: New file.
14628         * sysdeps/wordsize-64/scandirat64.c: New file.
14629         * dirent/opendir.c: Define opendirat.
14630         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
14631         using scandirat.
14632         * dirent/scandir64.c: Adjust for scandir.c change.
14633         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
14634         __scandirat64, and __scandir_cancel_handler.
14635         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
14636         additional parameter and use openat instead of open (outside of ld.so).
14637         Add new __opendir as wrapper around __opendirat.
14638         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14639         here without requiring old scandirat implementation.
14641 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
14643         * dirent/scandir.c (cancel_handler): Renamed to
14644         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
14645         defined.  Adjust users.
14646         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14647         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14649 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
14651         * string/test-string.h (IMPL): Use __STRING to expand name and then
14652         stringify it.
14654         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
14655         of cleanups.
14657 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14659         * string/Makefile: Update.
14660         (strop-tests): Append strncat.
14661         * string/test-wcscmp.c: New file.
14662         New comprehensive test for wcscmp.
14663         * string/test-strcmp.c: Update.
14664         (WIDE): New define.
14666 2011-07-22  Andreas Schwab  <schwab@redhat.com>
14668         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14669         line.
14671 2011-07-26  Andreas Schwab  <schwab@redhat.com>
14673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14674         encoding to ACE if AI_IDN.
14676 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
14678         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14679         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14681 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14683         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14684         Fix overflow bug in strncat.
14685         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14687         * string/test-strncat.c: Update.
14688         Add new tests for checking overflow bugs.
14690 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14692         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14693         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14694         * sysdeps/i386/i686/multiarch/strcat.S: New file.
14695         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14696         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14697         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14698         * sysdeps/i386/i686/multiarch/strncat.S: New file.
14699         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14700         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14702         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14703         (USE_AS_STRCAT): Define.
14704         Add strcat and strncat support.
14705         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14707 2011-07-25  Andreas Schwab  <schwab@redhat.com>
14709         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14710         __n bigger than INT_MAX+1.
14711         (__strncmp_g): Likewise.
14713 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
14715         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14716         * libio/stido.h: Likewise.
14718         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14719         (AF_NFC): Define.
14720         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14721         (AF_NFC): Define.
14723         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14724         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14725         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14726         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14727         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14729         [BZ #13021]
14730         * scripts/test-installation.pl: Don't expect libnss_test1 to be
14731         installed.
14733         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14734         typo.
14735         (_dl_x86_64_save_sse): Likewise.
14737 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
14739         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14740         OSXSAVE.
14741         (_dl_x86_64_save_sse): Likewise.
14743         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14745         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14747 2011-07-21  Andreas Schwab  <schwab@redhat.com>
14749         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14750         change.
14751         (_dl_x86_64_save_sse): Use correct AVX check.
14753 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14755         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14756         bug in strncpy/strncat.
14757         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14759 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
14761         * string/tester.c (test_strcat): Add tests for different alignments
14762         of source and destination.
14763         (test_strncat): Likewise.
14765 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
14767         [BZ #12852]
14768         * posix/glob.c (glob): Check passed in values before using them in
14769         expressions to avoid some overflows.
14770         (glob_in_dir): Likewise.
14772         [BZ #13007]
14773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14774         check for AVX enablement so that we don't crash with old kernels and
14775         new hardware.
14776         * elf/tst-audit4.c: Add same checks here.
14777         * elf/tst-audit6.c: Likewise.
14779         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14781 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
14783         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14785 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
14787         * po/cs.po: Update from translation team.
14788         * po/bg.po: Likewise.
14790 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
14792         * misc/sys/cdefs.h: Add support for const attribute.
14793         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14794         to gnu_dev_{major,minor,makedev} functions.
14796 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
14798         * intl/dcigettext.c (get_output_charset): Add missing bracket.
14800 2011-07-20  Andreas Schwab  <schwab@redhat.com>
14802         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14803         strlen results.
14805 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14807         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14808         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14809         register in order to avoid conflicts with the soft frame pointer
14810         being held in r11 when necessary.
14811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14812         (INTERNAL_VSYSCALL_NCS): Likewise.
14814 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
14816         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14817         * elf/dl-fini.c (_dl_fini): Adjust caller.
14818         * elf/dl-close.c (_dl_close_worker): Likewise.
14819         * sysdeps/generic/ldsodefs.h: Adjust declaration.
14821 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
14823         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14824         "aux_cache->nlibs < 0".
14826         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14827         in the reload-count case.
14829 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14832         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14833         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14834         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14835         * sysdeps/x86_64/multiarch/strcat.S: New file.
14836         * sysdeps/x86_64/multiarch/strncat.S: New file.
14837         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14838         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14839         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14840         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14841         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14842         (USE_AS_STRCAT): Define.
14843         Add strcat and strncat support.
14844         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14845         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14846         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14847         * string/strncat.c: Update.
14848         (USE_AS_STRNCAT): Define.
14849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14850         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14851         and i7.
14852         * sysdeps/x86_64/multiarch/init-arch.h
14853         (bit_Prefer_PMINUB_for_stringop): New.
14854         (index_Prefer_PMINUB_for_stringop): Likewise.
14855         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14856         bit_Prefer_PMINUB_for_stringop.
14858 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
14860         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14861         buffer64.
14862         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14863         of casting of buffer.
14864         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14865         buffer32 and buffer64.
14866         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14867         writes instead of casting of buffer.
14868         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14869         buffer32.
14870         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14871         casting of buffer.
14873 2011-07-19  Andreas Schwab  <schwab@redhat.com>
14875         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14877 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
14879         * nscd/nscd.c (termination_handler): Don't do anything for a database
14880         if it has not yet been initialized.
14882 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
14884         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14886 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
14888         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14890 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
14892         * po/nl.po: Update from translation team.
14893         * po/sv.po: Likewise.
14895 2011-07-16  Roland McGrath  <roland@hack.frob.com>
14897         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14898         now disallowed by GCC.
14900         * configure.in (use-default-link): Default to yes if a test -shared
14901         link meets our qualifications.
14902         * configure: Regenerated.
14904         * config.make.in (output-format): New variable.
14905         * configure.in: Check for ld --print-output-format support.
14906         * configure: Regenerated.
14907         * Makerules ($(common-objpfx)format.lds)
14908         [$(output-format) != unknown]: Just use $(output-format),
14909         instead of the linker-script munging.
14911 2011-07-14  Roland McGrath  <roland@hack.frob.com>
14913         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14914         of $(common-objpfx)shlib.lds.
14915         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14917         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14918         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14920         * configure.in (-z relro check): Adjust test code to add a large
14921         writable data section after it.
14922         * configure: Regenerated.
14924 2011-07-11  Roland McGrath  <roland@hack.frob.com>
14926         * configure.in (-z relro check): Fix test code to make the variable
14927         truly const.
14928         * configure: Regenerated.
14930 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
14932         * nscd/nscd.h (struct traced_file): Define.
14933         (struct database_dyn): Remove inotify_descr, reset_res, and filename
14934         elements.  Add traced_files.
14935         (inotify_fd): Declare.
14936         (register_traced_file): Declare.
14937         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14938         (inotify_fd): Export.
14939         (resolv_conf_descr): Remove.
14940         (nscd_init): Move inotify descriptor creation to main.
14941         Don't register files for notification here.
14942         (register_traced_file): New function.
14943         (invalidate_cache): Don't use reset_res to determine whether to call
14944         res_init, go through the list of registered files.
14945         (main_loop_poll): The inotify descriptors are now stored in the
14946         structures for the traced files.
14947         (main_loop_epoll): Likewise
14948         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
14949         to __nss_disable_nscd.
14950         * nscd/cache.c (prune_cache): There is no single inotify descriptor
14951         for a database anymore.  Check the records for all the registered
14952         files instead.
14953         * nss/Makefile (libnss_files-routines): Add files-init.
14954         (libnss_db-routines): Add db-init.
14955         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14956         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14957         * nss/nss_db/db-init.c: New file.
14958         * nss/nss_files/files-init.c: New file.
14959         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
14960         __nss_lookup_function.
14961         (__nss_lookup_function): Call nss_load_library.
14962         (nss_load_all_libraries): New function.
14963         (__nss_disable_nscd): Take parameter with callback function for files
14964         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
14965         used for the cached services.
14966         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14967         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14968         options for features to all the files in nscd.
14970         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14972 2011-07-10  Roland McGrath  <roland@hack.frob.com>
14974         * csu/elf-init.c (__libc_csu_init): Comment typo.
14976 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
14978         * po/pl.po: Update from translation team.
14979         * po/ja.po: Likewise.
14980         * po/ru.po: Likewise.
14981         * po/ko.po: Likewise.
14982         * po/fr.po: Likewise.
14984 2011-07-09  Roland McGrath  <roland@hack.frob.com>
14986         * configure.in (.ctors/.dtors header and trailer check):
14987         Use an empirical test on a built program.
14988         * configure: Regenerated.
14990         * configure.in (-z relro check): Use an empirical test on a built DSO.
14991         Detect, but do not require, on ia64.
14992         * configure: Regenerated.
14994         * configure.in (READELF): Find it with AC_CHECK_TOOL.
14995         Update tests that use readelf to use $READELF instead.
14996         * configure: Regenerated.
14998 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
15000         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15001         if the result is not used.
15003 2011-07-05  Andreas Jaeger  <aj@suse.de>
15005         [BZ#9696]
15006         * stdlib/tst-strtod.c: Add testcase.
15008 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
15010         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15011         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15012         The latter has a higher limit.  Take additional parameter to pass to
15013         the new function.
15014         (__pathconf): Pass file to __statfs_link_max.
15015         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15016         __statfs_link_max.
15017         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15018         __statfs_link_max.
15020         [BZ #12868]
15021         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15022         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15023         Handle Lustre.
15024         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15025         (__statfs_filesize_max): Likewise.
15026         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15028 2011-07-05  Andreas Jaeger  <aj@suse.de>
15030         * resolv/res_comp.c (dn_skipname): Remove unused variable.
15032 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
15034         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15035         `status' variable.
15036         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15037         Likewise.
15039 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
15041         * Makefile (strop-tests): Add strncat.
15042         * string/test-strncat.c: New file.
15044 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
15046         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15048 2011-06-21  Andreas Jaeger  <aj@suse.de>
15050         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15051         Copy rule from iconvdata/Makefile.
15053 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
15055         [BZ #12922]
15056         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15057         but no long options are defined, just return 'W'.
15059 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
15061         [BZ #9696]
15062         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15064 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
15066         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15067         netgroups to read.
15068         (innetgr): Likewise.
15070 2011-07-05  Roland McGrath  <roland@hack.frob.com>
15072         * config.make.in (install_root): Default to $(DESTDIR).
15074 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
15076         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15078 2011-07-02  Roland McGrath  <roland@hack.frob.com>
15080         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15082         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15083         containing directory rather than embedding absolute directory names.
15085         * scripts/check-local-headers.sh: Rewritten using awk.
15086         Match by word, not by line.  Print error messages for matches.
15087         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15089         * Makerules [shlib-lds-flags empty]:
15090         ($(common-objpfx)libc_pic.opts): New target.
15091         ($(common-objpfx)libc_pic.os.clean): New target.
15092         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15094         * config.make.in (OBJCOPY): New variable.
15095         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15096         * configure: Regenerated.
15098         * config.make.in (use-default-link): New variable.
15099         * configure.in (use_default_link): Grok --with-default-link to set it.
15100         * configure: Regenerated.
15101         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15102         (shlib-lds, shlib-lds-flags): Define to empty.
15104         * Makerules (shlib-lds): New variable.
15105         (shlib-lds-flags): New variable.
15106         (build-shlib, build-moduile, build-module-asneeded): Use it.
15107         ($(common-objpfx)libc.so): Use $(shlib-lds).
15108         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15109         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15111         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15112         DT_FLAGS/DT_FLAGS_1 with zero flags.
15114         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15115         linker script munging.
15117 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
15119         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15120         as 128-bit value.
15121         * crypt/sha512.c (sha512_process_block): Perform total addition using
15122         128-bit if possible.
15123         (__sha512_finish_ctx): Likewise.
15124         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15125         as 64-bit value.
15126         * crypt/sha256.c (SWAP64): Define.
15127         (sha256_process_block): Perform total addition using 64-bit if
15128         possible.
15129         (__sha256_finish_ctx): Likewise.
15131 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
15133         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
15134         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15135         * nscd/hstcache.c (cache_addhst): Likewise.
15136         * nscd/grpcache.c (cache_addgr): Likewise.
15137         * nscd/aicache.c (addhstaiX): Likewise
15138         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15140 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
15142         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15143         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15144         * nscd/hstcache.c (cache_addhst): Likewise.
15145         * nscd/grpcache.c (cache_addgr): Likewise.
15146         * nscd/aicache.c (addhstaiX): Likewise
15148 2011-07-01  Andreas Schwab  <schwab@redhat.com>
15150         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15151         domain only when needed.
15153 2011-06-30  Andreas Schwab  <schwab@redhat.com>
15155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15156         is always restored.
15158 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
15160         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15161         are re-adding the entry.
15162         * nscd/servicescache.c (cache_addserv): Likewise.
15164 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15166         * sysdeps/generic/dl-irel.h: fix protection against multiple
15167         inclusions.
15168         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15170 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
15172         [BZ #12935]
15173         * malloc/memusage.sh: Fix quoting in message.
15174         * debug/xtrace.sh: Likewise.
15176         * configure.in: Remove support for --experimental-malloc option, make
15177         it the default.
15178         * config.make.in: Likewise.
15179         * malloc/Makefile: Likewise.
15181 2011-06-27  Andreas Schwab  <schwab@redhat.com>
15183         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15184         two-byte characters.
15186 2011-06-27  Roland McGrath  <roland@hack.frob.com>
15188         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15189         AC_CACHE_CHECK invocation.
15190         * configure: Regenerated.
15192         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15194 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
15196         [BZ #12350]
15197         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
15198         bit from old_res_options.
15200         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15202         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15203         value type for setfct.
15205 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
15207         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15208         __gettimeofday instead of gettimeofday.
15210 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
15212         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15214 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15216         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15218         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15219         info.
15221 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
15223         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15224         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15225         strcpy-sse2-unaligned strncpy-sse2-unaligned
15226         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15227         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15228         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15229         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15230         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15231         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15232         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15233         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15234         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15235         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15236         (STRCPY): Support SSE2 and SSSE3 versions.
15238 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
15240         [BZ #12874]
15241         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15242         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15243         kernels which artificially limit size of requests.
15245 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
15247         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15248         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15249         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15250         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15251         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15252         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15253         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15254         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15255         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15256         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15257         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15258         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15259         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15260         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15261         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15262         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15263         Enable unaligned load optimization for Intel Core i3, i5 and i7
15264         processors.
15265         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15266         Define.
15267         (index_Fast_Unaligned_Load): Define.
15268         (HAS_FAST_UNALIGNED_LOAD): Define.
15270 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
15272         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15274 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
15276         [BZ #12907]
15277         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15278         until it is clear that the information is realy needed.
15279         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15281 2011-06-22  Andreas Schwab  <schwab@redhat.com>
15283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15285 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
15287         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15288         /sys/devices/system/cpu/online if it is usable.
15290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15291         reading the information from the /proc filesystem to once a second.
15293 2011-06-21  Andreas Jaeger  <aj@suse.de>
15295         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15296         NULL after inclusion of kernel headers.
15298 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
15300         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15301         calls to internal_setent.
15303         [BZ #12885]
15304         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15305         addresses using gethostbyname4_r ignore IPv4 addresses.
15307         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15308         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
15310         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15312 2011-06-20  David S. Miller  <davem@davemloft.net>
15314         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15315         inclusions.
15316         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15318         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15319         (elf_irel): Use it.
15320         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15321         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15322         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15323         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15324         * sysdeps/x86_64/dl-irel.h: Likewise.
15326         * elf/dl-runtime.c: Use elf_ifunc_invoke.
15327         * elf/dl-sym.c: Likewise.
15329 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
15331         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
15332         need to dereference resplen2.
15334 2011-06-14  Andreas Schwab  <schwab@redhat.com>
15336         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15338 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
15340         * Makeconfig: Define vardbdir and inst_vardbdir.
15341         * nss/Makefile: Add rules to install db-Makefile.
15343         * nss/nss_db/db-XXX.c: Cleanup.
15345         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15346         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15347         GLIBC_PRIVATE.
15348         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15349         * nss/makedb.c: Implement -g option to specify that value strings
15350         are generated and should not be added to table iterated over for
15351         get*ent calls.
15352         * nss/nss_db/db-initgroups.c: New file.
15354         * nss/getent.c: Add support for initgroups lookups through getgrouplist
15355         interface.
15357         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15358         (internal_getgrouplist): Adjust to name change.
15359         Update use_initgroups_entry if this is not the first call.
15360         * nss/databases.def: Add initgroups entry.
15362         * nss/makedb.c (compute_tables): Check result of multiple hash table
15363         sizes to minimize maximum chain length.
15365 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
15367         * Versions.def: Add entry for libnss_db.
15368         * shlib-versions: Likewise.
15369         * nss/Makefile: Add rules to build libnss_db.
15370         * nss/Versions: Add libnss_db information.  Organize libnss_files
15371         entries better.
15372         * nss/db-Makefile: Add gshadow support.  Change rules for the new
15373         makedb progra.  Some minor improvements to generate smaller files.
15374         * nss/nss_db/nss_db.h: Move NSS database header data structures to
15375         here from...
15376         * nss/makedb.c: ...here.
15377         Improve database format to be smaller and require less memory at
15378         runtime.
15379         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
15380         db anymore.
15381         * nss/nss_db/db-netgrp.c: Likewise.
15382         * nss/nss_db/db-open.c: Likewise.
15383         * nss/nss_files/flies-XXX.x: Adjust comments.
15384         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15385         * nss/nss_files/files-grp.c: Likewise.
15386         * nss/nss_files/files-hosts.c: Likewise.
15387         * nss/nss_files/files-network.c: Likewise.
15388         * nss/nss_files/files-proto.c: Likewise.
15389         * nss/nss_files/files-pwd.c: Likewise.
15390         * nss/nss_files/files-rpc.c: Likewise.
15391         * nss/nss_files/files-service.c: Likewise.
15392         * nss/nss_files/files-sgrp.c: Likewise.
15393         * nss/nss_files/files-spwd.c: Likewise.
15394         * nss/nss_db/db-alias.c: Removed.
15395         * nss/nss_db/dummy-db.h: Removed.
15397 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
15399         * nss/makedb.c: Rewritten to not use database library.
15400         * nss/Makefile: Update to build new makedb program.
15402 2011-06-14  Andreas Jaeger  <aj@suse.de>
15404         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15405         memset declaration.
15407 2011-06-10  Andreas Schwab  <schwab@redhat.com>
15409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15410         tmpbuf.
15412 2011-06-10  Roland McGrath  <roland@hack.frob.com>
15414         * Makerules (shlib.lds): Fail if the linker script comes out empty.
15415         * elf/Makefile ($(objpfx)ld.so): Likewise.
15417         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15418         Don't list ld.so twice in dependencies.
15420         * posix/bug-regex31.c: Include <stdlib.h>.
15422         * nscd/hstcache.c (cache_addhst): Remove unused variable.
15424         * nis/nss_compat/compat-spwd.c
15425         (getspent_next_nss_netgr): Remove unused variable.
15426         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15428         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15429         nonmembers" output to use the right array.
15431         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15433         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15435         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15436         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15437         * catgets/gencat.c (read_input_file): Likewise.
15438         * locale/programs/locarchive.c (enlarge_archive): Likewise.
15440         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15441         variable definition inside #if's controlling its use.
15443         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15445         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15447         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15449         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15450         unreachable code.
15452         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15454         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15455         * configure: Regenerated.
15457         * Makerules: Revert last change.
15458         * elf/Makefile: Likewise.
15460 2011-06-09  Roland McGrath  <roland@hack.frob.com>
15462         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15463         * elf/Makefile ($(objpfx)librtld.os): Likewise.
15464         (reloc-link): Likewise.
15466 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
15468         * elf/Makefile: Add rules to build pldd.
15469         * elf/pldd.c: New file.
15470         * elf/pldd-xx.c: New file.
15472 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
15474         * version.h: Update for 2.15 development version.
15476 2011-06-07  David S. Miller  <davem@davemloft.net>
15478         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15479         ifuncs.
15480         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15481         elf_machine_lazy_rel): Likewise.
15482         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15483         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15484         elf_machine_lazy_rel): Likewise.
15485         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15486         dl_hwcap via passed in argument.
15487         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15488         Likewise.
15490 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15492         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
15494 2011-06-06  Roland McGrath  <roland@hack.frob.com>
15496         [BZ #12849]
15497         * manual/fdl-1.1.texi: New file, verbatim from:
15498         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15499         * manual/lgpl-2.1.texi: New file, verbatim from:
15500         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15501         * manual/Makefile (licenses): New variable, list those new file names.
15502         (texis): Use it.
15503         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15505         * manual/fdl.texi: File removed.
15506         * manual/lesser.texi: File removed.
15507         * manual/libc.texinfo (Copying, Documentation License):
15508         Use new @include file names, put @appendix directive before @include.
15510 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
15512         [BZ #12841]
15513         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15514         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15515         (mq_open): Add __NTH.
15517 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
15519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15520         Assume Intel Core i3/i5/i7 processor if AVX is available.
15522 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
15524         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15525         typo.
15527 2011-05-31  Andreas Schwab  <schwab@redhat.com>
15529         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15530         memory.  Use alloca_account.  Fix memory leak when retrying.
15532 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
15534         * version.h (RELEASE): Bump for 2.14 release.
15535         * include/features.h (__GLIBC_MINOR__): Bump to 14.
15537         * config.make.in (RANLIB): Remove entry.
15539 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
15541         * po/Makefile (po-sed-cmd): Add ksh to extensions.
15542         (libc.pot): Work around missing support for .ksh extension in xgettext.
15544         [BZ #12684]
15545         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15546         if both request failed.
15547         (send_dg): In case of server errors clear resplen or *resplen2.
15549         [BZ #12454]
15550         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15551         when there are multiple maps.
15552         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15553         (_dl_fini): Remove test here.
15555         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15557 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
15559         [BZ #12350]
15560         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15561         bit from old_res_options.
15562         (gaih_inet): Likewise.
15564         [BZ #11099]
15565         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15566         as signed.
15568         * resolv/res_init.c (res_setoptions): Make the code more compact.
15570         [BZ #11558]
15571         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15572         set RES_USEVC.
15574         [BZ #11634]
15575         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15577         * malloc/malloc.h: Mark malloc hook variables as deprecated.
15579         [BZ #11781]
15580         * malloc/malloc.h: Declare malloc hook variables as volatile.
15582         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15583         in last patch.
15585         [BZ #11799]
15586         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15587         raise in the comment.
15588         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15589         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15590         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15592 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
15594         [BZ #12811]
15595         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15596         grow the buffers more if it already has to be sufficient.
15597         (build_wcs_upper_buffer): Likewise.
15598         * posix/regexec.c (check_matching): Likewise.
15599         (clean_state_log_if_needed): Likewise.
15600         (extend_buffers): Don't enlarge buffers beyond size of the input
15601         buffer.
15602         Patches mostly by Emil Wojak <emil@wojak.eu>.
15603         * posix/bug-regex32.c: New file.
15604         * posix/Makefile (tests): Add bug-regex32.
15606         * locale/findlocale.c (_nl_find_locale): Return right away if
15607         _nl_explode_name failed.
15608         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15610         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15612         * debug/xtrace.sh: Unify messages.
15613         * malloc/memusage.sh: Likewise.
15615         [BZ #12813]
15616         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15617         time symbol from vDSO.  Substitute with vsyscall if not available.
15618         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15619         __vdso_time.
15621         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15622         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15623         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15624         Add sendmmsg and internal_sendmmsg.
15625         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15626         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15627         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15629         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15630         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15631         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15633 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
15635         [BZ #12813]
15636         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15637         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
15638         available.
15639         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15640         __vdso_getcpu.
15642         [BZ #12814]
15643         * iconvdata/Makefile (tests): Add bug-iconv9.
15644         * iconvdata/bug-iconv9.c: New file.
15646 2011-05-27  Andreas Schwab  <schwab@redhat.com>
15648         [BZ #12814]
15649         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15651 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
15653         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15654         (struct user_regs_struct): Change intcs field back to cs.
15656 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
15658         * po/ja.po: Update from translation team.
15660 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
15662         [BZ #12795]
15663         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15664         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15666 2011-05-20  Andreas Schwab  <schwab@redhat.com>
15668         * stdlib/longlong.h: Update from GCC.
15670 2011-05-23  Andreas Schwab  <schwab@redhat.com>
15672         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15673         parameter name.
15674         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15675         Add parameter name.
15676         (__sysconf): Pass it down.
15678 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
15680         [BZ #12671]
15681         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15682         some situations.
15683         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15684         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15685         add in in __libc_use_alloca calls.  Adjust callers.
15686         (glob): Use malloc in some situations.
15688         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15689         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15690         pltexit.
15692 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
15694         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15695         and CLOCK_BOOTTIME_ALARM.
15697         [BZ #12782]
15698         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15699         is returned.
15701         * string/_strerror.c (__strerror_r): Print negative errors as signed
15702         numbers.
15704         [BZ #12777]
15705         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15706         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15707         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15709         * configure.in: Fix typo in redirection and correct removal of test
15710         files in two cases.
15712         [BZ #12788]
15713         * locale/setlocale.c (new_composite_name): Fix test to check for
15714         identical name of all categories.
15716         [BZ #12792]
15717         * libio/filedoalloc.c (local_isatty): New function.
15718         (_IO_file_doallocate): Use local_isatty.
15719         * stdio-common/perror.c (perror): In case a new stream is used
15720         forward the stream error.
15721         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15722         error flag.
15724 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
15726         [BZ #11869]
15727         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15728         alloca.
15729         * include/alloca.h (extend_alloca_account): Define.
15731         [BZ #11857]
15732         * posix/regex.h: Fix comments with documentation of user-accessible
15733         fields after compilation and describe correct free'ing of pattern
15734         after re_compile_pattern.
15735         Patch by Reuben Thomas <rrt@sc3d.org>.
15737 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
15739         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15740         and -mno-altivec to prevent the compiler from using Altivec and/or
15741         VSX instructions when the corresponding registers are not available.
15743 2011-05-19  Andreas Schwab  <schwab@redhat.com>
15745         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15747 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
15749         * libio/freopen.c (freopen): Use __dup2, not dup2.
15750         * libio/freopen64.c (freopen64): Likewise.
15752 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15754         [BZ #12775]
15755         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15756         * math/Makefile (tests): Add test-powl.
15757         (CFLAGS-test-powl.c): Define.
15758         * math/test-powl.c: New file.
15760 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15762         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15764 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
15766         [BZ #11837]
15767         * iconvdata/gb18030.c: Update to GB18020-2005.
15769 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
15771         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15772         RE_SYNTAX_POSIX_AWK): Update to match recent development.
15773         Patch by Aharon Robbins <arnold@skeeve.com>.
15775         [BZ #11892]
15776         * stdlib/putenv.c (putenv): Don't always create copy of the variable
15777         on the stack.
15779         [BZ #11895]
15780         * misc/pselect.c (__pselect): Handle timeout value errors hidden
15781         through underflows.
15783         [BZ #12766]
15784         * misc/error.c (error_at_line): Ensure file_name and old_file_name
15785         point to strings before performing equality test for error_one_per_line
15786         mode.
15788         [BZ #11697]
15789         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15791         [BZ #11820]
15792         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15793         (struct user_fpregs_struct): Avoid __uint*_t types.
15795         [BZ #6420]
15796         * malloc/mtrace.c (tr_where): Add additional parameter to point to
15797         symbol info.  Use it instead of calling _dl_addr locally.
15798         (lock_and_info): New function.
15799         (tr_freehook): Call lock_and_info and pass symbol info as additional
15800         parameter to tr_where.
15801         (tr_mallochook): Likewise.
15802         (tr_reallochook): Likewise.
15803         (tr_memalignhook): Likewise.
15805         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
15806         used and couldn't be at all thread-safe.
15808 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
15810         * libio/freopen.c (freopen): Don't close old file descriptor
15811         before the new one is opened.  Instead dup the new file descriptor
15812         to the old one after the new stream is created.
15813         * libio/freopen64.c (freopen64): Likewise.
15814         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15815         * libio/fileops.c (_IO_new_file_close_it): Handle new
15816         _IO_FLAGS2_NOCLOSE flag.
15817         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15818         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15819         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15820         _IO_FLAGS2_NOCLOSE flag.
15821         * include/unistd.h: Add hidden_proto for dup3.
15822         Define __have_dup3.
15823         * io/dup3.c: Define hidden symbol.
15824         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15826         [BZ #7101]
15827         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15828         when an incomplete long option is used.
15829         * posix/tst-getopt_long1.c: New file.
15830         * posix/Makefile (tests): Add tst-getopt_long1.
15832         [BZ #10138]
15833         * scripts/config.guess: Update from autoconf-2.68.
15834         * scripts/config.sub: Likewise.
15836         [BZ #10157]
15837         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15838         tests into ...
15839         (has_cpuclock): ...this.  New function.
15840         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15841         macro here based on has_cpuclock code.
15843         [BZ #10149]
15844         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15845         First byte (not low byte) is now always NUL.
15846         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15848         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15849         Use non-cancelable interfaces.
15851         [BZ #9809]
15852         * locale/iso-639.def: Add entry for Sorani.
15854         [BZ #11901]
15855         * include/stdlib.h: Move include protection to the right place.
15856         Define abort_msg_s.  Declare __abort_msg with it.
15857         * stdlib/abort.c (__abort_msg): Adjust type.
15858         * assert/assert.c (__assert_fail_base): New function.  Majority
15859         of code from __assert_fail.  Allocate memory for __abort_msg with
15860         mmap.
15861         (__assert_fail): Now call __assert_fail_base.
15862         * assert/assert-perr.c: Remove bulk of implementation.  Use
15863         __assert_fail_base.
15864         * include/assert.hL Declare __assert_fail_base.
15865         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15866         mmap.
15867         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15869 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
15871         [BZ #11952]
15872         [BZ #12453]
15873         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15874         until all modules are registered in the DTV.
15875         * elf/Makefile: Add rules to build and run tst-tls19.
15876         * elf/tst-tls19.c: New file.
15877         * elf/tst-tls19mod1.c: New file.
15878         * elf/tst-tls19mod2.c: New file.
15879         * elf/tst-tls19mod3.c: New file.
15880         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15882         [BZ #12083]
15883         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15884         correctly.
15886         [BZ #12601]
15887         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15888         two-byte sequence errors.
15889         * iconvdata/Makefile (tests): Add bug-iconv8.
15890         * iconvdata/bug-iconv8.c: New file.
15892         [BZ #12626]
15893         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15894         buf2 definition.
15896         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15898         [BZ #12432]
15899         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15900         (dummy_getcfa): New function.
15901         (init): Get _Unwind_GetCFA address, use dummy if not found.
15902         (backtrace_helper): In recursion check, also check whether CFA changes.
15903         (__backtrace): Completely initialize arg.
15905         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15906         storing incomplete byte sequence in state object.  Avoid testing for
15907         guaranteed too small input if we know there is enough data available.
15909 2011-05-11  Andreas Schwab  <schwab@redhat.com>
15911         * Makeconfig (+link-pie): Indent.
15912         * Rules (binaries-pie): Define if $(have-fpie) and
15913         $(build-shared).
15914         (binaries-shared): Also filter out $(binaries-pie).
15915         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15916         * nscd/Makefile (others-pie): Add nscd.
15917         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15918         ($(objpfx)nscd): Remove command override.
15919         * login/Makefile (others-pie): Add pt_chown.
15920         ($(objpfx)pt_chown): Remove command override.
15921         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15922         remove command overrides.
15924 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
15926         * libio/tst_putwc.c: Fix error messages.
15928         [BZ #12724]
15929         * libio/fileops.c (_IO_new_file_close_it): Always flush when
15930         currently writing and seek to current position when not.
15931         * libio/Makefile (tests): Add bug-fclose1.
15932         * libio/bug-fclose1.c: New file.
15934 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
15936         [BZ #12511]
15937         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15938         don't set DF_1_NODELETE here.
15939         (do_lookup_x): When entering new entry test for copy relocation
15940         and if necessary set DF_1_NODELETE flag.
15941         * elf/tst-unique4.cc: New file.
15942         * elf/tst-unique4.h: New file.
15943         * elf/tst-unique4lib.cc: New file.
15944         * elf/Makefile: Add rules to build and run tst-unique4.
15945         Patch by Piotr Bury <pbury@goahead.com>.
15947 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
15949         [BZ #12052]
15950         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15952         [BZ #12625]
15953         * misc/mntent_r.c (addmntent): Flush the stream after the output
15955         [BZ #12393]
15956         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15957         (is_trusted_path_normalize): Skip initial colon.  Append slash
15958         to empty buffer.  Duplicate is_trusted_path code but allow
15959         constructed patch to be prefix.
15960         (is_dst): Allow $ORIGIN followed by /.
15961         (_dl_dst_substitute): Correct clearing of check_for_trusted.
15962         Correct testing of result of is_trusted_path_normalize
15963         (decompose_rpath): Fix warning.
15965 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
15967         [BZ #11257]
15968         * grp/initgroups.c (internal_getgrouplist): When we found the service
15969         list through the initgroups entry in nsswitch.conf do not always
15970         continue on a successful lookup.  Don't always use the
15971         __nss_group_database value if it is set.
15972         * nss/nsswitch.conf (initgroups): Change action for successful db
15973         lookup to continue for compatibility.
15975 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
15977         [BZ #11532]
15978         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15979         and CP774 modules.
15980         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15981         and CP774 modules.
15982         * iconvdata/tst-tables.sh: Likewise.
15983         * iconvdata/cp770.c: New file.
15984         * iconvdata/cp771.c: New file.
15985         * iconvdata/cp772.c: New file.
15986         * iconvdata/cp773.c: New file.
15987         * iconvdata/cp774.c: New file.
15988         * iconvdata/testdata/CP770: New file.
15989         * iconvdata/testdata/CP770..UTF8: New file.
15990         * iconvdata/testdata/CP771: New file.
15991         * iconvdata/testdata/CP771..UTF8: New file.
15992         * iconvdata/testdata/CP772: New file.
15993         * iconvdata/testdata/CP772..UTF8: New file.
15994         * iconvdata/testdata/CP773: New file.
15995         * iconvdata/testdata/CP773..UTF8: New file.
15996         * iconvdata/testdata/CP774: New file.
15997         * iconvdata/testdata/CP774..UTF8: New file.
15999         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16000         END CHARMAP line.
16001         * iconvdata/gen-8bit-gap.sh: Likewise.
16002         * iconvdata/gen-8bit.sh: Likewise.
16004         * locale/iso-639.def: Add ary entry.
16006         [BZ #11258]
16007         * locale/C-translit.h.in: Add U20A1 transliteration.
16009         [BZ #12178]
16010         * locale/iso-639.def: Add wae entry.
16011         Patch by Kevin Bortis <bortis@translate-wae.ch>.
16013         [BZ #12545]
16014         * locale/programs/localedef.c (construct_output_path): Use ssize_t
16015         for n.
16017         [BZ #12711]
16018         * locale/C-translit.h.in: Add entry for U20B9.
16019         Patch by pravin.d.s@gmail.com.
16021 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
16023         [BZ #12713]
16024         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16025         ENAMETOOLONG use generic getcwd.
16026         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
16027         in rtld.  Use *stat64.
16028         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16029         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16030         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16031         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16032         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16033         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16034         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16035         __fstatat64 macros.
16036         * include/dirent.h: Add libc_hidden_proto for rewinddir.
16037         * dirent/rewinddir.c: Add libc_hidden_def.
16038         * sysdeps/mach/hurd/rewinddir.c: Likewise.
16039         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
16041         * include/dirent.h (__alloc_dir): Add flags parameter.
16042         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16043         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16044         __alloc_dir.
16045         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
16046         from fdopendir if O_CLOEXEC is already set.
16048 2011-03-15  Alan Modra  <amodra@gmail.com>
16050         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16051         l_tls_firstbyte_offset non-zero.  Save padding offset in
16052         l_tls_firstbyte_offset for later use.
16053         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16054         freeing static tls block.
16056 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
16058         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16059         where #ifdef was intended.  The intent is to prevent ARG_MAX from
16060         being defined by the kernel headers.
16062 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
16064         [BZ #12734]
16065         * resolv/resolv.h: Define RES_NOTLDQUERY.
16066         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16067         no-tld-query and set RES_NOTLDQUERY.
16068         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16069         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16070         modern BIND to search name as TLD unless forbidden.
16072 2011-05-07  Petr Baudis  <pasky@suse.cz>
16073             Ulrich Drepper  <drepper@gmail.com>
16075         [BZ #12393]
16076         * elf/dl-load.c (fillin_rpath): Move trusted path check...
16077         (is_trusted_path): ...to here.
16078         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16079         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16080         using is_trusted_path_normalize() in setuid scripts.
16082 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16084         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16085         __BEGIN/__END_DECLS.
16087 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
16089         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16090         NSS_STATUS_NOTFOUND if no record was found.
16092 2011-05-05  Andreas Schwab  <schwab@redhat.com>
16094         * sunrpc/Makefile (headers): Add rpc/netdb.h.
16095         (headers-not-in-tirpc): Remove rpc/netdb.h
16096         * resolv/netdb.h: Revert last change.
16098 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16100         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16101         circular dependency between libgcc.a and libc.a.
16103 2011-05-05  Andreas Schwab  <schwab@redhat.com>
16105         * resolv/netdb.h: Don't include <rpc/netdb.h>.
16106         * nis/Makefile: Don't install rpcsvc/*.
16107         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16108         instead of <rpc/types.h>.
16109         (MAXHOSTNAMELEN): Define.
16111 2011-05-03  Andreas Schwab  <schwab@redhat.com>
16113         * elf/ldconfig.c (add_dir): Don't crash on empty path.
16115 2011-04-28  Maciej Babinski  <mbabinski@google.com>
16117         [BZ #12714]
16118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16119         gethostbyname4_r when IPv6 results are possible.
16121 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
16123         [BZ #12723]
16124         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16125         _PC_PIPE_BUF handling.
16127 2011-04-30  Bruno Haible  <bruno@clisp.org>
16129         [BZ #12717]
16130         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16131         * resolv/netdb.h (getnameinfo): Change type of flags parameter
16132         to 'int'.
16133         * inet/getnameinfo.c (getnameinfo): Likewise.
16135 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
16137         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16138         to groups setting in database lookup.
16139         * nss/nsswitch.conf: Add initgroups entry.
16141 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
16143         [BZ #12685]
16144         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16145         mode string.
16146         Patch by Eric Blake <eblake@redhat.com>.
16148 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
16150         * sunrpc/Makefile (need-export-routines): Add svc_run.
16151         (routines): Remove svc_run.
16152         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16153         * sunrpc/clnt_perr.c (clnt_perrno): Export.
16154         * sunrpc/svc_run.c (svc_run): Likewise.
16155         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16157 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
16159         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16160         problem in reallocation in last patch.
16162 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
16164         * sunrpc/Makefile: Move inclusion of Rules.
16166 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
16168         * nss/nss_files/files-initgroups.c: New file.
16169         * nss/Makefile (libnss_files-routines): Add files-initgroups.
16170         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16171         _nss_files_initgroups_dyn.
16173 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
16175         * elf/elf.h (R_ARM_IRELATIVE): Define.
16177 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
16179         * po/ru.po: Update from translation team.
16181 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
16183         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16184         dependencies.
16186 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
16188         [BZ #12653]
16189         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16190         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16191         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16192         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16193         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16195 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
16197         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16198         differing bytes.
16199         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16200         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16201         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16203 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
16205         [BZ #12420]
16206         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16207         storing it.
16208         * stdlib/bug-getcontext.c: New file.
16209         * stdlib/Makefile: Add rules to build and run bug-getcontext.
16211 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16213         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16214         instructions into .machine "z9-109".
16215         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16216         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16218 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16220         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16221         between environment variables and auxiliary vector.
16223 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
16225         * Makefile: Add rules to build linkobj/libc.so.
16226         * include/libc-symbols.h: Define libc_hidden_nolink.
16227         * include/rpc/auth.h: Mark functions which are to be hidden.
16228         * include/rpc/auth_des.h: Likewise.
16229         * include/rpc/auth_unix.h: Likewise.
16230         * include/rpc/clnt.h: Likewise.
16231         * include/rpc/des_crypt.h: Likewise.
16232         * include/rpc/key_prot.h: Likewise.
16233         * include/rpc/pmap_clnt.h: Likewise.
16234         * include/rpc/pmap_prot.h: Likewise.
16235         * include/rpc/pmap_rmt.h: Likewise.
16236         * include/rpc/rpc_msg.h: Likewise.
16237         * include/rpc/svc.h: Likewise.
16238         * include/rpc/svc_auth.h: Likewise.
16239         * include/rpc/xdr.h: Likewise.
16240         * nis/Makefile: Link all DSOs against linkobj/libc.so.
16241         * nss/Makefile: Likewise.
16242         * sunrpc/Makefile: Don't install headers.  Build library with normal
16243         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
16244         * sunrpc/auth_des.c: Hide exported symbols by default, export some
16245         for the compat linking library.  Remove use of INTDEF/INTUSE.
16246         * sunrpc/auth_none.c: Likewise.
16247         * sunrpc/auth_unix.c: Likewise.
16248         * sunrpc/authdes_prot.c: Likewise.
16249         * sunrpc/authuxprot.c: Likewise.
16250         * sunrpc/clnt_gen.c: Likewise.
16251         * sunrpc/clnt_perr.c: Likewise.
16252         * sunrpc/clnt_raw.c: Likewise.
16253         * sunrpc/clnt_simp.c: Likewise.
16254         * sunrpc/clnt_tcp.c: Likewise.
16255         * sunrpc/clnt_udp.c: Likewise.
16256         * sunrpc/clnt_unix.c: Likewise.
16257         * sunrpc/des_crypt.c: Likewise.
16258         * sunrpc/des_soft.c: Likewise.
16259         * sunrpc/get_myaddr.c: Likewise.
16260         * sunrpc/key_call.c: Likewise.
16261         * sunrpc/key_prot.c: Likewise.
16262         * sunrpc/netname.c: Likewise.
16263         * sunrpc/pm_getmaps.c: Likewise.
16264         * sunrpc/pm_getport.c: Likewise.
16265         * sunrpc/pmap_clnt.c: Likewise.
16266         * sunrpc/pmap_prot.c: Likewise.
16267         * sunrpc/pmap_prot2.c: Likewise.
16268         * sunrpc/pmap_rmt.c: Likewise.
16269         * sunrpc/publickey.c: Likewise.
16270         * sunrpc/rpc_cmsg.c: Likewise.
16271         * sunrpc/rpc_common.c: Likewise.
16272         * sunrpc/rpc_dtable.c: Likewise.
16273         * sunrpc/rpc_prot.c: Likewise.
16274         * sunrpc/rpc_thread.c: Likewise.
16275         * sunrpc/rtime.c: Likewise.
16276         * sunrpc/svc.c: Likewise.
16277         * sunrpc/svc_auth.c: Likewise.
16278         * sunrpc/svc_authux.c: Likewise.
16279         * sunrpc/svc_raw.c: Likewise.
16280         * sunrpc/svc_run.c: Likewise.
16281         * sunrpc/svc_simple.c: Likewise.
16282         * sunrpc/svc_tcp.c: Likewise.
16283         * sunrpc/svc_udp.c: Likewise.
16284         * sunrpc/svc_unix.c: Likewise.
16285         * sunrpc/svcauth_des.c: Likewise.
16286         * sunrpc/xcrypt.c: Likewise.
16287         * sunrpc/xdr.c: Likewise.
16288         * sunrpc/xdr_array.c: Likewise.
16289         * sunrpc/xdr_float.c: Likewise.
16290         * sunrpc/xdr_intXX_t.c: Likewise.
16291         * sunrpc/xdr_mem.c: Likewise.
16292         * sunrpc/xdr_rec.c: Likewise.
16293         * sunrpc/xdr_ref.c: Likewise.
16294         * sunrpc/xdr_sizeof.c: Likewise.
16295         * sunrpc/xdr_stdio.c: Likewise.
16297 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
16299         [BZ #12650]
16300         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16301         * sysdeps/ia64/dl-tls.h: Likewise.
16302         * sysdeps/powerpc/dl-tls.h: Likewise.
16303         * sysdeps/s390/dl-tls.h: Likewise.
16304         * sysdeps/sh/dl-tls.h: Likewise.
16305         * sysdeps/sparc/dl-tls.h: Likewise.
16306         * sysdeps/x86_64/dl-tls.h: Likewise.
16307         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16309 2011-03-14  Andreas Schwab  <schwab@redhat.com>
16311         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16312         rpath element also skip the following colon.
16313         (expand_dynamic_string_token): Add is_path parameter and pass
16314         down to DL_DST_REQUIRED and _dl_dst_substitute.
16315         (decompose_rpath): Call expand_dynamic_string_token with
16316         non-zero is_path.  Ignore empty rpaths.
16317         (_dl_map_object_from_fd): Call expand_dynamic_string_token
16318         with zero is_path.
16320 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
16322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16323         Make cancelable.
16325 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
16327         [BZ #12655]
16328         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16329         Patch by Filipe David Manana <fdmanana@apache.org>.
16331 2011-04-07  Andreas Schwab  <schwab@redhat.com>
16333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16334         Maintain aligned stack.
16335         (CHECK_RSP): Remove unused macro.
16337 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
16339         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16340         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16342 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
16344         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16346         * include/features.h: Mention __USE_XOPEN2K8 in comment.
16348 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
16350         [BZ #12518]
16351         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16352         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16353         * sysdeps/x86_64/memmove.c: New file.
16354         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16355         (memcpy): Renamed to ...
16356         (__new_memcpy): This.
16357         (memcpy): Provide GLIBC_2_14 memcpy.
16358         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16359         (memcpy): Provide GLIBC_2_2_5 memcpy.
16361 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
16363         [BZ #12631]
16364         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16366 2011-03-30  Andreas Schwab  <schwab@redhat.com>
16368         * misc/syncfs.c: New file.
16369         * misc/Makefile (routines): Add syncfs.
16370         * posix/unistd.h: Declare syncfs.
16371         * sysdeps/unix/syscalls.list: Add syncfs.
16373 2011-04-01  Andreas Schwab  <schwab@redhat.com>
16375         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16376         open_by_handle_at.
16377         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16378         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16380         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16382         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16383         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16385 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
16387         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16388         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16389         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16391         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16393         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16395         * io/Makefile: Compile fallocate.c, fallocate64.c, and
16396         sync_file_range.c with -fexceptions.
16397         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16398         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16399         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16400         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16401         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16402         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16403         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16404         sync_file_range as cancellation point
16405         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
16406         now a wrapper around __call_sync_file_range with cancellation handling.
16407         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16408         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
16409         function name to __call_sync_file_range.
16410         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16411         Add call_sync_file_range.
16413 2011-04-01  Andreas Schwab  <schwab@redhat.com>
16415         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16416         bits/timex.h.
16418 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
16420         * iconv/iconv.h: Fix typo in comment.
16421         * io/fcntl.h: Likewise.
16422         * libio/stdio.h: Likewise.
16423         * posix/spawn.h: Likewise.
16424         * posix/unistd.h: Likewise.
16425         * stdlib/stdlib.h: Likewise.
16426         * time/time.h: Likewise.
16427         * wcsmbs/wchar.h: Likewise.
16429         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16430         open_by_handle): Add.
16431         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16432         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
16433         Augment a few comments.
16434         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16436         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16438         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16439         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16440         open_by_handle.
16442         * io/fcntl.h (AT_EMPTY_PATH): Define.
16444 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
16446         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16447         * sysdeps/unix/sysv/linux/bits/time.h: New file.
16448         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16449         to...
16450         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
16451         * Versions.def: Add GLIBC_2.14.
16452         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16453         Export.
16455 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
16457         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16458         round counter.
16459         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16461 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16463         [BZ #12597]
16464         * string/test-strncmp.c (do_page_test): New function.
16465         (check2): Likewise.
16466         (test_main): Call check2.
16467         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16469 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
16471         [BZ #12587]
16472         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16473         Handle cache information in CPU leaf 4.
16474         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16476 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
16478         [BZ #12583]
16479         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16480         character representation.
16481         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16483 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
16485         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16486         END(__isnan) to END(__isnanf) to match function entry point/label
16487         EALIGN(__isnanf,...).
16489 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
16491         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16493 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
16495         [BZ #12510]
16496         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16497         copy from the symbol referenced in the relocation to initialize the
16498         used variable.
16499         Patch by Piotr Bury <pbury@goahead.com>.
16500         * elf/Makefile: Add rules to build and tst-unique3.
16501         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16502         * elf/tst-unique3.cc: New file.
16503         * elf/tst-unique3.h: New file.
16504         * elf/tst-unique3lib.cc: New file.
16505         * elf/tst-unique3lib2.cc: New file.
16507         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16509 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
16511         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16512         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
16513         to _start.
16515 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
16517         * elf/dl-load.c (_dl_map_object): If we are looking for the first
16518         to-be-loaded object along a path to loader is ld.so.
16520 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
16521             Ulrich Drepper  <drepper@gmail.com>
16523         * sysdeps/x86_64/memset.S: After aligning destination, code
16524         branches to different locations depending on the value of
16525         misalignment, when multiarch is enabled. Fix this.
16527 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
16529         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16530         Set _x86_64_preferred_memory_instruction for AMD processsors.
16531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16532         Set bit_Prefer_SSE_for_memop for AMD processors.
16534 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
16536         * libio/fmemopen.c (fmemopen): Optimize a bit.
16538 2011-03-03  Andreas Schwab  <schwab@redhat.com>
16540         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16542 2011-03-03  Roland McGrath  <roland@redhat.com>
16544         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16546 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
16548         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16549         __bzero_ultra1 instead of __memset_ultra1.
16551 2011-02-23  Andreas Schwab  <schwab@redhat.com>
16552             Ulrich Drepper  <drepper@gmail.com>
16554         [BZ #12509]
16555         * include/link.h (struct link_map): Add l_orig_initfini.
16556         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16557         returning unsuccessfully.
16558         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16559         close of a file loaded at startup, restore the original l_initfini
16560         list.
16561         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16562         list, store the pointer.
16563         * elf/Makefile ($(objpfx)noload-mem): New rule.
16564         (noload-ENV): Define.
16565         (tests): Add $(objpfx)noload-mem.
16566         * elf/noload.c: Include <memcheck.h>.
16567         (main): Call mtrace.  Close all opened handles.
16569 2011-02-17  Andreas Schwab  <schwab@redhat.com>
16571         [BZ #12454]
16572         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16573         dependencies are missing.
16575 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16577         Fix __if_freereq crash: Unlike the generic version which uses free,
16578         Hurd needs munmap.
16579         * sysdeps/mach/hurd/ifreq.h: New file.
16581 2011-01-27  Petr Baudis  <pasky@suse.cz>
16582             Ulrich Drepper  <drepper@gmail.com>
16584         [BZ 12445]#
16585         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16586         to extend_alloca().
16587         * stdio-common/bug23.c: New file.
16588         * stdio-common/Makefile (tests): Add bug23.
16590 2010-09-28  Andreas Schwab  <schwab@redhat.com>
16591             Ulrich Drepper  <drepper@gmail.com>
16593         [BZ #12489]
16594         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16595         before performing relro protection.  At old place add assertion
16596         to make sure nothing changed.
16598 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
16599             Glauber de Oliveira Costa  <glommer@gmail.com>
16601         * elf/elf.h: Add new ARM TLS relocs.
16603 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
16605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16606         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16607         cast from r3.
16608         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
16609         'tests' variable.
16610         * sysdeps/wordsize-64/tst-writev.c: New file.
16612 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
16614         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16615         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16616         insns in _dl_start to prevent a TOC reference before relocs are
16617         resolved.
16619 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
16621         [BZ #12469]
16622         * Makeconfig: Remove RANLIB definition.
16623         * Makerules: Don't use RANLIB.
16624         * aclocal.m4: Remove ranlib test.
16625         * configure.in: No need to check for ranlib.
16626         * elf/rtld-Rules: Don't use RANLIB.
16628 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16630         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16631         protection macro.
16632         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16633         inclusion protection macro.
16635         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16636         SIGRTMIN and SIGRTMAX and print information in that case only when
16637         SIGRTMIN is defined.
16639 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
16641         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16642         arginfo fn returning -1.
16644         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16645         and thousands string is zero terminated.
16647 2011-02-03  Andreas Schwab  <schwab@redhat.com>
16649         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16650         sysdeps/unix/sysv/linux/bits/socket.h.
16652 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16654         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16655         (__CPU_COUNT): Remove old macros.
16656         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16657         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16658         (__CPU_ALLOC, __CPU_FREE): Add macros.
16659         (__sched_cpualloc, __sched_cpufree): Add declarations.
16661 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
16663         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16664         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16665         * nscd/aicache.c (addhstaiX): Return timeout of added value.
16666         (readdhstai): Return value of addhstaiX call.
16667         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16668         (addgrbyX): Return value returned by cache_addgr.
16669         (readdgrbyname): Return value returned by addgrbyX.
16670         (readdgrbygid): Likewise.
16671         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16672         (addpwbyX): Return value returned by cache_addpw.
16673         (readdpwbyname): Return value returned by addhstbyX.
16674         (readdpwbyuid): Likewise.
16675         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16676         (addservbyX): Return value returned by cache_addserv.
16677         (readdservbyname): Return value returned by addservbyX:
16678         (readdservbyport): Likewise.
16679         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16680         (addhstbyX): Return value returned by cache_addhst.
16681         (readdhstbyname): Return value returned by addhstbyX.
16682         (readdhstbyaddr): Likewise.
16683         (readdhstbynamev6): Likewise.
16684         (readdhstbyaddrv6): Likewise.
16685         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16686         (readdinitgroups): Return value returned by addinitgroupsX.
16687         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16688         (prune_cache): Keep track of timeout value of re-added entries.
16689         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16690         * nscd/nscd.h: Adjust prototypes of readd* functions.
16692 2011-02-04  Roland McGrath  <roland@redhat.com>
16694         * nis/nis_server.c (nis_servstate): Use the right name for 0.
16695         (nis_stats): Likewise.
16696         * nis/nis_modify.c (nis_modify): Likewise.
16697         * nis/nis_remove.c (nis_remove): Likewise.
16698         * nis/nis_add.c (nis_add): Likewise.
16700         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16702         * posix/fnmatch_loop.c: Add some consts.
16704         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16706 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
16708         [BZ #12460]
16709         * config.make.in (config-cflags-novzeroupper): Define.
16710         * configure.in: Substitute libc_cv_cc_novzeroupper.
16711         * elf/Makefile (AVX-CFLAGS): Define.
16712         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16713         (CFLAGS-tst-auditmod4a.c): Likewise.
16714         (CFLAGS-tst-auditmod4b.c): Likewise.
16715         (CFLAGS-tst-auditmod6b.c): Likewise.
16716         (CFLAGS-tst-auditmod6c.c): Likewise.
16717         (CFLAGS-tst-auditmod7b.c): Likewise.
16718         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16720 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
16722         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16723         function to the callback.
16724         Patch partly by Jiri Olsa <jolsa@redhat.com>.
16726 2011-02-02  Andreas Schwab  <schwab@redhat.com>
16728         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16729         of errno.
16731 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
16733         [BZ #11724]
16734         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16735         of constructors.
16736         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16737         of destructors.
16738         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16740         [BZ #11724]
16741         * elf/Makefile: Add rules to build and run new test.
16742         * elf/tst-initorder.c: New file.
16743         * elf/tst-initorder.exp: New file.
16744         * elf/tst-initordera1.c: New file.
16745         * elf/tst-initordera2.c: New file.
16746         * elf/tst-initordera3.c: New file.
16747         * elf/tst-initordera4.c: New file.
16748         * elf/tst-initorderb1.c: New file.
16749         * elf/tst-initorderb2.c: New file.
16750         * elf/tst-order-a1.c: New file.
16751         * elf/tst-order-a2.c: New file.
16752         * elf/tst-order-a3.c: New file.
16753         * elf/tst-order-a4.c: New file.
16754         * elf/tst-order-b1.c: New file.
16755         * elf/tst-order-b2.c: New file.
16756         * elf/tst-order-main.c: New file.
16757         New test case by George Gensure <werkt0@gmail.com>.
16759 2010-10-01  Andreas Schwab  <schwab@redhat.com>
16761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16762         decoding ACE if AI_CANONIDN.
16764 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
16766         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16768 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
16770         * version.h (RELEASE): Bump for 2.13 release.
16771         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16773         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16775         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16776         MADV_NOHUGEPAGE.
16777         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16778         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16779         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16780         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16781         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16782         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16784         * posix/getconf.c: Update copyright year.
16785         * catgets/gencat.c: Likewise.
16786         * csu/version.c: Likewise.
16787         * debug/catchsegv.sh: Likewise.
16788         * debug/xtrace.sh: Likewise.
16789         * elf/ldconfig.c: Likewise.
16790         * elf/ldd.bash.in: Likewise.
16791         * elf/sprof.c (print_version): Likewise.
16792         * iconv/iconv_prog.c: Likewise.
16793         * iconv/iconvconfig.c: Likewise.
16794         * locale/programs/locale.c: Likewise.
16795         * locale/programs/localedef.c: Likewise.
16796         * malloc/memusage.sh: Likewise.
16797         * malloc/mtrace.pl: Likewise.
16798         * nscd/nscd.c (print_version): Likewise.
16799         * nss/getent.c: Likewise.
16801         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16802         PF_CAIF, and PF_ALG.
16803         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16805 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
16807         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16808         (modules-names): Use them.
16809         (ifunc-test-modules, ifunc-pie-tests): Define.
16810         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16811         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16812         (test-extras): Likewise.
16813         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16814         $(compile-command.c).
16815         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16816         (all-built-dso): Define.
16817         (check-textrel.out, check-execstack.out): Depend on it.
16819         * configure.in: Don't override --enable-multi-arch.
16821 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
16823         [BZ #6812]
16824         * nscd/hstcache.c (tryagain): Define.
16825         (cache_addhst): Return tryagain not notfound for temporary errors.
16826         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16827         failed.
16829 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
16831         [BZ #10563]
16832         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16833         to make the syscall.
16834         * sysdeps/unix/sysv/linux/setgroups.c: New file.
16836         [BZ #12378]
16837         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16838         and fall back to matching as normal character if the string ends before
16839         the matching ']' is found.  This is what POSIX requires.
16840         * posix/testfnm.c: Adjust test result.
16841         * posix/globtest.sh: Adjust test result.  Add new test.
16842         * posix/tst-fnmatch.input: Likewise.
16843         * posix/tst-fnmatch2.c: Add new test.
16845 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
16847         * elf/Makefile (check-execstack): Revert last change.  Depend on
16848         check-execstack.h.
16849         (check-execstack.h): New target.
16850         (generated): Add check-execstack.h.
16851         * elf/check-execstack.c: Include "check-execstack.h".
16852         (main): Revert last change.
16853         (handle_file): Return zero if GNU_STACK is absent and
16854         DEFAULT_STACK_PERMS doesn't include PF_X.
16856 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
16858         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16859         in child fails because the descriptor is already closed.
16860         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16861         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16862         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16864         [BZ #12397]
16865         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16866         syscall.
16868         [BZ #10484]
16869         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16870         temporary buffer used to handle multi lookups locally.
16871         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16873 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
16875         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16876         loader is ld.so.
16878 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
16880         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16881         alignment for SSE2.
16883 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
16885         [BZ #12394]
16886         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16887         characters.  When rounding increased number of integer digits recompute
16888         number of groups.
16889         * stdio-common/tst-grouping.c: New file.
16890         * stdio-common/Makefile: Add rules to build and run tst-grouping.
16892 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
16894         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16895         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
16897         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16898         void.
16899         * bits/select.h: Likewise.
16901 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
16903         * po/ja.po: Update from translation team.
16905 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
16907         [BZ #11155]
16908         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16909         implementation just like for lxstat, fxstatat, et al.
16911 2010-12-27  Jim Meyering  <meyering@redhat.com>
16913         [BZ #12348]
16914         * posix/regexec.c (build_trtable): Return failure indication upon
16915         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
16917 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
16919         [BZ #12201]
16920         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16921         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16922         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16923         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16925         [BZ #12207]
16926         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16928         [BZ #12204]
16929         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16930         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16932 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16934         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16935         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16936         script has SORT_BY_INIT_PRIORITY.
16937         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16938         NO_CTORS_DTORS_SECTIONS is defined.
16939         * elf/soinit.c: Likewise.
16940         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16941         NO_CTORS_DTORS_SECTIONS is defined.
16942         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16943         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16944         * sysdeps/sh/init-first.c: Likewise.
16945         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16947 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
16949         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16950         always use the slow path.
16952 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
16954         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16955         similar rule which adds the sysdep directories to the header search in
16956         order to pick up the correct platform stackinfo.h.
16957         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16958         perform test if it is, otherwise return successfully without testing.
16959         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16960         DEFAULT_STACK_PERMS define in stackinfo.h.
16961         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16962         defined in stackinfo.h.
16963         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16964         DEFAULT_STACK_PERMS defined in stackinfo.h.
16965         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16966         * sysdeps/ia64/stackinfo.h: Likewise.
16967         * sysdeps/s390/stackinfo.h: Likewise.
16968         * sysdeps/sh/stackinfo.h: Likewise.
16969         * sysdeps/sparc/stackinfo.h: Likewise.
16970         * sysdeps/x86_64/stackinfo.h: Likewise.
16971         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16972         PF_X for powerpc64.  Retain PF_X for powerpc32.
16974 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
16976         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16977         accurately.
16978         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16979         GETDENTS_64BIT_ALIGNED.
16981 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
16983         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16985 2010-12-10  Andreas Schwab  <schwab@redhat.com>
16987         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16988         _GNU_SOURCE.
16990         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16991         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16992         Remove __restrict.
16993         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16994         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16996 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
16998         [BZ #11655]
16999         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17000         are initialized.
17002 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
17004         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17006 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
17008         * po/it.po: Update from translation team.
17010 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17012         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17013         unused codes.
17015 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
17017         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17019 2010-11-24  Andreas Schwab  <schwab@redhat.com>
17021         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17022         specially.
17023         (gaih_getanswer_slice): Likewise.
17025 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
17027         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17029 2010-05-31  Petr Baudis  <pasky@suse.cz>
17031         [BZ #11149]
17032         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17033         silently even in the chroot mode.
17035 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
17037         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17038         last patch a bit.  Pretty printing
17040 2010-05-31  Petr Baudis <pasky@suse.cz>
17042         [BZ #10085]
17043         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17044         initialization of skip_initgroups_dyn.
17046 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
17048         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17049         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17051 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
17053         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17055 2010-11-11  Andreas Schwab  <schwab@redhat.com>
17057         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17058         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17059         (tst-fnmatch-ENV): Set MALLOC_TRACE.
17060         ($(objpfx)tst-fnmatch-mem): New rule.
17061         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17062         * posix/tst-fnmatch.c (main): Call mtrace.
17064 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
17066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17067         Support Intel processor model 6 and model 0x2c.
17069 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
17071         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17072           signed comparison.
17074 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
17076         [BZ #12205]
17077         * string/test-strncasecmp.c (check_result): New function.
17078         (do_one_test): Use it.
17079         (check1): New function.
17080         (test_main): Use it.
17081         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17082         Support strcasecmp and strncasecmp.
17084 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
17086         [BZ #12194]
17087         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17088         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17090 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17092         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17093         IFUNC support.
17094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17095         memset-x86-64.
17096         * sysdeps/x86_64/multiarch/bzero.S: New file.
17097         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17098         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17099         * sysdeps/x86_64/multiarch/memset.S: New file.
17100         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17102         Set bit_Prefer_SSE_for_memop for Intel processors.
17103         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17104         Define.
17105         (index_Prefer_SSE_for_memop): Define.
17106         (HAS_PREFER_SSE_FOR_MEMOP): Define.
17108 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
17110         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17111         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17113 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
17115         [BZ #12191]
17116         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17117         (__x86_64_raw_data_cache_size_half): Likewise.
17118         (__x86_64_raw_shared_cache_size): Likewise.
17119         (__x86_64_raw_shared_cache_size_half): Likewise.
17121         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17122         (__x86_64_raw_data_cache_size_half): Likewise.
17123         (__x86_64_raw_shared_cache_size): Likewise.
17124         (__x86_64_raw_shared_cache_size_half): Likewise.
17125         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17126         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17127         and __x86_64_raw_shared_cache_size_half.  Round
17128         __x86_64_data_cache_size_half, __x86_64_data_cache_size
17129         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17130         to multiple of 256 bytes.
17132 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
17134         [BZ #12167]
17135         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17136         of inacessible symlinks.  Verify result of symlink before returning it.
17137         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17138         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17140 2010-10-28  Erich Ritz  <erichritz@gmail.com>
17142         * math/math.h (isinf): Fix typo in comment.
17144 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
17146         * po/da.po: Update from translation team.
17148 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
17150         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17151         is added to the list.
17153 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17154             Ulrich Drepper  <drepper@gmail.com>
17156         * elf/dl-object.c (_dl_new_object): Don't append the new object to
17157         the global list here.  Move code to...
17158         (_dl_add_to_namespace_list): ...here.  New function.
17159         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17160         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17161         * elf/dl-load.c (lose): Don't remove the element from the list.
17162         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17163         (_dl_map_object): Likewise.
17165 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
17167         [BZ #12159]
17168         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17169         into all bytes of SSE register.
17170         Patch by Richard Li <richardpku@gmail.com>.
17172 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
17174         [BZ #12140]
17175         * malloc/malloc.c (_int_free): Fill correct number of bytes when
17176         perturbing.
17178 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
17180         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17181         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17182         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17183         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17185         submachine.
17186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17188 2010-10-22  Andreas Schwab  <schwab@redhat.com>
17190         * include/dlfcn.h (__RTLD_SECURE): Define.
17191         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
17192         mode & __RTLD_SECURE instead.
17193         (open_path): Rename preloaded parameter to secure.
17194         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17195         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17196         * elf/dl-deps.c (openaux): Likewise.
17197         * elf/rtld.c (struct map_args): Remove is_preloaded.
17198         (map_doit): Don't use it.
17199         (dl_main): Likewise.
17200         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17201         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17203 2010-09-09  Andreas Schwab  <schwab@redhat.com>
17205         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17206         (sysd-rules-targets): Remove duplicates.
17207         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17208         rtld-%.$o dependency.
17210 2010-10-18  Andreas Schwab  <schwab@redhat.com>
17212         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17213         _dl_map_object do it.
17215 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
17217         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17218         fast fma builtins, define the macros in the C99 standard.
17219         (FP_FAST_FMAF): Likewise.
17220         (FP_FAST_FMAL): Likewise.
17221         * sysdeps/x86_64/bits/mathdef.h: Likewise.
17223         * bits/mathdef.h: Update copyright year.
17224         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17226 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
17228         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17229         builtins, define the macros in the C99 standard.
17230         (FP_FAST_FMAF): Likewise.
17231         (FP_FAST_FMAL): Likewise.
17232         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17233         multiply/add.
17234         (FP_FAST_FMAF): Likewise.
17236 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
17238         [BZ #3268]
17239         * math/libm-test.inc (fma_test): Some new testcases.
17240         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17241         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17242         y and infinite z.  Do multiplication by C already in long double.
17243         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17245         y and infinite z.  Do bitwise or of inexact bit into u.d.
17246         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17247         * sysdeps/i386/fpu/s_fmaf.S: Removed.
17248         * sysdeps/i386/fpu/s_fma.S: Removed.
17249         * sysdeps/i386/fpu/s_fmal.S: Removed.
17251 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
17253         [BZ #3268]
17254         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17255         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17256         computation is not scheduled after fetestexcept.  Fix value
17257         of minimum denormal long double.
17259 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
17261         [BZ #3268]
17262         * math/libm-test.inc (fma_test): Add some more tests.
17263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17264         correctly.
17266 2010-10-15  Andreas Schwab  <schwab@redhat.com>
17268         * scripts/data/localplt-s390-linux-gnu.data: New file.
17269         * scripts/data/localplt-s390x-linux-gnu.data: New file.
17271 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
17273         [BZ #3268]
17274         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17275         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17276         instead of dbl-64.
17277         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17278         inlines.
17279         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17280         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17281         if one of x and y is very large and the other is subnormal.
17282         * sysdeps/s390/fpu/s_fmaf.c: New file.
17283         * sysdeps/s390/fpu/s_fma.c: New file.
17284         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17285         * sysdeps/powerpc/fpu/s_fma.S: New file.
17286         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17287         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17288         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17290 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
17292         [BZ #3268]
17293         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17294         fma tests.
17295         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17296         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17297         * sysdeps/i386/i686/multiarch/s_fma.c: Include
17298         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17299         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17300         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17301         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17303 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
17305         [BZ #12078]
17306         * posix/regcomp.c (parse_branch): One more memory leak plugged.
17307         * posix/bug-regex31.input: Add test case.
17309 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
17311         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17312         * posix/bug-regex31.input: New file.
17314         [BZ #12078]
17315         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17316         (parse_sub_exp): Fix last change, use postorder.
17318         * posix/bug-regex31.c: New file.
17319         * posix/Makefile: Add rules to build and run bug-regex31.
17321         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17323         [BZ #12078]
17324         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17326         [BZ #12108]
17327         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17328         to have entries in sys_siglist.
17330         [BZ #12093]
17331         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17332         be NULL.
17334 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
17336         [BZ #3268]
17337         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17338         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17339         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17340         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17341         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17342         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17343         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17344         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17345         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17346         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17347         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17348         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17349         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17350         * math/ftestexcept.c (fetestexcept): Likewise.
17351         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17352         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17353         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17354         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17355         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17356         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17357         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17359 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
17361         [BZ #12107]
17362         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17363         newline.
17365 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
17367         * string/bug-strstr1.c: New file.
17368         * string/Makefile: Add rules to build and run bug-strstr1.
17370 2010-10-05  Eric Blake  <eblake@redhat.com>
17372         [BZ #12092]
17373         * string/str-two-way.h (two_way_long_needle): Always clear memory
17374         when skipping input due to the shift table.
17376 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
17378         [BZ #12005]
17379         * malloc/mcheck.c: Handle large requests.
17381         [BZ #12077]
17382         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17383         for strncmp and strncasecmp.
17384         * string/stratcliff.c: Add tests for strcmp and strncmp.
17385         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17387 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17389         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17390         __set_fpscr.
17392 2010-09-30  Andreas Jaeger  <aj@suse.de>
17394         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17395         (CGROUP_SUPER_MAGIC): Define.
17396         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17397         Handle btrfs and cgroup file systems.
17398         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17399         Likewise.
17401 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
17403         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17404         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17406 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17408         [BZ #12067]
17409         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17410         trying to locate the ELF header.
17412 2010-09-27  Andreas Schwab  <schwab@redhat.com>
17414         [BZ #11611]
17415         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17416         Mask out sign-bit copies when constructing f_fsid.
17418 2010-09-24  Petr Baudis <pasky@suse.cz>
17420         * debug/stack_chk_fail_local.c: Add missing licence exception.
17421         * debug/warning-nop.c: Likewise.
17423 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
17425         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17426         implementing getdents64 using getdents syscall, set d_type if
17427         __ASSUME_GETDENTS32_D_TYPE.
17429 2010-09-16  Andreas Schwab  <schwab@redhat.com>
17431         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17432         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17434 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
17436         [BZ #12037]
17437         * posix/unistd.h: Undo change of feature selection for ftruncate from
17438         2010-01-11.
17440 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
17442         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17443         detection.
17445 2010-09-20  Andreas Schwab  <schwab@redhat.com>
17447         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17448         fanotify_mark.
17449         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17451 2010-09-14  Andreas Schwab  <schwab@redhat.com>
17453         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17454         variables after CHECK_SP call.
17455         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17457 2010-09-13  Andreas Schwab  <schwab@redhat.com>
17458             Ulrich Drepper  <drepper@redhat.com>
17460         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17461         re-relocationg ld.so.
17462         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17463         _dl_init_paths call.
17464         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
17465         here anymore.
17467 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
17469         * resolv/res_init.c (__res_vinit): Count the default server we added.
17471 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
17472             Ulrich Drepper  <drepper@redhat.com>
17474         [BZ #11968]
17475         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17476         (____longjmp_chk): Use %ebx for saving value across system call.
17477         Add unwind info.
17479 2010-09-06  Andreas Schwab  <schwab@redhat.com>
17481         * manual/Makefile: Don't mix pattern rules with normal rules.
17483 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17485         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17486         operation.
17487         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17488         * libio/iofopncook.c (_IO_cookie_init): Likewise.
17489         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17490         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17492         Likewise.
17494 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
17496         [BZ #11979]
17497         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17498         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17500 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
17502         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17503         * sysdeps/x86_64/addmul_1.S: Likewise.
17504         * sysdeps/x86_64/lshift.S: Likewise.
17505         * sysdeps/x86_64/mul_1.S: Likewise.
17506         * sysdeps/x86_64/rshift.S: Likewise.
17507         * sysdeps/x86_64/sub_n.S: Likewise.
17508         * sysdeps/x86_64/submul_1.S: Likewise.
17510 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17512         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17513         Define __sched_param instead of SCHED_* and sched_param when
17514         <bits/sched.h> is included with __need_schedparam defined.
17515         * bits/sched.h [__need_schedparam]
17516         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17517         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17518         (__defined_schedparam): Define to 1.
17519         (__sched_param): New structure, identical to sched_param.
17520         (__need_schedparam): Undefine.
17522 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
17524         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17525         (epoll_create1): Declare.
17527         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17529 2010-08-31  Andreas Schwab  <schwab@redhat.com>
17531         [BZ #7066]
17532         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17533         shifting retval into place.
17535 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
17537         * nis/rpcsvc/nis.h: Update copyright notice.
17538         * nis/rpcsvc/nis.x: Likewise.
17539         * nis/rpcsvc/nis_callback.h: Likewise.
17540         * nis/rpcsvc/nis_callback.x: Likewise.
17541         * nis/rpcsvc/nis_object.x: Likewise.
17542         * nis/rpcsvc/nis_tags.h: Likewise.
17543         * nis/rpcsvc/yp.h: Likewise.
17544         * nis/rpcsvc/yp.x: Likewise.
17545         * nis/rpcsvc/ypupd.h: Likewise.
17546         * nis/yp_xdr.c: Likewise.
17547         * nis/ypupdate_xdr.c: Likewise.
17549         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
17550         mainly the body of pmap_getport.  Add parameters to specify timeouts.
17551         (pmap_getport): Use __libc_rpc_getport.
17552         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17553         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17554         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17556 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
17558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17559         fanotify_mark.
17561 2010-08-27  Roland McGrath  <roland@redhat.com>
17563         * sysdeps/i386/i686/multiarch/Makefile
17564         (CFLAGS-varshift.c): New variable.
17566 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
17568         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17569         * sysdeps/i386/i686/multiarch/varshift.c: New file.
17571         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17573         * sysdeps/x86_64/strlen.S: Minimal code improvement.
17575 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17577         * sysdeps/x86_64/strlen.S: Unroll the loop.
17578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17579         strlen-sse2 strlen-sse2-bsf.
17580         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17581         __strlen_no_bsf if bit_Slow_BSF is set.
17582         (__strlen_sse42): Removed.
17583         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17584         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17586 2010-08-25  Roland McGrath  <roland@redhat.com>
17588         * sysdeps/x86_64/multiarch/varshift.S: File removed.
17589         * sysdeps/x86_64/multiarch/varshift.c: New file.
17590         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17591         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17592         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17593         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17595 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17597         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17598         strlen-sse2 strlen-sse2-bsf.
17599         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17600         __strlen_sse2_bsf if bit_Slow_BSF is unset.
17601         (__strlen_sse2): Removed.
17602         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17603         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17605         bit_Slow_BSF for Atom.
17606         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17607         (index_Slow_BSF): Define.
17608         (HAS_SLOW_BSF): Define.
17610 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
17612         [BZ #10851]
17613         * resolv/res_init.c (__res_vinit): When no server address at all
17614         is given default to loopback.
17616 2010-08-24  Roland McGrath  <roland@redhat.com>
17618         * configure.in: Remove config-name.h generation.
17619         * configure: Regenerated.
17620         * config-name.in: File removed.
17621         * scripts/config-uname.sh: New file.
17622         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17623         ($(objdir)config-name.h): New target.
17625         * sunrpc/rpc_parse.h: Avoid nested comment.
17627 2010-08-24  Richard Henderson  <rth@redhat.com>
17628             Ulrich Drepper  <drepper@redhat.com>
17629             H.J. Lu  <hongjiu.lu@intel.com>
17631         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17633         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17634         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
17635         _mm_alignr_epi8 with _mm_loadu_si128.
17636         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17637         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17638         (__m128i_shift_right): Removed.
17639         * sysdeps/i386/i686/multiarch/varshift.h: New file.
17640         * sysdeps/i386/i686/multiarch/varshift.S: New file.
17641         * sysdeps/x86_64/multiarch/varshift.h: New file.
17642         * sysdeps/x86_64/multiarch/varshift.S: New file.
17644 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
17646         * configure.in: Move assembler checks to before sysdep dir checking.
17648 2010-08-20  Petr Baudis  <pasky@suse.cz>
17650         * LICENSES: Sync the sunrpc license.
17652 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
17654         * sunrpc/auth_des.c: Update copyright notice once again.
17655         * sunrpc/auth_none.c: Likewise.
17656         * sunrpc/auth_unix.c: Likewise.
17657         * sunrpc/authdes_prot.c: Likewise.
17658         * sunrpc/authuxprot.c: Likewise.
17659         * sunrpc/bindrsvprt.c: Likewise.
17660         * sunrpc/clnt_gen.c: Likewise.
17661         * sunrpc/clnt_perr.c: Likewise.
17662         * sunrpc/clnt_raw.c: Likewise.
17663         * sunrpc/clnt_simp.c: Likewise.
17664         * sunrpc/clnt_tcp.c: Likewise.
17665         * sunrpc/clnt_udp.c: Likewise.
17666         * sunrpc/clnt_unix.c: Likewise.
17667         * sunrpc/des_crypt.c: Likewise.
17668         * sunrpc/des_soft.c: Likewise.
17669         * sunrpc/get_myaddr.c: Likewise.
17670         * sunrpc/getrpcport.c: Likewise.
17671         * sunrpc/key_call.c: Likewise.
17672         * sunrpc/key_prot.c: Likewise.
17673         * sunrpc/openchild.c: Likewise.
17674         * sunrpc/pm_getmaps.c: Likewise.
17675         * sunrpc/pm_getport.c: Likewise.
17676         * sunrpc/pmap_clnt.c: Likewise.
17677         * sunrpc/pmap_prot.c: Likewise.
17678         * sunrpc/pmap_prot2.c: Likewise.
17679         * sunrpc/pmap_rmt.c: Likewise.
17680         * sunrpc/rpc/auth.h: Likewise.
17681         * sunrpc/rpc/auth_unix.h: Likewise.
17682         * sunrpc/rpc/clnt.h: Likewise.
17683         * sunrpc/rpc/des_crypt.h: Likewise.
17684         * sunrpc/rpc/key_prot.h: Likewise.
17685         * sunrpc/rpc/netdb.h: Likewise.
17686         * sunrpc/rpc/pmap_clnt.h: Likewise.
17687         * sunrpc/rpc/pmap_prot.h: Likewise.
17688         * sunrpc/rpc/pmap_rmt.h: Likewise.
17689         * sunrpc/rpc/rpc.h: Likewise.
17690         * sunrpc/rpc/rpc_des.h: Likewise.
17691         * sunrpc/rpc/rpc_msg.h: Likewise.
17692         * sunrpc/rpc/svc.h: Likewise.
17693         * sunrpc/rpc/svc_auth.h: Likewise.
17694         * sunrpc/rpc/types.h: Likewise.
17695         * sunrpc/rpc/xdr.h: Likewise.
17696         * sunrpc/rpc_clntout.c: Likewise.
17697         * sunrpc/rpc_cmsg.c: Likewise.
17698         * sunrpc/rpc_common.c: Likewise.
17699         * sunrpc/rpc_cout.c: Likewise.
17700         * sunrpc/rpc_dtable.c: Likewise.
17701         * sunrpc/rpc_hout.c: Likewise.
17702         * sunrpc/rpc_main.c: Likewise.
17703         * sunrpc/rpc_parse.c: Likewise.
17704         * sunrpc/rpc_parse.h: Likewise.
17705         * sunrpc/rpc_prot.c: Likewise.
17706         * sunrpc/rpc_sample.c: Likewise.
17707         * sunrpc/rpc_scan.c: Likewise.
17708         * sunrpc/rpc_scan.h: Likewise.
17709         * sunrpc/rpc_svcout.c: Likewise.
17710         * sunrpc/rpc_tblout.c: Likewise.
17711         * sunrpc/rpc_util.c: Likewise.
17712         * sunrpc/rpc_util.h: Likewise.
17713         * sunrpc/rpcinfo.c: Likewise.
17714         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17715         * sunrpc/rpcsvc/key_prot.x: Likewise.
17716         * sunrpc/rpcsvc/klm_prot.x: Likewise.
17717         * sunrpc/rpcsvc/mount.x: Likewise.
17718         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17719         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17720         * sunrpc/rpcsvc/rex.x: Likewise.
17721         * sunrpc/rpcsvc/rstat.x: Likewise.
17722         * sunrpc/rpcsvc/rusers.x: Likewise.
17723         * sunrpc/rpcsvc/sm_inter.x: Likewise.
17724         * sunrpc/rpcsvc/spray.x: Likewise.
17725         * sunrpc/rpcsvc/yppasswd.x: Likewise.
17726         * sunrpc/rtime.c: Likewise.
17727         * sunrpc/svc.c: Likewise.
17728         * sunrpc/svc_auth.c: Likewise.
17729         * sunrpc/svc_authux.c: Likewise.
17730         * sunrpc/svc_raw.c: Likewise.
17731         * sunrpc/svc_run.c: Likewise.
17732         * sunrpc/svc_simple.c: Likewise.
17733         * sunrpc/svc_tcp.c: Likewise.
17734         * sunrpc/svc_udp.c: Likewise.
17735         * sunrpc/svc_unix.c: Likewise.
17736         * sunrpc/svcauth_des.c: Likewise.
17737         * sunrpc/xcrypt.c: Likewise.
17738         * sunrpc/xdr.c: Likewise.
17739         * sunrpc/xdr_array.c: Likewise.
17740         * sunrpc/xdr_float.c: Likewise.
17741         * sunrpc/xdr_mem.c: Likewise.
17742         * sunrpc/xdr_rec.c: Likewise.
17743         * sunrpc/xdr_ref.c: Likewise.
17744         * sunrpc/xdr_sizeof.c: Likewise.
17745         * sunrpc/xdr_stdio.c: Likewise.
17747         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17748         handling.
17750 2010-08-19  Andreas Schwab  <schwab@redhat.com>
17752         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17754 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
17756         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17757         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17758         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17759         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17760         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17761         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17762         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17763         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17764         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17765         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17766         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17767         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17768         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17769         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17771 2010-07-26  Anton Blanchard  <anton@samba.org>
17773         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17774         * malloc/arena.c (heap_trim): Likewise.
17776 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
17778         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17779         here.  Not...
17780         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17781         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17783 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
17785         * sysdeps/i386/elf/Makefile: New file.
17787 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
17789         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17790         from fanotify_init.
17791         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17792         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17794 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
17796         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17797         of strncasecmp_l.
17798         * sysdeps/multiarch/strcmp.S: Likewise.
17800 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
17802         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17803         strncase_l-nonascii.
17804         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17805         Add strncase_l-ssse3.
17806         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17807         * sysdeps/x86_64/strcmp.S: Likewise.
17808         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17809         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17810         * sysdeps/x86_64/strncase.S: New file.
17811         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17812         * sysdeps/x86_64/strncase_l.S: New file.
17813         * string/Makefile (strop-tests): Add strncasecmp.
17814         * string/test-strncasecmp.c: New file.
17816         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17817         warning.
17819         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17820         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17822 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
17824         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17826 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
17828         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17829         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17830         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17832 2010-05-01  Alan Modra  <amodra@gmail.com>
17834         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17835         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17836         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17837         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17838         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17839         tidying.  Don't tail-call __sigjmp_save for static lib.
17840         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17841         save location.
17842         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17843         (CALL_MCOUNT): Add eh info, and nop after bl.
17844         (TAIL_CALL_SYSCALL_ERROR): New macro.
17845         (PSEUDO_RET): Use it.
17846         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17847         Correct save location of integer regs and cr.
17848         (_dl_profile_resolve): Correct cr save location.  Delete nops
17849         after bl when SHARED.  Reduce cfi size a little by better
17850         placement of cfi directives.
17851         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17852         make a stack frame.  Instead use parm save area as a temp.
17853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17854         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
17855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17856         Don't make a stack frame for parent, use parm save area.
17857         Increase child stack frame to 112 bytes.  Don't save unused reg,
17858         and adjust reg usage.  Set up cfi on error recovery and
17859         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17861         (__makecontext): Add dummy nop after jump to exit.
17862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17863         Use correct parm save area and cr save, reduce stack frame.
17864         Correct cfi for possible PSEUDO_RET frame setup.
17865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17866         Branch to local label emitted by PSEUDO_RET rather than
17867         __syscall_error.
17869 2010-08-12  Andreas Schwab  <schwab@redhat.com>
17871         [BZ #11904]
17872         * locale/programs/locale.c (print_assignment): New function.
17873         (show_locale_vars): Use it.
17875 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
17877         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17878         field.
17879         (struct statfs64): Likewise.
17880         (_STATFS_F_FLAGS): Define.
17881         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17882         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17883         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17884         (ST_VALID): Define locally.
17885         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17886         __statvfs_getflags, use the provided value.
17887         * sysdeps/unix/sysv/linux/kernel-features.h: Define
17888         __ASSUME_STATFS_F_FLAGS.
17890         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17892         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17893         Add sys/fanotify.h.
17894         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17895         fanotify_mask for GLIBC_2.13.
17896         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17897         fanotify_init and fanotify_mark.
17898         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17899         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17901         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17902         Add prlimit.
17903         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17904         prlimit64 for GLIBC_2.13.
17905         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17906         prlimit64.
17907         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17908         syscall.
17909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17910         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17911         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17912         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17913         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
17914         add prlimit alias.
17915         * sysdeps/unix/sysv/linux/prlimit.c: New file.
17917         [BZ #11903]
17918         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17919         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17921         * nss/Makefile: Add rules to build and run tst-nss-test1.
17922         * shlib-versions: Add entry for libnss_test1.
17923         * nss/nss_test1.c: New file.
17924         * nss/tst-nss-test1.c: New file.
17926         * nss/nsswitch.c (__nss_database_custom): Define new variable.
17927         (__nss_configure_lookup): Set appropriate entry in
17928         __nss_configure_lookup to true.
17929         * nss/nsswitch.h: Define enum with indeces of databases in
17930         databases and __nss_database_custom arrays.  Declare
17931         __nss_database_custom.
17932         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17933         to avoid using nscd when custom rules are installed.
17934         * nss/getXXbyYY_r.c: Likewise.
17935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17937         * nss/nss_files/files-parse.c: Whitespace fixes.
17939 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
17941         [BZ #11883]
17942         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17943         * posix/fnmatch_loop.c: Likewise.
17945 2010-07-17  Andi Kleen  <ak@linux.intel.com>
17947         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17948         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17949         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17950         * Versions.def [GLIBC_2.13]: Add.
17952 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
17954         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17955         Also fail if tpwd after pwuid call is NULL.
17957 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17959         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17960         when converting to ms.
17962 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17964         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17965         EOPNOTSUPP errors with ENOTTY.
17966         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17967         EOPNOTSUPP errors with ENOTTY.
17969 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
17971         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17972         Add strcasecmp_l-ssse3.
17973         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17974         strcasecmp.
17975         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17976         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17977         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17979 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
17981         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17983         * string/Makefile (strop-tests): Add strcasecmp.
17984         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17985         strcasecmp_l-nonascii.
17986         (gen-as-const-headers): Add locale-defines.sym.
17987         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17988         * sysdeps/x86_64/strcasecmp.S: New file.
17989         * sysdeps/x86_64/strcasecmp_l.S: New file.
17990         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17991         * sysdeps/x86_64/locale-defines.sym: New file.
17992         * string/test-strcasecmp.c: New file.
17994         * string/test-strcasestr.c: Test both ends of the range of characters.
17995         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17997 2010-07-29  Roland McGrath  <roland@redhat.com>
17999         [BZ #11856]
18000         * manual/locale.texi (Yes-or-No Questions): Fix example code.
18002 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
18004         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18005         for ld.so.
18007 2010-07-27  Andreas Schwab  <schwab@redhat.com>
18009         * manual/memory.texi (Malloc Tunable Parameters): Document
18010         M_PERTURB.
18012 2010-07-26  Roland McGrath  <roland@redhat.com>
18014         [BZ #11840]
18015         * configure.in (-fgnu89-inline check): Set and substitute
18016         gnu89_inline, not libc_cv_gnu89_inline.
18017         * configure: Regenerated.
18018         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18020 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
18022         * string/test-strnlen.c: New file.
18023         * string/Makefile (strop-tests): Add strnlen.
18024         * string/tester.c (test_strnlen): Add a few more test cases.
18025         * string/tst-strlen.c: Better error reporting.
18027         * sysdeps/x86_64/strnlen.S: New file.
18029 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
18031         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18032         lower-latency instructions.
18034 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
18036         * string/test-strcasestr.c: New file.
18037         * string/test-strstr.c: New file.
18038         * string/Makefile (strop-tests): Add strstr and strcasestr.
18039         * string/str-two-way.h: Don't undefine MAX.
18040         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18042 2010-07-21  Andreas Schwab  <schwab@redhat.com>
18044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18045         strcasestr-nonascii.
18046         (CFLAGS-strcasestr-nonascii.c): Define.
18047         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18048         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18049         Remove unused attribute.
18051 2010-07-20  Roland McGrath  <roland@redhat.com>
18053         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18054         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
18055         ld.so.cache was broken.  With it, there is no way to disable dsocaps
18056         like LD_HWCAP_MASK can disable hwcaps.
18058 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
18060         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18062 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
18064         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18065         call in strcasestr.
18066         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18067         __strcasestr_sse42_nonascii.
18068         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18069         strcasestr-nonascii.c.
18070         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18072 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
18074         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18075         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18076         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18077         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18079 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
18081         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18082         fcntl.
18084 2010-07-06  Andreas Schwab  <schwab@redhat.com>
18086         [BZ #11577]
18087         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18088         dl_signal_cerror.
18090 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
18092         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18093         _PC_PIPE_BUF using F_GETPIPE_SZ.
18095 2010-07-05  Roland McGrath  <roland@redhat.com>
18097         * manual/arith.texi (Rounding Functions): Fix rint description
18098         implicit in round description.
18100 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
18102         * elf/Makefile: Fix linking for a few tests to make recent linker
18103         happy.
18105 2010-06-30  Andreas Schwab  <schwab@redhat.com>
18107         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18108         $(common-objpfx)libc_nonshared.a.
18110 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
18112         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18113         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18114         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18115         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18116         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18117         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18118         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18119         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18134         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18135         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18136         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18137         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18138         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18139         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18140         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18141         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18142         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18143         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18144         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18145         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18161 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18163         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18164         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
18165         * string/memmove.c (memmove): Renamed to ...
18166         (MEMMOVE): ...this.  Default to memmove.
18167         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18168         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18169         (END_CHK): Define.
18170         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18171         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18172         mempcpy-ssse3-back memmove-ssse3-back.
18173         * sysdeps/x86_64/multiarch/bcopy.S: New file .
18174         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18175         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18176         * sysdeps/x86_64/multiarch/memcpy.S: New file.
18177         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18178         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18179         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18180         * sysdeps/x86_64/multiarch/memmove.c: New file.
18181         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18182         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18183         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18184         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18185         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18186         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18187         Define.
18188         (index_Fast_Copy_Backward): Define.
18189         (HAS_ARCH_FEATURE): Define.
18190         (HAS_FAST_REP_STRING): Define.
18191         (HAS_FAST_COPY_BACKWARD): Define.
18193 2010-06-21  Andreas Schwab  <schwab@redhat.com>
18195         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18196         Restore proper fallback handling.
18198 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
18200         [BZ #11701]
18201         * posix/group_member.c (__group_member): Correct checking loop.
18203         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18204         OOM in getpwuid_r correctly.  Return error number when the caller
18205         should return, otherwise -1.
18206         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18207         call returning > 0 value.
18208         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18210 2010-06-07  Andreas Schwab  <schwab@redhat.com>
18212         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18213         libc_nonshared.a from targets in modules-names.
18215 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
18217         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18218         requires it.
18220 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
18222         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18223         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18224         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18225         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18227 2010-06-02  Andreas Schwab  <schwab@redhat.com>
18229         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18231 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
18233         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18234         and F_GETPIPE_SZ.
18235         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18236         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18237         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18238         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18239         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18240         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18242 2010-06-14  Roland McGrath  <roland@redhat.com>
18244         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18246 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
18248         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18249         __REDIRECT followed by __THROW.
18250         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18251         * posix/getopt.h (getopt): Likewise.
18253 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
18255         * hurd/lookup-at.c (__file_name_lookup_at): Accept
18256         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
18257         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18258         in AT_FLAGS.
18259         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18260         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18262 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
18264         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18266 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
18268         [BZ #11640]
18269         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18270         Properly check family and model.
18272 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
18274         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18276 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
18278         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18280 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
18282         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18283         symbol reference.
18285 2010-05-19  Andreas Schwab  <schwab@redhat.com>
18287         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18288         symbol reference.
18290 2010-05-21  Andreas Schwab  <schwab@redhat.com>
18292         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18293         and internal_recvmmsg.
18294         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18295         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18296         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18297         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18299         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18300         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18301         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18303 2010-05-20  Andreas Schwab  <schwab@redhat.com>
18305         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18307 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
18309         POWER7 optimizations.
18310         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18311         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18313 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
18315         * version.h: Update for 2.13 development version.
18317 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
18319         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18320         exceptions.  Return 0.
18322 2010-05-07  Roland McGrath  <roland@redhat.com>
18324         * elf/ldconfig.c (main): Add a const.
18326 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
18328         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18329         (args_options): Add no-idn option.
18330         (ahosts_keys_int): Add idn_flags to ai_flags.
18331         (parse_option): Handle 'i' option to clear idn_flags.
18333         * malloc/malloc.c (_int_free): Possible race in the most recently
18334         added check.  Only act on the data if no current modification
18335         happened.
18337 See ChangeLog.17 for earlier changes.