1 2012-08-17 Roland McGrath <roland@hack.frob.com>
3 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5 2012-08-17 Jeff Law <law@redhat.com>
7 * intl/Makefile (codeset_mo): New variable.
8 ($(codeset_mo)): New target.
9 (tst-codeset.out): Depend on that. Remove explicit rule.
10 (tst-gettext3.out, tst-gettext5.out): Likewise.
11 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13 * intl/tst-codeset.sh: Remove.
14 * intl/tst-gettext3.sh: Likewise.
15 * intl/tst-gettext5.sh: Likewise.
17 2012-08-17 Roland McGrath <roland@hack.frob.com>
19 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20 * sysdeps/unix/syscalls.list: ... here.
22 * sysdeps/posix/getaddrinfo.c
23 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24 (gaiconf_init, gaiconf_reload): Use them.
26 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27 Define using time_t rather than struct timespec.
29 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39 __libc_cleanup_push argument.
41 * bits/param.h: New file.
42 * misc/sys/param.h: New file.
43 * include/sys/param.h: New file.
44 * misc/Makefile (headers): Add bits/param.h.
45 * sysdeps/generic/sys/param.h: File removed.
46 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48 * sysdeps/mach/hurd/bits/param.h: New file.
49 * sysdeps/mach/hurd/sys/param.h: New file.
51 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
56 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62 rather than -D_IO_MTSAFE_IO conditionally.
63 * stdio-common/Makefile (CPPFLAGS): Likewise.
64 * wcsmbs/Makefile (CPPFLAGS): Likewise.
65 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
69 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
72 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
73 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
74 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
75 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
76 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77 (CFLAGS-fread_u_chk.c): Likewise.
78 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
79 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
80 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
81 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
82 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
83 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
84 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
85 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
86 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
88 * libio/Makefile: Test [$(libc-reentrant) = yes]
89 instead of [$(filter %REENTRANT, $(defines)) nonempty].
92 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
93 * sysdeps/pthread/configure: File removed.
94 * sysdeps/pthread/Makeconfig: New file.
95 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
96 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
98 2012-08-16 Gary Benson <gbenson@redhat.com>
100 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
101 unmapping the first object in a namespace.
103 2012-08-16 Roland McGrath <roland@hack.frob.com>
105 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
106 (__internal_setnetgrent): ... this. Add internal_function to
107 definition. Add libc_hidden_def.
108 (setnetgrent): Update caller.
109 (internal_endnetgrent): Renamed to ...
110 (__internal_endnetgrent): ... this. Add internal_function to
111 definition. Add libc_hidden_def.
112 (endnetgrent): Update caller.
113 (internal_getnetgrent_r): Renamed to ...
114 (__internal_getnetgrent_r): ... this. Add internal_function to
115 definition. Add libc_hidden_def.
116 (__getnetgrent_r): Update caller.
117 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
119 2012-08-16 Joseph Myers <joseph@codesourcery.com>
121 * stdlib/longlong.h: Update from GCC.
123 2012-08-16 Roland McGrath <roland@hack.frob.com>
125 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
126 on _QL, which is set by umul_ppmm but never used.
127 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
128 variables, which are set by GMP macros but never used.
129 * stdio-common/_itowa.c (_itowa): Likewise.
130 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
131 * stdlib/mod_1.c (mpn_mod_1): Likewise.
133 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
135 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
136 struct La_sh_regs is not constant.
137 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
138 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
139 and struct La_sparc64_regs are not constant.
141 2012-08-16 Joseph Myers <joseph@codesourcery.com>
143 * sysdeps/unix/sysv/linux/kernel-features.h
144 (__ASSUME_POSIX_TIMERS): Remove.
145 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
146 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
147 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
148 Make code unconditional.
149 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
150 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
151 Make code unconditional.
152 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
153 * sysdeps/unix/sysv/linux/clock_nanosleep.c
154 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
155 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
156 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
157 Make code unconditional.
158 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
159 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
160 (__libc_missing_posix_timers): Remove.
162 2012-08-15 Roland McGrath <roland@hack.frob.com>
164 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
165 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
167 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
169 * elf/dl-sym.c: Include <stdlib.h>.
171 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
172 constants, which avoids warnings in 32-bit builds.
174 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
175 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
177 * misc/lseek.c: File moved to ...
178 * io/lseek.c: ... here.
180 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
182 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
183 shifting LEN more than 31 bits at once.
185 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
188 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
189 segmentation fault for a case of two empty input strings.
190 * string/test-strncasecmp.c (check1): Renamed to...
192 (bz14195): Add new testcase for two empty input strings and N > 0.
193 (test_main): Call new testcase, adapt for renamed function.
195 2012-08-15 Andreas Jaeger <aj@suse.de>
198 * crypt/md5test2.c: New test, based on test supplied by Serge
199 Belyshev <belyshev@depni.sinp.msu.ru>.
200 * crypt/Makefile (xtests): Add md5test-giant..
201 * crypt/Makefile ($(objpfx)md5test-giant): Add.
203 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
206 * crypt/md5.c (md5_process_block): Don't assume the buffer
207 length is less than 2**32.
208 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
209 length is less than 2**64.
211 2012-08-15 Roland McGrath <roland@hack.frob.com>
213 * string/str-two-way.h: Include <sys/param.h>.
214 (MAX): Macro removed.
216 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
217 Move #define and #undef of memmove to just before and after
218 including <string.h>.
220 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
221 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
222 and after including <string.h>. Move declarations of
223 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
224 to before #include "string/memmove.c".
226 * include/dirent.h: Declare __getdirentries.
228 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
229 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
231 2012-08-14 Mike Frysinger <vapier@gentoo.org>
233 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
234 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
235 * sysdeps/i386/configure: Regenerated.
236 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
237 STABS_CURRENT_FILE, and STABS_FUN.
238 (END): Remove call to STABS_FUN_END.
239 (STABS_CURRENT_FILE1): Delete.
240 (STABS_CURRENT_FILE): Likewise.
241 (STABS_FUN): Likewise.
242 (STABS_FUN_END): Likewise.
243 (STABS_FUN2): Likewise.
244 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
245 * sysdeps/x86_64/configure: Regenerated.
247 2012-08-14 Roland McGrath <roland@hack.frob.com>
249 * elf/dl-open.c: Include <atomic.h>.
250 * elf/dl-lookup.c: Likewise.
252 2012-08-14 Joseph Myers <joseph@codesourcery.com>
254 * sysdeps/unix/sysv/linux/kernel-features.h
255 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
256 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
258 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
260 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
261 condition on __ASSUME_CLONE_THREAD_FLAGS.
263 2012-08-14 Andreas Jaeger <aj@suse.de>
265 * sysdeps/i386/fpu/libm-test-ulps: Update.
267 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
269 * include/atomic.h (atomic_exchange_and_add): Split into ...
270 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
273 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
277 2012-08-13 Jeff Law <law@redhat.com>
279 * manual/stdio.texi (snprintf): Clarify handling of the trailing
280 null byte in the output string.
282 2012-08-10 Joseph Myers <joseph@codesourcery.com>
284 * sysdeps/unix/sysv/linux/kernel-features.h
285 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
286 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
287 (__ASSUME_ARG_MAX_STACK_BASED): Define.
288 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
289 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
290 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
291 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
293 2012-08-09 Jeff Law <law@redhat.com>
296 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
297 When avoid_arena is set, don't retry in the that arena. Pick the
298 next one, whatever it might be.
299 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
300 (arena_lock): Pass in new parameter to arena_get2.
301 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
303 (__libc_malloc): Unify retrying after main arena failure with
304 __libc_memalign version.
305 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
307 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
310 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
311 to __redirect_strstr.
312 (__strstr_sse42): Use typeof __redirect_strstr.
313 (__strstr_ia32): Likewise.
314 (__libc_strstr): New prototype.
315 (strstr): Renamed to ...
316 (__libc_strstr): This.
317 (strstr): New strong alias of __libc_strstr.
318 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
319 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
322 (__libc_time): New prototype.
323 (time_ifunc): Replace time with __libc_time.
324 (time): New strong alias and hidden definition of __libc_time.
325 (__GI_time): Remove strong alias.
326 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
328 (memmove): Redefined to __redirect_memmove.
329 (__memmove_sse2): Use typeof __redirect_memmove.
330 (__memmove_ssse3): Likewise.
331 (__memmove_ssse3_back): Likewise.
332 (__libc_memmove): New prototype.
333 (memmove): Renamed to ...
334 (__libc_memmove): This.
335 (memmove): New strong alias of __libc_memmove.
337 2012-08-08 Mark Salter <msalter@redhat.com>
340 (R_MN10300_TLS_GD): Define.
341 (R_MN10300_TLS_LD): Likewise.
342 (R_MN10300_TLS_LDO): Likewise.
343 (R_MN10300_TLS_GOTIE): Likewise.
344 (R_MN10300_TLS_IE): Likewise.
345 (R_MN10300_TLS_LE): Likewise.
346 (R_MN10300_TLS_DTPMOD): Likewise.
347 (R_MN10300_TLS_DTPOFF): Likewise.
348 (R_MN10300_TLS_TPOFF): Likewise.
349 (R_MN10300_SYM_DIFF): Likewise.
350 (R_MN10300_ALIGN): Likewise.
351 (R_MN10300_NUM): Update.
353 2012-08-08 Joseph Myers <joseph@codesourcery.com>
355 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
358 2012-08-08 Roland McGrath <roland@hack.frob.com>
360 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
362 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
363 sysdeps/unix -> sysdeps/posix move.
364 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
366 2012-08-07 Allan McRae <allan@archlinux.org>
369 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
370 (SUNOS_CPP): Likewise.
371 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
373 (open_input): Call CPP using execvp.
375 2012-08-07 Joseph Myers <joseph@codesourcery.com>
377 * sysdeps/unix/sysv/linux/kernel-features.h
378 (__ASSUME_PROT_GROWSUPDOWN): Remove.
379 (__ASSUME_NO_CLONE_DETACHED): Likewise.
380 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
381 (__ASSUME_WAITID_SYSCALL): Likewise.
382 * sysdeps/unix/sysv/linux/dl-execstack.c
383 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
385 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
387 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
388 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
389 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
391 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
393 [__ASSUME_WAITID_SYSCALL]: Likewise.
394 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
396 2012-08-07 Roland McGrath <roland@hack.frob.com>
398 * sysdeps/unix/closedir.c: Renamed to ...
399 * sysdeps/posix/closedir.c: ... here.
400 * sysdeps/unix/dirfd.c: Renamed to ...
401 * sysdeps/posix/dirfd.c: ... here.
402 * sysdeps/unix/dirstream.h: Renamed to ...
403 * sysdeps/posix/dirstream.h: ... here.
404 * sysdeps/unix/fdopendir.c: Renamed to ...
405 * sysdeps/posix/fdopendir.c: ... here.
406 * sysdeps/unix/opendir.c: Renamed to ...
407 * sysdeps/posix/opendir.c: ... here.
408 * sysdeps/unix/readdir.c: Renamed to ...
409 * sysdeps/posix/readdir.c: ... here.
410 * sysdeps/unix/readdir_r.c: Renamed to ...
411 * sysdeps/posix/readdir_r.c: ... here.
412 * sysdeps/unix/rewinddir.c: Renamed to ...
413 * sysdeps/posix/rewinddir.c: ... here.
414 * sysdeps/unix/seekdir.c: Renamed to ...
415 * sysdeps/posix/seekdir.c: ... here.
416 * sysdeps/unix/telldir.c: Renamed to ...
417 * sysdeps/posix/telldir.c: ... here.
418 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
419 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
420 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
421 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
423 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
424 * bits/fcntl.h: ... here.
426 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
428 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
429 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
430 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
431 (struct flock): Move l_start, l_len to the beginning.
432 Use __pid_t for l_pid.
433 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
434 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
435 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
436 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
437 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
438 [__USE_LARGEFILE64] (struct flock64): New type.
439 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
441 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
442 * bits/dirent.h: ... here.
444 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
445 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
447 2012-08-07 Joseph Myers <joseph@codesourcery.com>
449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
450 Change from 2.6.0 to 2.6.16.
451 * sysdeps/unix/sysv/linux/configure: Regenerated.
452 * sysdeps/unix/sysv/linux/kernel-features.h
453 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
454 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
456 (__ASSUME_UTIMES): Likewise.
457 (__ASSUME_CLONE_STOPPED): Remove.
458 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
459 architectures, not kernel version.
460 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
461 (__ASSUME_NO_CLONE_DETACHED): Likewise.
462 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
463 (__ASSUME_WAITID_SYSCALL): Likewise.
464 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
465 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
466 * README: State 2.6.16 as minimum Linux kernel version. Do not
467 refer to older versions.
469 2012-08-06 Roland McGrath <roland@hack.frob.com>
471 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
472 Define alphasort64 as an alias.
473 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
474 Define versionsort64 as an alias.
475 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
476 Define scandir64 as an alias.
477 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
478 Define scandirat64 as an alias.
479 * dirent/alphasort64.c (alphasort64):
480 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
481 * dirent/versionsort64.c: Likewise.
482 * dirent/scandir64.c: Likewise.
483 * dirent/scandirat64.c: Likewise.
484 * sysdeps/wordsize-64/alphasort.c: File removed.
485 * sysdeps/wordsize-64/alphasort64.c: File removed.
486 * sysdeps/wordsize-64/scandir.c: File removed.
487 * sysdeps/wordsize-64/scandir64.c: File removed.
488 * sysdeps/wordsize-64/scandirat.c: File removed.
489 * sysdeps/wordsize-64/scandirat64.c: File removed.
490 * sysdeps/wordsize-64/versionsort.c: File removed.
491 * sysdeps/wordsize-64/versionsort64.c: File removed.
492 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
493 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
494 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
495 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
496 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
497 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
498 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
499 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
501 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
503 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
505 [defined __arch64__ || defined __sparcv9]
506 (__INO_T_MATCHES_INO64_T): New macro.
507 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
508 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
509 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
510 * sysdeps/unix/sysv/linux/bits/dirent.h
511 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
512 (_DIRENT_MATCHES_DIRENT64): New macro.
514 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
515 Define lockf64 as an alias.
516 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
517 Define fseeko64 as an alias.
518 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
519 Define ftello64 as an alias.
520 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
521 Define _IO_fgetpos64 and fgetpos64 as aliases.
522 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
523 Define _IO_fsetpos64 and fsetpos64 as aliases.
524 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
525 Conditionalize body on this.
526 * libio/fseeko64.c: Likewise.
527 * libio/ftello64.c: Likewise.
528 * libio/iofgetpos64.c: Likewise.
529 * libio/iofsetpos64.c: Likewise.
530 * sysdeps/wordsize-64/lockf.c: File removed.
531 * sysdeps/wordsize-64/lockf64.c: File removed.
532 * sysdeps/wordsize-64/fseeko.c: File removed.
533 * sysdeps/wordsize-64/fseeko64.c: File removed.
534 * sysdeps/wordsize-64/ftello.c: File removed.
535 * sysdeps/wordsize-64/ftello64.c: File removed.
536 * sysdeps/wordsize-64/iofgetpos.c: File removed.
537 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
538 * sysdeps/wordsize-64/iofsetpos.c: File removed.
539 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
540 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
541 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
542 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
543 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
544 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
545 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
546 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
547 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
548 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
549 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
551 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
552 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
553 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
555 [defined __arch64__ || defined __sparcv9]
556 (__OFF_T_MATCHES_OFF64_T): New macro.
557 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
558 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
559 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
560 (__OFF_T_MATCHES_OFF64_T): New macro.
562 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
564 * stdlib/secure-getenv.c (__secure_getenv): Replace
565 GLIBC_2_16 with GLIBC_2_17.
567 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
569 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
570 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
572 2012-08-03 David S. Miller <davem@davemloft.net>
574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
576 2012-08-03 Joseph Myers <joseph@codesourcery.com>
578 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
580 (__ASSUME_CORRECT_SI_PID): Likewise.
581 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
582 (__ASSUME_TMPFS_NAME): Likewise.
583 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
584 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
585 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
586 (HAVE_AUX_SECURE): Make definition unconditional.
587 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
588 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
590 2012-08-03 Roland McGrath <roland@hack.frob.com>
592 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
593 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
594 * sysdeps/mach/hurd/eloop-threshold.h: New file.
595 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
596 __eloop_threshold instead of SYMLOOP_MAX.
598 * sysdeps/generic/eloop-threshold.h: New file.
599 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
601 * elf/chroot_canon.c (chroot_canon): Likewise.
603 2012-08-03 Joseph Myers <joseph@codesourcery.com>
606 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
607 Change to 2.6.0 everywhere.
608 * sysdeps/unix/sysv/linux/configure: Regenerated.
609 * sysdeps/unix/sysv/linux/kernel-features.h
610 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
611 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
613 (__ASSUME_POSIX_TIMERS): Define unconditionally.
614 (__ASSUME_FUTEX_REQUEUE): Remove.
615 (__ASSUME_STATFS64): Define unconditionally.
616 (__ASSUME_AT_SECURE): Likewise.
617 (__ASSUME_CORRECT_SI_PID): Likewise.
618 (__ASSUME_TGKILL): Define without depending on kernel version for
620 (__ASSUME_UTIMES): Likewise.
621 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
623 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
624 (__ASSUME_TMPFS_NAME): Likewise.
625 * README: Update reference to Linux kernel versions.
627 2012-08-02 Marek Polacek <polacek@redhat.com>
630 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
631 libc_cv_asm_type_prefix with %.
632 * configure: Regenerated.
633 * include/libc-symbols.h: Remove comment about
634 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
635 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
636 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
637 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
638 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
639 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
640 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
641 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
642 * elf/tst-unique2mod1.c: Likewise.
643 * elf/tst-unique1mod2.c: Likewise.
644 * elf/tst-unique1mod1.c: Likewise.
645 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
646 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
647 Replace ASM_TYPE_DIRECTIVE with .type.
648 * sysdeps/s390/s390-64/sysdep.h: Likewise.
649 * sysdeps/i386/sysdep.h: Likewise.
650 * sysdeps/x86_64/sysdep.h: Likewise.
651 * sysdeps/sh/sysdep.h: Likewise.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
653 Do not define ASM_TYPE_DIRECTIVE.
654 * sysdeps/powerpc/sysdep.h: Likewise.
655 * sysdeps/powerpc/powerpc32/sysdep.h:
656 Replace ASM_TYPE_DIRECTIVE with .type.
657 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
658 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
659 * sysdeps/i386/fpu/e_powf.S: Likewise.
660 * sysdeps/i386/fpu/e_expl.S: Likewise.
661 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
662 * sysdeps/i386/fpu/e_acosh.S: Likewise.
663 * sysdeps/i386/fpu/e_pow.S: Likewise.
664 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
665 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
666 * sysdeps/i386/fpu/s_expm1.S: Likewise.
667 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
668 * sysdeps/i386/fpu/e_log2.S: Likewise.
669 * sysdeps/i386/fpu/e_log2l.S: Likewise.
670 * sysdeps/i386/fpu/e_scalb.S: Likewise.
671 * sysdeps/i386/fpu/e_powl.S: Likewise.
672 * sysdeps/i386/fpu/e_log10f.S: Likewise.
673 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
674 * sysdeps/i386/fpu/e_logl.S: Likewise.
675 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
676 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
677 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
678 * sysdeps/i386/fpu/e_log2f.S: Likewise.
679 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
680 * sysdeps/i386/fpu/e_log.S: Likewise.
681 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
682 * sysdeps/i386/fpu/e_logf.S: Likewise.
683 * sysdeps/i386/fpu/e_log10l.S: Likewise.
684 * sysdeps/i386/fpu/e_atanh.S: Likewise.
685 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
686 * sysdeps/i386/fpu/e_log10.S: Likewise.
687 * sysdeps/i386/fpu/s_frexp.S: Likewise.
688 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
689 * sysdeps/i386/fpu/s_asinh.S: Likewise.
690 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
691 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
692 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
693 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
694 * sysdeps/i386/i686/strtok.S: Likewise.
695 * sysdeps/i386/i386-mcount.S: Likewise.
696 * sysdeps/i386/strtok.S: Likewise.
697 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
698 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
699 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
700 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
701 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
702 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
703 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
704 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
705 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
706 * sysdeps/x86_64/_mcount.S: Likewise.
707 * sysdeps/x86_64/strtok.S: Likewise.
708 * sysdeps/sh/_mcount.S: Likewise.
710 2012-08-01 Roland McGrath <roland@hack.frob.com>
712 * libio/iofopen.c: Include <fcntl.h>.
713 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
714 (_IO_fopen64, fopen64): Define as aliases.
715 * libio/iofopen64.c: Include <fcntl.h>.
716 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
717 Conditionalize body on this.
718 * sysdeps/wordsize-64/iofopen.c: File removed.
719 * sysdeps/wordsize-64/iofopen64.c: File removed.
721 2012-08-01 Marek Polacek <polacek@redhat.com>
723 * libc/Makeconfig: Use elf in place of binfmt-subdir.
724 Use dlfcn directly instead of a variable.
725 (binfmt-subdir): Do not define.
728 2012-08-01 Joseph Myers <joseph@codesourcery.com>
730 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
731 Remove all definitions.
732 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
734 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
735 (miss_F_GETOWN_EX): Remove all definitions.
736 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
738 [!__ASSUME_FCNTL64]: Remove conditional code.
739 [__ASSUME_FCNTL64]: Make code unconditional.
740 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
742 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
743 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
744 (lockf64) [__NR_fcntl64]: Make code unconditional.
745 (lockf64) [__ASSUME_FCNTL64]: Likewise.
747 * sysdeps/unix/sysv/linux/kernel-features.h
748 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
749 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
750 Make code unconditional.
751 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
752 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
754 [__NR_vfork]: Make code unconditional.
755 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
756 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
758 [__NR_vfork]: Make code unconditional.
759 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
760 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
762 2012-08-01 Roland McGrath <roland@hack.frob.com>
764 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
765 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
767 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
768 Define mkstemp64 as an alias.
769 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
770 Define mkstemps64 as an alias.
771 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
772 Define mkostemp64 as an alias.
773 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
774 Define mkostemps64 as an alias.
775 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
776 Conditionalize body on this.
777 * misc/mkostemp64.c: Likewise.
778 * misc/mkostemps64.c: Likewise.
779 * misc/mkstemps64.c: Likewise.
780 * sysdeps/wordsize-64/mkstemp64.c: File removed.
781 * sysdeps/wordsize-64/mkostemp64.c: File removed.
782 * sysdeps/wordsize-64/mkostemp.c: File removed.
783 * sysdeps/wordsize-64/mkstemp.c: File removed.
784 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
790 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
791 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
792 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
793 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
795 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
796 compat_symbol macros from <shlib-compat.h> rather than the underlying
797 default_symbol_version and symbol_version macros, so that DEFAULT
798 lines in shlib-versions are respected.
799 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
801 2012-08-01 Florian Weimer <fweimer@redhat.com>
803 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
804 Declare with warn_unused_result.
805 (setgid, setregid, setegid, setresgid): Likewise.
806 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
808 * WUR-REPORT: Remove set*id functions.
810 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
812 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
814 2012-07-31 Roland McGrath <roland@hack.frob.com>
816 * include/sys/socket.h (__libc_accept, __libc_accept4):
817 Add attribute_hidden.
818 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
820 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
822 * inet/getnetgrent_r.c (setup): Likewise.
824 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
826 2012-07-31 David S. Miller <davem@davemloft.net>
828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
830 2012-07-31 Joseph Myers <joseph@codesourcery.com>
833 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
834 value between 1.0 and 2.0 and smaller part has absolute value less
836 * math/s_clog10.c (__clog10): Likewise.
837 * math/s_clog10f.c (__clog10f): Likewise.
838 * math/s_clog10l.c (__clog10l): Likewise.
839 * math/s_clogf.c (__clogf): Likewise.
840 * math/s_clogl.c (__clogl): Likewise.
841 * math/libm-test.inc (clog_test): Add more tests.
842 (clog10_test): Likewise.
843 * sysdeps/i386/fpu/libm-test-ulps: Update.
844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
846 2012-07-31 Florian Weimer <fweimer@redhat.com>
848 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
849 Exit with zero in case no suitable GID is found, and write a
850 message to standard error.
852 2012-07-30 Roland McGrath <roland@hack.frob.com>
854 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
856 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
857 (MAXPATHLEN): Removed.
858 (NOGROUP, NODEV): New macros.
859 (setbit, clrbit, isset, isclr): New macros.
860 (howmany, roundup, powerof2): New macros.
861 (DEV_BSIZE): New macro.
863 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
864 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
866 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
867 definition on [!__NO_LONG_DOUBLE_MATH].
869 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
870 PTR_MANGLE and PTR_DEMANGLE.
872 * socket/accept4.c (accept4): Rename to __libc_accept4.
873 Define accept4 as a weak alias.
875 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
876 on [_DIRENT_HAVE_D_TYPE].
877 * io/ftw.c (ftw_dir): Likewise.
879 * io/xmknod.c (__xmknod): Don't check PATH for being null.
881 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
883 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
884 Use the BSD numbers rather than the arbitrary ones we had.
885 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
886 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
887 (SIGXCPU, SIGXFSZ): New macros.
890 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
891 initializer on [_LIBC_REENTRANT].
893 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
894 definitions inside [_POSIX_MAPPED_FILES].
896 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
898 * dirent/opendir.c: Include <fcntl.h>.
900 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
901 (__libc_getspecific): Likewise.
902 (__libc_key_create): Likewise.
904 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
905 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
906 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
907 (tmpfile64): Define as alias.
908 * sysdeps/wordsize-64/tmpfile.c: File removed.
909 * sysdeps/wordsize-64/tmpfile64.c: File removed.
910 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
911 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
913 * stdio-common/vfscanf.c: Include <stdbool.h>.
914 * nss/makedb.c: Likewise.
915 * stdio-common/_i18n_number.h: Likewise.
916 * argp/argp-help.c: Likewise.
917 * posix/wordexp.c: Likewise.
918 * sysdeps/posix/spawni.c: Likewise.
919 * nss/nss_files/files-initgroups.c: Likewise.
920 * stdio-common/reg-modifier.c: Include <stdlib.h>.
921 * nss/nss_files/files-initgroups.c: Likewise.
922 * nss/nss_db/db-netgrp.c: Likewise.
923 * nss/nss_db/db-initgroups.c: Likewise.
924 * io/fchmodat.c: Include <sys/stat.h>.
926 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
927 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
929 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
932 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
933 Add multiple inclusion protection.
935 2012-07-27 David S. Miller <davem@davemloft.net>
937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
939 2012-07-27 Gary Benson <gbenson@redhat.com>
942 * elf/rtld.c: Include <stap-probe.h>.
943 (dl_main): Added static probes "init_start" and "init_complete".
944 * elf/dl-load.c: Include <stap-probe.h>.
945 (lose): Take new parameter "nsid".
946 Added static probe "map_failed".
947 (_dl_map_object_from_fd): Pass namespace id to lose.
948 Added static probe "map_start".
949 (open_verify): Pass namespace id to lose.
950 * elf/dl-open.c: Include <stap-probe.h>.
951 (dl_open_worker) Added static probes "map_complete", "reloc_start"
952 and "reloc_complete".
953 * elf/dl-close.c: Include <stap-probe.h>.
954 (_dl_close_worker): Added static probes "unmap_start" and
956 * elf/rtld-debugger-interface.txt: New file documenting the above.
958 2012-07-26 Roland McGrath <roland@hack.frob.com>
960 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
961 rather than a string variable.
962 * sunrpc/rpc_main.c (h_output): Likewise.
963 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
965 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
967 * inet/check_native.c: New file.
969 2012-07-26 Joseph Myers <joseph@codesourcery.com>
972 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
973 if larger part has absolute value 1.0.
974 * math/s_clog10.c (__clog10): Likewise.
975 * math/s_clog10f.c (__clog10f): Likewise.
976 * math/s_clog10l.c (__clog10l): Likewise.
977 * math/s_clogf.c (__clogf): Likewise.
978 * math/s_clogl.c (__clogl): Likewise.
979 * math/libm-test.inc (clog_test): Add more tests.
980 (clog10_test): Likewise.
981 * sysdeps/i386/fpu/libm-test-ulps: Update.
982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
984 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
987 (La_retval): Likewise.
988 (int_retval): Likewise.
989 Update #error for removed macros to refer only to definitions in
991 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
995 (La_retval): Likewise.
996 (int_retval): Likewise.
997 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1000 (La_regs): Likewise.
1001 (La_retval): Likewise.
1002 (int_retval): Likewise.
1003 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1005 (pltexit): Likewise.
1006 (La_regs): Likewise.
1007 (La_retval): Likewise.
1008 (int_retval): Likewise.
1009 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1011 (pltexit): Likewise.
1012 (La_regs): Likewise.
1013 (La_retval): Likewise.
1014 (int_retval): Likewise.
1015 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1017 (pltexit): Likewise.
1018 (La_regs): Likewise.
1019 (La_retval): Likewise.
1020 (int_retval): Likewise.
1021 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1023 (pltexit): Likewise.
1024 (La_regs): Likewise.
1025 (La_retval): Likewise.
1026 (int_retval): Likewise.
1027 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1028 macro definitions in tst-audit.h.
1029 * sysdeps/i386/tst-audit.h: New file.
1030 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1031 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1032 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1033 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1034 * sysdeps/sh/tst-audit.h: Likewise.
1035 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1036 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1037 * sysdeps/x86_64/tst-audit.h: Likewise.
1039 2012-07-26 Andreas Jaeger <aj@suse.de>
1041 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1044 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1045 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1046 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1048 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1049 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1050 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1052 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1055 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1057 (si_call_addr, si_syscall, si_arch): Define new macro.
1058 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1060 (si_call_addr, si_syscall, si_arch): Define new marcro.
1061 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1063 (si_call_addr, si_syscall, si_arch): Define new macro.
1064 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1066 (si_call_addr, si_syscall, si_arch): Define new macro.
1068 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1071 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1072 Change to 2.4.21 where previously 2.4.1.
1073 * sysdeps/unix/sysv/linux/configure: Regenerated.
1074 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1075 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1076 Linux kernel version.
1077 (__ASSUME_STD_AUXV): Remove.
1078 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1080 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1081 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1082 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1083 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1084 (__ASSUME_NETLINK_SUPPORT): Likewise.
1085 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1086 (__no_netlink_support): Remove conditional definition.
1087 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1089 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1090 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1091 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1092 (if_nameindex_ioctl): Remove.
1093 (if_nameindex_netlink): Do not handle __no_netlink_support.
1094 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1096 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1097 Remove conditional code.
1098 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1100 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1102 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1103 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1104 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1106 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1107 [!__ASSUME_STD_AUXV]: Remove conditional code.
1108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1109 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1110 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1112 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1113 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1115 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1117 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1118 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1120 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1122 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1125 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1128 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1130 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1132 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1134 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1137 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1139 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1142 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1144 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1146 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1148 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1151 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1153 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1155 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1157 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1160 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1162 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1163 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1164 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1165 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1166 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1167 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1168 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1169 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1170 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1171 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1172 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1173 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1174 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1175 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1176 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1177 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1178 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1179 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1180 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1182 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1183 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1186 2012-07-25 Florian Weimer <fweimer@redhat.com>
1188 * Versions.def: Add GLIBC_2.17.
1189 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1190 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1191 Introduce __libc_secure_getenv.
1192 * stdlib/Versions (2.17): Add secure_getenv
1193 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1194 * stdlib/secure-getenv.c: Rename __secure_getenv to
1195 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1196 symbol __secure_getenv for GLIBC_2.0.
1197 * stdlib/tst-secure-getenv.c: New.
1198 * stdlib/Makefile (tests): Add testcase.
1199 * manual/startup.texi (Environment Access): Document
1201 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1202 __libc_secure_getenv.
1203 * inet/ruserpass.c (ruserpass): Likewise.
1204 * malloc/mtrace.c (mtrace): Likewise.
1205 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1206 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1207 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1208 * sysdeps/posix/tempname.c: Likewise. Evaluate
1210 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1211 __secure_getenv to __libc_secure_getenv.
1212 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1219 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1225 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1227 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1228 (struct La_i86_retval): Likewise.
1229 (struct La_x86_64_regs): Likewise.
1230 (struct La_x86_64_retval): Likewise.
1231 (struct La_x32_regs): Likewise.
1232 (struct La_x32_retval): Likewise.
1233 (struct La_ppc32_regs): Likewise.
1234 (struct La_ppc32_retval): Likewise.
1235 (struct La_ppc64_regs): Likewise.
1236 (struct La_ppc64_retval): Likewise.
1237 (struct La_sh_regs): Likewise.
1238 (struct La_sh_retval): Likewise.
1239 (struct La_s390_32_regs): Likewise.
1240 (struct La_s390_32_retval): Likewise.
1241 (struct La_s390_64_regs): Likewise.
1242 (struct La_s390_64_retval): Likewise.
1243 (struct La_sparc32_regs): Likewise.
1244 (struct La_sparc32_retval): Likewise.
1245 (struct La_sparc64_regs): Likewise.
1246 (struct La_sparc64_retval): Likewise.
1247 (struct audit_ifaces): Remove architecture-specific pltenter and
1249 * sysdeps/i386/ldsodefs.h: New file.
1250 * sysdeps/powerpc/ldsodefs.h: Likewise.
1251 * sysdeps/s390/ldsodefs.h: Likewise.
1252 * sysdeps/sh/ldsodefs.h: Likewise.
1253 * sysdeps/sparc/ldsodefs.h: Likewise.
1254 * sysdeps/x86_64/ldsodefs.h: Likewise.
1256 2012-07-25 Marek Polacek <polacek@redhat.com>
1259 * math/libm-test.inc (yn_test): Add another test.
1260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1261 to ERANGE when the result is +-Inf.
1262 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1263 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1264 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1265 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1267 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1269 * conform/data/time.h-data (NULL): Use macro-constant. Require
1271 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1273 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1275 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1277 * configure.in <sysdeps resolving>: Correct printing
1279 * configure: Regenerate.
1281 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1283 * math/w_ilogb.c: Include <limits.h>.
1284 * math/w_ilogbl.c: Likewise.
1286 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1288 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1289 va_copy. Document allowing for unavailable va_copy only as
1290 pre-C99 compatibility.
1291 * manual/string.texi (Copying and Concatenation): Use va_copy
1292 instead of __va_copy in concat example.
1294 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1296 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1297 (__sendto): Use create_address_port. Initialize APORT and deallocate
1300 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1301 with O_NOLINK passed to __file_name_lookup.
1303 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1304 with O_NOLINK passed to __file_name_lookup.
1306 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1307 negative N or less than NGIDS.
1309 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1310 type to string_t. Set ERANGE as errno and return it if NAME is not big
1311 enough. Use memcpy instead of strncpy.
1313 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1315 * elf/Makefile (check-data): Remove.
1316 (localplt.data): New vpath directive.
1317 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1318 instead of $(check-data).
1319 * scripts/data/localplt-generic.data: Move to ...
1320 * sysdeps/generic/localplt.data: ... here.
1321 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1322 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1323 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1326 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1329 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1332 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1335 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1338 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1342 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1345 PPC32 and PPC64 files.
1346 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1347 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1349 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1351 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1352 __makecontext_ret to ...
1353 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1354 ... here and call exit if uc_link is NULL. New file.
1355 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1356 __makecontext_ret.S.
1357 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1358 __makecontext_ret to ...
1359 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1360 ... here and call exit if uc_link is NULL. New file.
1361 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1362 __makecontext_ret.S.
1364 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1366 * elf/elf.h (R_390_IRELATIVE): New definition.
1367 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1368 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1369 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1370 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1371 (elf_machine_lazy_rel): Likewise.
1372 * sysdeps/s390/dl-irel.h: New file.
1373 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1374 * sysdeps/s390/s390-64/memset.S: New asm code.
1375 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1376 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1377 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1378 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1379 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1380 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1381 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1382 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1383 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1384 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1385 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1386 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1387 * sysdeps/s390/s390-32/memset.S: New asm code.
1388 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1390 2012-07-17 Marek Polacek <polacek@redhat.com>
1393 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1394 * sysdeps/s390/s390-64/configure.in: Likewise.
1395 * sysdeps/sparc/configure.in: Likewise.
1396 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1397 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1398 * sysdeps/i386/configure.in: Likewise.
1399 * sysdeps/x86_64/configure.in: Likewise.
1400 * sysdeps/sh/configure.in: Likewise.
1401 * sysdeps/s390/s390-32/configure: Regenerated.
1402 * sysdeps/s390/s390-64/configure: Likewise.
1403 * sysdeps/x86_64/configure: Likewise.
1404 * sysdeps/sh/configure: Likewise.
1405 * sysdeps/powerpc/powerpc64/configure: Likewise.
1406 * sysdeps/powerpc/powerpc32/configure: Likewise.
1407 * sysdeps/sparc/configure: Likwise.
1408 * sysdeps/i386/configure: Likewise.
1410 * elf/dl-open.c: Comment fixes.
1412 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1414 * Makefile [CXX] (check-data): Remove.
1415 [CXX] (c++-types.data): New vpath directive.
1416 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1417 vpath. Do not allow for C++ type data being missing.
1418 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1419 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1420 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1421 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1422 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1423 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1424 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1427 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1430 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1433 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1436 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1439 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1442 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1445 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1448 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1449 definitions to architecture-specific files.
1453 * sysdeps/i386/tls-macros.h: New file.
1454 * sysdeps/powerpc/tls-macros.h: Likewise.
1455 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1456 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1457 * sysdeps/sh/tls-macros.h: Likewise.
1458 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1459 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1460 * sysdeps/x86_64/tls-macros.h: Likewise.
1462 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1464 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1465 zero value for regular exit case.
1467 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1468 (__start_context): Preserve zero value for regular exit case.
1470 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1471 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1473 * manual/setjmp.texi (setcontext): Clarify normal process
1474 termination when uc_link is the null pointer.
1475 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1478 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1480 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1481 preprocessor. Test for each exception mask separately.
1483 2012-07-16 Andreas Jaeger <aj@suse.de>
1485 * po/ru.po: Update from translation team.
1487 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1489 * conform/data/string.h-data (NULL): Use macro-constant. Require
1491 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1492 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1493 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1494 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1495 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1497 2012-07-13 Andreas Jaeger <aj@suse.de>
1499 * po/fr.po: Update from translation team.
1501 2012-07-12 Marek Polacek <polacek@redhat.com>
1504 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1505 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1508 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1511 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1512 Change to 2.4.1 where previously 2.4.0.
1513 * sysdeps/unix/sysv/linux/configure: Regenerated.
1514 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1515 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1517 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1518 (__ASSUME_AT_CLKTCK): Remove.
1519 (__ASSUME_AT_PAGESIZE): Likewise.
1520 (__ASSUME_AT_XID): Likewise.
1521 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1522 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1523 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1525 (HAVE_AUX_PAGESIZE): Likewise.
1526 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1527 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1528 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1530 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1534 the temporary buffer used to invoke __gethostbyname2_r,
1535 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1536 host_data / struct gaih_addrtuple.
1537 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1538 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1539 header file nss/nsswitch.h.
1540 * nss/nsswitch.h (global scope): Add definition of implementation
1541 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1542 resolv/nss_dns/dns-host.c).
1544 2012-07-11 Andreas Jaeger <aj@suse.de>
1546 * po/fr.po: Update from translation team.
1548 * po/sv.po: Update from translation team
1549 * po/fr.po: Another update from translation team.
1551 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1554 for subnormals or multiply small sinh result by itself.
1555 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1558 2012-07-11 David S. Miller <davem@davemloft.net>
1560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1562 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1565 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1566 (INTERNAL_MARK): Shift it here.
1568 2012-07-10 Marek Polacek <polacek@redhat.com>
1571 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1572 libc_cv_asm_global_directive with .globl.
1573 * configure: Regenerated.
1574 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1576 * sysdeps/i386/configure: Regenerated.
1577 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1579 * sysdeps/x86_64/configure: Regenerated.
1580 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1581 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1582 * elf/tst-unique2mod2.c: Likewise.
1583 * elf/tst-unique2mod1.c: Likewise.
1584 * elf/tst-unique1mod2.c: Likewise.
1585 * elf/tst-unique1mod1.c: Likewise.
1586 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1587 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1588 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1589 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1590 * sysdeps/mach/sysdep.h: Likewise.
1591 * sysdeps/i386/sysdep.h: Likewise.
1592 * sysdeps/i386/i386-mcount.S: Likewise.
1593 * sysdeps/x86_64/_mcount.S: Likewise.
1594 * sysdeps/x86_64/sysdep.h: Likewise.
1595 * sysdeps/sh/_mcount.S: Likewise.
1596 * sysdeps/sh/sysdep.h: Likewise.
1597 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1598 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1599 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1600 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1601 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1602 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1603 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1604 * locale/localeinfo.h: Likewise.
1605 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1606 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1608 2012-07-09 Roland McGrath <roland@hack.frob.com>
1611 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1613 * manual/message.texi (The Uniforum approach): Likewise.
1614 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1615 (glibc iconv Implementation): Likewise.
1617 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1620 * math/s_clog.c (__clog): Avoid scaling a value down where that
1621 could result in underflow.
1622 * math/s_clog10.c (__clog10): Likewise.
1623 * math/s_clog10f.c (__clog10f): Likewise.
1624 * math/s_clog10l.c (__clog10l): Likewise.
1625 * math/s_clogf.c (__clogf): Likewise.
1626 * math/s_clogl.c (__clogl): Likewise.
1627 * math/libm-test.inc (clog_test): Add more tests.
1628 (clog10_test): Likewise.
1629 * sysdeps/i386/fpu/libm-test-ulps: Update.
1630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1632 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1635 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1636 by 7 not 8 to examine high bit of fractional part.
1639 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1640 for call to __mcount_internal.
1641 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1642 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1643 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1645 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1648 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1649 approximation for values within 0x1p-13f of an odd multiple of
1651 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1652 exception. Add more tests.
1653 * sysdeps/i386/fpu/libm-test-ulps: Update.
1656 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1657 inputs and return -1 for them. Do not check for +Inf in case not
1659 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1660 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1661 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1662 and return -1 for them. Do not check for +Inf in case not
1664 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1666 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1667 and return -1 for them. Do not check for +Inf in case not
1669 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1671 * sysdeps/i386/fpu/libm-test-ulps: Update.
1672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1674 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1676 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1678 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1682 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1683 could result in spurious underflow. Scale down values above
1684 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1685 * math/s_csqrtf.c (__csqrtf): Likewise.
1686 * math/s_csqrtl.c (__csqrtl): Likewise.
1687 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1689 * sysdeps/i386/fpu/libm-test-ulps: Update.
1690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1692 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1694 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1696 * catgets/xopen-msg.awk: New file.
1697 * catgets/xopen-msg.sed: Removed.
1699 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1701 * intl/po2test.awk: New file.
1702 * intl/po2test.sed: Removed.
1704 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1707 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1708 or multiply small sinh result by itself.
1709 * math/s_ctanf.c (__ctanf): Likewise.
1710 * math/s_ctanh.c (__ctanh): Likewise.
1711 * math/s_ctanhf.c (__ctanhf): Likewise.
1712 * math/s_ctanhl.c (__ctanhl): Likewise.
1713 * math/s_ctanl.c (__ctanl): Likewise.
1714 * math/libm-test.inc (ctan_test_tonearest): New function.
1715 (ctan_test_towardzero): Likewise.
1716 (ctan_test_downward): Likewise.
1717 (ctan_test_upward): Likewise.
1718 (ctanh_test_tonearest): Likewise.
1719 (ctanh_test_towardzero): Likewise.
1720 (ctanh_test_downward): Likewise.
1721 (ctanh_test_upward): Likewise.
1722 (main): Call these new functions.
1723 * sysdeps/i386/fpu/libm-test-ulps: Update.
1724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1726 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1728 * .gitignore: Delete /ports entry.
1730 2012-07-03 Andreas Jaeger <aj@suse.de>
1732 * po/bg.po: Update from translation team.
1733 * po/cs.po: Likewise.
1734 * po/de.po: Likewise.
1735 * po/hr.po: Likewise.
1736 * po/nl.pl: Likewise.
1737 * po/pl.po: Likewise.
1738 * po/vi.po: Likewise.
1740 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1742 * Makeconfig [!+link] (+link-before-libc): New variable.
1743 [!+link] (+link-after-libc): Likewise.
1744 [!+link] (+link-tests): Likewise.
1745 [!+link] (+link): Define in terms of $(+link-before-libc) and
1746 $(+link-after-libc).
1747 [!+link-static] (+link-static-before-libc): New variable.
1748 [!+link-static] (+link-static-after-libc): Likewise.
1749 [!+link-static] (+link-static-tests): Likewise.
1750 [!+link-static] (+link-static): Define in terms of
1751 $(+link-static-before-libc) and $(+link-static-after-libc).
1752 [build-shared] (link-libc-before-gnulib): New variable.
1753 [build-shared] (link-libc-tests): Likewise.
1754 [build-shared] (link-libc): Define in terms of
1755 $(link-libc-before-gnulib).
1756 [!build-shared] (link-libc-tests): New variable.
1757 (link-libc-static-tests): New variable.
1758 [!gnulib] (gnulib-arch): New variable.
1759 [!gnulib] (gnulib-tests): Likewise.
1760 [!gnulib] (static-gnulib-arch): Likewise.
1761 [!gnulib] (static-gnulib-tests): Likewise.
1762 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1763 Define with "=" instead of ":=".
1764 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1765 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1766 * Rules (binaries-all-notests): New variable.
1767 (binaries-all-tests): Likewise.
1768 (binaries-static-notests): Likewise.
1769 (binaries-static-tests): Likewise.
1770 (binaries-all): Define using $(binaries-all-notests) and
1771 $(binaries-all-tests).
1772 (binaries-static): Define using $(binaries-static-notests) and
1773 $(binaries-static-tests).
1774 (binaries-shared-tests): New variable.
1775 (binaries-shared-notests): Likewise.
1776 (binaries-shared): Remove variable.
1777 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1778 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1779 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1780 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1781 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1782 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1783 * elf/Makefile (sln-modules): New variable.
1784 (extra-objs): Add $(sln-modules:=.o).
1785 (ldconfig-modules): Add static-stubs.
1786 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1787 * elf/static-stubs.c: New file.
1790 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1791 by 7 not 8 to examine high bit of fractional part. Use volatile
1792 variables when splitting into final array of floats if
1793 __FLT_EVAL_METHOD__ != 0.
1794 * math/libm-test.inc (cos_test): Add another test.
1795 (sin_test): Likewise.
1796 * sysdeps/i386/fpu/libm-test-ulps: Update.
1799 * math/libm-test.inc (cosh_test): Add more tests.
1801 * version.h (RELEASE): Set to "development".
1802 (VERSION): Set to "2.16.90".
1804 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1806 * NEWS: Update copyright. Remove last-updated date.
1807 Mention math library bug fixes and timezone data changes.
1808 * README: Mention GNU/Hurd, x32, and HPPA support status.
1810 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1812 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1814 2012-06-27 Andreas Jaeger <aj@suse.de>
1816 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1818 2012-06-25 Andreas Jaeger <aj@suse.de>
1820 * sysdeps/s390/fpu/libm-test-ulps: Update.
1822 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1823 Thomas Schwinge <thomas@codesourcery.com>
1825 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1826 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1830 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1832 * sysdeps/mach/start.c: Remove file.
1833 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1834 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1835 * sysdeps/sh/init-first.c: Likewise.
1837 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1838 registers for frame unwinding purposes, add CFI directives.
1839 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1840 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1841 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1844 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1845 __fortify_fail returning.
1846 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1848 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1849 sysdeps/sh/____longjmp_chk.S.
1850 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1851 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1852 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1853 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1855 * sysdeps/sh/abort-instr.h: New file.
1856 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1857 process in case exit returns.
1859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1860 initialize the GOT register before use.
1862 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1863 calculation of ARGC > 4.
1865 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1866 meaningful names to some local labels.
1868 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1869 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1871 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1872 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1873 (__arch_compare_and_exchange_val_16_acq): Likewise.
1874 (__arch_compare_and_exchange_val_32_acq): Likewise.
1875 (atomic_exchange_and_add): Fix gUSA sequence.
1876 (atomic_add): Likewise.
1877 (atomic_add_negative): Likewise.
1878 (atomic_add_zero): Likewise.
1879 (atomic_bit_test_set): Likewise.
1881 2012-06-22 Andreas Schwab <schwab@redhat.com>
1884 * include/link.h (struct link_map): Add l_free_initfini.
1885 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1887 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1888 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1889 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1892 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1894 * configure.in: Use AC_LANG_SOURCE.
1895 * configure: Regenerate.
1897 2012-06-22 Roland McGrath <roland@hack.frob.com>
1899 * configure.in (libc_cv_localstatedir): New substituted variable.
1900 * configure: Regenerated.
1901 * config.make.in (localstatedir): New variable, substituted from
1902 libc_cv_localstatedir.
1903 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1904 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1905 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1906 * sysdeps/gnu/configure: Regenerated.
1908 2012-06-21 Jeff Law <law@redhat.com>
1911 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1912 free. Simplify list management for _LIBC case.
1914 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1917 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1918 Clear sign bit of 64-bit integer value before comparing against
1921 * sysdeps/mach/configure: Regenerated.
1923 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1926 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1928 2012-06-21 Jeff Law <law@redhat.com>
1931 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1932 uint16_t for elements in the "seen" array to avoid char overflows.
1933 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1934 * elf/dl-open.c (dl_open_worker): Likewise.
1936 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1938 * scripts/list-sources.sh: Scan PORTS for translations.
1939 * po/libc.pot: Regenerated.
1941 2012-06-21 Andreas Jaeger <aj@suse.de>
1944 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1946 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1947 * bits/byteswap-16.h (__bswap_16): Likewise.
1948 * bits/byteswap.h (__bswap_constant_16): Likewise.
1950 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1953 * sysdeps/i386/fpu_control.h: Removed.
1954 * sysdeps/x86_64/fpu_control.h: Moved to ...
1955 * sysdeps/x86/fpu_control.h: Here.
1957 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1958 (_FPU_SETCW): Likewise.
1960 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1963 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1964 * sysdeps/x86/fpu/bits/mathinline.h: This.
1965 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1969 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1970 functions if __x86_64__ is defined.
1972 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1974 * string/endian.h: Add !__ASSEMBLER__ condition for including
1975 conversion interfaces.
1977 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1980 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1981 of ABS(x) in calculating zero to negative powers other than odd
1983 * math/libm-test.inc (pow_test): Add more tests.
1985 2012-06-15 Andreas Jaeger <aj@suse.de>
1987 * manual/contrib.texi (Contributors): Update entry of Liubov
1988 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1991 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1993 * string/string.h: Add __wur to GNU version of strerror_r.
1995 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1998 * string/Makefile (tests): Add tst-strtok_r.
1999 * string/tst-strtok_r.c: New file.
2000 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2001 RAX_LP/RDX_LP on SAVE_PTR.
2003 2012-06-14 Roland McGrath <roland@hack.frob.com>
2005 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2007 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2009 * libm_test.inc (csqrt_test): Allow more spurious underflow
2011 (j0_test): Likewise.
2012 (j1_test): Likewise.
2013 (y0_test): Likewise.
2014 (y1_test): Likewise.
2016 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2018 * po/Makefile (libc.pot): Use UTF-8 charset.
2020 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2023 Suppress sign-conversion warning from FD_SET.
2024 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2025 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2026 not unsigned long int.
2027 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2029 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2033 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2034 __extern_always_inline instead of __extern_inline.
2035 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2036 (__signbit): Likewise.
2037 (__signbitl): Support C++ namespace.
2038 (lrintf): New inline function.
2040 (llrintf): Likewise.
2052 (nearbyint): Likewise.
2053 (nearbyintf): Likewise.
2055 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2057 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2058 non-default versions.
2060 2012-06-11 Roland McGrath <roland@hack.frob.com>
2063 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2065 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2067 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2068 (FE_UPWARD, FE_DOWNWARD): Don't define.
2069 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2070 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2072 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2074 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2075 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2077 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2079 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2080 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2081 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2082 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2084 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2087 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2088 * sysdeps/i386/fpu/Implies: New file.
2089 * sysdeps/x86_64/fpu/Implies: Likewise.
2090 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2091 * sysdeps/x86/fpu/bits/fenv.h: This.
2093 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2096 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2099 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2100 character 0xffff that matches the last element of the
2103 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2105 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2108 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2110 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2111 values higher than 25.6283.
2113 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2115 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2116 subnormal exponent extraction and add some __builtin_expect.
2117 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2118 Fix for subnormal mantissa calculation.
2120 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2122 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2123 cpu2 is -1 and errno is not ENOSYS.
2125 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2128 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2129 * sysdeps/x86/bits/string.h: This.
2130 * sysdeps/x86_64/bits/string.h: Removed.
2132 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2133 if not compiling for x86-64, but compiling for >= i486.
2135 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2136 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2138 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2139 New macro from Linux kernel 3.4.0.
2140 (FP_XSTATE_MAGIC2): Likewise.
2141 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2142 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2143 (struct _fpx_sw_bytes): New struct.
2144 (struct _xsave_hdr): Likewise.
2145 (struct _ymmh_state): Likewise.
2146 (struct _xstate): Likewise.
2148 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2149 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2150 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2151 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2152 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2153 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2155 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2156 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2157 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2158 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2159 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2160 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2162 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2165 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2166 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2167 (sysdep_headers): Include sys/platform/ppc.h.
2168 * sysdeps/powerpc/test-gettimebase.c: Test for
2169 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2170 * manual/Makefile (appendices): Include platform.texi.
2171 * manual/contrib.texi (Contributors): Update @node pointers.
2172 * manual/maint.texi (Maintenance): Likewise.
2173 (Platform): New node.
2174 * manual/platform.texi: New file. Document the new features.
2176 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2177 Jakub Jelinek <jakub@redhat.com>
2180 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2181 where __builtin_expect is unavailable.
2183 2012-06-03 David S. Miller <davem@davemloft.net>
2185 * stdlib/longlong.h: Updated from GCC.
2187 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2190 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2191 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2194 (GLIBC_2.16): Likewise.
2196 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2198 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2200 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2203 (default-abi): New variable.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2205 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2207 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2209 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2211 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2214 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2215 definition. Document in comment.
2217 2012-06-01 David S. Miller <davem@davemloft.net>
2219 * stdlib/longlong.h: Updated from GCC.
2221 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2224 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2225 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2226 sys/debugreg.h sys/io.h here.
2227 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2228 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2230 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2231 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2232 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2233 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2234 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2235 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2237 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2238 Define only if __x86_64__ is defined.
2240 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2243 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2244 Use int64_t for variable i.
2245 * math/libm-test.inc (fmod_test): Add more tests.
2247 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2248 z computation is not scheduled after fetestexcept.
2249 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2250 Use math_force_eval instead of asm to ensure calculation scheduled
2251 before exception test.
2252 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2253 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2255 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2258 computation is not scheduled after fetestexcept.
2260 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2263 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2264 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2266 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2268 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2269 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2271 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2274 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2276 (__WCHAR_MIN): Support __WORDSIZE == 64.
2277 (__WCHAR_MAX): Likewise.
2279 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2280 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2283 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2284 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2287 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2288 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2290 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2291 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2293 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2294 Defined to 1 if __x86_64__ isn't defined.
2295 (_STAT_VER_LINUX_OLD): New.
2296 (st_atime): Remove duplicate.
2297 (st_mtime): Likewise.
2298 (st_ctime): Likewise.
2300 2012-05-31 David S. Miller <davem@davemloft.net>
2302 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2305 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2307 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2311 * elf/dl-reloc.c: Include <_itoa.h>.
2312 (_dl_reloc_bad_type): Remove use of INTUSE.
2313 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2314 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2315 * stdio-common/psiginfo.c (psiginfo): Likewise.
2316 * stdio-common/psignal.c (psignal): Likewise.
2317 * string/strsignal.c (strsignal): Likewise.
2318 * include/signal.h (_sys_siglist): Declare hidden proto.
2319 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2320 INTVARDEF with libc_hidden_data_def.
2321 * stdio-common/itoa-udigits.c: Likewise.
2322 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2323 (_itoa_lower_digits_internal): Remove declaration.
2324 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2325 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2326 (_sys_sigabbrev_internal): Remove aliases.
2327 (_sys_siglist): Define hidden alias.
2329 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2334 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2337 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2338 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2340 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2341 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2342 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2343 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2344 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2345 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2347 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2348 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2349 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2351 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2359 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2360 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2361 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2363 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2364 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2365 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2366 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2367 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2368 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2370 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2371 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2373 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2374 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2376 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2378 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2380 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2381 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2383 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2385 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2386 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2387 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2389 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2391 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2393 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2395 * math/math.h (M_El): Use two more decimal places.
2396 (M_LOG2El): Likewise.
2397 (M_LOG10El): Likewise.
2399 (M_LN10l): Likewise.
2401 (M_PI_2l): Likewise.
2402 (M_PI_4l): Likewise.
2403 (M_1_PIl): Likewise.
2404 (M_2_PIl): Likewise.
2405 (M_2_SQRTPIl): Likewise.
2406 (M_SQRT2l): Likewise.
2407 (M_SQRT1_2l): Likewise.
2409 2012-05-31 David S. Miller <davem@davemloft.net>
2411 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2412 values between float registers.
2413 * sysdeps/sparc/sparc64/memset.S: Likewise.
2414 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2416 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2418 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2419 -D_FORTIFY_SOURCE=1.
2420 (CPPFLAGS-tst-longjmp_chk.c): Define.
2421 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2422 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2423 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2424 CFLAGS-tst-wchar-h.c.
2426 2012-05-31 Marek Polacek <polacek@redhat.com>
2429 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2430 __endmntent_internal): Remove declaration.
2431 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2432 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2433 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2435 2012-05-30 David S. Miller <davem@davemloft.net>
2437 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2438 (___Q_simulate_exceptions): Use real FP ops rather than writing
2440 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2443 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2446 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2447 * sysdeps/x86/bits/xtitypes.h: This.
2449 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2450 * sysdeps/x86/bits/wordsize.h: This.
2452 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2453 * sysdeps/x86/bits/huge_vall.h: This.
2455 * sysdeps/i386/bits/select.h: Removed.
2456 * sysdeps/x86_64/bits/select.h: Renamed to ...
2457 * sysdeps/x86/bits/select.h: This.
2459 * sysdeps/i386/bits/setjmp.h: Removed.
2460 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2461 * sysdeps/x86/bits/setjmp.h: This.
2463 * sysdeps/i386/bits/mathdef.h: Removed.
2464 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2465 * sysdeps/x86/bits/mathdef.h: This.
2467 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2470 * include/sys/socket.h (__connect_internal)
2471 (__libc_sa_len_internal): Remove declaration.
2472 (__connect, __libc_sa_len): Declare hidden_proto.
2473 (SA_LEN): Remove use of INTUSE.
2474 * socket/connect.c: Add libc_hidden_def.
2475 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2476 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2477 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2479 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2480 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2481 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2482 of adding _internal alias.
2484 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2487 * sysdeps/i386/bits/link.h: Removed.
2488 * sysdeps/i386/bits/linkmap.h: Likewise.
2489 * sysdeps/x86_64/bits/link.h: Renamed to ...
2490 * sysdeps/x86/bits/link.h: This.
2491 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2492 * sysdeps/x86/bits/linkmap.h: This.
2494 * sysdeps/i386/bits/endian.h: Removed.
2495 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2496 * sysdeps/x86/bits/endian.h: This.
2498 * sysdeps/i386/bits/byteswap.h: Removed.
2499 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2500 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2501 * sysdeps/x86/bits/byteswap.h: This.
2502 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2503 * sysdeps/x86/bits/byteswap-16.h: This.
2504 * sysdeps/i386/Implies: Add x86.
2505 * sysdeps/x86_64/Implies: Likewise.
2507 2012-05-30 David S. Miller <davem@davemloft.net>
2509 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2510 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2511 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2512 (FP_TRAPPING_EXCEPTIONS): Define.
2513 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2514 (FP_TRAPPING_EXCEPTIONS): Define.
2515 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2516 subnormals only when inexact has been signalled or underflow
2517 exceptions are enabled.
2518 (_FP_PACK_CANONICAL): Likewise.
2520 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2523 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2524 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2526 2012-05-30 Richard Henderson <rth@twiddle.net>
2528 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2529 with #ifndef NOT_IN_libc.
2531 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2532 marked to avoid plt entry.
2534 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2537 * Makeconfig (default-abi): New macro.
2538 (abi-includes): Likewise.
2539 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2540 $(abi-$(default-abi)-lib-soname) for soname if defined.
2541 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2543 * Makefile (installed-stubs): Likewise.
2544 * include/stubs-biarch.h: Removed.
2545 * scripts/lib-names.awk: Only handle one library at a time.
2546 * scripts/soversions.awk: Remove WORDSIZE support.
2547 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2549 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2551 (syscall-list-default-condition): Likewise.
2552 (syscall-list-default-condition): Likewise.
2553 (syscall-list-includes): Likewise.
2554 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2555 syscall-list-* with abi-*. Handle undefined abi-variants.
2556 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2557 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2558 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2559 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2560 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2561 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2563 (syscall-list-32-options): Likewise.
2564 (syscall-list-32-condition): Likewise.
2565 (syscall-list-64-options): Likewise.
2566 (syscall-list-64-condition): Likewise.
2567 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2569 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2572 (abi-64-ld-soname): New macro.
2573 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2574 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2577 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2578 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2580 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2582 * sysdeps/unix/sysv/linux/kernel-features.h
2583 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2584 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2585 include <kernel-features.h>.
2586 [!__NR_ftruncate64]: Remove conditional code.
2587 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2588 [__NR_ftruncate64]: Make code unconditional.
2589 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2590 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2591 include <kernel-features.h>.
2592 [!__NR_ftruncate64]: Remove conditional code.
2593 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2594 [__NR_ftruncate64]: Make code unconditional.
2595 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2597 include <kernel-features.h>.
2598 [!__NR_ftruncate64]: Remove conditional code.
2599 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2600 [__NR_ftruncate64]: Make code unconditional.
2601 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2603 include <kernel-features.h>.
2604 [!__NR_ftruncate64]: Remove conditional code.
2605 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2606 [__NR_ftruncate64]: Make code unconditional.
2607 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2609 * configure.in (libc_cv_fpie): Weaken to a compile test using
2611 * configure: Regenerated.
2613 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2628 2012-05-27 David S. Miller <davem@davemloft.net>
2630 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2632 (__Q_simulate_exceptions): Return void. Change to simulate
2633 exceptions by writing into the %fsr.
2634 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2635 (__Qp_handle_exceptions): Likewise.
2637 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2638 __Qp_handle_exceptions.
2639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2640 __Qp_handle_exceptions.
2641 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2642 as unused and give dummy FP_RND_NEAREST initializer.
2643 (FP_INHIBIT_RESULTS): Define.
2644 (___Q_simulate_exceptions): Update declaration.
2645 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2647 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2648 as unused and give dummy FP_RND_NEAREST initializer.
2649 (__Qp_handle_exceptions): Update declaration.
2650 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2653 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2655 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2656 the temporary FPU control word.
2657 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2658 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2659 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2660 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2661 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2662 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2663 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2664 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2665 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2666 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2667 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2669 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2671 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2674 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2676 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2677 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2678 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2679 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2681 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2682 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2685 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2687 * po/h.po: Update from translation team.
2689 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2691 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2693 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2694 handling of denormals.
2695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2696 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2697 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2698 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2699 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2701 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2704 2012-05-26 Marek Polacek <polacek@redhat.com>
2707 * math/libm-test.inc (fma_test): Don't always expect underflow
2710 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2713 * elf/tst-execstack.c: Include stackinfo.h.
2714 (do_test): Adjust test case to ensure that pthread_getattr_np
2715 behaviour remains the same after marking stack executable.
2717 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2719 * sysdeps/unix/sysv/linux/kernel-features.h
2720 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2721 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2723 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2724 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2725 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2727 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2728 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2730 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2732 * configure.in: Define the default includes to being none.
2733 * configure: Regenerated.
2735 2012-05-25 Roland McGrath <roland@hack.frob.com>
2737 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2738 * sysdeps/x86_64/setjmp.S: Likewise.
2739 * sysdeps/i386/bsd-setjmp.S: Likewise.
2740 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2741 * sysdeps/i386/setjmp.S: Likewise.
2742 * sysdeps/i386/__longjmp.S: Likewise.
2743 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2744 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2746 * include/stap-probe.h: New file.
2747 * configure.in: Handle --enable-systemtap.
2748 * configure: Regenerated.
2749 * config.h.in (USE_STAP_PROBE): New #undef.
2750 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2751 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2752 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2754 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2758 to 2.4.0 where earlier.
2759 * sysdeps/unix/sysv/linux/configure: Regenerated.
2760 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2761 <kernel-features.h>.
2762 [__ASSUME_32BITUIDS]: Make code unconditional.
2763 [!__ASSUME_32BITUIDS]: Remove conditional code.
2764 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2765 <kernel-features.h>.
2766 [__ASSUME_32BITUIDS]: Make code unconditional.
2767 [!__ASSUME_32BITUIDS]: Remove conditional code.
2768 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2769 [__ASSUME_32BITUIDS]: Make code unconditional.
2770 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2771 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2772 <kernel-features.h>.
2773 [__ASSUME_32BITUIDS]: Make code unconditional.
2774 [!__ASSUME_32BITUIDS]: Remove conditional code.
2775 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2776 <kernel-features.h>.
2777 [__ASSUME_32BITUIDS]: Make code unconditional.
2778 [!__ASSUME_32BITUIDS]: Remove conditional code.
2779 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2780 <kernel-features.h>.
2781 [__ASSUME_32BITUIDS]: Make code unconditional.
2782 [!__ASSUME_32BITUIDS]: Remove conditional code.
2783 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2784 <kernel-features.h>.
2785 [__ASSUME_32BITUIDS]: Make code unconditional.
2786 [!__ASSUME_32BITUIDS]: Remove conditional code.
2787 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2788 <kernel-features.h>.
2789 [__ASSUME_32BITUIDS]: Make code unconditional.
2790 [!__ASSUME_32BITUIDS]: Remove conditional code.
2791 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2792 <kernel-features.h>.
2793 [__ASSUME_32BITUIDS]: Make code unconditional.
2794 [!__ASSUME_32BITUIDS]: Remove conditional code.
2795 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2796 <kernel-features.h>.
2797 [__ASSUME_32BITUIDS]: Make code unconditional.
2798 [!__ASSUME_32BITUIDS]: Remove conditional code.
2799 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2800 <kernel-features.h>.
2801 [__ASSUME_32BITUIDS]: Make code unconditional.
2802 [!__ASSUME_32BITUIDS]: Remove conditional code.
2803 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2804 <kernel-features.h>.
2805 [__ASSUME_32BITUIDS]: Make code unconditional.
2806 [!__ASSUME_32BITUIDS]: Remove conditional code.
2807 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2808 <kernel-features.h>.
2809 [__ASSUME_32BITUIDS]: Make code unconditional.
2810 [!__ASSUME_32BITUIDS]: Remove conditional code.
2811 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2812 <kernel-features.h>.
2813 [__NR_setresgid] (__setresgid): Do not declare.
2814 [__ASSUME_32BITUIDS]: Make code unconditional.
2815 [!__ASSUME_32BITUIDS]: Remove conditional code.
2816 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2817 <kernel-features.h>.
2818 [__NR_setresuid] (__setresuid): Do not declare.
2819 [__ASSUME_32BITUIDS]: Make code unconditional.
2820 [!__ASSUME_32BITUIDS]: Remove conditional code.
2821 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2822 <kernel-features.h>.
2823 [__ASSUME_32BITUIDS]: Make code unconditional.
2824 [!__ASSUME_32BITUIDS]: Remove conditional code.
2825 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2826 <kernel-features.h>.
2827 [__ASSUME_32BITUIDS]: Make code unconditional.
2828 [!__ASSUME_32BITUIDS]: Remove conditional code.
2829 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2830 <kernel-features.h>.
2831 [__ASSUME_32BITUIDS]: Make code unconditional.
2832 [!__ASSUME_32BITUIDS]: Remove conditional code.
2833 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2834 <kernel-features.h>.
2835 [__ASSUME_32BITUIDS]: Make code unconditional.
2836 [!__ASSUME_32BITUIDS]: Remove conditional code.
2837 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2838 <kernel-features.h>.
2839 [__ASSUME_32BITUIDS]: Make code unconditional.
2840 [!__ASSUME_32BITUIDS]: Remove conditional code.
2841 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2842 <kernel-features.h>.
2843 [__ASSUME_32BITUIDS]: Make code unconditional.
2844 [!__ASSUME_32BITUIDS]: Remove conditional code.
2845 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2846 <kernel-features.h>.
2847 [__ASSUME_32BITUIDS]: Make code unconditional.
2848 [!__ASSUME_32BITUIDS]: Remove conditional code.
2849 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2850 <kernel-features.h>.
2851 [__ASSUME_32BITUIDS]: Make code unconditional.
2852 [!__ASSUME_32BITUIDS]: Remove conditional code.
2853 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2854 <kernel-features.h>.
2855 [__ASSUME_32BITUIDS]: Make code unconditional.
2856 [!__ASSUME_32BITUIDS]: Remove conditional code.
2857 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2858 <kernel-features.h>.
2859 [__ASSUME_32BITUIDS]: Make code unconditional.
2860 [!__ASSUME_32BITUIDS]: Remove conditional code.
2861 * sysdeps/unix/sysv/linux/kernel-features.h
2862 (__ASSUME_SETRESUID_SYSCALL): Remove.
2863 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2864 (__ASSUME_32BITUIDS): Likewise.
2865 (__ASSUME_LDT_WORKS): Likewise.
2866 (__ASSUME_O_DIRECTORY): Likewise.
2867 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2868 architecture but not kernel version.
2869 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2870 (__ASSUME_MMAP2_SYSCALL): Likewise.
2871 (__ASSUME_STAT64_SYSCALL): Likewise.
2872 (__ASSUME_IPC64): Likewise.
2873 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2874 <kernel-features.h>.
2875 [__ASSUME_32BITUIDS]: Make code unconditional.
2876 [!__ASSUME_32BITUIDS]: Remove conditional code.
2877 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2878 <kernel-features.h>.
2879 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2880 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2881 132096]: Remove conditional code.
2882 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2883 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2884 <kernel-features.h>.
2885 [__ASSUME_32BITUIDS]: Make code unconditional.
2886 [!__ASSUME_32BITUIDS]: Remove conditional code.
2887 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2888 <kernel-features.h>.
2889 [__ASSUME_32BITUIDS]: Make code unconditional.
2890 [!__ASSUME_32BITUIDS]: Remove conditional code.
2891 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2892 <kernel-features.h>.
2893 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2895 (__setresgid): Do not declare.
2896 [__ASSUME_32BITUIDS]: Make code unconditional.
2897 [!__ASSUME_32BITUIDS]: Remove conditional code.
2898 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2899 <kernel-features.h>.
2900 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2902 (__setresuid): Do not declare.
2903 [__ASSUME_32BITUIDS]: Make code unconditional.
2904 [!__ASSUME_32BITUIDS]: Remove conditional code.
2905 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2906 <kernel-features.h>.
2907 [__ASSUME_32BITUIDS]: Make code unconditional.
2908 [!__ASSUME_32BITUIDS]: Remove conditional code.
2909 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2910 <kernel-features.h>.
2911 [__ASSUME_32BITUIDS]: Make code unconditional.
2912 [!__ASSUME_32BITUIDS]: Remove conditional code.
2914 2012-05-25 Richard Henderson <rth@twiddle.net>
2916 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2917 dl_hwcap to ifunc resolver.
2918 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2920 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2921 dl_hwcap to ifunc resolver.
2922 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2924 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2927 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2928 for |x| <= 2**-26, not 2**-57.
2929 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2932 2012-05-24 Jeff Law <law@redhat.com>
2934 * stdio-common/Makefile (tests): Add bug25.
2935 * stdio-common/bug25.c: New test.
2937 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2940 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2941 multiple of MALLOC_ALIGNMENT in size.
2942 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2944 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2946 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2948 (FILENAME_MAX): Use macro-int-constant.
2949 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2950 (_IOFBF): Use macro-int-constant.
2953 (SEEK_CUR): Likewise.
2954 (SEEK_END): Likewise.
2955 (SEEK_SET): Likewise.
2956 (TMP_MAX): Likewise.
2957 (EOF): Use macro-int-constant. Require < 0.
2958 (NULL): Use macro-constant. Require == 0.
2959 (stdin): Require type to be FILE *.
2962 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2964 (EXIT_SUCCESS): Likewise.
2965 (NULL): Use macro-constant. Require == 0.
2966 (RAND_MAX): Use macro-int-constant.
2967 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2968 [C99-based standards] (strtof): Require function.
2969 [C99-based standards] (strtold): Likewise.
2970 [C99-based standards] (strtoll): Likewise.
2971 [C99-based standards] (strtoull): Likewise.
2972 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2973 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2974 [ISO || ISO99 || ISO11] (math.h): Likewise.
2975 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2976 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2977 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2979 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2982 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2983 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2984 * intl/dgettext.c (DCGETTEXT): Likewise.
2985 * intl/gettext.c (DCGETTEXT): Likewise.
2986 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2987 * posix/regex_internal.h (gettext): Likewise.
2988 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2990 * include/argz.h (__argz_count_internal)
2991 (__argz_stringify_internal): Remove declaration.
2992 (__argz_count, __argz_stringify): Declare hidden proto.
2993 * intl/dcgettext.c: Remove use of INTDEF.
2994 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2995 * string/argz-stringify.c: Likewise.
2996 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2997 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2998 Declare hidden proto.
2999 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3000 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3001 Declare hidden proto.
3002 * include/stdio.h (__asprintf_internal): Don't declare.
3003 (__asprintf): Don't define as macro. Declare hidden proto.
3004 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3005 (__fsetlocking): Declare hidden proto.
3006 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3007 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3009 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3010 (_IO_setlinebuf): Remove use of INTUSE.
3011 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3012 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3013 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3015 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3016 (_IO_do_flush): Remove use of INTUSE.
3017 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3018 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3019 (_IO_adjust_column, _IO_least_wmarker)
3020 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3021 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3022 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3023 (_IO_default_doallocate, _IO_wdefault_doallocate)
3024 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3025 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3026 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3027 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3028 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3029 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3030 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3031 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3032 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3033 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3034 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3035 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3036 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3038 (_IO_flush_all_internal, _IO_adjust_column_internal)
3039 (_IO_default_uflow_internal, _IO_default_finish_internal)
3040 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3041 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3042 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3043 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3044 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3045 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3046 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3047 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3048 (_IO_file_close_internal, _IO_file_close_it_internal)
3049 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3050 (_IO_file_init_internal, _IO_file_attach_internal)
3051 (_IO_file_fopen_internal, _IO_file_read_internal)
3052 (_IO_file_sync_internal, _IO_file_seek_internal)
3053 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3054 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3055 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3056 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3057 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3058 (_IO_list_all_internal, _IO_link_in_internal)
3059 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3060 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3061 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3062 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3063 (_IO_do_write_internal, _IO_padn_internal)
3064 (_IO_getline_info_internal, _IO_getline_internal)
3065 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3066 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3067 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3068 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3069 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3070 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3071 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3072 with libc_hidden_ver, remove use of INTUSE.
3073 * libio/genops.c: Likewise.
3074 * libio/freopen.c: Likewise.
3075 * libio/freopen64.c: Likewise.
3076 * libio/iofclose.c: Likewise.
3077 * libio/iofdopen.c: Likewise.
3078 * libio/iofflush.c: Likewise.
3079 * libio/iofflush_u.c: Likewise.
3080 * libio/iofgets.c: Likewise.
3081 * libio/iofgets_u.c: Likewise.
3082 * libio/iofopen.c: Likewise.
3083 * libio/iofopncook.c: Likewise.
3084 * libio/iofread.c: Likewise.
3085 * libio/iofread_u.c: Likewise.
3086 * libio/ioftell.c: Likewise.
3087 * libio/iofwrite.c: Likewise.
3088 * libio/iogetline.c: Likewise.
3089 * libio/iogets.c: Likewise.
3090 * libio/iogetwline.c: Likewise.
3091 * libio/iopadn.c: Likewise.
3092 * libio/iopopen.c: Likewise.
3093 * libio/ioseekoff.c: Likewise.
3094 * libio/ioseekpos.c: Likewise.
3095 * libio/iosetbuffer.c: Likewise.
3096 * libio/iosetvbuf.c: Likewise.
3097 * libio/ioungetc.c: Likewise.
3098 * libio/ioungetwc.c: Likewise.
3099 * libio/iovdprintf.c: Likewise.
3100 * libio/iovsprintf.c: Likewise.
3101 * libio/iovsscanf.c: Likewise.
3102 * libio/memstream.c: Likewise.
3103 * libio/obprintf.c: Likewise.
3104 * libio/oldfileops.c: Likewise.
3105 * libio/oldiofclose.c: Likewise.
3106 * libio/oldiofdopen.c: Likewise.
3107 * libio/oldiofopen.c: Likewise.
3108 * libio/oldiopopen.c: Likewise.
3109 * libio/oldstdfiles.c: Likewise.
3110 * libio/putc.c: Likewise.
3111 * libio/setbuf.c: Likewise.
3112 * libio/setlinebuf.c: Likewise.
3113 * libio/stdfiles.c: Likewise.
3114 * libio/strops.c: Likewise.
3115 * libio/vasprintf.c: Likewise.
3116 * libio/vscanf.c: Likewise.
3117 * libio/vsnprintf.c: Likewise.
3118 * libio/vswprintf.c: Likewise.
3119 * libio/wfiledoalloc.c: Likewise.
3120 * libio/wfileops.c: Likewise.
3121 * libio/wgenops.c: Likewise.
3122 * libio/wmemstream.c: Likewise.
3123 * libio/wstrops.c: Likewise.
3124 * libio/__fpurge.c: Likewise.
3125 * libio/__fsetlocking.c: Likewise.
3126 * assert/assert.c: Likewise.
3127 * debug/fgets_chk.c: Likewise.
3128 * debug/fgets_u_chk.c: Likewise.
3129 * debug/fread_chk.c: Likewise.
3130 * debug/fread_u_chk.c: Likewise.
3131 * debug/gets_chk.c: Likewise.
3132 * debug/obprintf_chk.c: Likewise.
3133 * debug/vasprintf_chk.c: Likewise.
3134 * debug/vdprintf_chk.c: Likewise.
3135 * debug/vsnprintf_chk.c: Likewise.
3136 * debug/vsprintf_chk.c: Likewise.
3137 * malloc/mtrace.c: Likewise.
3138 * misc/error.c: Likewise.
3139 * misc/syslog.c: Likewise.
3140 * stdio-common/asprintf.c: Likewise.
3141 * stdio-common/fxprintf.c: Likewise.
3142 * stdio-common/getw.c: Likewise.
3143 * stdio-common/isoc99_fscanf.c: Likewise.
3144 * stdio-common/isoc99_scanf.c: Likewise.
3145 * stdio-common/isoc99_vfscanf.c: Likewise.
3146 * stdio-common/isoc99_vscanf.c: Likewise.
3147 * stdio-common/isoc99_vsscanf.c: Likewise.
3148 * stdio-common/printf-prs.c: Likewise.
3149 * stdio-common/printf_fp.c: Likewise.
3150 * stdio-common/printf_fphex.c: Likewise.
3151 * stdio-common/printf_size.c: Likewise.
3152 * stdio-common/putw.c: Likewise.
3153 * stdio-common/scanf.c: Likewise.
3154 * stdio-common/sprintf.c: Likewise.
3155 * stdio-common/tmpfile.c: Likewise.
3156 * stdio-common/vfprintf.c: Likewise.
3157 * stdio-common/vfscanf.c: Likewise.
3158 * stdlib/strfmon_l.c: Likewise.
3159 * sunrpc/openchild.c: Likewise.
3160 * sunrpc/xdr_stdio.c: Likewise.
3161 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3162 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3164 2012-05-24 Roland McGrath <roland@hack.frob.com>
3166 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3168 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3169 in the third column, to generate for the shared library an IFUNC
3170 that uses _dl_vdso_vsym.
3171 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3172 * Makeconfig (object-suffixes-noshared): New variable.
3174 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3175 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3176 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3177 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3180 * include/sys/time.h (__gettimeofday): Remove macro.
3181 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3182 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3184 (__gettimeofday): Add libc_hidden_def.
3185 (gettimeofday): Add libc_hidden_weak.
3186 * sysdeps/mach/gettimeofday.c: Likewise.
3187 * sysdeps/posix/gettimeofday.c: Likewise.
3188 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3189 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3190 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3191 (__gettimeofday_internal): Remove strong_alias.
3192 (__gettimeofday): Add libc_hidden_def.
3193 (gettimeofday): Add libc_hidden_weak.
3194 * sysdeps/unix/syscalls.list (gettimeofday):
3195 Remove __gettimeofday_internal alias.
3197 2012-05-24 Daniel Jacobowitz <drow@false.org>
3198 H.J. Lu <hongjiu.lu@intel.com>
3201 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3202 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3203 (largebin_index_32_big): New.
3204 (largebin_index): Use it for 16-byte alignment.
3205 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3206 correction with front_misalign.
3208 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3236 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3237 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3239 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3243 * math/libm-test.inc (exp_test): Add test from bug 14036.
3244 (pow_test): Add test from bug 10846.
3246 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3248 (special_function): Do not include flags in test name.
3249 (parse_args): Likewise.
3250 * sysdeps/i386/fpu/libm-test-ulps: Update.
3251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3252 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3253 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3256 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3258 * math/libm-test.inc ("Philosophy"): Update comment about
3260 (UNDERFLOW_EXCEPTION): New macro.
3261 (UNDERFLOW_EXCEPTION_OK): Likewise.
3262 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3263 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3264 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3265 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3266 (INVALID_EXCEPTION_OK): Update value.
3267 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3268 (OVERFLOW_EXCEPTION_OK): Likewise.
3269 (IGNORE_ZERO_INF_SIGN): Likewise.
3270 (test_exceptions): Handle underflow exceptions.
3271 (acos_test): Update for underflow exception expectations.
3272 (cexp_test): Likewise.
3273 (clog_test): Likewise.
3274 (clog10_test): Likewise.
3275 (csqrt_test): Likewise.
3276 (ctan_test): Likewise.
3277 (ctanh_test): Likewise.
3278 (exp_test): Likewise.
3279 (exp10_test): Likewise.
3280 (exp2_test): Likewise.
3281 (expm1_test): Likewise.
3282 (fma_test): Likewise.
3283 (j0_test): Likewise.
3284 (jn_test): Likewise.
3285 (nexttoward_test): Likewise.
3286 (pow_test): Likewise.
3287 (scalbn_test): Likewise.
3288 (scalbln_test): Likewise.
3289 (tan_test): Likewise.
3290 (y1_test): Likewise.
3291 * sysdeps/i386/fpu/libm-test-ulps: Update.
3292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3294 2012-05-23 David S. Miller <davem@davemloft.net>
3296 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3297 (__libc_sigaction): Remove unused local variables.
3299 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3301 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3303 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3305 mktime: avoid signed integer overflow
3306 * time/mktime.c (__mktime_internal): Do not mishandle the case
3307 where diff == INT_MIN.
3309 mktime: simplify computation of average
3310 * time/mktime.c (ranged_convert): Use new time_t_avg function
3311 instead of rolling our own (probably-slower) code.
3313 mktime: do not assume signed right shift propagates sign bit
3314 * time/mktime.c (isdst_differ): New static function.
3315 (__mktime_internal): No need to normalize tm_isdst now.
3316 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3319 mktime: merge another wrapv change from gnulib
3320 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3321 from some compilers.
3323 mktime: remove incorrect attempt at unusual arithmetics
3324 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3325 The code didn't really work on such machines anyway.
3326 (TYPE_MINIMUM): Assume two's complement.
3327 (twos_complement_arithmetic): Verify that long_int and time_t
3328 are two's complement (or unsigned, in the latter case).
3330 mktime: check signed shifts on long_int and time_t, too
3331 * time/mktime.c (SHR): Check that shifts work as desired
3332 on the types long_int and time_t too, as SHR is used on
3335 mktime: do not assume 'long' is wide enough
3336 * time/mktime.c (verify): Move decl up.
3337 (long_int): New type.
3338 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3339 to remove assumption in the code that 'long' is wide enough to
3340 store year values. This assumption is not true on x32 and on
3341 some non-glibc platforms.
3343 mktime: merge wrapv change from gnulib
3344 * time/mktime.c (WRAPV): New macro.
3345 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3346 (guess_time_tm, __mktime_internal): Do not assume that signed
3347 integer overflow wraps around; modern compilers generate code
3348 where this assumption is no longer valid.
3350 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3352 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3353 Replace "jmp L(pseudo_end)" with "ret".
3354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3357 2012-05-23 Andreas Jaeger <aj@suse.de>
3359 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3360 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3362 2012-05-23 Andreas Jaeger <aj@suse.de>
3363 Maximilian Attems <max@stro.at>
3365 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3368 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3370 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3371 code so that pseudo_end is just ret and the stack pointer is
3372 correct also for static library in error case.
3374 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3376 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3377 move to syscalls.list.
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3383 * manual/install.texi (Running make install): Do not mention Linux
3384 kernel version for which pt_chown is not needed.
3385 (Linux): Do not mention problems with nscd with 2.0 kernels.
3386 * INSTALL: Regenerated.
3388 2012-05-23 Andreas Jaeger <aj@suse.de>
3390 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3391 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3393 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3394 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3395 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3396 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3397 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3398 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3399 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3400 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3401 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3402 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3403 * sysdeps/unix/sysv/linux/bits/in.h
3404 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3406 2012-05-22 Roland McGrath <roland@hack.frob.com>
3408 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3409 (PREPARE_VERSION): Just use assert instead, it will be elided
3410 under [NDEBUG] anyway.
3412 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3414 * sysdeps/unix/sysv/linux/Makefile: Include
3415 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3416 (sysdep_routines): Remove sysctl.
3417 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3418 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3419 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3420 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3421 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3423 2012-05-22 Andreas Jaeger <aj@suse.de>
3425 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3426 that pseudo_end is just ret and the stack pointer is correct also
3427 for static library in error case.
3429 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3432 * nss/nsswitch.c (defconfig_entries): New variable.
3433 (__nss_database_lookup): Don't leak defconfig entries.
3434 (nss_parse_service_list): Don't leak on error paths.
3435 (free_database_entries): New function.
3436 (free_defconfig): New function.
3437 (free_mem): Move common code to free_database_entries.
3439 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3441 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3443 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3445 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3446 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3449 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3450 (INTERNAL_SYSCALL_TYPES): Likewise.
3451 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3452 (LOAD_REGS_TYPES_[1-6]): Likewise.
3453 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3454 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3456 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3458 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3459 copysignl for GLIBC_2_0.
3460 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3461 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3463 logbl for GLIBC_2_0.
3464 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3465 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3467 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3469 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3470 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3472 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3475 * time/mktime.c: Update copyright years.
3477 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3479 mktime: merge comment-quoting-style change from gnulib
3480 * time/mktime.c: Quote 'like this' in comments.
3481 The GNU coding standards suggest that we no longer quote `like this',
3482 as "`" and "'" are typically rendered asymmetrically nowadays.
3483 The typical gnulib style is to quote 'like this' when quoting
3484 code, and "like this" when quoting English.
3486 * time/mktime.c (compile-command): Add "-I.".
3488 mktime: merge mktime-internal.h change from gnulib
3489 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3491 mktime: merge time_r change from gnulib
3492 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3494 mktime: merge DEBUG change from gnulib
3495 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3496 case system <time.h> has a #define.
3498 mktime: merge <sys/types.h> change from gnulib
3499 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3500 since <time.t> is now guaranteed to define time_t.
3502 mktime: merge HAVE_CONFIG_H change from gnulib
3503 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3505 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3510 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3512 (struct rusage): Use anonymous union to pad each field to
3515 2012-05-21 David S. Miller <davem@davemloft.net>
3517 * Makefules (o-iterator): Remove .s cases.
3518 (compile-command.s): Delete.
3519 (COMPILE.s): Delete.
3520 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3522 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3524 * configure.in (libc_cv_predef_stack_protector): Only consider
3525 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3526 * configure: Regenerated.
3528 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3530 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3531 New macro. Use R*LP on int and pointer.
3532 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3533 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3534 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3535 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3537 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3538 [__WORDSIZE_TIME64_COMPAT32] instead of
3539 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3540 (struct utmp): Likewise.
3541 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3542 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3544 (__WORDSIZE_TIME64_COMPAT32): This.
3545 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3546 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3547 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3548 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3549 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3550 (__WORDSIZE_TIME64_COMPAT32): New macro.
3552 2012-05-21 Andreas Jaeger <aj@suse.de>
3554 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3555 only if [SHARED]. Add prototype for __wcschr_ia32.
3557 2012-05-21 Roland McGrath <roland@hack.frob.com>
3559 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3560 of %rbp unmolested in the jmp_buf while mangling the low bits.
3561 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3562 unmolested high bits of %rbp while demangling the low bits.
3563 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3565 2012-05-21 Andreas Jaeger <aj@suse.de>
3567 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3568 * sunrpc/svc_simple.c: Use it for registerrpc.
3569 * sunrpc/xcrypt.c: Use it for passwd2des.
3571 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3573 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3575 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3576 Don't define if [__SYSCALL_WORDSIZE != 32].
3577 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3580 2012-05-21 Bruno Haible <bruno@clisp.org>
3581 Andreas Jaeger <aj@suse.de>
3583 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3584 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3585 inptr and inend for must_buffer_ch.
3586 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3587 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3588 * stdio-common/Makefile (tests): Remove bug15.
3589 (bug15-ENV): Remove macro.
3590 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3593 2012-05-19 Andreas Jaeger <aj@suse.de>
3594 Roland McGrath <roland@hack.frob.com>
3596 * manual/contrib.texi: Completely rewritten. It contains now an
3597 alphabetical list of contributors and their contributions.
3599 2012-05-21 Richard Henderson <rth@twiddle.net>
3601 * misc/getauxval.c (__getauxval): Use unsigned long int.
3602 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3603 (getauxval): Use unsigned long int.
3605 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3607 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3609 2012-05-21 Roland McGrath <roland@hack.frob.com>
3611 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3612 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3613 __alignof__ (long double).
3615 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3619 2012-05-20 Richard Henderson <rth@twiddle.net>
3621 * misc/getauxval.c: New file.
3622 * misc/sys/auxv.h: New file.
3623 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3624 (routines): Add getauxval.
3625 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3626 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3627 * elf/dl-sysdep.c (_dl_auxv): Remove.
3628 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3629 * elf/dl-support.c (_dl_auxv): New variable.
3630 (_dl_aux_init): Initialize it.
3631 * manual/startup.texi (Auxiliary Vector): New node.
3632 * sysdeps/generic/bits/hwcap.h: New file.
3633 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3634 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3635 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3636 * sysdeps/sparc/sysdep.h: ... here. Include it.
3637 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3644 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3650 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3654 2012-05-19 David S. Miller <davem@davemloft.net>
3656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3658 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3661 * math/s_ccosh.c: Include <float.h>
3662 (__ccosh): Avoid internal overflow calculating sinh and cosh
3663 values before multiplying by sin and cos values.
3664 * math/s_ccoshf.c: Likewise.
3665 * math/s_ccoshl.c: Likewise.
3666 * math/s_csin.c: Likewise.
3667 * math/s_csinf.c: Likewise.
3668 * math/s_csinl.c: Likewise.
3669 * math/s_csinh.c: Likewise.
3670 * math/s_csinhf.c: Likewise.
3671 * math/s_csinhl.c: Likewise.
3672 * math/libm-test.inc (ccos_test): Add more tests.
3673 (ccosh_test): Likewise.
3674 (csin_test): Likewise.
3675 (csinh_test): Likewise.
3676 * sysdeps/i386/fpu/libm-test-ulps: Update.
3677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3679 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3681 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3682 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3684 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3686 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3688 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3689 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3690 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3691 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3692 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3693 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3694 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3695 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3696 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3697 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3698 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3699 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3700 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3701 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3702 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3703 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3704 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3705 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3706 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3707 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3708 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3709 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3710 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3711 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3712 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3713 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3714 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3715 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3716 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3717 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3718 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3720 2012-05-18 Andreas Jaeger <aj@suse.de>
3722 * csu/.gitignore: Delete.
3724 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3726 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3727 (timex): Use __syscall_slong_t.
3729 2012-05-18 Andreas Jaeger <aj@suse.de>
3730 Carlos O'Donell <carlos_odonell@mentor.com>
3732 * manual/install.texi (Configuring and compiling): Update
3733 description about files modified in the source directory.
3734 * INSTALL: Regenerated.
3736 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3738 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3739 value. Use "or" to set return value to -1.
3740 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3741 negate return value.
3743 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3745 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3746 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3747 failure if the compiler has Graphite support disabled.
3748 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3750 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3751 CFLAGS-memmove.c): Likewise.
3752 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3755 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3757 * sysdeps/x86_64/x32/_itoa.h: New file.
3759 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3760 getdents system call only if kernel and user dirents have the
3761 same d_ino and d_off.
3763 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3764 LLONG_MAX != LONG_MAX.
3765 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3766 (_fitoa_word): Likewise.
3768 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3770 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3771 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3772 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3774 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3775 include <bits/wordsize.h>. Check __x86_64__ instead of
3777 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3778 if __x86_64__ is defined. Use anonymous union on fpstate.
3780 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3783 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3785 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3786 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3787 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3788 Refer to _rtld_local_ro instead of _rtld_global_ro.
3789 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3791 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3793 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3795 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3796 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3797 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3799 * sysdeps/powerpc/powerpc32/dl-machine.c
3800 (__elf_machine_runtime_setup) [PROF]: Don't reference
3803 2012-05-18 Andreas Jaeger <aj@suse.de>
3805 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3806 function only available for GCCs before 3.4 since GCC 3.4
3807 introduced a builtin.
3809 (llrintf): Likewise.
3817 (nearbyint): Likewise.
3818 (nearbyintf): Likewise.
3824 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3826 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3827 on both fields and cast pointer to __syscall_ulong_t.
3829 * bits/types.h (__fsword_t): New type.
3830 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3831 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3833 (__FSWORD_T_TYPE): Likewise.
3834 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3835 (__FSWORD_T_TYPE): Likewise.
3836 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3837 (__FSWORD_T_TYPE): Likewise.
3838 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3839 (__FSWORD_T_TYPE): Likewise.
3840 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3841 __SWORD_TYPE with __fsword_t.
3842 (statfs64): Likewise.
3844 2012-05-17 David S. Miller <davem@davemloft.net>
3846 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3848 2012-05-17 Andreas Jaeger <aj@suse.de>
3850 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3853 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3855 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3857 2012-05-17 Andreas Jaeger <aj@suse.de>
3859 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3862 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3864 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3866 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3868 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3869 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3871 2012-05-17 Andreas Jaeger <aj@suse.de>
3872 Carlos O'Donell <carlos_odonell@mentor.com>
3875 * sysdeps/x86_64/multiarch/init-arch.h
3876 (bit_YMM_Usable): Rename to...
3877 (bit_AVX_Usable): ... this.
3878 (bit_FMA4_Usable): New macro.
3879 (bit_XMM_state): New macro.
3880 (bit_YMM_state): New macro.
3881 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3882 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3883 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3884 (CPUID_OSXSAVE): New macro.
3885 (CPUID_AVX): New macro.
3886 (CPUID_FMA4): New macro.
3887 (index_YMM_Usable): Rename to...
3888 (index_AVX_Usable): ... this.
3889 (HAS_AVX): Use HAS_ARCH_FEATURE.
3890 (HAS_FMA4): Likewise.
3891 (HAS_YMM_USABLE): Remove.
3892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3893 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3895 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3896 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3897 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3898 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3899 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3901 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3903 * math/libm-test.c: Support platforms without multiple rounding modes.
3904 * math/bug-nextafter.c: Support platforms without FP exceptions.
3905 * math/bug-nexttoward.c: Likewise.
3906 * math/test-fenv.c: Likewise.
3907 * math/test-misc.c: Likewise.
3908 * stdlib/bug-getcontext.c: Likewise.
3910 2012-05-17 Andreas Jaeger <aj@suse.de>
3912 * manual/examples/search.c (critter_cmp): Change signature to
3914 * manual/string.texi (Collation Functions): Likewise.
3916 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3918 * bits/types.h: Fold copyright years.
3919 * bits/typesizes.h: Likewise.
3920 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3922 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3924 * time/time.h: Likewise.
3926 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3929 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3930 in instead of returning them. Return void.
3931 (__libc_mallinfo): Accumulate over all arenas.
3932 (__malloc_stats): Adjust for change in int_mallinfo interface.
3934 2012-05-16 Roland McGrath <roland@hack.frob.com>
3937 * configure.in (NM): Add AC_CHECK_TOOL for it.
3938 (libc_extra_cflags): New substituted variable.
3939 Check for -fstack-protector being used implicitly.
3940 * configure: Regenerated.
3941 * config.make.in (config-extra-cflags): New variable,
3942 gets @libc_extra_cflags@.
3943 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3946 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3947 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3948 * configure: Regenerated.
3949 * config.make.in (CPPUNDEFS): New substituted variable.
3950 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3951 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3952 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3954 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3956 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3957 (mq_attr): Use __syscall_slong_t.
3959 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3961 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3962 Check __x86_64__ instead of __WORDSIZE.
3963 (_STAT_VER_LINUX): Likewise.
3964 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3965 __syscall_ulong_t and __syscall_slong_t.
3968 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3972 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3974 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3976 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3978 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3981 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3982 include <bits/wordsize.h>. Check __x86_64__ instead of
3984 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3986 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3988 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3989 include <bits/wordsize.h>. Check __x86_64__ instead of
3991 (user_regs_struct): Use "__extension__ unsigned long long"
3992 instead of "unsigned long" if __x86_64__ is defined.
3993 (user): Likewise. Pad after pointer field if __ILP32__ is
3996 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3998 * configure.in (makeinfo): Require version 4.5 or later. Allow
4000 * configure: Regenerated.
4001 * manual/install.texi (texinfo): Increase version requirement to
4003 * INSTALL: Regenerated.
4005 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4007 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4009 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4011 * sysdeps/x86_64/x32/ffs.c: New file.
4013 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4015 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4016 defined. Use __syscall_ulong_t.
4017 (shminfo): Use __syscall_ulong_t.
4018 (shm_info): Likewise.
4020 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4023 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4025 (msgqnum_t): Use __syscall_ulong_t.
4026 (msglen_t): Likewise.
4027 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4030 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4031 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4033 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4035 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4036 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4038 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4041 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4042 include <bits/wordsize.h>. Check __x86_64__ instead of
4045 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4046 "unsigned long long int" if __x86_64__ is defined.
4047 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4049 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4051 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4053 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4055 (GET_PC): Cast to uintptr_t first.
4056 (GET_FRAME): Likewise.
4057 (GET_STACK): Likewise.
4059 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4060 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4061 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4062 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4063 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4064 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4065 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4066 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4067 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4068 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4069 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4070 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4071 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4072 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4073 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4074 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4075 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4076 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4077 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4078 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4079 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4080 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4081 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4082 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4083 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4084 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4085 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4086 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4087 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4089 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4091 * Makerules (+depfiles): Also collect depfiles from .oS in
4093 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4094 .oS, $(libnldbl-routines)).
4096 * Makerules (native-compile-mkdep-flags): Define.
4097 * sunrpc/Makefile (extra-objs): Add $(addprefix
4098 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4099 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4100 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4101 calling $(make-target-directory).
4103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4105 * bits/types.h (__snseconds_t): Removed.
4106 * time/time.h (struct timespec): Replace __snseconds_t with
4108 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4109 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4112 (__SNSECONDS_T_TYPE): Likewise.
4113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4114 (__SNSECONDS_T_TYPE): Likewise.
4115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4116 (__SNSECONDS_T_TYPE): Likewise.
4118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4120 * sysdeps/mach/hurd/bits/typesizes.h
4121 (__SYSCALL_SLONG_TYPE): New macro.
4122 (__SYSCALL_ULONG_TYPE): Likewise.
4124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4126 * bits/types.h (__syscall_slong_t): New type.
4127 (__syscall_ulong_t): Likewise.
4129 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4130 (__SYSCALL_ULONG_TYPE): Likewise.
4131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4132 (__SYSCALL_SLONG_TYPE): Likewise.
4133 (__SYSCALL_ULONG_TYPE): Likewise.
4134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4135 (__SYSCALL_SLONG_TYPE): Likewise.
4136 (__SYSCALL_ULONG_TYPE): Likewise.
4137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4138 (__SYSCALL_SLONG_TYPE): Likewise.
4139 (__SYSCALL_ULONG_TYPE): Likewise.
4141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4143 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4144 Add sigaltstack-offsets.sym.
4145 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4146 <sigaltstack-offsets.h>.
4147 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4148 longjmp_msg pointer.
4149 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4150 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4152 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4154 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4156 * elf/stackguard-macros.h: Remove file.
4157 * sysdeps/generic/stackguard-macros.h: New file.
4158 * sysdeps/i386/stackguard-macros.h: Likewise.
4159 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4160 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4161 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4162 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4163 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4164 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4165 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4166 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4167 <elf/stackguard-macros.h>.
4170 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4171 __aligned__ in attribute.
4172 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4173 (gregset_t): Likewise.
4175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4177 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4178 * sysdeps/x86_64/64/Implies-after: Here. New file.
4179 * sysdeps/x86_64/x32/Implies-after: New file.
4181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4183 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4184 and access return value for _dl_profile_fixup. Use R10_LP to
4187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4189 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4193 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4194 * sysdeps/x86_64/x32/sysdep.h: New file.
4196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4198 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4199 * sysdeps/x86_64/setjmp.S: Likewise.
4201 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4203 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4204 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4205 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4206 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4207 remove unused global constant.
4209 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4211 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4212 include of <not-cancel.h>.
4214 2012-05-15 Roland McGrath <roland@hack.frob.com>
4216 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4218 2012-05-15 Jeff Law <law@redhat.com>
4219 Andreas Jaeger <aj@suse.de>
4222 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4224 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4225 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4226 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4227 code changing __hst_map_handle.map.
4229 2012-05-15 Roland McGrath <roland@hack.frob.com>
4231 * configure.in (sysnames): Look for Implies-before and Implies-after
4233 * configure: Regenerated.
4235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4237 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4238 8-byte data alignment with LP_SIZE alignment.
4240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4242 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4247 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4249 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4251 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4252 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4253 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4255 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4259 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4260 (stackinfo_sub_sp): Likewise.
4262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4269 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4279 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4283 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4284 into R11_LP and load __x86_64_shared_cache_size_half into
4287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4289 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4292 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4294 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4298 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4300 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4301 powerpc32/power7/fpu/s_logb.c via #include.
4302 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4303 powerpc32/power7/fpu/s_logbf.c via #include.
4304 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4305 powerpc32/power7/fpu/s_logbl.c via #include.
4307 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4309 * README.libm: Remove file.
4311 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4313 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4314 count for x32. Use R*_LP and omit operand-size suffix.
4316 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4318 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4319 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4320 * sysdeps/x86_64/x32/shlib-versions: New file.
4322 2012-05-14 Roland McGrath <roland@hack.frob.com>
4324 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4325 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4326 Use _dl_fatal_printf instead.
4328 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4330 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4331 set if not set by the user. Do not allow for being unset.
4332 * sysdeps/unix/sysv/linux/configure: Regenerated.
4334 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4336 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4337 the `q' suffix from lea and replace .quad with ASM_ADDR.
4339 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4342 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4344 (PTR_DEMANGLE): Likewise.
4346 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4348 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4350 (ASM_ADDR): Likewise.
4368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4370 * sysdeps/x86_64/x32/dl-machine.h: New file.
4372 2012-05-14 Andreas Jaeger <aj@suse.de>
4374 * manual/Makefile (subdir): Remove export of subdir.
4375 (all): Remove target.
4376 (.PHONY): Remove all from list.
4377 (mkinstalldirs): Remove.
4378 (.PHONY): Remove installdirs from list.
4379 ($(inst_infodir)/libc.info): Use make-target-directory.
4380 (installdirs): Remove.
4382 (glibc-targets): Remove.
4385 ($(objpfx)stubs ../po/manual.pot): Remove.
4386 ($(objpfx)stamp%): Remove.
4387 (make-target-directory): Remove.
4388 (subdir_install): Remove.
4396 * manual/.gitignore: Remove, it's not needed anymore.
4397 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4399 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4401 (texis): Renamed to $(objpfx)texis.
4402 (texis-path): New, contains path to generated files.
4403 (chapters.%): Use texis-path for complete path, add extra argument
4405 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4406 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4407 (summary,texi, stamp-summary): Use complete path of
4408 files. Generate files in build dir.
4409 (dir-add.texi): Build in build dir.
4410 (libm-err.texi,stamp-libm-err): Likewise.
4411 (version.texi, stamp-version): Likewise.
4412 (.%c.texi): Likewise.
4413 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4414 (mostlyclean): Remove target.
4415 (realclean): Remove target.
4416 (generated): Add new variable with contents from mostlyclean and
4417 realclean, remove entries duplicated in common-mostlyclean, add
4418 stamp-libm-err and stamp-version.
4419 (generated-dirs): Add libc directory.
4420 ($(inst_infodir)/libc.info): Install files from build dir.
4422 * manual/install.texi (Configuring and compiling): Adjust since
4423 the info files are not part of the tar ball anymore.
4425 2012-05-14 Andreas Jaeger <aj@suse.de>
4427 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4430 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4433 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4434 to 2.2.0 where earlier.
4435 * sysdeps/unix/sysv/linux/configure: Regenerated.
4436 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4437 Remove conditional code.
4438 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4439 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4440 Remove conditional code.
4441 [!__NR_lchown]: Likewise.
4442 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4443 [__NR_lchown]: Likewise.
4444 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4445 comment referencing __ASSUME_LCHOWN_SYSCALL.
4446 * sysdeps/unix/sysv/linux/i386/sigaction.c
4447 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4448 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4449 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4450 Remove conditional code.
4451 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4452 (__protocol_available): Remove #if 0 code.
4453 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4455 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4456 * sysdeps/unix/sysv/linux/kernel-features.h
4457 (__ASSUME_GETCWD_SYSCALL): Don't define.
4458 (__ASSUME_REALTIME_SIGNALS): Likewise.
4459 (__ASSUME_PREAD_SYSCALL): Likewise.
4460 (__ASSUME_PWRITE_SYSCALL): Likewise.
4461 (__ASSUME_POLL_SYSCALL): Likewise.
4462 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4463 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4465 (__ASSUME_SIOCGIFNAME): Don't define.
4466 (__ASSUME_MSG_NOSIGNAL): Likewise.
4467 (__ASSUME_SENDFILE): Define unconditionally.
4468 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4469 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4471 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4472 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4473 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4474 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4475 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4476 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4477 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4479 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4482 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4485 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4488 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4491 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4494 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4497 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4500 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4501 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4502 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4503 Remove conditional code.
4504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4505 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4506 Remove conditional code.
4507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4508 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4509 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4510 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4511 Remove conditional code.
4512 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4513 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4514 Remove conditional code.
4515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4516 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4517 Remove conditional code.
4518 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4519 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4520 Remove conditional code.
4521 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4522 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4523 Remove conditional code.
4524 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4525 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4526 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4527 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4528 * sysdeps/unix/sysv/linux/sigaction.c
4529 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4530 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4531 * sysdeps/unix/sysv/linux/sigpending.c
4532 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4533 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4534 * sysdeps/unix/sysv/linux/sigprocmask.c
4535 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4536 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4537 * sysdeps/unix/sysv/linux/sigsuspend.c
4538 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4539 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4540 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4541 (__libc_missing_rt_sigs): Remove.
4542 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4543 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4544 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4545 Remove conditional code.
4546 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4547 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4549 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4550 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4551 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4552 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4554 2012-05-14 Andreas Jaeger <aj@suse.de>
4556 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4557 it's not used in glibc.
4558 (__coshm1): Likewise.
4559 (__acosh1p): Likewise.
4562 * manual/string.texi (Copying and Concatenation): Add missing
4563 variable in concat example.
4564 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4566 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4569 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4570 __builtin_clzl with __builtin_clzll.
4572 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4575 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4578 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4580 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4581 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4582 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4583 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4585 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4587 * NEWS: Update ia64 info.
4589 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4591 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4594 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4596 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4597 * sysdeps/unix/syscalls.list (dup3): Likewise.
4598 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4599 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4601 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4603 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4604 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4606 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4608 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4610 (TLS_IE): Use mov/add instead of movq/addq to load thread
4612 (TLS_GD_PREFIX): New.
4615 2012-05-11 David S. Miller <davem@davemloft.net>
4617 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4618 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4619 (_FPU_SETCW): Likewise.
4621 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4623 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4626 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4629 * iconvdata/gb18030.c: Update tables.
4630 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4631 characters specially.
4632 (BODY for TO_LOOP): Add encoding of missing ranges.
4634 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4637 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4638 * sysdeps/mach/hurd/dup3.c: Likewise.
4639 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4640 * sysdeps/powerpc/memmove.c:: Likewise.
4642 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4645 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4647 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4649 * elf/elf.h (R_X86_64_RELATIVE64): New.
4650 (R_X86_64_NUM): Updated.
4651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4652 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4653 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4654 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4655 tst-quad1pie tst-quad2pie
4656 (modules-names): Add tst-quadmod1 tst-quadmod2.
4657 ($(objpfx)tst-quad1): New dependency.
4658 ($(objpfx)tst-quad2): Likewise.
4659 ($(objpfx)tst-quad1pie): Likewise.
4660 ($(objpfx)tst-quad2pie): Likewise.
4661 * sysdeps/x86_64/tst-quad1.c: New file.
4662 * sysdeps/x86_64/tst-quad1pie.c: New file.
4663 * sysdeps/x86_64/tst-quad2.c: Likewise.
4664 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4665 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4666 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4667 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4668 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4670 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4672 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4673 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4674 * streams/stropts.h (t_scalar_t): Define type.
4676 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4677 (_PATH_PRESERVE): Set to "/var/lib".
4678 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4680 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4683 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4684 if __dir_mkfile succeeded.
4686 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4687 checking for _hurd_dtablesize. Unlock it right after having
4688 finished _hurd_dtable allocation.
4690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4692 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4693 * sysdeps/mach/hurd/configure: Regenerated.
4694 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4695 special-casing to...
4696 * sysdeps/gnu/configure.in: ... this new file.
4697 * sysdeps/unix/sysv/linux/configure: Regenerated.
4698 * sysdeps/gnu/configure: New generated file.
4700 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4701 for Linux: use nsec instead of usec, as well as:
4702 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4703 members of type struct timespec.
4704 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4706 (struct stat64): Likewise.
4707 (_STATBUF_ST_NSEC): New macro.
4708 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4710 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4711 __strtoul_internal rather than strtoul.
4713 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4715 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4718 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4720 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4721 which preserves existing values.
4722 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4724 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4726 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4727 TIMEOUT values. Return EINVAL for NFDS values either negative or
4728 greater than FD_SETSIZE.
4730 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4732 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4733 allocated, call __vm_protect to finish enabling the existing space, and
4734 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4735 allocate the remainder.
4737 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4739 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4740 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4744 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4745 sysdeps/mach/hurd/readlink.c.
4747 * posix/tst-sysconf.c (posix_options): Only use
4748 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4749 _POSIX_SYNCHRONIZED_IO when they are defined
4750 * sysdeps/mach/hurd/bits/posix_opt.h:
4751 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4752 (_XOPEN_REALTIME): Undefine macro.
4753 (_XOPEN_REALTIME_THREADS): Undefine macro.
4754 (_XOPEN_SHM): Undefine macro.
4755 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4757 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4759 (_POSIX_ASYNC_IO): Undefine macro.
4760 (_POSIX_PRIORITIZED_IO): Undefine macro.
4761 (_POSIX_SPIN_LOCKS): Define macro to -1.
4763 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4764 SA_NODEFER, SA_RESETHAND.
4765 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4766 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4769 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4771 * elf/Makefile (pldd-modules): Define unconditionally.
4773 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4775 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4777 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4779 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4780 Return ENOENT when name is empty.
4781 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4783 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4785 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4787 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4791 Fix mlock in all cases except non-readable pages.
4792 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4793 instead of VM_PROT_ALL as parameter to __vm_wire function.
4795 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4796 (__mkdir): When path is `/', just fail with EEXIST.
4797 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4799 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4801 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4802 <sys/uio.h> (for writev).
4803 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4804 and <sys/param.h> (for MIN).
4806 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4808 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4809 REQUESTED_TIME. Properly set the remaining time and return EINTR
4812 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4814 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4815 Depend on against $(link-rpcuserlibs).
4817 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4819 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4820 (__libc_stack_end): Do not use attribute_relro.
4821 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4822 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4823 to libthread-provided value.
4824 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4827 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4830 * bits/libc-lock.h (__libc_once_get): New macro.
4831 * sysdeps/mach/bits/libc-lock.h: Likewise.
4832 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4833 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4834 instead of using implementation details.
4836 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4837 * libio/freopen.c: Likewise.
4838 * libio/freopen64.c: Likewise.
4839 * misc/syslog.c: Likewise.
4840 * nscd/connections.c: Likewise.
4841 * nscd/netgroupcache.c: Likewise.
4842 * sysdeps/posix/getcwd.c: Likewise.
4844 2012-05-10 Roland McGrath <roland@hack.frob.com>
4846 * math/w_ilogbf.c: Add #include <limits.h>.
4848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4850 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4851 path instead of returning without unlocking.
4853 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4854 immediate-write ioctls.
4855 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4857 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4859 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4860 __builtin_frame_address instead of making assumptions about the
4861 location of the return address relative to DATA. Force early load of
4863 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4864 __builtin_frame_address.
4867 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4868 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4869 implement dup3 and do some further code clean-ups.
4870 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4871 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4873 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4875 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4877 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4878 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4879 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4880 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4881 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4884 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4885 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4886 when handler == SIG_ERR, not when handler != SIG_ERR.
4888 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4890 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4891 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4894 accept4 for GNU Hurd.
4895 * include/sys/socket.h (__libc_accept4): New prototype.
4896 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4897 to implement __libc_accept4.
4898 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4900 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4902 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4903 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4904 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4907 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4909 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4911 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4913 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4914 assertion on O_CLOEXEC flag.
4915 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4916 * hurd/intern-fd.c: Likewise.
4917 * hurd/port2fd.c: Likewise.
4919 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4922 * bits/in.h (IPV6_PKTINFO): Define new macro.
4923 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4925 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4930 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4931 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4932 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4933 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4935 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4936 * math/libm-test.inc (logb_test) : Additional logb tests.
4938 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4939 Andreas Jaeger <aj@suse.de>
4941 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4942 * configure: Regenerated.
4943 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4944 * config.make.in (link-obsolete-rpc): New substituted variable.
4945 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4946 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4947 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4948 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4949 so that libc.a contains the symbols.
4950 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4951 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4952 * sunrpc/auth_none.c: Likewise.
4953 * sunrpc/auth_unix.c: Likewise.
4954 * sunrpc/authdes_prot.c: Likewise.
4955 * sunrpc/authuxprot.c: Likewise.
4956 * sunrpc/clnt_gen.c: Likewise.
4957 * sunrpc/clnt_perr.c: Likewise.
4958 * sunrpc/clnt_raw.c: Likewise.
4959 * sunrpc/clnt_simp.c: Likewise.
4960 * sunrpc/clnt_tcp.c: Likewise.
4961 * sunrpc/clnt_udp.c: Likewise.
4962 * sunrpc/clnt_unix.c: Likewise.
4963 * sunrpc/des_crypt.c: Likewise.
4964 * sunrpc/des_soft.c: Likewise.
4965 * sunrpc/get_myaddr.c: Likewise.
4966 * sunrpc/key_call.c: Likewise.
4967 * sunrpc/key_prot.c: Likewise.
4968 * sunrpc/netname.c: Likewise.
4969 * sunrpc/pm_getmaps.c: Likewise.
4970 * sunrpc/pm_getport.c: Likewise.
4971 * sunrpc/pmap_clnt.c: Likewise.
4972 * sunrpc/pmap_prot.c: Likewise.
4973 * sunrpc/pmap_prot2.c: Likewise.
4974 * sunrpc/pmap_rmt.c: Likewise.
4975 * sunrpc/publickey.c: Likewise.
4976 * sunrpc/rpc_cmsg.c: Likewise.
4977 * sunrpc/rpc_common.c: Likewise.
4978 * sunrpc/rpc_dtable.c: Likewise.
4979 * sunrpc/rpc_prot.c: Likewise.
4980 * sunrpc/rpc_thread.c: Likewise.
4981 * sunrpc/rtime.c: Likewise.
4982 * sunrpc/svc.c: Likewise.
4983 * sunrpc/svc_auth.c: Likewise.
4984 * sunrpc/svc_raw.c: Likewise.
4985 * sunrpc/svc_run.c: Likewise.
4986 * sunrpc/svc_tcp.c: Likewise.
4987 * sunrpc/svc_udp.c: Likewise.
4988 * sunrpc/svc_unix.c: Likewise.
4989 * sunrpc/svcauth_des.c: Likewise.
4990 * sunrpc/xcrypt.c: Likewise.
4991 * sunrpc/xdr.c: Likewise.
4992 * sunrpc/xdr_array.c: Likewise.
4993 * sunrpc/xdr_float.c: Likewise.
4994 * sunrpc/xdr_intXX_t.c: Likewise.
4995 * sunrpc/xdr_mem.c: Likewise.
4996 * sunrpc/xdr_rec.c: Likewise.
4997 * sunrpc/xdr_ref.c: Likewise.
4998 * sunrpc/xdr_sizeof.c: Likewise.
4999 * sunrpc/xdr_stdio.c: Likewise.
5001 2012-05-10 Roland McGrath <roland@hack.frob.com>
5003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5004 change. Update copyright years.
5006 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5008 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5010 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5011 Joseph Myers <joseph@codesourcery.com>
5012 Paul Pluzhnikov <ppluzhnikov@google.com>
5015 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5017 [cross-compiling] (extra-libs): Likewise.
5018 [cross-compiling] (extra-libs-others): Likewise.
5019 [cross-compiling] (librpcsvc-routines): Likewise.
5020 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5021 [cross-compiling] (omit-deps): Likewise.
5022 (sunrpc-CPPFLAGS): New variable.
5023 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5024 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5025 (cross-rpcgen-objs): New variable.
5026 (extra-objs): Append $(cross-rpcgen-objs).
5027 ($(cross-rpcgen-objs)): New rule.
5028 ($(objpfx)cross-rpcgen): Likewise.
5029 (rpcgen-cmd): Define to use $(built-program-file). Expand
5031 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5032 ($(objpfx)x%.stmp): Likewise.
5033 * sunrpc/proto.h [IS_IN_build] (_): Define.
5034 [IS_IN_build] (_libc_intl_domainname): Likewise.
5036 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5038 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5039 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5040 and R_X86_64_TPOFF64.
5042 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5044 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5045 sysdeps/unix/sysv/syscalls.list.
5048 * sysdeps/unix/sysv/syscalls.list: Remove file.
5050 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5053 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5054 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5055 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5056 (__LC_IDENTIFICATION): Make these macros useful in #if
5057 expressions, as required by C99.
5059 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5061 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5062 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5065 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5067 * stdlib/longlong.h: Updated from GCC.
5069 2012-05-09 Andreas Jaeger <aj@suse.de>
5071 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5072 default is first entry.
5073 (run_mode): Set type.
5074 (main): Remove informal message about syslog.
5075 (options): Fix typo.
5078 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5081 (llrintf): Likewise.
5085 (nearbyint): Likewise.
5086 (nearbyintf): Likewise.
5088 2012-05-09 Andreas Jaeger <aj@suse.de>
5089 Pedro Alves <palves@redhat.com>
5091 * nscd/nscd.c (run_mode): Use enum.
5092 (main): Cleanup coding style issue.
5094 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5095 Andreas Jaeger <aj@suse.de>
5097 * nscd/nscd.c (go_background): Replaced with...
5098 (run_mode): ... this.
5099 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5100 (options): Add -F --foreground.
5101 (main): Implement it.
5102 (parse_opt): Parse it.
5104 2012-05-09 Andreas Jaeger <aj@suse.de>
5107 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5108 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5109 -Wconversion warning.
5110 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5113 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5115 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5117 (LC_ALL): Use macro-int-constant.
5118 (LC_COLLATE): Likewise.
5119 (LC_CTYPE): Likewise.
5120 (LC_MESSAGES): Likewise.
5121 (LC_MONETARY): Likewise.
5122 (LC_NUMERIC): Likewise.
5123 (LC_TIME): Likewise.
5124 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5125 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5127 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5129 [C99-based standards] (float_t): Expect type.
5130 [C99-based standards] (double_t): Expect type.
5131 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5133 [C99-based standards] (HUGE_VALL): Likewise.
5134 [C99-based standards] (INFINITY): Likewise.
5135 [C99-based standards] (NAN): Likewise.
5136 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5137 [C99-based standards] (FP_NAN): Likewise.
5138 [C99-based standards] (FP_NORMAL): Likewise.
5139 [C99-based standards] (FP_SUBNORMAL): Likewise.
5140 [C99-based standards] (FP_ZERO): Likewise.
5141 [C99-based standards] (FP_FAST_FMA): Use
5142 optional-macro-int-constant. Specify type. Require == 1.
5143 [C99-based standards] (FP_FAST_FMAF): Likewise.
5144 [C99-based standards] (FP_FAST_FMAL): Likewise.
5145 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5146 [C99-based standards] (FP_ILOGBNAN): Likewise.
5147 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5149 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5150 [C99-based standards] (math_errhandling): Specify type.
5151 [ISO99 || ISO11] (signgam): Do not allow.
5152 [non-C99-based standards] (copysignf): Do not allow.
5153 [non-C99-based standards] (exp2f): Likewise.
5154 [non-C99-based standards] (log2f): Likewise.
5155 [non-C99-based standards] (modff): Allow.
5156 [non-C99-based standards] (erff): Do not allow.
5157 [non-C99-based standards] (erfcf): Likewise.
5158 [non-C99-based standards] (gammaf): Likewise.
5159 [non-C99-based standards] (hypotf): Likewise.
5160 [non-C99-based standards] (j0f): Likewise.
5161 [non-C99-based standards] (j1f): Likewise.
5162 [non-C99-based standards] (jnf): Likewise.
5163 [non-C99-based standards] (lgammaf): Likewise.
5164 [non-C99-based standards] (tgammaf): Likewise.
5165 [non-C99-based standards] (y0f): Likewise.
5166 [non-C99-based standards] (y1f): Likewise.
5167 [non-C99-based standards] (ynf): Likewise.
5168 [non-C99-based standards] (isnanf): Likewise.
5169 [non-C99-based standards] (acoshf): Likewise.
5170 [non-C99-based standards] (asinhf): Likewise.
5171 [non-C99-based standards] (atanhf): Likewise.
5172 [non-C99-based standards] (cbrtf): Likewise.
5173 [non-C99-based standards] (expm1f): Likewise.
5174 [non-C99-based standards] (ilogbf): Likewise.
5175 [non-C99-based standards] (log1pf): Likewise.
5176 [non-C99-based standards] (logbf): Likewise.
5177 [non-C99-based standards] (nextafterf): Likewise.
5178 [non-C99-based standards] (remainderf): Likewise.
5179 [non-C99-based standards] (rintf): Likewise.
5180 [non-C99-based standards] (scalbf): Likewise.
5181 [non-C99-based standards] (copysignl): Likewise.
5182 [non-C99-based standards] (exp2l): Likewise.
5183 [non-C99-based standards] (log2l): Likewise.
5184 [non-C99-based standards] (modfl): Allow.
5185 [non-C99-based standards] (erfl): Do not allow.
5186 [non-C99-based standards] (erfcl): Likewise.
5187 [non-C99-based standards] (gammal): Likewise.
5188 [non-C99-based standards] (hypotl): Likewise.
5189 [non-C99-based standards] (j0l): Likewise.
5190 [non-C99-based standards] (j1l): Likewise.
5191 [non-C99-based standards] (jnl): Likewise.
5192 [non-C99-based standards] (lgammal): Likewise.
5193 [non-C99-based standards] (tgammal): Likewise.
5194 [non-C99-based standards] (y0l): Likewise.
5195 [non-C99-based standards] (y1l): Likewise.
5196 [non-C99-based standards] (ynl): Likewise.
5197 [non-C99-based standards] (isnanl): Likewise.
5198 [non-C99-based standards] (acoshl): Likewise.
5199 [non-C99-based standards] (asinhl): Likewise.
5200 [non-C99-based standards] (atanhl): Likewise.
5201 [non-C99-based standards] (cbrtl): Likewise.
5202 [non-C99-based standards] (expm1l): Likewise.
5203 [non-C99-based standards] (ilogbl): Likewise.
5204 [non-C99-based standards] (log1pl): Likewise.
5205 [non-C99-based standards] (logbl): Likewise.
5206 [non-C99-based standards] (nextafterl): Likewise.
5207 [non-C99-based standards] (remainderl): Likewise.
5208 [non-C99-based standards] (rintl): Likewise.
5209 [non-C99-based standards] (scalbl): Likewise.
5210 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5211 [non-C99-based standards] (FP_*): Do not allow.
5212 [C99-based standards] (FP_*): Change to
5213 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5214 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5216 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5217 (SIG_ERR): Likewise.
5218 [X/Open-based standards] (SIG_HOLD): Likewise.
5219 (SIG_IGN): Likewise.
5220 (SIGABRT): Use macro-int-constant. Specify type. Require
5225 (SIGSEGV): Likewise.
5227 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5228 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5229 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5230 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5231 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5232 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5233 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5234 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5235 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5236 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5237 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5238 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5239 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5240 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5241 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5242 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5243 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5244 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5245 [X/Open-based standards] (SIGTRAP): Likewise.
5246 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5247 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5248 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5249 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5250 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5253 2012-05-08 Ian Wienand <ianw@vmware.com>
5256 * time/tzset.c (__tzset_parse_tz): Update default rules for
5257 daylight time changes in the Energy Policy Act of 2005.
5259 2012-05-09 Andreas Jaeger <aj@suse.de>
5262 * elf/ldconfig.c (parse_conf): Change string to make clear that
5263 ldconfig only issued a warning if ld.so.conf does not exist.
5265 2012-05-08 David S. Miller <davem@davemloft.net>
5267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5268 movxtod instead of popping the value on the stack.
5270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5272 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5274 * config.h.in: Add HAVE_ARM_PCS_VFP.
5276 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5279 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5280 checking but the checks are disabled for any reason.
5282 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5284 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5285 and ELF64_R_TYPE with ELFW(R_TYPE).
5287 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5289 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5292 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5293 (settimeofday): Likewise.
5295 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5297 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5298 a struct th_u2 inside the union, and move tu_block/tu_code into
5299 a new th_u3 union of tu_block/tu_code inside of that. Move
5300 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5301 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5302 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5303 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5304 (th_stuff): Change to th_u1.tu_stuff.
5306 (th_msg): Change to th_u1.th_u2.tu_data.
5308 2012-05-07 David S. Miller <davem@davemloft.net>
5310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5313 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5314 (SETUP_PIC_REG): Use it.
5315 (SETUP_PIC_REG_LEAF): Use it.
5317 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5321 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5323 (EXPL_FINITE): Likewise.
5325 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5326 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5328 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5330 (EXPL_FINITE): Likewise.
5332 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5333 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5335 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5336 test of -max_value argument for long double.
5337 * sysdeps/i386/fpu/libm-test-ulps: Update.
5338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5340 2012-05-06 David S. Miller <davem@davemloft.net>
5342 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5343 quad soft-float symbols whose references which are compiler
5345 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5347 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5351 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5353 (EXPL_FINITE): Likewise.
5357 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5358 Adjust comments for base varying.
5359 (__expl_finite): Change alias to EXPL_FINITE.
5360 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5362 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5363 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5364 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5365 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5366 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5368 (EXPL_FINITE): Likewise.
5372 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5373 Adjust comments for base varying.
5374 (__expl_finite): Change alias to EXPL_FINITE.
5375 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5380 * math/libm-test.inc (check_float_internal): Correct ulp
5381 calculation for subnormal expected results.
5383 2012-05-06 Andreas Jaeger <aj@suse.de>
5385 * Makeconfig (+math-flags): New, set to -frounding-math.
5386 (+cflags): Add +math-flags so that all of glibc gets compiled with
5389 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5391 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5393 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5399 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5400 (__ieee754_expl): Allow for and saturate large arguments.
5401 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5402 (u_threshold): Likewise.
5403 (__exp): Call __ieee754_exp before checking for overflow and
5405 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5406 (u_threshold): Likewise.
5407 (__expf): Call __ieee754_expf before checking for overflow and
5409 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5410 (u_threshold): Likewise.
5411 (__expl): Call __ieee754_expl before checking for overflow and
5413 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5414 (__ieee754_expl): Allow for and saturate large arguments.
5415 * math/libm-test.inc (exp_test): Add another test. Do not allow
5416 missing overflow exception on overflow.
5417 (expm1_test): Do not allow missing overflow exception on overflow.
5419 * sysdeps/i386/fpu/e_expl.c: Move to ...
5420 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5421 rather than using inline asm.
5422 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5423 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5424 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5426 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5433 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5435 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5436 sysdeps/unix/common/syscalls.list.
5439 (ftruncate): Likewise.
5440 (getrusage): Likewise.
5441 (gettimeofday): Likewise.
5442 (setpgid): Likewise.
5443 (setregid): Likewise.
5444 (setreuid): Likewise.
5445 (sigaction): Likewise.
5446 (truncate): Likewise.
5447 (vhangup): Likewise.
5448 * sysdeps/unix/common/syscalls.list: Remove file.
5449 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5450 * sysdeps/unix/sysv/linux/Implies: Likewise.
5452 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5454 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5456 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5460 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5463 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5466 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5469 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5472 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5475 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5478 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5482 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5486 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5489 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5493 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5497 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5499 * sysdeps/unix/common/bits/dirent.h: Remove file.
5500 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5502 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5503 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5504 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5505 * sysdeps/unix/bsd/isatty.c: Likewise.
5506 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5507 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5508 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5510 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5513 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5514 long double comparison inaccuracies.
5515 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5518 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5520 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5523 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5526 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5527 nonzero digits before rounding a hex value.
5528 * stdlib/tst-strtod.c (tests): Add another test.
5530 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5532 * sysdeps/s390/fpu/libm-test-ulps: Update.
5534 2012-05-03 Andreas Jaeger <aj@suse.de>
5536 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5537 does not get optimized out.
5538 (malloc_opt_barrier): New.
5540 2012-05-03 Andreas Jaeger <aj@suse.de>
5541 Roland McGrath <roland@hack.frob.com>
5543 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5544 intermediate file deletion.
5545 (generated): Add .symlist files.
5547 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5550 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5551 Redirect under this condition.
5552 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5553 [__USE_GNU] (__dprintf_chk): Not under this condition.
5554 [__USE_GNU] (__vdprintf_chk): Likewise.
5555 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5556 under this condition.
5557 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5558 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5559 [__USE_XOPEN2K8] (vdprintf): Likewise.
5560 [__USE_GNU] (__dprintf_chk): Not under this condition.
5561 [__USE_GNU] (__vdprintf_chk): Likewise.
5562 [__USE_GNU] (dprintf): Likewise.
5563 [__USE_GNU] (vdprintf): Likewise.
5565 2012-05-03 Roland McGrath <roland@hack.frob.com>
5567 * elf/Makefile (common-generated): Set this instead of generated for
5568 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5569 $(all-built-dso)-derived lists.
5571 2012-05-03 Andreas Jaeger <aj@suse.de>
5573 * sysdeps/i386/fpu/libm-test-ulps: Update.
5577 * scripts/gen-FAQ.pl: Likewise.
5578 * manual/install.texi (Installation): Point to online location of
5580 * Makefile (files-for-dist): Remove FAQ.
5583 2012-05-02 Allan McRae <allan@archlinux.org>
5585 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5586 (LDFLAGS-reldepmod5.so): Likewise.
5587 (LDFLAGS-reldep6mod1.so): Likewise.
5588 (LDFLAGS-reldep6mod4.so): Likewise.
5589 (LDFLAGS-reldep8mod3.so): Likewise.
5590 (LDFLAGS-unload4mod1.so): Likewise.
5591 (LDFLAGS-unload4mod2.so): Likewise.
5592 (LDFLAGS-tst-initorder): Likewise.
5593 (LDFLAGS-tst-initordera2.so): Likewise.
5594 (LDFLAGS-tst-initordera3.so): Likewise.
5595 (LDFLAGS-tst-initordera4.so): Likewise.
5596 (LDFLAGS-tst-initorderb2.so): Likewise.
5597 (LDFLAGS-noload): Likewise.
5598 (LDFLAGS-next): Likewise.
5599 (LDFLAGS-order2mod1.so): Likewise.
5600 (LDFLAGS-order2mod2.so): Likewise.
5601 (LDFLAGS-tst-initorder2): Likewise.
5602 (LDFLAGS-tst-initorder2a.so): Likewise.
5603 (LDFLAGS-tst-initorder2b.so): Likewise.
5604 (LDFLAGS-tst-initorder2c.so): Likewise.
5605 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5607 2012-05-02 David S. Miller <davem@davemloft.net>
5609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5611 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5614 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5616 2012-05-02 Andreas Jaeger <aj@suse.de>
5618 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5619 since we manipulate rounding mode.
5620 (CPPFLAGS-test-idouble.c): Likewise.
5621 (CPPFLAGS-test-ifloat.c): Likewise.
5622 (CFLAGS-test-ldouble.c): Likewise.
5623 (CFLAGS-test-double.c): Likewise.
5624 (CFLAGS-test-float.c): Likewise.
5625 (CFLAGS-test-misc.c): Likewise.
5626 (CFLAGS-test-test-fenv.c): Likewise.
5628 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5633 comparisons to determine direction to adjust input.
5635 2012-05-01 Roland McGrath <roland@hack.frob.com>
5637 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5638 output to the target.
5640 * scripts/localplt.awk: New file.
5641 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5642 (check-localplt-CFLAGS): Variable removed.
5643 ($(all-built-dso:=.jmprel)): New static pattern rule.
5644 (generated): Add those targets.
5645 (localplt-built-dso): New variable.
5646 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5648 * elf/check-localplt.c: File removed.
5650 * scripts/check-execstack.awk: New file.
5651 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5652 (check-execstack-CFLAGS): Variable removed.
5653 ($(objpfx)check-execstack.h): Target removed.
5654 ($(objpfx)execstack-default): New target.
5655 (generated): Add that instead of check-execstack.h.
5656 ($(all-built-dso:=.phdr)): New static pattern rule.
5657 (generated): Add those targets.
5658 * elf/check-execstack.c: File removed.
5660 * scripts/check-textrel.awk: New file.
5661 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5662 (check-textrel-CFLAGS): Variable removed.
5663 (all-built-dso): Use := to define.o
5664 ($(all-built-dso:=.dyn)): New static pattern rule.
5665 (generated): Add those targets.
5666 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5667 * config.make.in (READELF): New substituted variable.
5668 * elf/check-textrel.c: File removed.
5670 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5672 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5674 * conform/data/ctype.h-data [C99-based standards] (isblank):
5676 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5677 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5679 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5680 Specify type. Require positive value.
5683 [ISO || POSIX] (EILSEQ): Do not expect.
5684 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5685 Specify type. Require positive value.
5686 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5687 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5688 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5689 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5690 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5691 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5693 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5694 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5696 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5697 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5699 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5700 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5701 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5702 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5703 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5704 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5705 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5706 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5707 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5708 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5709 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5710 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5711 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5712 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5713 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5714 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5715 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5716 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5717 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5718 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5719 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5720 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5721 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5722 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5723 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5724 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5725 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5726 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5727 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5728 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5729 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5730 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5731 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5732 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5734 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5735 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5736 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5737 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5738 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5739 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5740 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5741 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5742 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5743 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5744 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5745 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5746 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5747 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5748 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5749 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5750 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5751 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5752 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5753 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5754 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5755 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5756 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5757 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5758 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5759 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5760 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5761 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5762 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5764 (FLT_ROUNDS): Expect as macro, not constant.
5765 (FLT_MANT_DIG): Use macro-int-constant.
5766 (DBL_MANT_DIG): Likewise.
5767 (LDBL_MANT_DIG): Likewise.
5768 (FLT_DIG): Likewise.
5769 (DBL_DIG): Likewise.
5770 (LDBL_DIG): Likewise.
5771 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5772 (DBL_MIN_EXP): Likewise.
5773 (LDBL_MIN_EXP): Likewise.
5774 (FLT_MAX_EXP): Use macro-int-constant.
5775 (DBL_MAX_EXP): Likewise.
5776 (LDBL_MAX_EXP): Likewise.
5777 (FLT_MAX_10_EXP): Likewise.
5778 (DBL_MAX_10_EXP): Likewise.
5779 (LDBL_MAX_10_EXP): Likewise.
5780 (FLT_MAX): Use macro-constant.
5781 (DBL_MAX): Likewise.
5782 (LDBL_MAX): Likewise.
5783 (FLT_EPSILON): Use macro-constant. Give upper bound.
5784 (DBL_EPSILON): Likewise.
5785 (LDBL_EPSILON): Likewise.
5786 (FLT_MIN): Likewise.
5787 (DBL_MIN): Likewise.
5788 (LDBL_MIN): Likewise.
5789 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5790 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5791 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5792 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5793 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5794 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5795 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5796 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5797 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5798 [ISO11] (FLT_TRUE_MIN): Likewise.
5799 [ISO11] (LDBL_TRUE_MIN): Likewise.
5800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5801 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5802 (SCHAR_MIN): Use macro-int-constant. Specify type.
5803 (SCHAR_MAX): Likewise.
5804 (UCHAR_MAX): Likewise.
5805 (CHAR_MIN): Likewise.
5806 (CHAR_MAX): Likewise.
5807 (MB_LEN_MAX): Use macro-int-constant.
5808 (SHRT_MIN): Use macro-int-constant. Specify type.
5809 (SHRT_MAX): Likewise.
5810 (USHRT_MAX): Likewise.
5811 (INT_MAX): Likewise.
5812 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5814 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5816 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5818 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5819 bound negative. Suffix upper bound with "L".
5820 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5822 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5824 [C99-based standards] (LLONG_MAX): Likewise.
5825 [C99-based standards] (ULLONG_MAX): Likewise.
5826 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5828 [ISO11] (max_align_t): Require type.
5829 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5831 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5832 from $CFLAGS, without defining away __attribute__ calls.
5833 (checknamespace): Use $CFLAGS_namespace.
5835 * conform/conformtest.pl (@keywords): Only include C99 keywords
5836 for standards based on C99 or C11.
5838 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5840 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5843 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5844 usability of symbols in #if.
5846 * conform/conformtest.pl: If macro or constant types start
5847 "promoted:", expect the symbol to be of the following type
5848 promoted by the integer promotions.
5850 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5851 in one place. Also handle "macro-constant".
5853 * conform/conformtest.pl: Only accept expected macro values with
5854 "==". Parse all "macro" lines in one place.
5855 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5857 * conform/conformtest.pl: Handle braced types on "constant" lines
5858 instead of handling "typed-constant".
5859 * conform/data/signal.h-data: Use "constant" instead of
5862 * conform/conformtest.pl: Handle "optional-" at start of lines in
5863 one place rather than duplicating several cases. Handle each
5864 format of "macro" line with initial "optional-".
5866 * conform/conformtest.pl: Only accept expected constant or
5867 optional-constant values with "==". Parse all "constant" lines in
5868 one place. Parse all "optional-constant" lines in one place.
5869 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5870 * conform/data/fmtmsg.h-data: Likewise.
5871 * conform/data/netinet/in.h-data: Likewise.
5872 * conform/data/tar.h-data: Likewise.
5873 * conform/data/limits.h-data: Use "==" form on "constant" and
5874 "optional-constant" lines.
5876 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5877 Use -std=c99 for XOPEN2K.
5878 (@knownproblems): Remove.
5879 (newtoken): Don't check %isknown.
5881 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5882 Do not expect macro.
5883 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5884 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5885 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5886 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5887 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5888 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5889 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5890 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5891 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5892 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5893 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5894 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5895 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5896 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5897 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5898 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5899 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5900 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5901 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5902 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5903 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5904 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5905 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5906 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5907 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5908 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5909 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5910 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5911 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5912 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5913 [XPG3] (acosh): Likewise.
5914 [XPG3] (asinh): Likewise.
5915 [XPG3] (atanh): Likewise.
5916 [XPG3] (cbrt): Likewise.
5917 [XPG3] (expm1): Likewise.
5918 [XPG3] (ilogb): Likewise.
5919 [XPG3] (log1p): Likewise.
5920 [XPG3] (logb): Likewise.
5921 [XPG3] (nextafter): Likewise.
5922 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5923 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5924 [XPG3] (remainder): Likewise.
5925 [XPG3] (rint): Likewise.
5926 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5927 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5928 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5929 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5930 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5931 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5932 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5933 [UNIX98 || XOPEN2K] (scalb): Expect.
5934 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5935 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5936 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5937 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5938 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5939 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5940 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5941 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5942 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5943 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5944 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5945 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5946 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5947 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5948 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5949 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5950 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5951 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5952 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5953 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5954 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5955 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5956 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5957 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5958 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5959 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5960 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5961 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5962 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5963 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5964 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5965 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5966 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5967 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5968 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5969 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5970 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5971 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5972 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5973 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5974 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5975 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5976 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5977 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5978 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5979 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5980 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5981 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5982 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5983 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5984 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5985 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5986 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5987 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5988 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5989 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5990 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5991 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5992 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5993 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5994 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5995 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5996 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5997 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5998 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5999 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6002 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6003 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6004 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6011 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6012 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6013 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6015 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6016 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6017 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6018 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6019 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6020 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6021 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6022 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6023 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6024 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6025 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6026 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6027 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6028 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6029 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6032 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6033 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6035 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6036 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6037 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6041 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6042 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6043 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6045 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6046 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6047 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6048 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6049 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6050 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6051 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6052 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6053 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6054 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6055 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6056 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6057 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6058 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6059 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6060 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6061 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6062 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6063 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6064 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6065 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6066 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6067 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6068 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6069 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6070 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6072 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6073 _XOPEN_SOURCE_EXTENDED for XPG4.
6075 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6077 * Makeconfig (localtime): Remove variable.
6078 (inst_localtime-file): Likewise.
6080 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6101 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6105 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6106 comparisons to determine direction to adjust input.
6107 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6108 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6109 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6111 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6113 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6115 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6116 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6118 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6120 * math/libm-test.inc (nexttoward_test): Add more tests.
6122 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6125 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6126 in version GLIBC_2.1, not GLIBC_2.0.
6127 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6130 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6133 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6135 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6136 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6137 * math/libm-test.inc (acos_test): Add more tests.
6138 (asin_test): Likewise.
6139 * sysdeps/i386/fpu/libm-test-ulps: Update.
6140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6143 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6145 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6146 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6147 * math/libm-test.inc (acos_test_tonearest): New function.
6148 (acos_test_towardzero): Likewise.
6149 (acos_test_downward): Likewise.
6150 (acos_test_upward): Likewise.
6151 (asin_test_tonearest): Likewise.
6152 (asin_test_towardzero): Likewise.
6153 (asin_test_downward): Likewise.
6154 (asin_test_upward): Likewise.
6155 (main): Call the new functions.
6156 * sysdeps/i386/fpu/libm-test-ulps: Update.
6157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6161 * math/e_exp10.c: Include <float.h>.
6162 (__ieee754_exp10): Handle underflow here rather than multiplying
6163 large negative argument by M_LN10.
6164 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6166 * math/e_exp10l.c: Include <float.h>.
6167 (__ieee754_exp10l): Handle underflow here rather than multiplying
6168 large negative argument by M_LN10l.
6169 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6170 spurious overflow exception on underflow.
6172 2012-04-29 Marek Polacek <polacek@redhat.com>
6174 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6175 (__fortify_function): New macro.
6176 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6177 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6178 __extern_always_inline.
6179 * libio/bits/stdio2.h: Likewise.
6180 * libio/bits/stdio.h: Likewise.
6181 * string/string.h: Likewise.
6182 * string/bits/string3.h: Likewise.
6183 * include/stdio.h: Likewise.
6184 * stdlib/bits/stdlib.h: Likewise.
6185 * stdlib/stdlib.h: Likewise.
6186 * rt/bits/mqueue2.h: Likewise.
6187 * rt/mqueue.h: Likewise.
6188 * posix/bits/unistd.h: Likewise.
6189 * posix/unistd.h: Likewise.
6190 * io/bits/poll2.h: Likewise.
6191 * io/bits/fcntl2.h: Likewise.
6192 * io/fcntl.h: Likewise.
6193 * io/sys/poll.h: Likewise.
6194 * misc/bits/syslog.h: Likewise.
6195 * misc/bits/syslog-ldbl.h: Likewise.
6196 * misc/sys/syslog.h: Likewise.
6197 * socket/bits/socket2.h: Likewise.
6198 * socket/sys/socket.h: Likewise.
6199 * debug/tst-chk1.c: Likewise.
6200 * wcsmbs/bits/wchar2.h: Likewise.
6201 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6202 * wcsmbs/wchar.h: Likewise.
6204 2012-04-29 Andreas Jaeger <aj@suse.de>
6206 * Makerules (tests): Remove enable-check-abi protection.
6207 (check-abi-warn): Remove.
6208 (check-abi-%): Remove check-abi-warn usage.
6210 * configure.in: Remove check-abi configure option.
6211 * configure: Regenerated.
6212 * config.make.in (enable-check-abi): Remove.
6214 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6217 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6218 double functions to double *_finite functions.
6221 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6222 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6224 * stdio-common/Makefile (tests): Add tst-sprintf3.
6225 * stdio-common/tst-sprintf3.c: New file.
6227 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6228 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6230 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6232 * conform/conformtest.pl: Remove duplicate typed-constant
6235 2012-04-28 David S. Miller <davem@davemloft.net>
6237 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6238 (check-abi-%): Remove AWK script prerequisite and explicit
6240 (check-abi): Rewrite to just diff the symlist with the abilist.
6241 (config-tls, config-abi-config): Delete, no longer used.
6242 (update-abi-%): Remove AWK script and explicit abilist directory.
6243 (update-abi): Rewrite to simply compare and conditionally copy the
6244 symlist and the sysdep abilist file. Remove update-abi-config
6246 * abilist/ld.abilist: Remove.
6247 * abilist/libBrokenLocale.abilist: Remove.
6248 * abilist/libanl.abilist: Remove.
6249 * abilist/libcrypt.abilist: Remove.
6250 * abilist/libdl.abilist: Remove.
6251 * abilist/librt.abilist: Remove.
6252 * abilist/libthread_db.abilist: Remove.
6253 * abilist/libutil.abilist: Remove.
6254 * scripts/extract-abilist.awk: Remove.
6255 * scripts/merge-abilist.awk: Remove.
6256 * sysdeps/generic/libcidn.abilist: New file.
6257 * sysdeps/generic/libnss_compat.abilist: New file.
6258 * sysdeps/generic/libnss_db.abilist: New file.
6259 * sysdeps/generic/libnss_dns.abilist: New file.
6260 * sysdeps/generic/libnss_files.abilist: New file.
6261 * sysdeps/generic/libnss_hesiod.abilist: New file.
6262 * sysdeps/generic/libnss_nis.abilist: New file.
6263 * sysdeps/generic/libnss_nisplus.abilist: New file.
6264 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6265 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6266 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6268 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6269 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6270 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6271 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6272 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6273 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6274 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6275 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6276 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6278 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6279 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6280 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6281 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6283 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6284 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6285 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6286 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6287 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6288 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6290 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6291 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6292 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6294 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6397 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6398 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6399 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6402 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6403 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6404 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6405 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6406 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6407 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6408 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6409 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6410 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6462 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6464 * conform/conformtest.pl: Fix typo in handling typed-constant from
6467 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6469 * README: Cut down references to pre-2.6 Linux kernels and
6470 Linuxthreads. Update lists of configurations in libc and ports
6471 and sort alphabetically. Say "or newer" with Linux kernel version
6474 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6476 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6479 * math/libm-test.inc (logb_test_downward): New test to expose
6480 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6483 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6486 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6488 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6489 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6491 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6493 * sysdeps/unix/i386/brk.S: Remove file.
6494 * sysdeps/unix/i386/dl-brk.S: Likewise.
6495 * sysdeps/unix/i386/pipe.S: Likewise.
6496 * sysdeps/unix/i386/sigreturn.S: Likewise.
6497 * sysdeps/unix/i386/syscall.S: Likewise.
6498 * sysdeps/unix/i386/vfork.S: Likewise.
6499 * sysdeps/unix/i386/wait.S: Likewise.
6501 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6502 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6504 * configure.in (arm*-none*): Do not allow without
6505 --enable-hacker-mode.
6506 (netbsd*): Remove case setting base_os.
6507 (386bsd*): Likewise.
6508 (freebsd*): Likewise.
6512 (ultrix*): Likewise.
6513 (newsos*): Likewise.
6523 (solaris[2-9]*): Likewise.
6525 * configure: Regenerated.
6527 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6530 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6531 overflow or cancellation in calculating denominator.
6532 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6534 down expression to avoid unexpected rounding in newer GCCs.
6535 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6537 2012-04-26 David S. Miller <davem@davemloft.net>
6539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6540 long-double compat symbols.
6541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6555 2012-04-25 David S. Miller <davem@davemloft.net>
6557 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6558 HWCAP_* values only after the memory barriers have been defined.
6559 (atomic_full_barrier): Define.
6560 (atomic_read_barrier): Define.
6561 (atomic_write_barrier): Define.
6563 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6565 * shlib-versions: Add libgcc_s version information.
6566 * sysdeps/generic/libgcc_s.h: Remove.
6567 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6569 * sysdeps/gnu/unwind-resume.c: Likewise.
6570 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6572 2012-04-25 David S. Miller <davem@davemloft.net>
6574 * sysdeps/unix/sparc/brk.S: Delete.
6575 * sysdeps/unix/sparc/dl-brk.S: Delete.
6576 * sysdeps/unix/sparc/pipe.S: Delete.
6577 * sysdeps/unix/sparc/sysdep.S: Delete.
6578 * sysdeps/unix/sparc/sysdep.h: Delete.
6579 * sysdeps/unix/sparc/vfork.S: Delete.
6580 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6581 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6582 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6583 ret_ERRVAL, r0, r1, MOVE): Define.
6584 (JUMPTARGET): Remove.
6585 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6586 sysdeps/unix/sparc/sysdep.h
6587 (ENTRY, END): Remove.
6588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6590 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6592 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6593 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6596 * timezone/README: Update upstream location and email address for
6598 * timezone/zdump.c: Update from tzcode 2012b.
6599 * timezone/zic.c: Likewise.
6601 * configure.in (libc_cv_as_needed): Remove test.
6602 * configure: Regenerated.
6603 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6604 conditional definition.
6605 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6606 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6607 * config.make.in (have-as-needed): Remove variable.
6609 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6610 Paul Pluzhnikov <ppluzhnikov@google.com>
6612 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6615 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6617 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6618 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6619 * sysdeps/sh/strlen.S: Likewise.
6621 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6623 * sysdeps/unix/fork.S: Remove file.
6624 * sysdeps/unix/i386/fork.S: Likewise.
6625 * sysdeps/unix/sparc/fork.S: Likewise.
6627 * sysdeps/unix/system.c: Remove file.
6628 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6630 * sysdeps/unix/getegid.S: Remove file.
6631 * sysdeps/unix/geteuid.S: Likewise.
6633 2012-04-24 Roland McGrath <roland@hack.frob.com>
6635 * scripts/check-localplt.awk: New file.
6636 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6638 * scripts/data/localplt-generic.data: Add a comment.
6640 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6641 NODE when __dir_mkfile failed.
6642 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6643 Reported by Ludovic Courtès <ludo@gnu.org>.
6645 2012-04-24 Andreas Jaeger <aj@suse.de>
6647 * Makerules (common-clean): Also remove gen-as-const-headers
6650 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6652 * Makerules (native-compile): Do not change working directory for
6653 build. Use $(OUTPUT_OPTION) in command.
6654 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6656 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6659 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6660 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6661 * math/libm-test.inc (floor_test): Add more tests.
6662 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6664 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6666 * sysdeps/unix/getdents.c: Remove file.
6667 * sysdeps/unix/sysv/getdents.c: Likewise.
6668 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6670 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6671 sysdeps/unix/mman/syscalls.list.
6673 (mprotect): Likewise.
6676 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6677 * sysdeps/unix/mman/syscalls.list: Remove.
6678 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6680 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6681 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6682 * configure: Regenerated.
6683 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6685 * config.make.in (libgcc_s_suffix): Remove variable.
6687 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6689 * sysdeps/unix/sysv/gethostname.c: Move to ...
6690 * sysdeps/posix/gethostname.c: ... here.
6692 * sysdeps/unix/execve.S: Remove file.
6694 * sysdeps/unix/_exit.S: Remove file.
6696 2012-04-23 Andreas Jaeger <aj@suse.de>
6699 * manual/Makefile: Remove make dist support, there's no
6700 need for a stand-alone documentation tar ball.
6701 (TEXI2DVI): Define always, it's not in Makeconfig.
6705 (glibc-doc-$(edition).tar): Removed
6709 (ETAGS): Remove, it's in Makeconfig.
6710 (move-if-change): Remove, it's in Makeconfig.
6712 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6715 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6716 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6717 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6718 (strtod_l, strtof_l, strtold_l): Remove __wur.
6719 It is not necessarily an error to ignore strtol's return value.
6720 One can reliably look at the stored endptr to decide whether
6721 the number had valid syntax.
6723 2012-04-21 Andreas Jaeger <aj@suse.de>
6726 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6728 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6730 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6731 * sysdeps/unix/sysv/Versions: Remove file.
6733 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6738 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6741 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6742 version from __vm86.
6744 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6746 * sysdeps/unix/common/lxstat.c: Remove file.
6747 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6749 * sysdeps/unix/sysv/Makefile: Remove file.
6751 * sysdeps/unix/sysv/direct.h: Remove file.
6753 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6754 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6755 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6756 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6757 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6758 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6759 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6761 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6763 * sysdeps/unix/xmknod.c: Remove file.
6764 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6766 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6768 * sysdeps/unix/sysv/i386/time.S: Remove file.
6770 * sysdeps/unix/fxstat.c: Remove file.
6771 * sysdeps/unix/xstat.c: Likewise.
6772 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6774 * sysdeps/unix/sysv/sigaction.c: Remove file.
6776 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6777 (sysdep_headers): Remove variable.
6778 [termio.h not in sysdep_headers] (generated): Likewise.
6779 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6780 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6781 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6782 * sysdeps/unix/sysv/tcflow.c: Likewise.
6783 * sysdeps/unix/sysv/tcflush.c: Likewise.
6784 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6785 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6786 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6787 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6788 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6790 * sysdeps/unix/siglist.c: Remove file.
6792 * sysdeps/unix/getppid.S: Remove file.
6794 * sysdeps/unix/mkdir.c: Remove file.
6795 * sysdeps/unix/rmdir.c: Likewise.
6797 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6799 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6801 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6802 errlist-compat value.
6804 2012-04-18 David S. Miller <davem@davemloft.net>
6806 * sysdeps/generic/memcopy.h (reg_char): Delete.
6807 * debug/strcat_chk.c: Use char, not reg_char.
6808 * debug/strcpy_chk.c: Likewise.
6809 * debug/strncat_chk.c: Likewise.
6810 * debug/strncpy_chk.c: Likewise.
6811 * string/memchr.c: Likewise.
6812 * string/memrchr.c: Likewise.
6813 * string/rawmemchr.c: Likewise.
6814 * string/strcat.c: Likewise.
6815 * string/strchr.c: Likewise.
6816 * string/strchrnul.c: Likewise.
6817 * string/strcmp.c: Likewise.
6818 * string/strcpy.c: Likewise.
6819 * string/strncat.c: Likewise.
6820 * string/strncmp.c: Likewise.
6821 * string/strncpy.c: Likewise.
6823 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6825 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6826 __builtin_memcopy is called when src and dest ranges are known to not
6829 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6831 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6832 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6833 fwd_align_merge macro call.
6834 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6835 bwd_align_merge macro call.
6836 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6838 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6840 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6841 bwd_align_merge macros.
6842 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6843 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6844 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6846 2012-04-18 David S. Miller <davem@davemloft.net>
6848 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6850 2012-04-18 Andreas Jaeger <aj@suse.de>
6853 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6854 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6855 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6857 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6858 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6859 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6861 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6862 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6863 Adjust for changed ldbl-128 files.
6865 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6866 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6867 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6869 2012-04-17 David S. Miller <davem@davemloft.net>
6871 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6873 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6875 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6876 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6877 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6878 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6879 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6880 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6882 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6885 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6886 * math/libm-test.inc: Add ilogb errno and exception tests.
6887 * math/w_ilogb.c: New file: ilogb wrapper.
6888 * math/w_ilogbf.c: New file: ilogbf wrapper.
6889 * math/w_ilogbl.c: New file: ilogbl wrapper.
6890 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6891 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6892 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6893 exception being thrown with 0.0 as argument.
6894 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6895 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6896 exception being thrown with 0.0 as argument.
6897 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6898 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6899 exception being thrown with 0.0 as argument.
6900 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6901 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6902 exception being thrown with 0.0 as argument.
6903 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6904 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6905 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6906 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6907 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6908 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6909 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6910 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6911 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6913 2012-04-17 Petr Baudis <pasky@ucw.cz>
6915 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6918 2012-04-16 Marek Polacek <polacek@redhat.com>
6920 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6922 2012-04-16 Marek Polacek <polacek@redhat.com>
6924 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6925 operands of fdivp instruction.
6927 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6929 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6930 * elf/tst-auditmod3b.c: Likewise.
6931 * elf/tst-auditmod4b.c: Likewise.
6932 * elf/tst-auditmod5b.c: Likewise.
6933 * elf/tst-auditmod6b.c: Likewise.
6934 * elf/tst-auditmod6c.c: Likewise.
6935 * elf/tst-auditmod7b.c: Likewise.
6936 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6937 * sysdeps/x86_64/preconfigure.in: Likewise.
6938 * sysdeps/x86_64/preconfigure: Regenerated.
6940 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6942 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6945 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6948 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6950 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6953 * locale/iso-639.def: Fix gl language name. Spotted by
6956 2012-04-12 Roland McGrath <roland@hack.frob.com>
6959 * libio/libio.h (__io_write_fn): Update comment.
6961 2012-04-12 Petr Baudis <pasky@ucw.cz>
6964 * stdio.texi (Hook Functions): The user provided writer function
6965 is not allowed to return -1.
6967 2012-04-11 David S. Miller <davem@davemloft.net>
6969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6971 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6973 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6974 Add a leading slash to rtkaio.
6976 2012-04-11 Jim Meyering <meyering@redhat.com>
6979 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6980 It is not necessarily an error to ignore fwrite's return
6981 value. One can reliably use ferror to test for errors after
6984 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6986 * bits/types.h (__snseconds_t): New type.
6987 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6989 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6990 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6991 (__SNSECONDS_T_TYPE): Likewise.
6992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6993 (__SNSECONDS_T_TYPE): Likewise.
6994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6995 (__SNSECONDS_T_TYPE): Likewise.
6997 2012-04-10 Andreas Jaeger <aj@suse.de>
7000 * manual/time.texi (Processor Time): Return type of times is
7001 elapsed real time since an arbitrary point in the past.
7002 (CPU Time): Move CLK_TCK from here...
7003 (Processor Time): ...to here. Correct description.
7004 * manual/conf.texi (Constants for Sysconf): Correct description of
7007 2012-04-10 David S. Miller <davem@davemloft.net>
7010 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7011 where the is a gap between DT_REL(A) and DT_JMPREL.
7013 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7015 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7016 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7017 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7019 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7021 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7022 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7023 (dl_main): Handle --inhibit-cache.
7024 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7026 * elf/dl-load.c (_dl_map_object): Use it.
7027 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7029 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7032 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7033 (__ieee754_powl): Saturate large exponents rather than testing for
7034 overflow of y*log2(x).
7035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7036 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7040 * math/s_ctan.c: Include <float.h>.
7041 (__ctan): Avoid internal overflow or cancellation in calculating
7043 * math/s_ctanf.c: Likewise.
7044 * math/s_ctanl.c: Likewise.
7045 * math/s_ctanh.c: Likewise.
7046 * math/s_ctanhf.c: Likewise.
7047 * math/s_ctanhl.c: Likewise.
7048 * math/libm-test.inc (ctan_test): Add more tests.
7049 (ctanh_test): Likewise.
7050 * sysdeps/i386/fpu/libm-test-ulps: Update.
7051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7053 2012-04-09 Andreas Jaeger <aj@suse.de>
7056 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7057 is an optional BSD extension.
7060 * manual/stdio.texi (Opening Streams): Document additional fopen
7063 2012-04-09 Roland McGrath <roland@hack.frob.com>
7065 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7066 %eax without telling the compiler.
7068 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7071 * manual/install.texi: Use sourceware.org.
7073 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7076 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7077 (__ieee754_pow): Generate overflow and underflow using huge*huge
7078 and tiny*tiny rather than just returning constant infinity or zero
7079 for large exponents.
7080 * math/libm-test.inc (pow_test): Require overflow exceptions for
7081 applicable cases of large exponents.
7084 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7085 (__ieee754_pow): Use iterative multiplication algorithm only for
7086 integer exponents with absolute value below 1024. Check for odd
7087 integer exponents when using algorithm for real exponents.
7088 * math/libm-test.inc (pow_test): Add more tests.
7089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7091 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7094 * math/libm-test.inc (exp_test): Do not allow overflow exception
7097 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7100 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7101 instead of __kernel_standard_f.
7103 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7105 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7106 * sysdeps/x86_64/memset_chk.S: Likewise.
7108 2012-04-08 Andreas Jaeger <aj@suse.de>
7111 * manual/startup.texi (Environment Access): Describe return value
7112 for putenv and setenv.
7115 * manual/filesys.texi (Directory Entries): Add description for
7119 * manual/filesys.texi (Directory Entries): Clarify that it's file
7120 system not operating system in the description of DT_UNKNOWN.
7123 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7125 2012-04-08 Stephen Compall <s11@member.fsf.org>
7128 * manual/llio.texi (Opening and Closing Files): Add cross
7129 reference to explain mode argument.
7131 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7133 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7134 * sysdeps/x86_64/memset_chk.S: Likewise.
7136 2012-04-07 David S. Miller <davem@davemloft.net>
7138 * elf/elf.h (R_SPARC_WDISP10): Define.
7139 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7141 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7142 R_SPARC_SIZE64 and R_SPARC_H34.
7144 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7146 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7147 conditions and remove no longer applicable assertion.
7149 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7151 * bits/byteswap.h: Include <features.h>.
7152 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7153 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7155 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7157 * bits/byteswap.h (__bswap_16): Removed.
7158 Include <bits/byteswap-16.h> to get __bswap_16.
7159 * sysdeps/i386/bits/byteswap.h: Likewise.
7160 * sysdeps/s390/bits/byteswap.h: Likewise.
7161 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7162 * bits/byteswap-16.h: New file.
7163 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7164 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7165 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7166 * string/Makefile (headers): Add bits/byteswap-16.h.
7168 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7171 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7173 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7174 * nss/tst-nss-static.c: New.
7176 2012-04-06 Robert Millan <rmh@gnu.org>
7179 * manual/llio.texi (File Position Primitive): lseek
7180 refers to WHENCE when it really means OFFSET.
7182 2012-04-06 Andreas Jaeger <aj@suse.de>
7184 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7185 strncmp declarations.
7187 * abilist/libc.abilist: Add __poll and __ppoll.
7189 2012-04-05 David S. Miller <davem@davemloft.net>
7191 * scripts/check-local-headers.sh: Accept a host triplet in the
7192 path matched by the exclude regexp.
7194 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7196 * sysdeps/powerpc/powerpc32/dl-machine.h
7197 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7198 * sysdeps/s390/s390-32/dl-machine.h
7199 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7200 * sysdeps/sparc/sparc32/dl-machine.h
7201 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7202 * sysdeps/sparc/sparc64/dl-machine.h
7203 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7205 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7207 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7208 undefined symbol errors.
7210 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7213 2012-04-05 Michael Matz <matz@suse.de>
7216 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7218 2012-04-05 Andreas Jaeger <aj@suse.de>
7221 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7224 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7226 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7227 which ROUND is no valid rounding mode.
7229 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7231 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7233 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7235 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7237 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7238 an exception using FPU order intentionally.
7240 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7242 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7243 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7244 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7245 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7247 2012-04-05 Simon Josefsson <simon@josefsson.org>
7250 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7251 EINVAL when BUFLEN is too smal.
7253 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7256 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7257 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7259 2012-04-03 Andreas Jaeger <aj@suse.de>
7262 * manual/setjmp.texi (System V contexts): Fix sentence.
7265 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7266 New macro for this case.
7267 [!__GNUC__] (__bswap_64): New inline function for this case.
7268 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7269 * bits/byteswap.h: Likewise.
7270 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7271 ull, guard with __GLIBC_HAVE_LONG_LONG.
7273 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7274 __GLIBC_HAVE_LONG_LONG.
7276 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7277 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7279 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7282 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7283 inptr and inend, rather than using last_ch.
7285 2012-04-02 David S. Miller <davem@davemloft.net>
7287 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7288 * stdio-common/printf-parse.h (read_int): Change return type to
7289 'int', return -1 on INT_MAX overflow.
7290 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7291 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7292 overflows INT_MAX. Check for overflow of in-format-string precision
7293 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7294 SIZE_MAX not INT_MAX for integer overflow test.
7295 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7296 skip the construct in the format string but do not record anything.
7297 * stdio-common/bug22.c: Adjust to test both width/prevision
7298 INT_MAX overflow as well as total length INT_MAX overflow. Check
7299 explicitly for proper errno values.
7301 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7303 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7305 * string/test-strcmp.c [! WIDE]: Likewise.
7306 * time/tst-mktime2.c: Likewise for INT_MAX.
7307 * string/test-string.h: #include <sys/param.h> for MIN.
7309 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7310 * sysdeps/i386/init-first.c (init): Likewise.
7311 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7312 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7313 * sysdeps/sh/init-first.c (init): Likewise.
7315 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7317 * po/ru.po: Update from translation team.
7318 * po/vi.po: Likewise.
7320 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7322 * resolv/nss_dns/dns-host.c: Merge copyright years.
7324 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7326 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7327 Optimize memcpy with prefetch if
7328 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7329 src, dst pointers have unequal 16 byte alignments.
7331 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7334 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7335 from a CNAME entry and return the minimum ttl for the query.
7336 (gaih_getanswer_slice): Likewise.
7338 2012-03-30 Jeff Law <law@redhat.com>
7340 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7342 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7343 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7345 * resolv/nss_dns/dns-host.c: Update copyright year.
7347 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7349 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7350 requests to save a system call. Fix check that all bytes are sent.
7352 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7353 comments for sendmmsg.
7355 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7358 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7359 with only 1 character between 0x0041 and 0x01b0.
7360 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7361 * wcsmbs/tst-mbsnrtowcs.c: New file.
7363 2012-03-29 David S. Miller <davem@davemloft.net>
7365 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7366 small copies by hand.
7368 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7371 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7372 _nss_compat_initgroups_dyn): Fall back to malloc/free
7373 for large group memberships.
7375 2012-03-28 David S. Miller <davem@davemloft.net>
7377 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7378 that branches into memcpy.
7379 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7380 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7381 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7382 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7385 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7387 * sysdeps/sparc/mempcpy.S: New file.
7389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7390 the IFUNC routine in the libc case.
7391 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7393 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7394 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7395 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7396 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7397 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7398 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7399 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7400 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7402 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7403 loop to 256 bytes instead of 64 bytes and fix test signedness.
7405 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7406 * sysdeps/sparc/sparc32/Makefile: rather than here...
7407 * sysdeps/sparc/sparc64/Makefile: and here.
7409 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7411 * malloc/mallocbug.c: Avoid warnings about unused variables.
7413 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7416 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7417 in the right place. Discard and retry query if response is
7418 larger than input buffer size.
7420 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7425 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7426 x for large integer exponent.
7427 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7428 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7429 sign of result as needed afterwards.
7430 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7431 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7432 result for underflowing pow the same as for overflow.
7433 (__kernel_standard_l): Handle powl overflow and underflow here
7434 rather than calling __kernel_standard.
7435 * math/libm-test.inc (pow_test): Add more tests.
7450 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7451 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7452 (__kernel_standard_l): New function.
7453 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7455 * math/w_acosl.c (__acosl): Likewise.
7456 * math/w_asinl.c (__asinl): Likewise.
7457 * math/w_atan2l.c (__atan2l): Likewise.
7458 * math/w_atanhl.c (__atanhl): Likewise.
7459 * math/w_coshl.c (__coshl): Likewise.
7460 * math/w_exp10l.c (__exp10l): Likewise.
7461 * math/w_exp2l.c (__exp2l): Likewise.
7462 * math/w_fmodl.c (__fmodl): Likewise.
7463 * math/w_hypotl.c (__hypotl): Likewise.
7464 * math/w_j0l.c (__j0l, __y0l): Likewise.
7465 * math/w_j1l.c (__j1l, __y1l): Likewise.
7466 * math/w_jnl.c (__jnl, __ynl): Likewise.
7467 * math/w_lgammal.c (__lgammal): Likewise.
7468 * math/w_log10l.c (__log10l): Likewise.
7469 * math/w_log2l.c (__log2l): Likewise.
7470 * math/w_logl.c (__logl): Likewise.
7471 * math/w_powl.c (__powl): Likewise.
7472 * math/w_remainderl.c (__remainderl): Likewise.
7473 * math/w_scalbl.c (sysv_scalbl): Likewise.
7474 * math/w_sinhl.c (__sinhl): Likewise.
7475 * math/w_sqrtl.c (__sqrtl): Likewise.
7476 * math/w_tgammal.c (__tgammal): Likewise.
7477 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7478 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7479 * math/libm-test.inc (acos_test): Add more tests.
7480 (acosh_test): Likewise.
7481 (asin_test): Likewise.
7482 (atanh_test): Likewise.
7483 (exp_test): Likewise.
7484 (exp10_test): Likewise.
7485 (exp2_test): Likewise.
7486 (expm1_test): Likewise.
7487 (lgamma_test): Likewise.
7488 (log_test): Likewise.
7489 (log10_test): Likewise.
7490 (log1p_test): Likewise.
7491 (log2_test): Likewise.
7492 (pow_test): Do not allow some spurious overflow exceptions.
7493 (sqrt_test): Add more tests.
7494 (tgamma_test): Likewise.
7495 (y0_test): Likewise.
7496 (y1_test): Likewise.
7497 (yn_test): Likewise.
7499 2012-03-27 Anton Blanchard <anton@samba.org>
7501 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7503 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7504 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7505 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7507 2012-03-27 David S. Miller <davem@davemloft.net>
7509 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7511 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7514 2012-03-27 Andreas Jaeger <aj@suse.de>
7516 * sysdeps/x86_64/elf/configure.in: Moved to ...
7517 * sysdeps/x86_64/configure.in: ... here.
7518 * sysdeps/x86_64/elf/start.S: Moved to ...
7519 * sysdeps/x86_64/start.S: ... here.
7520 * sysdeps/x86_64/elf/configure: Delete.
7522 * sysdeps/x86_64/configure.in: Merge contents from
7523 sysdeps/i386/configure.in (without i686 check).
7525 * sysdeps/i386/elf/Versions: Merge into ...
7526 * sysdeps/i386/Versions: ... this.
7527 * sysdeps/i386/elf/Versions: Delete file.
7528 * sysdeps/i386/elf/start.S: Moved to ...
7529 * sysdeps/i386/start.S: ...here.
7530 * sysdeps/i386/elf/configure.in: Merge into...
7531 * sysdeps/i386/configure.in: ...here.
7532 * sysdeps/i386/elf/configure.in: Delete file.
7533 * sysdeps/i386/elf/configure: Delete file.
7535 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7536 * debug/backtracesyms.c: ... here.
7537 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7538 * debug/backtracesymsfd.c: ... here.
7539 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7540 * sysdeps/generic/ifunc-sel.h: ... here.
7542 * sysdeps/unix/i386/start.c: Delete file.
7543 * sysdeps/unix/sparc/start.c: Delete file.
7544 * sysdeps/unix/start.c: Delete file.
7546 * sysdeps/sh/elf/configure.in: Moved to ...
7547 * sysdeps/sh/configure.in: ... here.
7548 * sysdeps/sh/elf/start.S: Moved to ...
7549 * sysdeps/sh/start.S: ... here.
7550 * sysdeps/sh/elf/configure: Delete file.
7552 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7553 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7554 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7555 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7556 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7557 * sysdeps/powerpc/powerpc64/start.S: here.
7558 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7559 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7560 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7561 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7562 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7564 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7565 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7566 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7567 * sysdeps/powerpc/powerpc32/start.S: ... here.
7568 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7569 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7570 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7572 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7573 * sysdeps/powerpc/ifunc-sel.h: ... here.
7574 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7575 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7577 * sysdeps/sparc/elf/configure.in: Moved to ...
7578 * sysdeps/sparc/configure.in: ... here.
7579 * sysdeps/sparc/elf/configure: Delete file.
7580 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7581 * sysdeps/sparc/sparc32/start.S: ... here.
7582 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7583 * sysdeps/sparc/sparc64/start.S: ... here.
7584 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7585 * sysdeps/sparc/sparc32/Makefile: ... this.
7586 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7587 * sysdeps/sparc/sparc64/Makefile: ... this.
7589 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7590 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7591 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7592 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7593 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7594 * sysdeps/s390/s390-32/setjmp.S: ... here.
7595 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7596 * sysdeps/s390/s390-32/configure.in: ... here.
7597 * sysdeps/s390/s390-32/elf/configure: Delete file.
7598 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7599 * sysdeps/s390/s390-32/start.S: ... here.
7601 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7602 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7603 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7604 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7605 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7606 * sysdeps/s390/s390-64/setjmp.S: ... here.
7607 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7608 * sysdeps/s390/s390-64/configure.in: ... here
7609 * sysdeps/s390/s390-64/elf/configure: Delete file.
7610 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7611 * sysdeps/s390/s390-64/start.S: ... here.
7612 * sysdeps/s390/s390-64/elf/configure: Delete.
7614 * configure.in: Remove support for elf directories in sysdeps.
7616 * configure: Regenerated.
7617 * sysdeps/i386/configure: Regenerated.
7618 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7619 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7620 * sysdeps/s390/s390-32/configure: Regenerated.
7621 * sysdeps/s390/s390-64/configure: Regenerated.
7622 * sysdeps/sh/configure: Regenerated.
7623 * sysdeps/sparc/configure: Regenerated.
7624 * sysdeps/x86_64/configure: Regenerated.
7626 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7630 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7631 denormal result into account.
7633 2012-03-25 Roland McGrath <roland@hack.frob.com>
7635 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7636 Reported by Allan McRae <allan@archlinux.org>.
7638 2012-03-23 Jeff Law <law@redhat.com>
7640 * nss/getnssent.c (__nss_getent): Fix typo.
7642 2012-03-23 David S. Miller <davem@davemloft.net>
7644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7646 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7648 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7649 to pad to uint64_t for each field.
7650 (dl_tls_index): Replace unsigned long with uint64_t.
7652 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7653 Paul Pluzhnikov <ppluzhnikov@google.com>
7656 * grp/Makefile (otherlibs): Don't set it.
7657 * inet/Makefile (otherlibs): Likewise.
7658 * login/Makefile (otherlibs): Likewise.
7659 * nscd/Makefile (otherlibs): Likewise.
7660 * posix/Makefile (otherlibs): Likewise.
7661 * pwd/Makefile (otherlibs): Likewise.
7662 * rt/Makefile (otherlibs): Likewise.
7663 * sunrpc/Makefile (otherlibs): Likewise.
7664 * nss/Makefile (otherlibs): Likewise.
7665 Add libnss_files to routines and static-only-routines.
7666 ($(objpfx)getent): Remove rule.
7667 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7668 static-only-routines.
7670 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7673 * math/s_cexp.c: Include <float.h>.
7674 (__cexp): Handle exp result overflowing not necessarily
7675 overflowing both real and imaginary parts of result.
7676 * math/s_cexpf.c: Likewise.
7677 * math/s_cexpl.c: Likewise.
7678 * math/libm-test.inc (cexp_test): Add more tests.
7679 * sysdeps/i386/fpu/libm-test-ulps: Update.
7680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7682 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7684 * include/link.h (ELFW): New macro.
7685 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7686 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7688 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7690 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7693 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7695 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7697 (struct La_x32_retval): Likewise.
7699 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7701 * sysdeps/x86_64/preconfigure.in: New file.
7702 * sysdeps/x86_64/preconfigure: New generated file.
7704 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7707 * math/e_exp2l.c: Include <float.h>.
7708 (__ieee754_exp2l): Handle overflow and underflow cases
7709 separately. Only pass fractional part of argument to
7711 * math/libm-test.inc (exp2_test): Add more tests.
7713 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7714 negating x to take absolute value.
7715 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7717 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7718 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7720 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7721 computing low part if x was negated.
7722 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7724 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7726 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7728 (pltexit): Cast int_retval to ptrdiff_t.
7729 * elf/tst-auditmod3b.c: Likewise.
7730 * elf/tst-auditmod4b.c: Likewise.
7731 * elf/tst-auditmod5b.c: Likewise.
7732 * elf/tst-auditmod6b.c: Likewise.
7733 * elf/tst-auditmod6c.c: Likewise.
7734 * elf/tst-auditmod7b.c: Likewise.
7736 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7737 and x32_gnu_pltexit.
7739 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7741 (La_x32_regs): New macro.
7742 (La_x32_retval): Likewise.
7743 (la_x32_gnu_pltenter): New function prototype.
7744 (la_x32_gnu_pltexit): Likewise.
7746 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7753 * configure.in (libc_cv_cc_nofma): Check for option to disable
7754 generation of FMA instructions.
7755 * configure: Regenerate.
7756 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7757 * sysdeps/ieee754/dbl-64/Makefile: New file.
7758 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7759 Remove brandred-fma4.
7760 (CFLAGS-brandred-fma4.c): Remove.
7761 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7762 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7764 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7767 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7769 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7770 LLONG_MAX != LONG_MAX.
7771 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7772 (_fitoa_word): Likewise.
7773 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7774 LLONG_MAX != LONG_MAX.
7775 * stdio-common/_itowa.h: Include <_itoa.h>.
7776 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7777 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7778 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7779 only if not defined.
7780 (_ITOA_WORD_TYPE): Likewise.
7781 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7782 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7784 2012-03-21 David S. Miller <davem@davemloft.net>
7786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7788 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7790 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7791 of x86_64 when setting libc_cv_slibdir, libdir and
7793 * sysdeps/unix/sysv/linux/configure: Regenerated.
7795 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7797 * manual/lang.texi (Old Varargs): Remove section.
7798 (How Variadic): Update menu.
7799 (va_start): Do not mention varargs.h.
7801 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7802 Joseph Myers <joseph@codesourcery.com>
7804 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7806 * configure: Regenerated.
7808 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7810 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7811 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7814 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7817 * Makefile (files-for-dist): Remove NOTES.
7818 (NOTES): Remove rule.
7819 * README: Don't refer to NOTES.
7820 * manual/creature.texi: Don't include macros.texi.
7821 * manual/intro.texi (creature.texi): Remove comment referring to
7824 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7825 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7826 * configure: Regenerated.
7827 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7829 (libc_cv_as_i686): Likewise.
7830 (libc_cv_cc_avx): Likewise.
7831 (libc_cv_cc_sse2avx): Likewise.
7832 (libc_cv_cc_fma4): Likewise.
7833 (libc_cv_cc_novzeroupper): Likewise.
7834 * sysdeps/i386/configure: Regenerated.
7837 * sysdeps/i386/fpu/s_cexp.S: Remove.
7838 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7839 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7840 * math/libm-test.inc (cexp_test): Add more tests.
7841 * sysdeps/i386/fpu/libm-test-ulps: Update.
7842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7844 2012-03-21 Allan McRae <allan@archlinux.org>
7846 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7848 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7851 * math/w_exp2.c: Do not include <float.h>.
7852 (o_threshold, u_threshold): Remove.
7853 (__exp2): Calculate result before checking finiteness and calling
7855 * math/w_exp2f.c: Likewise.
7856 * math/w_exp2l.c: Likewise.
7857 * math/libm-test.inc (exp2_test): Require overflow exception for
7861 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7862 range of signed 64-bit integers before using fistpll. Remove
7863 checks for whether integers fit in mantissa bits.
7864 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7865 the range of signed 32-bit integers before using fistpl. Remove
7866 checks for whether integers fit in mantissa bits.
7867 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7868 (__ieee754_powl): Test for y outside the range of signed 64-bit
7869 integers before using fistpll. Reduce 64-bit values to 63-bit
7871 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7872 divide-by-zero is raised for zero to large negative powers.
7873 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7874 (__ieee754_powl): Test for y outside the range of signed 64-bit
7875 integers before using fistpll. Reduce 64-bit values to 63-bit
7877 * math/libm-test.inc (pow_test): Add more tests.
7879 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7881 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7882 <stdio-common/_itoa.h>.
7883 * debug/segfault.c: Likewise.
7884 * elf/dl-cache.c: Likewise.
7885 * elf/dl-minimal.c: Likewise.
7886 * elf/dl-misc.c: Likewise.
7887 * elf/dl-sysdep.c: Likewise.
7888 * elf/dl-version.c: Likewise.
7889 * elf/rtld.c: Likewise.
7890 * hurd/hurdsock.c: Likewise.
7891 * hurd/lookup-retry.c: Likewise.
7892 * malloc/malloc.c: Likewise.
7893 * malloc/mtrace.c: Likewise.
7894 * nscd/nscd_getgr_r.c: Likewise.
7895 * nscd/nscd_getpw_r.c: Likewise.
7896 * nscd/nscd_getserv_r.c: Likewise.
7897 * posix/getopt_init.c: Likewise.
7898 * posix/wordexp.c: Likewise.
7899 * stdio-common/_itoa.c: Likewise.
7900 * stdio-common/printf_fphex.c: Likewise.
7901 * stdio-common/vfprintf.c: Likewise.
7902 * string/_strerror.c: Likewise.
7903 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7904 * sysdeps/i386/i686/hp-timing.h: Likewise.
7905 * sysdeps/mach/_strerror.c: Likewise.
7906 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7907 * sysdeps/mach/hurd/sethostid.c: Likewise.
7908 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7909 * sysdeps/mach/xpg-strerror.c: Likewise.
7910 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7911 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7912 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7913 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7914 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7915 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7916 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7917 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7918 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7919 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7920 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7921 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7922 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7923 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7924 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7925 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7926 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7927 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7928 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7929 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7930 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7932 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7934 * stdio-common/_itoa.h: Moved to ...
7935 * sysdeps/generic/_itoa.h: Here.
7937 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7939 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7940 instead of "_itoa.h" and "_itowa.h".
7941 * stdio-common/vfprintf.: Likewise.
7943 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7945 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7947 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7948 (__signbit): Likwise.
7952 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7954 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7957 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7959 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7960 OVERFLOW_EXCEPTION_OK.
7961 * math/libm-test.inc ("Philosophy"): Update comment about
7963 (OVERFLOW_EXCEPTION): Define.
7964 (OVERFLOW_EXCEPTION_OK): Likewise.
7965 (INVALID_EXCEPTION_OK): Renumber.
7966 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7967 (IGNORE_ZERO_INF_SIGN): Likewise.
7968 (test_exceptions): Handle FE_OVERFLOW.
7969 (exp10_test): Expect overflow exceptions.
7970 (exp2_test): Likewise.
7971 (expm1_test): Likewise.
7972 (nextafter_test): Likewise.
7973 (pow_test): Likewise.
7974 (scalbn_test): Likewise.
7975 (scalbln_test): Likewise.
7977 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7979 * sysdeps/x86_64/bits/atomic.h
7980 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7982 (atomic_exchange_acq): Likewise.
7983 (__arch_exchange_and_add_body): Likewise.
7984 (__arch_add_body): Likewise.
7985 (atomic_add_negative): Likewise.
7986 (atomic_add_zero): Likewise.
7988 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7990 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7991 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7993 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7995 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7996 Check __x86_64__ instead of __WORDSIZE.
7998 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8000 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8002 2012-03-19 David S. Miller <davem@davemloft.net>
8004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8006 * sysdeps/sparc/fpu/fenv_private.h: New file.
8007 * sysdeps/sparc/fpu/math_private.h: Use it.
8008 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8010 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8011 (libc_feholdexcept_setroundl): Remove.
8012 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8014 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8015 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8017 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8019 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8020 int64_t instead of long int.
8021 (INSERT_WORDS64): Likwise.
8023 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8025 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8026 _Unwind_GetCFA return to _Unwind_Ptr first.
8028 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8031 * math/s_clog.c: Include <float.h>.
8032 (__clog): Scale large or subnormal inputs.
8033 * math/s_clogf.c: Likewise.
8034 * math/s_clogl.c: Likewise.
8035 * math/s_clog10.c: Include <float.h>.
8036 (M_LOG10_2): Define.
8037 (__clog10): Scale large or subnormal inputs.
8038 * math/s_clog10f.c: Likewise.
8039 * math/s_clog10l.c: Likewise.
8040 * math/libm-test.inc (clog_test): Add more tests.
8041 (clog10_test): Likewise.
8042 * sysdeps/i386/fpu/libm-test-ulps: Update.
8043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8046 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8048 * math/libm-test.inc (atan2_test): Add another test.
8050 * Makerules (common-objdir-compile): Remove.
8051 * sysdeps/unix/Makefile (config-generated): Do not add
8052 $(unix-generated) to variable.
8053 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8054 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8056 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8058 [generic bits/local_lim.h] (before-compile): Do not append to
8060 [generic bits/local_lim.h] (common-generated): Likewise.
8061 [generic sys/param.h] (before-compile): Do not append to variable.
8062 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8063 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8064 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8065 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8067 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8068 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8069 [generic sys/param.h] ($(addprefix
8070 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8071 [generic sys/param.h] (common-generated): Do not append to
8073 [generic sys/param.h] (sysdep_headers): Likewise.
8074 [generic bits/errno.h] (before-compile): Do not append to
8076 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8078 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8079 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8080 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8081 [generic bits/errno.h] (common-generated): Do not append to
8083 [generic bits/ioctls.h] (before-compile): Do not append to
8085 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8087 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8088 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8089 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8091 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8092 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8093 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8094 [generic bits/ioctls.h] (common-generated): Do not append to
8096 [generic sys/syscall.h] (syscall.h): Remove variable.
8097 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8099 [generic sys/syscall.h] (before-compile): Do not append to
8101 [generic sys/syscall.h] (common-generated): Likewise.
8102 * sysdeps/unix/errnos-tmpl.c: Remove file.
8103 * sysdeps/unix/errnos.awk: Likewise.
8104 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8105 * sysdeps/unix/ioctls.awk: Likewise.
8106 * sysdeps/unix/mk-local_lim.c: Likewise.
8107 * sysdeps/unix/snarf-ioctls: Likewise.
8109 2012-03-19 Richard Henderson <rth@twiddle.net>
8111 * sysdeps/i386/fpu/fenv_private.h: New file.
8112 * sysdeps/i386/fpu/math_private.h: Use it.
8113 (math_opt_barrier, math_force_eval): Remove.
8114 (libc_feholdexcept_setround_53bit): Remove.
8115 (libc_feupdateenv_53bit): Remove.
8116 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8117 (math_opt_barrier, math_force_eval): Remove.
8118 (libc_feholdexcept): Remove.
8119 (libc_feholdexcept_setround): Remove.
8120 (libc_fetestexcept, libc_fesetenv): Remove.
8121 (libc_feupdateenv_test): Remove.
8122 (libc_feupdateenv, libc_feholdsetround): Remove.
8123 (libc_feresetround): Remove.
8125 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8126 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8128 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8129 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8130 (libc_feupdateenv_testl): New.
8131 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8132 (libc_feupdateenv_testf): New.
8133 (libc_feupdateenv): Use libc_feupdateenv_test.
8134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8135 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8137 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8138 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8139 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8140 (libc_feresetround_noex): New.
8141 (libc_feresetround_noexf): New.
8142 (libc_feresetround_noexl): New.
8143 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8144 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8145 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8146 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8149 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8151 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8152 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8153 SET_RESTORE_ROUND_NOEX.
8154 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8155 SET_RESTORE_ROUND_NOEXF.
8156 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8157 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8158 (libc_feholdsetroundf): New.
8159 (libc_feresetround, libc_feresetroundf): New.
8161 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8162 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8163 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8165 * sysdeps/generic/math_private.h: Include <fenv.h>.
8166 (default_libc_feholdexcept): New.
8167 (default_libc_feholdexcept_setround): New.
8168 (default_libc_fesetenv, default_libc_feupdateenv): New.
8169 (libc_feholdexcept): Only define if undefined.
8170 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8171 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8172 (libc_feholdexcept_setroundl): Likewise.
8173 (libc_feholdexcept_setround_53bit): Likewise.
8174 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8175 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8176 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8177 (libc_feupdateenv_53bit): Likewise.
8178 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8179 (libc_feholdexcept): Convert from macro to inline function.
8180 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8181 (libc_fesetenv, libc_feupdateenv): Likewise.
8183 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8184 not previously defined.
8185 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8186 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8187 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8188 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8189 * sysdeps/ieee754/flt-32/math_private.h: New file.
8190 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8191 math_private.h below SET_FLOAT_WORD.
8192 (__isnan, __isinf_ns, __finite): Remove.
8193 (__isnanf, __isinf_nsf, __finitef): Remove.
8195 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8199 2012-03-17 David S. Miller <davem@davemloft.net>
8202 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8205 2012-03-16 David S. Miller <davem@davemloft.net>
8207 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8211 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8213 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8214 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8215 sysdep_routines when subdir is sysvipc.
8216 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8219 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8221 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8223 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8226 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8228 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8229 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8230 (__lround): Renamed to ...
8231 (__llround): This. Replace long int with long long int.
8232 Define lround functions as aliases of llround functions.
8233 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8235 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8237 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8238 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8239 adresses to uintptr_t. Replace "long int" and "unsigned long
8240 int" with "greg_t" on va_arg.
8242 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8244 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8245 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8247 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8248 Move e_machine check before EI_CLASS check. Handle x32
8249 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8250 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8251 SKIP_EM_IA_64 and include
8252 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8254 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8255 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8256 (add_system_dir): New macro.
8258 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8259 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8261 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8272 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8274 * math/w_j0f.c (j0f): Likewise.
8276 * math/w_j0l.c (__j0l): Likewise.
8278 * math/w_j1.c (j1): Likewise.
8280 * math/w_j1f.c (j1f): Likewise.
8282 * math/w_j1l.c (__j1l): Likewise.
8284 * math/w_jn.c (jn): Likewise.
8286 * math/w_jnf.c (jnf): Likewise.
8288 * math/w_jnl.c (__jnl): Likewise.
8290 * math/libm-test.inc (j0_test): Add more tests.
8291 (j1_test): Likewise.
8292 (jn_test): Likewise. Add trailing semicolon to existing test.
8293 (y0_test): Likewise.
8294 (y1_test): Likewise.
8295 * sysdeps/i386/fpu/libm-test-ulps: Update.
8296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8300 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8301 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8302 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8303 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8304 (__tanl): Set errno for infinite argument.
8305 * sysdeps/i386/fpu/mptan.c: Remove.
8306 * sysdeps/i386/fpu/s_tan.S: Likewise.
8307 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8308 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8309 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8310 * math/libm-test.inc (tan_test): Add more tests and enable more
8311 tests for double and long double.
8312 * sysdeps/i386/fpu/libm-test-ulps: Update.
8313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8315 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8317 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8318 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8320 2012-03-16 Roland McGrath <roland@hack.frob.com>
8322 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8323 * configure.in: Use it for both main tree and add-ons.
8324 * configure: Regenerated.
8326 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8328 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8330 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8332 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8336 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8337 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8342 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8345 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8346 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8347 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8348 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8349 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8350 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8351 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8352 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8353 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8354 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8355 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8356 * math/libm-test.inc (cos_test): Add more tests and enable more
8357 tests for long double.
8358 (sin_test): Likewise.
8359 (sincos_test): Likewise.
8360 * sysdeps/i386/fpu/libm-test-ulps: Update.
8361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8363 2012-03-16 David S. Miller <davem@davemloft.net>
8365 * sysdeps/sparc/fpu/math_private.h: New file.
8367 2012-03-15 David S. Miller <davem@davemloft.net>
8369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8379 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8383 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8384 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8386 * sysdeps/sparc/sparc-ifunc.h: New file.
8387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8426 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8432 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8434 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8438 2012-03-15 Andreas Jaeger <aj@suse.de>
8441 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8442 ieee754/flt-32 implementation for sin, cos and sincos.
8443 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8444 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8445 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8446 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8447 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8448 ieee754/flt-32 implementation for tan.
8450 * math/libm-test.inc (cos_test): Enable some large input tests for
8452 (sin_test): Likewise.
8453 (sincos_test): Likewise.
8454 (tan_test): Add tests for large input.
8456 * sysdeps/i386/fpu/libm-test-ulps: Update.
8458 2012-03-15 Andreas Jaeger <aj@suse.de>
8461 * math/libm-test.inc (cos_test): Add more test cases.
8462 (sin_test): Likewise.
8463 (sincos_test): Likewise.
8465 2012-03-15 Andreas Jaeger <aj@suse.de>
8468 * math/libm-test.inc (cos_test): Add a test case for large input
8470 (sin_test): Likewise.
8471 (sincos_test): Likewise.
8473 2012-03-15 Andreas Jaeger <aj@suse.de>,
8474 Joseph Myers <joseph@codesourcery.com>
8477 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8478 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8479 * sysdeps/i386/fpu/branred.c: Likewise.
8480 * sysdeps/i386/fpu/dosincos.c: Likewise.
8481 * sysdeps/i386/fpu/mpa.c: Likewise.
8482 * sysdeps/i386/fpu/s_cos.S: Likewise.
8483 * sysdeps/i386/fpu/s_sin.S: Likewise.
8484 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8485 * sysdeps/i386/fpu/sincos32.c: Likewise.
8487 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8489 (libc_feupdateenv_53bit): Define.
8490 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8492 (libc_feupdateenv_53bit): Define.
8494 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8495 53 bit (without extend i386 double precision).
8497 * math/libm-test.inc (sincos_test): Add tests for large input.
8501 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8503 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8507 2012-03-15 David S. Miller <davem@davemloft.net>
8509 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8510 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8511 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8512 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8537 fmin/fmax sysdep routines.
8538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8540 2012-03-14 David S. Miller <davem@davemloft.net>
8542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8546 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8547 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8548 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8549 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8562 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8566 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8567 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8614 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8619 * sysdeps/sparc/configure.in: New file.
8620 * sysdeps/sparc/configure: Generate.
8621 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8622 * configure: Regenerate.
8623 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8624 * config.make.in (have-as-vis3): New.
8625 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8626 available use -Av9d instead of -Av9a.
8627 * sysdeps/sparc/sparc64/Makefile: Likewise.
8628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8637 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8638 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8639 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8640 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8641 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8643 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8644 fzeros/fnegs to load 0x80000000 into a float register instead of
8646 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8648 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8652 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8653 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8654 ($(inst_includedir)/bits/syscall.h): Remove rule.
8655 ($(objpfx)bits/syscall.d): Include instead of
8656 $(objpfx)syscall-list.d.
8657 (generated): Change syscall-list.h and syscall-list.d to
8658 bits/syscall.h and bits/syscall.d.
8660 2012-03-14 Roland McGrath <roland@hack.frob.com>
8663 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8665 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8668 * math/s_csqrt.c: Include <float.h>.
8669 (__csqrt): Scale large or subnormal inputs.
8670 * math/s_csqrtf.c: Likewise.
8671 * math/s_csqrtl.c: Likewise.
8672 * math/libm-test.inc (csqrt_test): Add more tests.
8673 * sysdeps/i386/fpu/libm-test-ulps: Update.
8674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8677 * math/libm-test.inc (hypot_test): Add more tests.
8679 2012-03-13 David S. Miller <davem@davemloft.net>
8682 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8683 double-precision for the calculation instead of scaling.
8685 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8687 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8688 manipulate bits before adding and subtracting TWO52[sx].
8689 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8690 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8692 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8694 2012-03-13 David S. Miller <davem@davemloft.net>
8696 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8697 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8699 rtld-global-offsets.h
8700 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8702 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8705 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8707 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8708 'err' in the ifdef scope in which it is actually used.
8710 * nss/nss_db/db-init.c: Include string.h
8712 2012-03-12 David S. Miller <davem@davemloft.net>
8714 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8715 masking out of the most significant byte of random value used.
8716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8717 Fix coding style in previous change.
8719 * sysdeps/unix/sysv/linux/kernel-features.h
8720 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8721 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8723 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8726 2012-03-11 David S. Miller <davem@davemloft.net>
8728 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8729 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8730 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8731 for 'resultvar' otherwise things get truncated on 64-bit.
8733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8734 Fix masking out of the most significant byte of random value used.
8736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8738 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8742 2012-03-09 David S. Miller <davem@davemloft.net>
8744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8745 variables with appropriate CPP guards.
8746 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8747 frame pointer, not the stack pointer. Correct layout comments. Fix test
8748 on resulting framesize and the management of the outregs buffer for pltexit.
8749 Preserve floating point return values across _dl_call_pltexit call.
8750 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8751 framesize and the management of the outregs buffer for pltexit.
8752 Preserve floating point return values across _dl_call_pltexit
8754 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8755 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8756 (print_exit): Fix format string for return register value.
8758 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8760 * sunrpc/Makefile (others): Add rpcgen.
8761 ($(objpfx)rpcgen): Remove special build rule and dependency on
8763 * sunrpc/rpcgen.c: New file.
8765 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8768 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8769 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8770 * sysdeps/i386/crti.S: Likewise.
8771 * sysdeps/i386/crtn.S: Likewise.
8772 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8773 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8774 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8775 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8776 * sysdeps/sh/crti.S: Likewise.
8777 * sysdeps/sh/crtn.S: Likewise.
8778 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8781 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8783 * locale/programs/locfile-kw.gperf: Likewise.
8784 * locale/programs/charmap-kw.h: Regenerated.
8785 * locale/programs/locfile-kw.h: Likewise.
8788 * intl/plural.y: Replace FSF snail mail address with URL.
8789 * intl/plural.c: Regenerated.
8791 2012-03-09 Richard Henderson <rth@twiddle.net>
8793 * include/math_private.h: Remove file.
8794 * math/math_private.h: Move file ...
8795 * sysdeps/generic/math_private.h: ... here.
8797 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8798 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8799 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8801 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8802 and <math_private.h>.
8803 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8804 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8805 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8806 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8807 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8891 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8892 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8893 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8894 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8895 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8896 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8897 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8898 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8899 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8900 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8901 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8902 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8903 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8904 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8905 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8906 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8907 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8908 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8909 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8910 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8911 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8912 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8913 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8914 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8915 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8916 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8917 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8918 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8919 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8920 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8921 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8922 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8923 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8924 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8925 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8926 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8927 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8928 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8929 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8930 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8931 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8932 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8933 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8934 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8935 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8936 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8937 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8938 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8939 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8940 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8941 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8942 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8943 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8944 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8945 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8946 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8947 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8948 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8949 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8950 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8951 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8952 * sysdeps/ieee754/k_standard.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8955 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9000 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9001 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9003 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9004 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9068 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9072 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9073 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9075 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9080 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9085 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9101 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9102 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9103 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9113 * sysdeps/ieee754/s_lib_version.c: Likewise.
9114 * sysdeps/ieee754/s_matherr.c: Likewise.
9115 * sysdeps/ieee754/s_signgam.c: Likewise.
9116 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9117 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9118 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9119 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9120 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9121 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9122 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9123 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9124 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9125 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9126 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9127 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9128 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9129 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9130 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9131 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9132 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9133 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9134 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9135 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9136 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9138 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9140 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9141 * sunrpc/rpc_main.c: Likewise.
9142 * sunrpc/rpc_svcout.c: Likewise.
9144 2012-03-09 David S. Miller <davem@davemloft.net>
9146 * include/math_private.h: New file.
9148 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9150 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9151 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9152 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9153 from <bits/socket_type.h>.
9154 (enum __socket_type): Don't define here.
9155 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9160 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9163 * Makerules ($(inst_includedir)/%.h): New rule.
9164 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9165 (install-others): Remove variable setting.
9166 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9168 2012-03-08 Richard Henderson <rth@twiddle.net>
9170 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9171 from macro to inline function; merge with the
9172 !__LIBC_INTERNAL_MATH_INLINES version.
9173 (__ieee754_sqrtf): Likewise.
9175 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9177 (__rintf, __floor, __floorf): Likewise.
9179 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9180 macro to inline function.
9181 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9183 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9184 not <math/math_private.h>.
9186 2012-03-08 David S. Miller <davem@davemloft.net>
9188 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9190 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9192 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9194 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9196 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9197 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9199 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9201 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9202 be defined individually, they must be defined as a block. Define
9203 S for printing a string instead of hidint the different by using a
9204 macro for adding the 'l'.
9205 * stdio-common/tst-fphex-wide.c: Adjust.
9207 2012-03-07 Marek Polacek <polacek@redhat.com>
9209 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9211 2012-03-08 Marek Polacek <polacek@redhat.com>
9214 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9215 * stdio-common/tst-fphex.c: Define a few macros to make the
9216 test reusable. Use them.
9217 * stdio-common/tst-fphex-wide.c: New file.
9219 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9222 * manual/macros.texi (gnusystems): New macro.
9223 (nongnusystems): Likewise.
9224 (gnulinuxhurdsystems): Likewise.
9225 (gnuhurdsystems): Likewise..
9226 (gnulinuxsystems): Likewise.
9227 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9228 variants of the GNU system, not "GNU system".
9229 * manual/conf.texi: Likewise.
9230 * manual/errno.texi: Likewise. Update example of errno macro
9232 * manual/filesys.texi: Likewise.
9233 (getumask): Document as specific to GNU/Hurd.
9234 * manual/install.texi: Likewise. Reword some references to
9236 * manual/intro.texi: Likewise.
9237 * manual/io.texi: Likewise.
9238 (File Name Portability): Detail which constraints are inapplicable
9239 to all GNU systems and which are only inapplicable to GNU/Hurd.
9240 * manual/job.texi: Likewise.
9241 * manual/llio.texi: Likewise.
9242 (O_NOCTTY): Document as present on GNU/Linux.
9243 * manual/maint.texi: Likewise.
9244 * manual/memory.texi: Likewise.
9245 * manual/pattern.texi: Likewise.
9246 * manual/pipe.texi: Likewise.
9247 * manual/process.texi: Likewise.
9248 * manual/resource.texi: Likewise.
9249 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9251 * manual/setjmp.texi: Likewise.
9252 * manual/signal.texi: Likewise.
9253 * manual/startup.texi: Likewise.
9254 * manual/stdio.texi: Likewise.
9255 * manual/terminal.texi: Likewise.
9256 (ONLCR): Document as POSIX.
9257 (OXTABS): Document availability on GNU/Linux as XTABS.
9258 (ONOEOT): Document availability separately from other bits.
9259 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9260 * manual/time.texi: Likewise.
9261 * manual/users.texi: Likewise.
9262 * INSTALL: Regenerated.
9263 * sysdeps/gnu/errlist.c: Regenerated.
9265 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9266 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9267 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9269 * configure: Regenerated.
9271 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9273 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9274 default includes instead of AC_HEADER_CHECK.
9275 * sysdeps/i386/configure: Regenerated.
9278 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9279 * math/s_cacoshf.c (__cacoshf): Likewise.
9280 * math/s_cacoshl.c (__cacoshl): Likewise.
9281 * math/s_casinh.c (__casinh): Set signs of result from argument.
9282 * math/s_casinhf.c (__casinhf): Likewise.
9283 * math/s_casinhl.c (__casinhl): Likewise.
9284 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9285 (casinh_test): Add more tests.
9286 * sysdeps/i386/fpu/libm-test-ulps: Update.
9287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9289 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9291 * po/zh_TW.po: Update from translation team.
9293 * login/Makefile (distribute): Remove variable.
9294 * catgets/Makefile: Likewise.
9295 * mach/Makefile: Likewise.
9296 * malloc/Makefile: Likewise.
9297 * misc/Makefile: Likewise.
9298 * iconv/Makefile: Likewise.
9299 * nscd/Makefile: Likewise.
9300 * hurd/Makefile: Likewise.
9301 * manual/Makefile: Likewise.
9302 * locale/Makefile: Likewise.
9303 * intl/Makefile: Likewise.
9304 * conform/Makefile: Likewise.
9305 * nss/Makefile: Likewise.
9306 * time/Makefile: Likewise.
9307 * soft-fp/Makefile: Likewise.
9308 * dirent/Makefile: Likewise.
9309 * gmon/Makefile: Likewise.
9310 * po/Makefile: Likewise.
9311 * rt/Makefile: Likewise.
9312 * socket/Makefile: Likewise.
9313 * math/Makefile: Likewise.
9314 * signal/Makefile: Likewise.
9315 * debug/Makefile: Likewise.
9316 * elf/Makefile: Likewise.
9317 * timezone/Makefile: Likewise.
9318 * stdlib/Makefile: Likewise.
9319 * iconvdata/Makefile: Likewise.
9320 * sunrpc/Makefile: Likewise.
9321 * io/Makefile: Likewise.
9322 * argp/Makefile: Likewise.
9323 * inet/Makefile: Likewise.
9324 * hesiod/Makefile: Likewise.
9325 * grp/Makefile: Likewise.
9326 * csu/Makefile: Likewise.
9327 * wctype/Makefile: Likewise.
9328 * crypt/Makefile: Likewise.
9329 * libio/Makefile: Likewise.
9330 * string/Makefile: Likewise.
9331 * nis/Makefile: Likewise.
9332 * resolv/Makefile: Likewise.
9333 * stdio-common/Makefile: Likewise.
9334 * wcsmbs/Makefile: Likewise.
9335 * dlfcn/Makefile: Likewise.
9336 * posix/Makefile: Likewise.
9339 * timezone/Makefile: Don't install timezone files, just the programs
9342 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9344 * nss/databases.def: Add missing gshadow entry.
9346 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9348 2012-03-06 Marek Polacek <polacek@redhat.com>
9351 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9352 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9353 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9354 * stdio-common/tst-long-dbl-fphex.c: New file.
9356 2012-03-06 David S. Miller <davem@davemloft.net>
9358 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9359 (set_obp_int): New function.
9360 (get_obp_int): New function.
9361 (__get_clockfreq_via_dev_openprom): Likewise.
9362 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9363 Avoid unused variable warnings on 'val' and use builtin_expect.
9364 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9366 (INLINE_CLONE_SYSCALL): Likewise.
9368 2012-03-05 David S. Miller <davem@davemloft.net>
9370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9372 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9376 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9378 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9380 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9382 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9383 Replace gettimeofday with __vdso_gettimeofday.
9385 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9386 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9387 __vdso_clock_gettime and __vdso_getcpu.
9389 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9390 time with __vdso_time.
9392 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9394 * manual/lang.texi (size_t): Note types to which size_t may be
9395 equivalent with the GNU C Library, but do not describe when
9396 differences between them are significant.
9398 2012-03-05 Andreas Jaeger <aj@suse.de>
9400 * sysdeps/i386/fpu/libm-test-ulps: Update.
9402 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9405 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9406 (__ieee754_pow): Save and restore rounding mode and use
9407 round-to-nearest for main computations.
9408 * math/libm-test.inc (pow_test_tonearest): New function.
9409 (pow_test_towardzero): Likewise.
9410 (pow_test_downward): Likewise.
9411 (pow_test_upward): Likewise.
9412 (main): Call the new functions.
9413 * sysdeps/i386/fpu/libm-test-ulps: Update.
9414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9417 * math/libm-test.inc (cosh_test_tonearest): New function.
9418 (cosh_test_towardzero): Likewise.
9419 (cosh_test_downward): Likewise.
9420 (cosh_test_upward): Likewise.
9421 (sinh_test_tonearest): Likewise.
9422 (sinh_test_towardzero): Likewise.
9423 (sinh_test_downward): Likewise.
9424 (sinh_test_upward): Likewise.
9425 (main): Call the new functions.
9426 * sysdeps/i386/fpu/libm-test-ulps: Update.
9427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9429 2012-03-05 Tom de Vries <tom@codesourcery.com>
9431 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9432 default stack guard is set in last bytes.
9433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9435 2012-03-05 Kees Cook <keescook@chromium.org>
9437 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9440 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9441 possibly allocate from heap instead of stack.
9442 * stdio-common/bug-vfprintf-nargs.c: New file.
9443 * stdio-common/Makefile (tests): Add nargs overflow test.
9445 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9449 2012-03-03 Marek Polacek <polacek@redhat.com>
9451 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9452 * math/math_private.h: Likewise.
9453 * stdlib/tst-strtod.c: Likewise.
9454 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9455 * sysdeps/x86_64/bits/atomic.h: Likewise.
9457 2012-03-02 David S. Miller <davem@davemloft.net>
9459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9463 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9464 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9465 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9466 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9468 2012-03-02 Roland McGrath <roland@hack.frob.com>
9471 * manual/examples/README: New file, says the example source files
9472 can be used under GPL>=2.
9473 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9474 line containing just "*/".
9475 * manual/examples/add.c: Add copyright header (GPL>=2).
9476 * manual/examples/argp-ex1.c: Likewise.
9477 * manual/examples/argp-ex2.c: Likewise.
9478 * manual/examples/argp-ex3.c: Likewise.
9479 * manual/examples/argp-ex4.c: Likewise.
9480 * manual/examples/atexit.c: Likewise.
9481 * manual/examples/db.c: Likewise.
9482 * manual/examples/dir.c: Likewise.
9483 * manual/examples/dir2.c: Likewise.
9484 * manual/examples/execinfo.c: Likewise.
9485 * manual/examples/filecli.c: Likewise.
9486 * manual/examples/filesrv.c: Likewise.
9487 * manual/examples/fmtmsgexpl.c: Likewise.
9488 * manual/examples/genpass.c: Likewise.
9489 * manual/examples/inetcli.c: Likewise.
9490 * manual/examples/inetsrv.c: Likewise.
9491 * manual/examples/isockad.c: Likewise.
9492 * manual/examples/longopt.c: Likewise.
9493 * manual/examples/memopen.c: Likewise.
9494 * manual/examples/memstrm.c: Likewise.
9495 * manual/examples/mkfsock.c: Likewise.
9496 * manual/examples/mkisock.c: Likewise.
9497 * manual/examples/mygetpass.c: Likewise.
9498 * manual/examples/pipe.c: Likewise.
9499 * manual/examples/popen.c: Likewise.
9500 * manual/examples/rprintf.c: Likewise.
9501 * manual/examples/search.c: Likewise.
9502 * manual/examples/select.c: Likewise.
9503 * manual/examples/setjmp.c: Likewise.
9504 * manual/examples/sigh1.c: Likewise.
9505 * manual/examples/sigusr.c: Likewise.
9506 * manual/examples/stpcpy.c: Likewise.
9507 * manual/examples/strdupa.c: Likewise.
9508 * manual/examples/strftim.c: Likewise.
9509 * manual/examples/strncat.c: Likewise.
9510 * manual/examples/subopt.c: Likewise.
9511 * manual/examples/swapcontext.c: Likewise.
9512 * manual/examples/termios.c: Likewise.
9513 * manual/examples/testopt.c: Likewise.
9514 * manual/examples/testpass.c: Likewise.
9515 * manual/examples/timeval_subtract.c: Likewise.
9518 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9520 * manual/timeval_subtract.c.texi: ... here, new file.
9522 2012-03-02 David S. Miller <davem@davemloft.net>
9524 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9526 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9529 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9530 (__sin): Save and restore rounding mode and use round-to-nearest
9531 for all computations.
9532 (__cos): Save and restore rounding mode and use round-to-nearest
9533 for all computations.
9534 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9536 (tan): Save and restore rounding mode and use round-to-nearest for
9538 * math/libm-test.inc (cos_test_tonearest): New function.
9539 (cos_test_towardzero): Likewise.
9540 (cos_test_downward): Likewise.
9541 (cos_test_upward): Likewise.
9542 (sin_test_tonearest): Likewise.
9543 (sin_test_towardzero): Likewise.
9544 (sin_test_downward): Likewise.
9545 (sin_test_upward): Likewise.
9546 (tan_test_tonearest): Likewise.
9547 (tan_test_towardzero): Likewise.
9548 (tan_test_downward): Likewise.
9549 (tan_test_upward): Likewise.
9550 (main): Call the new functions.
9551 * sysdeps/i386/fpu/libm-test-ulps: Update.
9552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9555 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9556 small n, then large n, before computing and testing k+n.
9557 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9558 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9562 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9563 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9564 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9565 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9567 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9568 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9569 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9570 * math/libm-test.inc (scalbn_test): Add more tests.
9571 (scalbln_test): Likewise.
9573 * manual/filesys.texi (mode_t): Describe constraints on size and
9574 signedness, not exact equivalence to a particular type.
9576 (ino64_t): Likewise.
9578 (nlink_t): Likewise.
9579 (blkcnt_t): Likewise.
9580 (blkcnt64_t): Likewise.
9581 * manual/llio.texi (off_t): Likewise.
9584 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9585 (__ieee754_exp): Save and restore rounding mode and use
9586 round-to-nearest for all computations.
9587 * math/libm-test.inc (exp_test_tonearest): New function.
9588 (exp_test_towardzero): Likewise.
9589 (exp_test_downward): Likewise.
9590 (exp_test_upward): Likewise.
9591 (main): Call the new functions.
9592 * sysdeps/i386/fpu/libm-test-ulps: Update.
9593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9595 2012-03-01 Chris Demetriou <cgd@google.com>
9597 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9598 have predictable order.
9600 2012-03-01 David S. Miller <davem@davemloft.net>
9602 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9604 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9605 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9606 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9607 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9609 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9610 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9611 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9613 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9614 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9615 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9616 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9617 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9621 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9622 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9623 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9625 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9626 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9627 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9628 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9629 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9630 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9631 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9632 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9633 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9634 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9635 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9636 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9638 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9639 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9640 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9641 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9642 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9643 * sysdeps/sparc/elf/configure: Regenerated.
9645 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9647 * configure.in (AS, LD): Require binutils 2.20 or later.
9648 * configure: Regenerated.
9649 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9650 as required minimum version.
9651 * INSTALL: Regenerated.
9655 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9656 before squaring exponent.
9657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9658 bottom long double and 27 bits of top long double before squaring
9660 * math/libm-test.inc (erfc_test): Add more tests.
9661 * sysdeps/i386/fpu/libm-test-ulps: Update.
9662 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9665 2012-03-01 Kai Tietz <ktietz@redhat.com>
9667 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9668 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9669 containing bit-fields.
9670 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9671 * soft-fp/single.h (_FP_UNION_S): Likewise.
9672 * soft-fp/double.h (_FP_UNION_D): Likewise.
9674 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9677 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9678 not include ../strcmp.S.
9679 [USE_AS_STRNCASECMP_L]: Likewise.
9680 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9681 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9682 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9683 (__strncasecmp_l_ia32): Define as alias to
9684 __strncasecmp_l_nonascii.
9687 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9688 * sysdeps/i386/fpu/libm-test-ulps: Update.
9689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9691 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9694 2012-02-29 Jeff Law <law@redhat.com>
9696 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9699 2012-02-29 Marek Polacek <polacek@redhat.com>
9702 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9703 * elf/Makefile: Add rules to run tst-unused-dep.out.
9705 2012-02-28 David S. Miller <davem@davemloft.net>
9707 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9708 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9709 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9710 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9711 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9712 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9714 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9716 * math/libm-test.inc (llround_test): Move one test from
9717 lround_test. Use TEST_f_L in moved test.
9718 (lround_test): Move misplaced test to llround_test. Add testcase
9721 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9723 * sysdeps/x86_64/fpu/e_expf.S: New file.
9724 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9726 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9729 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9730 of remain_len that may cause incomplete multi-byte character and
9732 * posix/bug-regex33.c: New file.
9733 * posix/Makefile (tests): Add bug-regex33.
9735 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9737 * manual/macros.texi: New file.
9738 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9739 * manual/libc.texinfo: Include macros.texi.
9740 * manual/creatute.texi: Likewise.
9741 * manual/install.texi: Likewise.
9742 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9743 @glibcadj{} in references to the GNU C Library.
9744 * manual/charset.texi: Likewise.
9745 * manual/conf.texi: Likewise.
9746 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9747 when not using those macros.
9748 * manual/creature.texi: Likewise.
9749 * manual/crypt.texi: Likewise.
9750 * manual/errno.texi: Likewise.
9751 * manual/filesys.texi: Likewise.
9752 * manual/header.texi: Likewise.
9753 * manual/install.texi: Likewise.
9754 * manual/intro.texi: Likewise.
9755 * manual/io.texi: Likewise.
9756 * manual/job.texi: Likewise.
9757 * manual/lang.texi: Likewise.
9758 * manual/libc.texiinfo: Likewise.
9759 * manual/llio.texi: Likewise.
9760 * manual/locale.texi: Likewise.
9761 * manual/maint.texi: Likewise.
9762 * manual/math.texi: Likewise.
9763 * manual/memory.texi: Likewise.
9764 * manual/message.texi: Likewise.
9765 * manual/nss.texi: Likewise.
9766 * manual/pattern.texi: Likewise.
9767 * manual/process.texi: Likewise.
9768 * manual/resource.texi: Likewise.
9769 * manual/search.texi: Likewise.
9770 * manual/setjmp.texi: Likewise.
9771 * manual/signal.texi: Likewise.
9772 * manual/socket.texi: Likewise.
9773 * manual/startup.texi: Likewise.
9774 * manual/stdio.texi: Likewise.
9775 * manual/string.texi: Likewise.
9776 * manual/sysinfo.texi: Likewise.
9777 * manual/syslog.texi: Likewise.
9778 * manual/terminal.texi: Likewise.
9779 * manual/time.texi: Likewise.
9780 * manual/users.texi: Likewise.
9781 * INSTALL: Regenerated.
9782 * NOTES: Regenerated.
9783 * sysdeps/gnu/errlist.c: Regenerated.
9785 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9787 * include/dirent.h: Include <dirstream.h> before
9790 2012-02-28 David S. Miller <davem@davemloft.net>
9792 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9793 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9794 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9795 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9797 2012-02-27 David S. Miller <davem@davemloft.net>
9799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9801 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9802 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9805 frame pointer instead of stack pointer relative arg slot.
9806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9807 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9808 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9810 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9813 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9815 2012-02-27 David S. Miller <davem@davemloft.net>
9817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9821 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9822 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9823 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9824 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9826 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9828 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9829 later. Allow versions 5-9.
9830 * configure: Regenerated.
9831 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9832 required minimum version and 4.6 as recommended version. Do not
9833 mention bugs in GCC 2.7 and 2.8.
9834 * INSTALL: Regenerated.
9836 2012-02-27 David S. Miller <davem@davemloft.net>
9838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9842 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9843 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9844 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9845 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9847 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9848 manipulate bits before adding and subtracting TWO112[sx].
9849 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9851 2012-02-27 Roland McGrath <roland@hack.frob.com>
9854 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9855 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9856 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9857 being in POSIX, because they are in 1003.1-2008.
9859 * rt/tst-aio.c: Include <fcntl.h>.
9860 * rt/tst-aio7.c: Likewise.
9861 * rt/tst-aio64.c: Likewise.
9863 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9865 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9867 * manual/install.texi (--with-headers): Describe headers as
9868 interface headers, not private headers.
9869 (Specific advice for GNU/Linux systems): Describe use of headers
9870 from "make headers_install", not private headers from older
9872 * INSTALL: Regenerated.
9873 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9875 * sysdeps/unix/sysv/linux/configure: Regenerated.
9877 * manual/llio.texi (fclean): Remove documentation.
9879 * manual/Makefile (libc-texi-generated): New variable. Include
9881 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9882 $(libc-texi-generated), not duplicated list of files.
9883 (version.texi, stamp-version): New rules.
9884 (realclean): Remove $(libc-texi-generated), not individual files
9885 from that list. Do not remove dir-add.texinfo.
9886 * manual/libc.texinfo: Comment out uses of edition numbers and
9887 references to printed manual. Remove last-updated dates.
9888 (EDITION): Comment out.
9890 (VERSION, UPDATED): Remove.
9891 (version.texi): Include.
9893 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9895 * sysdeps/posix/spawni.c: Include <signal.h>.
9896 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9897 * sysdeps/pthread/aio_fsync.c: Likewise.
9899 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9901 * conform/Makefile (tests): Run only when not cross-compiling and
9902 when fast-check is not defined.
9904 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9905 * conform/data/limits.h-data: Fixes for POSIX2008.
9906 * conform/run-conformtest.sh: Run all tests.
9907 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9909 * include/bits/dlfcn.h: Likewise.
9910 * include/langinfo.h: Likewise.
9911 * include/monetary.h: Likewise.
9912 * include/sys/poll.h: Likewise.
9914 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9916 * posix/spawn.h: Define __need_sigset_t.
9917 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9918 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9919 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9920 to get sigevent_t only.
9921 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9923 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9924 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9925 process_vm_writev only for __USE_GNU.
9926 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9928 * conform/Makefile: For now ignore errors from run-conformtest.
9929 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9930 POSIX to avoid namespace pollution. Don't prepend headers.
9931 * conform/data/aio.h-data: Fixes for POSIX testing.
9932 * conform/data/fcntl.h-data: Likewise.
9933 * conform/data/glob.h-data: Likewise.
9934 * conform/data/grp.h-data: Likewise.
9935 * conform/data/pthread.h-data: Likewise.
9936 * conform/data/pwd.h-data: Likewise.
9937 * conform/data/signal.h-data: Likewise.
9938 * conform/data/spawn.h-data: Likewise.
9939 * conform/data/stdio.h-data: Likewise.
9940 * conform/data/stdlib.h-data: Likewise.
9941 * conform/data/stropts.h-data: Likewise.
9942 * conform/data/sys/mman.h-data: Likewise.
9943 * conform/data/sys/stat.h-data: Likewise.
9944 * conform/data/sys/types.h-data: Likewise.
9945 * conform/data/sys/wait.h-data: Likewise.
9946 * conform/data/time.h-data: Likewise.
9947 * conform/data/unistd.h-data: Likewise.
9948 * conform/data/utime.h-data: Likewise.
9950 * io/sys/stat.h: fchmod was always in POSIX.
9951 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9952 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9953 * rt/aio.h: Define __need_timespec before including <time.h>.
9954 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9955 struct. Add forward declaration of pthread_attr_t and use it in
9957 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9958 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9959 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9960 always remove CLK_TCK definition.
9962 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9964 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9966 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9968 * conform/run-conformtest.sh: New file.
9969 * conform/Makefile: Run run-conformtest for tests.
9970 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9973 * conform/data/uchar.h-data: New file.
9974 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9975 * conform/data/arpa/inet.h-data: Likewise.
9976 * conform/data/assert.h-data: Likewise.
9977 * conform/data/complex.h-data: Likewise.
9978 * conform/data/cpio.h-data: Likewise.
9979 * conform/data/ctype.h-data: Likewise.
9980 * conform/data/dirent.h-data: Likewise.
9981 * conform/data/dlfcn.h-data: Likewise.
9982 * conform/data/errno.h-data: Likewise.
9983 * conform/data/fcntl.h-data: Likewise.
9984 * conform/data/float.h-data: Likewise.
9985 * conform/data/fmtmsg.h-data: Likewise.
9986 * conform/data/fnmatch.h-data: Likewise.
9987 * conform/data/ftw.h-data: Likewise.
9988 * conform/data/glob.h-data: Likewise.
9989 * conform/data/grp.h-data: Likewise.
9990 * conform/data/iconv.h-data: Likewise.
9991 * conform/data/inttypes.h-data: Likewise.
9992 * conform/data/langinfo.h-data: Likewise.
9993 * conform/data/libgen.h-data: Likewise.
9994 * conform/data/limits.h-data: Likewise.
9995 * conform/data/locale.h-data: Likewise.
9996 * conform/data/math.h-data: Likewise.
9997 * conform/data/monetary.h-data: Likewise.
9998 * conform/data/mqueue.h-data: Likewise.
9999 * conform/data/ndbm.h-data: Likewise.
10000 * conform/data/net/if.h-data: Likewise.
10001 * conform/data/netdb.h-data: Likewise.
10002 * conform/data/netinet/in.h-data: Likewise.
10003 * conform/data/nl_types.h-data: Likewise.
10004 * conform/data/poll.h-data: Likewise.
10005 * conform/data/pthread.h-data: Likewise.
10006 * conform/data/pwd.h-data: Likewise.
10007 * conform/data/regex.h-data: Likewise.
10008 * conform/data/sched.h-data: Likewise.
10009 * conform/data/search.h-data: Likewise.
10010 * conform/data/semaphore.h-data: Likewise.
10011 * conform/data/setjmp.h-data: Likewise.
10012 * conform/data/signal.h-data: Likewise.
10013 * conform/data/spawn.h-data: Likewise.
10014 * conform/data/stdarg.h-data: Likewise.
10015 * conform/data/stdio.h-data: Likewise.
10016 * conform/data/stdlib.h-data: Likewise.
10017 * conform/data/string.h-data: Likewise.
10018 * conform/data/strings.h-data: Likewise.
10019 * conform/data/stropts.h-data: Likewise.
10020 * conform/data/sys/ipc.h-data: Likewise.
10021 * conform/data/sys/mman.h-data: Likewise.
10022 * conform/data/sys/msg.h-data: Likewise.
10023 * conform/data/sys/resource.h-data: Likewise.
10024 * conform/data/sys/select.h-data: Likewise.
10025 * conform/data/sys/sem.h-data: Likewise.
10026 * conform/data/sys/shm.h-data: Likewise.
10027 * conform/data/sys/socket.h-data: Likewise.
10028 * conform/data/sys/stat.h-data: Likewise.
10029 * conform/data/sys/statvfs.h-data: Likewise.
10030 * conform/data/sys/time.h-data: Likewise.
10031 * conform/data/sys/timeb.h-data: Likewise.
10032 * conform/data/sys/times.h-data: Likewise.
10033 * conform/data/sys/types.h-data: Likewise.
10034 * conform/data/sys/uio.h-data: Likewise.
10035 * conform/data/sys/un.h-data: Likewise.
10036 * conform/data/sys/utsname.h-data: Likewise.
10037 * conform/data/sys/wait.h-data: Likewise.
10038 * conform/data/syslog.h-data: Likewise.
10039 * conform/data/tar.h-data: Likewise.
10040 * conform/data/termios.h-data: Likewise.
10041 * conform/data/utime.h-data: Likewise.
10042 * conform/data/utmpx.h-data: Likewise.
10043 * conform/data/varargs.h-data: Likewise.
10044 * conform/data/wchar.h-data: Likewise.
10045 * conform/data/wctype.h-data: Likewise.
10046 * conform/data/wordexp.h-data: Likewise.
10048 * include/stropts.h: New file.
10049 * include/uchar.h: New file.
10050 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10051 * include/assert.h: Likewise.
10052 * include/ctype.h: Likewise.
10053 * include/dirent.h: Likewise.
10054 * include/dlfcn.h: Likewise.
10055 * include/fcntl.h: Likewise.
10056 * include/fnmatch.h: Likewise.
10057 * include/glob.h: Likewise.
10058 * include/grp.h: Likewise.
10059 * include/libio.h: Likewise.
10060 * include/locale.h: Likewise.
10061 * include/math.h: Likewise.
10062 * include/net/if.h: Likewise.
10063 * include/netdb.h: Likewise.
10064 * include/netinet/in.h: Likewise.
10065 * include/pthread.h: Likewise.
10066 * include/pwd.h: Likewise.
10067 * include/regex.h: Likewise.
10068 * include/sched.h: Likewise.
10069 * include/search.h: Likewise.
10070 * include/setjmp.h: Likewise.
10071 * include/signal.h: Likewise.
10072 * include/stdio.h: Likewise.
10073 * include/stdlib.h: Likewise.
10074 * include/string.h: Likewise.
10075 * include/sys/cdefs.h: Likewise.
10076 * include/sys/mman.h: Likewise.
10077 * include/sys/msg.h: Likewise.
10078 * include/sys/resource.h: Likewise.
10079 * include/sys/select.h: Likewise.
10080 * include/sys/socket.h: Likewise.
10081 * include/sys/stat.h: Likewise.
10082 * include/sys/statvfs.h: Likewise.
10083 * include/sys/time.h: Likewise.
10084 * include/sys/times.h: Likewise.
10085 * include/sys/uio.h: Likewise.
10086 * include/sys/utsname.h: Likewise.
10087 * include/sys/wait.h: Likewise.
10088 * include/termios.h: Likewise.
10089 * include/time.h: Likewise.
10090 * include/ulimit.h: Likewise.
10091 * include/unistd.h: Likewise.
10092 * include/utime.h: Likewise.
10093 * include/wchar.h: Likewise.
10094 * include/wctype.h: Likewise.
10095 * include/wordexp.h: Likewise.
10097 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10099 * time/time.h: TIME_UTC must be a macro.
10100 Make timespec_get available for ISO C11 only as well.
10102 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10104 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10105 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10107 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10109 * configure.in: Use -o not -a in test for unsupported multi-arch.
10111 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10113 * manual/texinfo.tex: Update to version 2012-01-19.16.
10115 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10117 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10119 2012-02-24 Roland McGrath <roland@hack.frob.com>
10122 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10123 * manual/fdl-1.3.texi: New file.
10124 * manual/fdl-1.1.texi: File removed.
10127 * manual/libc.texinfo (FDL_VERSION): New @set.
10128 Use it for mention of FDL in cover text.
10129 (Documentation License): Use it in @include file name.
10131 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10132 Roland McGrath <roland@hack.frob.com>
10135 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10136 not LONG_LONG_MAX and LONG_LONG_MIN.
10137 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10138 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10140 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10142 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10146 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10147 manipulate bits before adding and subtracting TWO23[sx].
10148 * math/libm-test.inc (nearbyint_test): Add more tests.
10150 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10153 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10154 bits before adding and subtracting TWO23[sx].
10155 * math/libm-test.inc (rint_test): Add more tests.
10156 (rint_test_tonearest): Likewise.
10157 (rint_test_towardzero): Likewise.
10158 (rint_test_downward): Likewise.
10159 (rint_test_upward: Likewise.
10161 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10164 * include/stdc-predef.h: New file. Extracted from features.h.
10165 * include/features.h: Include stdc-predef.h.
10166 * Makefile (headers): Add stdc-predef.h.
10167 * CONFORMANCE (Compiler limitations): Update.
10169 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10171 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10173 2012-02-21 David S. Miller <davem@davemloft.net>
10175 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10176 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10178 2012-02-20 David S. Miller <davem@davemloft.net>
10180 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10181 using a normal save/restore sequence, rather than allocating a
10182 dummy stack frame just to store a frame pointer and restore.
10183 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10185 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10187 * manual/install.texi: Fix stray word in line-wrapped comment.
10189 2012-02-20 David S. Miller <davem@davemloft.net>
10191 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10192 both binutils and gcc support GOTDATA.
10194 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10195 "rd %pc" in the PIC register setup sequences.
10197 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10198 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10199 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10200 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10201 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10202 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10203 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10204 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10206 (SYSCALL_ERROR_HANDLER): Likewise.
10207 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10208 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10209 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10210 (SYSCALL_ERROR_HANDLER): Likewise.
10212 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10213 (HAVE_GCC_GOTDATA): New.
10214 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10215 relocation support in both binutils and gcc.
10216 * sysdeps/sparc/elf/configure: Regenerate.
10218 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10219 * sysdeps/sparc/sparc32/elf/configure: Delete.
10220 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10221 * sysdeps/sparc/sparc64/elf/configure: Delete.
10222 * sysdeps/sparc/elf/configure.in: New file.
10223 * sysdeps/sparc/elf/configure: Generate.
10225 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10226 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10227 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10228 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10229 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10231 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10233 * manual/install.texi: Do not mention specific glibc version
10235 * manual/libc.texinfo (VERSION, UPDATED): Update.
10236 (@copying): Use @copyright{} and range of years.
10238 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10241 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10242 [crti.S not in sysdirs] (generated): Do not append.
10243 [crti.S not in sysdirs] (omit-deps): Likewise.
10244 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10245 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10246 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10247 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10248 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10250 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10251 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10252 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10253 * csu/defs.awk: Remove file.
10254 * sysdeps/generic/initfini.c: Likewise.
10255 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10257 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10260 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10262 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10263 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10264 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10265 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10266 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10267 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10269 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10270 (__EPOLL_PACKED): Define to empty if not defined by
10272 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10273 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10276 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10278 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10279 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10280 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10281 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10283 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10287 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10289 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10291 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10292 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10296 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10298 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10299 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10301 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10303 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10304 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10306 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10308 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10311 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10313 * math/w_acos.c: Use non-signaling floating-point comparisons.
10314 * math/w_acosf.c: Likewise.
10315 * math/w_acosh.c: Likewise.
10316 * math/w_acoshf.c: Likewise.
10317 * math/w_acoshl.c: Likewise.
10318 * math/w_acosl.c: Likewise.
10319 * math/w_asin.c: Likewise.
10320 * math/w_asinf.c: Likewise.
10321 * math/w_asinl.c: Likewise.
10322 * math/w_atanh.c: Likewise.
10323 * math/w_atanhf.c: Likewise.
10324 * math/w_atanhl.c: Likewise.
10325 * math/w_exp2.c: Likewise.
10326 * math/w_exp2f.c: Likewise.
10327 * math/w_exp2l.c: Likewise.
10328 * math/w_j0.c: Likewise.
10329 * math/w_j0f.c: Likewise.
10330 * math/w_j0l.c: Likewise.
10331 * math/w_j1.c: Likewise.
10332 * math/w_j1f.c: Likewise.
10333 * math/w_j1l.c: Likewise.
10334 * math/w_jn.c: Likewise.
10335 * math/w_jnf.c: Likewise.
10336 * math/w_log.c: Likewise.
10337 * math/w_log10.c: Likewise.
10338 * math/w_log10f.c: Likewise.
10339 * math/w_log10l.c: Likewise.
10340 * math/w_log2.c: Likewise.
10341 * math/w_log2f.c: Likewise.
10342 * math/w_log2l.c: Likewise.
10343 * math/w_logf.c: Likewise.
10344 * math/w_logl.c: Likewise.
10345 * math/w_sqrt.c: Likewise.
10346 * math/w_sqrtf.c: Likewise.
10347 * math/w_sqrtl.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10350 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10351 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10352 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10354 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10357 * manual/string.texi (strnlen): Use correct parameter name in
10358 equivalent expression.
10360 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10363 * manual/users.texi (seteuid): Consistently use neweuid for
10366 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10369 * manual/nss.texi (Services in the NSS configuration): Correct
10370 list of services in example configuration file.
10372 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10375 * manual/arith.texi: Remove statements about negative zero
10376 behaving identically to zero.
10378 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10381 * manual/install.texi: Do not document upgrading from libc5.
10383 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10386 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10388 2012-02-18 David S. Miller <davem@davemloft.net>
10390 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10391 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10392 %o7 across the call.
10393 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10396 SETUP_PIC_REG_LEAF.
10397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10398 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10399 * sysdeps/sparc/crtn.S: Likewise.
10401 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10403 * aout/Makefile: Remove.
10405 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10408 * manual/examples/argp-ex1.c (main): Format definition in GNU
10410 * manual/examples/argp-ex2.c (main): Likewise.
10411 * manual/examples/argp-ex3.c (main): Likewise.
10412 * manual/examples/argp-ex4.c (main): Likewise.
10413 * manual/examples/longopt.c (main): Use new-style prototype
10415 * manual/examples/strncat.c (main): Specify return type and use
10416 (void) for arguments.
10417 * manual/examples/subopt.c (main): Use char **argv argument.
10419 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10422 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10425 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10428 * manual/string.texi (strchr): Change when strchrnul is
10431 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10434 * manual/locale.texi (setlocale): Document LOCPATH.
10436 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10439 * manual/process.texi (execle): Move @dots{} before last argument.
10441 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10444 * manual/charset.texi (Generic Charset Conversion): Fix typo
10445 (LC_TYPE -> LC_CTYPE).
10447 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10450 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10451 (scalbnf): Likewise.
10452 (scalbnl): Likewise.
10453 (scalbln): Likewise.
10454 (scalblnf): Likewise.
10455 (scalblnl): Likewise.
10456 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10457 (vwarnx): Likewise.
10460 * manual/filesys.texi (telldir): Use braces around return type.
10461 * manual/llio.texi (mmap): Add space after comma.
10462 (mmap64): Likewise.
10463 * manual/math.texi (jn): Use @var{} on parameter names.
10469 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10471 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10473 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10474 (sched_get_priority_max): Likewise.
10475 * manual/signal.texi (sigvec): Add space after comma.
10476 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10478 (if_indextoname): Likewise.
10479 (if_freenameindex): Likewise.
10480 (sendto): Use ',' instead of '.' in prototype.
10481 * manual/startup.texi (syscall): Use @dots{} instead of literal
10483 * manual/stdio.texi (__fpending): Separate initial words of
10484 paragraph from @deftypefun line.
10485 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10487 (vsyslog): Use @var{} on parameter names.
10488 * manual/terminal.texi (stty): Use @var{} on parameter names.
10489 * manual/users.texi (getutmp): Use @var{} on parameter names.
10490 (getutmpx): Likewise.
10492 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10495 * manual/stdio.texi (fopen): Fix typos in description of
10498 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10501 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10502 get clock_id definition.
10504 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10507 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10508 (madvise): Cast every argument to void on its own.
10510 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10513 * manual/startup.texi (Exit Status): Fix typo.
10515 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10518 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10519 * manual/examples/argp-ex2.c: Likewise.
10520 * manual/examples/argp-ex3.c: Likewise.
10522 2012-02-16 Richard Henderson <rth@redhat.com>
10524 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10525 * sysdeps/s390/s390-32/initfini.c: Remove.
10526 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10527 * sysdeps/s390/s390-64/initfini.c: Remove.
10529 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10531 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10532 compiler output for sysdeps/generic/initfini.c.
10533 * sysdeps/sh/elf/initfini.c: Remove file.
10535 2012-02-16 David S. Miller <davem@davemloft.net>
10538 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10540 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10541 * sysdeps/sparc/crti.S: New file.
10542 * sysdeps/sparc/crtn.S: New file.
10543 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10544 * sysdeps/sparc/sparc64/Makefile: Likewise.
10546 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10549 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10551 2012-02-15 Roland McGrath <roland@hack.frob.com>
10554 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10556 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10557 (write, read, close): Likewise.
10558 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10560 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10562 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10563 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10564 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10565 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10567 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10571 2012-02-14 Marek Polacek <polacek@redhat.com>
10573 * sysdeps/x86_64/crti.S: New file.
10574 * sysdeps/x86_64/crtn.S: New file.
10575 * sysdeps/x86_64/elf/initfini.c: Remove file.
10577 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10579 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10580 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10581 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10582 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10584 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10588 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10590 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10591 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10592 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10593 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10595 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10599 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10601 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10602 __feraiseexcept instead of feraiseexcept.
10604 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10605 nanosleep invocations.
10606 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10607 strings, and add error checking for a nanosleep invocations.
10609 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10611 Replace FSF snail mail address with URLs, as per GNU coding standards.
10612 Most of the snail mail addresses were wrong anyway, and omitting
10613 them makes the source code easier to maintain. Almost all of the
10614 changes are to license notices and to locale LC_IDENTIFICATION
10615 addresses, except for this one:
10616 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10617 not its snail mail address.
10619 2012-02-09 Richard Henderson <rth@twiddle.net>
10621 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10622 of kernel-features.h.
10624 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10626 2012-02-08 Marek Polacek <polacek@redhat.com>
10628 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10629 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10630 * sysdeps/gnu/_G_config.h: Likewise.
10631 * sysdeps/generic/_G_config.h: Likewise.
10633 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10635 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10639 * sysdeps/powerpc/powerpc32/crti.S: New file.
10640 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10641 * sysdeps/powerpc/powerpc64/crti.S: New file.
10642 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10644 * Makeconfig (have-initfini): Don't set.
10645 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10646 * configure.in (nopic_initfini): Don't substitute.
10647 * config.h.in (HAVE_INITFINI): Don't #undef.
10648 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10649 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10651 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10653 Support crti.S and crtn.S provided directly by architectures.
10654 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10655 [crti.S in sysdirs] (omit-deps): Likewise.
10656 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10657 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10658 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10659 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10660 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10661 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10662 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10663 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10664 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10665 compiler output for sysdeps/generic/initfini.c.
10666 * sysdeps/i386/elf/Makefile: Remove file.
10667 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10669 2012-02-07 Marek Polacek <polacek@redhat.com>
10671 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10672 * sysdeps/gnu/_G_config.h: Likewise.
10673 * sysdeps/mach/hurd/_G_config.h: Likewise.
10675 2012-02-07 Marek Polacek <polacek@redhat.com>
10677 * math/Makefile (tests): Add tst-CMPLX2.
10678 * math/tst-CMPLX2.c: New file.
10680 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10682 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10684 * math/libm-test.inc (jn_test): Add missing L suffix.
10686 2012-02-06 Marek Polacek <polacek@redhat.com>
10688 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10689 * sysdeps/i386/fpu/e_powf.S: Likewise.
10690 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10691 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10692 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10693 * sysdeps/i386/fpu/e_pow.S: Likewise.
10694 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10695 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10696 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10697 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10698 * sysdeps/i386/fpu/e_log2.S: Likewise.
10699 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10700 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10701 * sysdeps/i386/fpu/e_powl.S: Likewise.
10702 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10703 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10704 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10705 * sysdeps/i386/fpu/e_logl.S: Likewise.
10706 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10707 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10708 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10709 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10710 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10711 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10712 * sysdeps/i386/fpu/e_log.S: Likewise.
10713 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10714 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10715 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10716 * sysdeps/i386/fpu/e_logf.S: Likewise.
10717 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10718 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10719 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10720 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10721 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10722 * sysdeps/i386/fpu/e_log10.S: Likewise.
10723 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10724 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10725 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10726 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10727 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10728 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10729 * sysdeps/i386/asm-syntax.h: Likewise.
10730 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10731 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10732 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10733 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10734 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10735 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10736 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10737 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10738 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10739 * sysdeps/powerpc/sysdep.h: Likewise.
10740 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10741 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10743 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10746 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10748 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10750 * sysdeps/i386/sysdep.h: Include <features.h>.
10751 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10754 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10756 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10758 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10761 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10763 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10764 (SETUP_PIC_REG): Use GET_PC_THUNK.
10765 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10768 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10770 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10771 for non-PIC compilation.
10772 (SETUP_PIC_REG): Add .p2align directive.
10773 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10774 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10775 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10776 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10777 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10778 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10779 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10780 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10781 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10782 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10783 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10784 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10785 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10786 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10787 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10788 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10789 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10790 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10791 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10792 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10793 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10794 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10795 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10796 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10797 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10799 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10800 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10801 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10802 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10803 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10804 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10805 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10806 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10807 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10808 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10809 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10810 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10811 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10812 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10813 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10815 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10817 * math/tst-CMPLX.c: Include <stdio.h>.
10819 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10821 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10823 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10824 * sysdeps/sparc/bits/mathdef.h: Likewise.
10826 2012-01-31 Marek Polacek <polacek@redhat.com>
10828 * libio/libio.h: Don't define _PARAMS.
10829 * locale/programs/config.h: Don't define PARAMS.
10830 * stdlib/strtol_l.c: Likewise.
10831 (__strtol_l): Remove PARAMS from the prototype.
10833 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10835 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10836 names. Just use the correct names. Remove unnecessary wrapper
10838 * malloc/arena.c: Likewise.
10839 * malloc/hooks.c: Likewise.
10841 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10842 ARENA_TEST says not to. Simplify test for creation of a new arena.
10843 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10845 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10847 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10849 (update_get_addr): New function.
10850 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10851 GET_ADDR_MODULE parameter.
10853 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10855 * crypt/cert.c: Remove __STDC__ conditionals.
10856 * crypt/crypt-entry.c: Likewise.
10857 * crypt/crypt_util.c: Likewise.
10858 * libio/filedoalloc.c: Likewise.
10859 * libio/fileops.c: Likewise.
10860 * libio/genops.c: Likewise.
10861 * libio/iofclose.c: Likewise.
10862 * libio/iofdopen.c: Likewise.
10863 * libio/iofopen.c: Likewise.
10864 * libio/iofopen64.c: Likewise.
10865 * libio/iogetdelim.c: Likewise.
10866 * libio/iopopen.c: Likewise.
10867 * libio/obprintf.c: Likewise.
10868 * libio/oldfileops.c: Likewise.
10869 * libio/oldiofclose.c: Likewise.
10870 * libio/oldiofdopen.c: Likewise.
10871 * libio/oldiofopen.c: Likewise.
10872 * libio/oldiopopen.c: Likewise.
10873 * libio/wfiledoalloc.c: Likewise.
10874 * libio/wgenops.c: Likewise.
10875 * locale/programs/xmalloc.c: Likewise.
10876 * misc/syslog.c: Likewise.
10877 * stdio-common/xbug.c: Likewise.
10878 * string/memchr.c: Likewise.
10879 * string/memcmp.c: Likewise.
10880 * string/memrchr.c: Likewise.
10881 * string/rawmemchr.c: Likewise.
10882 * sysdeps/posix/getcwd.c: Likewise.
10883 * time/strftime_l.c: Likewise.
10885 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10887 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10888 * config.make.in (config-cflags-sse2avx): Define.
10889 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10892 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10894 * scripts/config.guess: Update from upstream config git repository.
10895 * scripts/config.sub: Likewise.
10897 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10899 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10901 (R_TILEPRO_*, R_TILEGX_*): New macros.
10903 * scripts/firstversions.awk: Fix bug in version range handling.
10905 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10907 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10909 * include/sys/epoll.h: New file.
10910 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10913 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10915 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10916 Avoid unnecessary __WORDSIZE == 64 test.
10917 (fmaxf): Use VEX format if possible.
10922 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10923 * math/math_private.h: Remove libc_fegetround* and
10925 * sysdeps/i386/configure.in: Check for -msse2avx.
10926 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10927 also if SSE2AVX is defined.
10928 Remove libc_fegetround* and libc_fesetround*.
10929 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10930 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10931 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10934 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10935 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10937 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10939 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10941 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10943 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10945 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10947 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10950 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10952 * Makeconfig (libm): Define.
10953 * elf/Makefile: Add rules to build and run tst-relsort1.
10954 * elf/tst-relsort1.c: New file.
10955 * elf/tst-relsort1mod1.c: New file.
10956 * elf/tst-relsort1mod2.c: New file.
10958 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10960 * math/s_ldexp.c: Remove __STDC__ conditionals.
10961 * math/s_ldexpf.c: Likewise.
10962 * math/s_ldexpl.c: Likewise.
10963 * math/s_nextafter.c: Likewise.
10964 * math/s_nexttowardf.c: Likewise.
10965 * math/s_significand.c: Likewise.
10966 * math/s_significandf.c: Likewise.
10967 * math/s_significandl.c: Likewise.
10968 * math/w_jnl.c: Likewise.
10969 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10970 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10971 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10972 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10973 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10976 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10977 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10982 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10983 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10984 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10985 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10986 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10987 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10988 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10989 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10990 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10991 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10992 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10993 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10994 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10995 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10996 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10997 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10998 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10999 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11000 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11001 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11002 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11003 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11004 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11005 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11006 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11007 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11008 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11009 * sysdeps/ieee754/k_standard.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11019 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11020 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11023 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11024 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11025 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11028 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11030 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11037 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11038 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11039 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11040 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11071 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11076 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11084 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11085 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11089 * sysdeps/ieee754/s_matherr.c: Likewise.
11090 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11091 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11092 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11093 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11095 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11097 * crypt/md5.h: Remove __STDC__ conditionals.
11098 * libio/libioP.h: Likewise.
11099 * locale/programs/config.h: Likewise.
11100 * sysdeps/generic/sysdep.h: Likewise.
11101 * sysdeps/i386/asm-syntax.h: Likewise.
11102 * sysdeps/s390/asm-syntax.h: Likewise.
11103 * sysdeps/unix/sysdep.h: Likewise.
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11107 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11109 * libio/libio.h: Remove __STDC__ conditionals.
11110 * malloc/obstack.h: Likewise.
11111 * math/complex.h: Likewise.
11112 * math/math.h: Likewise.
11113 * sysdeps/generic/_G_config.h: Likewise.
11114 * sysdeps/gnu/_G_config.h: Likewise.
11115 * sysdeps/mach/hurd/_G_config.h: Likewise.
11116 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11117 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11118 * sysdeps/sparc/bits/mathdef.h: Likewise.
11120 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11123 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11124 Clean up HAS_* macros.
11125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11126 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11128 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11130 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11131 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11132 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11133 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11134 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11136 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11138 * elf/tst-unique3.cc (gets): Remove declaration.
11139 * elf/tst-unique3lib.cc (gets): Likewise.
11140 * elf/tst-unique3lib2.cc (gets): Likewise.
11141 * elf/tst-unique4.cc (gets): Likewise.
11143 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11145 * include/stdio.h: Add C++ protection. Add gets declarations and
11147 * debug/tst-chk1.c: Don't declare gets here.
11148 * stdio-common/tst-gets.c: Likewise.
11150 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11152 * posix/glob: Remove directory.
11154 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11156 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11158 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11160 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11161 of the non-standard EPFNOSUPPORT.
11163 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11165 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11166 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11167 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11169 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11171 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11173 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11175 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11177 * nscd/grpcache.c (cache_addgr): Likewise.
11178 * nscd/hstcache.c (cache_addhst): Likewise.
11179 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11180 * nscd/pwdcache.c (cache_addpw): Likewise.
11181 * nscd/servicescache.c (cache_addserv): Likewise.
11183 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11185 * malloc/malloc.c: Various cleanups.
11186 * malloc/hooks.c: Likewise.
11188 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11189 * stdlib/bug-fmtmsg1.c: New file.
11191 * stdlib/fmtmsg.c (init): Add missing unlock.
11192 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11194 2012-01-12 Marek Polacek <polacek@redhat.com>
11196 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11199 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11201 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11202 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11203 macro to ensure uniqueness of label name.
11204 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11205 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11207 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11209 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11211 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11212 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11213 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11216 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11218 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11220 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11221 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11222 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11224 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11226 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11227 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11228 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11229 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11231 * math/bits/math-finite.h: Add ldexp support.
11233 2012-01-10 Marek Polacek <polacek@redhat.com>
11235 * locale/programs/localedef.h (show_archive_content): Add noreturn
11238 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11240 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11242 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11244 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11246 * io/Makefile (headers): Add bits/poll2.h.
11248 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11251 typo #include statement.
11253 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11255 * include/sys/cdefs.h: Define __attribute_alloc_size.
11256 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11257 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11258 * elf/pldd.c: Likewise.
11259 * iconv/iconv_charmap.c: Likewise.
11260 * iconv/iconvconfig.c: Likewise.
11261 * iconv/strtab.c: Likewise.
11262 * locale/programs/locale.c: Likewise.
11263 * locale/programs/localedef.h: Likewise.
11264 * locale/programs/simple-hash.c: Likewise.
11265 * nscd/nscd.h: Likewise.
11266 * nss/makedb.c: Likewise.
11267 * sysdeps/generic/ldconfig.h: Likewise.
11268 * locale/programs/localedef.c: Remove xmalloc prototype.
11269 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11271 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11273 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11276 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11278 * math/Makefile (tests): Add tst-CMPLX.
11279 * math/tst-CMPLX.c: New file.
11281 * math/complex.h (CMPLXL): Fix typo.
11283 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11284 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11286 * debug/tst-chk1.c: Add poll and ppoll tests.
11287 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11288 * include/sys/poll.h: Add hidden proto for ppoll.
11289 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11290 * sysdeps/mach/hurd/ppoll.c: Likewise.
11291 * io/ppoll.c: Likewise.
11292 * debug/poll_chk.c: New file.
11293 * debug/ppoll_chk.c: New file.
11294 * include/bits/poll2.h: New file.
11295 * io/bits/poll2.h: New file.
11298 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11300 * configure.in: static is always set to yes. Remove.
11301 * config.make.in: Don't set build-static.
11302 * Makeconfig: Remove use of build-static.
11303 * dlfcn/Makefile: Likewise.
11304 * elf/Makefile: Likewise.
11305 * math/Makefile: Likewise.
11306 * misc/Makefile: Likewise.
11307 * nptl/Makefile: Likewise.
11308 * sysdeps/mach/hurd/Makefile: Likewise.
11310 * configure.in: PWD_P is not used anymore.
11311 * config.make.in: Remove PWD_P entry.
11313 * configure.in: Remove last remnants of RANLIB.
11314 No need to check for signed size_t anymore.
11315 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11317 Remove __builtin_expect test because we require at least gcc 3.4.
11318 * aclocal.m4: Likewise.
11320 * wcsmbs/mbrtoc16.c: Implement using towc function.
11321 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11322 * wcsmbs/wcsmbsload.c: Likewise.
11323 * iconv/gconv_simple.c: Likewise.
11324 * iconv/gconv_int.h: Likewise.
11325 * iconv/gconv_builtin.h: Likewise.
11326 * iconv/iconv_prog.c: Remove CHAR16 handling.
11328 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11330 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11332 * configure.in: Remove --with-elf and --enable-bounded options.
11333 Dont set base_machine for ia64. More non-ELF conditions removed.
11334 Remove testing and setting of leading underscore information.
11335 * config.make.in (build-bounded): Set to no.
11336 * config.h.in: Remove NO_UNDERSCORES entry.
11337 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11339 * csu/start.c: Remove !NO_UNDERSCORE code.
11340 * locale/localeinfo.h: Likewise.
11341 * sysdeps/generic/machine-gmon.h: Likewise.
11342 * sysdeps/generic/sysdep.h: Likewise.
11343 * sysdeps/i386/sysdep.h: Likewise.
11344 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11345 * sysdeps/mach/sysdep.h: Likewise.
11346 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11347 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11348 * sysdeps/sh/sysdep.h: Likewise.
11349 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11350 * sysdeps/unix/i386/sysdep.S: Likewise.
11351 * sysdeps/unix/sparc/start.c: Likewise.
11352 * sysdeps/unix/sparc/sysdep.S: Likewise.
11353 * sysdeps/unix/sparc/sysdep.h: Likewise.
11354 * sysdeps/unix/start.c: Likewise.
11355 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11356 * sysdeps/x86_64/sysdep.h: Likewise.
11358 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11361 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11363 * argp/argp-fmtstream.h: Use const instead __const.
11364 * argp/argp.h: Likewise.
11365 * assert/assert.h: Likewise.
11366 * bits/fenv.h: Likewise.
11367 * bits/sched.h: Likewise.
11368 * bits/sigset.h: Likewise.
11369 * bits/sigthread.h: Likewise.
11370 * catgets/nl_types.h: Likewise.
11371 * conform/data/pthread.h-data: Likewise.
11372 * crypt/crypt-private.h: Likewise.
11373 * crypt/crypt.h: Likewise.
11374 * crypt/crypt_util.c: Likewise.
11375 * ctype/ctype.h: Likewise.
11376 * debug/execinfo.h: Likewise.
11377 * debug/mbsnrtowcs_chk.c: Likewise.
11378 * debug/mbsrtowcs_chk.c: Likewise.
11379 * debug/wcsnrtombs_chk.c: Likewise.
11380 * debug/wcsrtombs_chk.c: Likewise.
11381 * debug/wcstombs_chk.c: Likewise.
11382 * dirent/dirent.h: Likewise.
11383 * dlfcn/dlfcn.h: Likewise.
11384 * elf/neededtest4.c: Likewise.
11385 * grp/grp.h: Likewise.
11386 * gshadow/gshadow.h: Likewise.
11387 * iconv/gconv.h: Likewise.
11388 * iconv/gconv_int.h: Likewise.
11389 * iconv/gconv_simple.c: Likewise.
11390 * iconv/iconv.h: Likewise.
11391 * iconv/loop.c: Likewise.
11392 * iconv/skeleton.c: Likewise.
11393 * include/aio.h: Likewise.
11394 * include/aliases.h: Likewise.
11395 * include/argz.h: Likewise.
11396 * include/arpa/inet.h: Likewise.
11397 * include/assert.h: Likewise.
11398 * include/dirent.h: Likewise.
11399 * include/dlfcn.h: Likewise.
11400 * include/execinfo.h: Likewise.
11401 * include/fcntl.h: Likewise.
11402 * include/fenv.h: Likewise.
11403 * include/glob.h: Likewise.
11404 * include/grp.h: Likewise.
11405 * include/libintl.h: Likewise.
11406 * include/mntent.h: Likewise.
11407 * include/netdb.h: Likewise.
11408 * include/pwd.h: Likewise.
11409 * include/rpc/netdb.h: Likewise.
11410 * include/sched.h: Likewise.
11411 * include/search.h: Likewise.
11412 * include/shadow.h: Likewise.
11413 * include/signal.h: Likewise.
11414 * include/stdio.h: Likewise.
11415 * include/stdlib.h: Likewise.
11416 * include/string.h: Likewise.
11417 * include/sys/socket.h: Likewise.
11418 * include/sys/stat.h: Likewise.
11419 * include/sys/statfs.h: Likewise.
11420 * include/sys/statvfs.h: Likewise.
11421 * include/sys/syslog.h: Likewise.
11422 * include/sys/time.h: Likewise.
11423 * include/sys/uio.h: Likewise.
11424 * include/time.h: Likewise.
11425 * include/unistd.h: Likewise.
11426 * include/utmp.h: Likewise.
11427 * include/wchar.h: Likewise.
11428 * include/wctype.h: Likewise.
11429 * inet/aliases.h: Likewise.
11430 * inet/arpa/inet.h: Likewise.
11431 * inet/netinet/ether.h: Likewise.
11432 * inet/netinet/in.h: Likewise.
11433 * intl/libintl.h: Likewise.
11434 * io/bits/fcntl2.h: Likewise.
11435 * io/fcntl.h: Likewise.
11436 * io/ftw.h: Likewise.
11437 * io/sys/poll.h: Likewise.
11438 * io/sys/stat.h: Likewise.
11439 * io/sys/statfs.h: Likewise.
11440 * io/sys/statvfs.h: Likewise.
11441 * io/utime.h: Likewise.
11442 * libio/bits/stdio.h: Likewise.
11443 * libio/bits/stdio2.h: Likewise.
11444 * libio/libio.h: Likewise.
11445 * libio/libioP.h: Likewise.
11446 * libio/stdio.h: Likewise.
11447 * locale/lc-ctype.c: Likewise.
11448 * locale/locale.h: Likewise.
11449 * login/utmp.h: Likewise.
11450 * malloc/arena.c: Likewise.
11451 * malloc/malloc.c: Likewise.
11452 * malloc/malloc.h: Likewise.
11453 * malloc/mcheck.c: Likewise.
11454 * malloc/mtrace.c: Likewise.
11455 * math/bits/mathcalls.h: Likewise.
11456 * math/fenv.h: Likewise.
11457 * math/math_private.h: Likewise.
11458 * misc/bits/error.h: Likewise.
11459 * misc/bits/syslog.h: Likewise.
11460 * misc/err.h: Likewise.
11461 * misc/error.h: Likewise.
11462 * misc/fstab.h: Likewise.
11463 * misc/mntent.h: Likewise.
11464 * misc/regexp.h: Likewise.
11465 * misc/search.h: Likewise.
11466 * misc/sgtty.h: Likewise.
11467 * misc/sys/mman.h: Likewise.
11468 * misc/sys/syslog.h: Likewise.
11469 * misc/sys/uio.h: Likewise.
11470 * misc/sys/xattr.h: Likewise.
11471 * misc/ttyent.h: Likewise.
11472 * nis/rpcsvc/ypclnt.h: Likewise.
11473 * nss/nss.h: Likewise.
11474 * posix/bits/unistd.h: Likewise.
11475 * posix/fnmatch.h: Likewise.
11476 * posix/glob.h: Likewise.
11477 * posix/sched.h: Likewise.
11478 * posix/spawn.h: Likewise.
11479 * posix/sys/wait.h: Likewise.
11480 * posix/unistd.h: Likewise.
11481 * posix/wordexp.h: Likewise.
11482 * pwd/pwd.h: Likewise.
11483 * resolv/netdb.h: Likewise.
11484 * resource/sys/resource.h: Likewise.
11485 * rt/aio.h: Likewise.
11486 * rt/bits/mqueue2.h: Likewise.
11487 * rt/mqueue.h: Likewise.
11488 * shadow/shadow.h: Likewise.
11489 * signal/signal.h: Likewise.
11490 * socket/send.c: Likewise.
11491 * socket/sendto.c: Likewise.
11492 * socket/sys/socket.h: Likewise.
11493 * stdio-common/printf.h: Likewise.
11494 * stdlib/bits/stdlib.h: Likewise.
11495 * stdlib/fmtmsg.h: Likewise.
11496 * stdlib/monetary.h: Likewise.
11497 * stdlib/stdlib.h: Likewise.
11498 * stdlib/ucontext.h: Likewise.
11499 * streams/stropts.h: Likewise.
11500 * string/argz.h: Likewise.
11501 * string/bits/string2.h: Likewise.
11502 * string/string.h: Likewise.
11503 * string/strings.h: Likewise.
11504 * sunrpc/rpc/auth.h: Likewise.
11505 * sunrpc/rpc/auth_des.h: Likewise.
11506 * sunrpc/rpc/clnt.h: Likewise.
11507 * sunrpc/rpc/netdb.h: Likewise.
11508 * sunrpc/rpc/pmap_clnt.h: Likewise.
11509 * sunrpc/rpc/xdr.h: Likewise.
11510 * sysdeps/generic/inttypes.h: Likewise.
11511 * sysdeps/generic/net/if.h: Likewise.
11512 * sysdeps/generic/sys/swap.h: Likewise.
11513 * sysdeps/gnu/net/if.h: Likewise.
11514 * sysdeps/gnu/utmpx.h: Likewise.
11515 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11516 * sysdeps/i386/i486/bits/string.h: Likewise.
11517 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11518 * sysdeps/s390/bits/string.h: Likewise.
11519 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11520 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11521 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11522 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11523 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11524 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11525 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11526 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11527 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11528 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11529 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11530 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11531 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11532 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11533 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11534 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11535 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11537 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11538 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11539 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11540 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11541 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11542 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11543 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11544 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11545 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11547 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11548 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11549 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11550 * sysvipc/sys/ipc.h: Likewise.
11551 * sysvipc/sys/msg.h: Likewise.
11552 * sysvipc/sys/sem.h: Likewise.
11553 * sysvipc/sys/shm.h: Likewise.
11554 * termios/termios.h: Likewise.
11555 * time/sys/time.h: Likewise.
11556 * time/time.h: Likewise.
11557 * wcsmbs/bits/wchar2.h: Likewise.
11558 * wcsmbs/uchar.h: Likewise.
11559 * wcsmbs/wchar.h: Likewise.
11560 * wctype/wctype.h: Likewise.
11563 * Makeconfig: Remove all but ELF support including AIX support.
11564 * Makerules: Likewise.
11565 * config.h.in: Likewise.
11566 * config.make.in: Likewise.
11567 * configure: Likewise.
11568 * configure.in: Likewise.
11569 * csu/Makefile: Likewise.
11570 * csu/version.c: Likewise.
11571 * debug/Makefile: Likewise.
11572 * dlfcn/Makefile: Likewise.
11573 * elf/Makefile: Likewise.
11574 * extra-lib.mk: Likewise.
11575 * iconv/Makefile: Likewise.
11576 * include/libc-symbols.h: Likewise.
11577 * include/shlib-compat.h: Likewise.
11578 * resolv/Makefile: Likewise.
11579 * resolv/res_libc.c: Likewise.
11580 * rt/Makefile: Likewise.
11581 * sysdeps/i386/asm-syntax.h: Likewise.
11582 * sysdeps/i386/sysdep.h: Likewise.
11583 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11584 * sysdeps/mach/sysdep.h: Likewise.
11585 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11586 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11587 * sysdeps/s390/asm-syntax.h: Likewise.
11588 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11589 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11590 * sysdeps/sh/sysdep.h: Likewise.
11591 * sysdeps/unix/sparc/sysdep.h: Likewise.
11592 * sysdeps/wordsize-32/divdi3.c: Likewise.
11593 * sysdeps/x86_64/sysdep.h: Likewise.
11595 * argp/Versions: Remove _argp_unlock_xxx.
11598 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11599 * abilist/libBrokenLocale.abilist: Likewise.
11600 * abilist/libanl.abilist: Likewise.
11601 * abilist/libc.abilist: Likewise.
11602 * abilist/libcrypt.abilist: Likewise.
11603 * abilist/libdl.abilist: Likewise.
11604 * abilist/libm.abilist: Likewise.
11605 * abilist/libnsl.abilist: Likewise.
11606 * abilist/libpthread.abilist: Likewise.
11607 * abilist/libresolv.abilist: Likewise.
11608 * abilist/librt.abilist: Likewise.
11609 * abilist/libthread_db.abilist: Likewise.
11610 * abilist/libutil.abilist: Likewise.
11611 * abilist/libnss_db.abilist: New file.
11613 * scripts/abilist.awk: Add support for indirect functions.
11615 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11617 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11619 * shlib-versions: Remove entries for ports architectures.
11621 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11623 * elf/stackguard-macros.h: Remove support for IA-64.
11624 * elf/tst-auditmod1.c: Likewise.
11625 * sysdeps/generic/ldsodefs.h: Likewise.
11627 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11628 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11632 * configure.in: Remove --enable-omitfp support.
11634 * config.make.in: Likewise.
11635 * Makeconfig: Likewise.
11636 * manual/install.texi: Likewise.
11638 In case anyone cares, the IA-64 architecture could move to ports.
11639 * sysdeps/ia64/*: Removed.
11640 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11641 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11644 * configure.in: Remove entries for unsupported architectures.
11647 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11648 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11650 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11651 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11652 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11653 fall back to using wcrtomb.
11654 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11655 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11657 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11658 * wcsmbs/tst-c16c32-1.c: New file.
11660 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11663 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11665 * elf/tst-unique3.cc: Add explicit declaration of gets.
11666 * elf/tst-unique3lib.cc: Likewise.
11667 * elf/tst-unique3lib2.cc: Likewise.
11668 * elf/tst-unique4.cc: Likewise.
11670 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11672 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11675 * assert/assert.h (static_assert): Don't define for C++.
11676 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11677 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11679 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11681 * iconv/loop.c (single loop): Fix assertion in storing of
11684 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11686 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11688 * posix/getconf.c: Update copyright year.
11689 * nss/getent.c: Likewise.
11690 * nss/makedb.c: Likewise.
11691 * iconv/iconvconfig.c: Likewise.
11692 * iconv/iconv_prog.c: Likewise.
11693 * elf/ldconfig.c: Likewise.
11694 * elf/pldd.c: Likewise.
11695 * elf/sotruss.ksh: Likewise.
11696 * catgets/gencat.c: Likewise.
11697 * csu/version.c: Likewise.
11698 * elf/ldd.bash.in: Likewise.
11699 * elf/sprof.c (print_version): Likewise.
11700 * locale/programs/locale.c: Likewise.
11701 * locale/programs/localedef.c: Likewise.
11702 * login/programs/pt_chown.c: Likewise.
11703 * nscd/nscd.c (print_version): Likewise.
11704 * debug/xtrace.sh: Likewise.
11705 * malloc/memusage.sh: Likewise.
11706 * malloc/mtrace.pl: Likewise.
11707 * debug/catchsegv.sh: Likewise.
11709 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11711 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11714 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11717 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11718 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11720 * iconv/gconv_int.h: Likewise.
11721 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11722 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11723 from libc for GLIBC_2.16.
11724 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11725 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11726 * wcsmbs/uchar.h: Really define mbstate_t.
11727 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11728 * wcsmbs/c16rtomb.c: New file.
11729 * wcsmbs/mbrtoc16.c: New file.
11730 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11731 for C/POSIX locale.
11732 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11733 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11735 * wcsmbs/wchar.h: Add missing __restrict.
11737 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11740 * time/Makefile (routines): Add timespec_get.
11741 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11742 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11743 timespec for ISO C11.
11744 * time/timespec_get.c: New file.
11745 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11746 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11749 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11750 * stdlib/stdlib.h: Declare aligned_alloc.
11751 * Versions.def: Add GLIBC_2.16 for libc.
11752 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11755 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11758 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11762 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11765 * assert/assert.h (static_assert): Define.
11767 * version.h: Update for 2.16 development version.
11770 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11773 * version.h (RELEASE): Bump for 2.15 release.
11774 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11776 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11777 Patch by Marek Polacek <mpolacek@redhat.com>.
11779 * bits/byteswap.h: Protect long long constants with __extension__.
11780 * sysdeps/i386/bits/byteswap.h: Likewise.
11781 * sysdeps/ia64/bits/byteswap.h: Likewise.
11782 * sysdeps/s390/bits/byteswap.h: Likewise.
11783 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11785 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11788 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11789 destination buffer.
11790 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11792 2011-12-23 Marek Polacek <polacek@redhat.com>
11794 * elf/dl-addr.c (determine_info): Add inline keyword.
11795 * elf/tst-auditmod4b.c (check_avx): Likewise.
11796 * elf/tst-auditmod6b.c (check_avx): Likewise.
11797 * elf/tst-auditmod6c.c (check_avx): Likewise.
11798 * elf/tst-auditmod7b.c (check_avx): Likewise.
11800 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11802 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11805 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11808 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11809 processing for last bytes.
11811 2011-08-06 Bruno Haible <bruno@clisp.org>
11814 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11815 U+0385, not to U+1FEE.
11818 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11819 entry for U+00A5 U+0301.
11821 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11824 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11825 buffer for the output is too small.
11827 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11831 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11832 SSE flags if possible.
11834 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11837 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11838 processing for last bytes.
11840 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11842 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11843 (syscall-list-default-options, syscall-list-default-condition)
11844 (syscall-list-includes): Define.
11845 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11846 list of ABIs and options and #if conditions for each ABI. Do not
11847 handle common syscalls between ABIs specially.
11848 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11850 (syscall-list-variants, syscall-list-32bit-options)
11851 (syscall-list-32bit-condition, syscall-list-64bit-options)
11852 (syscall-list-64bit-condition): Define.
11853 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11854 (syscall-list-variants, syscall-list-32bit-options)
11855 (syscall-list-32bit-condition, syscall-list-64bit-options)
11856 (syscall-list-64bit-condition): Define.
11857 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11859 (syscall-list-variants, syscall-list-32bit-options)
11860 (syscall-list-32bit-condition, syscall-list-64bit-options)
11861 (syscall-list-64bit-condition): Define.
11862 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11864 (syscall-list-variants, syscall-list-32bit-options)
11865 (syscall-list-32bit-condition, syscall-list-64bit-options)
11866 (syscall-list-64bit-condition): Define.
11868 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11870 * locale/iso-639.def: Add brx entry.
11873 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11874 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11876 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11877 __feraiseexcept_renamed.
11879 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11882 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11883 EPOLLET with unsigned values.
11884 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11885 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11887 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11888 to large cancellation.
11889 * math/s_cacoshf.c: Likewise.
11890 * math/s_cacoshl.c: Likewise.
11892 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11896 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11897 * math/s_cacoshf.c: Likewise.
11898 * math/s_cacoshl.c: Likewise.
11900 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11903 * iconv/gconv.h: Define __GCONV_SWAP.
11904 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11905 * iconvdata/utf-16.c: Likewise.
11906 * iconvdata/utf-32.c: Likewise.
11908 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11911 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11912 numerator after shifting it by one limb.
11914 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11916 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11917 under [__USE_EXTERN_INLINES].
11919 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11922 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11924 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11926 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11927 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11929 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11930 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11931 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11932 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11933 for strncasecmp/strncasecmp_l compilation.
11934 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11935 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11937 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11940 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11943 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11946 * time/tzfile.c (__tzfile_read): Check values from file header.
11948 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11950 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11951 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11952 * powerpc/powerpc32/dl-start.S: Likewise.
11953 * powerpc/powerpc32/elf/start.S: Likewise.
11954 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11955 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11956 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11957 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11958 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11959 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11960 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11961 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11962 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11963 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11964 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11965 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11966 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11967 * powerpc/powerpc32/memset.S: Likewise.
11968 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11969 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11970 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11971 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11972 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11973 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11974 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11975 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11976 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11977 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11978 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11979 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11980 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11982 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11984 * math/libm-test.inc: Added more nearbyint tests.
11985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11986 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11987 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11988 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11990 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11992 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11995 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11997 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11998 Add wcscpy-ssse3 wcscpy-c.
11999 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12000 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12001 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12002 * sysdeps/x86_64/wcschr.S: New file.
12003 * sysdeps/x86_64/wcsrchr.S: New file.
12004 * string/test-strcmp.c: Remove checking of wcscmp function for
12006 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12007 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12008 wcsrchr-sse2 wcsrchr-c.
12009 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12010 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12011 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12012 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12013 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12014 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12015 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12016 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12017 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12018 * wcsmbc/wcschr.c (WCSCHR): New macro.
12020 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12022 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12023 * wcsmbs/test-wcsrchr.c: New file.
12024 * string/test-strrchr.c: Add wcsrchr support.
12026 * wcsmbs/test-wcscpy.c: New file.
12027 * string/test-strcpy.c: Add wcscpy support.
12030 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12032 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12035 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12038 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12040 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12042 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12043 Minor optimizations.
12045 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12046 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12047 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12049 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12051 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12052 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12053 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12054 for gcc to avoid warnings.
12055 * inet/Makefile (tests): Add tst-checks.
12056 * inet/tst-checks.c: New file.
12058 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12061 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12064 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12065 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12067 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12069 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12071 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12074 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12076 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12078 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12079 conditional on GCC version.
12080 (__arch_compare_and_exchange_val_8_acq)
12081 (__arch_compare_and_exchange_val_16_acq)
12082 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12083 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12084 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12086 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12088 * sysdeps/sh/backtrace.c: New file.
12090 2011-12-02 Andreas Schwab <schwab@redhat.com>
12092 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12095 2011-12-01 Andreas Schwab <schwab@redhat.com>
12097 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12098 falling back to utime.
12100 2011-11-30 Andreas Schwab <schwab@redhat.com>
12102 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12103 expectations for float.
12105 2011-11-29 Andreas Schwab <schwab@redhat.com>
12107 * locale/weight.h (findidx): Add parameter len.
12108 * locale/weightwc.h (findidx): Likewise.
12109 * posix/fnmatch_loop.c (FCT): Adjust caller.
12110 * posix/regcomp.c (build_equiv_class): Likewise.
12111 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12112 * posix/regexec.c (check_node_accept_bytes): Likewise.
12113 * string/strcoll_l.c (STRCOLL): Likewise.
12114 * string/strxfrm_l.c (STRXFRM): Likewise.
12116 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12118 * Makefile.in: Remove CVSOPT handling.
12119 * configure.in: Remove use of AC_REVISION.
12120 * iconvdata/Makefile (distribute): No need to filter out CVS.
12121 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12124 2011-11-16 Andreas Schwab <schwab@redhat.com>
12126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12127 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12128 [USE_AS_STRNCASECMP_L]: Likewise.
12129 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12130 NO_TLS_DIRECT_SEG_REFS.
12131 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12132 Fix argument offsets for non-PIC.
12133 [USE_AS_STRNCASECMP_L]: Likewise.
12134 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12135 NO_TLS_DIRECT_SEG_REFS.
12137 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12139 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12141 * locale/loadlocale.c (_nl_load_locale): Likewise.
12143 2011-11-15 Andreas Schwab <schwab@redhat.com>
12145 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12146 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12147 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12148 (SYSCALL_GETTIME): Set errno on error.
12150 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12151 count references to noai6ai_cached.
12153 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12155 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12157 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12158 FD_CLOEXEC for /proc/self/maps.
12160 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12161 FD_CLOEXEC for /proc/meminfo.
12163 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12166 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12167 FD_CLOEXEC for given file.
12169 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12171 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12172 FD_CLOEXEC for /etc/hosts.
12173 (_gethtent): Likewise.
12175 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12177 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12178 cancellation and set FD_CLOEXEC for /etc/netgroup.
12180 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12181 reading /etc/publickey.
12183 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12184 allow cancellation when reading /etc/group.
12186 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12188 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12190 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12191 when using data file.
12193 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12195 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12196 (write_nis_obj): Use "c" and "e" in fopen.
12198 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12200 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12202 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12204 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12206 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12209 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12211 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12213 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12215 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12216 file parsing and set FD_CLOEXEC.
12218 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12220 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12222 2011-11-14 Andreas Schwab <schwab@redhat.com>
12224 * malloc/arena.c (arena_get2): Don't call reused_arena when
12225 _int_new_arena failed.
12227 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12229 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12230 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12231 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12232 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12233 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12234 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12235 to compile strcasecmp and strncasecmp.
12236 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12237 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12241 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12243 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12244 locale-defines.sym to gen-as-const-headers.
12245 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12246 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12248 to compile strcasecmp and strncasecmp.
12249 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12250 strcasecmp_l and strncasecmp_l.
12251 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12252 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12253 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12254 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12255 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12256 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12257 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12258 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12259 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12260 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12261 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12263 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12265 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12266 result of SYSDEP_GETTIME_CPU to retval.
12267 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12268 parameter list to macro. Remove trailing semicolon. Adjust users.
12270 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12273 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12275 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12277 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12278 from unused variable.
12280 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12282 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12285 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12288 * sunrpc/rpc_prot.c (rejected): Fix case value.
12290 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12291 unsigned long long int to avoid warnings in shift.
12293 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12295 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12298 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12299 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12300 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12302 * nis/nis_table.c (nis_list): Use variable of correct type for
12303 result of __follow_path call.
12305 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12307 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12308 of math functions ceil, trunc, floor, round, and sqrt, when
12309 avaliable on the platform.
12310 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12312 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12313 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12314 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12316 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12318 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12319 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12321 2011-11-11 Roland McGrath <roland@hack.frob.com>
12323 * include/unistd.h: Fix __readlink return type.
12324 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12326 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12328 * stdlib/ucontext.h: Undo last change for makecontext.
12330 2011-11-11 Andreas Schwab <schwab@redhat.com>
12332 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12334 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12335 * setjmp/setjmp.h: Mark functions as non-leaf.
12336 * setjmp/bits/setjmp2.h: Likewise.
12337 * stdlib/ucontext.h: Likewise.
12339 2011-11-10 Andreas Schwab <schwab@redhat.com>
12341 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12342 (reused_arena): Don't check arena limit.
12343 (arena_get2): Atomically check arena limit.
12345 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12347 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12348 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12353 2011-11-07 Andreas Schwab <schwab@redhat.com>
12355 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12356 handler when locking.
12358 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12359 Fix size of allocated buffer.
12361 2011-11-04 Andreas Schwab <schwab@redhat.com>
12364 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12365 declarations for long double functions.
12366 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12368 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12370 2011-11-03 Andreas Schwab <schwab@redhat.com>
12372 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12375 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12378 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12380 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12382 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12384 * include/alloca.h (stackinfo_alloca_round): Define.
12385 (extend_alloca): Use it.
12386 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12387 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12390 * scripts/check-local-headers.sh: Ignore libaudit.h.
12392 * nscd/Makefile (extra-objs): Make recursively expanded.
12394 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12396 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12397 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12399 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12400 * posix/tst-rfc3484-2.c: Likewise.
12401 * posix/tst-rfc3484-3.c: Likewise.
12403 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12405 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12407 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12408 process_vm_writev from libc using GLIBC_2.15 version.
12410 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12412 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12414 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12417 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12420 * nss/getent.c (initgroups_keys): Show error message in case no group
12423 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12424 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12425 __bump_nl_timestamp.
12426 * nscd/connections (nscd_init): When host database is served open
12427 netlink socket and request notification about configuration changes.
12428 (main_loop_poll): Track netlink file descriptor and bump timestamp
12429 in case data becomes available.
12430 (main_loop_epoll): Likewise.
12431 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12432 (database_pers_head): Add extra_data fileds.
12433 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12434 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12435 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12437 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12438 in6ai data, call __free_in6ai.
12439 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12440 Add -DHAVE_NETLINK.
12441 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12442 interface information. Reuse previous data if netlink timestamp
12444 (__bump_nl_timestamp): New function.
12445 (__free_in6ai): New function.
12447 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12449 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12450 close_not_cancel_no_status here.
12451 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12453 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12456 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12459 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12460 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12461 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12463 2011-07-03 Andreas Jaeger <aj@suse.de>
12466 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12467 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12468 * math/libm-test.inc (sin_test): Add test case.
12470 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12473 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12474 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12476 * elf/chroot_canon.c (chroot_canon): Cleanups.
12478 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12481 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12482 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12484 * string/test-strchr.c: Make usable for strchrnul testing.
12485 * string/test-strchrnul.c: New file.
12486 * string/Makefile (strop-tests): Add strchrnul.
12488 * po/it.po: Update from translation team.
12489 * po/es.po: Likewise.
12491 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12493 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12494 the three constants needed as parameters. Drop the others.
12495 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12496 __m128i_strloadu_tolower.
12497 Create and initialize variable zero and use it in all the places
12498 where _mm_setzero_si128 was used.
12500 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12501 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12502 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12503 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12505 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12506 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12507 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12508 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12509 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12510 __mpranred, __mptan.
12511 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12512 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12513 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12514 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12515 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12516 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12517 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12518 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12519 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12521 2011-10-28 Andreas Schwab <schwab@redhat.com>
12523 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12524 redefine if SHARED.
12525 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12528 wide char related routines to wcsmbs subdir.
12530 2011-10-27 Andreas Schwab <schwab@redhat.com>
12533 * misc/sys/cdefs.h (__THROWNL): Define.
12534 * posix/unistd.h: Use __THREADNL instead of __THREAD
12535 for memory synchronization functions.
12537 2011-10-26 Roland McGrath <roland@hack.frob.com>
12540 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12542 * manual/stdio.texi (Obstack Streams): Node removed.
12544 2011-10-26 Andreas Schwab <schwab@redhat.com>
12546 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12547 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12548 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12550 * math/math_private.h (math_force_eval): Allow non-addressable
12552 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12554 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12556 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12557 file is not needed.
12559 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12560 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12561 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12562 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12563 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12564 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12565 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12566 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12568 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12569 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12570 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12571 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12572 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12573 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12574 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12575 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12576 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12577 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12578 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12579 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12580 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12581 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12582 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12583 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12584 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12585 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12586 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12588 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12589 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12591 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12592 place. Use VEX encoding when compiling for AVX.
12594 2011-10-25 Andreas Schwab <schwab@redhat.com>
12596 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12597 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12599 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12601 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12603 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12604 useless if() expression.
12605 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12607 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12608 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12614 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12615 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12616 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12617 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12618 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12619 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12620 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12621 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12622 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12623 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12625 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12627 2011-10-25 Andreas Schwab <schwab@redhat.com>
12629 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12631 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12633 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12635 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12636 .text section. Avoid duplicate constants.
12637 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12647 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12649 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12652 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12654 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12655 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12657 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12658 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12659 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12660 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12661 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12662 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12663 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12664 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12665 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12666 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12667 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12668 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12669 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12670 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12671 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12672 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12673 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12674 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12675 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12676 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12677 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12678 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12679 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12680 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12681 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12683 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12685 * sysdeps/x86_64/dla.h: Move to ...
12686 * sysdeps/x86_64/fpu/dla.h: ...here.
12687 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12688 situations. Use __builtin_fma only for gcc 4.6 and up.
12690 * config.make.in: Add have-mfma4 entry.
12691 * configure.in: Substitute libc_cv_cc_fma4.
12692 * math/Makefile (dbl-only-routines): Add sincostab.
12693 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12694 Use __sincostab not sincos.
12695 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12697 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12699 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12700 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12702 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12703 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12704 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12705 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12707 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12708 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12710 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12711 define aliases when function name is a macro.
12712 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12713 sysdeps/ieee754/dbl-64/sincos.tbl.
12714 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12715 fma4-enabled routines.
12716 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12717 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12718 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12719 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12720 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12721 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12722 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12723 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12724 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12725 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12726 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12727 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12728 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12729 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12730 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12731 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12732 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12733 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12734 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12735 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12736 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12737 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12738 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12739 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12740 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12741 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12742 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12743 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12744 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12745 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12747 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12749 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12758 2011-10-24 Andreas Schwab <schwab@redhat.com>
12760 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12762 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12764 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12766 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12768 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12770 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12771 Remove unused variable magic_bits.
12772 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12774 * string/strnlen.c: Define and use STRNLEN macro.
12775 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12776 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12777 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12778 * wcsmbs/wcslen.c: Define and use WCSLEN.
12779 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12780 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12781 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12782 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12783 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12784 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12785 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12787 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12790 strnlen-sse2-no-bsf.
12791 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12792 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12793 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12794 Add strnlen support.
12795 (USE_AS_STRNLEN): New macro.
12796 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12797 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12798 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12799 * sysdeps/x86_64/wcslen.S: New file.
12801 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12803 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12804 XMM-moves are used for copying on small sizes.
12806 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12808 * wcsmbs/Makefile (strop-tests): Add wcschr.
12809 * wcsmbs/test-wcschr.c: New file.
12810 * string/test-strchr.c: Update.
12811 Add wcschr support.
12814 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12816 * wcsmbs/Makefile (strop-tests): Add wcslen.
12817 * wcsmbs/test-wcslen.c: New file.
12818 * string/test-strlen.c: Update.
12819 Add wcslen support.
12822 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12824 * po/it.po: Update from translation team.
12826 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12828 * sysdeps/x86_64/wcscmp.S: Update.
12829 Fix wrong comparison semantics.
12830 wcscmp shall use signed comparison not unsigned.
12831 Don't use substraction to avoid overflow bug.
12832 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12833 * wcsmbc/wcscmp.c: Likewise.
12834 * string/test-strcmp.c: Likewise.
12835 Add new tests to check cases with negative values.
12837 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12839 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12840 * sysdeps/x86_64/dla.h: ...here. New file.
12841 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12842 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12851 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12854 __ynl_finite aliases.
12856 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12860 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12862 [DLA_FMA] (EMULV): Use DLA_FMA.
12863 [DLA_FMA] (MUL12): Use EMULV.
12864 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12865 that are not needed.
12866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12869 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12870 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12871 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12874 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12876 * math/s_nan.c: Undef __nan.
12877 * math/s_nanf.c: Undef __nanf.
12878 * math/s_nanl.c: Undef __nanl.
12879 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12882 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12884 * math/s_catan.c: Add branch predictions.
12885 * math/s_catanf.c: Likewise.
12886 * math/s_catanh.c: Likewise.
12887 * math/s_catanhf.c: Likewise.
12888 * math/s_catanhl.c: Likewise.
12889 * math/s_catanl.c: Likewise.
12890 * math/s_cexp.c: Likewise.
12891 * math/s_cexpf.c: Likewise.
12892 * math/s_cexpl.c: Likewise.
12893 * math/s_clog.c: Likewise.
12894 * math/s_clog10.c: Likewise.
12895 * math/s_clog10f.c: Likewise.
12896 * math/s_clog10l.c: Likewise.
12897 * math/s_clogf.c: Likewise.
12898 * math/s_clogl.c: Likewise.
12899 * math/s_csqrt.c: Likewise.
12900 * math/s_csqrtf.c: Likewise.
12901 * math/s_csqrtl.c: Likewise.
12902 * math/s_ctanf.c: Likewise.
12903 * math/s_ctanh.c: Likewise.
12904 * math/s_ctanhf.c: Likewise.
12905 * math/s_ctanhl.c: Likewise.
12906 * math/s_ctanl.c: Likewise.
12908 * math/math_private.h: Define __nan, __nanf, __nanl.
12909 * math/s_cacosh.c: Include <math_private.h>.
12910 * math/s_cacoshl.c: Likewise.
12911 * math/s_casinh.c: Likewise.
12912 * math/s_casinhf.c: Likewise.
12913 * math/s_casinhl.c: Likewise.
12914 * math/s_ccos.c: Rely entire on ccosh.
12915 * math/s_ccosf.c: Rely entire on ccoshf.
12916 * math/s_ccosl.c: Rely entirely on ccoshl.
12917 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12918 Remove tests for FE_INVALID.
12919 * math/s_ccoshf.c: Likewise.
12920 * math/s_ccoshl.c: Likewise.
12921 * math/s_csin.c: Likewise.
12922 * math/s_csinf.c: Likewise.
12923 * math/s_csinh.c Likewise.
12924 * math/s_csinhf.c: Likewise.
12925 * math/s_csinhl.c: Likewise.
12926 * math/s_csinl.c: Likewise.
12927 * math/s_ctan.c: Likewise.
12928 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12929 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12930 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12932 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12935 compilation problems.
12937 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12940 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12942 * sysdeps/i386/configure.in: Test for -mfma4 option.
12943 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12944 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12945 COMMON_CPUID_INDEX_80000001.
12946 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12947 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12948 use it if FMA3 is not supported.
12949 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12951 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12952 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12954 2011-10-20 Andreas Schwab <schwab@redhat.com>
12957 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12958 it would create a cycle with a link time dependency.
12960 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12962 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12964 * string/Makefile (strop-tests): Add rawmemchr.
12965 * string/test-rawmemchr.c: New file.
12967 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12968 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12969 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12970 when compiling str{,n}casecmp and when AVX is available. Hook up
12971 new optimized code in initializers.
12973 2011-10-19 Andreas Schwab <schwab@redhat.com>
12975 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12976 __feraiseexcept instead of feraiseexcept.
12978 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12980 * math/math_private.h: Define defaults for libc_fetestexcept and
12982 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12983 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12984 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12985 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12986 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12987 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12988 libc_fetestexcept and libc_feupdateenv.
12990 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12991 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12992 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12993 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12994 libc_feholdexcept_setround.
12996 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12997 Add s_nearbyint-c and s_nearbyintf-c.
12998 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12999 nearbyintf inlines.
13000 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13001 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13002 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13003 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13005 * math/math_private.h: Define defaults for libc_fegetround,
13006 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13007 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13008 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13009 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13010 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13011 standard functions.
13012 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13013 Remove comments and hacks for old compiler versions.
13014 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13015 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13016 libc_feholdexceptl.
13018 2011-10-18 Andreas Schwab <schwab@redhat.com>
13020 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13021 (__feraiseexcept_renamed): Add __NTH.
13022 (feraiseexcept): Add __NTH. Rename local variables to fix
13023 namespace violations.
13025 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13027 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13029 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13031 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13032 recently added interfaces.
13033 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13035 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13036 about macro parameter expansion.
13038 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13039 __NO_MATH_INLINES is defined. Cleanups.
13041 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13042 and __floorf is target has SSE4.1.
13043 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13044 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13045 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13046 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13048 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13050 (floorf): Likewise.
13052 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13054 2011-10-17 Andreas Schwab <schwab@redhat.com>
13056 * misc/sys/cdefs.h: Fix last change.
13058 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13061 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13063 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13065 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13066 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13071 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13072 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13073 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13074 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13075 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13076 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13077 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13078 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13079 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13080 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13081 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13082 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13083 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13084 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13085 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13086 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13088 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13089 ceil, ceilf, floor, floorf.
13091 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13092 Perform IRELATIVE relocations last.
13094 * elf/do-rel.h: Add another parameter nrelative, replacing the
13095 local variable with the same name. Change name of the function
13096 to end in Rel or Rela (uppercase).
13097 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13098 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13099 elf_dynamic_do_##reloc function.
13101 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13103 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13104 is sufficient, at least on modern CPUs.
13106 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13108 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13109 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13111 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13113 * math/bits/math-finite.h: Add entries for exp.
13114 * math/e_expl.c: Add __*_finite alias.
13115 * sysdeps/i386/fpu/e_exp.S: Likewise.
13116 * sysdeps/i386/fpu/e_expf.S: Likewise.
13117 * sysdeps/i386/fpu/e_expl.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13119 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13120 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13123 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13124 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13126 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13127 is sufficient, at least on modern CPUs.
13129 * ctype/ctype-info.c (__ctype_init): Define.
13130 * include/ctype.h (__ctype_init): Declare.
13131 (__ctype_b_loc): The variable is always initialized.
13132 (__ctype_toupper_loc): Likewise.
13133 (__ctype_tolower_loc): Likewise.
13134 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13135 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13137 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13139 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13141 * configure.in: Also look in $cxxmachine/include for C++ system
13144 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13146 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13147 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13148 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13149 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13150 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13151 (USE_AS_WMEMCMP): New macro.
13153 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13154 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13155 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13156 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13158 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13159 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13160 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13161 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13162 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13163 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13164 (USE_AS_WMEMCMP): New macro.
13165 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13166 * sysdeps/string/test-memcmp.c: Update.
13167 Fix simple_wmemcmp.
13169 * wcsmbs/wmemcmp.c: Update.
13170 (WMEMCMP): New macro.
13173 2011-10-12 Andreas Jaeger <aj@suse.de>
13176 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13178 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13180 * libio/iofwide.c (do_length): Avoid warning.
13182 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13184 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13186 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13188 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13189 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13190 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13191 * sysdeps/i386/i686/fpu/e_log.S: New file.
13192 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13193 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13195 * ctype/ctype.h: Add support for inlined isXXX functions when
13196 compiling C++ code.
13198 2011-10-14 Andreas Schwab <schwab@redhat.com>
13200 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13202 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13204 2011-10-13 Roland McGrath <roland@hack.frob.com>
13207 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13209 2011-10-13 Andreas Schwab <schwab@redhat.com>
13211 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13212 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13215 * sysdeps/x86_64/memrchr.S: Check for zero size.
13217 * string/stratcliff.c: Add memrchr tests.
13219 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13222 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13223 rawmemchr-sse2 rawmemchr-sse2-bsf.
13224 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13225 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13226 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13227 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13228 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13229 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13230 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13231 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13232 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13233 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13234 * string/memrchr.c (MEMRCHR): New macro.
13236 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13238 Add integration with gcc's -ffinite-math-only and optimize wrapper
13240 * Versions.def: Define GLIBC_2.15 version for libm.
13241 * math/Makefile (headers): Add bits/math-finite.h.
13242 * math/bits/math-finite.h: New file.
13243 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13244 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13245 * math/e_acoshl.c: Add __*_finite alias.
13246 * math/e_acosl.c: Likewise.
13247 * math/e_asinl.c: Likewise.
13248 * math/e_atan2l.c: Likewise.
13249 * math/e_atanhl.c: Likewise.
13250 * math/e_coshl.c: Likewise.
13251 * math/e_exp10.c: Likewise.
13252 * math/e_exp10f.c: Likewise.
13253 * math/e_exp10l.c: Likewise.
13254 * math/e_exp2l.c: Likewise.
13255 * math/e_fmodl.c: Likewise.
13256 * math/e_gammal_r.c: Likewise.
13257 * math/e_hypotl.c: Likewise.
13258 * math/e_j0l.c: Likewise.
13259 * math/e_j1l.c: Likewise.
13260 * math/e_jnl.c: Likewise.
13261 * math/e_lgammal_r.c: Likewise.
13262 * math/e_log10l.c: Likewise.
13263 * math/e_log2l.c: Likewise.
13264 * math/e_logl.c: Likewise.
13265 * math/e_powl.c: Likewise.
13266 * math/e_sinhl.c: Likewise.
13267 * math/e_sqrtl.c: Likewise.
13268 * math/e_scalb.c: Completely rewritten and optimized.
13269 * math/e_scalbf.c: Likewise.
13270 * math/e_scalbl.c: Likewise.
13271 * math/w_acos.c: Likewise.
13272 * math/w_acosf.c: Likewise.
13273 * math/w_acosl.c: Likewise.
13274 * math/w_acosh.c: Likewise.
13275 * math/w_acoshf.c: Likewise.
13276 * math/w_acoshl.c: Likewise.
13277 * math/w_asin.c: Likewise.
13278 * math/w_asinf.c: Likewise.
13279 * math/w_asinl.c: Likewise.
13280 * math/w_atan2.c: Likewise.
13281 * math/w_atan2f.c: Likewise.
13282 * math/w_atan2l.c: Likewise.
13283 * math/w_atanh.c: Likewise.
13284 * math/w_atanhf.c: Likewise.
13285 * math/w_atanhl.c: Likewise.
13286 * math/w_exp10.c: Likewise.
13287 * math/w_exp10f.c: Likewise.
13288 * math/w_exp10l.c: Likewise.
13289 * math/w_fmod.c: Likewise.
13290 * math/w_fmodf.c: Likewise.
13291 * math/w_fmodl.c: Likewise.
13292 * math/w_j0.c: Likewise.
13293 * math/w_j0f.c: Likewise.
13294 * math/w_j0l.c: Likewise.
13295 * math/w_j1.c: Likewise.
13296 * math/w_j1f.c: Likewise.
13297 * math/w_j1l.c: Likewise.
13298 * math/w_jn.c: Likewise.
13299 * math/w_jnf.c: Likewise.
13300 * math/w_log.c: Likewise.
13301 * math/w_logf.c: Likewise.
13302 * math/w_logl.c: Likewise.
13303 * math/w_log10.c: Likewise.
13304 * math/w_log10f.c: Likewise.
13305 * math/w_log10l.c: Likewise.
13306 * math/w_log2.c: Likewise.
13307 * math/w_log2f.c: Likewise.
13308 * math/w_log2l.c: Likewise.
13309 * math/w_pow.c: Likewise.
13310 * math/w_powf.c: Likewise.
13311 * math/w_powl.c: Likewise.
13312 * math/w_remainder.c: Likewise.
13313 * math/w_remainderf.c: Likewise.
13314 * math/w_remainderl.c: Likewise.
13315 * math/w_scalb.c: Likewise.
13316 * math/w_scalbf.c: Likewise.
13317 * math/w_scalbl.c: Likewise.
13318 * math/w_sqrt.c: Likewise.
13319 * math/w_sqrtf.c: Likewise.
13320 * math/w_sqrtl.c: Likewise.
13321 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13322 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13324 * math/math_private.h: Declare __kernel_standard_f.
13325 * math/w_cosh.c: Remove cruft and optimize a bit.
13326 * math/w_coshf.c: Likewise.
13327 * math/w_coshl.c: Likewise.
13328 * math/w_exp2.c: Likewise.
13329 * math/w_exp2f.c: Likewise.
13330 * math/w_exp2l.c: Likewise.
13331 * math/w_hypot.c: Likewise.
13332 * math/w_hypotf.c: Likewise.
13333 * math/w_hypotl.c: Likewise.
13334 * math/w_lgamma.c: Likewise.
13335 * math/w_lgamma_r.c: Likewise.
13336 * math/w_lgammaf.c: Likewise.
13337 * math/w_lgammaf_r.c: Likewise.
13338 * math/w_lgammal.c: Likewise.
13339 * math/w_lgammal_r.c: Likewise.
13340 * math/w_sinh.c: Likewise.
13341 * math/w_sinhf.c: Likewise.
13342 * math/w_sinhl.c: Likewise.
13343 * math/w_tgamma.c: Likewise.
13344 * math/w_tgammaf.c: Likewise.
13345 * math/w_tgammal.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13347 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13348 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13349 Minor optimizations. Pretty printing. Remove cruft.
13350 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13351 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13352 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13353 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13354 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13355 * sysdeps/i386/fpu/e_asin.S: Likewise.
13356 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13357 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13358 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13359 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13360 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13361 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13362 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13363 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13364 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13365 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13366 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13367 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13368 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13369 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13370 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13371 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13372 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13373 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13374 * sysdeps/i386/fpu/e_log.S: Likewise.
13375 * sysdeps/i386/fpu/e_log10.S: Likewise.
13376 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13377 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13378 * sysdeps/i386/fpu/e_log2.S: Likewise.
13379 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13380 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13381 * sysdeps/i386/fpu/e_logf.S: Likewise.
13382 * sysdeps/i386/fpu/e_logl.S: Likewise.
13383 * sysdeps/i386/fpu/e_pow.S: Likewise.
13384 * sysdeps/i386/fpu/e_powf.S: Likewise.
13385 * sysdeps/i386/fpu/e_powl.S: Likewise.
13386 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13387 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13388 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13389 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13390 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13391 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13392 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13393 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13394 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13396 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13397 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13398 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13399 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13400 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13401 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13402 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13403 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13404 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13405 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13406 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13408 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13409 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13411 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13412 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13413 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13414 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13415 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13416 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13417 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13418 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13419 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13420 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13421 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13422 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13423 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13424 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13425 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13426 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13427 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13428 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13429 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13430 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13431 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13432 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13433 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13434 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13435 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13436 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13441 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13446 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13447 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13448 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13450 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13451 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13469 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13475 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13476 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13478 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13480 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13481 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13483 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13486 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13487 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13488 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13489 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13490 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13491 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13492 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13493 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13494 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13495 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13496 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13497 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13498 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13499 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13500 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13501 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13502 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13503 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13504 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13505 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13506 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13507 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13508 (__isnanf): Likewise.
13509 (__isinf_ns): Likewise.
13510 (__isinf_nsf): Likewise.
13511 (__finite): Likewise.
13512 (__finitef): Likewise.
13513 (__ieee754_sqrt): Define as macro.
13514 (__ieee754_sqrtf): Define as macro.
13515 (__ieee754_sqrtl): Define as macro.
13516 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13518 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13519 __FINITE_MATH_ONLY__ consistent.
13520 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13522 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13524 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13527 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13529 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13531 * po/ja.po: Update from translation team.
13533 2011-10-08 Roland McGrath <roland@hack.frob.com>
13535 * locale/programs/locarchive.c (prepare_address_space): New function.
13536 (create_archive, enlarge_archive, open_archive): Use it.
13538 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13539 inside [SHARED], where it is used.
13541 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13543 * nss/getent.c (netgroup_keys): Remove unused variable.
13544 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13546 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13548 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13549 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13551 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13552 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13553 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13554 * math/Makefile (libm-calls): Add s_isinf_ns.
13555 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13556 * math/multc3.c: Likewise.
13557 * math/s_casin.c: Likewise.
13558 * math/s_casinf.c: Likewise.
13559 * math/s_casinl.c: Likewise.
13560 * math/s_ccos.c: Likewise.
13561 * math/s_ccosf.c: Likewise.
13562 * math/s_ccosl.c: Likewise.
13563 * math/s_ctan.c: Likewise.
13564 * math/s_ctanf.c: Likewise.
13565 * math/s_ctanh.c: Likewise.
13566 * math/s_ctanhf.c: Likewise.
13567 * math/s_ctanhl.c: Likewise.
13568 * math/s_ctanl.c: Likewise.
13569 * math/w_fmod.c: Likewise.
13570 * math/w_fmodf.c: Likewise.
13571 * math/w_fmodl.c: Likewise.
13572 * math/w_remainder.c: Likewise.
13573 * math/w_remainderf.c: Likewise.
13574 * math/w_remainderl.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13576 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13577 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13579 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13580 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13581 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13582 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13584 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13586 * stdio-common/printf_fphex.c: Likewise.
13587 * stdio-common/printf_size.c: Likewise.
13589 * math/e_exp10.c: Include math_private.h using <...> not "...".
13590 * math/e_exp10f.c: Likewise.
13591 * math/e_exp10l.c: Likewise.
13592 * math/e_exp2l.c: Likewise.
13593 * math/e_j0l.c: Likewise.
13594 * math/e_j1l.c: Likewise.
13595 * math/e_jnl.c: Likewise.
13596 * math/e_lgammal_r.c: Likewise.
13597 * math/e_rem_pio2l.c: Likewise.
13598 * math/e_scalb.c: Likewise.
13599 * math/e_scalbf.c: Likewise.
13600 * math/e_scalbl.c: Likewise.
13601 * math/k_cosl.c: Likewise.
13602 * math/k_sinl.c: Likewise.
13603 * math/k_tanl.c: Likewise.
13604 * math/s_cacoshf.c: Likewise.
13605 * math/s_catan.c: Likewise.
13606 * math/s_catanf.c: Likewise.
13607 * math/s_catanh.c: Likewise.
13608 * math/s_catanhf.c: Likewise.
13609 * math/s_catanhl.c: Likewise.
13610 * math/s_catanl.c: Likewise.
13611 * math/s_ccosh.c: Likewise.
13612 * math/s_ccoshf.c: Likewise.
13613 * math/s_ccoshl.c: Likewise.
13614 * math/s_cexp.c: Likewise.
13615 * math/s_cexpf.c: Likewise.
13616 * math/s_cexpl.c: Likewise.
13617 * math/s_clog.c: Likewise.
13618 * math/s_clog10.c: Likewise.
13619 * math/s_clog10f.c: Likewise.
13620 * math/s_clog10l.c: Likewise.
13621 * math/s_clogf.c: Likewise.
13622 * math/s_clogl.c: Likewise.
13623 * math/s_csin.c: Likewise.
13624 * math/s_csinf.c: Likewise.
13625 * math/s_csinh.c: Likewise.
13626 * math/s_csinhf.c: Likewise.
13627 * math/s_csinhl.c: Likewise.
13628 * math/s_csinl.c: Likewise.
13629 * math/s_csqrt.c: Likewise.
13630 * math/s_csqrtf.c: Likewise.
13631 * math/s_csqrtl.c: Likewise.
13632 * math/s_ctan.c: Likewise.
13633 * math/s_ctanf.c: Likewise.
13634 * math/s_ctanh.c: Likewise.
13635 * math/s_ctanhf.c: Likewise.
13636 * math/s_ctanhl.c: Likewise.
13637 * math/s_ctanl.c: Likewise.
13638 * math/s_ldexp.c: Likewise.
13639 * math/s_ldexpf.c: Likewise.
13640 * math/s_ldexpl.c: Likewise.
13641 * math/s_significand.c: Likewise.
13642 * math/s_significandf.c: Likewise.
13643 * math/s_significandl.c: Likewise.
13644 * math/w_acos.c: Likewise.
13645 * math/w_acosf.c: Likewise.
13646 * math/w_acosh.c: Likewise.
13647 * math/w_acoshf.c: Likewise.
13648 * math/w_acoshl.c: Likewise.
13649 * math/w_acosl.c: Likewise.
13650 * math/w_asin.c: Likewise.
13651 * math/w_asinf.c: Likewise.
13652 * math/w_asinl.c: Likewise.
13653 * math/w_atan2.c: Likewise.
13654 * math/w_atan2f.c: Likewise.
13655 * math/w_atan2l.c: Likewise.
13656 * math/w_atanh.c: Likewise.
13657 * math/w_atanhf.c: Likewise.
13658 * math/w_atanhl.c: Likewise.
13659 * math/w_cosh.c: Likewise.
13660 * math/w_coshf.c: Likewise.
13661 * math/w_coshl.c: Likewise.
13662 * math/w_dremf.c: Likewise.
13663 * math/w_exp10.c: Likewise.
13664 * math/w_exp10f.c: Likewise.
13665 * math/w_exp10l.c: Likewise.
13666 * math/w_exp2.c: Likewise.
13667 * math/w_exp2f.c: Likewise.
13668 * math/w_fmod.c: Likewise.
13669 * math/w_fmodf.c: Likewise.
13670 * math/w_fmodl.c: Likewise.
13671 * math/w_hypot.c: Likewise.
13672 * math/w_hypotf.c: Likewise.
13673 * math/w_hypotl.c: Likewise.
13674 * math/w_j0.c: Likewise.
13675 * math/w_j0f.c: Likewise.
13676 * math/w_j0l.c: Likewise.
13677 * math/w_j1.c: Likewise.
13678 * math/w_j1f.c: Likewise.
13679 * math/w_j1l.c: Likewise.
13680 * math/w_jn.c: Likewise.
13681 * math/w_jnf.c: Likewise.
13682 * math/w_jnl.c: Likewise.
13683 * math/w_lgamma.c: Likewise.
13684 * math/w_lgamma_r.c: Likewise.
13685 * math/w_lgammaf.c: Likewise.
13686 * math/w_lgammaf_r.c: Likewise.
13687 * math/w_lgammal.c: Likewise.
13688 * math/w_lgammal_r.c: Likewise.
13689 * math/w_log.c: Likewise.
13690 * math/w_log10.c: Likewise.
13691 * math/w_log10f.c: Likewise.
13692 * math/w_log10l.c: Likewise.
13693 * math/w_log2.c: Likewise.
13694 * math/w_log2f.c: Likewise.
13695 * math/w_log2l.c: Likewise.
13696 * math/w_logf.c: Likewise.
13697 * math/w_logl.c: Likewise.
13698 * math/w_pow.c: Likewise.
13699 * math/w_powf.c: Likewise.
13700 * math/w_powl.c: Likewise.
13701 * math/w_remainder.c: Likewise.
13702 * math/w_remainderf.c: Likewise.
13703 * math/w_remainderl.c: Likewise.
13704 * math/w_scalb.c: Likewise.
13705 * math/w_scalbf.c: Likewise.
13706 * math/w_scalbl.c: Likewise.
13707 * math/w_sinh.c: Likewise.
13708 * math/w_sinhf.c: Likewise.
13709 * math/w_sinhl.c: Likewise.
13710 * math/w_sqrt.c: Likewise.
13711 * math/w_sqrtf.c: Likewise.
13712 * math/w_sqrtl.c: Likewise.
13713 * math/w_tgamma.c: Likewise.
13714 * math/w_tgammaf.c: Likewise.
13715 * math/w_tgammal.c: Likewise.
13717 * po/ja.po: Update from translation team.
13719 2011-09-29 Andreas Jaeger <aj@suse.de>
13722 * sunrpc/netname.c (netname2host): Fix logic.
13726 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13728 * math/w_remainder.c (__remainder): Likewise.
13729 * math/w_remainderf.c (__remainderf): Likewise.
13730 * math/libm-test.inc (remainder_test): Add test cases.
13732 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13734 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13737 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13739 * string/test-memcmp.c: Avoid unncessary #defines.
13740 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13742 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13744 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13745 Use new sse2 version for core i3 - i7 as it's faster
13746 than sse42 version.
13747 (bit_Prefer_PMINUB_for_stringop): New.
13748 * sysdeps/x86_64/rawmemchr.S: Update.
13749 Replace with faster SSE2 version.
13750 * sysdeps/x86_64/memrchr.S: New file.
13751 * sysdeps/x86_64/memchr.S: Update.
13752 Replace with faster SSE2 version.
13754 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13756 * elf/dl-load.c (lose): Add cast to avoid warning.
13758 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13760 * po/ca.po: Update from translation team.
13762 * inet/getnetgrent_r.c: Hook up nscd.
13763 * nscd/Makefile (routines): Add nscd_netgroup.
13764 (nscd-modules): Add netgroupcache.
13765 (CFLAGS-netgroupcache.c): Define.
13766 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13767 (cache_search): Add const to second parameter.
13768 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13770 (dbs): Add netgrdb entry.
13771 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13772 (verify_persistent_db): Handle netgrdb.
13773 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13774 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13776 (netgroup_response_header): Define.
13777 (innetgroup_response_header): Define.
13778 (datahead): Add netgroup_response_header and innetgroup_response_header
13780 * nscd/nscd.conf: Add entries for netgroup cache.
13781 * nscd/nscd.h (dbtype): Add netgrdb.
13782 (_PATH_NSCD_NETGROUP_DB): Define.
13783 (netgroup_iov_disabled): Declare.
13784 (xmalloc, xcalloc, xrealloc): Move declarations here.
13785 (cache_search): Adjust prototype.
13786 Add netgroup-related prototypes.
13787 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13788 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13789 (__nscd_innetgr): Declare.
13790 * nscd/selinux.c (perms): Use access_vector_t as element type and
13791 add netgroup-related initializers.
13792 * nscd/netgroupcache.c: New file.
13793 * nscd/nscd_netgroup.c: New file.
13794 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13795 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13796 For four parameters use innetgr.
13797 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13798 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13799 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13800 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13802 * nscd/connections.c (register_traced_file): Don't register file
13803 for disabled databases.
13805 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13807 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13809 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13810 from tree and freeing node.
13812 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13814 * nss/nsswitch.c (__nss_database_lookup): Handle
13815 nss_parse_service_list out of memory case.
13817 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13819 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13820 out of memory case.
13822 2011-10-04 Andreas Schwab <schwab@redhat.com>
13824 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13825 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13827 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13828 elf_machine_rela, elf_machine_lazy_rel.
13829 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13830 (ELF_DYNAMIC_DO_REL): Likewise.
13831 (ELF_DYNAMIC_DO_RELA): Likewise.
13832 (ELF_DYNAMIC_RELOCATE): Likewise.
13833 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13834 to ELF_DYNAMIC_DO_REL.
13835 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13836 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13837 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13839 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13840 skip_ifunc, don't call ifunc function if non-zero.
13841 (elf_machine_rela): Likewise.
13842 (elf_machine_lazy_rel): Likewise.
13843 (elf_machine_lazy_rela): Likewise.
13844 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13845 (elf_machine_lazy_rel): Likewise.
13846 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13848 (elf_machine_lazy_rel): Likewise.
13849 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13851 (elf_machine_lazy_rel): Likewise.
13852 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13853 (elf_machine_lazy_rel): Likewise.
13854 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13855 (elf_machine_lazy_rel): Likewise.
13856 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13857 (elf_machine_lazy_rel): Likewise.
13858 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13859 (elf_machine_lazy_rel): Likewise.
13860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13861 (elf_machine_lazy_rel): Likewise.
13862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13863 (elf_machine_lazy_rel): Likewise.
13865 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13867 * nss/nss_files/files-init.c (_nss_files_init): Use static
13868 initialization for all the *_traced_file variables.
13870 2011-09-28 Andreas Schwab <schwab@redhat.com>
13872 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13874 2011-09-27 Roland McGrath <roland@hack.frob.com>
13877 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13879 2011-09-27 Andreas Schwab <schwab@redhat.com>
13881 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13882 Reread the line before reparsing it.
13884 2011-09-26 Andreas Schwab <schwab@redhat.com>
13886 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13888 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13889 Maxim Kuvyrkov <maxim@codesourcery.com>
13890 Joseph Myers <joseph@codesourcery.com>
13892 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13893 if needed for __stack_chk_guard.
13895 2011-09-19 Roland McGrath <roland@hack.frob.com>
13897 * sysdeps/posix/spawni.c (script_execute): Always define it.
13898 It will be optimized away if unused.
13899 (maybe_script_execute): New function.
13900 (__spawni): Call it.
13902 * Makerules: Don't include tls.make.
13903 (config-tls): Always set to thread.
13904 * tls.make.c: File removed.
13906 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13908 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13909 * config.make.in (CPPFLAGS-config): New substituted variable.
13911 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13916 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13917 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13919 2011-09-15 Roland McGrath <roland@hack.frob.com>
13921 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13922 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13923 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13924 (CALL_FAIL): Likewise.
13925 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13926 (CALL_FAIL): Macro removed.
13927 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13929 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13931 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13932 for __FINITE_MATH_ONLY__ == 1.
13934 2011-09-15 Andreas Schwab <schwab@redhat.com>
13936 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13937 __ieee754_sqrt instead of sqrt.
13938 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13939 __ieee754_sqrtf instead of sqrtf.
13940 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13941 __floorf instead of floorf.
13942 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13943 __floorf, __truncf instead of floorf, truncf.
13945 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13947 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13949 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13950 __extern_always_inline.
13951 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13954 2011-09-14 Andreas Schwab <schwab@redhat.com>
13956 * elf/rtld.c (dl_main): Also relocate in dependency order when
13957 doing symbol dependency testing.
13959 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13961 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13962 Always define `refsym'.
13964 2011-09-13 Andreas Schwab <schwab@redhat.com>
13966 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13967 (__FD_ELT): Renamed from __FDELT.
13968 * misc/bits/select2.h (__FD_ELT): Likewise.
13969 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13970 __FD_MASK instead of __FDELT, __FDMASK.
13971 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13973 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13976 * elf/Makefile (gen-ldd): Fix pattern.
13978 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13979 (init_tls): Likewise.
13981 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13983 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13985 2011-09-12 Andreas Schwab <schwab@redhat.com>
13987 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13988 `struct cmsghdr *' instead of `void *'.
13989 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13992 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13994 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13996 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13997 ldd_rewrite_script.
13999 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14001 * configure.in: Remove --with-tls option.
14002 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14003 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14004 out in case it is missing.
14005 * sysdeps/ia64/elf/configure.in: Likewise.
14006 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14007 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14008 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14009 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14010 * sysdeps/sh/elf/configure.in: Likewise.
14011 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14012 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14013 * sysdeps/x86_64/elf/configure.in: Likewise.
14014 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14015 * sysdeps/mach/hurd/tls.h: Likewise.
14018 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14021 * configure.in: Fix use of AC_INIT.
14023 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14025 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14027 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14029 * malloc/hooks.c: Likewise.
14032 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14033 variables statically.
14034 (narenas): Initialize.
14035 (list_lock): Initialize.
14036 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14037 initializtion of main_arena and list_lock. Small cleanups.
14038 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14039 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14040 Add initializers to main_arena and mp_.
14041 (malloc_state): Remove pagesize member. Change all users to use
14044 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14045 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14046 is always initialized.
14048 * malloc/malloc.c: Removed unused configurations and dead code.
14049 * malloc/arena.c: Likewise.
14050 * malloc/hooks.c: Likewise.
14051 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14053 * include/tls.h: Removed. USE___THREAD must always be defined.
14054 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14055 * elf/dl-libc.c: Likewise.
14056 * elf/dl-tsd.c: Likewise.
14057 * include/errno.h: Likewise.
14058 * include/netdb.h: Likewise.
14059 * include/resolv.h: Likewise.
14060 * inet/herrno-loc.c: Likewise.
14061 * inet/herrno.c: Likewise.
14062 * malloc/arena.c: Likewise.
14063 * malloc/hooks.c: Likewise.
14064 * malloc/malloc.c: Likewise.
14065 * resolv/res-state.c: Likewise.
14066 * resolv/res_libc.c: Likewise.
14067 * sysdeps/i386/dl-machine.h: Likewise.
14068 * sysdeps/ia64/dl-machine.h: Likewise.
14069 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14070 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14071 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14072 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14073 * sysdeps/sh/dl-machine.h: Likewise.
14074 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14075 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14076 * sysdeps/unix/i386/sysdep.S: Likewise.
14077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14078 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14079 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14080 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14081 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14082 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14083 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14084 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14085 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14087 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14088 * sysdeps/x86_64/dl-machine.h: Likewise.
14089 * tls.make.c: Likewise.
14091 * configure.in: Remove --with-__thread option. Make tests for
14092 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14093 tls_model attribute fail if no support is available. Remove
14095 * Makeconfig: Adjust for dropped configure option. All features are
14097 * Makerules: Likewise.
14098 * Versions.def: Likewise.
14099 * argp/argp-fmtstream.c: Likewise.
14100 * argp/argp-fmtstream.h: Likewise.
14101 * argp/argp-help.c: Likewise.
14102 * assert/assert.c: Likewise.
14103 * config.h.in: Likewise.
14104 * config.make.in: Likewise.
14105 * configure: Likewise.
14106 * configure.in: Likewise.
14107 * csu/Versions: Likewise.
14108 * csu/init.c: Likewise.
14109 * elf/tst-audit2.c: Likewise.
14110 * elf/tst-tls10.c: Likewise.
14111 * elf/tst-tls10.h: Likewise.
14112 * elf/tst-tls11.c: Likewise.
14113 * elf/tst-tls12.c: Likewise.
14114 * elf/tst-tls14.c: Likewise.
14115 * elf/tst-tlsmod11.c: Likewise.
14116 * elf/tst-tlsmod12.c: Likewise.
14117 * elf/tst-tlsmod13.c: Likewise.
14118 * elf/tst-tlsmod13a.c: Likewise.
14119 * elf/tst-tlsmod14a.c: Likewise.
14120 * elf/tst-tlsmod15b.c: Likewise.
14121 * elf/tst-tlsmod16a.c: Likewise.
14122 * elf/tst-tlsmod16b.c: Likewise.
14123 * elf/tst-tlsmod7.c: Likewise.
14124 * elf/tst-tlsmod8.c: Likewise.
14125 * elf/tst-tlsmod9.c: Likewise.
14126 * gmon/gmon.c: Likewise.
14127 * grp/fgetgrent_r.c: Likewise.
14128 * grp/putgrent.c: Likewise.
14129 * hurd/fopenport.c: Likewise.
14130 * include/libc-symbols.h: Likewise.
14131 * include/tls.h: Likewise.
14132 * intl/gettextP.h: Likewise.
14133 * intl/loadinfo.h: Likewise.
14134 * locale/global-locale.c: Likewise.
14135 * locale/localeinfo.h: Likewise.
14136 * mach/devstream.c: Likewise.
14137 * malloc/arena.c: Likewise.
14138 * malloc/set-freeres.c: Likewise.
14139 * misc/err.c: Likewise.
14140 * misc/getttyent.c: Likewise.
14141 * misc/mntent_r.c: Likewise.
14142 * posix/getopt.c: Likewise.
14143 * posix/wordexp.c: Likewise.
14144 * pwd/fgetpwent_r.c: Likewise.
14145 * resolv/Versions: Likewise.
14146 * resolv/res_hconf.c: Likewise.
14147 * shadow/fgetspent_r.c: Likewise.
14148 * shadow/putspent.c: Likewise.
14149 * stdio-common/printf_fphex.c: Likewise.
14150 * stdio-common/tmpfile.c: Likewise.
14151 * stdlib/abort.c: Likewise.
14152 * stdlib/fmtmsg.c: Likewise.
14153 * sunrpc/auth_unix.c: Likewise.
14154 * sunrpc/clnt_perr.c: Likewise.
14155 * sunrpc/clnt_tcp.c: Likewise.
14156 * sunrpc/clnt_udp.c: Likewise.
14157 * sunrpc/clnt_unix.c: Likewise.
14158 * sunrpc/openchild.c: Likewise.
14159 * sunrpc/svc_simple.c: Likewise.
14160 * sunrpc/svc_tcp.c: Likewise.
14161 * sunrpc/svc_udp.c: Likewise.
14162 * sunrpc/svc_unix.c: Likewise.
14163 * sunrpc/xdr.c: Likewise.
14164 * sunrpc/xdr_array.c: Likewise.
14165 * sunrpc/xdr_rec.c: Likewise.
14166 * sunrpc/xdr_ref.c: Likewise.
14167 * sunrpc/xdr_stdio.c: Likewise.
14169 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14171 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14173 2011-07-03 Andreas Jaeger <aj@suse.de>
14175 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14176 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14177 regenerate with gen-libm-tests.pl.
14179 2010-05-12 Petr Baudis <pasky@suse.cz>
14182 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14183 around j0() zero points by switching to j1().
14184 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14185 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14186 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14187 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14189 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14191 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14193 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14196 Patch in part by Pavel Roskin <proski@gnu.org>.
14199 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14201 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14202 Free memory block if necessary.
14205 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14206 be NULL. Don't lock in this case.
14208 2011-09-09 Roland McGrath <roland@hack.frob.com>
14210 * elf/elf.h (ELFOSABI_GNU): New macro.
14211 (ELFOSABI_LINUX): Define to that.
14213 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14215 * string/strncat.c (strncat): Undef the symbol in case it has been
14216 defined in bits/string.h.
14218 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14220 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14222 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14225 2011-08-17 Andreas Jaeger <aj@suse.de>
14227 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14229 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14230 Ian Lance Taylor <iant@google.com>
14232 * math/libm-test.inc (lround_test): New testcase.
14233 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14235 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14237 * Makefile: Remove support for automatic cvs check-ins.
14238 * Makerules: Likewise.
14239 * config.make.in: Likewise.
14240 * configure.in: Likewise.
14241 * intl/Makefile: Likewise.
14242 * locale/Makefile: Likewise.
14243 * po/Makefile: Likewise.
14244 * posix/Makefile: Likewise.
14245 * sysdeps/gnu/Makefile: Likewise.
14246 * sysdeps/mach/hurd/Makefile: Likewise.
14247 * sysdeps/sparc/sparc32/Makefile: Likewise.
14250 * posix/Makefile (bug-regex32-ENV): Define.
14251 Patch by John Stanley <jpsinthemix@verizon.net>.
14253 * misc/Makefile (headers): Add bits/select2.h.
14254 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14255 * misc/bits/select2.h: New file.
14256 * include/bits/select2.h: New file.
14257 * debug/Makefile (routines): Add fdelt_chk.
14258 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14259 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14261 * debug/fdelt_chk.c: New file.
14263 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14264 * wcsmbs/test-wmemcmp.c: Likewise.
14265 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14266 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14268 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14270 * string/Makefile (strop-tests): Add memcmp.
14271 * string/test-wmemcmp.c: New file.
14272 * string/test-memcmp.c: Add wmemcmp support.
14274 2011-09-08 Roland McGrath <roland@hack.frob.com>
14277 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14280 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14281 garbage value in a __mach_port_mod_refs call in the cases of the
14282 task-self and thread-self ports.
14284 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14286 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14288 2011-09-08 Andreas Schwab <schwab@redhat.com>
14290 * elf/dl-load.c (lose): Check for non-null L.
14292 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14294 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14296 * elf/dl-libc.c (dlerror_run): Pass back error code from
14300 * elf/dl-load.c (lose): Free l_origin if it is valid.
14302 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14304 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14305 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14306 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14307 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14308 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14309 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14311 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14313 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14314 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14315 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14316 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14317 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14318 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14319 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14320 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14321 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14322 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14324 2011-08-15 Alan Modra <amodra@gmail.com>
14327 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14328 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14329 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14330 ppc_mcount to static-only-routines.
14331 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14333 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14334 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14336 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14338 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14339 for finite and infinity parameters.
14341 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14343 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14344 and add nop instructions for throughput optimization.
14345 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14347 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14349 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14350 aligned copy for power7 with vector-scalar instructions.
14351 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14353 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14358 2011-09-07 Andreas Schwab <schwab@redhat.com>
14361 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14364 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14366 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14367 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14368 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14369 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14372 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14374 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14375 Forgot to demangle the pointer.
14377 * sysdeps/i386/sysdep.h: Define atom_text_section.
14378 * sysdeps/x86_64/sysdep.h: Likewise.
14379 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14380 section with atom_text_section.
14381 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14382 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14383 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14384 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14385 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14387 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14388 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14389 already be defined. Change to take two parameters and don't assign
14390 result to variable. Adjust all users.
14391 Define INTERNAL_GETTIME if not already defined.
14392 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14395 HAVE_CLOCK_GETTIME_VSYSCALL.
14396 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14398 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14399 gettimeofday vsyscall, just use time.
14401 2011-09-06 Andreas Schwab <schwab@redhat.com>
14403 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14406 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14408 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14410 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14412 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14413 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14414 syscall if possible.
14416 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14418 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14419 e_ident. Don't pass to find_mapsXX.
14420 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14422 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14425 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14426 * sysdeps/x86_64/multiarch/strchr.S: Update.
14427 Check bit_slow_BSF bit.
14428 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14429 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14430 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14432 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14435 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14437 (tryshell): Define.
14438 (__spawni): Change last parameter to be flag. Test
14439 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14440 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14441 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14442 * posix/spawni.c: Likewise.
14443 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14444 * posix/spawnp.c: Likewise. Change normal version to use
14445 SPAWN_XFLAGS_USE_PATH.
14446 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14447 SPAWN_XFLAGS_TRY_SHELL.
14450 * posix/glob.h: Remove gcc 1.x support.
14453 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14455 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14458 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14460 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14461 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14462 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14463 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14464 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14465 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14467 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14469 * sysdeps/x86_64/wcscmp.S: New file.
14471 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14472 wcscmp-c wcscmp-sse2
14473 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14474 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14475 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14476 * wcsmbs/wcscmp.c: Allow renaming.
14478 2011-09-05 David S. Miller <davem@davemloft.net>
14480 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14481 stack slot, rather than the struct return pointer slot.
14482 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14483 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14485 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14487 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14489 * po/ja.po: Update from translation team.
14492 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14493 kernel in 64-bit binaries.
14495 2011-09-01 David S. Miller <davem@davemloft.net>
14497 * elf/elf.h (HWCAP_SPARC_*): Move to..
14498 * sysdeps/sparc/sysdep.h: this new file and add new values.
14499 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14500 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14501 _DL_HWCAP_COUNT to 24.
14502 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14504 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14505 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14506 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14507 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14508 instead of magic constants.
14509 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14511 2011-08-31 David S. Miller <davem@davemloft.net>
14513 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14515 Reimplement to do errno handling inline.
14516 (SYSCALL_ERROR_HANDLER): New macro.
14517 (__SYSCALL_STRING): Do not do errno handling in asm.
14518 (__CLONE_SYSCALL_STRING): Delete.
14519 (__INTERNAL_SYSCALL_STRING): Delete.
14520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14521 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14522 (PSEUDO): Reimplement to do errno handling inline.
14523 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14524 (SYSCALL_ERROR_HANDLER): New macro.
14525 (__SYSCALL_STRING): Do not do errno handling in asm.
14526 (__CLONE_SYSCALL_STRING): Delete.
14527 (__INTERNAL_SYSCALL_STRING): Delete.
14528 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14529 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14531 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14532 (inline_syscall*): Add 'err' argument.
14533 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14534 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14535 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14536 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14538 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14539 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14541 2011-08-30 Andreas Schwab <schwab@redhat.com>
14543 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14545 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14547 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14550 2011-08-24 David S. Miller <davem@davemloft.net>
14552 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14554 2011-08-24 Andreas Schwab <schwab@redhat.com>
14556 * elf/Makefile: Add rules to build and run unload8 test.
14557 * elf/unload8.c: New file.
14558 * elf/unload8mod1.c: New file.
14559 * elf/unload8mod1x.c: New file.
14560 * elf/unload8mod2.c: New file.
14561 * elf/unload8mod3.c: New file.
14563 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14566 2011-08-23 David S. Miller <davem@davemloft.net>
14568 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14569 subtract stack bias.
14570 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14571 %sp not %fp in calculations.
14572 (_JMPBUF_UNWINDS_ADJ): Likewise.
14574 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14575 (aio_suspend): Call it to force an exception region around the
14576 AIO_MISC_WAIT() invocation.
14578 2011-08-23 Andreas Schwab <schwab@redhat.com>
14580 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14583 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14585 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14587 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14588 and <dl-machine.h>.
14589 (Elf64_FuncDesc): Remove.
14591 2011-08-22 David S. Miller <davem@davemloft.net>
14593 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14594 sigaltstack check, add missing cfi directives.
14595 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14596 missing cfi directives, and sigaltstack handling.
14598 2011-08-16 Andreas Schwab <schwab@redhat.com>
14601 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14602 object is seen twice.
14603 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14605 * elf/Makefile (distribute): Add tst-initorder2.c.
14606 (tests): Add tst-initorder2.
14607 (modules-names): Add tst-initorder2a tst-initorder2b
14608 tst-initorder2c tst-initorder2d. Add rules to build them.
14609 ($(objpfx)tst-initorder2.out): New rule.
14610 * elf/tst-initorder2.c: New file.
14611 * elf/tst-initorder2.exp: New file.
14613 2011-08-22 Andreas Schwab <schwab@redhat.com>
14615 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14617 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14618 dependencies back to end of function.
14620 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14621 $(elfobjdir)/ld.so.
14623 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14625 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14626 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14627 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14628 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14629 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14630 of __vdso_gettimeofday.
14631 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14632 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14634 (_libc_vdso_platform_setup): Remove initialization of
14635 __vdso_gettimeofday and __vdso_time.
14637 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14639 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14640 and fgetc_unlocked.
14641 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14644 * elf/dl-open.c (add_to_global): Report additions to the global scope
14645 for LD_DEBUG=scopes.
14646 (dl_open_worker): Also print scope of newly loaded dependencies.
14647 (_dl_show_scope): Indicate if there is no scope.
14650 * stdio-common/Makefile (tests): Add bug24.
14651 * stdio-common/bug24.c: New file.
14653 2011-08-19 Andreas Jaeger <aj@suse.de>
14656 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14657 non-existant file when using close-on-exec mode.
14659 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14662 the very first instruction.
14664 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14665 the CFI state in the end.
14666 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14667 inclusion of dl-trampoline.h.
14668 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14670 2011-08-19 Andreas Schwab <schwab@redhat.com>
14672 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14673 expectations for long double.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14676 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14678 2011-08-14 David S. Miller <davem@davemloft.net>
14680 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14681 artificual limit depends upon the system page size.
14683 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14685 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14686 * resolv/Makefile: Define CFLAGS-libresolv.
14688 2011-08-17 Andreas Schwab <schwab@redhat.com>
14690 * nss/makedb.c (compute_tables): Make variables used in nested
14693 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14695 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14696 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14697 if buffer was too small.
14699 * elf/pldd.c (main): Attach to all threads in the process.
14700 Rewrite /proc handling to use *at functions.
14702 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14704 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14705 specifies first scope to show.
14706 (dl_open_worker): Update callers. Move printing scope of new
14707 object to before the relocation.
14708 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14709 * sysdeps/generic/ldsodefs.h: Update declaration.
14711 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14712 string for the scope number.
14714 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14716 * nscd/servicescache.c (cache_addserv): Make sure written is always
14719 2011-08-14 Roland McGrath <roland@hack.frob.com>
14721 * sysdeps/i386/i486/bits/atomic.h
14722 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14723 statement expression, so as to suppress "set but not used" warning.
14724 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14726 * string/strncat.c (STRNCAT): Use prototype definition.
14728 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14729 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14731 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14732 (localedef-modules): Add localedef.
14733 (locale-modules): Add locale.
14735 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14736 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14737 to avoid a warning.
14739 2011-08-14 David S. Miller <davem@davemloft.net>
14741 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14742 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14744 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14746 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14747 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14748 * elf/rtld.c (dl_main): Set l_name of vDSO.
14749 Call _dl_show_scope when DL_DEBUG_SCOPES.
14750 (process_dl_debug): Recognize scopes flag and also set it for all.
14751 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14752 Declare _dl_show_scope.
14754 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14755 (do_dlopen): Pass caller_dlopen to dl_open.
14756 (__libc_dlopen_mode): Initialize caller_dlopen.
14758 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14759 of libc. Make tolower call locale-independent. Optimize a bit by
14760 using isdigit instead of isalnum.
14761 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14763 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14765 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14766 was a dependency or dynamically loaded.
14768 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14770 * intl/l10nflist.c: Allow architecture-specific pop function.
14771 * sysdeps/x86_64/l10nflist.c: New file.
14773 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14776 2011-08-10 Andreas Schwab <schwab@redhat.com>
14778 * include/dirent.h: Add libc_hidden_proto for scandirat and
14779 scandirat64. Don't declare __scandirat64.
14780 * dirent/scandirat.c: Add libc_hidden_def.
14781 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14782 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14784 2011-08-10 David S. Miller <davem@davemloft.net>
14786 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14788 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14789 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14790 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14792 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14794 * Versions.def [libc]: Add GLIBC_2.15.
14795 * dirent/Makefile (routines): Add scandirat and scandirat64.
14796 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14798 * dirent/dirent.h: Declare scandirat and scandirat64.
14799 * dirent/scandirat.c: New file.
14800 * dirent/scandirat64.c: New file.
14801 * sysdeps/wordsize-64/scandirat.c: New file.
14802 * sysdeps/wordsize-64/scandirat64.c: New file.
14803 * dirent/opendir.c: Define opendirat.
14804 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14806 * dirent/scandir64.c: Adjust for scandir.c change.
14807 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14808 __scandirat64, and __scandir_cancel_handler.
14809 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14810 additional parameter and use openat instead of open (outside of ld.so).
14811 Add new __opendir as wrapper around __opendirat.
14812 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14813 here without requiring old scandirat implementation.
14815 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14817 * dirent/scandir.c (cancel_handler): Renamed to
14818 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14819 defined. Adjust users.
14820 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14821 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14823 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14825 * string/test-string.h (IMPL): Use __STRING to expand name and then
14828 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14831 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14833 * string/Makefile: Update.
14834 (strop-tests): Append strncat.
14835 * string/test-wcscmp.c: New file.
14836 New comprehensive test for wcscmp.
14837 * string/test-strcmp.c: Update.
14838 (WIDE): New define.
14840 2011-07-22 Andreas Schwab <schwab@redhat.com>
14842 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14845 2011-07-26 Andreas Schwab <schwab@redhat.com>
14847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14848 encoding to ACE if AI_IDN.
14850 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14853 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14855 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14857 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14858 Fix overflow bug in strncat.
14859 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14861 * string/test-strncat.c: Update.
14862 Add new tests for checking overflow bugs.
14864 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14867 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14868 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14869 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14870 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14871 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14872 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14873 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14874 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14876 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14877 (USE_AS_STRCAT): Define.
14878 Add strcat and strncat support.
14879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14881 2011-07-25 Andreas Schwab <schwab@redhat.com>
14883 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14884 __n bigger than INT_MAX+1.
14885 (__strncmp_g): Likewise.
14887 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14889 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14890 * libio/stido.h: Likewise.
14892 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14897 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14898 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14899 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14900 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14901 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14904 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14909 (_dl_x86_64_save_sse): Likewise.
14911 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14913 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14915 (_dl_x86_64_save_sse): Likewise.
14917 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14919 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14921 2011-07-21 Andreas Schwab <schwab@redhat.com>
14923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14925 (_dl_x86_64_save_sse): Use correct AVX check.
14927 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14929 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14930 bug in strncpy/strncat.
14931 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14933 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14935 * string/tester.c (test_strcat): Add tests for different alignments
14936 of source and destination.
14937 (test_strncat): Likewise.
14939 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14942 * posix/glob.c (glob): Check passed in values before using them in
14943 expressions to avoid some overflows.
14944 (glob_in_dir): Likewise.
14947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14948 check for AVX enablement so that we don't crash with old kernels and
14950 * elf/tst-audit4.c: Add same checks here.
14951 * elf/tst-audit6.c: Likewise.
14953 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14955 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14957 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14959 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14961 * po/cs.po: Update from translation team.
14962 * po/bg.po: Likewise.
14964 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14966 * misc/sys/cdefs.h: Add support for const attribute.
14967 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14968 to gnu_dev_{major,minor,makedev} functions.
14970 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14972 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14974 2011-07-20 Andreas Schwab <schwab@redhat.com>
14976 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14979 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14981 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14982 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14983 register in order to avoid conflicts with the soft frame pointer
14984 being held in r11 when necessary.
14985 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14986 (INTERNAL_VSYSCALL_NCS): Likewise.
14988 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14990 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14991 * elf/dl-fini.c (_dl_fini): Adjust caller.
14992 * elf/dl-close.c (_dl_close_worker): Likewise.
14993 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14995 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14997 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14998 "aux_cache->nlibs < 0".
15000 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15001 in the reload-count case.
15003 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15006 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15007 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15008 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15009 * sysdeps/x86_64/multiarch/strcat.S: New file.
15010 * sysdeps/x86_64/multiarch/strncat.S: New file.
15011 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15012 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15013 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15014 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15015 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15016 (USE_AS_STRCAT): Define.
15017 Add strcat and strncat support.
15018 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15019 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15020 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15021 * string/strncat.c: Update.
15022 (USE_AS_STRNCAT): Define.
15023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15024 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15026 * sysdeps/x86_64/multiarch/init-arch.h
15027 (bit_Prefer_PMINUB_for_stringop): New.
15028 (index_Prefer_PMINUB_for_stringop): Likewise.
15029 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15030 bit_Prefer_PMINUB_for_stringop.
15032 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15034 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15036 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15037 of casting of buffer.
15038 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15039 buffer32 and buffer64.
15040 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15041 writes instead of casting of buffer.
15042 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15044 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15047 2011-07-19 Andreas Schwab <schwab@redhat.com>
15049 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15051 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15053 * nscd/nscd.c (termination_handler): Don't do anything for a database
15054 if it has not yet been initialized.
15056 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15058 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15060 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15062 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15064 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15066 * po/nl.po: Update from translation team.
15067 * po/sv.po: Likewise.
15069 2011-07-16 Roland McGrath <roland@hack.frob.com>
15071 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15072 now disallowed by GCC.
15074 * configure.in (use-default-link): Default to yes if a test -shared
15075 link meets our qualifications.
15076 * configure: Regenerated.
15078 * config.make.in (output-format): New variable.
15079 * configure.in: Check for ld --print-output-format support.
15080 * configure: Regenerated.
15081 * Makerules ($(common-objpfx)format.lds)
15082 [$(output-format) != unknown]: Just use $(output-format),
15083 instead of the linker-script munging.
15085 2011-07-14 Roland McGrath <roland@hack.frob.com>
15087 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15088 of $(common-objpfx)shlib.lds.
15089 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15091 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15092 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15094 * configure.in (-z relro check): Adjust test code to add a large
15095 writable data section after it.
15096 * configure: Regenerated.
15098 2011-07-11 Roland McGrath <roland@hack.frob.com>
15100 * configure.in (-z relro check): Fix test code to make the variable
15102 * configure: Regenerated.
15104 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15106 * nscd/nscd.h (struct traced_file): Define.
15107 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15108 elements. Add traced_files.
15109 (inotify_fd): Declare.
15110 (register_traced_file): Declare.
15111 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15112 (inotify_fd): Export.
15113 (resolv_conf_descr): Remove.
15114 (nscd_init): Move inotify descriptor creation to main.
15115 Don't register files for notification here.
15116 (register_traced_file): New function.
15117 (invalidate_cache): Don't use reset_res to determine whether to call
15118 res_init, go through the list of registered files.
15119 (main_loop_poll): The inotify descriptors are now stored in the
15120 structures for the traced files.
15121 (main_loop_epoll): Likewise
15122 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15123 to __nss_disable_nscd.
15124 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15125 for a database anymore. Check the records for all the registered
15127 * nss/Makefile (libnss_files-routines): Add files-init.
15128 (libnss_db-routines): Add db-init.
15129 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15130 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15131 * nss/nss_db/db-init.c: New file.
15132 * nss/nss_files/files-init.c: New file.
15133 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15134 __nss_lookup_function.
15135 (__nss_lookup_function): Call nss_load_library.
15136 (nss_load_all_libraries): New function.
15137 (__nss_disable_nscd): Take parameter with callback function for files
15138 to register. Set is_nscd. Load all the DSOs for the NSS modules
15139 used for the cached services.
15140 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15141 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15142 options for features to all the files in nscd.
15144 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15146 2011-07-10 Roland McGrath <roland@hack.frob.com>
15148 * csu/elf-init.c (__libc_csu_init): Comment typo.
15150 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15152 * po/pl.po: Update from translation team.
15153 * po/ja.po: Likewise.
15154 * po/ru.po: Likewise.
15155 * po/ko.po: Likewise.
15156 * po/fr.po: Likewise.
15158 2011-07-09 Roland McGrath <roland@hack.frob.com>
15160 * configure.in (.ctors/.dtors header and trailer check):
15161 Use an empirical test on a built program.
15162 * configure: Regenerated.
15164 * configure.in (-z relro check): Use an empirical test on a built DSO.
15165 Detect, but do not require, on ia64.
15166 * configure: Regenerated.
15168 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15169 Update tests that use readelf to use $READELF instead.
15170 * configure: Regenerated.
15172 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15174 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15175 if the result is not used.
15177 2011-07-05 Andreas Jaeger <aj@suse.de>
15180 * stdlib/tst-strtod.c: Add testcase.
15182 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15184 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15185 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15186 The latter has a higher limit. Take additional parameter to pass to
15188 (__pathconf): Pass file to __statfs_link_max.
15189 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15191 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15195 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15196 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15198 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15199 (__statfs_filesize_max): Likewise.
15200 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15202 2011-07-05 Andreas Jaeger <aj@suse.de>
15204 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15206 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15208 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15210 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15213 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15215 * Makefile (strop-tests): Add strncat.
15216 * string/test-strncat.c: New file.
15218 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15220 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15222 2011-06-21 Andreas Jaeger <aj@suse.de>
15224 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15225 Copy rule from iconvdata/Makefile.
15227 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15230 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15231 but no long options are defined, just return 'W'.
15233 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15236 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15238 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15240 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15242 (innetgr): Likewise.
15244 2011-07-05 Roland McGrath <roland@hack.frob.com>
15246 * config.make.in (install_root): Default to $(DESTDIR).
15248 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15250 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15252 2011-07-02 Roland McGrath <roland@hack.frob.com>
15254 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15256 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15257 containing directory rather than embedding absolute directory names.
15259 * scripts/check-local-headers.sh: Rewritten using awk.
15260 Match by word, not by line. Print error messages for matches.
15261 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15263 * Makerules [shlib-lds-flags empty]:
15264 ($(common-objpfx)libc_pic.opts): New target.
15265 ($(common-objpfx)libc_pic.os.clean): New target.
15266 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15268 * config.make.in (OBJCOPY): New variable.
15269 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15270 * configure: Regenerated.
15272 * config.make.in (use-default-link): New variable.
15273 * configure.in (use_default_link): Grok --with-default-link to set it.
15274 * configure: Regenerated.
15275 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15276 (shlib-lds, shlib-lds-flags): Define to empty.
15278 * Makerules (shlib-lds): New variable.
15279 (shlib-lds-flags): New variable.
15280 (build-shlib, build-moduile, build-module-asneeded): Use it.
15281 ($(common-objpfx)libc.so): Use $(shlib-lds).
15282 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15283 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15285 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15286 DT_FLAGS/DT_FLAGS_1 with zero flags.
15288 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15289 linker script munging.
15291 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15293 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15295 * crypt/sha512.c (sha512_process_block): Perform total addition using
15296 128-bit if possible.
15297 (__sha512_finish_ctx): Likewise.
15298 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15300 * crypt/sha256.c (SWAP64): Define.
15301 (sha256_process_block): Perform total addition using 64-bit if
15303 (__sha256_finish_ctx): Likewise.
15305 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15307 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15308 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15309 * nscd/hstcache.c (cache_addhst): Likewise.
15310 * nscd/grpcache.c (cache_addgr): Likewise.
15311 * nscd/aicache.c (addhstaiX): Likewise
15312 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15314 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15316 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15317 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15318 * nscd/hstcache.c (cache_addhst): Likewise.
15319 * nscd/grpcache.c (cache_addgr): Likewise.
15320 * nscd/aicache.c (addhstaiX): Likewise
15322 2011-07-01 Andreas Schwab <schwab@redhat.com>
15324 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15325 domain only when needed.
15327 2011-06-30 Andreas Schwab <schwab@redhat.com>
15329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15330 is always restored.
15332 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15334 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15335 are re-adding the entry.
15336 * nscd/servicescache.c (cache_addserv): Likewise.
15338 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15340 * sysdeps/generic/dl-irel.h: fix protection against multiple
15342 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15344 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15347 * malloc/memusage.sh: Fix quoting in message.
15348 * debug/xtrace.sh: Likewise.
15350 * configure.in: Remove support for --experimental-malloc option, make
15352 * config.make.in: Likewise.
15353 * malloc/Makefile: Likewise.
15355 2011-06-27 Andreas Schwab <schwab@redhat.com>
15357 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15358 two-byte characters.
15360 2011-06-27 Roland McGrath <roland@hack.frob.com>
15362 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15363 AC_CACHE_CHECK invocation.
15364 * configure: Regenerated.
15366 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15368 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15371 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15372 bit from old_res_options.
15374 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15376 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15377 value type for setfct.
15379 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15381 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15382 __gettimeofday instead of gettimeofday.
15384 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15386 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15388 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15390 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15395 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15398 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15399 strcpy-sse2-unaligned strncpy-sse2-unaligned
15400 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15401 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15402 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15403 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15404 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15405 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15406 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15407 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15408 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15409 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15410 (STRCPY): Support SSE2 and SSSE3 versions.
15412 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15415 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15416 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15417 kernels which artificially limit size of requests.
15419 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15422 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15423 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15424 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15425 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15426 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15427 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15428 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15429 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15430 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15431 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15432 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15433 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15434 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15435 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15437 Enable unaligned load optimization for Intel Core i3, i5 and i7
15439 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15441 (index_Fast_Unaligned_Load): Define.
15442 (HAS_FAST_UNALIGNED_LOAD): Define.
15444 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15446 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15448 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15451 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15452 until it is clear that the information is realy needed.
15453 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15455 2011-06-22 Andreas Schwab <schwab@redhat.com>
15457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15459 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15461 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15462 /sys/devices/system/cpu/online if it is usable.
15464 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15465 reading the information from the /proc filesystem to once a second.
15467 2011-06-21 Andreas Jaeger <aj@suse.de>
15469 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15470 NULL after inclusion of kernel headers.
15472 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15474 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15475 calls to internal_setent.
15478 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15479 addresses using gethostbyname4_r ignore IPv4 addresses.
15481 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15482 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15484 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15486 2011-06-20 David S. Miller <davem@davemloft.net>
15488 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15490 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15492 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15493 (elf_irel): Use it.
15494 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15495 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15496 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15497 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15498 * sysdeps/x86_64/dl-irel.h: Likewise.
15500 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15501 * elf/dl-sym.c: Likewise.
15503 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15505 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15506 need to dereference resplen2.
15508 2011-06-14 Andreas Schwab <schwab@redhat.com>
15510 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15512 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15514 * Makeconfig: Define vardbdir and inst_vardbdir.
15515 * nss/Makefile: Add rules to install db-Makefile.
15517 * nss/nss_db/db-XXX.c: Cleanup.
15519 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15520 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15522 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15523 * nss/makedb.c: Implement -g option to specify that value strings
15524 are generated and should not be added to table iterated over for
15526 * nss/nss_db/db-initgroups.c: New file.
15528 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15531 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15532 (internal_getgrouplist): Adjust to name change.
15533 Update use_initgroups_entry if this is not the first call.
15534 * nss/databases.def: Add initgroups entry.
15536 * nss/makedb.c (compute_tables): Check result of multiple hash table
15537 sizes to minimize maximum chain length.
15539 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15541 * Versions.def: Add entry for libnss_db.
15542 * shlib-versions: Likewise.
15543 * nss/Makefile: Add rules to build libnss_db.
15544 * nss/Versions: Add libnss_db information. Organize libnss_files
15546 * nss/db-Makefile: Add gshadow support. Change rules for the new
15547 makedb progra. Some minor improvements to generate smaller files.
15548 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15550 * nss/makedb.c: ...here.
15551 Improve database format to be smaller and require less memory at
15553 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15555 * nss/nss_db/db-netgrp.c: Likewise.
15556 * nss/nss_db/db-open.c: Likewise.
15557 * nss/nss_files/flies-XXX.x: Adjust comments.
15558 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15559 * nss/nss_files/files-grp.c: Likewise.
15560 * nss/nss_files/files-hosts.c: Likewise.
15561 * nss/nss_files/files-network.c: Likewise.
15562 * nss/nss_files/files-proto.c: Likewise.
15563 * nss/nss_files/files-pwd.c: Likewise.
15564 * nss/nss_files/files-rpc.c: Likewise.
15565 * nss/nss_files/files-service.c: Likewise.
15566 * nss/nss_files/files-sgrp.c: Likewise.
15567 * nss/nss_files/files-spwd.c: Likewise.
15568 * nss/nss_db/db-alias.c: Removed.
15569 * nss/nss_db/dummy-db.h: Removed.
15571 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15573 * nss/makedb.c: Rewritten to not use database library.
15574 * nss/Makefile: Update to build new makedb program.
15576 2011-06-14 Andreas Jaeger <aj@suse.de>
15578 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15579 memset declaration.
15581 2011-06-10 Andreas Schwab <schwab@redhat.com>
15583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15586 2011-06-10 Roland McGrath <roland@hack.frob.com>
15588 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15589 * elf/Makefile ($(objpfx)ld.so): Likewise.
15591 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15592 Don't list ld.so twice in dependencies.
15594 * posix/bug-regex31.c: Include <stdlib.h>.
15596 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15598 * nis/nss_compat/compat-spwd.c
15599 (getspent_next_nss_netgr): Remove unused variable.
15600 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15602 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15603 nonmembers" output to use the right array.
15605 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15607 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15609 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15610 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15611 * catgets/gencat.c (read_input_file): Likewise.
15612 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15614 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15615 variable definition inside #if's controlling its use.
15617 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15619 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15621 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15623 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15626 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15628 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15629 * configure: Regenerated.
15631 * Makerules: Revert last change.
15632 * elf/Makefile: Likewise.
15634 2011-06-09 Roland McGrath <roland@hack.frob.com>
15636 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15637 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15638 (reloc-link): Likewise.
15640 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15642 * elf/Makefile: Add rules to build pldd.
15643 * elf/pldd.c: New file.
15644 * elf/pldd-xx.c: New file.
15646 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15648 * version.h: Update for 2.15 development version.
15650 2011-06-07 David S. Miller <davem@davemloft.net>
15652 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15654 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15655 elf_machine_lazy_rel): Likewise.
15656 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15657 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15658 elf_machine_lazy_rel): Likewise.
15659 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15660 dl_hwcap via passed in argument.
15661 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15664 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15666 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15668 2011-06-06 Roland McGrath <roland@hack.frob.com>
15671 * manual/fdl-1.1.texi: New file, verbatim from:
15672 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15673 * manual/lgpl-2.1.texi: New file, verbatim from:
15674 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15675 * manual/Makefile (licenses): New variable, list those new file names.
15677 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15679 * manual/fdl.texi: File removed.
15680 * manual/lesser.texi: File removed.
15681 * manual/libc.texinfo (Copying, Documentation License):
15682 Use new @include file names, put @appendix directive before @include.
15684 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15687 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15688 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15689 (mq_open): Add __NTH.
15691 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15694 Assume Intel Core i3/i5/i7 processor if AVX is available.
15696 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15698 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15701 2011-05-31 Andreas Schwab <schwab@redhat.com>
15703 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15704 memory. Use alloca_account. Fix memory leak when retrying.
15706 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15708 * version.h (RELEASE): Bump for 2.14 release.
15709 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15711 * config.make.in (RANLIB): Remove entry.
15713 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15715 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15716 (libc.pot): Work around missing support for .ksh extension in xgettext.
15719 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15720 if both request failed.
15721 (send_dg): In case of server errors clear resplen or *resplen2.
15724 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15725 when there are multiple maps.
15726 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15727 (_dl_fini): Remove test here.
15729 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15731 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15734 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15735 bit from old_res_options.
15736 (gaih_inet): Likewise.
15739 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15742 * resolv/res_init.c (res_setoptions): Make the code more compact.
15745 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15749 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15751 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15754 * malloc/malloc.h: Declare malloc hook variables as volatile.
15756 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15760 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15761 raise in the comment.
15762 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15763 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15764 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15766 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15769 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15770 grow the buffers more if it already has to be sufficient.
15771 (build_wcs_upper_buffer): Likewise.
15772 * posix/regexec.c (check_matching): Likewise.
15773 (clean_state_log_if_needed): Likewise.
15774 (extend_buffers): Don't enlarge buffers beyond size of the input
15776 Patches mostly by Emil Wojak <emil@wojak.eu>.
15777 * posix/bug-regex32.c: New file.
15778 * posix/Makefile (tests): Add bug-regex32.
15780 * locale/findlocale.c (_nl_find_locale): Return right away if
15781 _nl_explode_name failed.
15782 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15784 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15786 * debug/xtrace.sh: Unify messages.
15787 * malloc/memusage.sh: Likewise.
15790 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15791 time symbol from vDSO. Substitute with vsyscall if not available.
15792 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15795 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15796 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15797 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15798 Add sendmmsg and internal_sendmmsg.
15799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15800 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15801 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15803 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15804 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15805 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15807 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15810 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15811 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15813 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15817 * iconvdata/Makefile (tests): Add bug-iconv9.
15818 * iconvdata/bug-iconv9.c: New file.
15820 2011-05-27 Andreas Schwab <schwab@redhat.com>
15823 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15825 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15827 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15828 (struct user_regs_struct): Change intcs field back to cs.
15830 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15832 * po/ja.po: Update from translation team.
15834 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15837 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15838 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15840 2011-05-20 Andreas Schwab <schwab@redhat.com>
15842 * stdlib/longlong.h: Update from GCC.
15844 2011-05-23 Andreas Schwab <schwab@redhat.com>
15846 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15848 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15849 Add parameter name.
15850 (__sysconf): Pass it down.
15852 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15855 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15857 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15858 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15859 add in in __libc_use_alloca calls. Adjust callers.
15860 (glob): Use malloc in some situations.
15862 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15863 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15866 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15868 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15869 and CLOCK_BOOTTIME_ALARM.
15872 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15875 * string/_strerror.c (__strerror_r): Print negative errors as signed
15879 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15880 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15881 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15883 * configure.in: Fix typo in redirection and correct removal of test
15884 files in two cases.
15887 * locale/setlocale.c (new_composite_name): Fix test to check for
15888 identical name of all categories.
15891 * libio/filedoalloc.c (local_isatty): New function.
15892 (_IO_file_doallocate): Use local_isatty.
15893 * stdio-common/perror.c (perror): In case a new stream is used
15894 forward the stream error.
15895 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15898 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15903 * include/alloca.h (extend_alloca_account): Define.
15906 * posix/regex.h: Fix comments with documentation of user-accessible
15907 fields after compilation and describe correct free'ing of pattern
15908 after re_compile_pattern.
15909 Patch by Reuben Thomas <rrt@sc3d.org>.
15911 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15913 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15914 and -mno-altivec to prevent the compiler from using Altivec and/or
15915 VSX instructions when the corresponding registers are not available.
15917 2011-05-19 Andreas Schwab <schwab@redhat.com>
15919 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15921 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15923 * libio/freopen.c (freopen): Use __dup2, not dup2.
15924 * libio/freopen64.c (freopen64): Likewise.
15926 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15929 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15930 * math/Makefile (tests): Add test-powl.
15931 (CFLAGS-test-powl.c): Define.
15932 * math/test-powl.c: New file.
15934 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15936 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15938 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15941 * iconvdata/gb18030.c: Update to GB18020-2005.
15943 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15945 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15946 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15947 Patch by Aharon Robbins <arnold@skeeve.com>.
15950 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15954 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15955 through underflows.
15958 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15959 point to strings before performing equality test for error_one_per_line
15963 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15966 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15967 (struct user_fpregs_struct): Avoid __uint*_t types.
15970 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15971 symbol info. Use it instead of calling _dl_addr locally.
15972 (lock_and_info): New function.
15973 (tr_freehook): Call lock_and_info and pass symbol info as additional
15974 parameter to tr_where.
15975 (tr_mallochook): Likewise.
15976 (tr_reallochook): Likewise.
15977 (tr_memalignhook): Likewise.
15979 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15980 used and couldn't be at all thread-safe.
15982 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15984 * libio/freopen.c (freopen): Don't close old file descriptor
15985 before the new one is opened. Instead dup the new file descriptor
15986 to the old one after the new stream is created.
15987 * libio/freopen64.c (freopen64): Likewise.
15988 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15989 * libio/fileops.c (_IO_new_file_close_it): Handle new
15990 _IO_FLAGS2_NOCLOSE flag.
15991 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15992 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15993 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15994 _IO_FLAGS2_NOCLOSE flag.
15995 * include/unistd.h: Add hidden_proto for dup3.
15996 Define __have_dup3.
15997 * io/dup3.c: Define hidden symbol.
15998 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16001 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16002 when an incomplete long option is used.
16003 * posix/tst-getopt_long1.c: New file.
16004 * posix/Makefile (tests): Add tst-getopt_long1.
16007 * scripts/config.guess: Update from autoconf-2.68.
16008 * scripts/config.sub: Likewise.
16011 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16013 (has_cpuclock): ...this. New function.
16014 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16015 macro here based on has_cpuclock code.
16018 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16019 First byte (not low byte) is now always NUL.
16020 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16022 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16023 Use non-cancelable interfaces.
16026 * locale/iso-639.def: Add entry for Sorani.
16029 * include/stdlib.h: Move include protection to the right place.
16030 Define abort_msg_s. Declare __abort_msg with it.
16031 * stdlib/abort.c (__abort_msg): Adjust type.
16032 * assert/assert.c (__assert_fail_base): New function. Majority
16033 of code from __assert_fail. Allocate memory for __abort_msg with
16035 (__assert_fail): Now call __assert_fail_base.
16036 * assert/assert-perr.c: Remove bulk of implementation. Use
16037 __assert_fail_base.
16038 * include/assert.hL Declare __assert_fail_base.
16039 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16041 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16043 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16047 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16048 until all modules are registered in the DTV.
16049 * elf/Makefile: Add rules to build and run tst-tls19.
16050 * elf/tst-tls19.c: New file.
16051 * elf/tst-tls19mod1.c: New file.
16052 * elf/tst-tls19mod2.c: New file.
16053 * elf/tst-tls19mod3.c: New file.
16054 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16057 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16061 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16062 two-byte sequence errors.
16063 * iconvdata/Makefile (tests): Add bug-iconv8.
16064 * iconvdata/bug-iconv8.c: New file.
16067 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16070 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16073 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16074 (dummy_getcfa): New function.
16075 (init): Get _Unwind_GetCFA address, use dummy if not found.
16076 (backtrace_helper): In recursion check, also check whether CFA changes.
16077 (__backtrace): Completely initialize arg.
16079 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16080 storing incomplete byte sequence in state object. Avoid testing for
16081 guaranteed too small input if we know there is enough data available.
16083 2011-05-11 Andreas Schwab <schwab@redhat.com>
16085 * Makeconfig (+link-pie): Indent.
16086 * Rules (binaries-pie): Define if $(have-fpie) and
16088 (binaries-shared): Also filter out $(binaries-pie).
16089 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16090 * nscd/Makefile (others-pie): Add nscd.
16091 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16092 ($(objpfx)nscd): Remove command override.
16093 * login/Makefile (others-pie): Add pt_chown.
16094 ($(objpfx)pt_chown): Remove command override.
16095 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16096 remove command overrides.
16098 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16100 * libio/tst_putwc.c: Fix error messages.
16103 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16104 currently writing and seek to current position when not.
16105 * libio/Makefile (tests): Add bug-fclose1.
16106 * libio/bug-fclose1.c: New file.
16108 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16111 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16112 don't set DF_1_NODELETE here.
16113 (do_lookup_x): When entering new entry test for copy relocation
16114 and if necessary set DF_1_NODELETE flag.
16115 * elf/tst-unique4.cc: New file.
16116 * elf/tst-unique4.h: New file.
16117 * elf/tst-unique4lib.cc: New file.
16118 * elf/Makefile: Add rules to build and run tst-unique4.
16119 Patch by Piotr Bury <pbury@goahead.com>.
16121 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16124 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16127 * misc/mntent_r.c (addmntent): Flush the stream after the output
16130 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16131 (is_trusted_path_normalize): Skip initial colon. Append slash
16132 to empty buffer. Duplicate is_trusted_path code but allow
16133 constructed patch to be prefix.
16134 (is_dst): Allow $ORIGIN followed by /.
16135 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16136 Correct testing of result of is_trusted_path_normalize
16137 (decompose_rpath): Fix warning.
16139 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16142 * grp/initgroups.c (internal_getgrouplist): When we found the service
16143 list through the initgroups entry in nsswitch.conf do not always
16144 continue on a successful lookup. Don't always use the
16145 __nss_group_database value if it is set.
16146 * nss/nsswitch.conf (initgroups): Change action for successful db
16147 lookup to continue for compatibility.
16149 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16152 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16154 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16156 * iconvdata/tst-tables.sh: Likewise.
16157 * iconvdata/cp770.c: New file.
16158 * iconvdata/cp771.c: New file.
16159 * iconvdata/cp772.c: New file.
16160 * iconvdata/cp773.c: New file.
16161 * iconvdata/cp774.c: New file.
16162 * iconvdata/testdata/CP770: New file.
16163 * iconvdata/testdata/CP770..UTF8: New file.
16164 * iconvdata/testdata/CP771: New file.
16165 * iconvdata/testdata/CP771..UTF8: New file.
16166 * iconvdata/testdata/CP772: New file.
16167 * iconvdata/testdata/CP772..UTF8: New file.
16168 * iconvdata/testdata/CP773: New file.
16169 * iconvdata/testdata/CP773..UTF8: New file.
16170 * iconvdata/testdata/CP774: New file.
16171 * iconvdata/testdata/CP774..UTF8: New file.
16173 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16175 * iconvdata/gen-8bit-gap.sh: Likewise.
16176 * iconvdata/gen-8bit.sh: Likewise.
16178 * locale/iso-639.def: Add ary entry.
16181 * locale/C-translit.h.in: Add U20A1 transliteration.
16184 * locale/iso-639.def: Add wae entry.
16185 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16188 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16192 * locale/C-translit.h.in: Add entry for U20B9.
16193 Patch by pravin.d.s@gmail.com.
16195 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16198 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16199 ENAMETOOLONG use generic getcwd.
16200 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16201 in rtld. Use *stat64.
16202 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16203 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16204 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16205 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16206 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16207 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16208 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16209 __fstatat64 macros.
16210 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16211 * dirent/rewinddir.c: Add libc_hidden_def.
16212 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16213 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16215 * include/dirent.h (__alloc_dir): Add flags parameter.
16216 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16217 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16219 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16220 from fdopendir if O_CLOEXEC is already set.
16222 2011-03-15 Alan Modra <amodra@gmail.com>
16224 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16225 l_tls_firstbyte_offset non-zero. Save padding offset in
16226 l_tls_firstbyte_offset for later use.
16227 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16228 freeing static tls block.
16230 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16232 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16233 where #ifdef was intended. The intent is to prevent ARG_MAX from
16234 being defined by the kernel headers.
16236 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16239 * resolv/resolv.h: Define RES_NOTLDQUERY.
16240 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16241 no-tld-query and set RES_NOTLDQUERY.
16242 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16243 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16244 modern BIND to search name as TLD unless forbidden.
16246 2011-05-07 Petr Baudis <pasky@suse.cz>
16247 Ulrich Drepper <drepper@gmail.com>
16250 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16251 (is_trusted_path): ...to here.
16252 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16253 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16254 using is_trusted_path_normalize() in setuid scripts.
16256 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16258 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16259 __BEGIN/__END_DECLS.
16261 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16263 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16264 NSS_STATUS_NOTFOUND if no record was found.
16266 2011-05-05 Andreas Schwab <schwab@redhat.com>
16268 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16269 (headers-not-in-tirpc): Remove rpc/netdb.h
16270 * resolv/netdb.h: Revert last change.
16272 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16274 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16275 circular dependency between libgcc.a and libc.a.
16277 2011-05-05 Andreas Schwab <schwab@redhat.com>
16279 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16280 * nis/Makefile: Don't install rpcsvc/*.
16281 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16282 instead of <rpc/types.h>.
16283 (MAXHOSTNAMELEN): Define.
16285 2011-05-03 Andreas Schwab <schwab@redhat.com>
16287 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16289 2011-04-28 Maciej Babinski <mbabinski@google.com>
16292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16293 gethostbyname4_r when IPv6 results are possible.
16295 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16298 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16299 _PC_PIPE_BUF handling.
16301 2011-04-30 Bruno Haible <bruno@clisp.org>
16304 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16305 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16307 * inet/getnameinfo.c (getnameinfo): Likewise.
16309 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16311 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16312 to groups setting in database lookup.
16313 * nss/nsswitch.conf: Add initgroups entry.
16315 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16318 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16320 Patch by Eric Blake <eblake@redhat.com>.
16322 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16324 * sunrpc/Makefile (need-export-routines): Add svc_run.
16325 (routines): Remove svc_run.
16326 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16327 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16328 * sunrpc/svc_run.c (svc_run): Likewise.
16329 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16331 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16333 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16334 problem in reallocation in last patch.
16336 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16338 * sunrpc/Makefile: Move inclusion of Rules.
16340 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16342 * nss/nss_files/files-initgroups.c: New file.
16343 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16344 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16345 _nss_files_initgroups_dyn.
16347 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16349 * elf/elf.h (R_ARM_IRELATIVE): Define.
16351 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16353 * po/ru.po: Update from translation team.
16355 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16357 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16360 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16363 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16364 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16365 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16366 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16367 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16369 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16371 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16373 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16374 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16375 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16377 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16380 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16382 * stdlib/bug-getcontext.c: New file.
16383 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16385 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16387 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16388 instructions into .machine "z9-109".
16389 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16390 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16392 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16394 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16395 between environment variables and auxiliary vector.
16397 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16399 * Makefile: Add rules to build linkobj/libc.so.
16400 * include/libc-symbols.h: Define libc_hidden_nolink.
16401 * include/rpc/auth.h: Mark functions which are to be hidden.
16402 * include/rpc/auth_des.h: Likewise.
16403 * include/rpc/auth_unix.h: Likewise.
16404 * include/rpc/clnt.h: Likewise.
16405 * include/rpc/des_crypt.h: Likewise.
16406 * include/rpc/key_prot.h: Likewise.
16407 * include/rpc/pmap_clnt.h: Likewise.
16408 * include/rpc/pmap_prot.h: Likewise.
16409 * include/rpc/pmap_rmt.h: Likewise.
16410 * include/rpc/rpc_msg.h: Likewise.
16411 * include/rpc/svc.h: Likewise.
16412 * include/rpc/svc_auth.h: Likewise.
16413 * include/rpc/xdr.h: Likewise.
16414 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16415 * nss/Makefile: Likewise.
16416 * sunrpc/Makefile: Don't install headers. Build library with normal
16417 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16418 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16419 for the compat linking library. Remove use of INTDEF/INTUSE.
16420 * sunrpc/auth_none.c: Likewise.
16421 * sunrpc/auth_unix.c: Likewise.
16422 * sunrpc/authdes_prot.c: Likewise.
16423 * sunrpc/authuxprot.c: Likewise.
16424 * sunrpc/clnt_gen.c: Likewise.
16425 * sunrpc/clnt_perr.c: Likewise.
16426 * sunrpc/clnt_raw.c: Likewise.
16427 * sunrpc/clnt_simp.c: Likewise.
16428 * sunrpc/clnt_tcp.c: Likewise.
16429 * sunrpc/clnt_udp.c: Likewise.
16430 * sunrpc/clnt_unix.c: Likewise.
16431 * sunrpc/des_crypt.c: Likewise.
16432 * sunrpc/des_soft.c: Likewise.
16433 * sunrpc/get_myaddr.c: Likewise.
16434 * sunrpc/key_call.c: Likewise.
16435 * sunrpc/key_prot.c: Likewise.
16436 * sunrpc/netname.c: Likewise.
16437 * sunrpc/pm_getmaps.c: Likewise.
16438 * sunrpc/pm_getport.c: Likewise.
16439 * sunrpc/pmap_clnt.c: Likewise.
16440 * sunrpc/pmap_prot.c: Likewise.
16441 * sunrpc/pmap_prot2.c: Likewise.
16442 * sunrpc/pmap_rmt.c: Likewise.
16443 * sunrpc/publickey.c: Likewise.
16444 * sunrpc/rpc_cmsg.c: Likewise.
16445 * sunrpc/rpc_common.c: Likewise.
16446 * sunrpc/rpc_dtable.c: Likewise.
16447 * sunrpc/rpc_prot.c: Likewise.
16448 * sunrpc/rpc_thread.c: Likewise.
16449 * sunrpc/rtime.c: Likewise.
16450 * sunrpc/svc.c: Likewise.
16451 * sunrpc/svc_auth.c: Likewise.
16452 * sunrpc/svc_authux.c: Likewise.
16453 * sunrpc/svc_raw.c: Likewise.
16454 * sunrpc/svc_run.c: Likewise.
16455 * sunrpc/svc_simple.c: Likewise.
16456 * sunrpc/svc_tcp.c: Likewise.
16457 * sunrpc/svc_udp.c: Likewise.
16458 * sunrpc/svc_unix.c: Likewise.
16459 * sunrpc/svcauth_des.c: Likewise.
16460 * sunrpc/xcrypt.c: Likewise.
16461 * sunrpc/xdr.c: Likewise.
16462 * sunrpc/xdr_array.c: Likewise.
16463 * sunrpc/xdr_float.c: Likewise.
16464 * sunrpc/xdr_intXX_t.c: Likewise.
16465 * sunrpc/xdr_mem.c: Likewise.
16466 * sunrpc/xdr_rec.c: Likewise.
16467 * sunrpc/xdr_ref.c: Likewise.
16468 * sunrpc/xdr_sizeof.c: Likewise.
16469 * sunrpc/xdr_stdio.c: Likewise.
16471 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16474 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16475 * sysdeps/ia64/dl-tls.h: Likewise.
16476 * sysdeps/powerpc/dl-tls.h: Likewise.
16477 * sysdeps/s390/dl-tls.h: Likewise.
16478 * sysdeps/sh/dl-tls.h: Likewise.
16479 * sysdeps/sparc/dl-tls.h: Likewise.
16480 * sysdeps/x86_64/dl-tls.h: Likewise.
16481 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16483 2011-03-14 Andreas Schwab <schwab@redhat.com>
16485 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16486 rpath element also skip the following colon.
16487 (expand_dynamic_string_token): Add is_path parameter and pass
16488 down to DL_DST_REQUIRED and _dl_dst_substitute.
16489 (decompose_rpath): Call expand_dynamic_string_token with
16490 non-zero is_path. Ignore empty rpaths.
16491 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16494 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16499 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16502 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16503 Patch by Filipe David Manana <fdmanana@apache.org>.
16505 2011-04-07 Andreas Schwab <schwab@redhat.com>
16507 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16508 Maintain aligned stack.
16509 (CHECK_RSP): Remove unused macro.
16511 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16513 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16514 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16516 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16518 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16520 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16522 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16525 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16526 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16527 * sysdeps/x86_64/memmove.c: New file.
16528 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16529 (memcpy): Renamed to ...
16530 (__new_memcpy): This.
16531 (memcpy): Provide GLIBC_2_14 memcpy.
16532 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16533 (memcpy): Provide GLIBC_2_2_5 memcpy.
16535 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16538 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16540 2011-03-30 Andreas Schwab <schwab@redhat.com>
16542 * misc/syncfs.c: New file.
16543 * misc/Makefile (routines): Add syncfs.
16544 * posix/unistd.h: Declare syncfs.
16545 * sysdeps/unix/syscalls.list: Add syncfs.
16547 2011-04-01 Andreas Schwab <schwab@redhat.com>
16549 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16551 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16552 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16553 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16554 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16555 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16556 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16557 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16559 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16561 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16562 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16563 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16565 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16567 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16569 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16570 sync_file_range.c with -fexceptions.
16571 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16572 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16573 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16574 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16575 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16576 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16577 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16578 sync_file_range as cancellation point
16579 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16580 now a wrapper around __call_sync_file_range with cancellation handling.
16581 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16582 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16583 function name to __call_sync_file_range.
16584 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16585 Add call_sync_file_range.
16587 2011-04-01 Andreas Schwab <schwab@redhat.com>
16589 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16592 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16594 * iconv/iconv.h: Fix typo in comment.
16595 * io/fcntl.h: Likewise.
16596 * libio/stdio.h: Likewise.
16597 * posix/spawn.h: Likewise.
16598 * posix/unistd.h: Likewise.
16599 * stdlib/stdlib.h: Likewise.
16600 * time/time.h: Likewise.
16601 * wcsmbs/wchar.h: Likewise.
16603 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16604 open_by_handle): Add.
16605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16606 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16607 Augment a few comments.
16608 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16610 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16612 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16613 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16616 * io/fcntl.h (AT_EMPTY_PATH): Define.
16618 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16620 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16621 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16622 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16624 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16625 * Versions.def: Add GLIBC_2.14.
16626 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16629 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16631 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16633 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16635 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16638 * string/test-strncmp.c (do_page_test): New function.
16639 (check2): Likewise.
16640 (test_main): Call check2.
16641 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16643 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16646 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16647 Handle cache information in CPU leaf 4.
16648 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16650 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16653 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16654 character representation.
16655 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16657 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16659 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16660 END(__isnan) to END(__isnanf) to match function entry point/label
16661 EALIGN(__isnanf,...).
16663 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16665 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16667 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16670 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16671 copy from the symbol referenced in the relocation to initialize the
16673 Patch by Piotr Bury <pbury@goahead.com>.
16674 * elf/Makefile: Add rules to build and tst-unique3.
16675 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16676 * elf/tst-unique3.cc: New file.
16677 * elf/tst-unique3.h: New file.
16678 * elf/tst-unique3lib.cc: New file.
16679 * elf/tst-unique3lib2.cc: New file.
16681 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16683 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16685 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16686 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16689 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16691 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16692 to-be-loaded object along a path to loader is ld.so.
16694 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16695 Ulrich Drepper <drepper@gmail.com>
16697 * sysdeps/x86_64/memset.S: After aligning destination, code
16698 branches to different locations depending on the value of
16699 misalignment, when multiarch is enabled. Fix this.
16701 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16703 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16704 Set _x86_64_preferred_memory_instruction for AMD processsors.
16705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16706 Set bit_Prefer_SSE_for_memop for AMD processors.
16708 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16710 * libio/fmemopen.c (fmemopen): Optimize a bit.
16712 2011-03-03 Andreas Schwab <schwab@redhat.com>
16714 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16716 2011-03-03 Roland McGrath <roland@redhat.com>
16718 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16720 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16722 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16723 __bzero_ultra1 instead of __memset_ultra1.
16725 2011-02-23 Andreas Schwab <schwab@redhat.com>
16726 Ulrich Drepper <drepper@gmail.com>
16729 * include/link.h (struct link_map): Add l_orig_initfini.
16730 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16731 returning unsuccessfully.
16732 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16733 close of a file loaded at startup, restore the original l_initfini
16735 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16736 list, store the pointer.
16737 * elf/Makefile ($(objpfx)noload-mem): New rule.
16738 (noload-ENV): Define.
16739 (tests): Add $(objpfx)noload-mem.
16740 * elf/noload.c: Include <memcheck.h>.
16741 (main): Call mtrace. Close all opened handles.
16743 2011-02-17 Andreas Schwab <schwab@redhat.com>
16746 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16747 dependencies are missing.
16749 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16751 Fix __if_freereq crash: Unlike the generic version which uses free,
16753 * sysdeps/mach/hurd/ifreq.h: New file.
16755 2011-01-27 Petr Baudis <pasky@suse.cz>
16756 Ulrich Drepper <drepper@gmail.com>
16759 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16760 to extend_alloca().
16761 * stdio-common/bug23.c: New file.
16762 * stdio-common/Makefile (tests): Add bug23.
16764 2010-09-28 Andreas Schwab <schwab@redhat.com>
16765 Ulrich Drepper <drepper@gmail.com>
16768 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16769 before performing relro protection. At old place add assertion
16770 to make sure nothing changed.
16772 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16773 Glauber de Oliveira Costa <glommer@gmail.com>
16775 * elf/elf.h: Add new ARM TLS relocs.
16777 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16780 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16782 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16784 * sysdeps/wordsize-64/tst-writev.c: New file.
16786 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16788 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16789 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16790 insns in _dl_start to prevent a TOC reference before relocs are
16793 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16796 * Makeconfig: Remove RANLIB definition.
16797 * Makerules: Don't use RANLIB.
16798 * aclocal.m4: Remove ranlib test.
16799 * configure.in: No need to check for ranlib.
16800 * elf/rtld-Rules: Don't use RANLIB.
16802 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16804 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16806 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16807 inclusion protection macro.
16809 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16810 SIGRTMIN and SIGRTMAX and print information in that case only when
16811 SIGRTMIN is defined.
16813 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16815 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16816 arginfo fn returning -1.
16818 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16819 and thousands string is zero terminated.
16821 2011-02-03 Andreas Schwab <schwab@redhat.com>
16823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16824 sysdeps/unix/sysv/linux/bits/socket.h.
16826 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16828 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16829 (__CPU_COUNT): Remove old macros.
16830 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16831 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16832 (__CPU_ALLOC, __CPU_FREE): Add macros.
16833 (__sched_cpualloc, __sched_cpufree): Add declarations.
16835 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16837 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16838 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16839 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16840 (readdhstai): Return value of addhstaiX call.
16841 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16842 (addgrbyX): Return value returned by cache_addgr.
16843 (readdgrbyname): Return value returned by addgrbyX.
16844 (readdgrbygid): Likewise.
16845 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16846 (addpwbyX): Return value returned by cache_addpw.
16847 (readdpwbyname): Return value returned by addhstbyX.
16848 (readdpwbyuid): Likewise.
16849 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16850 (addservbyX): Return value returned by cache_addserv.
16851 (readdservbyname): Return value returned by addservbyX:
16852 (readdservbyport): Likewise.
16853 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16854 (addhstbyX): Return value returned by cache_addhst.
16855 (readdhstbyname): Return value returned by addhstbyX.
16856 (readdhstbyaddr): Likewise.
16857 (readdhstbynamev6): Likewise.
16858 (readdhstbyaddrv6): Likewise.
16859 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16860 (readdinitgroups): Return value returned by addinitgroupsX.
16861 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16862 (prune_cache): Keep track of timeout value of re-added entries.
16863 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16864 * nscd/nscd.h: Adjust prototypes of readd* functions.
16866 2011-02-04 Roland McGrath <roland@redhat.com>
16868 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16869 (nis_stats): Likewise.
16870 * nis/nis_modify.c (nis_modify): Likewise.
16871 * nis/nis_remove.c (nis_remove): Likewise.
16872 * nis/nis_add.c (nis_add): Likewise.
16874 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16876 * posix/fnmatch_loop.c: Add some consts.
16878 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16880 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16883 * config.make.in (config-cflags-novzeroupper): Define.
16884 * configure.in: Substitute libc_cv_cc_novzeroupper.
16885 * elf/Makefile (AVX-CFLAGS): Define.
16886 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16887 (CFLAGS-tst-auditmod4a.c): Likewise.
16888 (CFLAGS-tst-auditmod4b.c): Likewise.
16889 (CFLAGS-tst-auditmod6b.c): Likewise.
16890 (CFLAGS-tst-auditmod6c.c): Likewise.
16891 (CFLAGS-tst-auditmod7b.c): Likewise.
16892 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16894 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16896 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16897 function to the callback.
16898 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16900 2011-02-02 Andreas Schwab <schwab@redhat.com>
16902 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16905 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16908 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16910 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16912 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16915 * elf/Makefile: Add rules to build and run new test.
16916 * elf/tst-initorder.c: New file.
16917 * elf/tst-initorder.exp: New file.
16918 * elf/tst-initordera1.c: New file.
16919 * elf/tst-initordera2.c: New file.
16920 * elf/tst-initordera3.c: New file.
16921 * elf/tst-initordera4.c: New file.
16922 * elf/tst-initorderb1.c: New file.
16923 * elf/tst-initorderb2.c: New file.
16924 * elf/tst-order-a1.c: New file.
16925 * elf/tst-order-a2.c: New file.
16926 * elf/tst-order-a3.c: New file.
16927 * elf/tst-order-a4.c: New file.
16928 * elf/tst-order-b1.c: New file.
16929 * elf/tst-order-b2.c: New file.
16930 * elf/tst-order-main.c: New file.
16931 New test case by George Gensure <werkt0@gmail.com>.
16933 2010-10-01 Andreas Schwab <schwab@redhat.com>
16935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16936 decoding ACE if AI_CANONIDN.
16938 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16940 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16942 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16944 * version.h (RELEASE): Bump for 2.13 release.
16945 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16947 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16949 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16951 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16952 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16953 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16954 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16955 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16956 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16958 * posix/getconf.c: Update copyright year.
16959 * catgets/gencat.c: Likewise.
16960 * csu/version.c: Likewise.
16961 * debug/catchsegv.sh: Likewise.
16962 * debug/xtrace.sh: Likewise.
16963 * elf/ldconfig.c: Likewise.
16964 * elf/ldd.bash.in: Likewise.
16965 * elf/sprof.c (print_version): Likewise.
16966 * iconv/iconv_prog.c: Likewise.
16967 * iconv/iconvconfig.c: Likewise.
16968 * locale/programs/locale.c: Likewise.
16969 * locale/programs/localedef.c: Likewise.
16970 * malloc/memusage.sh: Likewise.
16971 * malloc/mtrace.pl: Likewise.
16972 * nscd/nscd.c (print_version): Likewise.
16973 * nss/getent.c: Likewise.
16975 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16976 PF_CAIF, and PF_ALG.
16977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16979 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16981 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16982 (modules-names): Use them.
16983 (ifunc-test-modules, ifunc-pie-tests): Define.
16984 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16985 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16986 (test-extras): Likewise.
16987 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16988 $(compile-command.c).
16989 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16990 (all-built-dso): Define.
16991 (check-textrel.out, check-execstack.out): Depend on it.
16993 * configure.in: Don't override --enable-multi-arch.
16995 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16998 * nscd/hstcache.c (tryagain): Define.
16999 (cache_addhst): Return tryagain not notfound for temporary errors.
17000 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17003 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17006 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17007 to make the syscall.
17008 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17011 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17012 and fall back to matching as normal character if the string ends before
17013 the matching ']' is found. This is what POSIX requires.
17014 * posix/testfnm.c: Adjust test result.
17015 * posix/globtest.sh: Adjust test result. Add new test.
17016 * posix/tst-fnmatch.input: Likewise.
17017 * posix/tst-fnmatch2.c: Add new test.
17019 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17021 * elf/Makefile (check-execstack): Revert last change. Depend on
17023 (check-execstack.h): New target.
17024 (generated): Add check-execstack.h.
17025 * elf/check-execstack.c: Include "check-execstack.h".
17026 (main): Revert last change.
17027 (handle_file): Return zero if GNU_STACK is absent and
17028 DEFAULT_STACK_PERMS doesn't include PF_X.
17030 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17032 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17033 in child fails because the descriptor is already closed.
17034 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17035 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17036 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17039 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17043 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17044 temporary buffer used to handle multi lookups locally.
17045 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17047 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17049 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17052 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17054 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17055 alignment for SSE2.
17057 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17060 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17061 characters. When rounding increased number of integer digits recompute
17063 * stdio-common/tst-grouping.c: New file.
17064 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17066 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17068 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17069 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17071 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17073 * bits/select.h: Likewise.
17075 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17077 * po/ja.po: Update from translation team.
17079 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17082 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17083 implementation just like for lxstat, fxstatat, et al.
17085 2010-12-27 Jim Meyering <meyering@redhat.com>
17088 * posix/regexec.c (build_trtable): Return failure indication upon
17089 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17091 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17094 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17095 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17096 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17097 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17100 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17103 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17104 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17106 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17108 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17109 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17110 script has SORT_BY_INIT_PRIORITY.
17111 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17112 NO_CTORS_DTORS_SECTIONS is defined.
17113 * elf/soinit.c: Likewise.
17114 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17115 NO_CTORS_DTORS_SECTIONS is defined.
17116 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17117 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17118 * sysdeps/sh/init-first.c: Likewise.
17119 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17121 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17123 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17124 always use the slow path.
17126 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17128 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17129 similar rule which adds the sysdep directories to the header search in
17130 order to pick up the correct platform stackinfo.h.
17131 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17132 perform test if it is, otherwise return successfully without testing.
17133 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17134 DEFAULT_STACK_PERMS define in stackinfo.h.
17135 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17136 defined in stackinfo.h.
17137 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17138 DEFAULT_STACK_PERMS defined in stackinfo.h.
17139 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17140 * sysdeps/ia64/stackinfo.h: Likewise.
17141 * sysdeps/s390/stackinfo.h: Likewise.
17142 * sysdeps/sh/stackinfo.h: Likewise.
17143 * sysdeps/sparc/stackinfo.h: Likewise.
17144 * sysdeps/x86_64/stackinfo.h: Likewise.
17145 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17146 PF_X for powerpc64. Retain PF_X for powerpc32.
17148 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17150 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17152 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17153 GETDENTS_64BIT_ALIGNED.
17155 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17157 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17159 2010-12-10 Andreas Schwab <schwab@redhat.com>
17161 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17164 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17165 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17167 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17168 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17170 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17173 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17176 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17178 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17180 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17182 * po/it.po: Update from translation team.
17184 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17189 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17191 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17193 2010-11-24 Andreas Schwab <schwab@redhat.com>
17195 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17197 (gaih_getanswer_slice): Likewise.
17199 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17203 2010-05-31 Petr Baudis <pasky@suse.cz>
17206 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17207 silently even in the chroot mode.
17209 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17211 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17212 last patch a bit. Pretty printing
17214 2010-05-31 Petr Baudis <pasky@suse.cz>
17217 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17218 initialization of skip_initgroups_dyn.
17220 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17222 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17223 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17225 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17227 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17229 2010-11-11 Andreas Schwab <schwab@redhat.com>
17231 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17232 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17233 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17234 ($(objpfx)tst-fnmatch-mem): New rule.
17235 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17236 * posix/tst-fnmatch.c (main): Call mtrace.
17238 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17241 Support Intel processor model 6 and model 0x2c.
17243 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17245 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17248 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17251 * string/test-strncasecmp.c (check_result): New function.
17252 (do_one_test): Use it.
17253 (check1): New function.
17254 (test_main): Use it.
17255 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17256 Support strcasecmp and strncasecmp.
17258 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17261 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17262 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17264 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17266 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17270 * sysdeps/x86_64/multiarch/bzero.S: New file.
17271 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17272 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17273 * sysdeps/x86_64/multiarch/memset.S: New file.
17274 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17276 Set bit_Prefer_SSE_for_memop for Intel processors.
17277 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17279 (index_Prefer_SSE_for_memop): Define.
17280 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17282 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17284 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17285 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17287 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17290 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17291 (__x86_64_raw_data_cache_size_half): Likewise.
17292 (__x86_64_raw_shared_cache_size): Likewise.
17293 (__x86_64_raw_shared_cache_size_half): Likewise.
17295 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17296 (__x86_64_raw_data_cache_size_half): Likewise.
17297 (__x86_64_raw_shared_cache_size): Likewise.
17298 (__x86_64_raw_shared_cache_size_half): Likewise.
17299 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17300 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17301 and __x86_64_raw_shared_cache_size_half. Round
17302 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17303 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17304 to multiple of 256 bytes.
17306 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17309 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17310 of inacessible symlinks. Verify result of symlink before returning it.
17311 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17312 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17314 2010-10-28 Erich Ritz <erichritz@gmail.com>
17316 * math/math.h (isinf): Fix typo in comment.
17318 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17320 * po/da.po: Update from translation team.
17322 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17324 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17325 is added to the list.
17327 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17328 Ulrich Drepper <drepper@gmail.com>
17330 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17331 the global list here. Move code to...
17332 (_dl_add_to_namespace_list): ...here. New function.
17333 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17334 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17335 * elf/dl-load.c (lose): Don't remove the element from the list.
17336 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17337 (_dl_map_object): Likewise.
17339 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17342 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17343 into all bytes of SSE register.
17344 Patch by Richard Li <richardpku@gmail.com>.
17346 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17349 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17352 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17354 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17355 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17356 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17357 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17362 2010-10-22 Andreas Schwab <schwab@redhat.com>
17364 * include/dlfcn.h (__RTLD_SECURE): Define.
17365 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17366 mode & __RTLD_SECURE instead.
17367 (open_path): Rename preloaded parameter to secure.
17368 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17369 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17370 * elf/dl-deps.c (openaux): Likewise.
17371 * elf/rtld.c (struct map_args): Remove is_preloaded.
17372 (map_doit): Don't use it.
17373 (dl_main): Likewise.
17374 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17375 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17377 2010-09-09 Andreas Schwab <schwab@redhat.com>
17379 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17380 (sysd-rules-targets): Remove duplicates.
17381 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17382 rtld-%.$o dependency.
17384 2010-10-18 Andreas Schwab <schwab@redhat.com>
17386 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17387 _dl_map_object do it.
17389 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17391 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17392 fast fma builtins, define the macros in the C99 standard.
17393 (FP_FAST_FMAF): Likewise.
17394 (FP_FAST_FMAL): Likewise.
17395 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17397 * bits/mathdef.h: Update copyright year.
17398 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17400 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17402 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17403 builtins, define the macros in the C99 standard.
17404 (FP_FAST_FMAF): Likewise.
17405 (FP_FAST_FMAL): Likewise.
17406 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17408 (FP_FAST_FMAF): Likewise.
17410 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17413 * math/libm-test.inc (fma_test): Some new testcases.
17414 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17415 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17416 y and infinite z. Do multiplication by C already in long double.
17417 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17419 y and infinite z. Do bitwise or of inexact bit into u.d.
17420 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17421 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17422 * sysdeps/i386/fpu/s_fma.S: Removed.
17423 * sysdeps/i386/fpu/s_fmal.S: Removed.
17425 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17428 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17430 computation is not scheduled after fetestexcept. Fix value
17431 of minimum denormal long double.
17433 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17436 * math/libm-test.inc (fma_test): Add some more tests.
17437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17440 2010-10-15 Andreas Schwab <schwab@redhat.com>
17442 * scripts/data/localplt-s390-linux-gnu.data: New file.
17443 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17445 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17448 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17449 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17451 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17453 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17455 if one of x and y is very large and the other is subnormal.
17456 * sysdeps/s390/fpu/s_fmaf.c: New file.
17457 * sysdeps/s390/fpu/s_fma.c: New file.
17458 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17459 * sysdeps/powerpc/fpu/s_fma.S: New file.
17460 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17461 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17462 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17464 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17467 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17469 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17470 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17471 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17472 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17473 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17474 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17477 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17480 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17481 * posix/bug-regex31.input: Add test case.
17483 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17485 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17486 * posix/bug-regex31.input: New file.
17489 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17490 (parse_sub_exp): Fix last change, use postorder.
17492 * posix/bug-regex31.c: New file.
17493 * posix/Makefile: Add rules to build and run bug-regex31.
17495 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17498 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17501 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17502 to have entries in sys_siglist.
17505 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17508 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17511 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17512 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17513 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17514 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17515 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17516 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17517 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17518 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17519 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17520 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17521 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17522 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17523 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17524 * math/ftestexcept.c (fetestexcept): Likewise.
17525 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17526 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17527 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17528 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17529 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17530 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17531 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17533 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17536 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17539 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17541 * string/bug-strstr1.c: New file.
17542 * string/Makefile: Add rules to build and run bug-strstr1.
17544 2010-10-05 Eric Blake <eblake@redhat.com>
17547 * string/str-two-way.h (two_way_long_needle): Always clear memory
17548 when skipping input due to the shift table.
17550 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17553 * malloc/mcheck.c: Handle large requests.
17556 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17557 for strncmp and strncasecmp.
17558 * string/stratcliff.c: Add tests for strcmp and strncmp.
17559 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17561 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17563 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17566 2010-09-30 Andreas Jaeger <aj@suse.de>
17568 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17569 (CGROUP_SUPER_MAGIC): Define.
17570 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17571 Handle btrfs and cgroup file systems.
17572 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17575 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17577 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17578 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17580 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17583 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17584 trying to locate the ELF header.
17586 2010-09-27 Andreas Schwab <schwab@redhat.com>
17589 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17590 Mask out sign-bit copies when constructing f_fsid.
17592 2010-09-24 Petr Baudis <pasky@suse.cz>
17594 * debug/stack_chk_fail_local.c: Add missing licence exception.
17595 * debug/warning-nop.c: Likewise.
17597 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17599 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17600 implementing getdents64 using getdents syscall, set d_type if
17601 __ASSUME_GETDENTS32_D_TYPE.
17603 2010-09-16 Andreas Schwab <schwab@redhat.com>
17605 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17606 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17608 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17611 * posix/unistd.h: Undo change of feature selection for ftruncate from
17614 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17616 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17619 2010-09-20 Andreas Schwab <schwab@redhat.com>
17621 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17623 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17625 2010-09-14 Andreas Schwab <schwab@redhat.com>
17627 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17628 variables after CHECK_SP call.
17629 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17631 2010-09-13 Andreas Schwab <schwab@redhat.com>
17632 Ulrich Drepper <drepper@redhat.com>
17634 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17635 re-relocationg ld.so.
17636 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17637 _dl_init_paths call.
17638 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17641 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17643 * resolv/res_init.c (__res_vinit): Count the default server we added.
17645 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17646 Ulrich Drepper <drepper@redhat.com>
17649 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17650 (____longjmp_chk): Use %ebx for saving value across system call.
17653 2010-09-06 Andreas Schwab <schwab@redhat.com>
17655 * manual/Makefile: Don't mix pattern rules with normal rules.
17657 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17659 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17661 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17662 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17663 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17664 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17665 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17668 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17671 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17672 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17674 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17676 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17677 * sysdeps/x86_64/addmul_1.S: Likewise.
17678 * sysdeps/x86_64/lshift.S: Likewise.
17679 * sysdeps/x86_64/mul_1.S: Likewise.
17680 * sysdeps/x86_64/rshift.S: Likewise.
17681 * sysdeps/x86_64/sub_n.S: Likewise.
17682 * sysdeps/x86_64/submul_1.S: Likewise.
17684 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17686 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17687 Define __sched_param instead of SCHED_* and sched_param when
17688 <bits/sched.h> is included with __need_schedparam defined.
17689 * bits/sched.h [__need_schedparam]
17690 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17691 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17692 (__defined_schedparam): Define to 1.
17693 (__sched_param): New structure, identical to sched_param.
17694 (__need_schedparam): Undefine.
17696 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17698 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17699 (epoll_create1): Declare.
17701 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17703 2010-08-31 Andreas Schwab <schwab@redhat.com>
17706 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17707 shifting retval into place.
17709 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17711 * nis/rpcsvc/nis.h: Update copyright notice.
17712 * nis/rpcsvc/nis.x: Likewise.
17713 * nis/rpcsvc/nis_callback.h: Likewise.
17714 * nis/rpcsvc/nis_callback.x: Likewise.
17715 * nis/rpcsvc/nis_object.x: Likewise.
17716 * nis/rpcsvc/nis_tags.h: Likewise.
17717 * nis/rpcsvc/yp.h: Likewise.
17718 * nis/rpcsvc/yp.x: Likewise.
17719 * nis/rpcsvc/ypupd.h: Likewise.
17720 * nis/yp_xdr.c: Likewise.
17721 * nis/ypupdate_xdr.c: Likewise.
17723 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17724 mainly the body of pmap_getport. Add parameters to specify timeouts.
17725 (pmap_getport): Use __libc_rpc_getport.
17726 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17727 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17728 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17730 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17735 2010-08-27 Roland McGrath <roland@redhat.com>
17737 * sysdeps/i386/i686/multiarch/Makefile
17738 (CFLAGS-varshift.c): New variable.
17740 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17742 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17743 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17745 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17747 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17749 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17751 * sysdeps/x86_64/strlen.S: Unroll the loop.
17752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17753 strlen-sse2 strlen-sse2-bsf.
17754 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17755 __strlen_no_bsf if bit_Slow_BSF is set.
17756 (__strlen_sse42): Removed.
17757 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17758 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17760 2010-08-25 Roland McGrath <roland@redhat.com>
17762 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17763 * sysdeps/x86_64/multiarch/varshift.c: New file.
17764 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17765 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17766 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17767 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17769 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17772 strlen-sse2 strlen-sse2-bsf.
17773 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17774 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17775 (__strlen_sse2): Removed.
17776 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17777 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17779 bit_Slow_BSF for Atom.
17780 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17781 (index_Slow_BSF): Define.
17782 (HAS_SLOW_BSF): Define.
17784 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17787 * resolv/res_init.c (__res_vinit): When no server address at all
17788 is given default to loopback.
17790 2010-08-24 Roland McGrath <roland@redhat.com>
17792 * configure.in: Remove config-name.h generation.
17793 * configure: Regenerated.
17794 * config-name.in: File removed.
17795 * scripts/config-uname.sh: New file.
17796 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17797 ($(objdir)config-name.h): New target.
17799 * sunrpc/rpc_parse.h: Avoid nested comment.
17801 2010-08-24 Richard Henderson <rth@redhat.com>
17802 Ulrich Drepper <drepper@redhat.com>
17803 H.J. Lu <hongjiu.lu@intel.com>
17805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17807 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17808 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17809 _mm_alignr_epi8 with _mm_loadu_si128.
17810 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17811 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17812 (__m128i_shift_right): Removed.
17813 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17814 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17815 * sysdeps/x86_64/multiarch/varshift.h: New file.
17816 * sysdeps/x86_64/multiarch/varshift.S: New file.
17818 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17820 * configure.in: Move assembler checks to before sysdep dir checking.
17822 2010-08-20 Petr Baudis <pasky@suse.cz>
17824 * LICENSES: Sync the sunrpc license.
17826 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17828 * sunrpc/auth_des.c: Update copyright notice once again.
17829 * sunrpc/auth_none.c: Likewise.
17830 * sunrpc/auth_unix.c: Likewise.
17831 * sunrpc/authdes_prot.c: Likewise.
17832 * sunrpc/authuxprot.c: Likewise.
17833 * sunrpc/bindrsvprt.c: Likewise.
17834 * sunrpc/clnt_gen.c: Likewise.
17835 * sunrpc/clnt_perr.c: Likewise.
17836 * sunrpc/clnt_raw.c: Likewise.
17837 * sunrpc/clnt_simp.c: Likewise.
17838 * sunrpc/clnt_tcp.c: Likewise.
17839 * sunrpc/clnt_udp.c: Likewise.
17840 * sunrpc/clnt_unix.c: Likewise.
17841 * sunrpc/des_crypt.c: Likewise.
17842 * sunrpc/des_soft.c: Likewise.
17843 * sunrpc/get_myaddr.c: Likewise.
17844 * sunrpc/getrpcport.c: Likewise.
17845 * sunrpc/key_call.c: Likewise.
17846 * sunrpc/key_prot.c: Likewise.
17847 * sunrpc/openchild.c: Likewise.
17848 * sunrpc/pm_getmaps.c: Likewise.
17849 * sunrpc/pm_getport.c: Likewise.
17850 * sunrpc/pmap_clnt.c: Likewise.
17851 * sunrpc/pmap_prot.c: Likewise.
17852 * sunrpc/pmap_prot2.c: Likewise.
17853 * sunrpc/pmap_rmt.c: Likewise.
17854 * sunrpc/rpc/auth.h: Likewise.
17855 * sunrpc/rpc/auth_unix.h: Likewise.
17856 * sunrpc/rpc/clnt.h: Likewise.
17857 * sunrpc/rpc/des_crypt.h: Likewise.
17858 * sunrpc/rpc/key_prot.h: Likewise.
17859 * sunrpc/rpc/netdb.h: Likewise.
17860 * sunrpc/rpc/pmap_clnt.h: Likewise.
17861 * sunrpc/rpc/pmap_prot.h: Likewise.
17862 * sunrpc/rpc/pmap_rmt.h: Likewise.
17863 * sunrpc/rpc/rpc.h: Likewise.
17864 * sunrpc/rpc/rpc_des.h: Likewise.
17865 * sunrpc/rpc/rpc_msg.h: Likewise.
17866 * sunrpc/rpc/svc.h: Likewise.
17867 * sunrpc/rpc/svc_auth.h: Likewise.
17868 * sunrpc/rpc/types.h: Likewise.
17869 * sunrpc/rpc/xdr.h: Likewise.
17870 * sunrpc/rpc_clntout.c: Likewise.
17871 * sunrpc/rpc_cmsg.c: Likewise.
17872 * sunrpc/rpc_common.c: Likewise.
17873 * sunrpc/rpc_cout.c: Likewise.
17874 * sunrpc/rpc_dtable.c: Likewise.
17875 * sunrpc/rpc_hout.c: Likewise.
17876 * sunrpc/rpc_main.c: Likewise.
17877 * sunrpc/rpc_parse.c: Likewise.
17878 * sunrpc/rpc_parse.h: Likewise.
17879 * sunrpc/rpc_prot.c: Likewise.
17880 * sunrpc/rpc_sample.c: Likewise.
17881 * sunrpc/rpc_scan.c: Likewise.
17882 * sunrpc/rpc_scan.h: Likewise.
17883 * sunrpc/rpc_svcout.c: Likewise.
17884 * sunrpc/rpc_tblout.c: Likewise.
17885 * sunrpc/rpc_util.c: Likewise.
17886 * sunrpc/rpc_util.h: Likewise.
17887 * sunrpc/rpcinfo.c: Likewise.
17888 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17889 * sunrpc/rpcsvc/key_prot.x: Likewise.
17890 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17891 * sunrpc/rpcsvc/mount.x: Likewise.
17892 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17893 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17894 * sunrpc/rpcsvc/rex.x: Likewise.
17895 * sunrpc/rpcsvc/rstat.x: Likewise.
17896 * sunrpc/rpcsvc/rusers.x: Likewise.
17897 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17898 * sunrpc/rpcsvc/spray.x: Likewise.
17899 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17900 * sunrpc/rtime.c: Likewise.
17901 * sunrpc/svc.c: Likewise.
17902 * sunrpc/svc_auth.c: Likewise.
17903 * sunrpc/svc_authux.c: Likewise.
17904 * sunrpc/svc_raw.c: Likewise.
17905 * sunrpc/svc_run.c: Likewise.
17906 * sunrpc/svc_simple.c: Likewise.
17907 * sunrpc/svc_tcp.c: Likewise.
17908 * sunrpc/svc_udp.c: Likewise.
17909 * sunrpc/svc_unix.c: Likewise.
17910 * sunrpc/svcauth_des.c: Likewise.
17911 * sunrpc/xcrypt.c: Likewise.
17912 * sunrpc/xdr.c: Likewise.
17913 * sunrpc/xdr_array.c: Likewise.
17914 * sunrpc/xdr_float.c: Likewise.
17915 * sunrpc/xdr_mem.c: Likewise.
17916 * sunrpc/xdr_rec.c: Likewise.
17917 * sunrpc/xdr_ref.c: Likewise.
17918 * sunrpc/xdr_sizeof.c: Likewise.
17919 * sunrpc/xdr_stdio.c: Likewise.
17921 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17924 2010-08-19 Andreas Schwab <schwab@redhat.com>
17926 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17928 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17930 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17931 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17932 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17933 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17934 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17935 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17936 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17937 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17938 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17939 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17940 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17941 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17942 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17943 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17945 2010-07-26 Anton Blanchard <anton@samba.org>
17947 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17948 * malloc/arena.c (heap_trim): Likewise.
17950 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17952 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17955 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17957 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17959 * sysdeps/i386/elf/Makefile: New file.
17961 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17963 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17964 from fanotify_init.
17965 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17966 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17968 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17970 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17972 * sysdeps/multiarch/strcmp.S: Likewise.
17974 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17976 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17977 strncase_l-nonascii.
17978 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17979 Add strncase_l-ssse3.
17980 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17981 * sysdeps/x86_64/strcmp.S: Likewise.
17982 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17983 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17984 * sysdeps/x86_64/strncase.S: New file.
17985 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17986 * sysdeps/x86_64/strncase_l.S: New file.
17987 * string/Makefile (strop-tests): Add strncasecmp.
17988 * string/test-strncasecmp.c: New file.
17990 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17993 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17994 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17996 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17998 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18000 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18002 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18003 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18004 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18006 2010-05-01 Alan Modra <amodra@gmail.com>
18008 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18009 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18010 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18011 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18012 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18013 tidying. Don't tail-call __sigjmp_save for static lib.
18014 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18016 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18017 (CALL_MCOUNT): Add eh info, and nop after bl.
18018 (TAIL_CALL_SYSCALL_ERROR): New macro.
18019 (PSEUDO_RET): Use it.
18020 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18021 Correct save location of integer regs and cr.
18022 (_dl_profile_resolve): Correct cr save location. Delete nops
18023 after bl when SHARED. Reduce cfi size a little by better
18024 placement of cfi directives.
18025 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18026 make a stack frame. Instead use parm save area as a temp.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18028 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18030 Don't make a stack frame for parent, use parm save area.
18031 Increase child stack frame to 112 bytes. Don't save unused reg,
18032 and adjust reg usage. Set up cfi on error recovery and
18033 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18035 (__makecontext): Add dummy nop after jump to exit.
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18037 Use correct parm save area and cr save, reduce stack frame.
18038 Correct cfi for possible PSEUDO_RET frame setup.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18040 Branch to local label emitted by PSEUDO_RET rather than
18043 2010-08-12 Andreas Schwab <schwab@redhat.com>
18046 * locale/programs/locale.c (print_assignment): New function.
18047 (show_locale_vars): Use it.
18049 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18051 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18053 (struct statfs64): Likewise.
18054 (_STATFS_F_FLAGS): Define.
18055 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18056 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18057 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18058 (ST_VALID): Define locally.
18059 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18060 __statvfs_getflags, use the provided value.
18061 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18062 __ASSUME_STATFS_F_FLAGS.
18064 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18066 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18067 Add sys/fanotify.h.
18068 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18069 fanotify_mask for GLIBC_2.13.
18070 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18071 fanotify_init and fanotify_mark.
18072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18073 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18075 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18077 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18078 prlimit64 for GLIBC_2.13.
18079 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18081 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18084 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18085 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18086 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18087 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18089 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18092 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18093 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18095 * nss/Makefile: Add rules to build and run tst-nss-test1.
18096 * shlib-versions: Add entry for libnss_test1.
18097 * nss/nss_test1.c: New file.
18098 * nss/tst-nss-test1.c: New file.
18100 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18101 (__nss_configure_lookup): Set appropriate entry in
18102 __nss_configure_lookup to true.
18103 * nss/nsswitch.h: Define enum with indeces of databases in
18104 databases and __nss_database_custom arrays. Declare
18105 __nss_database_custom.
18106 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18107 to avoid using nscd when custom rules are installed.
18108 * nss/getXXbyYY_r.c: Likewise.
18109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18111 * nss/nss_files/files-parse.c: Whitespace fixes.
18113 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18116 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18117 * posix/fnmatch_loop.c: Likewise.
18119 2010-07-17 Andi Kleen <ak@linux.intel.com>
18121 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18122 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18123 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18124 * Versions.def [GLIBC_2.13]: Add.
18126 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18128 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18129 Also fail if tpwd after pwuid call is NULL.
18131 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18133 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18134 when converting to ms.
18136 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18138 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18139 EOPNOTSUPP errors with ENOTTY.
18140 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18141 EOPNOTSUPP errors with ENOTTY.
18143 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18145 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18146 Add strcasecmp_l-ssse3.
18147 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18149 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18150 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18151 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18153 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18155 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18157 * string/Makefile (strop-tests): Add strcasecmp.
18158 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18159 strcasecmp_l-nonascii.
18160 (gen-as-const-headers): Add locale-defines.sym.
18161 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18162 * sysdeps/x86_64/strcasecmp.S: New file.
18163 * sysdeps/x86_64/strcasecmp_l.S: New file.
18164 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18165 * sysdeps/x86_64/locale-defines.sym: New file.
18166 * string/test-strcasecmp.c: New file.
18168 * string/test-strcasestr.c: Test both ends of the range of characters.
18169 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18171 2010-07-29 Roland McGrath <roland@redhat.com>
18174 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18176 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18178 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18181 2010-07-27 Andreas Schwab <schwab@redhat.com>
18183 * manual/memory.texi (Malloc Tunable Parameters): Document
18186 2010-07-26 Roland McGrath <roland@redhat.com>
18189 * configure.in (-fgnu89-inline check): Set and substitute
18190 gnu89_inline, not libc_cv_gnu89_inline.
18191 * configure: Regenerated.
18192 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18194 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18196 * string/test-strnlen.c: New file.
18197 * string/Makefile (strop-tests): Add strnlen.
18198 * string/tester.c (test_strnlen): Add a few more test cases.
18199 * string/tst-strlen.c: Better error reporting.
18201 * sysdeps/x86_64/strnlen.S: New file.
18203 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18205 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18206 lower-latency instructions.
18208 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18210 * string/test-strcasestr.c: New file.
18211 * string/test-strstr.c: New file.
18212 * string/Makefile (strop-tests): Add strstr and strcasestr.
18213 * string/str-two-way.h: Don't undefine MAX.
18214 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18216 2010-07-21 Andreas Schwab <schwab@redhat.com>
18218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18219 strcasestr-nonascii.
18220 (CFLAGS-strcasestr-nonascii.c): Define.
18221 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18222 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18223 Remove unused attribute.
18225 2010-07-20 Roland McGrath <roland@redhat.com>
18227 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18228 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18229 ld.so.cache was broken. With it, there is no way to disable dsocaps
18230 like LD_HWCAP_MASK can disable hwcaps.
18232 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18234 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18236 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18238 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18239 call in strcasestr.
18240 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18241 __strcasestr_sse42_nonascii.
18242 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18243 strcasestr-nonascii.c.
18244 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18246 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18248 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18249 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18250 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18251 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18253 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18255 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18258 2010-07-06 Andreas Schwab <schwab@redhat.com>
18261 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18264 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18266 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18267 _PC_PIPE_BUF using F_GETPIPE_SZ.
18269 2010-07-05 Roland McGrath <roland@redhat.com>
18271 * manual/arith.texi (Rounding Functions): Fix rint description
18272 implicit in round description.
18274 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18276 * elf/Makefile: Fix linking for a few tests to make recent linker
18279 2010-06-30 Andreas Schwab <schwab@redhat.com>
18281 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18282 $(common-objpfx)libc_nonshared.a.
18284 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18286 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18287 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18288 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18289 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18290 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18291 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18292 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18293 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18308 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18309 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18310 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18311 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18312 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18313 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18314 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18315 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18316 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18317 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18318 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18319 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18335 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18337 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18338 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18339 * string/memmove.c (memmove): Renamed to ...
18340 (MEMMOVE): ...this. Default to memmove.
18341 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18342 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18345 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18346 mempcpy-ssse3-back memmove-ssse3-back.
18347 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18349 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18350 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18351 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18352 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18353 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18354 * sysdeps/x86_64/multiarch/memmove.c: New file.
18355 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18356 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18357 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18358 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18359 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18360 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18362 (index_Fast_Copy_Backward): Define.
18363 (HAS_ARCH_FEATURE): Define.
18364 (HAS_FAST_REP_STRING): Define.
18365 (HAS_FAST_COPY_BACKWARD): Define.
18367 2010-06-21 Andreas Schwab <schwab@redhat.com>
18369 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18370 Restore proper fallback handling.
18372 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18375 * posix/group_member.c (__group_member): Correct checking loop.
18377 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18378 OOM in getpwuid_r correctly. Return error number when the caller
18379 should return, otherwise -1.
18380 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18381 call returning > 0 value.
18382 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18384 2010-06-07 Andreas Schwab <schwab@redhat.com>
18386 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18387 libc_nonshared.a from targets in modules-names.
18389 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18391 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18394 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18396 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18397 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18401 2010-06-02 Andreas Schwab <schwab@redhat.com>
18403 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18405 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18407 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18409 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18410 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18411 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18414 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18416 2010-06-14 Roland McGrath <roland@redhat.com>
18418 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18420 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18422 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18423 __REDIRECT followed by __THROW.
18424 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18425 * posix/getopt.h (getopt): Likewise.
18427 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18429 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18430 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18431 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18433 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18434 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18436 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18438 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18440 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18444 Properly check family and model.
18446 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18448 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18450 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18452 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18454 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18456 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18459 2010-05-19 Andreas Schwab <schwab@redhat.com>
18461 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18464 2010-05-21 Andreas Schwab <schwab@redhat.com>
18466 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18467 and internal_recvmmsg.
18468 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18469 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18470 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18471 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18473 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18474 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18475 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18477 2010-05-20 Andreas Schwab <schwab@redhat.com>
18479 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18481 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18483 POWER7 optimizations.
18484 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18485 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18487 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18489 * version.h: Update for 2.13 development version.
18491 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18493 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18494 exceptions. Return 0.
18496 2010-05-07 Roland McGrath <roland@redhat.com>
18498 * elf/ldconfig.c (main): Add a const.
18500 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18502 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18503 (args_options): Add no-idn option.
18504 (ahosts_keys_int): Add idn_flags to ai_flags.
18505 (parse_option): Handle 'i' option to clear idn_flags.
18507 * malloc/malloc.c (_int_free): Possible race in the most recently
18508 added check. Only act on the data if no current modification
18511 See ChangeLog.17 for earlier changes.