1 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12 Make code unconditional.
13 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14 (__mmap64) [!__NR_mmap2]: Likewise.
15 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19 [__NR_mmap2]: Make code unconditional.
20 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21 (__mmap64) [!__NR_mmap2]: Likewise.
23 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27 2012-08-18 Andreas Jaeger <aj@suse.de>
29 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34 * include/unistd.h (__have_sock_cloexec): Likewise.
35 (__have_pipe2): Likewise.
36 (__have_dup3): Likewise.
38 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41 * include/unistd.h (__have_pipe2): Change define into an extern int.
42 (__have_dup3): Likewise.
43 * socket/have_sock_cloexec.c: Include fcntl.h.
44 (__have_pipe2): New variable.
45 (__have_dup3): Likewise.
47 2012-08-17 Mike Frysinger <vapier@gentoo.org>
49 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
51 2012-08-17 Marek Polacek <polacek@redhat.com>
53 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
56 2012-08-17 Roland McGrath <roland@hack.frob.com>
58 * configure.in: Add AC_SUBST for sysheaders.
59 * configure: Regenerated.
60 * config.make.in (sysheaders): New substituted variable.
62 * sysdeps/unix/mkfifo.c: Moved ...
63 * sysdeps/posix/mkfifo.c: ... here.
64 * sysdeps/unix/mkfifoat.c: Moved ...
65 * sysdeps/posix/mkfifoat.c: ... here.
67 * sysdeps/unix/utime.c: Moved ...
68 * sysdeps/posix/utime.c: ... here.
70 * sysdeps/unix/time.c: Moved ...
71 * sysdeps/posix/time.c: ... here.
72 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
73 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
75 * sysdeps/unix/nice.c: Moved ...
76 * sysdeps/posix/nice.c: ... here.
78 * sysdeps/unix/alarm.c: Moved ...
79 * sysdeps/posix/alarm.c: ... here.
81 * intl/Makefile ($(codeset_mo)): Depend on the input file.
83 2012-08-17 Jeff Law <law@redhat.com>
85 * intl/Makefile (codeset_mo): New variable.
86 ($(codeset_mo)): New target.
87 (tst-codeset.out): Depend on that. Remove explicit rule.
88 (tst-gettext3.out, tst-gettext5.out): Likewise.
89 (LOCPATH-ENV, tst-codeset-ENV): New variables.
90 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
91 * intl/tst-codeset.sh: Remove.
92 * intl/tst-gettext3.sh: Likewise.
93 * intl/tst-gettext5.sh: Likewise.
95 2012-08-17 Roland McGrath <roland@hack.frob.com>
97 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
98 * sysdeps/unix/syscalls.list: ... here.
100 * sysdeps/posix/getaddrinfo.c
101 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
102 (gaiconf_init, gaiconf_reload): Use them.
104 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
105 Define using time_t rather than struct timespec.
107 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
108 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
110 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
112 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
113 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
116 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
117 __libc_cleanup_push argument.
119 * bits/param.h: New file.
120 * misc/sys/param.h: New file.
121 * include/sys/param.h: New file.
122 * misc/Makefile (headers): Add bits/param.h.
123 * sysdeps/generic/sys/param.h: File removed.
124 * sysdeps/unix/sysv/linux/bits/param.h: New file.
125 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
126 * sysdeps/mach/hurd/bits/param.h: New file.
127 * sysdeps/mach/hurd/sys/param.h: New file.
129 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
132 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
134 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
135 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
138 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
139 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
140 rather than -D_IO_MTSAFE_IO conditionally.
141 * stdio-common/Makefile (CPPFLAGS): Likewise.
142 * wcsmbs/Makefile (CPPFLAGS): Likewise.
143 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
145 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
147 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
148 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
149 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
150 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
151 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
152 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
153 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
154 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
155 (CFLAGS-fread_u_chk.c): Likewise.
156 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
157 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
158 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
159 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
160 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
161 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
162 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
163 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
164 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
166 * libio/Makefile: Test [$(libc-reentrant) = yes]
167 instead of [$(filter %REENTRANT, $(defines)) nonempty].
170 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
171 * sysdeps/pthread/configure: File removed.
172 * sysdeps/pthread/Makeconfig: New file.
173 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
174 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
176 2012-08-16 Gary Benson <gbenson@redhat.com>
178 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
179 unmapping the first object in a namespace.
181 2012-08-16 Roland McGrath <roland@hack.frob.com>
183 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
184 (__internal_setnetgrent): ... this. Add internal_function to
185 definition. Add libc_hidden_def.
186 (setnetgrent): Update caller.
187 (internal_endnetgrent): Renamed to ...
188 (__internal_endnetgrent): ... this. Add internal_function to
189 definition. Add libc_hidden_def.
190 (endnetgrent): Update caller.
191 (internal_getnetgrent_r): Renamed to ...
192 (__internal_getnetgrent_r): ... this. Add internal_function to
193 definition. Add libc_hidden_def.
194 (__getnetgrent_r): Update caller.
195 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
197 2012-08-16 Joseph Myers <joseph@codesourcery.com>
199 * stdlib/longlong.h: Update from GCC.
201 2012-08-16 Roland McGrath <roland@hack.frob.com>
203 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
204 on _QL, which is set by umul_ppmm but never used.
205 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
206 variables, which are set by GMP macros but never used.
207 * stdio-common/_itowa.c (_itowa): Likewise.
208 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
209 * stdlib/mod_1.c (mpn_mod_1): Likewise.
211 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
213 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
214 struct La_sh_regs is not constant.
215 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
216 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
217 and struct La_sparc64_regs are not constant.
219 2012-08-16 Joseph Myers <joseph@codesourcery.com>
221 * sysdeps/unix/sysv/linux/kernel-features.h
222 (__ASSUME_POSIX_TIMERS): Remove.
223 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
224 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
225 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
226 Make code unconditional.
227 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
228 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
229 Make code unconditional.
230 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
231 * sysdeps/unix/sysv/linux/clock_nanosleep.c
232 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
233 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
234 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
235 Make code unconditional.
236 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
237 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
238 (__libc_missing_posix_timers): Remove.
240 2012-08-15 Roland McGrath <roland@hack.frob.com>
242 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
243 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
245 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
247 * elf/dl-sym.c: Include <stdlib.h>.
249 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
250 constants, which avoids warnings in 32-bit builds.
252 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
253 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
255 * misc/lseek.c: File moved to ...
256 * io/lseek.c: ... here.
258 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
260 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
261 shifting LEN more than 31 bits at once.
263 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
266 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
267 segmentation fault for a case of two empty input strings.
268 * string/test-strncasecmp.c (check1): Renamed to...
270 (bz14195): Add new testcase for two empty input strings and N > 0.
271 (test_main): Call new testcase, adapt for renamed function.
273 2012-08-15 Andreas Jaeger <aj@suse.de>
276 * crypt/md5test2.c: New test, based on test supplied by Serge
277 Belyshev <belyshev@depni.sinp.msu.ru>.
278 * crypt/Makefile (xtests): Add md5test-giant..
279 * crypt/Makefile ($(objpfx)md5test-giant): Add.
281 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
284 * crypt/md5.c (md5_process_block): Don't assume the buffer
285 length is less than 2**32.
286 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
287 length is less than 2**64.
289 2012-08-15 Roland McGrath <roland@hack.frob.com>
291 * string/str-two-way.h: Include <sys/param.h>.
292 (MAX): Macro removed.
294 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
295 Move #define and #undef of memmove to just before and after
296 including <string.h>.
298 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
299 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
300 and after including <string.h>. Move declarations of
301 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
302 to before #include "string/memmove.c".
304 * include/dirent.h: Declare __getdirentries.
306 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
307 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
309 2012-08-14 Mike Frysinger <vapier@gentoo.org>
311 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
312 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
313 * sysdeps/i386/configure: Regenerated.
314 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
315 STABS_CURRENT_FILE, and STABS_FUN.
316 (END): Remove call to STABS_FUN_END.
317 (STABS_CURRENT_FILE1): Delete.
318 (STABS_CURRENT_FILE): Likewise.
319 (STABS_FUN): Likewise.
320 (STABS_FUN_END): Likewise.
321 (STABS_FUN2): Likewise.
322 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
323 * sysdeps/x86_64/configure: Regenerated.
325 2012-08-14 Roland McGrath <roland@hack.frob.com>
327 * elf/dl-open.c: Include <atomic.h>.
328 * elf/dl-lookup.c: Likewise.
330 2012-08-14 Joseph Myers <joseph@codesourcery.com>
332 * sysdeps/unix/sysv/linux/kernel-features.h
333 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
334 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
336 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
338 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
339 condition on __ASSUME_CLONE_THREAD_FLAGS.
341 2012-08-14 Andreas Jaeger <aj@suse.de>
343 * sysdeps/i386/fpu/libm-test-ulps: Update.
345 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
347 * include/atomic.h (atomic_exchange_and_add): Split into ...
348 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
351 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
355 2012-08-13 Jeff Law <law@redhat.com>
357 * manual/stdio.texi (snprintf): Clarify handling of the trailing
358 null byte in the output string.
360 2012-08-10 Joseph Myers <joseph@codesourcery.com>
362 * sysdeps/unix/sysv/linux/kernel-features.h
363 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
364 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
365 (__ASSUME_ARG_MAX_STACK_BASED): Define.
366 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
367 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
368 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
369 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
371 2012-08-09 Jeff Law <law@redhat.com>
374 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
375 When avoid_arena is set, don't retry in the that arena. Pick the
376 next one, whatever it might be.
377 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
378 (arena_lock): Pass in new parameter to arena_get2.
379 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
381 (__libc_malloc): Unify retrying after main arena failure with
382 __libc_memalign version.
383 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
385 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
388 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
389 to __redirect_strstr.
390 (__strstr_sse42): Use typeof __redirect_strstr.
391 (__strstr_ia32): Likewise.
392 (__libc_strstr): New prototype.
393 (strstr): Renamed to ...
394 (__libc_strstr): This.
395 (strstr): New strong alias of __libc_strstr.
396 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
397 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
400 (__libc_time): New prototype.
401 (time_ifunc): Replace time with __libc_time.
402 (time): New strong alias and hidden definition of __libc_time.
403 (__GI_time): Remove strong alias.
404 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
406 (memmove): Redefined to __redirect_memmove.
407 (__memmove_sse2): Use typeof __redirect_memmove.
408 (__memmove_ssse3): Likewise.
409 (__memmove_ssse3_back): Likewise.
410 (__libc_memmove): New prototype.
411 (memmove): Renamed to ...
412 (__libc_memmove): This.
413 (memmove): New strong alias of __libc_memmove.
415 2012-08-08 Mark Salter <msalter@redhat.com>
418 (R_MN10300_TLS_GD): Define.
419 (R_MN10300_TLS_LD): Likewise.
420 (R_MN10300_TLS_LDO): Likewise.
421 (R_MN10300_TLS_GOTIE): Likewise.
422 (R_MN10300_TLS_IE): Likewise.
423 (R_MN10300_TLS_LE): Likewise.
424 (R_MN10300_TLS_DTPMOD): Likewise.
425 (R_MN10300_TLS_DTPOFF): Likewise.
426 (R_MN10300_TLS_TPOFF): Likewise.
427 (R_MN10300_SYM_DIFF): Likewise.
428 (R_MN10300_ALIGN): Likewise.
429 (R_MN10300_NUM): Update.
431 2012-08-08 Joseph Myers <joseph@codesourcery.com>
433 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
436 2012-08-08 Roland McGrath <roland@hack.frob.com>
438 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
440 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
441 sysdeps/unix -> sysdeps/posix move.
442 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
444 2012-08-07 Allan McRae <allan@archlinux.org>
447 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
448 (SUNOS_CPP): Likewise.
449 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
451 (open_input): Call CPP using execvp.
453 2012-08-07 Joseph Myers <joseph@codesourcery.com>
455 * sysdeps/unix/sysv/linux/kernel-features.h
456 (__ASSUME_PROT_GROWSUPDOWN): Remove.
457 (__ASSUME_NO_CLONE_DETACHED): Likewise.
458 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
459 (__ASSUME_WAITID_SYSCALL): Likewise.
460 * sysdeps/unix/sysv/linux/dl-execstack.c
461 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
463 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
465 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
466 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
467 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
469 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
471 [__ASSUME_WAITID_SYSCALL]: Likewise.
472 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
474 2012-08-07 Roland McGrath <roland@hack.frob.com>
476 * sysdeps/unix/closedir.c: Renamed to ...
477 * sysdeps/posix/closedir.c: ... here.
478 * sysdeps/unix/dirfd.c: Renamed to ...
479 * sysdeps/posix/dirfd.c: ... here.
480 * sysdeps/unix/dirstream.h: Renamed to ...
481 * sysdeps/posix/dirstream.h: ... here.
482 * sysdeps/unix/fdopendir.c: Renamed to ...
483 * sysdeps/posix/fdopendir.c: ... here.
484 * sysdeps/unix/opendir.c: Renamed to ...
485 * sysdeps/posix/opendir.c: ... here.
486 * sysdeps/unix/readdir.c: Renamed to ...
487 * sysdeps/posix/readdir.c: ... here.
488 * sysdeps/unix/readdir_r.c: Renamed to ...
489 * sysdeps/posix/readdir_r.c: ... here.
490 * sysdeps/unix/rewinddir.c: Renamed to ...
491 * sysdeps/posix/rewinddir.c: ... here.
492 * sysdeps/unix/seekdir.c: Renamed to ...
493 * sysdeps/posix/seekdir.c: ... here.
494 * sysdeps/unix/telldir.c: Renamed to ...
495 * sysdeps/posix/telldir.c: ... here.
496 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
497 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
498 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
499 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
501 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
502 * bits/fcntl.h: ... here.
504 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
506 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
507 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
508 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
509 (struct flock): Move l_start, l_len to the beginning.
510 Use __pid_t for l_pid.
511 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
512 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
513 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
514 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
515 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
516 [__USE_LARGEFILE64] (struct flock64): New type.
517 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
519 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
520 * bits/dirent.h: ... here.
522 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
523 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
525 2012-08-07 Joseph Myers <joseph@codesourcery.com>
527 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
528 Change from 2.6.0 to 2.6.16.
529 * sysdeps/unix/sysv/linux/configure: Regenerated.
530 * sysdeps/unix/sysv/linux/kernel-features.h
531 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
532 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
534 (__ASSUME_UTIMES): Likewise.
535 (__ASSUME_CLONE_STOPPED): Remove.
536 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
537 architectures, not kernel version.
538 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
539 (__ASSUME_NO_CLONE_DETACHED): Likewise.
540 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
541 (__ASSUME_WAITID_SYSCALL): Likewise.
542 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
543 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
544 * README: State 2.6.16 as minimum Linux kernel version. Do not
545 refer to older versions.
547 2012-08-06 Roland McGrath <roland@hack.frob.com>
549 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
550 Define alphasort64 as an alias.
551 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
552 Define versionsort64 as an alias.
553 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
554 Define scandir64 as an alias.
555 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
556 Define scandirat64 as an alias.
557 * dirent/alphasort64.c (alphasort64):
558 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
559 * dirent/versionsort64.c: Likewise.
560 * dirent/scandir64.c: Likewise.
561 * dirent/scandirat64.c: Likewise.
562 * sysdeps/wordsize-64/alphasort.c: File removed.
563 * sysdeps/wordsize-64/alphasort64.c: File removed.
564 * sysdeps/wordsize-64/scandir.c: File removed.
565 * sysdeps/wordsize-64/scandir64.c: File removed.
566 * sysdeps/wordsize-64/scandirat.c: File removed.
567 * sysdeps/wordsize-64/scandirat64.c: File removed.
568 * sysdeps/wordsize-64/versionsort.c: File removed.
569 * sysdeps/wordsize-64/versionsort64.c: File removed.
570 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
571 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
572 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
573 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
574 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
575 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
576 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
577 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
579 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
581 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
583 [defined __arch64__ || defined __sparcv9]
584 (__INO_T_MATCHES_INO64_T): New macro.
585 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
586 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
587 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
588 * sysdeps/unix/sysv/linux/bits/dirent.h
589 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
590 (_DIRENT_MATCHES_DIRENT64): New macro.
592 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
593 Define lockf64 as an alias.
594 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
595 Define fseeko64 as an alias.
596 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
597 Define ftello64 as an alias.
598 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
599 Define _IO_fgetpos64 and fgetpos64 as aliases.
600 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
601 Define _IO_fsetpos64 and fsetpos64 as aliases.
602 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
603 Conditionalize body on this.
604 * libio/fseeko64.c: Likewise.
605 * libio/ftello64.c: Likewise.
606 * libio/iofgetpos64.c: Likewise.
607 * libio/iofsetpos64.c: Likewise.
608 * sysdeps/wordsize-64/lockf.c: File removed.
609 * sysdeps/wordsize-64/lockf64.c: File removed.
610 * sysdeps/wordsize-64/fseeko.c: File removed.
611 * sysdeps/wordsize-64/fseeko64.c: File removed.
612 * sysdeps/wordsize-64/ftello.c: File removed.
613 * sysdeps/wordsize-64/ftello64.c: File removed.
614 * sysdeps/wordsize-64/iofgetpos.c: File removed.
615 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
616 * sysdeps/wordsize-64/iofsetpos.c: File removed.
617 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
618 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
619 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
620 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
621 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
622 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
623 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
624 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
625 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
626 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
627 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
629 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
630 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
631 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
633 [defined __arch64__ || defined __sparcv9]
634 (__OFF_T_MATCHES_OFF64_T): New macro.
635 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
636 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
637 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
638 (__OFF_T_MATCHES_OFF64_T): New macro.
640 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
642 * stdlib/secure-getenv.c (__secure_getenv): Replace
643 GLIBC_2_16 with GLIBC_2_17.
645 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
647 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
648 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
650 2012-08-03 David S. Miller <davem@davemloft.net>
652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
654 2012-08-03 Joseph Myers <joseph@codesourcery.com>
656 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
658 (__ASSUME_CORRECT_SI_PID): Likewise.
659 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
660 (__ASSUME_TMPFS_NAME): Likewise.
661 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
662 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
663 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
664 (HAVE_AUX_SECURE): Make definition unconditional.
665 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
666 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
668 2012-08-03 Roland McGrath <roland@hack.frob.com>
670 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
671 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
672 * sysdeps/mach/hurd/eloop-threshold.h: New file.
673 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
674 __eloop_threshold instead of SYMLOOP_MAX.
676 * sysdeps/generic/eloop-threshold.h: New file.
677 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
679 * elf/chroot_canon.c (chroot_canon): Likewise.
681 2012-08-03 Joseph Myers <joseph@codesourcery.com>
684 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
685 Change to 2.6.0 everywhere.
686 * sysdeps/unix/sysv/linux/configure: Regenerated.
687 * sysdeps/unix/sysv/linux/kernel-features.h
688 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
689 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
691 (__ASSUME_POSIX_TIMERS): Define unconditionally.
692 (__ASSUME_FUTEX_REQUEUE): Remove.
693 (__ASSUME_STATFS64): Define unconditionally.
694 (__ASSUME_AT_SECURE): Likewise.
695 (__ASSUME_CORRECT_SI_PID): Likewise.
696 (__ASSUME_TGKILL): Define without depending on kernel version for
698 (__ASSUME_UTIMES): Likewise.
699 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
701 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
702 (__ASSUME_TMPFS_NAME): Likewise.
703 * README: Update reference to Linux kernel versions.
705 2012-08-02 Marek Polacek <polacek@redhat.com>
708 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
709 libc_cv_asm_type_prefix with %.
710 * configure: Regenerated.
711 * include/libc-symbols.h: Remove comment about
712 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
713 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
714 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
715 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
716 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
717 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
718 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
719 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
720 * elf/tst-unique2mod1.c: Likewise.
721 * elf/tst-unique1mod2.c: Likewise.
722 * elf/tst-unique1mod1.c: Likewise.
723 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
724 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
725 Replace ASM_TYPE_DIRECTIVE with .type.
726 * sysdeps/s390/s390-64/sysdep.h: Likewise.
727 * sysdeps/i386/sysdep.h: Likewise.
728 * sysdeps/x86_64/sysdep.h: Likewise.
729 * sysdeps/sh/sysdep.h: Likewise.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
731 Do not define ASM_TYPE_DIRECTIVE.
732 * sysdeps/powerpc/sysdep.h: Likewise.
733 * sysdeps/powerpc/powerpc32/sysdep.h:
734 Replace ASM_TYPE_DIRECTIVE with .type.
735 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
736 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
737 * sysdeps/i386/fpu/e_powf.S: Likewise.
738 * sysdeps/i386/fpu/e_expl.S: Likewise.
739 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
740 * sysdeps/i386/fpu/e_acosh.S: Likewise.
741 * sysdeps/i386/fpu/e_pow.S: Likewise.
742 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
743 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
744 * sysdeps/i386/fpu/s_expm1.S: Likewise.
745 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
746 * sysdeps/i386/fpu/e_log2.S: Likewise.
747 * sysdeps/i386/fpu/e_log2l.S: Likewise.
748 * sysdeps/i386/fpu/e_scalb.S: Likewise.
749 * sysdeps/i386/fpu/e_powl.S: Likewise.
750 * sysdeps/i386/fpu/e_log10f.S: Likewise.
751 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
752 * sysdeps/i386/fpu/e_logl.S: Likewise.
753 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
754 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
755 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
756 * sysdeps/i386/fpu/e_log2f.S: Likewise.
757 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
758 * sysdeps/i386/fpu/e_log.S: Likewise.
759 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
760 * sysdeps/i386/fpu/e_logf.S: Likewise.
761 * sysdeps/i386/fpu/e_log10l.S: Likewise.
762 * sysdeps/i386/fpu/e_atanh.S: Likewise.
763 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
764 * sysdeps/i386/fpu/e_log10.S: Likewise.
765 * sysdeps/i386/fpu/s_frexp.S: Likewise.
766 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
767 * sysdeps/i386/fpu/s_asinh.S: Likewise.
768 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
769 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
770 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
771 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
772 * sysdeps/i386/i686/strtok.S: Likewise.
773 * sysdeps/i386/i386-mcount.S: Likewise.
774 * sysdeps/i386/strtok.S: Likewise.
775 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
776 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
777 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
778 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
779 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
780 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
781 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
782 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
783 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
784 * sysdeps/x86_64/_mcount.S: Likewise.
785 * sysdeps/x86_64/strtok.S: Likewise.
786 * sysdeps/sh/_mcount.S: Likewise.
788 2012-08-01 Roland McGrath <roland@hack.frob.com>
790 * libio/iofopen.c: Include <fcntl.h>.
791 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
792 (_IO_fopen64, fopen64): Define as aliases.
793 * libio/iofopen64.c: Include <fcntl.h>.
794 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
795 Conditionalize body on this.
796 * sysdeps/wordsize-64/iofopen.c: File removed.
797 * sysdeps/wordsize-64/iofopen64.c: File removed.
799 2012-08-01 Marek Polacek <polacek@redhat.com>
801 * libc/Makeconfig: Use elf in place of binfmt-subdir.
802 Use dlfcn directly instead of a variable.
803 (binfmt-subdir): Do not define.
806 2012-08-01 Joseph Myers <joseph@codesourcery.com>
808 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
809 Remove all definitions.
810 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
812 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
813 (miss_F_GETOWN_EX): Remove all definitions.
814 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
816 [!__ASSUME_FCNTL64]: Remove conditional code.
817 [__ASSUME_FCNTL64]: Make code unconditional.
818 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
820 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
821 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
822 (lockf64) [__NR_fcntl64]: Make code unconditional.
823 (lockf64) [__ASSUME_FCNTL64]: Likewise.
825 * sysdeps/unix/sysv/linux/kernel-features.h
826 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
827 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
828 Make code unconditional.
829 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
830 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
832 [__NR_vfork]: Make code unconditional.
833 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
834 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
836 [__NR_vfork]: Make code unconditional.
837 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
838 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
840 2012-08-01 Roland McGrath <roland@hack.frob.com>
842 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
843 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
845 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
846 Define mkstemp64 as an alias.
847 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
848 Define mkstemps64 as an alias.
849 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
850 Define mkostemp64 as an alias.
851 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
852 Define mkostemps64 as an alias.
853 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
854 Conditionalize body on this.
855 * misc/mkostemp64.c: Likewise.
856 * misc/mkostemps64.c: Likewise.
857 * misc/mkstemps64.c: Likewise.
858 * sysdeps/wordsize-64/mkstemp64.c: File removed.
859 * sysdeps/wordsize-64/mkostemp64.c: File removed.
860 * sysdeps/wordsize-64/mkostemp.c: File removed.
861 * sysdeps/wordsize-64/mkstemp.c: File removed.
862 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
863 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
864 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
865 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
868 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
869 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
870 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
871 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
873 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
874 compat_symbol macros from <shlib-compat.h> rather than the underlying
875 default_symbol_version and symbol_version macros, so that DEFAULT
876 lines in shlib-versions are respected.
877 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
879 2012-08-01 Florian Weimer <fweimer@redhat.com>
881 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
882 Declare with warn_unused_result.
883 (setgid, setregid, setegid, setresgid): Likewise.
884 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
886 * WUR-REPORT: Remove set*id functions.
888 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
890 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
892 2012-07-31 Roland McGrath <roland@hack.frob.com>
894 * include/sys/socket.h (__libc_accept, __libc_accept4):
895 Add attribute_hidden.
896 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
898 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
900 * inet/getnetgrent_r.c (setup): Likewise.
902 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
904 2012-07-31 David S. Miller <davem@davemloft.net>
906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
908 2012-07-31 Joseph Myers <joseph@codesourcery.com>
911 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
912 value between 1.0 and 2.0 and smaller part has absolute value less
914 * math/s_clog10.c (__clog10): Likewise.
915 * math/s_clog10f.c (__clog10f): Likewise.
916 * math/s_clog10l.c (__clog10l): Likewise.
917 * math/s_clogf.c (__clogf): Likewise.
918 * math/s_clogl.c (__clogl): Likewise.
919 * math/libm-test.inc (clog_test): Add more tests.
920 (clog10_test): Likewise.
921 * sysdeps/i386/fpu/libm-test-ulps: Update.
922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
924 2012-07-31 Florian Weimer <fweimer@redhat.com>
926 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
927 Exit with zero in case no suitable GID is found, and write a
928 message to standard error.
930 2012-07-30 Roland McGrath <roland@hack.frob.com>
932 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
934 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
935 (MAXPATHLEN): Removed.
936 (NOGROUP, NODEV): New macros.
937 (setbit, clrbit, isset, isclr): New macros.
938 (howmany, roundup, powerof2): New macros.
939 (DEV_BSIZE): New macro.
941 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
942 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
944 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
945 definition on [!__NO_LONG_DOUBLE_MATH].
947 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
948 PTR_MANGLE and PTR_DEMANGLE.
950 * socket/accept4.c (accept4): Rename to __libc_accept4.
951 Define accept4 as a weak alias.
953 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
954 on [_DIRENT_HAVE_D_TYPE].
955 * io/ftw.c (ftw_dir): Likewise.
957 * io/xmknod.c (__xmknod): Don't check PATH for being null.
959 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
961 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
962 Use the BSD numbers rather than the arbitrary ones we had.
963 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
964 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
965 (SIGXCPU, SIGXFSZ): New macros.
968 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
969 initializer on [_LIBC_REENTRANT].
971 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
972 definitions inside [_POSIX_MAPPED_FILES].
974 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
976 * dirent/opendir.c: Include <fcntl.h>.
978 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
979 (__libc_getspecific): Likewise.
980 (__libc_key_create): Likewise.
982 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
983 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
984 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
985 (tmpfile64): Define as alias.
986 * sysdeps/wordsize-64/tmpfile.c: File removed.
987 * sysdeps/wordsize-64/tmpfile64.c: File removed.
988 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
989 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
991 * stdio-common/vfscanf.c: Include <stdbool.h>.
992 * nss/makedb.c: Likewise.
993 * stdio-common/_i18n_number.h: Likewise.
994 * argp/argp-help.c: Likewise.
995 * posix/wordexp.c: Likewise.
996 * sysdeps/posix/spawni.c: Likewise.
997 * nss/nss_files/files-initgroups.c: Likewise.
998 * stdio-common/reg-modifier.c: Include <stdlib.h>.
999 * nss/nss_files/files-initgroups.c: Likewise.
1000 * nss/nss_db/db-netgrp.c: Likewise.
1001 * nss/nss_db/db-initgroups.c: Likewise.
1002 * io/fchmodat.c: Include <sys/stat.h>.
1004 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1005 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1007 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1010 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1011 Add multiple inclusion protection.
1013 2012-07-27 David S. Miller <davem@davemloft.net>
1015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1017 2012-07-27 Gary Benson <gbenson@redhat.com>
1020 * elf/rtld.c: Include <stap-probe.h>.
1021 (dl_main): Added static probes "init_start" and "init_complete".
1022 * elf/dl-load.c: Include <stap-probe.h>.
1023 (lose): Take new parameter "nsid".
1024 Added static probe "map_failed".
1025 (_dl_map_object_from_fd): Pass namespace id to lose.
1026 Added static probe "map_start".
1027 (open_verify): Pass namespace id to lose.
1028 * elf/dl-open.c: Include <stap-probe.h>.
1029 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1030 and "reloc_complete".
1031 * elf/dl-close.c: Include <stap-probe.h>.
1032 (_dl_close_worker): Added static probes "unmap_start" and
1034 * elf/rtld-debugger-interface.txt: New file documenting the above.
1036 2012-07-26 Roland McGrath <roland@hack.frob.com>
1038 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1039 rather than a string variable.
1040 * sunrpc/rpc_main.c (h_output): Likewise.
1041 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1043 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1045 * inet/check_native.c: New file.
1047 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1050 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1051 if larger part has absolute value 1.0.
1052 * math/s_clog10.c (__clog10): Likewise.
1053 * math/s_clog10f.c (__clog10f): Likewise.
1054 * math/s_clog10l.c (__clog10l): Likewise.
1055 * math/s_clogf.c (__clogf): Likewise.
1056 * math/s_clogl.c (__clogl): Likewise.
1057 * math/libm-test.inc (clog_test): Add more tests.
1058 (clog10_test): Likewise.
1059 * sysdeps/i386/fpu/libm-test-ulps: Update.
1060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1062 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1063 (pltexit): Likewise.
1064 (La_regs): Likewise.
1065 (La_retval): Likewise.
1066 (int_retval): Likewise.
1067 Update #error for removed macros to refer only to definitions in
1069 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1071 (pltexit): Likewise.
1072 (La_regs): Likewise.
1073 (La_retval): Likewise.
1074 (int_retval): Likewise.
1075 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1077 (pltexit): Likewise.
1078 (La_regs): Likewise.
1079 (La_retval): Likewise.
1080 (int_retval): Likewise.
1081 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1083 (pltexit): Likewise.
1084 (La_regs): Likewise.
1085 (La_retval): Likewise.
1086 (int_retval): Likewise.
1087 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1089 (pltexit): Likewise.
1090 (La_regs): Likewise.
1091 (La_retval): Likewise.
1092 (int_retval): Likewise.
1093 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1095 (pltexit): Likewise.
1096 (La_regs): Likewise.
1097 (La_retval): Likewise.
1098 (int_retval): Likewise.
1099 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1101 (pltexit): Likewise.
1102 (La_regs): Likewise.
1103 (La_retval): Likewise.
1104 (int_retval): Likewise.
1105 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1106 macro definitions in tst-audit.h.
1107 * sysdeps/i386/tst-audit.h: New file.
1108 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1109 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1110 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1111 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1112 * sysdeps/sh/tst-audit.h: Likewise.
1113 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1114 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1115 * sysdeps/x86_64/tst-audit.h: Likewise.
1117 2012-07-26 Andreas Jaeger <aj@suse.de>
1119 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1122 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1123 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1124 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1126 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1127 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1128 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1130 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1133 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1135 (si_call_addr, si_syscall, si_arch): Define new macro.
1136 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1138 (si_call_addr, si_syscall, si_arch): Define new marcro.
1139 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1141 (si_call_addr, si_syscall, si_arch): Define new macro.
1142 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1144 (si_call_addr, si_syscall, si_arch): Define new macro.
1146 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1149 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1150 Change to 2.4.21 where previously 2.4.1.
1151 * sysdeps/unix/sysv/linux/configure: Regenerated.
1152 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1153 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1154 Linux kernel version.
1155 (__ASSUME_STD_AUXV): Remove.
1156 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1158 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1159 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1160 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1161 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1162 (__ASSUME_NETLINK_SUPPORT): Likewise.
1163 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1164 (__no_netlink_support): Remove conditional definition.
1165 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1167 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1168 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1169 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1170 (if_nameindex_ioctl): Remove.
1171 (if_nameindex_netlink): Do not handle __no_netlink_support.
1172 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1174 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1175 Remove conditional code.
1176 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1178 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1180 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1181 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1182 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1184 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1185 [!__ASSUME_STD_AUXV]: Remove conditional code.
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1187 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1188 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1190 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1191 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1193 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1195 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1196 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1198 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1200 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1203 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1206 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1208 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1210 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1212 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1215 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1217 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1220 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1222 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1224 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1226 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1229 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1231 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1233 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1235 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1238 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1240 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1241 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1242 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1243 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1244 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1245 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1246 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1247 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1248 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1249 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1250 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1251 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1252 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1253 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1254 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1255 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1256 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1257 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1258 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1260 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1261 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1262 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1264 2012-07-25 Florian Weimer <fweimer@redhat.com>
1266 * Versions.def: Add GLIBC_2.17.
1267 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1268 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1269 Introduce __libc_secure_getenv.
1270 * stdlib/Versions (2.17): Add secure_getenv
1271 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1272 * stdlib/secure-getenv.c: Rename __secure_getenv to
1273 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1274 symbol __secure_getenv for GLIBC_2.0.
1275 * stdlib/tst-secure-getenv.c: New.
1276 * stdlib/Makefile (tests): Add testcase.
1277 * manual/startup.texi (Environment Access): Document
1279 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1280 __libc_secure_getenv.
1281 * inet/ruserpass.c (ruserpass): Likewise.
1282 * malloc/mtrace.c (mtrace): Likewise.
1283 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1284 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1285 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1286 * sysdeps/posix/tempname.c: Likewise. Evaluate
1288 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1289 __secure_getenv to __libc_secure_getenv.
1290 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1297 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1303 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1305 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1306 (struct La_i86_retval): Likewise.
1307 (struct La_x86_64_regs): Likewise.
1308 (struct La_x86_64_retval): Likewise.
1309 (struct La_x32_regs): Likewise.
1310 (struct La_x32_retval): Likewise.
1311 (struct La_ppc32_regs): Likewise.
1312 (struct La_ppc32_retval): Likewise.
1313 (struct La_ppc64_regs): Likewise.
1314 (struct La_ppc64_retval): Likewise.
1315 (struct La_sh_regs): Likewise.
1316 (struct La_sh_retval): Likewise.
1317 (struct La_s390_32_regs): Likewise.
1318 (struct La_s390_32_retval): Likewise.
1319 (struct La_s390_64_regs): Likewise.
1320 (struct La_s390_64_retval): Likewise.
1321 (struct La_sparc32_regs): Likewise.
1322 (struct La_sparc32_retval): Likewise.
1323 (struct La_sparc64_regs): Likewise.
1324 (struct La_sparc64_retval): Likewise.
1325 (struct audit_ifaces): Remove architecture-specific pltenter and
1327 * sysdeps/i386/ldsodefs.h: New file.
1328 * sysdeps/powerpc/ldsodefs.h: Likewise.
1329 * sysdeps/s390/ldsodefs.h: Likewise.
1330 * sysdeps/sh/ldsodefs.h: Likewise.
1331 * sysdeps/sparc/ldsodefs.h: Likewise.
1332 * sysdeps/x86_64/ldsodefs.h: Likewise.
1334 2012-07-25 Marek Polacek <polacek@redhat.com>
1337 * math/libm-test.inc (yn_test): Add another test.
1338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1339 to ERANGE when the result is +-Inf.
1340 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1341 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1342 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1343 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1345 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1347 * conform/data/time.h-data (NULL): Use macro-constant. Require
1349 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1351 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1353 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1355 * configure.in <sysdeps resolving>: Correct printing
1357 * configure: Regenerate.
1359 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1361 * math/w_ilogb.c: Include <limits.h>.
1362 * math/w_ilogbl.c: Likewise.
1364 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1366 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1367 va_copy. Document allowing for unavailable va_copy only as
1368 pre-C99 compatibility.
1369 * manual/string.texi (Copying and Concatenation): Use va_copy
1370 instead of __va_copy in concat example.
1372 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1374 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1375 (__sendto): Use create_address_port. Initialize APORT and deallocate
1378 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1379 with O_NOLINK passed to __file_name_lookup.
1381 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1382 with O_NOLINK passed to __file_name_lookup.
1384 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1385 negative N or less than NGIDS.
1387 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1388 type to string_t. Set ERANGE as errno and return it if NAME is not big
1389 enough. Use memcpy instead of strncpy.
1391 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1393 * elf/Makefile (check-data): Remove.
1394 (localplt.data): New vpath directive.
1395 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1396 instead of $(check-data).
1397 * scripts/data/localplt-generic.data: Move to ...
1398 * sysdeps/generic/localplt.data: ... here.
1399 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1400 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1401 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1404 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1407 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1410 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1413 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1416 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1420 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1422 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1423 PPC32 and PPC64 files.
1424 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1425 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1427 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1429 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1430 __makecontext_ret to ...
1431 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1432 ... here and call exit if uc_link is NULL. New file.
1433 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1434 __makecontext_ret.S.
1435 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1436 __makecontext_ret to ...
1437 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1438 ... here and call exit if uc_link is NULL. New file.
1439 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1440 __makecontext_ret.S.
1442 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1444 * elf/elf.h (R_390_IRELATIVE): New definition.
1445 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1446 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1447 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1448 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1449 (elf_machine_lazy_rel): Likewise.
1450 * sysdeps/s390/dl-irel.h: New file.
1451 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1452 * sysdeps/s390/s390-64/memset.S: New asm code.
1453 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1454 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1455 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1456 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1457 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1458 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1459 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1460 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1461 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1462 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1463 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1464 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1465 * sysdeps/s390/s390-32/memset.S: New asm code.
1466 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1468 2012-07-17 Marek Polacek <polacek@redhat.com>
1471 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1472 * sysdeps/s390/s390-64/configure.in: Likewise.
1473 * sysdeps/sparc/configure.in: Likewise.
1474 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1475 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1476 * sysdeps/i386/configure.in: Likewise.
1477 * sysdeps/x86_64/configure.in: Likewise.
1478 * sysdeps/sh/configure.in: Likewise.
1479 * sysdeps/s390/s390-32/configure: Regenerated.
1480 * sysdeps/s390/s390-64/configure: Likewise.
1481 * sysdeps/x86_64/configure: Likewise.
1482 * sysdeps/sh/configure: Likewise.
1483 * sysdeps/powerpc/powerpc64/configure: Likewise.
1484 * sysdeps/powerpc/powerpc32/configure: Likewise.
1485 * sysdeps/sparc/configure: Likwise.
1486 * sysdeps/i386/configure: Likewise.
1488 * elf/dl-open.c: Comment fixes.
1490 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1492 * Makefile [CXX] (check-data): Remove.
1493 [CXX] (c++-types.data): New vpath directive.
1494 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1495 vpath. Do not allow for C++ type data being missing.
1496 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1497 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1498 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1499 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1500 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1501 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1502 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1505 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1508 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1511 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1514 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1517 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1520 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1523 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1526 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1527 definitions to architecture-specific files.
1531 * sysdeps/i386/tls-macros.h: New file.
1532 * sysdeps/powerpc/tls-macros.h: Likewise.
1533 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1534 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1535 * sysdeps/sh/tls-macros.h: Likewise.
1536 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1537 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1538 * sysdeps/x86_64/tls-macros.h: Likewise.
1540 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1542 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1543 zero value for regular exit case.
1545 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1546 (__start_context): Preserve zero value for regular exit case.
1548 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1549 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1551 * manual/setjmp.texi (setcontext): Clarify normal process
1552 termination when uc_link is the null pointer.
1553 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1556 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1558 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1559 preprocessor. Test for each exception mask separately.
1561 2012-07-16 Andreas Jaeger <aj@suse.de>
1563 * po/ru.po: Update from translation team.
1565 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1567 * conform/data/string.h-data (NULL): Use macro-constant. Require
1569 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1570 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1571 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1572 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1573 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1575 2012-07-13 Andreas Jaeger <aj@suse.de>
1577 * po/fr.po: Update from translation team.
1579 2012-07-12 Marek Polacek <polacek@redhat.com>
1582 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1583 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1586 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1589 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1590 Change to 2.4.1 where previously 2.4.0.
1591 * sysdeps/unix/sysv/linux/configure: Regenerated.
1592 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1593 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1595 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1596 (__ASSUME_AT_CLKTCK): Remove.
1597 (__ASSUME_AT_PAGESIZE): Likewise.
1598 (__ASSUME_AT_XID): Likewise.
1599 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1600 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1601 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1603 (HAVE_AUX_PAGESIZE): Likewise.
1604 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1605 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1606 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1608 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1612 the temporary buffer used to invoke __gethostbyname2_r,
1613 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1614 host_data / struct gaih_addrtuple.
1615 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1616 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1617 header file nss/nsswitch.h.
1618 * nss/nsswitch.h (global scope): Add definition of implementation
1619 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1620 resolv/nss_dns/dns-host.c).
1622 2012-07-11 Andreas Jaeger <aj@suse.de>
1624 * po/fr.po: Update from translation team.
1626 * po/sv.po: Update from translation team
1627 * po/fr.po: Another update from translation team.
1629 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1631 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1632 for subnormals or multiply small sinh result by itself.
1633 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1636 2012-07-11 David S. Miller <davem@davemloft.net>
1638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1640 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1643 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1644 (INTERNAL_MARK): Shift it here.
1646 2012-07-10 Marek Polacek <polacek@redhat.com>
1649 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1650 libc_cv_asm_global_directive with .globl.
1651 * configure: Regenerated.
1652 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1654 * sysdeps/i386/configure: Regenerated.
1655 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1657 * sysdeps/x86_64/configure: Regenerated.
1658 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1659 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1660 * elf/tst-unique2mod2.c: Likewise.
1661 * elf/tst-unique2mod1.c: Likewise.
1662 * elf/tst-unique1mod2.c: Likewise.
1663 * elf/tst-unique1mod1.c: Likewise.
1664 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1665 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1666 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1667 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1668 * sysdeps/mach/sysdep.h: Likewise.
1669 * sysdeps/i386/sysdep.h: Likewise.
1670 * sysdeps/i386/i386-mcount.S: Likewise.
1671 * sysdeps/x86_64/_mcount.S: Likewise.
1672 * sysdeps/x86_64/sysdep.h: Likewise.
1673 * sysdeps/sh/_mcount.S: Likewise.
1674 * sysdeps/sh/sysdep.h: Likewise.
1675 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1676 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1677 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1678 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1679 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1680 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1681 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1682 * locale/localeinfo.h: Likewise.
1683 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1684 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1686 2012-07-09 Roland McGrath <roland@hack.frob.com>
1689 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1691 * manual/message.texi (The Uniforum approach): Likewise.
1692 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1693 (glibc iconv Implementation): Likewise.
1695 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1698 * math/s_clog.c (__clog): Avoid scaling a value down where that
1699 could result in underflow.
1700 * math/s_clog10.c (__clog10): Likewise.
1701 * math/s_clog10f.c (__clog10f): Likewise.
1702 * math/s_clog10l.c (__clog10l): Likewise.
1703 * math/s_clogf.c (__clogf): Likewise.
1704 * math/s_clogl.c (__clogl): Likewise.
1705 * math/libm-test.inc (clog_test): Add more tests.
1706 (clog10_test): Likewise.
1707 * sysdeps/i386/fpu/libm-test-ulps: Update.
1708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1710 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1713 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1714 by 7 not 8 to examine high bit of fractional part.
1717 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1718 for call to __mcount_internal.
1719 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1720 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1721 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1723 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1726 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1727 approximation for values within 0x1p-13f of an odd multiple of
1729 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1730 exception. Add more tests.
1731 * sysdeps/i386/fpu/libm-test-ulps: Update.
1734 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1735 inputs and return -1 for them. Do not check for +Inf in case not
1737 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1738 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1739 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1740 and return -1 for them. Do not check for +Inf in case not
1742 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1744 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1745 and return -1 for them. Do not check for +Inf in case not
1747 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1749 * sysdeps/i386/fpu/libm-test-ulps: Update.
1750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1752 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1754 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1756 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1760 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1761 could result in spurious underflow. Scale down values above
1762 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1763 * math/s_csqrtf.c (__csqrtf): Likewise.
1764 * math/s_csqrtl.c (__csqrtl): Likewise.
1765 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1770 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1772 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1774 * catgets/xopen-msg.awk: New file.
1775 * catgets/xopen-msg.sed: Removed.
1777 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1779 * intl/po2test.awk: New file.
1780 * intl/po2test.sed: Removed.
1782 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1785 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1786 or multiply small sinh result by itself.
1787 * math/s_ctanf.c (__ctanf): Likewise.
1788 * math/s_ctanh.c (__ctanh): Likewise.
1789 * math/s_ctanhf.c (__ctanhf): Likewise.
1790 * math/s_ctanhl.c (__ctanhl): Likewise.
1791 * math/s_ctanl.c (__ctanl): Likewise.
1792 * math/libm-test.inc (ctan_test_tonearest): New function.
1793 (ctan_test_towardzero): Likewise.
1794 (ctan_test_downward): Likewise.
1795 (ctan_test_upward): Likewise.
1796 (ctanh_test_tonearest): Likewise.
1797 (ctanh_test_towardzero): Likewise.
1798 (ctanh_test_downward): Likewise.
1799 (ctanh_test_upward): Likewise.
1800 (main): Call these new functions.
1801 * sysdeps/i386/fpu/libm-test-ulps: Update.
1802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1804 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1806 * .gitignore: Delete /ports entry.
1808 2012-07-03 Andreas Jaeger <aj@suse.de>
1810 * po/bg.po: Update from translation team.
1811 * po/cs.po: Likewise.
1812 * po/de.po: Likewise.
1813 * po/hr.po: Likewise.
1814 * po/nl.pl: Likewise.
1815 * po/pl.po: Likewise.
1816 * po/vi.po: Likewise.
1818 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1820 * Makeconfig [!+link] (+link-before-libc): New variable.
1821 [!+link] (+link-after-libc): Likewise.
1822 [!+link] (+link-tests): Likewise.
1823 [!+link] (+link): Define in terms of $(+link-before-libc) and
1824 $(+link-after-libc).
1825 [!+link-static] (+link-static-before-libc): New variable.
1826 [!+link-static] (+link-static-after-libc): Likewise.
1827 [!+link-static] (+link-static-tests): Likewise.
1828 [!+link-static] (+link-static): Define in terms of
1829 $(+link-static-before-libc) and $(+link-static-after-libc).
1830 [build-shared] (link-libc-before-gnulib): New variable.
1831 [build-shared] (link-libc-tests): Likewise.
1832 [build-shared] (link-libc): Define in terms of
1833 $(link-libc-before-gnulib).
1834 [!build-shared] (link-libc-tests): New variable.
1835 (link-libc-static-tests): New variable.
1836 [!gnulib] (gnulib-arch): New variable.
1837 [!gnulib] (gnulib-tests): Likewise.
1838 [!gnulib] (static-gnulib-arch): Likewise.
1839 [!gnulib] (static-gnulib-tests): Likewise.
1840 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1841 Define with "=" instead of ":=".
1842 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1843 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1844 * Rules (binaries-all-notests): New variable.
1845 (binaries-all-tests): Likewise.
1846 (binaries-static-notests): Likewise.
1847 (binaries-static-tests): Likewise.
1848 (binaries-all): Define using $(binaries-all-notests) and
1849 $(binaries-all-tests).
1850 (binaries-static): Define using $(binaries-static-notests) and
1851 $(binaries-static-tests).
1852 (binaries-shared-tests): New variable.
1853 (binaries-shared-notests): Likewise.
1854 (binaries-shared): Remove variable.
1855 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1856 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1857 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1858 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1859 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1860 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1861 * elf/Makefile (sln-modules): New variable.
1862 (extra-objs): Add $(sln-modules:=.o).
1863 (ldconfig-modules): Add static-stubs.
1864 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1865 * elf/static-stubs.c: New file.
1868 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1869 by 7 not 8 to examine high bit of fractional part. Use volatile
1870 variables when splitting into final array of floats if
1871 __FLT_EVAL_METHOD__ != 0.
1872 * math/libm-test.inc (cos_test): Add another test.
1873 (sin_test): Likewise.
1874 * sysdeps/i386/fpu/libm-test-ulps: Update.
1877 * math/libm-test.inc (cosh_test): Add more tests.
1879 * version.h (RELEASE): Set to "development".
1880 (VERSION): Set to "2.16.90".
1882 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1884 * NEWS: Update copyright. Remove last-updated date.
1885 Mention math library bug fixes and timezone data changes.
1886 * README: Mention GNU/Hurd, x32, and HPPA support status.
1888 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1890 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1892 2012-06-27 Andreas Jaeger <aj@suse.de>
1894 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1896 2012-06-25 Andreas Jaeger <aj@suse.de>
1898 * sysdeps/s390/fpu/libm-test-ulps: Update.
1900 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1901 Thomas Schwinge <thomas@codesourcery.com>
1903 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1904 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1905 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1908 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1910 * sysdeps/mach/start.c: Remove file.
1911 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1912 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1913 * sysdeps/sh/init-first.c: Likewise.
1915 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1916 registers for frame unwinding purposes, add CFI directives.
1917 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1918 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1919 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1922 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1923 __fortify_fail returning.
1924 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1926 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1927 sysdeps/sh/____longjmp_chk.S.
1928 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1929 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1930 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1931 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1933 * sysdeps/sh/abort-instr.h: New file.
1934 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1935 process in case exit returns.
1937 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1938 initialize the GOT register before use.
1940 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1941 calculation of ARGC > 4.
1943 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1944 meaningful names to some local labels.
1946 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1947 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1949 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1950 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1951 (__arch_compare_and_exchange_val_16_acq): Likewise.
1952 (__arch_compare_and_exchange_val_32_acq): Likewise.
1953 (atomic_exchange_and_add): Fix gUSA sequence.
1954 (atomic_add): Likewise.
1955 (atomic_add_negative): Likewise.
1956 (atomic_add_zero): Likewise.
1957 (atomic_bit_test_set): Likewise.
1959 2012-06-22 Andreas Schwab <schwab@redhat.com>
1962 * include/link.h (struct link_map): Add l_free_initfini.
1963 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1965 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1966 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1967 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1970 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1972 * configure.in: Use AC_LANG_SOURCE.
1973 * configure: Regenerate.
1975 2012-06-22 Roland McGrath <roland@hack.frob.com>
1977 * configure.in (libc_cv_localstatedir): New substituted variable.
1978 * configure: Regenerated.
1979 * config.make.in (localstatedir): New variable, substituted from
1980 libc_cv_localstatedir.
1981 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1982 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1983 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1984 * sysdeps/gnu/configure: Regenerated.
1986 2012-06-21 Jeff Law <law@redhat.com>
1989 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1990 free. Simplify list management for _LIBC case.
1992 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1995 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1996 Clear sign bit of 64-bit integer value before comparing against
1999 * sysdeps/mach/configure: Regenerated.
2001 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2004 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2006 2012-06-21 Jeff Law <law@redhat.com>
2009 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2010 uint16_t for elements in the "seen" array to avoid char overflows.
2011 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2012 * elf/dl-open.c (dl_open_worker): Likewise.
2014 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2016 * scripts/list-sources.sh: Scan PORTS for translations.
2017 * po/libc.pot: Regenerated.
2019 2012-06-21 Andreas Jaeger <aj@suse.de>
2022 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2024 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2025 * bits/byteswap-16.h (__bswap_16): Likewise.
2026 * bits/byteswap.h (__bswap_constant_16): Likewise.
2028 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2031 * sysdeps/i386/fpu_control.h: Removed.
2032 * sysdeps/x86_64/fpu_control.h: Moved to ...
2033 * sysdeps/x86/fpu_control.h: Here.
2035 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2036 (_FPU_SETCW): Likewise.
2038 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2041 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2042 * sysdeps/x86/fpu/bits/mathinline.h: This.
2043 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2047 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2048 functions if __x86_64__ is defined.
2050 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2052 * string/endian.h: Add !__ASSEMBLER__ condition for including
2053 conversion interfaces.
2055 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2059 of ABS(x) in calculating zero to negative powers other than odd
2061 * math/libm-test.inc (pow_test): Add more tests.
2063 2012-06-15 Andreas Jaeger <aj@suse.de>
2065 * manual/contrib.texi (Contributors): Update entry of Liubov
2066 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2069 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2071 * string/string.h: Add __wur to GNU version of strerror_r.
2073 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2076 * string/Makefile (tests): Add tst-strtok_r.
2077 * string/tst-strtok_r.c: New file.
2078 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2079 RAX_LP/RDX_LP on SAVE_PTR.
2081 2012-06-14 Roland McGrath <roland@hack.frob.com>
2083 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2085 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2087 * libm_test.inc (csqrt_test): Allow more spurious underflow
2089 (j0_test): Likewise.
2090 (j1_test): Likewise.
2091 (y0_test): Likewise.
2092 (y1_test): Likewise.
2094 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2096 * po/Makefile (libc.pot): Use UTF-8 charset.
2098 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2101 Suppress sign-conversion warning from FD_SET.
2102 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2103 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2104 not unsigned long int.
2105 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2107 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2111 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2112 __extern_always_inline instead of __extern_inline.
2113 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2114 (__signbit): Likewise.
2115 (__signbitl): Support C++ namespace.
2116 (lrintf): New inline function.
2118 (llrintf): Likewise.
2130 (nearbyint): Likewise.
2131 (nearbyintf): Likewise.
2133 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2135 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2136 non-default versions.
2138 2012-06-11 Roland McGrath <roland@hack.frob.com>
2141 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2143 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2145 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2146 (FE_UPWARD, FE_DOWNWARD): Don't define.
2147 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2148 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2150 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2152 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2153 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2155 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2157 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2158 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2159 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2160 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2162 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2165 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2166 * sysdeps/i386/fpu/Implies: New file.
2167 * sysdeps/x86_64/fpu/Implies: Likewise.
2168 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2169 * sysdeps/x86/fpu/bits/fenv.h: This.
2171 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2174 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2177 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2178 character 0xffff that matches the last element of the
2181 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2183 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2186 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2189 values higher than 25.6283.
2191 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2193 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2194 subnormal exponent extraction and add some __builtin_expect.
2195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2196 Fix for subnormal mantissa calculation.
2198 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2200 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2201 cpu2 is -1 and errno is not ENOSYS.
2203 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2206 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2207 * sysdeps/x86/bits/string.h: This.
2208 * sysdeps/x86_64/bits/string.h: Removed.
2210 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2211 if not compiling for x86-64, but compiling for >= i486.
2213 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2214 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2216 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2217 New macro from Linux kernel 3.4.0.
2218 (FP_XSTATE_MAGIC2): Likewise.
2219 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2220 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2221 (struct _fpx_sw_bytes): New struct.
2222 (struct _xsave_hdr): Likewise.
2223 (struct _ymmh_state): Likewise.
2224 (struct _xstate): Likewise.
2226 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2227 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2228 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2229 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2230 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2231 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2233 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2234 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2235 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2236 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2237 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2238 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2240 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2243 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2244 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2245 (sysdep_headers): Include sys/platform/ppc.h.
2246 * sysdeps/powerpc/test-gettimebase.c: Test for
2247 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2248 * manual/Makefile (appendices): Include platform.texi.
2249 * manual/contrib.texi (Contributors): Update @node pointers.
2250 * manual/maint.texi (Maintenance): Likewise.
2251 (Platform): New node.
2252 * manual/platform.texi: New file. Document the new features.
2254 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2255 Jakub Jelinek <jakub@redhat.com>
2258 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2259 where __builtin_expect is unavailable.
2261 2012-06-03 David S. Miller <davem@davemloft.net>
2263 * stdlib/longlong.h: Updated from GCC.
2265 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2268 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2269 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2272 (GLIBC_2.16): Likewise.
2274 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2276 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2278 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2281 (default-abi): New variable.
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2283 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2285 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2287 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2289 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2292 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2293 definition. Document in comment.
2295 2012-06-01 David S. Miller <davem@davemloft.net>
2297 * stdlib/longlong.h: Updated from GCC.
2299 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2302 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2303 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2304 sys/debugreg.h sys/io.h here.
2305 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2306 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2308 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2309 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2310 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2311 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2312 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2313 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2316 Define only if __x86_64__ is defined.
2318 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2321 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2322 Use int64_t for variable i.
2323 * math/libm-test.inc (fmod_test): Add more tests.
2325 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2326 z computation is not scheduled after fetestexcept.
2327 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2328 Use math_force_eval instead of asm to ensure calculation scheduled
2329 before exception test.
2330 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2331 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2333 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2336 computation is not scheduled after fetestexcept.
2338 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2341 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2342 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2344 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2346 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2347 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2349 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2352 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2354 (__WCHAR_MIN): Support __WORDSIZE == 64.
2355 (__WCHAR_MAX): Likewise.
2357 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2358 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2361 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2362 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2365 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2366 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2368 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2369 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2371 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2372 Defined to 1 if __x86_64__ isn't defined.
2373 (_STAT_VER_LINUX_OLD): New.
2374 (st_atime): Remove duplicate.
2375 (st_mtime): Likewise.
2376 (st_ctime): Likewise.
2378 2012-05-31 David S. Miller <davem@davemloft.net>
2380 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2383 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2385 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2389 * elf/dl-reloc.c: Include <_itoa.h>.
2390 (_dl_reloc_bad_type): Remove use of INTUSE.
2391 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2392 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2393 * stdio-common/psiginfo.c (psiginfo): Likewise.
2394 * stdio-common/psignal.c (psignal): Likewise.
2395 * string/strsignal.c (strsignal): Likewise.
2396 * include/signal.h (_sys_siglist): Declare hidden proto.
2397 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2398 INTVARDEF with libc_hidden_data_def.
2399 * stdio-common/itoa-udigits.c: Likewise.
2400 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2401 (_itoa_lower_digits_internal): Remove declaration.
2402 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2403 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2404 (_sys_sigabbrev_internal): Remove aliases.
2405 (_sys_siglist): Define hidden alias.
2407 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2412 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2415 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2416 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2418 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2419 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2420 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2421 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2422 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2423 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2425 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2426 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2427 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2429 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2437 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2438 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2439 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2441 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2442 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2443 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2444 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2445 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2446 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2448 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2449 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2451 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2452 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2454 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2455 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2456 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2458 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2459 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2461 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2463 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2464 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2465 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2467 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2469 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2471 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2473 * math/math.h (M_El): Use two more decimal places.
2474 (M_LOG2El): Likewise.
2475 (M_LOG10El): Likewise.
2477 (M_LN10l): Likewise.
2479 (M_PI_2l): Likewise.
2480 (M_PI_4l): Likewise.
2481 (M_1_PIl): Likewise.
2482 (M_2_PIl): Likewise.
2483 (M_2_SQRTPIl): Likewise.
2484 (M_SQRT2l): Likewise.
2485 (M_SQRT1_2l): Likewise.
2487 2012-05-31 David S. Miller <davem@davemloft.net>
2489 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2490 values between float registers.
2491 * sysdeps/sparc/sparc64/memset.S: Likewise.
2492 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2494 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2496 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2497 -D_FORTIFY_SOURCE=1.
2498 (CPPFLAGS-tst-longjmp_chk.c): Define.
2499 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2500 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2501 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2502 CFLAGS-tst-wchar-h.c.
2504 2012-05-31 Marek Polacek <polacek@redhat.com>
2507 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2508 __endmntent_internal): Remove declaration.
2509 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2510 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2511 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2513 2012-05-30 David S. Miller <davem@davemloft.net>
2515 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2516 (___Q_simulate_exceptions): Use real FP ops rather than writing
2518 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2521 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2524 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2525 * sysdeps/x86/bits/xtitypes.h: This.
2527 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2528 * sysdeps/x86/bits/wordsize.h: This.
2530 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2531 * sysdeps/x86/bits/huge_vall.h: This.
2533 * sysdeps/i386/bits/select.h: Removed.
2534 * sysdeps/x86_64/bits/select.h: Renamed to ...
2535 * sysdeps/x86/bits/select.h: This.
2537 * sysdeps/i386/bits/setjmp.h: Removed.
2538 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2539 * sysdeps/x86/bits/setjmp.h: This.
2541 * sysdeps/i386/bits/mathdef.h: Removed.
2542 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2543 * sysdeps/x86/bits/mathdef.h: This.
2545 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2548 * include/sys/socket.h (__connect_internal)
2549 (__libc_sa_len_internal): Remove declaration.
2550 (__connect, __libc_sa_len): Declare hidden_proto.
2551 (SA_LEN): Remove use of INTUSE.
2552 * socket/connect.c: Add libc_hidden_def.
2553 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2554 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2555 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2557 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2558 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2559 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2560 of adding _internal alias.
2562 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2565 * sysdeps/i386/bits/link.h: Removed.
2566 * sysdeps/i386/bits/linkmap.h: Likewise.
2567 * sysdeps/x86_64/bits/link.h: Renamed to ...
2568 * sysdeps/x86/bits/link.h: This.
2569 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2570 * sysdeps/x86/bits/linkmap.h: This.
2572 * sysdeps/i386/bits/endian.h: Removed.
2573 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2574 * sysdeps/x86/bits/endian.h: This.
2576 * sysdeps/i386/bits/byteswap.h: Removed.
2577 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2578 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2579 * sysdeps/x86/bits/byteswap.h: This.
2580 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2581 * sysdeps/x86/bits/byteswap-16.h: This.
2582 * sysdeps/i386/Implies: Add x86.
2583 * sysdeps/x86_64/Implies: Likewise.
2585 2012-05-30 David S. Miller <davem@davemloft.net>
2587 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2588 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2589 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2590 (FP_TRAPPING_EXCEPTIONS): Define.
2591 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2592 (FP_TRAPPING_EXCEPTIONS): Define.
2593 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2594 subnormals only when inexact has been signalled or underflow
2595 exceptions are enabled.
2596 (_FP_PACK_CANONICAL): Likewise.
2598 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2601 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2602 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2604 2012-05-30 Richard Henderson <rth@twiddle.net>
2606 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2607 with #ifndef NOT_IN_libc.
2609 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2610 marked to avoid plt entry.
2612 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2615 * Makeconfig (default-abi): New macro.
2616 (abi-includes): Likewise.
2617 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2618 $(abi-$(default-abi)-lib-soname) for soname if defined.
2619 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2621 * Makefile (installed-stubs): Likewise.
2622 * include/stubs-biarch.h: Removed.
2623 * scripts/lib-names.awk: Only handle one library at a time.
2624 * scripts/soversions.awk: Remove WORDSIZE support.
2625 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2627 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2629 (syscall-list-default-condition): Likewise.
2630 (syscall-list-default-condition): Likewise.
2631 (syscall-list-includes): Likewise.
2632 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2633 syscall-list-* with abi-*. Handle undefined abi-variants.
2634 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2635 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2636 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2637 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2638 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2639 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2641 (syscall-list-32-options): Likewise.
2642 (syscall-list-32-condition): Likewise.
2643 (syscall-list-64-options): Likewise.
2644 (syscall-list-64-condition): Likewise.
2645 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2647 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2650 (abi-64-ld-soname): New macro.
2651 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2652 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2655 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2656 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2658 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2660 * sysdeps/unix/sysv/linux/kernel-features.h
2661 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2662 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2663 include <kernel-features.h>.
2664 [!__NR_ftruncate64]: Remove conditional code.
2665 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2666 [__NR_ftruncate64]: Make code unconditional.
2667 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2668 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2669 include <kernel-features.h>.
2670 [!__NR_ftruncate64]: Remove conditional code.
2671 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2672 [__NR_ftruncate64]: Make code unconditional.
2673 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2675 include <kernel-features.h>.
2676 [!__NR_ftruncate64]: Remove conditional code.
2677 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2678 [__NR_ftruncate64]: Make code unconditional.
2679 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2681 include <kernel-features.h>.
2682 [!__NR_ftruncate64]: Remove conditional code.
2683 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2684 [__NR_ftruncate64]: Make code unconditional.
2685 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2687 * configure.in (libc_cv_fpie): Weaken to a compile test using
2689 * configure: Regenerated.
2691 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2706 2012-05-27 David S. Miller <davem@davemloft.net>
2708 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2710 (__Q_simulate_exceptions): Return void. Change to simulate
2711 exceptions by writing into the %fsr.
2712 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2713 (__Qp_handle_exceptions): Likewise.
2715 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2716 __Qp_handle_exceptions.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2718 __Qp_handle_exceptions.
2719 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2720 as unused and give dummy FP_RND_NEAREST initializer.
2721 (FP_INHIBIT_RESULTS): Define.
2722 (___Q_simulate_exceptions): Update declaration.
2723 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2725 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2726 as unused and give dummy FP_RND_NEAREST initializer.
2727 (__Qp_handle_exceptions): Update declaration.
2728 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2731 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2733 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2734 the temporary FPU control word.
2735 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2736 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2737 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2738 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2739 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2740 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2741 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2742 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2743 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2744 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2745 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2747 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2749 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2752 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2754 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2755 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2756 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2757 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2759 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2760 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2763 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2765 * po/h.po: Update from translation team.
2767 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2769 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2771 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2772 handling of denormals.
2773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2774 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2775 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2776 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2777 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2778 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2779 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2782 2012-05-26 Marek Polacek <polacek@redhat.com>
2785 * math/libm-test.inc (fma_test): Don't always expect underflow
2788 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2791 * elf/tst-execstack.c: Include stackinfo.h.
2792 (do_test): Adjust test case to ensure that pthread_getattr_np
2793 behaviour remains the same after marking stack executable.
2795 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2797 * sysdeps/unix/sysv/linux/kernel-features.h
2798 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2799 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2801 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2802 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2803 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2805 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2806 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2808 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2810 * configure.in: Define the default includes to being none.
2811 * configure: Regenerated.
2813 2012-05-25 Roland McGrath <roland@hack.frob.com>
2815 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2816 * sysdeps/x86_64/setjmp.S: Likewise.
2817 * sysdeps/i386/bsd-setjmp.S: Likewise.
2818 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2819 * sysdeps/i386/setjmp.S: Likewise.
2820 * sysdeps/i386/__longjmp.S: Likewise.
2821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2822 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2824 * include/stap-probe.h: New file.
2825 * configure.in: Handle --enable-systemtap.
2826 * configure: Regenerated.
2827 * config.h.in (USE_STAP_PROBE): New #undef.
2828 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2829 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2830 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2832 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2835 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2836 to 2.4.0 where earlier.
2837 * sysdeps/unix/sysv/linux/configure: Regenerated.
2838 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2839 <kernel-features.h>.
2840 [__ASSUME_32BITUIDS]: Make code unconditional.
2841 [!__ASSUME_32BITUIDS]: Remove conditional code.
2842 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2843 <kernel-features.h>.
2844 [__ASSUME_32BITUIDS]: Make code unconditional.
2845 [!__ASSUME_32BITUIDS]: Remove conditional code.
2846 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2847 [__ASSUME_32BITUIDS]: Make code unconditional.
2848 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2849 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/i386/getgroups.c: Do not include
2862 <kernel-features.h>.
2863 [__ASSUME_32BITUIDS]: Make code unconditional.
2864 [!__ASSUME_32BITUIDS]: Remove conditional code.
2865 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2866 <kernel-features.h>.
2867 [__ASSUME_32BITUIDS]: Make code unconditional.
2868 [!__ASSUME_32BITUIDS]: Remove conditional code.
2869 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2870 <kernel-features.h>.
2871 [__ASSUME_32BITUIDS]: Make code unconditional.
2872 [!__ASSUME_32BITUIDS]: Remove conditional code.
2873 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2874 <kernel-features.h>.
2875 [__ASSUME_32BITUIDS]: Make code unconditional.
2876 [!__ASSUME_32BITUIDS]: Remove conditional code.
2877 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2878 <kernel-features.h>.
2879 [__ASSUME_32BITUIDS]: Make code unconditional.
2880 [!__ASSUME_32BITUIDS]: Remove conditional code.
2881 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2882 <kernel-features.h>.
2883 [__ASSUME_32BITUIDS]: Make code unconditional.
2884 [!__ASSUME_32BITUIDS]: Remove conditional code.
2885 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2886 <kernel-features.h>.
2887 [__ASSUME_32BITUIDS]: Make code unconditional.
2888 [!__ASSUME_32BITUIDS]: Remove conditional code.
2889 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2890 <kernel-features.h>.
2891 [__NR_setresgid] (__setresgid): Do not declare.
2892 [__ASSUME_32BITUIDS]: Make code unconditional.
2893 [!__ASSUME_32BITUIDS]: Remove conditional code.
2894 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2895 <kernel-features.h>.
2896 [__NR_setresuid] (__setresuid): Do not declare.
2897 [__ASSUME_32BITUIDS]: Make code unconditional.
2898 [!__ASSUME_32BITUIDS]: Remove conditional code.
2899 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2900 <kernel-features.h>.
2901 [__ASSUME_32BITUIDS]: Make code unconditional.
2902 [!__ASSUME_32BITUIDS]: Remove conditional code.
2903 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2904 <kernel-features.h>.
2905 [__ASSUME_32BITUIDS]: Make code unconditional.
2906 [!__ASSUME_32BITUIDS]: Remove conditional code.
2907 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2908 <kernel-features.h>.
2909 [__ASSUME_32BITUIDS]: Make code unconditional.
2910 [!__ASSUME_32BITUIDS]: Remove conditional code.
2911 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2912 <kernel-features.h>.
2913 [__ASSUME_32BITUIDS]: Make code unconditional.
2914 [!__ASSUME_32BITUIDS]: Remove conditional code.
2915 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2916 <kernel-features.h>.
2917 [__ASSUME_32BITUIDS]: Make code unconditional.
2918 [!__ASSUME_32BITUIDS]: Remove conditional code.
2919 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2920 <kernel-features.h>.
2921 [__ASSUME_32BITUIDS]: Make code unconditional.
2922 [!__ASSUME_32BITUIDS]: Remove conditional code.
2923 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2924 <kernel-features.h>.
2925 [__ASSUME_32BITUIDS]: Make code unconditional.
2926 [!__ASSUME_32BITUIDS]: Remove conditional code.
2927 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2928 <kernel-features.h>.
2929 [__ASSUME_32BITUIDS]: Make code unconditional.
2930 [!__ASSUME_32BITUIDS]: Remove conditional code.
2931 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2932 <kernel-features.h>.
2933 [__ASSUME_32BITUIDS]: Make code unconditional.
2934 [!__ASSUME_32BITUIDS]: Remove conditional code.
2935 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2936 <kernel-features.h>.
2937 [__ASSUME_32BITUIDS]: Make code unconditional.
2938 [!__ASSUME_32BITUIDS]: Remove conditional code.
2939 * sysdeps/unix/sysv/linux/kernel-features.h
2940 (__ASSUME_SETRESUID_SYSCALL): Remove.
2941 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2942 (__ASSUME_32BITUIDS): Likewise.
2943 (__ASSUME_LDT_WORKS): Likewise.
2944 (__ASSUME_O_DIRECTORY): Likewise.
2945 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2946 architecture but not kernel version.
2947 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2948 (__ASSUME_MMAP2_SYSCALL): Likewise.
2949 (__ASSUME_STAT64_SYSCALL): Likewise.
2950 (__ASSUME_IPC64): Likewise.
2951 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2952 <kernel-features.h>.
2953 [__ASSUME_32BITUIDS]: Make code unconditional.
2954 [!__ASSUME_32BITUIDS]: Remove conditional code.
2955 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2956 <kernel-features.h>.
2957 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2958 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2959 132096]: Remove conditional code.
2960 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2961 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2962 <kernel-features.h>.
2963 [__ASSUME_32BITUIDS]: Make code unconditional.
2964 [!__ASSUME_32BITUIDS]: Remove conditional code.
2965 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2966 <kernel-features.h>.
2967 [__ASSUME_32BITUIDS]: Make code unconditional.
2968 [!__ASSUME_32BITUIDS]: Remove conditional code.
2969 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2970 <kernel-features.h>.
2971 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2973 (__setresgid): Do not declare.
2974 [__ASSUME_32BITUIDS]: Make code unconditional.
2975 [!__ASSUME_32BITUIDS]: Remove conditional code.
2976 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2977 <kernel-features.h>.
2978 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2980 (__setresuid): Do not declare.
2981 [__ASSUME_32BITUIDS]: Make code unconditional.
2982 [!__ASSUME_32BITUIDS]: Remove conditional code.
2983 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2984 <kernel-features.h>.
2985 [__ASSUME_32BITUIDS]: Make code unconditional.
2986 [!__ASSUME_32BITUIDS]: Remove conditional code.
2987 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2988 <kernel-features.h>.
2989 [__ASSUME_32BITUIDS]: Make code unconditional.
2990 [!__ASSUME_32BITUIDS]: Remove conditional code.
2992 2012-05-25 Richard Henderson <rth@twiddle.net>
2994 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2995 dl_hwcap to ifunc resolver.
2996 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2998 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2999 dl_hwcap to ifunc resolver.
3000 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3002 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3005 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3006 for |x| <= 2**-26, not 2**-57.
3007 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3010 2012-05-24 Jeff Law <law@redhat.com>
3012 * stdio-common/Makefile (tests): Add bug25.
3013 * stdio-common/bug25.c: New test.
3015 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3018 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3019 multiple of MALLOC_ALIGNMENT in size.
3020 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3022 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3024 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3026 (FILENAME_MAX): Use macro-int-constant.
3027 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3028 (_IOFBF): Use macro-int-constant.
3031 (SEEK_CUR): Likewise.
3032 (SEEK_END): Likewise.
3033 (SEEK_SET): Likewise.
3034 (TMP_MAX): Likewise.
3035 (EOF): Use macro-int-constant. Require < 0.
3036 (NULL): Use macro-constant. Require == 0.
3037 (stdin): Require type to be FILE *.
3040 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3042 (EXIT_SUCCESS): Likewise.
3043 (NULL): Use macro-constant. Require == 0.
3044 (RAND_MAX): Use macro-int-constant.
3045 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3046 [C99-based standards] (strtof): Require function.
3047 [C99-based standards] (strtold): Likewise.
3048 [C99-based standards] (strtoll): Likewise.
3049 [C99-based standards] (strtoull): Likewise.
3050 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3051 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3052 [ISO || ISO99 || ISO11] (math.h): Likewise.
3053 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3054 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3057 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3060 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3061 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3062 * intl/dgettext.c (DCGETTEXT): Likewise.
3063 * intl/gettext.c (DCGETTEXT): Likewise.
3064 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3065 * posix/regex_internal.h (gettext): Likewise.
3066 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3068 * include/argz.h (__argz_count_internal)
3069 (__argz_stringify_internal): Remove declaration.
3070 (__argz_count, __argz_stringify): Declare hidden proto.
3071 * intl/dcgettext.c: Remove use of INTDEF.
3072 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3073 * string/argz-stringify.c: Likewise.
3074 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3075 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3076 Declare hidden proto.
3077 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3078 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3079 Declare hidden proto.
3080 * include/stdio.h (__asprintf_internal): Don't declare.
3081 (__asprintf): Don't define as macro. Declare hidden proto.
3082 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3083 (__fsetlocking): Declare hidden proto.
3084 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3085 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3087 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3088 (_IO_setlinebuf): Remove use of INTUSE.
3089 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3090 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3091 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3093 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3094 (_IO_do_flush): Remove use of INTUSE.
3095 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3096 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3097 (_IO_adjust_column, _IO_least_wmarker)
3098 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3099 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3100 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3101 (_IO_default_doallocate, _IO_wdefault_doallocate)
3102 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3103 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3104 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3105 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3106 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3107 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3108 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3109 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3110 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3111 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3112 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3113 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3114 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3116 (_IO_flush_all_internal, _IO_adjust_column_internal)
3117 (_IO_default_uflow_internal, _IO_default_finish_internal)
3118 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3119 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3120 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3121 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3122 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3123 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3124 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3125 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3126 (_IO_file_close_internal, _IO_file_close_it_internal)
3127 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3128 (_IO_file_init_internal, _IO_file_attach_internal)
3129 (_IO_file_fopen_internal, _IO_file_read_internal)
3130 (_IO_file_sync_internal, _IO_file_seek_internal)
3131 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3132 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3133 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3134 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3135 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3136 (_IO_list_all_internal, _IO_link_in_internal)
3137 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3138 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3139 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3140 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3141 (_IO_do_write_internal, _IO_padn_internal)
3142 (_IO_getline_info_internal, _IO_getline_internal)
3143 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3144 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3145 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3146 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3147 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3148 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3149 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3150 with libc_hidden_ver, remove use of INTUSE.
3151 * libio/genops.c: Likewise.
3152 * libio/freopen.c: Likewise.
3153 * libio/freopen64.c: Likewise.
3154 * libio/iofclose.c: Likewise.
3155 * libio/iofdopen.c: Likewise.
3156 * libio/iofflush.c: Likewise.
3157 * libio/iofflush_u.c: Likewise.
3158 * libio/iofgets.c: Likewise.
3159 * libio/iofgets_u.c: Likewise.
3160 * libio/iofopen.c: Likewise.
3161 * libio/iofopncook.c: Likewise.
3162 * libio/iofread.c: Likewise.
3163 * libio/iofread_u.c: Likewise.
3164 * libio/ioftell.c: Likewise.
3165 * libio/iofwrite.c: Likewise.
3166 * libio/iogetline.c: Likewise.
3167 * libio/iogets.c: Likewise.
3168 * libio/iogetwline.c: Likewise.
3169 * libio/iopadn.c: Likewise.
3170 * libio/iopopen.c: Likewise.
3171 * libio/ioseekoff.c: Likewise.
3172 * libio/ioseekpos.c: Likewise.
3173 * libio/iosetbuffer.c: Likewise.
3174 * libio/iosetvbuf.c: Likewise.
3175 * libio/ioungetc.c: Likewise.
3176 * libio/ioungetwc.c: Likewise.
3177 * libio/iovdprintf.c: Likewise.
3178 * libio/iovsprintf.c: Likewise.
3179 * libio/iovsscanf.c: Likewise.
3180 * libio/memstream.c: Likewise.
3181 * libio/obprintf.c: Likewise.
3182 * libio/oldfileops.c: Likewise.
3183 * libio/oldiofclose.c: Likewise.
3184 * libio/oldiofdopen.c: Likewise.
3185 * libio/oldiofopen.c: Likewise.
3186 * libio/oldiopopen.c: Likewise.
3187 * libio/oldstdfiles.c: Likewise.
3188 * libio/putc.c: Likewise.
3189 * libio/setbuf.c: Likewise.
3190 * libio/setlinebuf.c: Likewise.
3191 * libio/stdfiles.c: Likewise.
3192 * libio/strops.c: Likewise.
3193 * libio/vasprintf.c: Likewise.
3194 * libio/vscanf.c: Likewise.
3195 * libio/vsnprintf.c: Likewise.
3196 * libio/vswprintf.c: Likewise.
3197 * libio/wfiledoalloc.c: Likewise.
3198 * libio/wfileops.c: Likewise.
3199 * libio/wgenops.c: Likewise.
3200 * libio/wmemstream.c: Likewise.
3201 * libio/wstrops.c: Likewise.
3202 * libio/__fpurge.c: Likewise.
3203 * libio/__fsetlocking.c: Likewise.
3204 * assert/assert.c: Likewise.
3205 * debug/fgets_chk.c: Likewise.
3206 * debug/fgets_u_chk.c: Likewise.
3207 * debug/fread_chk.c: Likewise.
3208 * debug/fread_u_chk.c: Likewise.
3209 * debug/gets_chk.c: Likewise.
3210 * debug/obprintf_chk.c: Likewise.
3211 * debug/vasprintf_chk.c: Likewise.
3212 * debug/vdprintf_chk.c: Likewise.
3213 * debug/vsnprintf_chk.c: Likewise.
3214 * debug/vsprintf_chk.c: Likewise.
3215 * malloc/mtrace.c: Likewise.
3216 * misc/error.c: Likewise.
3217 * misc/syslog.c: Likewise.
3218 * stdio-common/asprintf.c: Likewise.
3219 * stdio-common/fxprintf.c: Likewise.
3220 * stdio-common/getw.c: Likewise.
3221 * stdio-common/isoc99_fscanf.c: Likewise.
3222 * stdio-common/isoc99_scanf.c: Likewise.
3223 * stdio-common/isoc99_vfscanf.c: Likewise.
3224 * stdio-common/isoc99_vscanf.c: Likewise.
3225 * stdio-common/isoc99_vsscanf.c: Likewise.
3226 * stdio-common/printf-prs.c: Likewise.
3227 * stdio-common/printf_fp.c: Likewise.
3228 * stdio-common/printf_fphex.c: Likewise.
3229 * stdio-common/printf_size.c: Likewise.
3230 * stdio-common/putw.c: Likewise.
3231 * stdio-common/scanf.c: Likewise.
3232 * stdio-common/sprintf.c: Likewise.
3233 * stdio-common/tmpfile.c: Likewise.
3234 * stdio-common/vfprintf.c: Likewise.
3235 * stdio-common/vfscanf.c: Likewise.
3236 * stdlib/strfmon_l.c: Likewise.
3237 * sunrpc/openchild.c: Likewise.
3238 * sunrpc/xdr_stdio.c: Likewise.
3239 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3240 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3242 2012-05-24 Roland McGrath <roland@hack.frob.com>
3244 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3246 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3247 in the third column, to generate for the shared library an IFUNC
3248 that uses _dl_vdso_vsym.
3249 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3250 * Makeconfig (object-suffixes-noshared): New variable.
3252 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3253 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3254 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3255 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3258 * include/sys/time.h (__gettimeofday): Remove macro.
3259 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3260 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3262 (__gettimeofday): Add libc_hidden_def.
3263 (gettimeofday): Add libc_hidden_weak.
3264 * sysdeps/mach/gettimeofday.c: Likewise.
3265 * sysdeps/posix/gettimeofday.c: Likewise.
3266 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3267 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3269 (__gettimeofday_internal): Remove strong_alias.
3270 (__gettimeofday): Add libc_hidden_def.
3271 (gettimeofday): Add libc_hidden_weak.
3272 * sysdeps/unix/syscalls.list (gettimeofday):
3273 Remove __gettimeofday_internal alias.
3275 2012-05-24 Daniel Jacobowitz <drow@false.org>
3276 H.J. Lu <hongjiu.lu@intel.com>
3279 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3280 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3281 (largebin_index_32_big): New.
3282 (largebin_index): Use it for 16-byte alignment.
3283 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3284 correction with front_misalign.
3286 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3314 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3315 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3317 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3321 * math/libm-test.inc (exp_test): Add test from bug 14036.
3322 (pow_test): Add test from bug 10846.
3324 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3326 (special_function): Do not include flags in test name.
3327 (parse_args): Likewise.
3328 * sysdeps/i386/fpu/libm-test-ulps: Update.
3329 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3330 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3331 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3334 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3336 * math/libm-test.inc ("Philosophy"): Update comment about
3338 (UNDERFLOW_EXCEPTION): New macro.
3339 (UNDERFLOW_EXCEPTION_OK): Likewise.
3340 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3341 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3342 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3343 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3344 (INVALID_EXCEPTION_OK): Update value.
3345 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3346 (OVERFLOW_EXCEPTION_OK): Likewise.
3347 (IGNORE_ZERO_INF_SIGN): Likewise.
3348 (test_exceptions): Handle underflow exceptions.
3349 (acos_test): Update for underflow exception expectations.
3350 (cexp_test): Likewise.
3351 (clog_test): Likewise.
3352 (clog10_test): Likewise.
3353 (csqrt_test): Likewise.
3354 (ctan_test): Likewise.
3355 (ctanh_test): Likewise.
3356 (exp_test): Likewise.
3357 (exp10_test): Likewise.
3358 (exp2_test): Likewise.
3359 (expm1_test): Likewise.
3360 (fma_test): Likewise.
3361 (j0_test): Likewise.
3362 (jn_test): Likewise.
3363 (nexttoward_test): Likewise.
3364 (pow_test): Likewise.
3365 (scalbn_test): Likewise.
3366 (scalbln_test): Likewise.
3367 (tan_test): Likewise.
3368 (y1_test): Likewise.
3369 * sysdeps/i386/fpu/libm-test-ulps: Update.
3370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3372 2012-05-23 David S. Miller <davem@davemloft.net>
3374 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3375 (__libc_sigaction): Remove unused local variables.
3377 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3379 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3381 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3383 mktime: avoid signed integer overflow
3384 * time/mktime.c (__mktime_internal): Do not mishandle the case
3385 where diff == INT_MIN.
3387 mktime: simplify computation of average
3388 * time/mktime.c (ranged_convert): Use new time_t_avg function
3389 instead of rolling our own (probably-slower) code.
3391 mktime: do not assume signed right shift propagates sign bit
3392 * time/mktime.c (isdst_differ): New static function.
3393 (__mktime_internal): No need to normalize tm_isdst now.
3394 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3397 mktime: merge another wrapv change from gnulib
3398 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3399 from some compilers.
3401 mktime: remove incorrect attempt at unusual arithmetics
3402 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3403 The code didn't really work on such machines anyway.
3404 (TYPE_MINIMUM): Assume two's complement.
3405 (twos_complement_arithmetic): Verify that long_int and time_t
3406 are two's complement (or unsigned, in the latter case).
3408 mktime: check signed shifts on long_int and time_t, too
3409 * time/mktime.c (SHR): Check that shifts work as desired
3410 on the types long_int and time_t too, as SHR is used on
3413 mktime: do not assume 'long' is wide enough
3414 * time/mktime.c (verify): Move decl up.
3415 (long_int): New type.
3416 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3417 to remove assumption in the code that 'long' is wide enough to
3418 store year values. This assumption is not true on x32 and on
3419 some non-glibc platforms.
3421 mktime: merge wrapv change from gnulib
3422 * time/mktime.c (WRAPV): New macro.
3423 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3424 (guess_time_tm, __mktime_internal): Do not assume that signed
3425 integer overflow wraps around; modern compilers generate code
3426 where this assumption is no longer valid.
3428 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3430 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3431 Replace "jmp L(pseudo_end)" with "ret".
3432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3435 2012-05-23 Andreas Jaeger <aj@suse.de>
3437 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3438 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3440 2012-05-23 Andreas Jaeger <aj@suse.de>
3441 Maximilian Attems <max@stro.at>
3443 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3446 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3448 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3449 code so that pseudo_end is just ret and the stack pointer is
3450 correct also for static library in error case.
3452 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3454 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3455 move to syscalls.list.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3461 * manual/install.texi (Running make install): Do not mention Linux
3462 kernel version for which pt_chown is not needed.
3463 (Linux): Do not mention problems with nscd with 2.0 kernels.
3464 * INSTALL: Regenerated.
3466 2012-05-23 Andreas Jaeger <aj@suse.de>
3468 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3469 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3471 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3472 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3473 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3474 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3475 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3476 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3477 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3478 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3479 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3480 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3481 * sysdeps/unix/sysv/linux/bits/in.h
3482 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3484 2012-05-22 Roland McGrath <roland@hack.frob.com>
3486 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3487 (PREPARE_VERSION): Just use assert instead, it will be elided
3488 under [NDEBUG] anyway.
3490 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3492 * sysdeps/unix/sysv/linux/Makefile: Include
3493 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3494 (sysdep_routines): Remove sysctl.
3495 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3496 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3497 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3498 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3499 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3501 2012-05-22 Andreas Jaeger <aj@suse.de>
3503 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3504 that pseudo_end is just ret and the stack pointer is correct also
3505 for static library in error case.
3507 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3510 * nss/nsswitch.c (defconfig_entries): New variable.
3511 (__nss_database_lookup): Don't leak defconfig entries.
3512 (nss_parse_service_list): Don't leak on error paths.
3513 (free_database_entries): New function.
3514 (free_defconfig): New function.
3515 (free_mem): Move common code to free_database_entries.
3517 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3519 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3521 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3523 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3524 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3527 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3528 (INTERNAL_SYSCALL_TYPES): Likewise.
3529 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3530 (LOAD_REGS_TYPES_[1-6]): Likewise.
3531 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3532 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3534 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3536 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3537 copysignl for GLIBC_2_0.
3538 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3539 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3541 logbl for GLIBC_2_0.
3542 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3543 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3545 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3548 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3550 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3553 * time/mktime.c: Update copyright years.
3555 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3557 mktime: merge comment-quoting-style change from gnulib
3558 * time/mktime.c: Quote 'like this' in comments.
3559 The GNU coding standards suggest that we no longer quote `like this',
3560 as "`" and "'" are typically rendered asymmetrically nowadays.
3561 The typical gnulib style is to quote 'like this' when quoting
3562 code, and "like this" when quoting English.
3564 * time/mktime.c (compile-command): Add "-I.".
3566 mktime: merge mktime-internal.h change from gnulib
3567 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3569 mktime: merge time_r change from gnulib
3570 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3572 mktime: merge DEBUG change from gnulib
3573 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3574 case system <time.h> has a #define.
3576 mktime: merge <sys/types.h> change from gnulib
3577 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3578 since <time.t> is now guaranteed to define time_t.
3580 mktime: merge HAVE_CONFIG_H change from gnulib
3581 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3583 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3588 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3590 (struct rusage): Use anonymous union to pad each field to
3593 2012-05-21 David S. Miller <davem@davemloft.net>
3595 * Makefules (o-iterator): Remove .s cases.
3596 (compile-command.s): Delete.
3597 (COMPILE.s): Delete.
3598 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3600 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3602 * configure.in (libc_cv_predef_stack_protector): Only consider
3603 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3604 * configure: Regenerated.
3606 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3609 New macro. Use R*LP on int and pointer.
3610 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3611 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3612 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3613 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3615 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3616 [__WORDSIZE_TIME64_COMPAT32] instead of
3617 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3618 (struct utmp): Likewise.
3619 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3620 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3622 (__WORDSIZE_TIME64_COMPAT32): This.
3623 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3624 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3625 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3626 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3627 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3628 (__WORDSIZE_TIME64_COMPAT32): New macro.
3630 2012-05-21 Andreas Jaeger <aj@suse.de>
3632 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3633 only if [SHARED]. Add prototype for __wcschr_ia32.
3635 2012-05-21 Roland McGrath <roland@hack.frob.com>
3637 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3638 of %rbp unmolested in the jmp_buf while mangling the low bits.
3639 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3640 unmolested high bits of %rbp while demangling the low bits.
3641 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3643 2012-05-21 Andreas Jaeger <aj@suse.de>
3645 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3646 * sunrpc/svc_simple.c: Use it for registerrpc.
3647 * sunrpc/xcrypt.c: Use it for passwd2des.
3649 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3651 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3653 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3654 Don't define if [__SYSCALL_WORDSIZE != 32].
3655 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3658 2012-05-21 Bruno Haible <bruno@clisp.org>
3659 Andreas Jaeger <aj@suse.de>
3661 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3662 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3663 inptr and inend for must_buffer_ch.
3664 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3665 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3666 * stdio-common/Makefile (tests): Remove bug15.
3667 (bug15-ENV): Remove macro.
3668 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3671 2012-05-19 Andreas Jaeger <aj@suse.de>
3672 Roland McGrath <roland@hack.frob.com>
3674 * manual/contrib.texi: Completely rewritten. It contains now an
3675 alphabetical list of contributors and their contributions.
3677 2012-05-21 Richard Henderson <rth@twiddle.net>
3679 * misc/getauxval.c (__getauxval): Use unsigned long int.
3680 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3681 (getauxval): Use unsigned long int.
3683 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3685 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3687 2012-05-21 Roland McGrath <roland@hack.frob.com>
3689 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3690 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3691 __alignof__ (long double).
3693 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3697 2012-05-20 Richard Henderson <rth@twiddle.net>
3699 * misc/getauxval.c: New file.
3700 * misc/sys/auxv.h: New file.
3701 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3702 (routines): Add getauxval.
3703 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3704 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3705 * elf/dl-sysdep.c (_dl_auxv): Remove.
3706 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3707 * elf/dl-support.c (_dl_auxv): New variable.
3708 (_dl_aux_init): Initialize it.
3709 * manual/startup.texi (Auxiliary Vector): New node.
3710 * sysdeps/generic/bits/hwcap.h: New file.
3711 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3712 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3713 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3714 * sysdeps/sparc/sysdep.h: ... here. Include it.
3715 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3716 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3722 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3728 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3732 2012-05-19 David S. Miller <davem@davemloft.net>
3734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3736 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3739 * math/s_ccosh.c: Include <float.h>
3740 (__ccosh): Avoid internal overflow calculating sinh and cosh
3741 values before multiplying by sin and cos values.
3742 * math/s_ccoshf.c: Likewise.
3743 * math/s_ccoshl.c: Likewise.
3744 * math/s_csin.c: Likewise.
3745 * math/s_csinf.c: Likewise.
3746 * math/s_csinl.c: Likewise.
3747 * math/s_csinh.c: Likewise.
3748 * math/s_csinhf.c: Likewise.
3749 * math/s_csinhl.c: Likewise.
3750 * math/libm-test.inc (ccos_test): Add more tests.
3751 (ccosh_test): Likewise.
3752 (csin_test): Likewise.
3753 (csinh_test): Likewise.
3754 * sysdeps/i386/fpu/libm-test-ulps: Update.
3755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3757 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3759 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3760 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3762 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3764 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3766 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3767 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3768 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3769 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3770 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3771 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3772 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3773 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3774 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3775 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3776 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3777 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3778 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3779 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3780 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3781 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3782 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3783 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3784 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3785 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3786 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3787 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3788 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3789 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3790 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3791 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3792 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3793 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3794 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3795 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3796 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3798 2012-05-18 Andreas Jaeger <aj@suse.de>
3800 * csu/.gitignore: Delete.
3802 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3804 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3805 (timex): Use __syscall_slong_t.
3807 2012-05-18 Andreas Jaeger <aj@suse.de>
3808 Carlos O'Donell <carlos_odonell@mentor.com>
3810 * manual/install.texi (Configuring and compiling): Update
3811 description about files modified in the source directory.
3812 * INSTALL: Regenerated.
3814 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3816 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3817 value. Use "or" to set return value to -1.
3818 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3819 negate return value.
3821 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3823 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3824 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3825 failure if the compiler has Graphite support disabled.
3826 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3828 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3829 CFLAGS-memmove.c): Likewise.
3830 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3833 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3835 * sysdeps/x86_64/x32/_itoa.h: New file.
3837 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3838 getdents system call only if kernel and user dirents have the
3839 same d_ino and d_off.
3841 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3842 LLONG_MAX != LONG_MAX.
3843 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3844 (_fitoa_word): Likewise.
3846 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3848 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3849 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3850 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3852 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3853 include <bits/wordsize.h>. Check __x86_64__ instead of
3855 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3856 if __x86_64__ is defined. Use anonymous union on fpstate.
3858 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3861 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3863 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3864 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3865 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3866 Refer to _rtld_local_ro instead of _rtld_global_ro.
3867 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3869 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3871 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3873 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3874 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3875 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3877 * sysdeps/powerpc/powerpc32/dl-machine.c
3878 (__elf_machine_runtime_setup) [PROF]: Don't reference
3881 2012-05-18 Andreas Jaeger <aj@suse.de>
3883 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3884 function only available for GCCs before 3.4 since GCC 3.4
3885 introduced a builtin.
3887 (llrintf): Likewise.
3895 (nearbyint): Likewise.
3896 (nearbyintf): Likewise.
3902 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3904 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3905 on both fields and cast pointer to __syscall_ulong_t.
3907 * bits/types.h (__fsword_t): New type.
3908 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3909 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3910 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3911 (__FSWORD_T_TYPE): Likewise.
3912 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3913 (__FSWORD_T_TYPE): Likewise.
3914 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3915 (__FSWORD_T_TYPE): Likewise.
3916 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3917 (__FSWORD_T_TYPE): Likewise.
3918 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3919 __SWORD_TYPE with __fsword_t.
3920 (statfs64): Likewise.
3922 2012-05-17 David S. Miller <davem@davemloft.net>
3924 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3926 2012-05-17 Andreas Jaeger <aj@suse.de>
3928 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3931 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3933 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3935 2012-05-17 Andreas Jaeger <aj@suse.de>
3937 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3940 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3942 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3944 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3946 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3947 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3949 2012-05-17 Andreas Jaeger <aj@suse.de>
3950 Carlos O'Donell <carlos_odonell@mentor.com>
3953 * sysdeps/x86_64/multiarch/init-arch.h
3954 (bit_YMM_Usable): Rename to...
3955 (bit_AVX_Usable): ... this.
3956 (bit_FMA4_Usable): New macro.
3957 (bit_XMM_state): New macro.
3958 (bit_YMM_state): New macro.
3959 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3960 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3961 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3962 (CPUID_OSXSAVE): New macro.
3963 (CPUID_AVX): New macro.
3964 (CPUID_FMA4): New macro.
3965 (index_YMM_Usable): Rename to...
3966 (index_AVX_Usable): ... this.
3967 (HAS_AVX): Use HAS_ARCH_FEATURE.
3968 (HAS_FMA4): Likewise.
3969 (HAS_YMM_USABLE): Remove.
3970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3971 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3973 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3974 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3975 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3976 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3977 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3979 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3981 * math/libm-test.c: Support platforms without multiple rounding modes.
3982 * math/bug-nextafter.c: Support platforms without FP exceptions.
3983 * math/bug-nexttoward.c: Likewise.
3984 * math/test-fenv.c: Likewise.
3985 * math/test-misc.c: Likewise.
3986 * stdlib/bug-getcontext.c: Likewise.
3988 2012-05-17 Andreas Jaeger <aj@suse.de>
3990 * manual/examples/search.c (critter_cmp): Change signature to
3992 * manual/string.texi (Collation Functions): Likewise.
3994 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3996 * bits/types.h: Fold copyright years.
3997 * bits/typesizes.h: Likewise.
3998 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4000 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4001 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4002 * time/time.h: Likewise.
4004 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4007 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4008 in instead of returning them. Return void.
4009 (__libc_mallinfo): Accumulate over all arenas.
4010 (__malloc_stats): Adjust for change in int_mallinfo interface.
4012 2012-05-16 Roland McGrath <roland@hack.frob.com>
4015 * configure.in (NM): Add AC_CHECK_TOOL for it.
4016 (libc_extra_cflags): New substituted variable.
4017 Check for -fstack-protector being used implicitly.
4018 * configure: Regenerated.
4019 * config.make.in (config-extra-cflags): New variable,
4020 gets @libc_extra_cflags@.
4021 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4024 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4025 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4026 * configure: Regenerated.
4027 * config.make.in (CPPUNDEFS): New substituted variable.
4028 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4029 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4030 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4032 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4034 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4035 (mq_attr): Use __syscall_slong_t.
4037 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4039 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4040 Check __x86_64__ instead of __WORDSIZE.
4041 (_STAT_VER_LINUX): Likewise.
4042 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4043 __syscall_ulong_t and __syscall_slong_t.
4046 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4048 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4050 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4052 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4054 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4056 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4059 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4060 include <bits/wordsize.h>. Check __x86_64__ instead of
4062 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4064 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4066 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4067 include <bits/wordsize.h>. Check __x86_64__ instead of
4069 (user_regs_struct): Use "__extension__ unsigned long long"
4070 instead of "unsigned long" if __x86_64__ is defined.
4071 (user): Likewise. Pad after pointer field if __ILP32__ is
4074 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4076 * configure.in (makeinfo): Require version 4.5 or later. Allow
4078 * configure: Regenerated.
4079 * manual/install.texi (texinfo): Increase version requirement to
4081 * INSTALL: Regenerated.
4083 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4085 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4087 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4089 * sysdeps/x86_64/x32/ffs.c: New file.
4091 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4093 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4094 defined. Use __syscall_ulong_t.
4095 (shminfo): Use __syscall_ulong_t.
4096 (shm_info): Likewise.
4098 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4101 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4103 (msgqnum_t): Use __syscall_ulong_t.
4104 (msglen_t): Likewise.
4105 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4108 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4109 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4111 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4113 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4114 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4116 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4119 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4120 include <bits/wordsize.h>. Check __x86_64__ instead of
4123 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4124 "unsigned long long int" if __x86_64__ is defined.
4125 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4127 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4128 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4129 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4131 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4133 (GET_PC): Cast to uintptr_t first.
4134 (GET_FRAME): Likewise.
4135 (GET_STACK): Likewise.
4137 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4138 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4139 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4140 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4141 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4142 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4143 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4144 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4145 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4146 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4147 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4148 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4149 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4150 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4151 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4152 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4153 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4154 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4155 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4156 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4157 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4158 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4159 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4160 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4161 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4162 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4163 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4164 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4165 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4167 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4169 * Makerules (+depfiles): Also collect depfiles from .oS in
4171 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4172 .oS, $(libnldbl-routines)).
4174 * Makerules (native-compile-mkdep-flags): Define.
4175 * sunrpc/Makefile (extra-objs): Add $(addprefix
4176 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4177 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4178 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4179 calling $(make-target-directory).
4181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4183 * bits/types.h (__snseconds_t): Removed.
4184 * time/time.h (struct timespec): Replace __snseconds_t with
4186 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4187 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4190 (__SNSECONDS_T_TYPE): Likewise.
4191 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4192 (__SNSECONDS_T_TYPE): Likewise.
4193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4194 (__SNSECONDS_T_TYPE): Likewise.
4196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4198 * sysdeps/mach/hurd/bits/typesizes.h
4199 (__SYSCALL_SLONG_TYPE): New macro.
4200 (__SYSCALL_ULONG_TYPE): Likewise.
4202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4204 * bits/types.h (__syscall_slong_t): New type.
4205 (__syscall_ulong_t): Likewise.
4207 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4208 (__SYSCALL_ULONG_TYPE): Likewise.
4209 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4210 (__SYSCALL_SLONG_TYPE): Likewise.
4211 (__SYSCALL_ULONG_TYPE): Likewise.
4212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4213 (__SYSCALL_SLONG_TYPE): Likewise.
4214 (__SYSCALL_ULONG_TYPE): Likewise.
4215 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4216 (__SYSCALL_SLONG_TYPE): Likewise.
4217 (__SYSCALL_ULONG_TYPE): Likewise.
4219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4221 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4222 Add sigaltstack-offsets.sym.
4223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4224 <sigaltstack-offsets.h>.
4225 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4226 longjmp_msg pointer.
4227 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4228 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4230 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4232 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4234 * elf/stackguard-macros.h: Remove file.
4235 * sysdeps/generic/stackguard-macros.h: New file.
4236 * sysdeps/i386/stackguard-macros.h: Likewise.
4237 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4238 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4239 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4240 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4241 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4242 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4243 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4244 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4245 <elf/stackguard-macros.h>.
4248 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4249 __aligned__ in attribute.
4250 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4251 (gregset_t): Likewise.
4253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4255 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4256 * sysdeps/x86_64/64/Implies-after: Here. New file.
4257 * sysdeps/x86_64/x32/Implies-after: New file.
4259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4261 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4262 and access return value for _dl_profile_fixup. Use R10_LP to
4265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4267 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4271 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4272 * sysdeps/x86_64/x32/sysdep.h: New file.
4274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4276 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4277 * sysdeps/x86_64/setjmp.S: Likewise.
4279 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4281 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4282 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4283 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4284 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4285 remove unused global constant.
4287 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4289 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4290 include of <not-cancel.h>.
4292 2012-05-15 Roland McGrath <roland@hack.frob.com>
4294 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4296 2012-05-15 Jeff Law <law@redhat.com>
4297 Andreas Jaeger <aj@suse.de>
4300 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4302 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4303 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4304 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4305 code changing __hst_map_handle.map.
4307 2012-05-15 Roland McGrath <roland@hack.frob.com>
4309 * configure.in (sysnames): Look for Implies-before and Implies-after
4311 * configure: Regenerated.
4313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4315 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4316 8-byte data alignment with LP_SIZE alignment.
4318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4320 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4325 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4329 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4330 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4331 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4333 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4337 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4338 (stackinfo_sub_sp): Likewise.
4340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4342 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4352 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4355 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4357 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4361 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4362 into R11_LP and load __x86_64_shared_cache_size_half into
4365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4367 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4370 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4374 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4378 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4379 powerpc32/power7/fpu/s_logb.c via #include.
4380 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4381 powerpc32/power7/fpu/s_logbf.c via #include.
4382 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4383 powerpc32/power7/fpu/s_logbl.c via #include.
4385 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4387 * README.libm: Remove file.
4389 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4391 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4392 count for x32. Use R*_LP and omit operand-size suffix.
4394 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4396 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4397 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4398 * sysdeps/x86_64/x32/shlib-versions: New file.
4400 2012-05-14 Roland McGrath <roland@hack.frob.com>
4402 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4403 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4404 Use _dl_fatal_printf instead.
4406 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4408 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4409 set if not set by the user. Do not allow for being unset.
4410 * sysdeps/unix/sysv/linux/configure: Regenerated.
4412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4414 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4415 the `q' suffix from lea and replace .quad with ASM_ADDR.
4417 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4420 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4422 (PTR_DEMANGLE): Likewise.
4424 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4426 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4428 (ASM_ADDR): Likewise.
4446 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4448 * sysdeps/x86_64/x32/dl-machine.h: New file.
4450 2012-05-14 Andreas Jaeger <aj@suse.de>
4452 * manual/Makefile (subdir): Remove export of subdir.
4453 (all): Remove target.
4454 (.PHONY): Remove all from list.
4455 (mkinstalldirs): Remove.
4456 (.PHONY): Remove installdirs from list.
4457 ($(inst_infodir)/libc.info): Use make-target-directory.
4458 (installdirs): Remove.
4460 (glibc-targets): Remove.
4463 ($(objpfx)stubs ../po/manual.pot): Remove.
4464 ($(objpfx)stamp%): Remove.
4465 (make-target-directory): Remove.
4466 (subdir_install): Remove.
4474 * manual/.gitignore: Remove, it's not needed anymore.
4475 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4477 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4479 (texis): Renamed to $(objpfx)texis.
4480 (texis-path): New, contains path to generated files.
4481 (chapters.%): Use texis-path for complete path, add extra argument
4483 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4484 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4485 (summary,texi, stamp-summary): Use complete path of
4486 files. Generate files in build dir.
4487 (dir-add.texi): Build in build dir.
4488 (libm-err.texi,stamp-libm-err): Likewise.
4489 (version.texi, stamp-version): Likewise.
4490 (.%c.texi): Likewise.
4491 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4492 (mostlyclean): Remove target.
4493 (realclean): Remove target.
4494 (generated): Add new variable with contents from mostlyclean and
4495 realclean, remove entries duplicated in common-mostlyclean, add
4496 stamp-libm-err and stamp-version.
4497 (generated-dirs): Add libc directory.
4498 ($(inst_infodir)/libc.info): Install files from build dir.
4500 * manual/install.texi (Configuring and compiling): Adjust since
4501 the info files are not part of the tar ball anymore.
4503 2012-05-14 Andreas Jaeger <aj@suse.de>
4505 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4508 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4511 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4512 to 2.2.0 where earlier.
4513 * sysdeps/unix/sysv/linux/configure: Regenerated.
4514 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4515 Remove conditional code.
4516 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4517 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4518 Remove conditional code.
4519 [!__NR_lchown]: Likewise.
4520 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4521 [__NR_lchown]: Likewise.
4522 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4523 comment referencing __ASSUME_LCHOWN_SYSCALL.
4524 * sysdeps/unix/sysv/linux/i386/sigaction.c
4525 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4526 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4527 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4528 Remove conditional code.
4529 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4530 (__protocol_available): Remove #if 0 code.
4531 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4533 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4534 * sysdeps/unix/sysv/linux/kernel-features.h
4535 (__ASSUME_GETCWD_SYSCALL): Don't define.
4536 (__ASSUME_REALTIME_SIGNALS): Likewise.
4537 (__ASSUME_PREAD_SYSCALL): Likewise.
4538 (__ASSUME_PWRITE_SYSCALL): Likewise.
4539 (__ASSUME_POLL_SYSCALL): Likewise.
4540 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4541 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4543 (__ASSUME_SIOCGIFNAME): Don't define.
4544 (__ASSUME_MSG_NOSIGNAL): Likewise.
4545 (__ASSUME_SENDFILE): Define unconditionally.
4546 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4547 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4549 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4550 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4551 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4552 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4553 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4554 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4555 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4557 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4560 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4563 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4564 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4566 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4569 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4572 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4575 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4576 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4578 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4580 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4581 Remove conditional code.
4582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4583 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4584 Remove conditional code.
4585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4586 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4587 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4588 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4589 Remove conditional code.
4590 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4591 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4592 Remove conditional code.
4593 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4594 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4595 Remove conditional code.
4596 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4597 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4598 Remove conditional code.
4599 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4600 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4601 Remove conditional code.
4602 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4603 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4604 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4605 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4606 * sysdeps/unix/sysv/linux/sigaction.c
4607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4609 * sysdeps/unix/sysv/linux/sigpending.c
4610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4612 * sysdeps/unix/sysv/linux/sigprocmask.c
4613 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4614 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4615 * sysdeps/unix/sysv/linux/sigsuspend.c
4616 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4617 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4618 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4619 (__libc_missing_rt_sigs): Remove.
4620 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4621 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4622 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4623 Remove conditional code.
4624 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4625 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4627 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4628 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4629 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4630 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4632 2012-05-14 Andreas Jaeger <aj@suse.de>
4634 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4635 it's not used in glibc.
4636 (__coshm1): Likewise.
4637 (__acosh1p): Likewise.
4640 * manual/string.texi (Copying and Concatenation): Add missing
4641 variable in concat example.
4642 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4644 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4647 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4648 __builtin_clzl with __builtin_clzll.
4650 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4653 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4656 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4658 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4659 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4660 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4661 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4663 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4665 * NEWS: Update ia64 info.
4667 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4669 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4672 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4674 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4675 * sysdeps/unix/syscalls.list (dup3): Likewise.
4676 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4677 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4679 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4681 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4682 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4684 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4686 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4688 (TLS_IE): Use mov/add instead of movq/addq to load thread
4690 (TLS_GD_PREFIX): New.
4693 2012-05-11 David S. Miller <davem@davemloft.net>
4695 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4696 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4697 (_FPU_SETCW): Likewise.
4699 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4701 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4704 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4707 * iconvdata/gb18030.c: Update tables.
4708 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4709 characters specially.
4710 (BODY for TO_LOOP): Add encoding of missing ranges.
4712 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4715 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4716 * sysdeps/mach/hurd/dup3.c: Likewise.
4717 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4718 * sysdeps/powerpc/memmove.c:: Likewise.
4720 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4723 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4725 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4727 * elf/elf.h (R_X86_64_RELATIVE64): New.
4728 (R_X86_64_NUM): Updated.
4729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4730 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4731 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4732 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4733 tst-quad1pie tst-quad2pie
4734 (modules-names): Add tst-quadmod1 tst-quadmod2.
4735 ($(objpfx)tst-quad1): New dependency.
4736 ($(objpfx)tst-quad2): Likewise.
4737 ($(objpfx)tst-quad1pie): Likewise.
4738 ($(objpfx)tst-quad2pie): Likewise.
4739 * sysdeps/x86_64/tst-quad1.c: New file.
4740 * sysdeps/x86_64/tst-quad1pie.c: New file.
4741 * sysdeps/x86_64/tst-quad2.c: Likewise.
4742 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4743 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4744 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4745 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4746 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4750 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4751 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4752 * streams/stropts.h (t_scalar_t): Define type.
4754 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4755 (_PATH_PRESERVE): Set to "/var/lib".
4756 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4758 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4761 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4762 if __dir_mkfile succeeded.
4764 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4765 checking for _hurd_dtablesize. Unlock it right after having
4766 finished _hurd_dtable allocation.
4768 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4770 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4771 * sysdeps/mach/hurd/configure: Regenerated.
4772 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4773 special-casing to...
4774 * sysdeps/gnu/configure.in: ... this new file.
4775 * sysdeps/unix/sysv/linux/configure: Regenerated.
4776 * sysdeps/gnu/configure: New generated file.
4778 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4779 for Linux: use nsec instead of usec, as well as:
4780 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4781 members of type struct timespec.
4782 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4784 (struct stat64): Likewise.
4785 (_STATBUF_ST_NSEC): New macro.
4786 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4788 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4789 __strtoul_internal rather than strtoul.
4791 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4793 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4796 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4798 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4799 which preserves existing values.
4800 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4802 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4804 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4805 TIMEOUT values. Return EINVAL for NFDS values either negative or
4806 greater than FD_SETSIZE.
4808 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4810 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4811 allocated, call __vm_protect to finish enabling the existing space, and
4812 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4813 allocate the remainder.
4815 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4817 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4818 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4820 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4822 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4823 sysdeps/mach/hurd/readlink.c.
4825 * posix/tst-sysconf.c (posix_options): Only use
4826 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4827 _POSIX_SYNCHRONIZED_IO when they are defined
4828 * sysdeps/mach/hurd/bits/posix_opt.h:
4829 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4830 (_XOPEN_REALTIME): Undefine macro.
4831 (_XOPEN_REALTIME_THREADS): Undefine macro.
4832 (_XOPEN_SHM): Undefine macro.
4833 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4835 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4837 (_POSIX_ASYNC_IO): Undefine macro.
4838 (_POSIX_PRIORITIZED_IO): Undefine macro.
4839 (_POSIX_SPIN_LOCKS): Define macro to -1.
4841 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4842 SA_NODEFER, SA_RESETHAND.
4843 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4844 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4847 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4849 * elf/Makefile (pldd-modules): Define unconditionally.
4851 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4853 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4855 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4857 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4858 Return ENOENT when name is empty.
4859 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4861 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4863 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4865 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4867 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4869 Fix mlock in all cases except non-readable pages.
4870 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4871 instead of VM_PROT_ALL as parameter to __vm_wire function.
4873 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4874 (__mkdir): When path is `/', just fail with EEXIST.
4875 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4877 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4879 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4880 <sys/uio.h> (for writev).
4881 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4882 and <sys/param.h> (for MIN).
4884 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4886 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4887 REQUESTED_TIME. Properly set the remaining time and return EINTR
4890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4892 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4893 Depend on against $(link-rpcuserlibs).
4895 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4897 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4898 (__libc_stack_end): Do not use attribute_relro.
4899 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4900 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4901 to libthread-provided value.
4902 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4905 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4908 * bits/libc-lock.h (__libc_once_get): New macro.
4909 * sysdeps/mach/bits/libc-lock.h: Likewise.
4910 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4911 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4912 instead of using implementation details.
4914 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4915 * libio/freopen.c: Likewise.
4916 * libio/freopen64.c: Likewise.
4917 * misc/syslog.c: Likewise.
4918 * nscd/connections.c: Likewise.
4919 * nscd/netgroupcache.c: Likewise.
4920 * sysdeps/posix/getcwd.c: Likewise.
4922 2012-05-10 Roland McGrath <roland@hack.frob.com>
4924 * math/w_ilogbf.c: Add #include <limits.h>.
4926 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4928 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4929 path instead of returning without unlocking.
4931 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4932 immediate-write ioctls.
4933 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4935 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4937 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4938 __builtin_frame_address instead of making assumptions about the
4939 location of the return address relative to DATA. Force early load of
4941 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4942 __builtin_frame_address.
4945 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4946 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4947 implement dup3 and do some further code clean-ups.
4948 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4949 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4951 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4953 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4955 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4956 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4957 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4958 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4959 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4962 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4963 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4964 when handler == SIG_ERR, not when handler != SIG_ERR.
4966 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4968 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4969 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4972 accept4 for GNU Hurd.
4973 * include/sys/socket.h (__libc_accept4): New prototype.
4974 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4975 to implement __libc_accept4.
4976 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4978 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4980 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4981 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4982 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4985 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4987 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4989 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4991 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4992 assertion on O_CLOEXEC flag.
4993 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4994 * hurd/intern-fd.c: Likewise.
4995 * hurd/port2fd.c: Likewise.
4997 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5000 * bits/in.h (IPV6_PKTINFO): Define new macro.
5001 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5003 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5008 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5009 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5010 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5011 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5013 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5014 * math/libm-test.inc (logb_test) : Additional logb tests.
5016 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5017 Andreas Jaeger <aj@suse.de>
5019 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5020 * configure: Regenerated.
5021 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5022 * config.make.in (link-obsolete-rpc): New substituted variable.
5023 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5024 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5025 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5026 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5027 so that libc.a contains the symbols.
5028 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5029 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5030 * sunrpc/auth_none.c: Likewise.
5031 * sunrpc/auth_unix.c: Likewise.
5032 * sunrpc/authdes_prot.c: Likewise.
5033 * sunrpc/authuxprot.c: Likewise.
5034 * sunrpc/clnt_gen.c: Likewise.
5035 * sunrpc/clnt_perr.c: Likewise.
5036 * sunrpc/clnt_raw.c: Likewise.
5037 * sunrpc/clnt_simp.c: Likewise.
5038 * sunrpc/clnt_tcp.c: Likewise.
5039 * sunrpc/clnt_udp.c: Likewise.
5040 * sunrpc/clnt_unix.c: Likewise.
5041 * sunrpc/des_crypt.c: Likewise.
5042 * sunrpc/des_soft.c: Likewise.
5043 * sunrpc/get_myaddr.c: Likewise.
5044 * sunrpc/key_call.c: Likewise.
5045 * sunrpc/key_prot.c: Likewise.
5046 * sunrpc/netname.c: Likewise.
5047 * sunrpc/pm_getmaps.c: Likewise.
5048 * sunrpc/pm_getport.c: Likewise.
5049 * sunrpc/pmap_clnt.c: Likewise.
5050 * sunrpc/pmap_prot.c: Likewise.
5051 * sunrpc/pmap_prot2.c: Likewise.
5052 * sunrpc/pmap_rmt.c: Likewise.
5053 * sunrpc/publickey.c: Likewise.
5054 * sunrpc/rpc_cmsg.c: Likewise.
5055 * sunrpc/rpc_common.c: Likewise.
5056 * sunrpc/rpc_dtable.c: Likewise.
5057 * sunrpc/rpc_prot.c: Likewise.
5058 * sunrpc/rpc_thread.c: Likewise.
5059 * sunrpc/rtime.c: Likewise.
5060 * sunrpc/svc.c: Likewise.
5061 * sunrpc/svc_auth.c: Likewise.
5062 * sunrpc/svc_raw.c: Likewise.
5063 * sunrpc/svc_run.c: Likewise.
5064 * sunrpc/svc_tcp.c: Likewise.
5065 * sunrpc/svc_udp.c: Likewise.
5066 * sunrpc/svc_unix.c: Likewise.
5067 * sunrpc/svcauth_des.c: Likewise.
5068 * sunrpc/xcrypt.c: Likewise.
5069 * sunrpc/xdr.c: Likewise.
5070 * sunrpc/xdr_array.c: Likewise.
5071 * sunrpc/xdr_float.c: Likewise.
5072 * sunrpc/xdr_intXX_t.c: Likewise.
5073 * sunrpc/xdr_mem.c: Likewise.
5074 * sunrpc/xdr_rec.c: Likewise.
5075 * sunrpc/xdr_ref.c: Likewise.
5076 * sunrpc/xdr_sizeof.c: Likewise.
5077 * sunrpc/xdr_stdio.c: Likewise.
5079 2012-05-10 Roland McGrath <roland@hack.frob.com>
5081 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5082 change. Update copyright years.
5084 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5086 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5088 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5089 Joseph Myers <joseph@codesourcery.com>
5090 Paul Pluzhnikov <ppluzhnikov@google.com>
5093 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5095 [cross-compiling] (extra-libs): Likewise.
5096 [cross-compiling] (extra-libs-others): Likewise.
5097 [cross-compiling] (librpcsvc-routines): Likewise.
5098 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5099 [cross-compiling] (omit-deps): Likewise.
5100 (sunrpc-CPPFLAGS): New variable.
5101 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5102 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5103 (cross-rpcgen-objs): New variable.
5104 (extra-objs): Append $(cross-rpcgen-objs).
5105 ($(cross-rpcgen-objs)): New rule.
5106 ($(objpfx)cross-rpcgen): Likewise.
5107 (rpcgen-cmd): Define to use $(built-program-file). Expand
5109 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5110 ($(objpfx)x%.stmp): Likewise.
5111 * sunrpc/proto.h [IS_IN_build] (_): Define.
5112 [IS_IN_build] (_libc_intl_domainname): Likewise.
5114 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5116 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5117 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5118 and R_X86_64_TPOFF64.
5120 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5122 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5123 sysdeps/unix/sysv/syscalls.list.
5126 * sysdeps/unix/sysv/syscalls.list: Remove file.
5128 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5131 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5132 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5133 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5134 (__LC_IDENTIFICATION): Make these macros useful in #if
5135 expressions, as required by C99.
5137 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5139 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5140 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5143 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5145 * stdlib/longlong.h: Updated from GCC.
5147 2012-05-09 Andreas Jaeger <aj@suse.de>
5149 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5150 default is first entry.
5151 (run_mode): Set type.
5152 (main): Remove informal message about syslog.
5153 (options): Fix typo.
5156 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5159 (llrintf): Likewise.
5163 (nearbyint): Likewise.
5164 (nearbyintf): Likewise.
5166 2012-05-09 Andreas Jaeger <aj@suse.de>
5167 Pedro Alves <palves@redhat.com>
5169 * nscd/nscd.c (run_mode): Use enum.
5170 (main): Cleanup coding style issue.
5172 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5173 Andreas Jaeger <aj@suse.de>
5175 * nscd/nscd.c (go_background): Replaced with...
5176 (run_mode): ... this.
5177 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5178 (options): Add -F --foreground.
5179 (main): Implement it.
5180 (parse_opt): Parse it.
5182 2012-05-09 Andreas Jaeger <aj@suse.de>
5185 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5186 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5187 -Wconversion warning.
5188 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5191 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5193 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5195 (LC_ALL): Use macro-int-constant.
5196 (LC_COLLATE): Likewise.
5197 (LC_CTYPE): Likewise.
5198 (LC_MESSAGES): Likewise.
5199 (LC_MONETARY): Likewise.
5200 (LC_NUMERIC): Likewise.
5201 (LC_TIME): Likewise.
5202 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5203 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5205 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5207 [C99-based standards] (float_t): Expect type.
5208 [C99-based standards] (double_t): Expect type.
5209 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5211 [C99-based standards] (HUGE_VALL): Likewise.
5212 [C99-based standards] (INFINITY): Likewise.
5213 [C99-based standards] (NAN): Likewise.
5214 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5215 [C99-based standards] (FP_NAN): Likewise.
5216 [C99-based standards] (FP_NORMAL): Likewise.
5217 [C99-based standards] (FP_SUBNORMAL): Likewise.
5218 [C99-based standards] (FP_ZERO): Likewise.
5219 [C99-based standards] (FP_FAST_FMA): Use
5220 optional-macro-int-constant. Specify type. Require == 1.
5221 [C99-based standards] (FP_FAST_FMAF): Likewise.
5222 [C99-based standards] (FP_FAST_FMAL): Likewise.
5223 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5224 [C99-based standards] (FP_ILOGBNAN): Likewise.
5225 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5227 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5228 [C99-based standards] (math_errhandling): Specify type.
5229 [ISO99 || ISO11] (signgam): Do not allow.
5230 [non-C99-based standards] (copysignf): Do not allow.
5231 [non-C99-based standards] (exp2f): Likewise.
5232 [non-C99-based standards] (log2f): Likewise.
5233 [non-C99-based standards] (modff): Allow.
5234 [non-C99-based standards] (erff): Do not allow.
5235 [non-C99-based standards] (erfcf): Likewise.
5236 [non-C99-based standards] (gammaf): Likewise.
5237 [non-C99-based standards] (hypotf): Likewise.
5238 [non-C99-based standards] (j0f): Likewise.
5239 [non-C99-based standards] (j1f): Likewise.
5240 [non-C99-based standards] (jnf): Likewise.
5241 [non-C99-based standards] (lgammaf): Likewise.
5242 [non-C99-based standards] (tgammaf): Likewise.
5243 [non-C99-based standards] (y0f): Likewise.
5244 [non-C99-based standards] (y1f): Likewise.
5245 [non-C99-based standards] (ynf): Likewise.
5246 [non-C99-based standards] (isnanf): Likewise.
5247 [non-C99-based standards] (acoshf): Likewise.
5248 [non-C99-based standards] (asinhf): Likewise.
5249 [non-C99-based standards] (atanhf): Likewise.
5250 [non-C99-based standards] (cbrtf): Likewise.
5251 [non-C99-based standards] (expm1f): Likewise.
5252 [non-C99-based standards] (ilogbf): Likewise.
5253 [non-C99-based standards] (log1pf): Likewise.
5254 [non-C99-based standards] (logbf): Likewise.
5255 [non-C99-based standards] (nextafterf): Likewise.
5256 [non-C99-based standards] (remainderf): Likewise.
5257 [non-C99-based standards] (rintf): Likewise.
5258 [non-C99-based standards] (scalbf): Likewise.
5259 [non-C99-based standards] (copysignl): Likewise.
5260 [non-C99-based standards] (exp2l): Likewise.
5261 [non-C99-based standards] (log2l): Likewise.
5262 [non-C99-based standards] (modfl): Allow.
5263 [non-C99-based standards] (erfl): Do not allow.
5264 [non-C99-based standards] (erfcl): Likewise.
5265 [non-C99-based standards] (gammal): Likewise.
5266 [non-C99-based standards] (hypotl): Likewise.
5267 [non-C99-based standards] (j0l): Likewise.
5268 [non-C99-based standards] (j1l): Likewise.
5269 [non-C99-based standards] (jnl): Likewise.
5270 [non-C99-based standards] (lgammal): Likewise.
5271 [non-C99-based standards] (tgammal): Likewise.
5272 [non-C99-based standards] (y0l): Likewise.
5273 [non-C99-based standards] (y1l): Likewise.
5274 [non-C99-based standards] (ynl): Likewise.
5275 [non-C99-based standards] (isnanl): Likewise.
5276 [non-C99-based standards] (acoshl): Likewise.
5277 [non-C99-based standards] (asinhl): Likewise.
5278 [non-C99-based standards] (atanhl): Likewise.
5279 [non-C99-based standards] (cbrtl): Likewise.
5280 [non-C99-based standards] (expm1l): Likewise.
5281 [non-C99-based standards] (ilogbl): Likewise.
5282 [non-C99-based standards] (log1pl): Likewise.
5283 [non-C99-based standards] (logbl): Likewise.
5284 [non-C99-based standards] (nextafterl): Likewise.
5285 [non-C99-based standards] (remainderl): Likewise.
5286 [non-C99-based standards] (rintl): Likewise.
5287 [non-C99-based standards] (scalbl): Likewise.
5288 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5289 [non-C99-based standards] (FP_*): Do not allow.
5290 [C99-based standards] (FP_*): Change to
5291 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5292 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5294 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5295 (SIG_ERR): Likewise.
5296 [X/Open-based standards] (SIG_HOLD): Likewise.
5297 (SIG_IGN): Likewise.
5298 (SIGABRT): Use macro-int-constant. Specify type. Require
5303 (SIGSEGV): Likewise.
5305 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5306 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5307 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5308 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5309 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5310 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5311 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5312 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5313 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5314 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5315 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5316 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5317 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5318 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5319 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5320 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5321 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5322 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5323 [X/Open-based standards] (SIGTRAP): Likewise.
5324 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5325 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5326 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5327 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5328 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5331 2012-05-08 Ian Wienand <ianw@vmware.com>
5334 * time/tzset.c (__tzset_parse_tz): Update default rules for
5335 daylight time changes in the Energy Policy Act of 2005.
5337 2012-05-09 Andreas Jaeger <aj@suse.de>
5340 * elf/ldconfig.c (parse_conf): Change string to make clear that
5341 ldconfig only issued a warning if ld.so.conf does not exist.
5343 2012-05-08 David S. Miller <davem@davemloft.net>
5345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5346 movxtod instead of popping the value on the stack.
5348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5350 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5352 * config.h.in: Add HAVE_ARM_PCS_VFP.
5354 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5357 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5358 checking but the checks are disabled for any reason.
5360 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5362 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5363 and ELF64_R_TYPE with ELFW(R_TYPE).
5365 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5367 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5370 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5371 (settimeofday): Likewise.
5373 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5375 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5376 a struct th_u2 inside the union, and move tu_block/tu_code into
5377 a new th_u3 union of tu_block/tu_code inside of that. Move
5378 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5379 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5380 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5381 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5382 (th_stuff): Change to th_u1.tu_stuff.
5384 (th_msg): Change to th_u1.th_u2.tu_data.
5386 2012-05-07 David S. Miller <davem@davemloft.net>
5388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5391 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5392 (SETUP_PIC_REG): Use it.
5393 (SETUP_PIC_REG_LEAF): Use it.
5395 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5399 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5401 (EXPL_FINITE): Likewise.
5403 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5404 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5406 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5408 (EXPL_FINITE): Likewise.
5410 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5411 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5413 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5414 test of -max_value argument for long double.
5415 * sysdeps/i386/fpu/libm-test-ulps: Update.
5416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5418 2012-05-06 David S. Miller <davem@davemloft.net>
5420 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5421 quad soft-float symbols whose references which are compiler
5423 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5425 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5429 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5431 (EXPL_FINITE): Likewise.
5435 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5436 Adjust comments for base varying.
5437 (__expl_finite): Change alias to EXPL_FINITE.
5438 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5440 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5441 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5443 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5444 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5446 (EXPL_FINITE): Likewise.
5450 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5451 Adjust comments for base varying.
5452 (__expl_finite): Change alias to EXPL_FINITE.
5453 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5458 * math/libm-test.inc (check_float_internal): Correct ulp
5459 calculation for subnormal expected results.
5461 2012-05-06 Andreas Jaeger <aj@suse.de>
5463 * Makeconfig (+math-flags): New, set to -frounding-math.
5464 (+cflags): Add +math-flags so that all of glibc gets compiled with
5467 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5469 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5471 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5477 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5478 (__ieee754_expl): Allow for and saturate large arguments.
5479 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5480 (u_threshold): Likewise.
5481 (__exp): Call __ieee754_exp before checking for overflow and
5483 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5484 (u_threshold): Likewise.
5485 (__expf): Call __ieee754_expf before checking for overflow and
5487 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5488 (u_threshold): Likewise.
5489 (__expl): Call __ieee754_expl before checking for overflow and
5491 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5492 (__ieee754_expl): Allow for and saturate large arguments.
5493 * math/libm-test.inc (exp_test): Add another test. Do not allow
5494 missing overflow exception on overflow.
5495 (expm1_test): Do not allow missing overflow exception on overflow.
5497 * sysdeps/i386/fpu/e_expl.c: Move to ...
5498 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5499 rather than using inline asm.
5500 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5501 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5502 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5504 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5511 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5513 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5514 sysdeps/unix/common/syscalls.list.
5517 (ftruncate): Likewise.
5518 (getrusage): Likewise.
5519 (gettimeofday): Likewise.
5520 (setpgid): Likewise.
5521 (setregid): Likewise.
5522 (setreuid): Likewise.
5523 (sigaction): Likewise.
5524 (truncate): Likewise.
5525 (vhangup): Likewise.
5526 * sysdeps/unix/common/syscalls.list: Remove file.
5527 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5528 * sysdeps/unix/sysv/linux/Implies: Likewise.
5530 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5532 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5534 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5538 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5541 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5544 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5547 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5550 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5553 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5556 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5560 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5564 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5567 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5571 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5575 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5577 * sysdeps/unix/common/bits/dirent.h: Remove file.
5578 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5580 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5581 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5582 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5583 * sysdeps/unix/bsd/isatty.c: Likewise.
5584 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5585 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5586 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5588 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5591 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5592 long double comparison inaccuracies.
5593 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5596 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5598 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5599 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5601 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5604 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5605 nonzero digits before rounding a hex value.
5606 * stdlib/tst-strtod.c (tests): Add another test.
5608 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5610 * sysdeps/s390/fpu/libm-test-ulps: Update.
5612 2012-05-03 Andreas Jaeger <aj@suse.de>
5614 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5615 does not get optimized out.
5616 (malloc_opt_barrier): New.
5618 2012-05-03 Andreas Jaeger <aj@suse.de>
5619 Roland McGrath <roland@hack.frob.com>
5621 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5622 intermediate file deletion.
5623 (generated): Add .symlist files.
5625 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5628 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5629 Redirect under this condition.
5630 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5631 [__USE_GNU] (__dprintf_chk): Not under this condition.
5632 [__USE_GNU] (__vdprintf_chk): Likewise.
5633 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5634 under this condition.
5635 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5636 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5637 [__USE_XOPEN2K8] (vdprintf): Likewise.
5638 [__USE_GNU] (__dprintf_chk): Not under this condition.
5639 [__USE_GNU] (__vdprintf_chk): Likewise.
5640 [__USE_GNU] (dprintf): Likewise.
5641 [__USE_GNU] (vdprintf): Likewise.
5643 2012-05-03 Roland McGrath <roland@hack.frob.com>
5645 * elf/Makefile (common-generated): Set this instead of generated for
5646 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5647 $(all-built-dso)-derived lists.
5649 2012-05-03 Andreas Jaeger <aj@suse.de>
5651 * sysdeps/i386/fpu/libm-test-ulps: Update.
5655 * scripts/gen-FAQ.pl: Likewise.
5656 * manual/install.texi (Installation): Point to online location of
5658 * Makefile (files-for-dist): Remove FAQ.
5661 2012-05-02 Allan McRae <allan@archlinux.org>
5663 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5664 (LDFLAGS-reldepmod5.so): Likewise.
5665 (LDFLAGS-reldep6mod1.so): Likewise.
5666 (LDFLAGS-reldep6mod4.so): Likewise.
5667 (LDFLAGS-reldep8mod3.so): Likewise.
5668 (LDFLAGS-unload4mod1.so): Likewise.
5669 (LDFLAGS-unload4mod2.so): Likewise.
5670 (LDFLAGS-tst-initorder): Likewise.
5671 (LDFLAGS-tst-initordera2.so): Likewise.
5672 (LDFLAGS-tst-initordera3.so): Likewise.
5673 (LDFLAGS-tst-initordera4.so): Likewise.
5674 (LDFLAGS-tst-initorderb2.so): Likewise.
5675 (LDFLAGS-noload): Likewise.
5676 (LDFLAGS-next): Likewise.
5677 (LDFLAGS-order2mod1.so): Likewise.
5678 (LDFLAGS-order2mod2.so): Likewise.
5679 (LDFLAGS-tst-initorder2): Likewise.
5680 (LDFLAGS-tst-initorder2a.so): Likewise.
5681 (LDFLAGS-tst-initorder2b.so): Likewise.
5682 (LDFLAGS-tst-initorder2c.so): Likewise.
5683 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5685 2012-05-02 David S. Miller <davem@davemloft.net>
5687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5689 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5692 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5694 2012-05-02 Andreas Jaeger <aj@suse.de>
5696 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5697 since we manipulate rounding mode.
5698 (CPPFLAGS-test-idouble.c): Likewise.
5699 (CPPFLAGS-test-ifloat.c): Likewise.
5700 (CFLAGS-test-ldouble.c): Likewise.
5701 (CFLAGS-test-double.c): Likewise.
5702 (CFLAGS-test-float.c): Likewise.
5703 (CFLAGS-test-misc.c): Likewise.
5704 (CFLAGS-test-test-fenv.c): Likewise.
5706 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5710 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5711 comparisons to determine direction to adjust input.
5713 2012-05-01 Roland McGrath <roland@hack.frob.com>
5715 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5716 output to the target.
5718 * scripts/localplt.awk: New file.
5719 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5720 (check-localplt-CFLAGS): Variable removed.
5721 ($(all-built-dso:=.jmprel)): New static pattern rule.
5722 (generated): Add those targets.
5723 (localplt-built-dso): New variable.
5724 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5726 * elf/check-localplt.c: File removed.
5728 * scripts/check-execstack.awk: New file.
5729 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5730 (check-execstack-CFLAGS): Variable removed.
5731 ($(objpfx)check-execstack.h): Target removed.
5732 ($(objpfx)execstack-default): New target.
5733 (generated): Add that instead of check-execstack.h.
5734 ($(all-built-dso:=.phdr)): New static pattern rule.
5735 (generated): Add those targets.
5736 * elf/check-execstack.c: File removed.
5738 * scripts/check-textrel.awk: New file.
5739 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5740 (check-textrel-CFLAGS): Variable removed.
5741 (all-built-dso): Use := to define.o
5742 ($(all-built-dso:=.dyn)): New static pattern rule.
5743 (generated): Add those targets.
5744 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5745 * config.make.in (READELF): New substituted variable.
5746 * elf/check-textrel.c: File removed.
5748 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5750 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5752 * conform/data/ctype.h-data [C99-based standards] (isblank):
5754 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5755 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5756 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5757 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5758 Specify type. Require positive value.
5761 [ISO || POSIX] (EILSEQ): Do not expect.
5762 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5763 Specify type. Require positive value.
5764 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5765 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5766 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5767 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5768 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5769 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5770 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5771 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5772 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5773 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5774 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5775 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5776 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5777 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5778 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5779 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5780 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5781 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5782 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5783 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5784 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5785 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5786 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5787 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5788 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5789 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5790 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5791 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5792 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5793 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5794 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5795 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5796 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5797 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5798 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5799 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5800 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5801 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5802 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5803 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5804 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5805 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5806 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5807 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5808 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5809 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5810 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5811 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5812 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5813 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5814 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5815 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5816 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5817 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5818 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5819 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5820 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5821 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5822 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5823 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5824 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5825 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5826 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5827 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5828 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5829 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5831 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5832 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5833 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5835 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5836 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5838 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5839 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5840 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5842 (FLT_ROUNDS): Expect as macro, not constant.
5843 (FLT_MANT_DIG): Use macro-int-constant.
5844 (DBL_MANT_DIG): Likewise.
5845 (LDBL_MANT_DIG): Likewise.
5846 (FLT_DIG): Likewise.
5847 (DBL_DIG): Likewise.
5848 (LDBL_DIG): Likewise.
5849 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5850 (DBL_MIN_EXP): Likewise.
5851 (LDBL_MIN_EXP): Likewise.
5852 (FLT_MAX_EXP): Use macro-int-constant.
5853 (DBL_MAX_EXP): Likewise.
5854 (LDBL_MAX_EXP): Likewise.
5855 (FLT_MAX_10_EXP): Likewise.
5856 (DBL_MAX_10_EXP): Likewise.
5857 (LDBL_MAX_10_EXP): Likewise.
5858 (FLT_MAX): Use macro-constant.
5859 (DBL_MAX): Likewise.
5860 (LDBL_MAX): Likewise.
5861 (FLT_EPSILON): Use macro-constant. Give upper bound.
5862 (DBL_EPSILON): Likewise.
5863 (LDBL_EPSILON): Likewise.
5864 (FLT_MIN): Likewise.
5865 (DBL_MIN): Likewise.
5866 (LDBL_MIN): Likewise.
5867 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5868 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5869 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5870 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5871 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5872 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5873 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5874 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5875 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5876 [ISO11] (FLT_TRUE_MIN): Likewise.
5877 [ISO11] (LDBL_TRUE_MIN): Likewise.
5878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5879 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5880 (SCHAR_MIN): Use macro-int-constant. Specify type.
5881 (SCHAR_MAX): Likewise.
5882 (UCHAR_MAX): Likewise.
5883 (CHAR_MIN): Likewise.
5884 (CHAR_MAX): Likewise.
5885 (MB_LEN_MAX): Use macro-int-constant.
5886 (SHRT_MIN): Use macro-int-constant. Specify type.
5887 (SHRT_MAX): Likewise.
5888 (USHRT_MAX): Likewise.
5889 (INT_MAX): Likewise.
5890 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5892 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5894 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5896 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5897 bound negative. Suffix upper bound with "L".
5898 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5900 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5902 [C99-based standards] (LLONG_MAX): Likewise.
5903 [C99-based standards] (ULLONG_MAX): Likewise.
5904 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5906 [ISO11] (max_align_t): Require type.
5907 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5909 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5910 from $CFLAGS, without defining away __attribute__ calls.
5911 (checknamespace): Use $CFLAGS_namespace.
5913 * conform/conformtest.pl (@keywords): Only include C99 keywords
5914 for standards based on C99 or C11.
5916 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5918 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5921 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5922 usability of symbols in #if.
5924 * conform/conformtest.pl: If macro or constant types start
5925 "promoted:", expect the symbol to be of the following type
5926 promoted by the integer promotions.
5928 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5929 in one place. Also handle "macro-constant".
5931 * conform/conformtest.pl: Only accept expected macro values with
5932 "==". Parse all "macro" lines in one place.
5933 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5935 * conform/conformtest.pl: Handle braced types on "constant" lines
5936 instead of handling "typed-constant".
5937 * conform/data/signal.h-data: Use "constant" instead of
5940 * conform/conformtest.pl: Handle "optional-" at start of lines in
5941 one place rather than duplicating several cases. Handle each
5942 format of "macro" line with initial "optional-".
5944 * conform/conformtest.pl: Only accept expected constant or
5945 optional-constant values with "==". Parse all "constant" lines in
5946 one place. Parse all "optional-constant" lines in one place.
5947 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5948 * conform/data/fmtmsg.h-data: Likewise.
5949 * conform/data/netinet/in.h-data: Likewise.
5950 * conform/data/tar.h-data: Likewise.
5951 * conform/data/limits.h-data: Use "==" form on "constant" and
5952 "optional-constant" lines.
5954 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5955 Use -std=c99 for XOPEN2K.
5956 (@knownproblems): Remove.
5957 (newtoken): Don't check %isknown.
5959 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5960 Do not expect macro.
5961 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5962 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5963 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5964 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5965 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5966 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5967 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5968 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5969 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5970 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5971 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5972 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5973 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5974 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5975 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5976 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5977 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5978 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5979 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5980 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5981 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5982 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5983 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5984 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5985 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5986 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5987 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5988 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5989 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5990 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5991 [XPG3] (acosh): Likewise.
5992 [XPG3] (asinh): Likewise.
5993 [XPG3] (atanh): Likewise.
5994 [XPG3] (cbrt): Likewise.
5995 [XPG3] (expm1): Likewise.
5996 [XPG3] (ilogb): Likewise.
5997 [XPG3] (log1p): Likewise.
5998 [XPG3] (logb): Likewise.
5999 [XPG3] (nextafter): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6002 [XPG3] (remainder): Likewise.
6003 [XPG3] (rint): Likewise.
6004 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6011 [UNIX98 || XOPEN2K] (scalb): Expect.
6012 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6013 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6015 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6016 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6017 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6018 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6019 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6020 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6021 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6022 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6023 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6024 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6025 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6026 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6027 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6028 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6029 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6032 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6033 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6035 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6036 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6037 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6041 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6042 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6043 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6045 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6046 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6047 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6048 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6049 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6050 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6051 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6052 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6053 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6054 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6055 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6056 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6057 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6058 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6059 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6060 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6061 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6062 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6063 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6064 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6065 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6066 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6067 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6068 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6069 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6070 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6071 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6072 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6073 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6074 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6075 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6076 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6077 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6078 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6079 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6080 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6081 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6082 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6083 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6084 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6085 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6086 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6087 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6088 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6089 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6090 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6091 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6092 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6093 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6094 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6095 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6096 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6097 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6098 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6099 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6100 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6101 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6102 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6103 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6104 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6105 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6106 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6107 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6108 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6109 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6110 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6111 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6112 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6113 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6114 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6115 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6116 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6117 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6118 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6119 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6120 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6121 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6122 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6123 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6124 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6125 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6126 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6127 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6128 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6129 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6130 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6131 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6132 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6133 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6134 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6135 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6136 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6137 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6138 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6139 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6140 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6141 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6142 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6143 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6144 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6145 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6146 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6147 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6148 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6150 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6151 _XOPEN_SOURCE_EXTENDED for XPG4.
6153 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6155 * Makeconfig (localtime): Remove variable.
6156 (inst_localtime-file): Likewise.
6158 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6179 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6183 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6184 comparisons to determine direction to adjust input.
6185 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6186 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6187 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6189 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6191 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6193 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6194 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6196 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6198 * math/libm-test.inc (nexttoward_test): Add more tests.
6200 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6204 in version GLIBC_2.1, not GLIBC_2.0.
6205 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6208 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6211 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6213 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6214 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6215 * math/libm-test.inc (acos_test): Add more tests.
6216 (asin_test): Likewise.
6217 * sysdeps/i386/fpu/libm-test-ulps: Update.
6218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6221 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6223 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6224 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6225 * math/libm-test.inc (acos_test_tonearest): New function.
6226 (acos_test_towardzero): Likewise.
6227 (acos_test_downward): Likewise.
6228 (acos_test_upward): Likewise.
6229 (asin_test_tonearest): Likewise.
6230 (asin_test_towardzero): Likewise.
6231 (asin_test_downward): Likewise.
6232 (asin_test_upward): Likewise.
6233 (main): Call the new functions.
6234 * sysdeps/i386/fpu/libm-test-ulps: Update.
6235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6239 * math/e_exp10.c: Include <float.h>.
6240 (__ieee754_exp10): Handle underflow here rather than multiplying
6241 large negative argument by M_LN10.
6242 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6244 * math/e_exp10l.c: Include <float.h>.
6245 (__ieee754_exp10l): Handle underflow here rather than multiplying
6246 large negative argument by M_LN10l.
6247 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6248 spurious overflow exception on underflow.
6250 2012-04-29 Marek Polacek <polacek@redhat.com>
6252 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6253 (__fortify_function): New macro.
6254 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6255 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6256 __extern_always_inline.
6257 * libio/bits/stdio2.h: Likewise.
6258 * libio/bits/stdio.h: Likewise.
6259 * string/string.h: Likewise.
6260 * string/bits/string3.h: Likewise.
6261 * include/stdio.h: Likewise.
6262 * stdlib/bits/stdlib.h: Likewise.
6263 * stdlib/stdlib.h: Likewise.
6264 * rt/bits/mqueue2.h: Likewise.
6265 * rt/mqueue.h: Likewise.
6266 * posix/bits/unistd.h: Likewise.
6267 * posix/unistd.h: Likewise.
6268 * io/bits/poll2.h: Likewise.
6269 * io/bits/fcntl2.h: Likewise.
6270 * io/fcntl.h: Likewise.
6271 * io/sys/poll.h: Likewise.
6272 * misc/bits/syslog.h: Likewise.
6273 * misc/bits/syslog-ldbl.h: Likewise.
6274 * misc/sys/syslog.h: Likewise.
6275 * socket/bits/socket2.h: Likewise.
6276 * socket/sys/socket.h: Likewise.
6277 * debug/tst-chk1.c: Likewise.
6278 * wcsmbs/bits/wchar2.h: Likewise.
6279 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6280 * wcsmbs/wchar.h: Likewise.
6282 2012-04-29 Andreas Jaeger <aj@suse.de>
6284 * Makerules (tests): Remove enable-check-abi protection.
6285 (check-abi-warn): Remove.
6286 (check-abi-%): Remove check-abi-warn usage.
6288 * configure.in: Remove check-abi configure option.
6289 * configure: Regenerated.
6290 * config.make.in (enable-check-abi): Remove.
6292 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6295 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6296 double functions to double *_finite functions.
6299 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6300 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6302 * stdio-common/Makefile (tests): Add tst-sprintf3.
6303 * stdio-common/tst-sprintf3.c: New file.
6305 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6306 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6308 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6310 * conform/conformtest.pl: Remove duplicate typed-constant
6313 2012-04-28 David S. Miller <davem@davemloft.net>
6315 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6316 (check-abi-%): Remove AWK script prerequisite and explicit
6318 (check-abi): Rewrite to just diff the symlist with the abilist.
6319 (config-tls, config-abi-config): Delete, no longer used.
6320 (update-abi-%): Remove AWK script and explicit abilist directory.
6321 (update-abi): Rewrite to simply compare and conditionally copy the
6322 symlist and the sysdep abilist file. Remove update-abi-config
6324 * abilist/ld.abilist: Remove.
6325 * abilist/libBrokenLocale.abilist: Remove.
6326 * abilist/libanl.abilist: Remove.
6327 * abilist/libcrypt.abilist: Remove.
6328 * abilist/libdl.abilist: Remove.
6329 * abilist/librt.abilist: Remove.
6330 * abilist/libthread_db.abilist: Remove.
6331 * abilist/libutil.abilist: Remove.
6332 * scripts/extract-abilist.awk: Remove.
6333 * scripts/merge-abilist.awk: Remove.
6334 * sysdeps/generic/libcidn.abilist: New file.
6335 * sysdeps/generic/libnss_compat.abilist: New file.
6336 * sysdeps/generic/libnss_db.abilist: New file.
6337 * sysdeps/generic/libnss_dns.abilist: New file.
6338 * sysdeps/generic/libnss_files.abilist: New file.
6339 * sysdeps/generic/libnss_hesiod.abilist: New file.
6340 * sysdeps/generic/libnss_nis.abilist: New file.
6341 * sysdeps/generic/libnss_nisplus.abilist: New file.
6342 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6343 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6344 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6346 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6347 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6348 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6349 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6350 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6351 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6352 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6353 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6354 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6356 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6357 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6358 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6359 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6361 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6362 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6363 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6364 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6365 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6366 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6368 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6369 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6370 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6372 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6475 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6476 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6477 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6480 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6481 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6482 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6483 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6484 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6485 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6486 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6487 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6488 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6540 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6542 * conform/conformtest.pl: Fix typo in handling typed-constant from
6545 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6547 * README: Cut down references to pre-2.6 Linux kernels and
6548 Linuxthreads. Update lists of configurations in libc and ports
6549 and sort alphabetically. Say "or newer" with Linux kernel version
6552 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6554 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6557 * math/libm-test.inc (logb_test_downward): New test to expose
6558 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6561 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6564 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6566 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6567 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6569 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6571 * sysdeps/unix/i386/brk.S: Remove file.
6572 * sysdeps/unix/i386/dl-brk.S: Likewise.
6573 * sysdeps/unix/i386/pipe.S: Likewise.
6574 * sysdeps/unix/i386/sigreturn.S: Likewise.
6575 * sysdeps/unix/i386/syscall.S: Likewise.
6576 * sysdeps/unix/i386/vfork.S: Likewise.
6577 * sysdeps/unix/i386/wait.S: Likewise.
6579 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6580 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6582 * configure.in (arm*-none*): Do not allow without
6583 --enable-hacker-mode.
6584 (netbsd*): Remove case setting base_os.
6585 (386bsd*): Likewise.
6586 (freebsd*): Likewise.
6590 (ultrix*): Likewise.
6591 (newsos*): Likewise.
6601 (solaris[2-9]*): Likewise.
6603 * configure: Regenerated.
6605 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6608 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6609 overflow or cancellation in calculating denominator.
6610 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6612 down expression to avoid unexpected rounding in newer GCCs.
6613 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6615 2012-04-26 David S. Miller <davem@davemloft.net>
6617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6618 long-double compat symbols.
6619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6633 2012-04-25 David S. Miller <davem@davemloft.net>
6635 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6636 HWCAP_* values only after the memory barriers have been defined.
6637 (atomic_full_barrier): Define.
6638 (atomic_read_barrier): Define.
6639 (atomic_write_barrier): Define.
6641 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6643 * shlib-versions: Add libgcc_s version information.
6644 * sysdeps/generic/libgcc_s.h: Remove.
6645 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6647 * sysdeps/gnu/unwind-resume.c: Likewise.
6648 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6650 2012-04-25 David S. Miller <davem@davemloft.net>
6652 * sysdeps/unix/sparc/brk.S: Delete.
6653 * sysdeps/unix/sparc/dl-brk.S: Delete.
6654 * sysdeps/unix/sparc/pipe.S: Delete.
6655 * sysdeps/unix/sparc/sysdep.S: Delete.
6656 * sysdeps/unix/sparc/sysdep.h: Delete.
6657 * sysdeps/unix/sparc/vfork.S: Delete.
6658 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6659 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6660 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6661 ret_ERRVAL, r0, r1, MOVE): Define.
6662 (JUMPTARGET): Remove.
6663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6664 sysdeps/unix/sparc/sysdep.h
6665 (ENTRY, END): Remove.
6666 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6668 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6670 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6671 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6674 * timezone/README: Update upstream location and email address for
6676 * timezone/zdump.c: Update from tzcode 2012b.
6677 * timezone/zic.c: Likewise.
6679 * configure.in (libc_cv_as_needed): Remove test.
6680 * configure: Regenerated.
6681 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6682 conditional definition.
6683 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6684 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6685 * config.make.in (have-as-needed): Remove variable.
6687 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6688 Paul Pluzhnikov <ppluzhnikov@google.com>
6690 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6693 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6695 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6696 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6697 * sysdeps/sh/strlen.S: Likewise.
6699 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6701 * sysdeps/unix/fork.S: Remove file.
6702 * sysdeps/unix/i386/fork.S: Likewise.
6703 * sysdeps/unix/sparc/fork.S: Likewise.
6705 * sysdeps/unix/system.c: Remove file.
6706 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6708 * sysdeps/unix/getegid.S: Remove file.
6709 * sysdeps/unix/geteuid.S: Likewise.
6711 2012-04-24 Roland McGrath <roland@hack.frob.com>
6713 * scripts/check-localplt.awk: New file.
6714 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6716 * scripts/data/localplt-generic.data: Add a comment.
6718 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6719 NODE when __dir_mkfile failed.
6720 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6721 Reported by Ludovic Courtès <ludo@gnu.org>.
6723 2012-04-24 Andreas Jaeger <aj@suse.de>
6725 * Makerules (common-clean): Also remove gen-as-const-headers
6728 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6730 * Makerules (native-compile): Do not change working directory for
6731 build. Use $(OUTPUT_OPTION) in command.
6732 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6734 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6737 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6738 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6739 * math/libm-test.inc (floor_test): Add more tests.
6740 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6742 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6744 * sysdeps/unix/getdents.c: Remove file.
6745 * sysdeps/unix/sysv/getdents.c: Likewise.
6746 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6748 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6749 sysdeps/unix/mman/syscalls.list.
6751 (mprotect): Likewise.
6754 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6755 * sysdeps/unix/mman/syscalls.list: Remove.
6756 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6758 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6759 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6760 * configure: Regenerated.
6761 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6763 * config.make.in (libgcc_s_suffix): Remove variable.
6765 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6767 * sysdeps/unix/sysv/gethostname.c: Move to ...
6768 * sysdeps/posix/gethostname.c: ... here.
6770 * sysdeps/unix/execve.S: Remove file.
6772 * sysdeps/unix/_exit.S: Remove file.
6774 2012-04-23 Andreas Jaeger <aj@suse.de>
6777 * manual/Makefile: Remove make dist support, there's no
6778 need for a stand-alone documentation tar ball.
6779 (TEXI2DVI): Define always, it's not in Makeconfig.
6783 (glibc-doc-$(edition).tar): Removed
6787 (ETAGS): Remove, it's in Makeconfig.
6788 (move-if-change): Remove, it's in Makeconfig.
6790 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6793 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6794 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6795 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6796 (strtod_l, strtof_l, strtold_l): Remove __wur.
6797 It is not necessarily an error to ignore strtol's return value.
6798 One can reliably look at the stored endptr to decide whether
6799 the number had valid syntax.
6801 2012-04-21 Andreas Jaeger <aj@suse.de>
6804 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6806 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6808 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6809 * sysdeps/unix/sysv/Versions: Remove file.
6811 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6816 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6820 version from __vm86.
6822 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6824 * sysdeps/unix/common/lxstat.c: Remove file.
6825 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6827 * sysdeps/unix/sysv/Makefile: Remove file.
6829 * sysdeps/unix/sysv/direct.h: Remove file.
6831 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6832 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6833 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6834 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6835 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6836 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6837 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6839 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6841 * sysdeps/unix/xmknod.c: Remove file.
6842 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6844 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6846 * sysdeps/unix/sysv/i386/time.S: Remove file.
6848 * sysdeps/unix/fxstat.c: Remove file.
6849 * sysdeps/unix/xstat.c: Likewise.
6850 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6852 * sysdeps/unix/sysv/sigaction.c: Remove file.
6854 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6855 (sysdep_headers): Remove variable.
6856 [termio.h not in sysdep_headers] (generated): Likewise.
6857 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6858 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6859 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6860 * sysdeps/unix/sysv/tcflow.c: Likewise.
6861 * sysdeps/unix/sysv/tcflush.c: Likewise.
6862 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6863 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6864 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6865 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6866 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6868 * sysdeps/unix/siglist.c: Remove file.
6870 * sysdeps/unix/getppid.S: Remove file.
6872 * sysdeps/unix/mkdir.c: Remove file.
6873 * sysdeps/unix/rmdir.c: Likewise.
6875 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6877 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6879 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6880 errlist-compat value.
6882 2012-04-18 David S. Miller <davem@davemloft.net>
6884 * sysdeps/generic/memcopy.h (reg_char): Delete.
6885 * debug/strcat_chk.c: Use char, not reg_char.
6886 * debug/strcpy_chk.c: Likewise.
6887 * debug/strncat_chk.c: Likewise.
6888 * debug/strncpy_chk.c: Likewise.
6889 * string/memchr.c: Likewise.
6890 * string/memrchr.c: Likewise.
6891 * string/rawmemchr.c: Likewise.
6892 * string/strcat.c: Likewise.
6893 * string/strchr.c: Likewise.
6894 * string/strchrnul.c: Likewise.
6895 * string/strcmp.c: Likewise.
6896 * string/strcpy.c: Likewise.
6897 * string/strncat.c: Likewise.
6898 * string/strncmp.c: Likewise.
6899 * string/strncpy.c: Likewise.
6901 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6903 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6904 __builtin_memcopy is called when src and dest ranges are known to not
6907 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6909 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6910 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6911 fwd_align_merge macro call.
6912 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6913 bwd_align_merge macro call.
6914 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6916 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6918 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6919 bwd_align_merge macros.
6920 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6921 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6922 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6924 2012-04-18 David S. Miller <davem@davemloft.net>
6926 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6928 2012-04-18 Andreas Jaeger <aj@suse.de>
6931 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6932 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6933 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6935 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6936 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6937 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6939 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6940 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6941 Adjust for changed ldbl-128 files.
6943 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6944 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6945 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6947 2012-04-17 David S. Miller <davem@davemloft.net>
6949 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6951 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6953 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6954 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6955 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6956 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6957 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6958 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6960 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6963 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6964 * math/libm-test.inc: Add ilogb errno and exception tests.
6965 * math/w_ilogb.c: New file: ilogb wrapper.
6966 * math/w_ilogbf.c: New file: ilogbf wrapper.
6967 * math/w_ilogbl.c: New file: ilogbl wrapper.
6968 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6969 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6970 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6971 exception being thrown with 0.0 as argument.
6972 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6973 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6974 exception being thrown with 0.0 as argument.
6975 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6976 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6977 exception being thrown with 0.0 as argument.
6978 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6979 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6980 exception being thrown with 0.0 as argument.
6981 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6982 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6984 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6985 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6986 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6987 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6988 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6989 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6991 2012-04-17 Petr Baudis <pasky@ucw.cz>
6993 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6996 2012-04-16 Marek Polacek <polacek@redhat.com>
6998 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7000 2012-04-16 Marek Polacek <polacek@redhat.com>
7002 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7003 operands of fdivp instruction.
7005 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7007 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7008 * elf/tst-auditmod3b.c: Likewise.
7009 * elf/tst-auditmod4b.c: Likewise.
7010 * elf/tst-auditmod5b.c: Likewise.
7011 * elf/tst-auditmod6b.c: Likewise.
7012 * elf/tst-auditmod6c.c: Likewise.
7013 * elf/tst-auditmod7b.c: Likewise.
7014 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7015 * sysdeps/x86_64/preconfigure.in: Likewise.
7016 * sysdeps/x86_64/preconfigure: Regenerated.
7018 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7020 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7023 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7026 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7028 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7031 * locale/iso-639.def: Fix gl language name. Spotted by
7034 2012-04-12 Roland McGrath <roland@hack.frob.com>
7037 * libio/libio.h (__io_write_fn): Update comment.
7039 2012-04-12 Petr Baudis <pasky@ucw.cz>
7042 * stdio.texi (Hook Functions): The user provided writer function
7043 is not allowed to return -1.
7045 2012-04-11 David S. Miller <davem@davemloft.net>
7047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7049 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7051 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7052 Add a leading slash to rtkaio.
7054 2012-04-11 Jim Meyering <meyering@redhat.com>
7057 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7058 It is not necessarily an error to ignore fwrite's return
7059 value. One can reliably use ferror to test for errors after
7062 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7064 * bits/types.h (__snseconds_t): New type.
7065 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7067 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7069 (__SNSECONDS_T_TYPE): Likewise.
7070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7071 (__SNSECONDS_T_TYPE): Likewise.
7072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7073 (__SNSECONDS_T_TYPE): Likewise.
7075 2012-04-10 Andreas Jaeger <aj@suse.de>
7078 * manual/time.texi (Processor Time): Return type of times is
7079 elapsed real time since an arbitrary point in the past.
7080 (CPU Time): Move CLK_TCK from here...
7081 (Processor Time): ...to here. Correct description.
7082 * manual/conf.texi (Constants for Sysconf): Correct description of
7085 2012-04-10 David S. Miller <davem@davemloft.net>
7088 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7089 where the is a gap between DT_REL(A) and DT_JMPREL.
7091 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7093 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7094 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7095 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7097 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7099 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7100 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7101 (dl_main): Handle --inhibit-cache.
7102 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7104 * elf/dl-load.c (_dl_map_object): Use it.
7105 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7107 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7110 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7111 (__ieee754_powl): Saturate large exponents rather than testing for
7112 overflow of y*log2(x).
7113 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7114 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7118 * math/s_ctan.c: Include <float.h>.
7119 (__ctan): Avoid internal overflow or cancellation in calculating
7121 * math/s_ctanf.c: Likewise.
7122 * math/s_ctanl.c: Likewise.
7123 * math/s_ctanh.c: Likewise.
7124 * math/s_ctanhf.c: Likewise.
7125 * math/s_ctanhl.c: Likewise.
7126 * math/libm-test.inc (ctan_test): Add more tests.
7127 (ctanh_test): Likewise.
7128 * sysdeps/i386/fpu/libm-test-ulps: Update.
7129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7131 2012-04-09 Andreas Jaeger <aj@suse.de>
7134 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7135 is an optional BSD extension.
7138 * manual/stdio.texi (Opening Streams): Document additional fopen
7141 2012-04-09 Roland McGrath <roland@hack.frob.com>
7143 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7144 %eax without telling the compiler.
7146 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7149 * manual/install.texi: Use sourceware.org.
7151 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7154 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7155 (__ieee754_pow): Generate overflow and underflow using huge*huge
7156 and tiny*tiny rather than just returning constant infinity or zero
7157 for large exponents.
7158 * math/libm-test.inc (pow_test): Require overflow exceptions for
7159 applicable cases of large exponents.
7162 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7163 (__ieee754_pow): Use iterative multiplication algorithm only for
7164 integer exponents with absolute value below 1024. Check for odd
7165 integer exponents when using algorithm for real exponents.
7166 * math/libm-test.inc (pow_test): Add more tests.
7167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7169 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7172 * math/libm-test.inc (exp_test): Do not allow overflow exception
7175 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7178 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7179 instead of __kernel_standard_f.
7181 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7183 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7184 * sysdeps/x86_64/memset_chk.S: Likewise.
7186 2012-04-08 Andreas Jaeger <aj@suse.de>
7189 * manual/startup.texi (Environment Access): Describe return value
7190 for putenv and setenv.
7193 * manual/filesys.texi (Directory Entries): Add description for
7197 * manual/filesys.texi (Directory Entries): Clarify that it's file
7198 system not operating system in the description of DT_UNKNOWN.
7201 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7203 2012-04-08 Stephen Compall <s11@member.fsf.org>
7206 * manual/llio.texi (Opening and Closing Files): Add cross
7207 reference to explain mode argument.
7209 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7211 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7212 * sysdeps/x86_64/memset_chk.S: Likewise.
7214 2012-04-07 David S. Miller <davem@davemloft.net>
7216 * elf/elf.h (R_SPARC_WDISP10): Define.
7217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7220 R_SPARC_SIZE64 and R_SPARC_H34.
7222 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7224 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7225 conditions and remove no longer applicable assertion.
7227 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7229 * bits/byteswap.h: Include <features.h>.
7230 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7231 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7233 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7235 * bits/byteswap.h (__bswap_16): Removed.
7236 Include <bits/byteswap-16.h> to get __bswap_16.
7237 * sysdeps/i386/bits/byteswap.h: Likewise.
7238 * sysdeps/s390/bits/byteswap.h: Likewise.
7239 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7240 * bits/byteswap-16.h: New file.
7241 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7242 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7243 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7244 * string/Makefile (headers): Add bits/byteswap-16.h.
7246 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7249 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7251 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7252 * nss/tst-nss-static.c: New.
7254 2012-04-06 Robert Millan <rmh@gnu.org>
7257 * manual/llio.texi (File Position Primitive): lseek
7258 refers to WHENCE when it really means OFFSET.
7260 2012-04-06 Andreas Jaeger <aj@suse.de>
7262 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7263 strncmp declarations.
7265 * abilist/libc.abilist: Add __poll and __ppoll.
7267 2012-04-05 David S. Miller <davem@davemloft.net>
7269 * scripts/check-local-headers.sh: Accept a host triplet in the
7270 path matched by the exclude regexp.
7272 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7274 * sysdeps/powerpc/powerpc32/dl-machine.h
7275 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7276 * sysdeps/s390/s390-32/dl-machine.h
7277 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7278 * sysdeps/sparc/sparc32/dl-machine.h
7279 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7280 * sysdeps/sparc/sparc64/dl-machine.h
7281 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7283 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7285 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7286 undefined symbol errors.
7288 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7291 2012-04-05 Michael Matz <matz@suse.de>
7294 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7296 2012-04-05 Andreas Jaeger <aj@suse.de>
7299 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7302 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7304 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7305 which ROUND is no valid rounding mode.
7307 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7309 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7311 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7313 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7315 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7316 an exception using FPU order intentionally.
7318 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7320 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7321 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7322 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7323 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7325 2012-04-05 Simon Josefsson <simon@josefsson.org>
7328 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7329 EINVAL when BUFLEN is too smal.
7331 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7334 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7335 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7337 2012-04-03 Andreas Jaeger <aj@suse.de>
7340 * manual/setjmp.texi (System V contexts): Fix sentence.
7343 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7344 New macro for this case.
7345 [!__GNUC__] (__bswap_64): New inline function for this case.
7346 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7347 * bits/byteswap.h: Likewise.
7348 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7349 ull, guard with __GLIBC_HAVE_LONG_LONG.
7351 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7352 __GLIBC_HAVE_LONG_LONG.
7354 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7355 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7357 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7360 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7361 inptr and inend, rather than using last_ch.
7363 2012-04-02 David S. Miller <davem@davemloft.net>
7365 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7366 * stdio-common/printf-parse.h (read_int): Change return type to
7367 'int', return -1 on INT_MAX overflow.
7368 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7369 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7370 overflows INT_MAX. Check for overflow of in-format-string precision
7371 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7372 SIZE_MAX not INT_MAX for integer overflow test.
7373 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7374 skip the construct in the format string but do not record anything.
7375 * stdio-common/bug22.c: Adjust to test both width/prevision
7376 INT_MAX overflow as well as total length INT_MAX overflow. Check
7377 explicitly for proper errno values.
7379 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7381 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7383 * string/test-strcmp.c [! WIDE]: Likewise.
7384 * time/tst-mktime2.c: Likewise for INT_MAX.
7385 * string/test-string.h: #include <sys/param.h> for MIN.
7387 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7388 * sysdeps/i386/init-first.c (init): Likewise.
7389 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7390 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7391 * sysdeps/sh/init-first.c (init): Likewise.
7393 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7395 * po/ru.po: Update from translation team.
7396 * po/vi.po: Likewise.
7398 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7400 * resolv/nss_dns/dns-host.c: Merge copyright years.
7402 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7404 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7405 Optimize memcpy with prefetch if
7406 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7407 src, dst pointers have unequal 16 byte alignments.
7409 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7412 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7413 from a CNAME entry and return the minimum ttl for the query.
7414 (gaih_getanswer_slice): Likewise.
7416 2012-03-30 Jeff Law <law@redhat.com>
7418 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7420 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7421 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7423 * resolv/nss_dns/dns-host.c: Update copyright year.
7425 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7427 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7428 requests to save a system call. Fix check that all bytes are sent.
7430 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7431 comments for sendmmsg.
7433 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7436 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7437 with only 1 character between 0x0041 and 0x01b0.
7438 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7439 * wcsmbs/tst-mbsnrtowcs.c: New file.
7441 2012-03-29 David S. Miller <davem@davemloft.net>
7443 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7444 small copies by hand.
7446 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7449 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7450 _nss_compat_initgroups_dyn): Fall back to malloc/free
7451 for large group memberships.
7453 2012-03-28 David S. Miller <davem@davemloft.net>
7455 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7456 that branches into memcpy.
7457 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7458 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7460 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7463 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7465 * sysdeps/sparc/mempcpy.S: New file.
7467 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7468 the IFUNC routine in the libc case.
7469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7471 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7472 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7473 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7474 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7475 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7476 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7477 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7478 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7480 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7481 loop to 256 bytes instead of 64 bytes and fix test signedness.
7483 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7484 * sysdeps/sparc/sparc32/Makefile: rather than here...
7485 * sysdeps/sparc/sparc64/Makefile: and here.
7487 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7489 * malloc/mallocbug.c: Avoid warnings about unused variables.
7491 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7494 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7495 in the right place. Discard and retry query if response is
7496 larger than input buffer size.
7498 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7503 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7504 x for large integer exponent.
7505 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7506 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7507 sign of result as needed afterwards.
7508 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7509 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7510 result for underflowing pow the same as for overflow.
7511 (__kernel_standard_l): Handle powl overflow and underflow here
7512 rather than calling __kernel_standard.
7513 * math/libm-test.inc (pow_test): Add more tests.
7528 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7529 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7530 (__kernel_standard_l): New function.
7531 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7533 * math/w_acosl.c (__acosl): Likewise.
7534 * math/w_asinl.c (__asinl): Likewise.
7535 * math/w_atan2l.c (__atan2l): Likewise.
7536 * math/w_atanhl.c (__atanhl): Likewise.
7537 * math/w_coshl.c (__coshl): Likewise.
7538 * math/w_exp10l.c (__exp10l): Likewise.
7539 * math/w_exp2l.c (__exp2l): Likewise.
7540 * math/w_fmodl.c (__fmodl): Likewise.
7541 * math/w_hypotl.c (__hypotl): Likewise.
7542 * math/w_j0l.c (__j0l, __y0l): Likewise.
7543 * math/w_j1l.c (__j1l, __y1l): Likewise.
7544 * math/w_jnl.c (__jnl, __ynl): Likewise.
7545 * math/w_lgammal.c (__lgammal): Likewise.
7546 * math/w_log10l.c (__log10l): Likewise.
7547 * math/w_log2l.c (__log2l): Likewise.
7548 * math/w_logl.c (__logl): Likewise.
7549 * math/w_powl.c (__powl): Likewise.
7550 * math/w_remainderl.c (__remainderl): Likewise.
7551 * math/w_scalbl.c (sysv_scalbl): Likewise.
7552 * math/w_sinhl.c (__sinhl): Likewise.
7553 * math/w_sqrtl.c (__sqrtl): Likewise.
7554 * math/w_tgammal.c (__tgammal): Likewise.
7555 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7556 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7557 * math/libm-test.inc (acos_test): Add more tests.
7558 (acosh_test): Likewise.
7559 (asin_test): Likewise.
7560 (atanh_test): Likewise.
7561 (exp_test): Likewise.
7562 (exp10_test): Likewise.
7563 (exp2_test): Likewise.
7564 (expm1_test): Likewise.
7565 (lgamma_test): Likewise.
7566 (log_test): Likewise.
7567 (log10_test): Likewise.
7568 (log1p_test): Likewise.
7569 (log2_test): Likewise.
7570 (pow_test): Do not allow some spurious overflow exceptions.
7571 (sqrt_test): Add more tests.
7572 (tgamma_test): Likewise.
7573 (y0_test): Likewise.
7574 (y1_test): Likewise.
7575 (yn_test): Likewise.
7577 2012-03-27 Anton Blanchard <anton@samba.org>
7579 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7581 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7582 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7583 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7585 2012-03-27 David S. Miller <davem@davemloft.net>
7587 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7589 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7592 2012-03-27 Andreas Jaeger <aj@suse.de>
7594 * sysdeps/x86_64/elf/configure.in: Moved to ...
7595 * sysdeps/x86_64/configure.in: ... here.
7596 * sysdeps/x86_64/elf/start.S: Moved to ...
7597 * sysdeps/x86_64/start.S: ... here.
7598 * sysdeps/x86_64/elf/configure: Delete.
7600 * sysdeps/x86_64/configure.in: Merge contents from
7601 sysdeps/i386/configure.in (without i686 check).
7603 * sysdeps/i386/elf/Versions: Merge into ...
7604 * sysdeps/i386/Versions: ... this.
7605 * sysdeps/i386/elf/Versions: Delete file.
7606 * sysdeps/i386/elf/start.S: Moved to ...
7607 * sysdeps/i386/start.S: ...here.
7608 * sysdeps/i386/elf/configure.in: Merge into...
7609 * sysdeps/i386/configure.in: ...here.
7610 * sysdeps/i386/elf/configure.in: Delete file.
7611 * sysdeps/i386/elf/configure: Delete file.
7613 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7614 * debug/backtracesyms.c: ... here.
7615 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7616 * debug/backtracesymsfd.c: ... here.
7617 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7618 * sysdeps/generic/ifunc-sel.h: ... here.
7620 * sysdeps/unix/i386/start.c: Delete file.
7621 * sysdeps/unix/sparc/start.c: Delete file.
7622 * sysdeps/unix/start.c: Delete file.
7624 * sysdeps/sh/elf/configure.in: Moved to ...
7625 * sysdeps/sh/configure.in: ... here.
7626 * sysdeps/sh/elf/start.S: Moved to ...
7627 * sysdeps/sh/start.S: ... here.
7628 * sysdeps/sh/elf/configure: Delete file.
7630 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7631 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7632 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7633 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7634 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7635 * sysdeps/powerpc/powerpc64/start.S: here.
7636 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7637 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7638 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7639 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7640 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7642 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7643 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7644 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7645 * sysdeps/powerpc/powerpc32/start.S: ... here.
7646 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7647 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7648 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7650 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7651 * sysdeps/powerpc/ifunc-sel.h: ... here.
7652 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7653 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7655 * sysdeps/sparc/elf/configure.in: Moved to ...
7656 * sysdeps/sparc/configure.in: ... here.
7657 * sysdeps/sparc/elf/configure: Delete file.
7658 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7659 * sysdeps/sparc/sparc32/start.S: ... here.
7660 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7661 * sysdeps/sparc/sparc64/start.S: ... here.
7662 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7663 * sysdeps/sparc/sparc32/Makefile: ... this.
7664 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7665 * sysdeps/sparc/sparc64/Makefile: ... this.
7667 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7668 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7669 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7670 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7671 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7672 * sysdeps/s390/s390-32/setjmp.S: ... here.
7673 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7674 * sysdeps/s390/s390-32/configure.in: ... here.
7675 * sysdeps/s390/s390-32/elf/configure: Delete file.
7676 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7677 * sysdeps/s390/s390-32/start.S: ... here.
7679 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7680 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7681 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7682 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7683 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7684 * sysdeps/s390/s390-64/setjmp.S: ... here.
7685 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7686 * sysdeps/s390/s390-64/configure.in: ... here
7687 * sysdeps/s390/s390-64/elf/configure: Delete file.
7688 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7689 * sysdeps/s390/s390-64/start.S: ... here.
7690 * sysdeps/s390/s390-64/elf/configure: Delete.
7692 * configure.in: Remove support for elf directories in sysdeps.
7694 * configure: Regenerated.
7695 * sysdeps/i386/configure: Regenerated.
7696 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7697 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7698 * sysdeps/s390/s390-32/configure: Regenerated.
7699 * sysdeps/s390/s390-64/configure: Regenerated.
7700 * sysdeps/sh/configure: Regenerated.
7701 * sysdeps/sparc/configure: Regenerated.
7702 * sysdeps/x86_64/configure: Regenerated.
7704 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7708 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7709 denormal result into account.
7711 2012-03-25 Roland McGrath <roland@hack.frob.com>
7713 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7714 Reported by Allan McRae <allan@archlinux.org>.
7716 2012-03-23 Jeff Law <law@redhat.com>
7718 * nss/getnssent.c (__nss_getent): Fix typo.
7720 2012-03-23 David S. Miller <davem@davemloft.net>
7722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7724 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7726 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7727 to pad to uint64_t for each field.
7728 (dl_tls_index): Replace unsigned long with uint64_t.
7730 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7731 Paul Pluzhnikov <ppluzhnikov@google.com>
7734 * grp/Makefile (otherlibs): Don't set it.
7735 * inet/Makefile (otherlibs): Likewise.
7736 * login/Makefile (otherlibs): Likewise.
7737 * nscd/Makefile (otherlibs): Likewise.
7738 * posix/Makefile (otherlibs): Likewise.
7739 * pwd/Makefile (otherlibs): Likewise.
7740 * rt/Makefile (otherlibs): Likewise.
7741 * sunrpc/Makefile (otherlibs): Likewise.
7742 * nss/Makefile (otherlibs): Likewise.
7743 Add libnss_files to routines and static-only-routines.
7744 ($(objpfx)getent): Remove rule.
7745 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7746 static-only-routines.
7748 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7751 * math/s_cexp.c: Include <float.h>.
7752 (__cexp): Handle exp result overflowing not necessarily
7753 overflowing both real and imaginary parts of result.
7754 * math/s_cexpf.c: Likewise.
7755 * math/s_cexpl.c: Likewise.
7756 * math/libm-test.inc (cexp_test): Add more tests.
7757 * sysdeps/i386/fpu/libm-test-ulps: Update.
7758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7760 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7762 * include/link.h (ELFW): New macro.
7763 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7764 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7766 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7768 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7771 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7773 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7775 (struct La_x32_retval): Likewise.
7777 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7779 * sysdeps/x86_64/preconfigure.in: New file.
7780 * sysdeps/x86_64/preconfigure: New generated file.
7782 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7785 * math/e_exp2l.c: Include <float.h>.
7786 (__ieee754_exp2l): Handle overflow and underflow cases
7787 separately. Only pass fractional part of argument to
7789 * math/libm-test.inc (exp2_test): Add more tests.
7791 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7792 negating x to take absolute value.
7793 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7795 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7796 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7798 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7799 computing low part if x was negated.
7800 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7802 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7804 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7806 (pltexit): Cast int_retval to ptrdiff_t.
7807 * elf/tst-auditmod3b.c: Likewise.
7808 * elf/tst-auditmod4b.c: Likewise.
7809 * elf/tst-auditmod5b.c: Likewise.
7810 * elf/tst-auditmod6b.c: Likewise.
7811 * elf/tst-auditmod6c.c: Likewise.
7812 * elf/tst-auditmod7b.c: Likewise.
7814 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7815 and x32_gnu_pltexit.
7817 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7819 (La_x32_regs): New macro.
7820 (La_x32_retval): Likewise.
7821 (la_x32_gnu_pltenter): New function prototype.
7822 (la_x32_gnu_pltexit): Likewise.
7824 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7831 * configure.in (libc_cv_cc_nofma): Check for option to disable
7832 generation of FMA instructions.
7833 * configure: Regenerate.
7834 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7835 * sysdeps/ieee754/dbl-64/Makefile: New file.
7836 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7837 Remove brandred-fma4.
7838 (CFLAGS-brandred-fma4.c): Remove.
7839 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7840 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7842 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7845 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7847 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7848 LLONG_MAX != LONG_MAX.
7849 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7850 (_fitoa_word): Likewise.
7851 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7852 LLONG_MAX != LONG_MAX.
7853 * stdio-common/_itowa.h: Include <_itoa.h>.
7854 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7855 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7856 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7857 only if not defined.
7858 (_ITOA_WORD_TYPE): Likewise.
7859 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7860 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7862 2012-03-21 David S. Miller <davem@davemloft.net>
7864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7866 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7868 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7869 of x86_64 when setting libc_cv_slibdir, libdir and
7871 * sysdeps/unix/sysv/linux/configure: Regenerated.
7873 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7875 * manual/lang.texi (Old Varargs): Remove section.
7876 (How Variadic): Update menu.
7877 (va_start): Do not mention varargs.h.
7879 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7880 Joseph Myers <joseph@codesourcery.com>
7882 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7884 * configure: Regenerated.
7886 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7888 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7889 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7892 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7895 * Makefile (files-for-dist): Remove NOTES.
7896 (NOTES): Remove rule.
7897 * README: Don't refer to NOTES.
7898 * manual/creature.texi: Don't include macros.texi.
7899 * manual/intro.texi (creature.texi): Remove comment referring to
7902 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7903 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7904 * configure: Regenerated.
7905 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7907 (libc_cv_as_i686): Likewise.
7908 (libc_cv_cc_avx): Likewise.
7909 (libc_cv_cc_sse2avx): Likewise.
7910 (libc_cv_cc_fma4): Likewise.
7911 (libc_cv_cc_novzeroupper): Likewise.
7912 * sysdeps/i386/configure: Regenerated.
7915 * sysdeps/i386/fpu/s_cexp.S: Remove.
7916 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7917 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7918 * math/libm-test.inc (cexp_test): Add more tests.
7919 * sysdeps/i386/fpu/libm-test-ulps: Update.
7920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7922 2012-03-21 Allan McRae <allan@archlinux.org>
7924 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7926 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7929 * math/w_exp2.c: Do not include <float.h>.
7930 (o_threshold, u_threshold): Remove.
7931 (__exp2): Calculate result before checking finiteness and calling
7933 * math/w_exp2f.c: Likewise.
7934 * math/w_exp2l.c: Likewise.
7935 * math/libm-test.inc (exp2_test): Require overflow exception for
7939 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7940 range of signed 64-bit integers before using fistpll. Remove
7941 checks for whether integers fit in mantissa bits.
7942 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7943 the range of signed 32-bit integers before using fistpl. Remove
7944 checks for whether integers fit in mantissa bits.
7945 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7946 (__ieee754_powl): Test for y outside the range of signed 64-bit
7947 integers before using fistpll. Reduce 64-bit values to 63-bit
7949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7950 divide-by-zero is raised for zero to large negative powers.
7951 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7952 (__ieee754_powl): Test for y outside the range of signed 64-bit
7953 integers before using fistpll. Reduce 64-bit values to 63-bit
7955 * math/libm-test.inc (pow_test): Add more tests.
7957 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7959 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7960 <stdio-common/_itoa.h>.
7961 * debug/segfault.c: Likewise.
7962 * elf/dl-cache.c: Likewise.
7963 * elf/dl-minimal.c: Likewise.
7964 * elf/dl-misc.c: Likewise.
7965 * elf/dl-sysdep.c: Likewise.
7966 * elf/dl-version.c: Likewise.
7967 * elf/rtld.c: Likewise.
7968 * hurd/hurdsock.c: Likewise.
7969 * hurd/lookup-retry.c: Likewise.
7970 * malloc/malloc.c: Likewise.
7971 * malloc/mtrace.c: Likewise.
7972 * nscd/nscd_getgr_r.c: Likewise.
7973 * nscd/nscd_getpw_r.c: Likewise.
7974 * nscd/nscd_getserv_r.c: Likewise.
7975 * posix/getopt_init.c: Likewise.
7976 * posix/wordexp.c: Likewise.
7977 * stdio-common/_itoa.c: Likewise.
7978 * stdio-common/printf_fphex.c: Likewise.
7979 * stdio-common/vfprintf.c: Likewise.
7980 * string/_strerror.c: Likewise.
7981 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7982 * sysdeps/i386/i686/hp-timing.h: Likewise.
7983 * sysdeps/mach/_strerror.c: Likewise.
7984 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7985 * sysdeps/mach/hurd/sethostid.c: Likewise.
7986 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7987 * sysdeps/mach/xpg-strerror.c: Likewise.
7988 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7989 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7990 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7991 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7992 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7993 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7994 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7995 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7996 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7997 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7998 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7999 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8000 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8001 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8002 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8003 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8004 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8005 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8006 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8007 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8008 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8010 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8012 * stdio-common/_itoa.h: Moved to ...
8013 * sysdeps/generic/_itoa.h: Here.
8015 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8017 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8018 instead of "_itoa.h" and "_itowa.h".
8019 * stdio-common/vfprintf.: Likewise.
8021 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8023 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8025 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8026 (__signbit): Likwise.
8030 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8032 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8035 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8037 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8038 OVERFLOW_EXCEPTION_OK.
8039 * math/libm-test.inc ("Philosophy"): Update comment about
8041 (OVERFLOW_EXCEPTION): Define.
8042 (OVERFLOW_EXCEPTION_OK): Likewise.
8043 (INVALID_EXCEPTION_OK): Renumber.
8044 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8045 (IGNORE_ZERO_INF_SIGN): Likewise.
8046 (test_exceptions): Handle FE_OVERFLOW.
8047 (exp10_test): Expect overflow exceptions.
8048 (exp2_test): Likewise.
8049 (expm1_test): Likewise.
8050 (nextafter_test): Likewise.
8051 (pow_test): Likewise.
8052 (scalbn_test): Likewise.
8053 (scalbln_test): Likewise.
8055 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8057 * sysdeps/x86_64/bits/atomic.h
8058 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8060 (atomic_exchange_acq): Likewise.
8061 (__arch_exchange_and_add_body): Likewise.
8062 (__arch_add_body): Likewise.
8063 (atomic_add_negative): Likewise.
8064 (atomic_add_zero): Likewise.
8066 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8068 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8069 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8071 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8073 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8074 Check __x86_64__ instead of __WORDSIZE.
8076 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8078 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8080 2012-03-19 David S. Miller <davem@davemloft.net>
8082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8084 * sysdeps/sparc/fpu/fenv_private.h: New file.
8085 * sysdeps/sparc/fpu/math_private.h: Use it.
8086 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8088 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8089 (libc_feholdexcept_setroundl): Remove.
8090 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8092 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8093 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8095 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8097 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8098 int64_t instead of long int.
8099 (INSERT_WORDS64): Likwise.
8101 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8103 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8104 _Unwind_GetCFA return to _Unwind_Ptr first.
8106 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8109 * math/s_clog.c: Include <float.h>.
8110 (__clog): Scale large or subnormal inputs.
8111 * math/s_clogf.c: Likewise.
8112 * math/s_clogl.c: Likewise.
8113 * math/s_clog10.c: Include <float.h>.
8114 (M_LOG10_2): Define.
8115 (__clog10): Scale large or subnormal inputs.
8116 * math/s_clog10f.c: Likewise.
8117 * math/s_clog10l.c: Likewise.
8118 * math/libm-test.inc (clog_test): Add more tests.
8119 (clog10_test): Likewise.
8120 * sysdeps/i386/fpu/libm-test-ulps: Update.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8124 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8126 * math/libm-test.inc (atan2_test): Add another test.
8128 * Makerules (common-objdir-compile): Remove.
8129 * sysdeps/unix/Makefile (config-generated): Do not add
8130 $(unix-generated) to variable.
8131 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8132 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8134 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8136 [generic bits/local_lim.h] (before-compile): Do not append to
8138 [generic bits/local_lim.h] (common-generated): Likewise.
8139 [generic sys/param.h] (before-compile): Do not append to variable.
8140 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8141 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8142 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8143 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8145 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8146 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8147 [generic sys/param.h] ($(addprefix
8148 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8149 [generic sys/param.h] (common-generated): Do not append to
8151 [generic sys/param.h] (sysdep_headers): Likewise.
8152 [generic bits/errno.h] (before-compile): Do not append to
8154 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8156 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8157 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8158 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8159 [generic bits/errno.h] (common-generated): Do not append to
8161 [generic bits/ioctls.h] (before-compile): Do not append to
8163 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8165 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8166 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8167 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8169 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8170 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8171 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8172 [generic bits/ioctls.h] (common-generated): Do not append to
8174 [generic sys/syscall.h] (syscall.h): Remove variable.
8175 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8177 [generic sys/syscall.h] (before-compile): Do not append to
8179 [generic sys/syscall.h] (common-generated): Likewise.
8180 * sysdeps/unix/errnos-tmpl.c: Remove file.
8181 * sysdeps/unix/errnos.awk: Likewise.
8182 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8183 * sysdeps/unix/ioctls.awk: Likewise.
8184 * sysdeps/unix/mk-local_lim.c: Likewise.
8185 * sysdeps/unix/snarf-ioctls: Likewise.
8187 2012-03-19 Richard Henderson <rth@twiddle.net>
8189 * sysdeps/i386/fpu/fenv_private.h: New file.
8190 * sysdeps/i386/fpu/math_private.h: Use it.
8191 (math_opt_barrier, math_force_eval): Remove.
8192 (libc_feholdexcept_setround_53bit): Remove.
8193 (libc_feupdateenv_53bit): Remove.
8194 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8195 (math_opt_barrier, math_force_eval): Remove.
8196 (libc_feholdexcept): Remove.
8197 (libc_feholdexcept_setround): Remove.
8198 (libc_fetestexcept, libc_fesetenv): Remove.
8199 (libc_feupdateenv_test): Remove.
8200 (libc_feupdateenv, libc_feholdsetround): Remove.
8201 (libc_feresetround): Remove.
8203 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8204 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8206 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8207 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8208 (libc_feupdateenv_testl): New.
8209 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8210 (libc_feupdateenv_testf): New.
8211 (libc_feupdateenv): Use libc_feupdateenv_test.
8212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8213 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8215 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8216 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8217 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8218 (libc_feresetround_noex): New.
8219 (libc_feresetround_noexf): New.
8220 (libc_feresetround_noexl): New.
8221 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8222 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8223 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8224 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8229 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8230 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8231 SET_RESTORE_ROUND_NOEX.
8232 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8233 SET_RESTORE_ROUND_NOEXF.
8234 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8235 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8236 (libc_feholdsetroundf): New.
8237 (libc_feresetround, libc_feresetroundf): New.
8239 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8240 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8241 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8243 * sysdeps/generic/math_private.h: Include <fenv.h>.
8244 (default_libc_feholdexcept): New.
8245 (default_libc_feholdexcept_setround): New.
8246 (default_libc_fesetenv, default_libc_feupdateenv): New.
8247 (libc_feholdexcept): Only define if undefined.
8248 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8249 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8250 (libc_feholdexcept_setroundl): Likewise.
8251 (libc_feholdexcept_setround_53bit): Likewise.
8252 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8253 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8254 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8255 (libc_feupdateenv_53bit): Likewise.
8256 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8257 (libc_feholdexcept): Convert from macro to inline function.
8258 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8259 (libc_fesetenv, libc_feupdateenv): Likewise.
8261 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8262 not previously defined.
8263 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8264 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8265 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8266 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8267 * sysdeps/ieee754/flt-32/math_private.h: New file.
8268 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8269 math_private.h below SET_FLOAT_WORD.
8270 (__isnan, __isinf_ns, __finite): Remove.
8271 (__isnanf, __isinf_nsf, __finitef): Remove.
8273 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8277 2012-03-17 David S. Miller <davem@davemloft.net>
8280 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8283 2012-03-16 David S. Miller <davem@davemloft.net>
8285 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8289 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8291 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8292 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8293 sysdep_routines when subdir is sysvipc.
8294 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8297 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8299 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8301 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8304 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8306 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8307 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8308 (__lround): Renamed to ...
8309 (__llround): This. Replace long int with long long int.
8310 Define lround functions as aliases of llround functions.
8311 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8313 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8315 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8316 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8317 adresses to uintptr_t. Replace "long int" and "unsigned long
8318 int" with "greg_t" on va_arg.
8320 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8322 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8323 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8325 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8326 Move e_machine check before EI_CLASS check. Handle x32
8327 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8328 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8329 SKIP_EM_IA_64 and include
8330 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8332 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8333 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8334 (add_system_dir): New macro.
8336 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8337 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8339 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8350 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8352 * math/w_j0f.c (j0f): Likewise.
8354 * math/w_j0l.c (__j0l): Likewise.
8356 * math/w_j1.c (j1): Likewise.
8358 * math/w_j1f.c (j1f): Likewise.
8360 * math/w_j1l.c (__j1l): Likewise.
8362 * math/w_jn.c (jn): Likewise.
8364 * math/w_jnf.c (jnf): Likewise.
8366 * math/w_jnl.c (__jnl): Likewise.
8368 * math/libm-test.inc (j0_test): Add more tests.
8369 (j1_test): Likewise.
8370 (jn_test): Likewise. Add trailing semicolon to existing test.
8371 (y0_test): Likewise.
8372 (y1_test): Likewise.
8373 * sysdeps/i386/fpu/libm-test-ulps: Update.
8374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8378 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8379 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8380 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8381 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8382 (__tanl): Set errno for infinite argument.
8383 * sysdeps/i386/fpu/mptan.c: Remove.
8384 * sysdeps/i386/fpu/s_tan.S: Likewise.
8385 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8386 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8387 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8388 * math/libm-test.inc (tan_test): Add more tests and enable more
8389 tests for double and long double.
8390 * sysdeps/i386/fpu/libm-test-ulps: Update.
8391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8393 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8395 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8396 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8398 2012-03-16 Roland McGrath <roland@hack.frob.com>
8400 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8401 * configure.in: Use it for both main tree and add-ons.
8402 * configure: Regenerated.
8404 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8406 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8408 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8410 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8414 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8415 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8418 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8420 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8423 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8424 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8425 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8426 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8427 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8428 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8429 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8430 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8431 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8432 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8433 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8434 * math/libm-test.inc (cos_test): Add more tests and enable more
8435 tests for long double.
8436 (sin_test): Likewise.
8437 (sincos_test): Likewise.
8438 * sysdeps/i386/fpu/libm-test-ulps: Update.
8439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8441 2012-03-16 David S. Miller <davem@davemloft.net>
8443 * sysdeps/sparc/fpu/math_private.h: New file.
8445 2012-03-15 David S. Miller <davem@davemloft.net>
8447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8457 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8461 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8462 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8464 * sysdeps/sparc/sparc-ifunc.h: New file.
8465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8491 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8492 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8503 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8504 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8505 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8510 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8512 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8516 2012-03-15 Andreas Jaeger <aj@suse.de>
8519 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8520 ieee754/flt-32 implementation for sin, cos and sincos.
8521 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8522 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8523 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8524 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8525 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8526 ieee754/flt-32 implementation for tan.
8528 * math/libm-test.inc (cos_test): Enable some large input tests for
8530 (sin_test): Likewise.
8531 (sincos_test): Likewise.
8532 (tan_test): Add tests for large input.
8534 * sysdeps/i386/fpu/libm-test-ulps: Update.
8536 2012-03-15 Andreas Jaeger <aj@suse.de>
8539 * math/libm-test.inc (cos_test): Add more test cases.
8540 (sin_test): Likewise.
8541 (sincos_test): Likewise.
8543 2012-03-15 Andreas Jaeger <aj@suse.de>
8546 * math/libm-test.inc (cos_test): Add a test case for large input
8548 (sin_test): Likewise.
8549 (sincos_test): Likewise.
8551 2012-03-15 Andreas Jaeger <aj@suse.de>,
8552 Joseph Myers <joseph@codesourcery.com>
8555 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8556 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8557 * sysdeps/i386/fpu/branred.c: Likewise.
8558 * sysdeps/i386/fpu/dosincos.c: Likewise.
8559 * sysdeps/i386/fpu/mpa.c: Likewise.
8560 * sysdeps/i386/fpu/s_cos.S: Likewise.
8561 * sysdeps/i386/fpu/s_sin.S: Likewise.
8562 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8563 * sysdeps/i386/fpu/sincos32.c: Likewise.
8565 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8567 (libc_feupdateenv_53bit): Define.
8568 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8570 (libc_feupdateenv_53bit): Define.
8572 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8573 53 bit (without extend i386 double precision).
8575 * math/libm-test.inc (sincos_test): Add tests for large input.
8579 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8581 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8585 2012-03-15 David S. Miller <davem@davemloft.net>
8587 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8588 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8589 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8590 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8614 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8615 fmin/fmax sysdep routines.
8616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8618 2012-03-14 David S. Miller <davem@davemloft.net>
8620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8626 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8642 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8643 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8646 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8647 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8648 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8697 * sysdeps/sparc/configure.in: New file.
8698 * sysdeps/sparc/configure: Generate.
8699 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8700 * configure: Regenerate.
8701 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8702 * config.make.in (have-as-vis3): New.
8703 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8704 available use -Av9d instead of -Av9a.
8705 * sysdeps/sparc/sparc64/Makefile: Likewise.
8706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8716 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8721 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8722 fzeros/fnegs to load 0x80000000 into a float register instead of
8724 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8726 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8730 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8731 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8732 ($(inst_includedir)/bits/syscall.h): Remove rule.
8733 ($(objpfx)bits/syscall.d): Include instead of
8734 $(objpfx)syscall-list.d.
8735 (generated): Change syscall-list.h and syscall-list.d to
8736 bits/syscall.h and bits/syscall.d.
8738 2012-03-14 Roland McGrath <roland@hack.frob.com>
8741 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8743 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8746 * math/s_csqrt.c: Include <float.h>.
8747 (__csqrt): Scale large or subnormal inputs.
8748 * math/s_csqrtf.c: Likewise.
8749 * math/s_csqrtl.c: Likewise.
8750 * math/libm-test.inc (csqrt_test): Add more tests.
8751 * sysdeps/i386/fpu/libm-test-ulps: Update.
8752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8755 * math/libm-test.inc (hypot_test): Add more tests.
8757 2012-03-13 David S. Miller <davem@davemloft.net>
8760 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8761 double-precision for the calculation instead of scaling.
8763 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8765 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8766 manipulate bits before adding and subtracting TWO52[sx].
8767 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8768 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8770 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8772 2012-03-13 David S. Miller <davem@davemloft.net>
8774 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8775 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8776 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8777 rtld-global-offsets.h
8778 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8780 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8783 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8785 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8786 'err' in the ifdef scope in which it is actually used.
8788 * nss/nss_db/db-init.c: Include string.h
8790 2012-03-12 David S. Miller <davem@davemloft.net>
8792 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8793 masking out of the most significant byte of random value used.
8794 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8795 Fix coding style in previous change.
8797 * sysdeps/unix/sysv/linux/kernel-features.h
8798 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8799 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8801 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8804 2012-03-11 David S. Miller <davem@davemloft.net>
8806 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8807 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8808 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8809 for 'resultvar' otherwise things get truncated on 64-bit.
8811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8812 Fix masking out of the most significant byte of random value used.
8814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8816 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8820 2012-03-09 David S. Miller <davem@davemloft.net>
8822 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8823 variables with appropriate CPP guards.
8824 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8825 frame pointer, not the stack pointer. Correct layout comments. Fix test
8826 on resulting framesize and the management of the outregs buffer for pltexit.
8827 Preserve floating point return values across _dl_call_pltexit call.
8828 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8829 framesize and the management of the outregs buffer for pltexit.
8830 Preserve floating point return values across _dl_call_pltexit
8832 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8833 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8834 (print_exit): Fix format string for return register value.
8836 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8838 * sunrpc/Makefile (others): Add rpcgen.
8839 ($(objpfx)rpcgen): Remove special build rule and dependency on
8841 * sunrpc/rpcgen.c: New file.
8843 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8846 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8847 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8848 * sysdeps/i386/crti.S: Likewise.
8849 * sysdeps/i386/crtn.S: Likewise.
8850 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8851 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8852 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8853 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8854 * sysdeps/sh/crti.S: Likewise.
8855 * sysdeps/sh/crtn.S: Likewise.
8856 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8859 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8861 * locale/programs/locfile-kw.gperf: Likewise.
8862 * locale/programs/charmap-kw.h: Regenerated.
8863 * locale/programs/locfile-kw.h: Likewise.
8866 * intl/plural.y: Replace FSF snail mail address with URL.
8867 * intl/plural.c: Regenerated.
8869 2012-03-09 Richard Henderson <rth@twiddle.net>
8871 * include/math_private.h: Remove file.
8872 * math/math_private.h: Move file ...
8873 * sysdeps/generic/math_private.h: ... here.
8875 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8876 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8877 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8879 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8880 and <math_private.h>.
8881 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8882 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8883 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8884 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8885 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8951 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8965 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8969 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8970 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8971 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8972 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8973 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8974 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8975 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8976 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8977 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8978 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8979 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8980 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8981 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8982 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8983 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8984 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8985 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8986 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8987 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8988 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8989 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8990 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8991 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8992 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8993 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8994 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8995 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8996 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8997 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8998 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8999 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9000 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9001 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9002 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9003 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9004 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9005 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9006 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9007 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9008 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9009 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9010 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9011 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9012 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9013 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9014 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9015 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9016 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9017 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9018 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9019 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9020 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9021 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9022 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9023 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9024 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9025 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9026 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9027 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9028 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9029 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9030 * sysdeps/ieee754/k_standard.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9146 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9150 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9151 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9158 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9160 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9161 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9163 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9165 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9171 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9172 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9176 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9179 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9180 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9181 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9187 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9191 * sysdeps/ieee754/s_lib_version.c: Likewise.
9192 * sysdeps/ieee754/s_matherr.c: Likewise.
9193 * sysdeps/ieee754/s_signgam.c: Likewise.
9194 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9195 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9196 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9197 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9198 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9199 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9200 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9201 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9202 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9203 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9204 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9205 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9206 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9207 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9208 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9209 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9210 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9211 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9212 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9213 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9214 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9216 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9218 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9219 * sunrpc/rpc_main.c: Likewise.
9220 * sunrpc/rpc_svcout.c: Likewise.
9222 2012-03-09 David S. Miller <davem@davemloft.net>
9224 * include/math_private.h: New file.
9226 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9228 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9229 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9230 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9231 from <bits/socket_type.h>.
9232 (enum __socket_type): Don't define here.
9233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9238 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9241 * Makerules ($(inst_includedir)/%.h): New rule.
9242 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9243 (install-others): Remove variable setting.
9244 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9246 2012-03-08 Richard Henderson <rth@twiddle.net>
9248 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9249 from macro to inline function; merge with the
9250 !__LIBC_INTERNAL_MATH_INLINES version.
9251 (__ieee754_sqrtf): Likewise.
9253 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9255 (__rintf, __floor, __floorf): Likewise.
9257 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9258 macro to inline function.
9259 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9261 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9262 not <math/math_private.h>.
9264 2012-03-08 David S. Miller <davem@davemloft.net>
9266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9268 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9270 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9272 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9274 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9275 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9277 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9279 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9280 be defined individually, they must be defined as a block. Define
9281 S for printing a string instead of hidint the different by using a
9282 macro for adding the 'l'.
9283 * stdio-common/tst-fphex-wide.c: Adjust.
9285 2012-03-07 Marek Polacek <polacek@redhat.com>
9287 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9289 2012-03-08 Marek Polacek <polacek@redhat.com>
9292 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9293 * stdio-common/tst-fphex.c: Define a few macros to make the
9294 test reusable. Use them.
9295 * stdio-common/tst-fphex-wide.c: New file.
9297 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9300 * manual/macros.texi (gnusystems): New macro.
9301 (nongnusystems): Likewise.
9302 (gnulinuxhurdsystems): Likewise.
9303 (gnuhurdsystems): Likewise..
9304 (gnulinuxsystems): Likewise.
9305 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9306 variants of the GNU system, not "GNU system".
9307 * manual/conf.texi: Likewise.
9308 * manual/errno.texi: Likewise. Update example of errno macro
9310 * manual/filesys.texi: Likewise.
9311 (getumask): Document as specific to GNU/Hurd.
9312 * manual/install.texi: Likewise. Reword some references to
9314 * manual/intro.texi: Likewise.
9315 * manual/io.texi: Likewise.
9316 (File Name Portability): Detail which constraints are inapplicable
9317 to all GNU systems and which are only inapplicable to GNU/Hurd.
9318 * manual/job.texi: Likewise.
9319 * manual/llio.texi: Likewise.
9320 (O_NOCTTY): Document as present on GNU/Linux.
9321 * manual/maint.texi: Likewise.
9322 * manual/memory.texi: Likewise.
9323 * manual/pattern.texi: Likewise.
9324 * manual/pipe.texi: Likewise.
9325 * manual/process.texi: Likewise.
9326 * manual/resource.texi: Likewise.
9327 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9329 * manual/setjmp.texi: Likewise.
9330 * manual/signal.texi: Likewise.
9331 * manual/startup.texi: Likewise.
9332 * manual/stdio.texi: Likewise.
9333 * manual/terminal.texi: Likewise.
9334 (ONLCR): Document as POSIX.
9335 (OXTABS): Document availability on GNU/Linux as XTABS.
9336 (ONOEOT): Document availability separately from other bits.
9337 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9338 * manual/time.texi: Likewise.
9339 * manual/users.texi: Likewise.
9340 * INSTALL: Regenerated.
9341 * sysdeps/gnu/errlist.c: Regenerated.
9343 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9344 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9345 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9347 * configure: Regenerated.
9349 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9351 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9352 default includes instead of AC_HEADER_CHECK.
9353 * sysdeps/i386/configure: Regenerated.
9356 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9357 * math/s_cacoshf.c (__cacoshf): Likewise.
9358 * math/s_cacoshl.c (__cacoshl): Likewise.
9359 * math/s_casinh.c (__casinh): Set signs of result from argument.
9360 * math/s_casinhf.c (__casinhf): Likewise.
9361 * math/s_casinhl.c (__casinhl): Likewise.
9362 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9363 (casinh_test): Add more tests.
9364 * sysdeps/i386/fpu/libm-test-ulps: Update.
9365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9367 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9369 * po/zh_TW.po: Update from translation team.
9371 * login/Makefile (distribute): Remove variable.
9372 * catgets/Makefile: Likewise.
9373 * mach/Makefile: Likewise.
9374 * malloc/Makefile: Likewise.
9375 * misc/Makefile: Likewise.
9376 * iconv/Makefile: Likewise.
9377 * nscd/Makefile: Likewise.
9378 * hurd/Makefile: Likewise.
9379 * manual/Makefile: Likewise.
9380 * locale/Makefile: Likewise.
9381 * intl/Makefile: Likewise.
9382 * conform/Makefile: Likewise.
9383 * nss/Makefile: Likewise.
9384 * time/Makefile: Likewise.
9385 * soft-fp/Makefile: Likewise.
9386 * dirent/Makefile: Likewise.
9387 * gmon/Makefile: Likewise.
9388 * po/Makefile: Likewise.
9389 * rt/Makefile: Likewise.
9390 * socket/Makefile: Likewise.
9391 * math/Makefile: Likewise.
9392 * signal/Makefile: Likewise.
9393 * debug/Makefile: Likewise.
9394 * elf/Makefile: Likewise.
9395 * timezone/Makefile: Likewise.
9396 * stdlib/Makefile: Likewise.
9397 * iconvdata/Makefile: Likewise.
9398 * sunrpc/Makefile: Likewise.
9399 * io/Makefile: Likewise.
9400 * argp/Makefile: Likewise.
9401 * inet/Makefile: Likewise.
9402 * hesiod/Makefile: Likewise.
9403 * grp/Makefile: Likewise.
9404 * csu/Makefile: Likewise.
9405 * wctype/Makefile: Likewise.
9406 * crypt/Makefile: Likewise.
9407 * libio/Makefile: Likewise.
9408 * string/Makefile: Likewise.
9409 * nis/Makefile: Likewise.
9410 * resolv/Makefile: Likewise.
9411 * stdio-common/Makefile: Likewise.
9412 * wcsmbs/Makefile: Likewise.
9413 * dlfcn/Makefile: Likewise.
9414 * posix/Makefile: Likewise.
9417 * timezone/Makefile: Don't install timezone files, just the programs
9420 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9422 * nss/databases.def: Add missing gshadow entry.
9424 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9426 2012-03-06 Marek Polacek <polacek@redhat.com>
9429 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9430 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9431 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9432 * stdio-common/tst-long-dbl-fphex.c: New file.
9434 2012-03-06 David S. Miller <davem@davemloft.net>
9436 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9437 (set_obp_int): New function.
9438 (get_obp_int): New function.
9439 (__get_clockfreq_via_dev_openprom): Likewise.
9440 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9441 Avoid unused variable warnings on 'val' and use builtin_expect.
9442 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9444 (INLINE_CLONE_SYSCALL): Likewise.
9446 2012-03-05 David S. Miller <davem@davemloft.net>
9448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9450 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9454 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9456 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9458 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9460 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9461 Replace gettimeofday with __vdso_gettimeofday.
9463 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9464 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9465 __vdso_clock_gettime and __vdso_getcpu.
9467 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9468 time with __vdso_time.
9470 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9472 * manual/lang.texi (size_t): Note types to which size_t may be
9473 equivalent with the GNU C Library, but do not describe when
9474 differences between them are significant.
9476 2012-03-05 Andreas Jaeger <aj@suse.de>
9478 * sysdeps/i386/fpu/libm-test-ulps: Update.
9480 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9483 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9484 (__ieee754_pow): Save and restore rounding mode and use
9485 round-to-nearest for main computations.
9486 * math/libm-test.inc (pow_test_tonearest): New function.
9487 (pow_test_towardzero): Likewise.
9488 (pow_test_downward): Likewise.
9489 (pow_test_upward): Likewise.
9490 (main): Call the new functions.
9491 * sysdeps/i386/fpu/libm-test-ulps: Update.
9492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9495 * math/libm-test.inc (cosh_test_tonearest): New function.
9496 (cosh_test_towardzero): Likewise.
9497 (cosh_test_downward): Likewise.
9498 (cosh_test_upward): Likewise.
9499 (sinh_test_tonearest): Likewise.
9500 (sinh_test_towardzero): Likewise.
9501 (sinh_test_downward): Likewise.
9502 (sinh_test_upward): Likewise.
9503 (main): Call the new functions.
9504 * sysdeps/i386/fpu/libm-test-ulps: Update.
9505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9507 2012-03-05 Tom de Vries <tom@codesourcery.com>
9509 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9510 default stack guard is set in last bytes.
9511 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9513 2012-03-05 Kees Cook <keescook@chromium.org>
9515 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9518 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9519 possibly allocate from heap instead of stack.
9520 * stdio-common/bug-vfprintf-nargs.c: New file.
9521 * stdio-common/Makefile (tests): Add nargs overflow test.
9523 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9527 2012-03-03 Marek Polacek <polacek@redhat.com>
9529 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9530 * math/math_private.h: Likewise.
9531 * stdlib/tst-strtod.c: Likewise.
9532 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9533 * sysdeps/x86_64/bits/atomic.h: Likewise.
9535 2012-03-02 David S. Miller <davem@davemloft.net>
9537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9541 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9542 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9543 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9544 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9546 2012-03-02 Roland McGrath <roland@hack.frob.com>
9549 * manual/examples/README: New file, says the example source files
9550 can be used under GPL>=2.
9551 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9552 line containing just "*/".
9553 * manual/examples/add.c: Add copyright header (GPL>=2).
9554 * manual/examples/argp-ex1.c: Likewise.
9555 * manual/examples/argp-ex2.c: Likewise.
9556 * manual/examples/argp-ex3.c: Likewise.
9557 * manual/examples/argp-ex4.c: Likewise.
9558 * manual/examples/atexit.c: Likewise.
9559 * manual/examples/db.c: Likewise.
9560 * manual/examples/dir.c: Likewise.
9561 * manual/examples/dir2.c: Likewise.
9562 * manual/examples/execinfo.c: Likewise.
9563 * manual/examples/filecli.c: Likewise.
9564 * manual/examples/filesrv.c: Likewise.
9565 * manual/examples/fmtmsgexpl.c: Likewise.
9566 * manual/examples/genpass.c: Likewise.
9567 * manual/examples/inetcli.c: Likewise.
9568 * manual/examples/inetsrv.c: Likewise.
9569 * manual/examples/isockad.c: Likewise.
9570 * manual/examples/longopt.c: Likewise.
9571 * manual/examples/memopen.c: Likewise.
9572 * manual/examples/memstrm.c: Likewise.
9573 * manual/examples/mkfsock.c: Likewise.
9574 * manual/examples/mkisock.c: Likewise.
9575 * manual/examples/mygetpass.c: Likewise.
9576 * manual/examples/pipe.c: Likewise.
9577 * manual/examples/popen.c: Likewise.
9578 * manual/examples/rprintf.c: Likewise.
9579 * manual/examples/search.c: Likewise.
9580 * manual/examples/select.c: Likewise.
9581 * manual/examples/setjmp.c: Likewise.
9582 * manual/examples/sigh1.c: Likewise.
9583 * manual/examples/sigusr.c: Likewise.
9584 * manual/examples/stpcpy.c: Likewise.
9585 * manual/examples/strdupa.c: Likewise.
9586 * manual/examples/strftim.c: Likewise.
9587 * manual/examples/strncat.c: Likewise.
9588 * manual/examples/subopt.c: Likewise.
9589 * manual/examples/swapcontext.c: Likewise.
9590 * manual/examples/termios.c: Likewise.
9591 * manual/examples/testopt.c: Likewise.
9592 * manual/examples/testpass.c: Likewise.
9593 * manual/examples/timeval_subtract.c: Likewise.
9596 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9598 * manual/timeval_subtract.c.texi: ... here, new file.
9600 2012-03-02 David S. Miller <davem@davemloft.net>
9602 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9604 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9607 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9608 (__sin): Save and restore rounding mode and use round-to-nearest
9609 for all computations.
9610 (__cos): Save and restore rounding mode and use round-to-nearest
9611 for all computations.
9612 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9614 (tan): Save and restore rounding mode and use round-to-nearest for
9616 * math/libm-test.inc (cos_test_tonearest): New function.
9617 (cos_test_towardzero): Likewise.
9618 (cos_test_downward): Likewise.
9619 (cos_test_upward): Likewise.
9620 (sin_test_tonearest): Likewise.
9621 (sin_test_towardzero): Likewise.
9622 (sin_test_downward): Likewise.
9623 (sin_test_upward): Likewise.
9624 (tan_test_tonearest): Likewise.
9625 (tan_test_towardzero): Likewise.
9626 (tan_test_downward): Likewise.
9627 (tan_test_upward): Likewise.
9628 (main): Call the new functions.
9629 * sysdeps/i386/fpu/libm-test-ulps: Update.
9630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9633 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9634 small n, then large n, before computing and testing k+n.
9635 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9636 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9640 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9641 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9642 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9643 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9644 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9646 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9647 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9648 * math/libm-test.inc (scalbn_test): Add more tests.
9649 (scalbln_test): Likewise.
9651 * manual/filesys.texi (mode_t): Describe constraints on size and
9652 signedness, not exact equivalence to a particular type.
9654 (ino64_t): Likewise.
9656 (nlink_t): Likewise.
9657 (blkcnt_t): Likewise.
9658 (blkcnt64_t): Likewise.
9659 * manual/llio.texi (off_t): Likewise.
9662 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9663 (__ieee754_exp): Save and restore rounding mode and use
9664 round-to-nearest for all computations.
9665 * math/libm-test.inc (exp_test_tonearest): New function.
9666 (exp_test_towardzero): Likewise.
9667 (exp_test_downward): Likewise.
9668 (exp_test_upward): Likewise.
9669 (main): Call the new functions.
9670 * sysdeps/i386/fpu/libm-test-ulps: Update.
9671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9673 2012-03-01 Chris Demetriou <cgd@google.com>
9675 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9676 have predictable order.
9678 2012-03-01 David S. Miller <davem@davemloft.net>
9680 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9682 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9683 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9684 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9685 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9687 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9688 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9689 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9691 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9692 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9693 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9694 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9695 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9699 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9700 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9701 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9703 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9704 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9705 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9706 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9707 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9708 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9709 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9710 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9711 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9712 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9713 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9714 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9716 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9717 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9719 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9720 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9721 * sysdeps/sparc/elf/configure: Regenerated.
9723 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9725 * configure.in (AS, LD): Require binutils 2.20 or later.
9726 * configure: Regenerated.
9727 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9728 as required minimum version.
9729 * INSTALL: Regenerated.
9733 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9734 before squaring exponent.
9735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9736 bottom long double and 27 bits of top long double before squaring
9738 * math/libm-test.inc (erfc_test): Add more tests.
9739 * sysdeps/i386/fpu/libm-test-ulps: Update.
9740 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9743 2012-03-01 Kai Tietz <ktietz@redhat.com>
9745 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9746 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9747 containing bit-fields.
9748 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9749 * soft-fp/single.h (_FP_UNION_S): Likewise.
9750 * soft-fp/double.h (_FP_UNION_D): Likewise.
9752 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9755 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9756 not include ../strcmp.S.
9757 [USE_AS_STRNCASECMP_L]: Likewise.
9758 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9759 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9760 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9761 (__strncasecmp_l_ia32): Define as alias to
9762 __strncasecmp_l_nonascii.
9765 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9766 * sysdeps/i386/fpu/libm-test-ulps: Update.
9767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9769 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9772 2012-02-29 Jeff Law <law@redhat.com>
9774 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9777 2012-02-29 Marek Polacek <polacek@redhat.com>
9780 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9781 * elf/Makefile: Add rules to run tst-unused-dep.out.
9783 2012-02-28 David S. Miller <davem@davemloft.net>
9785 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9786 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9787 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9788 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9789 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9790 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9792 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9794 * math/libm-test.inc (llround_test): Move one test from
9795 lround_test. Use TEST_f_L in moved test.
9796 (lround_test): Move misplaced test to llround_test. Add testcase
9799 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9801 * sysdeps/x86_64/fpu/e_expf.S: New file.
9802 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9804 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9807 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9808 of remain_len that may cause incomplete multi-byte character and
9810 * posix/bug-regex33.c: New file.
9811 * posix/Makefile (tests): Add bug-regex33.
9813 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9815 * manual/macros.texi: New file.
9816 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9817 * manual/libc.texinfo: Include macros.texi.
9818 * manual/creatute.texi: Likewise.
9819 * manual/install.texi: Likewise.
9820 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9821 @glibcadj{} in references to the GNU C Library.
9822 * manual/charset.texi: Likewise.
9823 * manual/conf.texi: Likewise.
9824 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9825 when not using those macros.
9826 * manual/creature.texi: Likewise.
9827 * manual/crypt.texi: Likewise.
9828 * manual/errno.texi: Likewise.
9829 * manual/filesys.texi: Likewise.
9830 * manual/header.texi: Likewise.
9831 * manual/install.texi: Likewise.
9832 * manual/intro.texi: Likewise.
9833 * manual/io.texi: Likewise.
9834 * manual/job.texi: Likewise.
9835 * manual/lang.texi: Likewise.
9836 * manual/libc.texiinfo: Likewise.
9837 * manual/llio.texi: Likewise.
9838 * manual/locale.texi: Likewise.
9839 * manual/maint.texi: Likewise.
9840 * manual/math.texi: Likewise.
9841 * manual/memory.texi: Likewise.
9842 * manual/message.texi: Likewise.
9843 * manual/nss.texi: Likewise.
9844 * manual/pattern.texi: Likewise.
9845 * manual/process.texi: Likewise.
9846 * manual/resource.texi: Likewise.
9847 * manual/search.texi: Likewise.
9848 * manual/setjmp.texi: Likewise.
9849 * manual/signal.texi: Likewise.
9850 * manual/socket.texi: Likewise.
9851 * manual/startup.texi: Likewise.
9852 * manual/stdio.texi: Likewise.
9853 * manual/string.texi: Likewise.
9854 * manual/sysinfo.texi: Likewise.
9855 * manual/syslog.texi: Likewise.
9856 * manual/terminal.texi: Likewise.
9857 * manual/time.texi: Likewise.
9858 * manual/users.texi: Likewise.
9859 * INSTALL: Regenerated.
9860 * NOTES: Regenerated.
9861 * sysdeps/gnu/errlist.c: Regenerated.
9863 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9865 * include/dirent.h: Include <dirstream.h> before
9868 2012-02-28 David S. Miller <davem@davemloft.net>
9870 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9871 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9872 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9873 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9875 2012-02-27 David S. Miller <davem@davemloft.net>
9877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9879 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9880 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9883 frame pointer instead of stack pointer relative arg slot.
9884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9885 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9886 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9888 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9891 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9893 2012-02-27 David S. Miller <davem@davemloft.net>
9895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9899 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9900 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9901 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9902 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9904 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9906 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9907 later. Allow versions 5-9.
9908 * configure: Regenerated.
9909 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9910 required minimum version and 4.6 as recommended version. Do not
9911 mention bugs in GCC 2.7 and 2.8.
9912 * INSTALL: Regenerated.
9914 2012-02-27 David S. Miller <davem@davemloft.net>
9916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9920 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9921 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9922 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9923 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9926 manipulate bits before adding and subtracting TWO112[sx].
9927 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9929 2012-02-27 Roland McGrath <roland@hack.frob.com>
9932 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9933 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9934 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9935 being in POSIX, because they are in 1003.1-2008.
9937 * rt/tst-aio.c: Include <fcntl.h>.
9938 * rt/tst-aio7.c: Likewise.
9939 * rt/tst-aio64.c: Likewise.
9941 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9943 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9945 * manual/install.texi (--with-headers): Describe headers as
9946 interface headers, not private headers.
9947 (Specific advice for GNU/Linux systems): Describe use of headers
9948 from "make headers_install", not private headers from older
9950 * INSTALL: Regenerated.
9951 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9953 * sysdeps/unix/sysv/linux/configure: Regenerated.
9955 * manual/llio.texi (fclean): Remove documentation.
9957 * manual/Makefile (libc-texi-generated): New variable. Include
9959 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9960 $(libc-texi-generated), not duplicated list of files.
9961 (version.texi, stamp-version): New rules.
9962 (realclean): Remove $(libc-texi-generated), not individual files
9963 from that list. Do not remove dir-add.texinfo.
9964 * manual/libc.texinfo: Comment out uses of edition numbers and
9965 references to printed manual. Remove last-updated dates.
9966 (EDITION): Comment out.
9968 (VERSION, UPDATED): Remove.
9969 (version.texi): Include.
9971 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9973 * sysdeps/posix/spawni.c: Include <signal.h>.
9974 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9975 * sysdeps/pthread/aio_fsync.c: Likewise.
9977 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9979 * conform/Makefile (tests): Run only when not cross-compiling and
9980 when fast-check is not defined.
9982 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9983 * conform/data/limits.h-data: Fixes for POSIX2008.
9984 * conform/run-conformtest.sh: Run all tests.
9985 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9987 * include/bits/dlfcn.h: Likewise.
9988 * include/langinfo.h: Likewise.
9989 * include/monetary.h: Likewise.
9990 * include/sys/poll.h: Likewise.
9992 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9994 * posix/spawn.h: Define __need_sigset_t.
9995 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9996 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9997 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9998 to get sigevent_t only.
9999 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10000 only for __USE_GNU.
10001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10002 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10003 process_vm_writev only for __USE_GNU.
10004 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10006 * conform/Makefile: For now ignore errors from run-conformtest.
10007 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10008 POSIX to avoid namespace pollution. Don't prepend headers.
10009 * conform/data/aio.h-data: Fixes for POSIX testing.
10010 * conform/data/fcntl.h-data: Likewise.
10011 * conform/data/glob.h-data: Likewise.
10012 * conform/data/grp.h-data: Likewise.
10013 * conform/data/pthread.h-data: Likewise.
10014 * conform/data/pwd.h-data: Likewise.
10015 * conform/data/signal.h-data: Likewise.
10016 * conform/data/spawn.h-data: Likewise.
10017 * conform/data/stdio.h-data: Likewise.
10018 * conform/data/stdlib.h-data: Likewise.
10019 * conform/data/stropts.h-data: Likewise.
10020 * conform/data/sys/mman.h-data: Likewise.
10021 * conform/data/sys/stat.h-data: Likewise.
10022 * conform/data/sys/types.h-data: Likewise.
10023 * conform/data/sys/wait.h-data: Likewise.
10024 * conform/data/time.h-data: Likewise.
10025 * conform/data/unistd.h-data: Likewise.
10026 * conform/data/utime.h-data: Likewise.
10028 * io/sys/stat.h: fchmod was always in POSIX.
10029 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10030 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10031 * rt/aio.h: Define __need_timespec before including <time.h>.
10032 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10033 struct. Add forward declaration of pthread_attr_t and use it in
10035 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10036 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10037 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10038 always remove CLK_TCK definition.
10040 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10042 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10044 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10046 * conform/run-conformtest.sh: New file.
10047 * conform/Makefile: Run run-conformtest for tests.
10048 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10051 * conform/data/uchar.h-data: New file.
10052 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10053 * conform/data/arpa/inet.h-data: Likewise.
10054 * conform/data/assert.h-data: Likewise.
10055 * conform/data/complex.h-data: Likewise.
10056 * conform/data/cpio.h-data: Likewise.
10057 * conform/data/ctype.h-data: Likewise.
10058 * conform/data/dirent.h-data: Likewise.
10059 * conform/data/dlfcn.h-data: Likewise.
10060 * conform/data/errno.h-data: Likewise.
10061 * conform/data/fcntl.h-data: Likewise.
10062 * conform/data/float.h-data: Likewise.
10063 * conform/data/fmtmsg.h-data: Likewise.
10064 * conform/data/fnmatch.h-data: Likewise.
10065 * conform/data/ftw.h-data: Likewise.
10066 * conform/data/glob.h-data: Likewise.
10067 * conform/data/grp.h-data: Likewise.
10068 * conform/data/iconv.h-data: Likewise.
10069 * conform/data/inttypes.h-data: Likewise.
10070 * conform/data/langinfo.h-data: Likewise.
10071 * conform/data/libgen.h-data: Likewise.
10072 * conform/data/limits.h-data: Likewise.
10073 * conform/data/locale.h-data: Likewise.
10074 * conform/data/math.h-data: Likewise.
10075 * conform/data/monetary.h-data: Likewise.
10076 * conform/data/mqueue.h-data: Likewise.
10077 * conform/data/ndbm.h-data: Likewise.
10078 * conform/data/net/if.h-data: Likewise.
10079 * conform/data/netdb.h-data: Likewise.
10080 * conform/data/netinet/in.h-data: Likewise.
10081 * conform/data/nl_types.h-data: Likewise.
10082 * conform/data/poll.h-data: Likewise.
10083 * conform/data/pthread.h-data: Likewise.
10084 * conform/data/pwd.h-data: Likewise.
10085 * conform/data/regex.h-data: Likewise.
10086 * conform/data/sched.h-data: Likewise.
10087 * conform/data/search.h-data: Likewise.
10088 * conform/data/semaphore.h-data: Likewise.
10089 * conform/data/setjmp.h-data: Likewise.
10090 * conform/data/signal.h-data: Likewise.
10091 * conform/data/spawn.h-data: Likewise.
10092 * conform/data/stdarg.h-data: Likewise.
10093 * conform/data/stdio.h-data: Likewise.
10094 * conform/data/stdlib.h-data: Likewise.
10095 * conform/data/string.h-data: Likewise.
10096 * conform/data/strings.h-data: Likewise.
10097 * conform/data/stropts.h-data: Likewise.
10098 * conform/data/sys/ipc.h-data: Likewise.
10099 * conform/data/sys/mman.h-data: Likewise.
10100 * conform/data/sys/msg.h-data: Likewise.
10101 * conform/data/sys/resource.h-data: Likewise.
10102 * conform/data/sys/select.h-data: Likewise.
10103 * conform/data/sys/sem.h-data: Likewise.
10104 * conform/data/sys/shm.h-data: Likewise.
10105 * conform/data/sys/socket.h-data: Likewise.
10106 * conform/data/sys/stat.h-data: Likewise.
10107 * conform/data/sys/statvfs.h-data: Likewise.
10108 * conform/data/sys/time.h-data: Likewise.
10109 * conform/data/sys/timeb.h-data: Likewise.
10110 * conform/data/sys/times.h-data: Likewise.
10111 * conform/data/sys/types.h-data: Likewise.
10112 * conform/data/sys/uio.h-data: Likewise.
10113 * conform/data/sys/un.h-data: Likewise.
10114 * conform/data/sys/utsname.h-data: Likewise.
10115 * conform/data/sys/wait.h-data: Likewise.
10116 * conform/data/syslog.h-data: Likewise.
10117 * conform/data/tar.h-data: Likewise.
10118 * conform/data/termios.h-data: Likewise.
10119 * conform/data/utime.h-data: Likewise.
10120 * conform/data/utmpx.h-data: Likewise.
10121 * conform/data/varargs.h-data: Likewise.
10122 * conform/data/wchar.h-data: Likewise.
10123 * conform/data/wctype.h-data: Likewise.
10124 * conform/data/wordexp.h-data: Likewise.
10126 * include/stropts.h: New file.
10127 * include/uchar.h: New file.
10128 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10129 * include/assert.h: Likewise.
10130 * include/ctype.h: Likewise.
10131 * include/dirent.h: Likewise.
10132 * include/dlfcn.h: Likewise.
10133 * include/fcntl.h: Likewise.
10134 * include/fnmatch.h: Likewise.
10135 * include/glob.h: Likewise.
10136 * include/grp.h: Likewise.
10137 * include/libio.h: Likewise.
10138 * include/locale.h: Likewise.
10139 * include/math.h: Likewise.
10140 * include/net/if.h: Likewise.
10141 * include/netdb.h: Likewise.
10142 * include/netinet/in.h: Likewise.
10143 * include/pthread.h: Likewise.
10144 * include/pwd.h: Likewise.
10145 * include/regex.h: Likewise.
10146 * include/sched.h: Likewise.
10147 * include/search.h: Likewise.
10148 * include/setjmp.h: Likewise.
10149 * include/signal.h: Likewise.
10150 * include/stdio.h: Likewise.
10151 * include/stdlib.h: Likewise.
10152 * include/string.h: Likewise.
10153 * include/sys/cdefs.h: Likewise.
10154 * include/sys/mman.h: Likewise.
10155 * include/sys/msg.h: Likewise.
10156 * include/sys/resource.h: Likewise.
10157 * include/sys/select.h: Likewise.
10158 * include/sys/socket.h: Likewise.
10159 * include/sys/stat.h: Likewise.
10160 * include/sys/statvfs.h: Likewise.
10161 * include/sys/time.h: Likewise.
10162 * include/sys/times.h: Likewise.
10163 * include/sys/uio.h: Likewise.
10164 * include/sys/utsname.h: Likewise.
10165 * include/sys/wait.h: Likewise.
10166 * include/termios.h: Likewise.
10167 * include/time.h: Likewise.
10168 * include/ulimit.h: Likewise.
10169 * include/unistd.h: Likewise.
10170 * include/utime.h: Likewise.
10171 * include/wchar.h: Likewise.
10172 * include/wctype.h: Likewise.
10173 * include/wordexp.h: Likewise.
10175 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10177 * time/time.h: TIME_UTC must be a macro.
10178 Make timespec_get available for ISO C11 only as well.
10180 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10182 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10183 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10185 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10187 * configure.in: Use -o not -a in test for unsupported multi-arch.
10189 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10191 * manual/texinfo.tex: Update to version 2012-01-19.16.
10193 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10195 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10197 2012-02-24 Roland McGrath <roland@hack.frob.com>
10200 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10201 * manual/fdl-1.3.texi: New file.
10202 * manual/fdl-1.1.texi: File removed.
10205 * manual/libc.texinfo (FDL_VERSION): New @set.
10206 Use it for mention of FDL in cover text.
10207 (Documentation License): Use it in @include file name.
10209 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10210 Roland McGrath <roland@hack.frob.com>
10213 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10214 not LONG_LONG_MAX and LONG_LONG_MIN.
10215 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10216 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10218 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10220 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10224 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10225 manipulate bits before adding and subtracting TWO23[sx].
10226 * math/libm-test.inc (nearbyint_test): Add more tests.
10228 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10231 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10232 bits before adding and subtracting TWO23[sx].
10233 * math/libm-test.inc (rint_test): Add more tests.
10234 (rint_test_tonearest): Likewise.
10235 (rint_test_towardzero): Likewise.
10236 (rint_test_downward): Likewise.
10237 (rint_test_upward: Likewise.
10239 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10242 * include/stdc-predef.h: New file. Extracted from features.h.
10243 * include/features.h: Include stdc-predef.h.
10244 * Makefile (headers): Add stdc-predef.h.
10245 * CONFORMANCE (Compiler limitations): Update.
10247 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10249 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10251 2012-02-21 David S. Miller <davem@davemloft.net>
10253 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10254 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10256 2012-02-20 David S. Miller <davem@davemloft.net>
10258 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10259 using a normal save/restore sequence, rather than allocating a
10260 dummy stack frame just to store a frame pointer and restore.
10261 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10263 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10265 * manual/install.texi: Fix stray word in line-wrapped comment.
10267 2012-02-20 David S. Miller <davem@davemloft.net>
10269 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10270 both binutils and gcc support GOTDATA.
10272 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10273 "rd %pc" in the PIC register setup sequences.
10275 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10276 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10277 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10278 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10279 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10281 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10282 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10284 (SYSCALL_ERROR_HANDLER): Likewise.
10285 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10286 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10288 (SYSCALL_ERROR_HANDLER): Likewise.
10290 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10291 (HAVE_GCC_GOTDATA): New.
10292 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10293 relocation support in both binutils and gcc.
10294 * sysdeps/sparc/elf/configure: Regenerate.
10296 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10297 * sysdeps/sparc/sparc32/elf/configure: Delete.
10298 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10299 * sysdeps/sparc/sparc64/elf/configure: Delete.
10300 * sysdeps/sparc/elf/configure.in: New file.
10301 * sysdeps/sparc/elf/configure: Generate.
10303 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10304 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10305 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10306 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10307 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10309 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10311 * manual/install.texi: Do not mention specific glibc version
10313 * manual/libc.texinfo (VERSION, UPDATED): Update.
10314 (@copying): Use @copyright{} and range of years.
10316 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10319 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10320 [crti.S not in sysdirs] (generated): Do not append.
10321 [crti.S not in sysdirs] (omit-deps): Likewise.
10322 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10323 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10324 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10325 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10326 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10328 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10329 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10330 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10331 * csu/defs.awk: Remove file.
10332 * sysdeps/generic/initfini.c: Likewise.
10333 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10335 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10338 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10340 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10341 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10342 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10343 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10344 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10345 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10347 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10348 (__EPOLL_PACKED): Define to empty if not defined by
10350 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10354 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10356 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10357 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10358 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10359 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10361 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10365 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10367 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10369 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10370 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10374 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10376 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10377 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10379 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10381 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10382 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10384 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10386 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10389 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10391 * math/w_acos.c: Use non-signaling floating-point comparisons.
10392 * math/w_acosf.c: Likewise.
10393 * math/w_acosh.c: Likewise.
10394 * math/w_acoshf.c: Likewise.
10395 * math/w_acoshl.c: Likewise.
10396 * math/w_acosl.c: Likewise.
10397 * math/w_asin.c: Likewise.
10398 * math/w_asinf.c: Likewise.
10399 * math/w_asinl.c: Likewise.
10400 * math/w_atanh.c: Likewise.
10401 * math/w_atanhf.c: Likewise.
10402 * math/w_atanhl.c: Likewise.
10403 * math/w_exp2.c: Likewise.
10404 * math/w_exp2f.c: Likewise.
10405 * math/w_exp2l.c: Likewise.
10406 * math/w_j0.c: Likewise.
10407 * math/w_j0f.c: Likewise.
10408 * math/w_j0l.c: Likewise.
10409 * math/w_j1.c: Likewise.
10410 * math/w_j1f.c: Likewise.
10411 * math/w_j1l.c: Likewise.
10412 * math/w_jn.c: Likewise.
10413 * math/w_jnf.c: Likewise.
10414 * math/w_log.c: Likewise.
10415 * math/w_log10.c: Likewise.
10416 * math/w_log10f.c: Likewise.
10417 * math/w_log10l.c: Likewise.
10418 * math/w_log2.c: Likewise.
10419 * math/w_log2f.c: Likewise.
10420 * math/w_log2l.c: Likewise.
10421 * math/w_logf.c: Likewise.
10422 * math/w_logl.c: Likewise.
10423 * math/w_sqrt.c: Likewise.
10424 * math/w_sqrtf.c: Likewise.
10425 * math/w_sqrtl.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10429 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10430 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10432 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10435 * manual/string.texi (strnlen): Use correct parameter name in
10436 equivalent expression.
10438 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10441 * manual/users.texi (seteuid): Consistently use neweuid for
10444 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10447 * manual/nss.texi (Services in the NSS configuration): Correct
10448 list of services in example configuration file.
10450 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10453 * manual/arith.texi: Remove statements about negative zero
10454 behaving identically to zero.
10456 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10459 * manual/install.texi: Do not document upgrading from libc5.
10461 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10464 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10466 2012-02-18 David S. Miller <davem@davemloft.net>
10468 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10469 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10470 %o7 across the call.
10471 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10474 SETUP_PIC_REG_LEAF.
10475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10476 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10477 * sysdeps/sparc/crtn.S: Likewise.
10479 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10481 * aout/Makefile: Remove.
10483 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10486 * manual/examples/argp-ex1.c (main): Format definition in GNU
10488 * manual/examples/argp-ex2.c (main): Likewise.
10489 * manual/examples/argp-ex3.c (main): Likewise.
10490 * manual/examples/argp-ex4.c (main): Likewise.
10491 * manual/examples/longopt.c (main): Use new-style prototype
10493 * manual/examples/strncat.c (main): Specify return type and use
10494 (void) for arguments.
10495 * manual/examples/subopt.c (main): Use char **argv argument.
10497 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10500 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10503 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10506 * manual/string.texi (strchr): Change when strchrnul is
10509 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10512 * manual/locale.texi (setlocale): Document LOCPATH.
10514 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10517 * manual/process.texi (execle): Move @dots{} before last argument.
10519 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10522 * manual/charset.texi (Generic Charset Conversion): Fix typo
10523 (LC_TYPE -> LC_CTYPE).
10525 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10528 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10529 (scalbnf): Likewise.
10530 (scalbnl): Likewise.
10531 (scalbln): Likewise.
10532 (scalblnf): Likewise.
10533 (scalblnl): Likewise.
10534 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10535 (vwarnx): Likewise.
10538 * manual/filesys.texi (telldir): Use braces around return type.
10539 * manual/llio.texi (mmap): Add space after comma.
10540 (mmap64): Likewise.
10541 * manual/math.texi (jn): Use @var{} on parameter names.
10547 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10549 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10551 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10552 (sched_get_priority_max): Likewise.
10553 * manual/signal.texi (sigvec): Add space after comma.
10554 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10556 (if_indextoname): Likewise.
10557 (if_freenameindex): Likewise.
10558 (sendto): Use ',' instead of '.' in prototype.
10559 * manual/startup.texi (syscall): Use @dots{} instead of literal
10561 * manual/stdio.texi (__fpending): Separate initial words of
10562 paragraph from @deftypefun line.
10563 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10565 (vsyslog): Use @var{} on parameter names.
10566 * manual/terminal.texi (stty): Use @var{} on parameter names.
10567 * manual/users.texi (getutmp): Use @var{} on parameter names.
10568 (getutmpx): Likewise.
10570 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10573 * manual/stdio.texi (fopen): Fix typos in description of
10576 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10579 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10580 get clock_id definition.
10582 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10585 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10586 (madvise): Cast every argument to void on its own.
10588 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10591 * manual/startup.texi (Exit Status): Fix typo.
10593 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10596 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10597 * manual/examples/argp-ex2.c: Likewise.
10598 * manual/examples/argp-ex3.c: Likewise.
10600 2012-02-16 Richard Henderson <rth@redhat.com>
10602 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10603 * sysdeps/s390/s390-32/initfini.c: Remove.
10604 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10605 * sysdeps/s390/s390-64/initfini.c: Remove.
10607 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10609 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10610 compiler output for sysdeps/generic/initfini.c.
10611 * sysdeps/sh/elf/initfini.c: Remove file.
10613 2012-02-16 David S. Miller <davem@davemloft.net>
10616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10618 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10619 * sysdeps/sparc/crti.S: New file.
10620 * sysdeps/sparc/crtn.S: New file.
10621 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10622 * sysdeps/sparc/sparc64/Makefile: Likewise.
10624 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10627 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10629 2012-02-15 Roland McGrath <roland@hack.frob.com>
10632 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10634 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10635 (write, read, close): Likewise.
10636 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10638 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10640 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10641 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10642 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10643 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10645 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10649 2012-02-14 Marek Polacek <polacek@redhat.com>
10651 * sysdeps/x86_64/crti.S: New file.
10652 * sysdeps/x86_64/crtn.S: New file.
10653 * sysdeps/x86_64/elf/initfini.c: Remove file.
10655 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10657 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10658 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10659 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10660 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10662 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10666 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10668 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10669 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10670 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10671 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10673 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10677 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10679 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10680 __feraiseexcept instead of feraiseexcept.
10682 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10683 nanosleep invocations.
10684 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10685 strings, and add error checking for a nanosleep invocations.
10687 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10689 Replace FSF snail mail address with URLs, as per GNU coding standards.
10690 Most of the snail mail addresses were wrong anyway, and omitting
10691 them makes the source code easier to maintain. Almost all of the
10692 changes are to license notices and to locale LC_IDENTIFICATION
10693 addresses, except for this one:
10694 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10695 not its snail mail address.
10697 2012-02-09 Richard Henderson <rth@twiddle.net>
10699 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10700 of kernel-features.h.
10702 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10704 2012-02-08 Marek Polacek <polacek@redhat.com>
10706 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10707 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10708 * sysdeps/gnu/_G_config.h: Likewise.
10709 * sysdeps/generic/_G_config.h: Likewise.
10711 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10713 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10717 * sysdeps/powerpc/powerpc32/crti.S: New file.
10718 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10719 * sysdeps/powerpc/powerpc64/crti.S: New file.
10720 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10722 * Makeconfig (have-initfini): Don't set.
10723 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10724 * configure.in (nopic_initfini): Don't substitute.
10725 * config.h.in (HAVE_INITFINI): Don't #undef.
10726 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10727 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10729 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10731 Support crti.S and crtn.S provided directly by architectures.
10732 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10733 [crti.S in sysdirs] (omit-deps): Likewise.
10734 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10735 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10736 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10737 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10738 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10739 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10740 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10741 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10742 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10743 compiler output for sysdeps/generic/initfini.c.
10744 * sysdeps/i386/elf/Makefile: Remove file.
10745 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10747 2012-02-07 Marek Polacek <polacek@redhat.com>
10749 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10750 * sysdeps/gnu/_G_config.h: Likewise.
10751 * sysdeps/mach/hurd/_G_config.h: Likewise.
10753 2012-02-07 Marek Polacek <polacek@redhat.com>
10755 * math/Makefile (tests): Add tst-CMPLX2.
10756 * math/tst-CMPLX2.c: New file.
10758 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10760 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10762 * math/libm-test.inc (jn_test): Add missing L suffix.
10764 2012-02-06 Marek Polacek <polacek@redhat.com>
10766 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10767 * sysdeps/i386/fpu/e_powf.S: Likewise.
10768 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10769 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10770 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10771 * sysdeps/i386/fpu/e_pow.S: Likewise.
10772 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10773 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10774 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10775 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10776 * sysdeps/i386/fpu/e_log2.S: Likewise.
10777 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10778 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10779 * sysdeps/i386/fpu/e_powl.S: Likewise.
10780 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10781 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10782 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10783 * sysdeps/i386/fpu/e_logl.S: Likewise.
10784 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10785 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10786 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10787 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10788 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10789 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10790 * sysdeps/i386/fpu/e_log.S: Likewise.
10791 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10792 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10793 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10794 * sysdeps/i386/fpu/e_logf.S: Likewise.
10795 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10796 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10797 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10798 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10799 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10800 * sysdeps/i386/fpu/e_log10.S: Likewise.
10801 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10802 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10803 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10804 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10805 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10806 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10807 * sysdeps/i386/asm-syntax.h: Likewise.
10808 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10809 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10810 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10811 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10812 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10813 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10814 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10815 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10816 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10817 * sysdeps/powerpc/sysdep.h: Likewise.
10818 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10819 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10821 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10824 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10826 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10828 * sysdeps/i386/sysdep.h: Include <features.h>.
10829 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10832 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10834 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10836 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10839 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10841 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10842 (SETUP_PIC_REG): Use GET_PC_THUNK.
10843 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10846 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10848 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10849 for non-PIC compilation.
10850 (SETUP_PIC_REG): Add .p2align directive.
10851 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10852 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10853 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10854 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10855 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10856 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10857 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10858 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10859 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10860 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10861 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10862 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10863 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10864 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10865 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10866 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10867 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10868 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10869 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10870 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10871 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10872 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10873 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10874 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10875 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10877 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10878 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10879 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10880 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10881 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10882 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10883 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10884 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10885 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10886 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10887 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10888 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10889 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10890 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10891 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10893 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10895 * math/tst-CMPLX.c: Include <stdio.h>.
10897 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10899 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10901 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10902 * sysdeps/sparc/bits/mathdef.h: Likewise.
10904 2012-01-31 Marek Polacek <polacek@redhat.com>
10906 * libio/libio.h: Don't define _PARAMS.
10907 * locale/programs/config.h: Don't define PARAMS.
10908 * stdlib/strtol_l.c: Likewise.
10909 (__strtol_l): Remove PARAMS from the prototype.
10911 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10913 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10914 names. Just use the correct names. Remove unnecessary wrapper
10916 * malloc/arena.c: Likewise.
10917 * malloc/hooks.c: Likewise.
10919 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10920 ARENA_TEST says not to. Simplify test for creation of a new arena.
10921 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10923 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10925 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10927 (update_get_addr): New function.
10928 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10929 GET_ADDR_MODULE parameter.
10931 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10933 * crypt/cert.c: Remove __STDC__ conditionals.
10934 * crypt/crypt-entry.c: Likewise.
10935 * crypt/crypt_util.c: Likewise.
10936 * libio/filedoalloc.c: Likewise.
10937 * libio/fileops.c: Likewise.
10938 * libio/genops.c: Likewise.
10939 * libio/iofclose.c: Likewise.
10940 * libio/iofdopen.c: Likewise.
10941 * libio/iofopen.c: Likewise.
10942 * libio/iofopen64.c: Likewise.
10943 * libio/iogetdelim.c: Likewise.
10944 * libio/iopopen.c: Likewise.
10945 * libio/obprintf.c: Likewise.
10946 * libio/oldfileops.c: Likewise.
10947 * libio/oldiofclose.c: Likewise.
10948 * libio/oldiofdopen.c: Likewise.
10949 * libio/oldiofopen.c: Likewise.
10950 * libio/oldiopopen.c: Likewise.
10951 * libio/wfiledoalloc.c: Likewise.
10952 * libio/wgenops.c: Likewise.
10953 * locale/programs/xmalloc.c: Likewise.
10954 * misc/syslog.c: Likewise.
10955 * stdio-common/xbug.c: Likewise.
10956 * string/memchr.c: Likewise.
10957 * string/memcmp.c: Likewise.
10958 * string/memrchr.c: Likewise.
10959 * string/rawmemchr.c: Likewise.
10960 * sysdeps/posix/getcwd.c: Likewise.
10961 * time/strftime_l.c: Likewise.
10963 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10965 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10966 * config.make.in (config-cflags-sse2avx): Define.
10967 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10970 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10972 * scripts/config.guess: Update from upstream config git repository.
10973 * scripts/config.sub: Likewise.
10975 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10977 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10979 (R_TILEPRO_*, R_TILEGX_*): New macros.
10981 * scripts/firstversions.awk: Fix bug in version range handling.
10983 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10985 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10987 * include/sys/epoll.h: New file.
10988 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10991 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10993 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10994 Avoid unnecessary __WORDSIZE == 64 test.
10995 (fmaxf): Use VEX format if possible.
11000 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11001 * math/math_private.h: Remove libc_fegetround* and
11003 * sysdeps/i386/configure.in: Check for -msse2avx.
11004 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11005 also if SSE2AVX is defined.
11006 Remove libc_fegetround* and libc_fesetround*.
11007 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11008 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11009 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11011 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11012 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11013 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11014 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11015 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11017 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11019 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11021 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11023 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11025 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11028 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11030 * Makeconfig (libm): Define.
11031 * elf/Makefile: Add rules to build and run tst-relsort1.
11032 * elf/tst-relsort1.c: New file.
11033 * elf/tst-relsort1mod1.c: New file.
11034 * elf/tst-relsort1mod2.c: New file.
11036 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11038 * math/s_ldexp.c: Remove __STDC__ conditionals.
11039 * math/s_ldexpf.c: Likewise.
11040 * math/s_ldexpl.c: Likewise.
11041 * math/s_nextafter.c: Likewise.
11042 * math/s_nexttowardf.c: Likewise.
11043 * math/s_significand.c: Likewise.
11044 * math/s_significandf.c: Likewise.
11045 * math/s_significandl.c: Likewise.
11046 * math/w_jnl.c: Likewise.
11047 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11048 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11049 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11050 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11051 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11063 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11064 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11066 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11067 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11068 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11069 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11070 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11071 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11072 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11073 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11074 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11075 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11076 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11077 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11078 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11079 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11080 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11081 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11082 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11083 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11084 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11085 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11086 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11087 * sysdeps/ieee754/k_standard.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11149 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11154 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11162 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11163 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11167 * sysdeps/ieee754/s_matherr.c: Likewise.
11168 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11169 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11170 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11171 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11173 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11175 * crypt/md5.h: Remove __STDC__ conditionals.
11176 * libio/libioP.h: Likewise.
11177 * locale/programs/config.h: Likewise.
11178 * sysdeps/generic/sysdep.h: Likewise.
11179 * sysdeps/i386/asm-syntax.h: Likewise.
11180 * sysdeps/s390/asm-syntax.h: Likewise.
11181 * sysdeps/unix/sysdep.h: Likewise.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11185 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11187 * libio/libio.h: Remove __STDC__ conditionals.
11188 * malloc/obstack.h: Likewise.
11189 * math/complex.h: Likewise.
11190 * math/math.h: Likewise.
11191 * sysdeps/generic/_G_config.h: Likewise.
11192 * sysdeps/gnu/_G_config.h: Likewise.
11193 * sysdeps/mach/hurd/_G_config.h: Likewise.
11194 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11195 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11196 * sysdeps/sparc/bits/mathdef.h: Likewise.
11198 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11201 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11202 Clean up HAS_* macros.
11203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11204 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11206 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11208 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11209 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11210 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11211 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11212 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11214 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11216 * elf/tst-unique3.cc (gets): Remove declaration.
11217 * elf/tst-unique3lib.cc (gets): Likewise.
11218 * elf/tst-unique3lib2.cc (gets): Likewise.
11219 * elf/tst-unique4.cc (gets): Likewise.
11221 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11223 * include/stdio.h: Add C++ protection. Add gets declarations and
11225 * debug/tst-chk1.c: Don't declare gets here.
11226 * stdio-common/tst-gets.c: Likewise.
11228 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11230 * posix/glob: Remove directory.
11232 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11234 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11236 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11238 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11239 of the non-standard EPFNOSUPPORT.
11241 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11243 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11244 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11245 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11247 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11249 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11251 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11253 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11255 * nscd/grpcache.c (cache_addgr): Likewise.
11256 * nscd/hstcache.c (cache_addhst): Likewise.
11257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11258 * nscd/pwdcache.c (cache_addpw): Likewise.
11259 * nscd/servicescache.c (cache_addserv): Likewise.
11261 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11263 * malloc/malloc.c: Various cleanups.
11264 * malloc/hooks.c: Likewise.
11266 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11267 * stdlib/bug-fmtmsg1.c: New file.
11269 * stdlib/fmtmsg.c (init): Add missing unlock.
11270 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11272 2012-01-12 Marek Polacek <polacek@redhat.com>
11274 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11277 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11279 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11280 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11281 macro to ensure uniqueness of label name.
11282 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11283 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11285 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11287 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11289 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11290 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11291 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11294 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11296 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11298 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11299 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11300 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11302 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11304 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11305 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11306 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11309 * math/bits/math-finite.h: Add ldexp support.
11311 2012-01-10 Marek Polacek <polacek@redhat.com>
11313 * locale/programs/localedef.h (show_archive_content): Add noreturn
11316 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11318 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11320 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11322 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11324 * io/Makefile (headers): Add bits/poll2.h.
11326 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11329 typo #include statement.
11331 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11333 * include/sys/cdefs.h: Define __attribute_alloc_size.
11334 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11335 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11336 * elf/pldd.c: Likewise.
11337 * iconv/iconv_charmap.c: Likewise.
11338 * iconv/iconvconfig.c: Likewise.
11339 * iconv/strtab.c: Likewise.
11340 * locale/programs/locale.c: Likewise.
11341 * locale/programs/localedef.h: Likewise.
11342 * locale/programs/simple-hash.c: Likewise.
11343 * nscd/nscd.h: Likewise.
11344 * nss/makedb.c: Likewise.
11345 * sysdeps/generic/ldconfig.h: Likewise.
11346 * locale/programs/localedef.c: Remove xmalloc prototype.
11347 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11349 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11351 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11354 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11356 * math/Makefile (tests): Add tst-CMPLX.
11357 * math/tst-CMPLX.c: New file.
11359 * math/complex.h (CMPLXL): Fix typo.
11361 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11362 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11364 * debug/tst-chk1.c: Add poll and ppoll tests.
11365 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11366 * include/sys/poll.h: Add hidden proto for ppoll.
11367 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11368 * sysdeps/mach/hurd/ppoll.c: Likewise.
11369 * io/ppoll.c: Likewise.
11370 * debug/poll_chk.c: New file.
11371 * debug/ppoll_chk.c: New file.
11372 * include/bits/poll2.h: New file.
11373 * io/bits/poll2.h: New file.
11376 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11378 * configure.in: static is always set to yes. Remove.
11379 * config.make.in: Don't set build-static.
11380 * Makeconfig: Remove use of build-static.
11381 * dlfcn/Makefile: Likewise.
11382 * elf/Makefile: Likewise.
11383 * math/Makefile: Likewise.
11384 * misc/Makefile: Likewise.
11385 * nptl/Makefile: Likewise.
11386 * sysdeps/mach/hurd/Makefile: Likewise.
11388 * configure.in: PWD_P is not used anymore.
11389 * config.make.in: Remove PWD_P entry.
11391 * configure.in: Remove last remnants of RANLIB.
11392 No need to check for signed size_t anymore.
11393 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11395 Remove __builtin_expect test because we require at least gcc 3.4.
11396 * aclocal.m4: Likewise.
11398 * wcsmbs/mbrtoc16.c: Implement using towc function.
11399 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11400 * wcsmbs/wcsmbsload.c: Likewise.
11401 * iconv/gconv_simple.c: Likewise.
11402 * iconv/gconv_int.h: Likewise.
11403 * iconv/gconv_builtin.h: Likewise.
11404 * iconv/iconv_prog.c: Remove CHAR16 handling.
11406 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11408 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11410 * configure.in: Remove --with-elf and --enable-bounded options.
11411 Dont set base_machine for ia64. More non-ELF conditions removed.
11412 Remove testing and setting of leading underscore information.
11413 * config.make.in (build-bounded): Set to no.
11414 * config.h.in: Remove NO_UNDERSCORES entry.
11415 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11417 * csu/start.c: Remove !NO_UNDERSCORE code.
11418 * locale/localeinfo.h: Likewise.
11419 * sysdeps/generic/machine-gmon.h: Likewise.
11420 * sysdeps/generic/sysdep.h: Likewise.
11421 * sysdeps/i386/sysdep.h: Likewise.
11422 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11423 * sysdeps/mach/sysdep.h: Likewise.
11424 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11425 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11426 * sysdeps/sh/sysdep.h: Likewise.
11427 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11428 * sysdeps/unix/i386/sysdep.S: Likewise.
11429 * sysdeps/unix/sparc/start.c: Likewise.
11430 * sysdeps/unix/sparc/sysdep.S: Likewise.
11431 * sysdeps/unix/sparc/sysdep.h: Likewise.
11432 * sysdeps/unix/start.c: Likewise.
11433 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11434 * sysdeps/x86_64/sysdep.h: Likewise.
11436 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11439 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11441 * argp/argp-fmtstream.h: Use const instead __const.
11442 * argp/argp.h: Likewise.
11443 * assert/assert.h: Likewise.
11444 * bits/fenv.h: Likewise.
11445 * bits/sched.h: Likewise.
11446 * bits/sigset.h: Likewise.
11447 * bits/sigthread.h: Likewise.
11448 * catgets/nl_types.h: Likewise.
11449 * conform/data/pthread.h-data: Likewise.
11450 * crypt/crypt-private.h: Likewise.
11451 * crypt/crypt.h: Likewise.
11452 * crypt/crypt_util.c: Likewise.
11453 * ctype/ctype.h: Likewise.
11454 * debug/execinfo.h: Likewise.
11455 * debug/mbsnrtowcs_chk.c: Likewise.
11456 * debug/mbsrtowcs_chk.c: Likewise.
11457 * debug/wcsnrtombs_chk.c: Likewise.
11458 * debug/wcsrtombs_chk.c: Likewise.
11459 * debug/wcstombs_chk.c: Likewise.
11460 * dirent/dirent.h: Likewise.
11461 * dlfcn/dlfcn.h: Likewise.
11462 * elf/neededtest4.c: Likewise.
11463 * grp/grp.h: Likewise.
11464 * gshadow/gshadow.h: Likewise.
11465 * iconv/gconv.h: Likewise.
11466 * iconv/gconv_int.h: Likewise.
11467 * iconv/gconv_simple.c: Likewise.
11468 * iconv/iconv.h: Likewise.
11469 * iconv/loop.c: Likewise.
11470 * iconv/skeleton.c: Likewise.
11471 * include/aio.h: Likewise.
11472 * include/aliases.h: Likewise.
11473 * include/argz.h: Likewise.
11474 * include/arpa/inet.h: Likewise.
11475 * include/assert.h: Likewise.
11476 * include/dirent.h: Likewise.
11477 * include/dlfcn.h: Likewise.
11478 * include/execinfo.h: Likewise.
11479 * include/fcntl.h: Likewise.
11480 * include/fenv.h: Likewise.
11481 * include/glob.h: Likewise.
11482 * include/grp.h: Likewise.
11483 * include/libintl.h: Likewise.
11484 * include/mntent.h: Likewise.
11485 * include/netdb.h: Likewise.
11486 * include/pwd.h: Likewise.
11487 * include/rpc/netdb.h: Likewise.
11488 * include/sched.h: Likewise.
11489 * include/search.h: Likewise.
11490 * include/shadow.h: Likewise.
11491 * include/signal.h: Likewise.
11492 * include/stdio.h: Likewise.
11493 * include/stdlib.h: Likewise.
11494 * include/string.h: Likewise.
11495 * include/sys/socket.h: Likewise.
11496 * include/sys/stat.h: Likewise.
11497 * include/sys/statfs.h: Likewise.
11498 * include/sys/statvfs.h: Likewise.
11499 * include/sys/syslog.h: Likewise.
11500 * include/sys/time.h: Likewise.
11501 * include/sys/uio.h: Likewise.
11502 * include/time.h: Likewise.
11503 * include/unistd.h: Likewise.
11504 * include/utmp.h: Likewise.
11505 * include/wchar.h: Likewise.
11506 * include/wctype.h: Likewise.
11507 * inet/aliases.h: Likewise.
11508 * inet/arpa/inet.h: Likewise.
11509 * inet/netinet/ether.h: Likewise.
11510 * inet/netinet/in.h: Likewise.
11511 * intl/libintl.h: Likewise.
11512 * io/bits/fcntl2.h: Likewise.
11513 * io/fcntl.h: Likewise.
11514 * io/ftw.h: Likewise.
11515 * io/sys/poll.h: Likewise.
11516 * io/sys/stat.h: Likewise.
11517 * io/sys/statfs.h: Likewise.
11518 * io/sys/statvfs.h: Likewise.
11519 * io/utime.h: Likewise.
11520 * libio/bits/stdio.h: Likewise.
11521 * libio/bits/stdio2.h: Likewise.
11522 * libio/libio.h: Likewise.
11523 * libio/libioP.h: Likewise.
11524 * libio/stdio.h: Likewise.
11525 * locale/lc-ctype.c: Likewise.
11526 * locale/locale.h: Likewise.
11527 * login/utmp.h: Likewise.
11528 * malloc/arena.c: Likewise.
11529 * malloc/malloc.c: Likewise.
11530 * malloc/malloc.h: Likewise.
11531 * malloc/mcheck.c: Likewise.
11532 * malloc/mtrace.c: Likewise.
11533 * math/bits/mathcalls.h: Likewise.
11534 * math/fenv.h: Likewise.
11535 * math/math_private.h: Likewise.
11536 * misc/bits/error.h: Likewise.
11537 * misc/bits/syslog.h: Likewise.
11538 * misc/err.h: Likewise.
11539 * misc/error.h: Likewise.
11540 * misc/fstab.h: Likewise.
11541 * misc/mntent.h: Likewise.
11542 * misc/regexp.h: Likewise.
11543 * misc/search.h: Likewise.
11544 * misc/sgtty.h: Likewise.
11545 * misc/sys/mman.h: Likewise.
11546 * misc/sys/syslog.h: Likewise.
11547 * misc/sys/uio.h: Likewise.
11548 * misc/sys/xattr.h: Likewise.
11549 * misc/ttyent.h: Likewise.
11550 * nis/rpcsvc/ypclnt.h: Likewise.
11551 * nss/nss.h: Likewise.
11552 * posix/bits/unistd.h: Likewise.
11553 * posix/fnmatch.h: Likewise.
11554 * posix/glob.h: Likewise.
11555 * posix/sched.h: Likewise.
11556 * posix/spawn.h: Likewise.
11557 * posix/sys/wait.h: Likewise.
11558 * posix/unistd.h: Likewise.
11559 * posix/wordexp.h: Likewise.
11560 * pwd/pwd.h: Likewise.
11561 * resolv/netdb.h: Likewise.
11562 * resource/sys/resource.h: Likewise.
11563 * rt/aio.h: Likewise.
11564 * rt/bits/mqueue2.h: Likewise.
11565 * rt/mqueue.h: Likewise.
11566 * shadow/shadow.h: Likewise.
11567 * signal/signal.h: Likewise.
11568 * socket/send.c: Likewise.
11569 * socket/sendto.c: Likewise.
11570 * socket/sys/socket.h: Likewise.
11571 * stdio-common/printf.h: Likewise.
11572 * stdlib/bits/stdlib.h: Likewise.
11573 * stdlib/fmtmsg.h: Likewise.
11574 * stdlib/monetary.h: Likewise.
11575 * stdlib/stdlib.h: Likewise.
11576 * stdlib/ucontext.h: Likewise.
11577 * streams/stropts.h: Likewise.
11578 * string/argz.h: Likewise.
11579 * string/bits/string2.h: Likewise.
11580 * string/string.h: Likewise.
11581 * string/strings.h: Likewise.
11582 * sunrpc/rpc/auth.h: Likewise.
11583 * sunrpc/rpc/auth_des.h: Likewise.
11584 * sunrpc/rpc/clnt.h: Likewise.
11585 * sunrpc/rpc/netdb.h: Likewise.
11586 * sunrpc/rpc/pmap_clnt.h: Likewise.
11587 * sunrpc/rpc/xdr.h: Likewise.
11588 * sysdeps/generic/inttypes.h: Likewise.
11589 * sysdeps/generic/net/if.h: Likewise.
11590 * sysdeps/generic/sys/swap.h: Likewise.
11591 * sysdeps/gnu/net/if.h: Likewise.
11592 * sysdeps/gnu/utmpx.h: Likewise.
11593 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11594 * sysdeps/i386/i486/bits/string.h: Likewise.
11595 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11596 * sysdeps/s390/bits/string.h: Likewise.
11597 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11598 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11599 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11600 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11601 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11602 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11603 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11604 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11605 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11606 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11607 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11608 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11609 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11610 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11611 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11612 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11613 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11615 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11616 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11617 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11618 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11619 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11620 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11621 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11622 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11623 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11624 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11625 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11626 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11627 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11628 * sysvipc/sys/ipc.h: Likewise.
11629 * sysvipc/sys/msg.h: Likewise.
11630 * sysvipc/sys/sem.h: Likewise.
11631 * sysvipc/sys/shm.h: Likewise.
11632 * termios/termios.h: Likewise.
11633 * time/sys/time.h: Likewise.
11634 * time/time.h: Likewise.
11635 * wcsmbs/bits/wchar2.h: Likewise.
11636 * wcsmbs/uchar.h: Likewise.
11637 * wcsmbs/wchar.h: Likewise.
11638 * wctype/wctype.h: Likewise.
11641 * Makeconfig: Remove all but ELF support including AIX support.
11642 * Makerules: Likewise.
11643 * config.h.in: Likewise.
11644 * config.make.in: Likewise.
11645 * configure: Likewise.
11646 * configure.in: Likewise.
11647 * csu/Makefile: Likewise.
11648 * csu/version.c: Likewise.
11649 * debug/Makefile: Likewise.
11650 * dlfcn/Makefile: Likewise.
11651 * elf/Makefile: Likewise.
11652 * extra-lib.mk: Likewise.
11653 * iconv/Makefile: Likewise.
11654 * include/libc-symbols.h: Likewise.
11655 * include/shlib-compat.h: Likewise.
11656 * resolv/Makefile: Likewise.
11657 * resolv/res_libc.c: Likewise.
11658 * rt/Makefile: Likewise.
11659 * sysdeps/i386/asm-syntax.h: Likewise.
11660 * sysdeps/i386/sysdep.h: Likewise.
11661 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11662 * sysdeps/mach/sysdep.h: Likewise.
11663 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11664 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11665 * sysdeps/s390/asm-syntax.h: Likewise.
11666 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11667 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11668 * sysdeps/sh/sysdep.h: Likewise.
11669 * sysdeps/unix/sparc/sysdep.h: Likewise.
11670 * sysdeps/wordsize-32/divdi3.c: Likewise.
11671 * sysdeps/x86_64/sysdep.h: Likewise.
11673 * argp/Versions: Remove _argp_unlock_xxx.
11676 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11677 * abilist/libBrokenLocale.abilist: Likewise.
11678 * abilist/libanl.abilist: Likewise.
11679 * abilist/libc.abilist: Likewise.
11680 * abilist/libcrypt.abilist: Likewise.
11681 * abilist/libdl.abilist: Likewise.
11682 * abilist/libm.abilist: Likewise.
11683 * abilist/libnsl.abilist: Likewise.
11684 * abilist/libpthread.abilist: Likewise.
11685 * abilist/libresolv.abilist: Likewise.
11686 * abilist/librt.abilist: Likewise.
11687 * abilist/libthread_db.abilist: Likewise.
11688 * abilist/libutil.abilist: Likewise.
11689 * abilist/libnss_db.abilist: New file.
11691 * scripts/abilist.awk: Add support for indirect functions.
11693 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11695 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11697 * shlib-versions: Remove entries for ports architectures.
11699 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11701 * elf/stackguard-macros.h: Remove support for IA-64.
11702 * elf/tst-auditmod1.c: Likewise.
11703 * sysdeps/generic/ldsodefs.h: Likewise.
11705 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11706 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11710 * configure.in: Remove --enable-omitfp support.
11712 * config.make.in: Likewise.
11713 * Makeconfig: Likewise.
11714 * manual/install.texi: Likewise.
11716 In case anyone cares, the IA-64 architecture could move to ports.
11717 * sysdeps/ia64/*: Removed.
11718 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11719 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11722 * configure.in: Remove entries for unsupported architectures.
11725 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11726 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11728 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11729 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11730 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11731 fall back to using wcrtomb.
11732 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11733 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11735 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11736 * wcsmbs/tst-c16c32-1.c: New file.
11738 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11741 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11743 * elf/tst-unique3.cc: Add explicit declaration of gets.
11744 * elf/tst-unique3lib.cc: Likewise.
11745 * elf/tst-unique3lib2.cc: Likewise.
11746 * elf/tst-unique4.cc: Likewise.
11748 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11750 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11753 * assert/assert.h (static_assert): Don't define for C++.
11754 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11755 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11757 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11759 * iconv/loop.c (single loop): Fix assertion in storing of
11762 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11764 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11766 * posix/getconf.c: Update copyright year.
11767 * nss/getent.c: Likewise.
11768 * nss/makedb.c: Likewise.
11769 * iconv/iconvconfig.c: Likewise.
11770 * iconv/iconv_prog.c: Likewise.
11771 * elf/ldconfig.c: Likewise.
11772 * elf/pldd.c: Likewise.
11773 * elf/sotruss.ksh: Likewise.
11774 * catgets/gencat.c: Likewise.
11775 * csu/version.c: Likewise.
11776 * elf/ldd.bash.in: Likewise.
11777 * elf/sprof.c (print_version): Likewise.
11778 * locale/programs/locale.c: Likewise.
11779 * locale/programs/localedef.c: Likewise.
11780 * login/programs/pt_chown.c: Likewise.
11781 * nscd/nscd.c (print_version): Likewise.
11782 * debug/xtrace.sh: Likewise.
11783 * malloc/memusage.sh: Likewise.
11784 * malloc/mtrace.pl: Likewise.
11785 * debug/catchsegv.sh: Likewise.
11787 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11789 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11792 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11795 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11796 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11798 * iconv/gconv_int.h: Likewise.
11799 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11800 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11801 from libc for GLIBC_2.16.
11802 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11803 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11804 * wcsmbs/uchar.h: Really define mbstate_t.
11805 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11806 * wcsmbs/c16rtomb.c: New file.
11807 * wcsmbs/mbrtoc16.c: New file.
11808 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11809 for C/POSIX locale.
11810 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11811 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11813 * wcsmbs/wchar.h: Add missing __restrict.
11815 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11818 * time/Makefile (routines): Add timespec_get.
11819 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11820 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11821 timespec for ISO C11.
11822 * time/timespec_get.c: New file.
11823 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11824 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11827 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11828 * stdlib/stdlib.h: Declare aligned_alloc.
11829 * Versions.def: Add GLIBC_2.16 for libc.
11830 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11833 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11836 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11840 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11843 * assert/assert.h (static_assert): Define.
11845 * version.h: Update for 2.16 development version.
11848 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11851 * version.h (RELEASE): Bump for 2.15 release.
11852 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11854 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11855 Patch by Marek Polacek <mpolacek@redhat.com>.
11857 * bits/byteswap.h: Protect long long constants with __extension__.
11858 * sysdeps/i386/bits/byteswap.h: Likewise.
11859 * sysdeps/ia64/bits/byteswap.h: Likewise.
11860 * sysdeps/s390/bits/byteswap.h: Likewise.
11861 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11863 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11866 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11867 destination buffer.
11868 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11870 2011-12-23 Marek Polacek <polacek@redhat.com>
11872 * elf/dl-addr.c (determine_info): Add inline keyword.
11873 * elf/tst-auditmod4b.c (check_avx): Likewise.
11874 * elf/tst-auditmod6b.c (check_avx): Likewise.
11875 * elf/tst-auditmod6c.c (check_avx): Likewise.
11876 * elf/tst-auditmod7b.c (check_avx): Likewise.
11878 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11880 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11883 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11886 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11887 processing for last bytes.
11889 2011-08-06 Bruno Haible <bruno@clisp.org>
11892 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11893 U+0385, not to U+1FEE.
11896 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11897 entry for U+00A5 U+0301.
11899 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11902 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11903 buffer for the output is too small.
11905 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11909 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11910 SSE flags if possible.
11912 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11915 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11916 processing for last bytes.
11918 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11920 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11921 (syscall-list-default-options, syscall-list-default-condition)
11922 (syscall-list-includes): Define.
11923 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11924 list of ABIs and options and #if conditions for each ABI. Do not
11925 handle common syscalls between ABIs specially.
11926 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11928 (syscall-list-variants, syscall-list-32bit-options)
11929 (syscall-list-32bit-condition, syscall-list-64bit-options)
11930 (syscall-list-64bit-condition): Define.
11931 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11932 (syscall-list-variants, syscall-list-32bit-options)
11933 (syscall-list-32bit-condition, syscall-list-64bit-options)
11934 (syscall-list-64bit-condition): Define.
11935 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11937 (syscall-list-variants, syscall-list-32bit-options)
11938 (syscall-list-32bit-condition, syscall-list-64bit-options)
11939 (syscall-list-64bit-condition): Define.
11940 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11942 (syscall-list-variants, syscall-list-32bit-options)
11943 (syscall-list-32bit-condition, syscall-list-64bit-options)
11944 (syscall-list-64bit-condition): Define.
11946 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11948 * locale/iso-639.def: Add brx entry.
11951 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11952 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11954 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11955 __feraiseexcept_renamed.
11957 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11960 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11961 EPOLLET with unsigned values.
11962 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11963 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11965 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11966 to large cancellation.
11967 * math/s_cacoshf.c: Likewise.
11968 * math/s_cacoshl.c: Likewise.
11970 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11974 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11975 * math/s_cacoshf.c: Likewise.
11976 * math/s_cacoshl.c: Likewise.
11978 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11981 * iconv/gconv.h: Define __GCONV_SWAP.
11982 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11983 * iconvdata/utf-16.c: Likewise.
11984 * iconvdata/utf-32.c: Likewise.
11986 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11989 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11990 numerator after shifting it by one limb.
11992 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11994 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11995 under [__USE_EXTERN_INLINES].
11997 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12000 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12002 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12004 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12005 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12007 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12008 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12009 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12010 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12011 for strncasecmp/strncasecmp_l compilation.
12012 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12013 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12015 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12018 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12021 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12024 * time/tzfile.c (__tzfile_read): Check values from file header.
12026 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12028 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12029 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12030 * powerpc/powerpc32/dl-start.S: Likewise.
12031 * powerpc/powerpc32/elf/start.S: Likewise.
12032 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12033 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12034 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12035 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12036 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12037 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12038 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12039 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12040 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12041 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12042 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12043 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12044 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12045 * powerpc/powerpc32/memset.S: Likewise.
12046 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12047 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12048 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12049 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12050 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12051 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12052 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12053 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12054 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12055 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12056 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12057 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12058 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12060 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12062 * math/libm-test.inc: Added more nearbyint tests.
12063 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12064 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12065 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12066 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12068 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12070 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12073 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12075 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12076 Add wcscpy-ssse3 wcscpy-c.
12077 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12078 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12079 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12080 * sysdeps/x86_64/wcschr.S: New file.
12081 * sysdeps/x86_64/wcsrchr.S: New file.
12082 * string/test-strcmp.c: Remove checking of wcscmp function for
12084 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12085 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12086 wcsrchr-sse2 wcsrchr-c.
12087 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12088 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12089 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12090 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12091 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12092 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12093 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12094 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12095 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12096 * wcsmbc/wcschr.c (WCSCHR): New macro.
12098 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12100 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12101 * wcsmbs/test-wcsrchr.c: New file.
12102 * string/test-strrchr.c: Add wcsrchr support.
12104 * wcsmbs/test-wcscpy.c: New file.
12105 * string/test-strcpy.c: Add wcscpy support.
12108 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12110 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12113 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12116 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12118 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12120 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12121 Minor optimizations.
12123 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12124 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12125 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12127 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12129 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12130 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12131 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12132 for gcc to avoid warnings.
12133 * inet/Makefile (tests): Add tst-checks.
12134 * inet/tst-checks.c: New file.
12136 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12139 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12142 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12143 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12145 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12147 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12149 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12152 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12154 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12156 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12157 conditional on GCC version.
12158 (__arch_compare_and_exchange_val_8_acq)
12159 (__arch_compare_and_exchange_val_16_acq)
12160 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12161 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12162 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12164 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12166 * sysdeps/sh/backtrace.c: New file.
12168 2011-12-02 Andreas Schwab <schwab@redhat.com>
12170 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12173 2011-12-01 Andreas Schwab <schwab@redhat.com>
12175 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12176 falling back to utime.
12178 2011-11-30 Andreas Schwab <schwab@redhat.com>
12180 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12181 expectations for float.
12183 2011-11-29 Andreas Schwab <schwab@redhat.com>
12185 * locale/weight.h (findidx): Add parameter len.
12186 * locale/weightwc.h (findidx): Likewise.
12187 * posix/fnmatch_loop.c (FCT): Adjust caller.
12188 * posix/regcomp.c (build_equiv_class): Likewise.
12189 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12190 * posix/regexec.c (check_node_accept_bytes): Likewise.
12191 * string/strcoll_l.c (STRCOLL): Likewise.
12192 * string/strxfrm_l.c (STRXFRM): Likewise.
12194 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12196 * Makefile.in: Remove CVSOPT handling.
12197 * configure.in: Remove use of AC_REVISION.
12198 * iconvdata/Makefile (distribute): No need to filter out CVS.
12199 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12202 2011-11-16 Andreas Schwab <schwab@redhat.com>
12204 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12205 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12206 [USE_AS_STRNCASECMP_L]: Likewise.
12207 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12208 NO_TLS_DIRECT_SEG_REFS.
12209 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12210 Fix argument offsets for non-PIC.
12211 [USE_AS_STRNCASECMP_L]: Likewise.
12212 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12213 NO_TLS_DIRECT_SEG_REFS.
12215 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12217 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12219 * locale/loadlocale.c (_nl_load_locale): Likewise.
12221 2011-11-15 Andreas Schwab <schwab@redhat.com>
12223 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12224 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12225 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12226 (SYSCALL_GETTIME): Set errno on error.
12228 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12229 count references to noai6ai_cached.
12231 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12233 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12235 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12236 FD_CLOEXEC for /proc/self/maps.
12238 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12239 FD_CLOEXEC for /proc/meminfo.
12241 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12244 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12245 FD_CLOEXEC for given file.
12247 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12249 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12250 FD_CLOEXEC for /etc/hosts.
12251 (_gethtent): Likewise.
12253 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12255 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12256 cancellation and set FD_CLOEXEC for /etc/netgroup.
12258 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12259 reading /etc/publickey.
12261 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12262 allow cancellation when reading /etc/group.
12264 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12266 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12268 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12269 when using data file.
12271 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12273 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12274 (write_nis_obj): Use "c" and "e" in fopen.
12276 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12278 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12280 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12282 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12284 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12287 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12289 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12291 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12293 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12294 file parsing and set FD_CLOEXEC.
12296 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12298 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12300 2011-11-14 Andreas Schwab <schwab@redhat.com>
12302 * malloc/arena.c (arena_get2): Don't call reused_arena when
12303 _int_new_arena failed.
12305 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12307 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12308 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12309 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12310 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12311 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12312 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12313 to compile strcasecmp and strncasecmp.
12314 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12315 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12319 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12321 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12322 locale-defines.sym to gen-as-const-headers.
12323 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12324 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12325 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12326 to compile strcasecmp and strncasecmp.
12327 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12328 strcasecmp_l and strncasecmp_l.
12329 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12330 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12331 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12332 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12333 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12334 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12335 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12336 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12337 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12338 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12339 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12341 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12343 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12344 result of SYSDEP_GETTIME_CPU to retval.
12345 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12346 parameter list to macro. Remove trailing semicolon. Adjust users.
12348 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12351 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12353 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12355 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12356 from unused variable.
12358 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12360 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12363 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12366 * sunrpc/rpc_prot.c (rejected): Fix case value.
12368 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12369 unsigned long long int to avoid warnings in shift.
12371 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12373 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12376 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12377 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12378 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12380 * nis/nis_table.c (nis_list): Use variable of correct type for
12381 result of __follow_path call.
12383 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12385 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12386 of math functions ceil, trunc, floor, round, and sqrt, when
12387 avaliable on the platform.
12388 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12390 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12391 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12392 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12394 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12396 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12397 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12399 2011-11-11 Roland McGrath <roland@hack.frob.com>
12401 * include/unistd.h: Fix __readlink return type.
12402 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12404 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12406 * stdlib/ucontext.h: Undo last change for makecontext.
12408 2011-11-11 Andreas Schwab <schwab@redhat.com>
12410 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12412 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12413 * setjmp/setjmp.h: Mark functions as non-leaf.
12414 * setjmp/bits/setjmp2.h: Likewise.
12415 * stdlib/ucontext.h: Likewise.
12417 2011-11-10 Andreas Schwab <schwab@redhat.com>
12419 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12420 (reused_arena): Don't check arena limit.
12421 (arena_get2): Atomically check arena limit.
12423 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12425 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12426 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12428 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12431 2011-11-07 Andreas Schwab <schwab@redhat.com>
12433 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12434 handler when locking.
12436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12437 Fix size of allocated buffer.
12439 2011-11-04 Andreas Schwab <schwab@redhat.com>
12442 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12443 declarations for long double functions.
12444 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12446 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12448 2011-11-03 Andreas Schwab <schwab@redhat.com>
12450 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12453 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12456 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12458 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12460 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12462 * include/alloca.h (stackinfo_alloca_round): Define.
12463 (extend_alloca): Use it.
12464 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12465 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12468 * scripts/check-local-headers.sh: Ignore libaudit.h.
12470 * nscd/Makefile (extra-objs): Make recursively expanded.
12472 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12474 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12475 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12477 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12478 * posix/tst-rfc3484-2.c: Likewise.
12479 * posix/tst-rfc3484-3.c: Likewise.
12481 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12483 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12485 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12486 process_vm_writev from libc using GLIBC_2.15 version.
12488 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12490 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12492 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12495 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12498 * nss/getent.c (initgroups_keys): Show error message in case no group
12501 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12502 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12503 __bump_nl_timestamp.
12504 * nscd/connections (nscd_init): When host database is served open
12505 netlink socket and request notification about configuration changes.
12506 (main_loop_poll): Track netlink file descriptor and bump timestamp
12507 in case data becomes available.
12508 (main_loop_epoll): Likewise.
12509 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12510 (database_pers_head): Add extra_data fileds.
12511 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12512 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12513 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12515 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12516 in6ai data, call __free_in6ai.
12517 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12518 Add -DHAVE_NETLINK.
12519 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12520 interface information. Reuse previous data if netlink timestamp
12522 (__bump_nl_timestamp): New function.
12523 (__free_in6ai): New function.
12525 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12527 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12528 close_not_cancel_no_status here.
12529 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12531 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12534 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12537 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12538 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12539 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12541 2011-07-03 Andreas Jaeger <aj@suse.de>
12544 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12545 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12546 * math/libm-test.inc (sin_test): Add test case.
12548 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12551 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12552 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12554 * elf/chroot_canon.c (chroot_canon): Cleanups.
12556 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12559 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12560 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12562 * string/test-strchr.c: Make usable for strchrnul testing.
12563 * string/test-strchrnul.c: New file.
12564 * string/Makefile (strop-tests): Add strchrnul.
12566 * po/it.po: Update from translation team.
12567 * po/es.po: Likewise.
12569 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12571 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12572 the three constants needed as parameters. Drop the others.
12573 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12574 __m128i_strloadu_tolower.
12575 Create and initialize variable zero and use it in all the places
12576 where _mm_setzero_si128 was used.
12578 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12579 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12580 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12581 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12583 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12584 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12585 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12586 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12587 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12588 __mpranred, __mptan.
12589 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12590 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12591 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12592 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12593 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12594 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12595 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12596 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12597 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12599 2011-10-28 Andreas Schwab <schwab@redhat.com>
12601 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12602 redefine if SHARED.
12603 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12605 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12606 wide char related routines to wcsmbs subdir.
12608 2011-10-27 Andreas Schwab <schwab@redhat.com>
12611 * misc/sys/cdefs.h (__THROWNL): Define.
12612 * posix/unistd.h: Use __THREADNL instead of __THREAD
12613 for memory synchronization functions.
12615 2011-10-26 Roland McGrath <roland@hack.frob.com>
12618 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12620 * manual/stdio.texi (Obstack Streams): Node removed.
12622 2011-10-26 Andreas Schwab <schwab@redhat.com>
12624 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12625 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12626 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12628 * math/math_private.h (math_force_eval): Allow non-addressable
12630 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12632 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12634 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12635 file is not needed.
12637 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12638 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12639 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12640 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12641 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12642 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12643 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12644 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12646 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12647 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12648 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12649 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12650 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12651 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12652 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12653 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12654 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12655 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12656 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12657 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12658 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12659 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12660 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12661 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12662 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12663 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12664 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12666 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12667 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12669 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12670 place. Use VEX encoding when compiling for AVX.
12672 2011-10-25 Andreas Schwab <schwab@redhat.com>
12674 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12675 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12677 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12679 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12681 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12682 useless if() expression.
12683 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12692 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12693 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12694 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12695 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12696 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12697 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12698 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12699 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12701 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12703 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12705 2011-10-25 Andreas Schwab <schwab@redhat.com>
12707 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12709 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12711 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12713 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12714 .text section. Avoid duplicate constants.
12715 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12716 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12723 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12725 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12727 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12730 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12732 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12738 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12739 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12740 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12741 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12742 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12743 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12744 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12745 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12746 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12747 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12748 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12749 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12750 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12751 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12753 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12754 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12755 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12756 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12757 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12758 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12759 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12761 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12763 * sysdeps/x86_64/dla.h: Move to ...
12764 * sysdeps/x86_64/fpu/dla.h: ...here.
12765 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12766 situations. Use __builtin_fma only for gcc 4.6 and up.
12768 * config.make.in: Add have-mfma4 entry.
12769 * configure.in: Substitute libc_cv_cc_fma4.
12770 * math/Makefile (dbl-only-routines): Add sincostab.
12771 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12772 Use __sincostab not sincos.
12773 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12775 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12780 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12781 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12782 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12783 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12785 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12786 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12788 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12789 define aliases when function name is a macro.
12790 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12791 sysdeps/ieee754/dbl-64/sincos.tbl.
12792 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12793 fma4-enabled routines.
12794 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12795 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12796 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12797 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12798 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12799 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12801 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12802 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12803 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12804 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12805 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12806 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12807 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12808 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12809 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12810 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12811 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12812 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12814 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12815 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12816 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12817 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12820 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12821 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12822 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12823 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12825 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12836 2011-10-24 Andreas Schwab <schwab@redhat.com>
12838 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12840 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12842 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12844 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12846 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12848 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12849 Remove unused variable magic_bits.
12850 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12852 * string/strnlen.c: Define and use STRNLEN macro.
12853 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12854 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12855 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12856 * wcsmbs/wcslen.c: Define and use WCSLEN.
12857 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12858 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12859 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12860 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12861 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12862 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12863 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12865 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12868 strnlen-sse2-no-bsf.
12869 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12870 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12871 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12872 Add strnlen support.
12873 (USE_AS_STRNLEN): New macro.
12874 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12875 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12876 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12877 * sysdeps/x86_64/wcslen.S: New file.
12879 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12881 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12882 XMM-moves are used for copying on small sizes.
12884 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12886 * wcsmbs/Makefile (strop-tests): Add wcschr.
12887 * wcsmbs/test-wcschr.c: New file.
12888 * string/test-strchr.c: Update.
12889 Add wcschr support.
12892 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12894 * wcsmbs/Makefile (strop-tests): Add wcslen.
12895 * wcsmbs/test-wcslen.c: New file.
12896 * string/test-strlen.c: Update.
12897 Add wcslen support.
12900 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12902 * po/it.po: Update from translation team.
12904 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12906 * sysdeps/x86_64/wcscmp.S: Update.
12907 Fix wrong comparison semantics.
12908 wcscmp shall use signed comparison not unsigned.
12909 Don't use substraction to avoid overflow bug.
12910 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12911 * wcsmbc/wcscmp.c: Likewise.
12912 * string/test-strcmp.c: Likewise.
12913 Add new tests to check cases with negative values.
12915 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12917 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12918 * sysdeps/x86_64/dla.h: ...here. New file.
12919 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12921 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12922 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12926 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12929 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12932 __ynl_finite aliases.
12934 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12938 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12940 [DLA_FMA] (EMULV): Use DLA_FMA.
12941 [DLA_FMA] (MUL12): Use EMULV.
12942 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12943 that are not needed.
12944 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12952 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12954 * math/s_nan.c: Undef __nan.
12955 * math/s_nanf.c: Undef __nanf.
12956 * math/s_nanl.c: Undef __nanl.
12957 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12960 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12962 * math/s_catan.c: Add branch predictions.
12963 * math/s_catanf.c: Likewise.
12964 * math/s_catanh.c: Likewise.
12965 * math/s_catanhf.c: Likewise.
12966 * math/s_catanhl.c: Likewise.
12967 * math/s_catanl.c: Likewise.
12968 * math/s_cexp.c: Likewise.
12969 * math/s_cexpf.c: Likewise.
12970 * math/s_cexpl.c: Likewise.
12971 * math/s_clog.c: Likewise.
12972 * math/s_clog10.c: Likewise.
12973 * math/s_clog10f.c: Likewise.
12974 * math/s_clog10l.c: Likewise.
12975 * math/s_clogf.c: Likewise.
12976 * math/s_clogl.c: Likewise.
12977 * math/s_csqrt.c: Likewise.
12978 * math/s_csqrtf.c: Likewise.
12979 * math/s_csqrtl.c: Likewise.
12980 * math/s_ctanf.c: Likewise.
12981 * math/s_ctanh.c: Likewise.
12982 * math/s_ctanhf.c: Likewise.
12983 * math/s_ctanhl.c: Likewise.
12984 * math/s_ctanl.c: Likewise.
12986 * math/math_private.h: Define __nan, __nanf, __nanl.
12987 * math/s_cacosh.c: Include <math_private.h>.
12988 * math/s_cacoshl.c: Likewise.
12989 * math/s_casinh.c: Likewise.
12990 * math/s_casinhf.c: Likewise.
12991 * math/s_casinhl.c: Likewise.
12992 * math/s_ccos.c: Rely entire on ccosh.
12993 * math/s_ccosf.c: Rely entire on ccoshf.
12994 * math/s_ccosl.c: Rely entirely on ccoshl.
12995 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12996 Remove tests for FE_INVALID.
12997 * math/s_ccoshf.c: Likewise.
12998 * math/s_ccoshl.c: Likewise.
12999 * math/s_csin.c: Likewise.
13000 * math/s_csinf.c: Likewise.
13001 * math/s_csinh.c Likewise.
13002 * math/s_csinhf.c: Likewise.
13003 * math/s_csinhl.c: Likewise.
13004 * math/s_csinl.c: Likewise.
13005 * math/s_ctan.c: Likewise.
13006 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13007 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13008 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13010 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13013 compilation problems.
13015 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13018 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13020 * sysdeps/i386/configure.in: Test for -mfma4 option.
13021 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13022 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13023 COMMON_CPUID_INDEX_80000001.
13024 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13025 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13026 use it if FMA3 is not supported.
13027 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13029 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13030 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13032 2011-10-20 Andreas Schwab <schwab@redhat.com>
13035 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13036 it would create a cycle with a link time dependency.
13038 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13040 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13042 * string/Makefile (strop-tests): Add rawmemchr.
13043 * string/test-rawmemchr.c: New file.
13045 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13046 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13047 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13048 when compiling str{,n}casecmp and when AVX is available. Hook up
13049 new optimized code in initializers.
13051 2011-10-19 Andreas Schwab <schwab@redhat.com>
13053 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13054 __feraiseexcept instead of feraiseexcept.
13056 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13058 * math/math_private.h: Define defaults for libc_fetestexcept and
13060 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13061 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13062 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13063 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13064 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13065 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13066 libc_fetestexcept and libc_feupdateenv.
13068 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13069 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13070 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13071 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13072 libc_feholdexcept_setround.
13074 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13075 Add s_nearbyint-c and s_nearbyintf-c.
13076 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13077 nearbyintf inlines.
13078 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13079 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13080 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13081 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13083 * math/math_private.h: Define defaults for libc_fegetround,
13084 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13085 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13086 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13087 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13088 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13089 standard functions.
13090 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13091 Remove comments and hacks for old compiler versions.
13092 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13093 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13094 libc_feholdexceptl.
13096 2011-10-18 Andreas Schwab <schwab@redhat.com>
13098 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13099 (__feraiseexcept_renamed): Add __NTH.
13100 (feraiseexcept): Add __NTH. Rename local variables to fix
13101 namespace violations.
13103 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13105 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13107 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13109 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13110 recently added interfaces.
13111 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13113 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13114 about macro parameter expansion.
13116 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13117 __NO_MATH_INLINES is defined. Cleanups.
13119 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13120 and __floorf is target has SSE4.1.
13121 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13122 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13123 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13124 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13126 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13128 (floorf): Likewise.
13130 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13132 2011-10-17 Andreas Schwab <schwab@redhat.com>
13134 * misc/sys/cdefs.h: Fix last change.
13136 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13139 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13141 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13143 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13144 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13148 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13149 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13150 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13151 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13152 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13153 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13154 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13155 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13156 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13157 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13158 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13159 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13160 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13161 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13162 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13163 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13164 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13166 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13167 ceil, ceilf, floor, floorf.
13169 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13170 Perform IRELATIVE relocations last.
13172 * elf/do-rel.h: Add another parameter nrelative, replacing the
13173 local variable with the same name. Change name of the function
13174 to end in Rel or Rela (uppercase).
13175 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13176 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13177 elf_dynamic_do_##reloc function.
13179 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13181 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13182 is sufficient, at least on modern CPUs.
13184 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13186 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13187 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13189 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13191 * math/bits/math-finite.h: Add entries for exp.
13192 * math/e_expl.c: Add __*_finite alias.
13193 * sysdeps/i386/fpu/e_exp.S: Likewise.
13194 * sysdeps/i386/fpu/e_expf.S: Likewise.
13195 * sysdeps/i386/fpu/e_expl.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13197 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13201 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13202 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13204 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13205 is sufficient, at least on modern CPUs.
13207 * ctype/ctype-info.c (__ctype_init): Define.
13208 * include/ctype.h (__ctype_init): Declare.
13209 (__ctype_b_loc): The variable is always initialized.
13210 (__ctype_toupper_loc): Likewise.
13211 (__ctype_tolower_loc): Likewise.
13212 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13213 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13215 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13217 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13219 * configure.in: Also look in $cxxmachine/include for C++ system
13222 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13224 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13225 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13226 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13227 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13228 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13229 (USE_AS_WMEMCMP): New macro.
13231 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13232 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13233 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13234 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13236 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13237 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13238 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13239 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13240 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13241 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13242 (USE_AS_WMEMCMP): New macro.
13243 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13244 * sysdeps/string/test-memcmp.c: Update.
13245 Fix simple_wmemcmp.
13247 * wcsmbs/wmemcmp.c: Update.
13248 (WMEMCMP): New macro.
13251 2011-10-12 Andreas Jaeger <aj@suse.de>
13254 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13256 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13258 * libio/iofwide.c (do_length): Avoid warning.
13260 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13262 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13264 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13266 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13267 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13268 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13269 * sysdeps/i386/i686/fpu/e_log.S: New file.
13270 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13271 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13273 * ctype/ctype.h: Add support for inlined isXXX functions when
13274 compiling C++ code.
13276 2011-10-14 Andreas Schwab <schwab@redhat.com>
13278 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13280 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13282 2011-10-13 Roland McGrath <roland@hack.frob.com>
13285 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13287 2011-10-13 Andreas Schwab <schwab@redhat.com>
13289 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13290 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13293 * sysdeps/x86_64/memrchr.S: Check for zero size.
13295 * string/stratcliff.c: Add memrchr tests.
13297 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13300 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13301 rawmemchr-sse2 rawmemchr-sse2-bsf.
13302 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13303 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13304 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13305 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13306 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13307 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13308 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13309 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13310 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13311 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13312 * string/memrchr.c (MEMRCHR): New macro.
13314 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13316 Add integration with gcc's -ffinite-math-only and optimize wrapper
13318 * Versions.def: Define GLIBC_2.15 version for libm.
13319 * math/Makefile (headers): Add bits/math-finite.h.
13320 * math/bits/math-finite.h: New file.
13321 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13322 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13323 * math/e_acoshl.c: Add __*_finite alias.
13324 * math/e_acosl.c: Likewise.
13325 * math/e_asinl.c: Likewise.
13326 * math/e_atan2l.c: Likewise.
13327 * math/e_atanhl.c: Likewise.
13328 * math/e_coshl.c: Likewise.
13329 * math/e_exp10.c: Likewise.
13330 * math/e_exp10f.c: Likewise.
13331 * math/e_exp10l.c: Likewise.
13332 * math/e_exp2l.c: Likewise.
13333 * math/e_fmodl.c: Likewise.
13334 * math/e_gammal_r.c: Likewise.
13335 * math/e_hypotl.c: Likewise.
13336 * math/e_j0l.c: Likewise.
13337 * math/e_j1l.c: Likewise.
13338 * math/e_jnl.c: Likewise.
13339 * math/e_lgammal_r.c: Likewise.
13340 * math/e_log10l.c: Likewise.
13341 * math/e_log2l.c: Likewise.
13342 * math/e_logl.c: Likewise.
13343 * math/e_powl.c: Likewise.
13344 * math/e_sinhl.c: Likewise.
13345 * math/e_sqrtl.c: Likewise.
13346 * math/e_scalb.c: Completely rewritten and optimized.
13347 * math/e_scalbf.c: Likewise.
13348 * math/e_scalbl.c: Likewise.
13349 * math/w_acos.c: Likewise.
13350 * math/w_acosf.c: Likewise.
13351 * math/w_acosl.c: Likewise.
13352 * math/w_acosh.c: Likewise.
13353 * math/w_acoshf.c: Likewise.
13354 * math/w_acoshl.c: Likewise.
13355 * math/w_asin.c: Likewise.
13356 * math/w_asinf.c: Likewise.
13357 * math/w_asinl.c: Likewise.
13358 * math/w_atan2.c: Likewise.
13359 * math/w_atan2f.c: Likewise.
13360 * math/w_atan2l.c: Likewise.
13361 * math/w_atanh.c: Likewise.
13362 * math/w_atanhf.c: Likewise.
13363 * math/w_atanhl.c: Likewise.
13364 * math/w_exp10.c: Likewise.
13365 * math/w_exp10f.c: Likewise.
13366 * math/w_exp10l.c: Likewise.
13367 * math/w_fmod.c: Likewise.
13368 * math/w_fmodf.c: Likewise.
13369 * math/w_fmodl.c: Likewise.
13370 * math/w_j0.c: Likewise.
13371 * math/w_j0f.c: Likewise.
13372 * math/w_j0l.c: Likewise.
13373 * math/w_j1.c: Likewise.
13374 * math/w_j1f.c: Likewise.
13375 * math/w_j1l.c: Likewise.
13376 * math/w_jn.c: Likewise.
13377 * math/w_jnf.c: Likewise.
13378 * math/w_log.c: Likewise.
13379 * math/w_logf.c: Likewise.
13380 * math/w_logl.c: Likewise.
13381 * math/w_log10.c: Likewise.
13382 * math/w_log10f.c: Likewise.
13383 * math/w_log10l.c: Likewise.
13384 * math/w_log2.c: Likewise.
13385 * math/w_log2f.c: Likewise.
13386 * math/w_log2l.c: Likewise.
13387 * math/w_pow.c: Likewise.
13388 * math/w_powf.c: Likewise.
13389 * math/w_powl.c: Likewise.
13390 * math/w_remainder.c: Likewise.
13391 * math/w_remainderf.c: Likewise.
13392 * math/w_remainderl.c: Likewise.
13393 * math/w_scalb.c: Likewise.
13394 * math/w_scalbf.c: Likewise.
13395 * math/w_scalbl.c: Likewise.
13396 * math/w_sqrt.c: Likewise.
13397 * math/w_sqrtf.c: Likewise.
13398 * math/w_sqrtl.c: Likewise.
13399 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13400 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13402 * math/math_private.h: Declare __kernel_standard_f.
13403 * math/w_cosh.c: Remove cruft and optimize a bit.
13404 * math/w_coshf.c: Likewise.
13405 * math/w_coshl.c: Likewise.
13406 * math/w_exp2.c: Likewise.
13407 * math/w_exp2f.c: Likewise.
13408 * math/w_exp2l.c: Likewise.
13409 * math/w_hypot.c: Likewise.
13410 * math/w_hypotf.c: Likewise.
13411 * math/w_hypotl.c: Likewise.
13412 * math/w_lgamma.c: Likewise.
13413 * math/w_lgamma_r.c: Likewise.
13414 * math/w_lgammaf.c: Likewise.
13415 * math/w_lgammaf_r.c: Likewise.
13416 * math/w_lgammal.c: Likewise.
13417 * math/w_lgammal_r.c: Likewise.
13418 * math/w_sinh.c: Likewise.
13419 * math/w_sinhf.c: Likewise.
13420 * math/w_sinhl.c: Likewise.
13421 * math/w_tgamma.c: Likewise.
13422 * math/w_tgammaf.c: Likewise.
13423 * math/w_tgammal.c: Likewise.
13424 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13425 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13426 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13427 Minor optimizations. Pretty printing. Remove cruft.
13428 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13429 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13430 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13431 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13432 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13433 * sysdeps/i386/fpu/e_asin.S: Likewise.
13434 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13435 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13436 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13437 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13438 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13439 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13440 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13441 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13442 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13443 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13444 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13445 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13446 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13447 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13448 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13449 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13450 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13451 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13452 * sysdeps/i386/fpu/e_log.S: Likewise.
13453 * sysdeps/i386/fpu/e_log10.S: Likewise.
13454 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13455 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13456 * sysdeps/i386/fpu/e_log2.S: Likewise.
13457 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13458 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13459 * sysdeps/i386/fpu/e_logf.S: Likewise.
13460 * sysdeps/i386/fpu/e_logl.S: Likewise.
13461 * sysdeps/i386/fpu/e_pow.S: Likewise.
13462 * sysdeps/i386/fpu/e_powf.S: Likewise.
13463 * sysdeps/i386/fpu/e_powl.S: Likewise.
13464 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13465 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13466 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13467 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13468 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13469 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13470 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13471 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13472 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13476 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13477 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13489 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13490 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13491 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13493 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13494 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13495 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13496 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13497 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13498 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13499 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13500 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13501 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13502 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13503 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13504 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13505 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13506 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13507 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13508 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13509 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13510 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13511 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13512 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13513 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13514 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13553 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13556 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13558 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13559 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13561 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13564 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13565 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13566 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13567 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13568 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13569 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13570 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13571 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13572 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13573 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13574 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13575 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13576 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13577 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13578 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13579 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13580 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13581 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13582 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13583 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13584 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13585 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13586 (__isnanf): Likewise.
13587 (__isinf_ns): Likewise.
13588 (__isinf_nsf): Likewise.
13589 (__finite): Likewise.
13590 (__finitef): Likewise.
13591 (__ieee754_sqrt): Define as macro.
13592 (__ieee754_sqrtf): Define as macro.
13593 (__ieee754_sqrtl): Define as macro.
13594 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13596 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13597 __FINITE_MATH_ONLY__ consistent.
13598 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13600 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13602 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13605 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13607 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13609 * po/ja.po: Update from translation team.
13611 2011-10-08 Roland McGrath <roland@hack.frob.com>
13613 * locale/programs/locarchive.c (prepare_address_space): New function.
13614 (create_archive, enlarge_archive, open_archive): Use it.
13616 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13617 inside [SHARED], where it is used.
13619 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13621 * nss/getent.c (netgroup_keys): Remove unused variable.
13622 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13624 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13626 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13627 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13628 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13629 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13630 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13631 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13632 * math/Makefile (libm-calls): Add s_isinf_ns.
13633 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13634 * math/multc3.c: Likewise.
13635 * math/s_casin.c: Likewise.
13636 * math/s_casinf.c: Likewise.
13637 * math/s_casinl.c: Likewise.
13638 * math/s_ccos.c: Likewise.
13639 * math/s_ccosf.c: Likewise.
13640 * math/s_ccosl.c: Likewise.
13641 * math/s_ctan.c: Likewise.
13642 * math/s_ctanf.c: Likewise.
13643 * math/s_ctanh.c: Likewise.
13644 * math/s_ctanhf.c: Likewise.
13645 * math/s_ctanhl.c: Likewise.
13646 * math/s_ctanl.c: Likewise.
13647 * math/w_fmod.c: Likewise.
13648 * math/w_fmodf.c: Likewise.
13649 * math/w_fmodl.c: Likewise.
13650 * math/w_remainder.c: Likewise.
13651 * math/w_remainderf.c: Likewise.
13652 * math/w_remainderl.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13654 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13655 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13657 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13658 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13659 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13660 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13662 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13664 * stdio-common/printf_fphex.c: Likewise.
13665 * stdio-common/printf_size.c: Likewise.
13667 * math/e_exp10.c: Include math_private.h using <...> not "...".
13668 * math/e_exp10f.c: Likewise.
13669 * math/e_exp10l.c: Likewise.
13670 * math/e_exp2l.c: Likewise.
13671 * math/e_j0l.c: Likewise.
13672 * math/e_j1l.c: Likewise.
13673 * math/e_jnl.c: Likewise.
13674 * math/e_lgammal_r.c: Likewise.
13675 * math/e_rem_pio2l.c: Likewise.
13676 * math/e_scalb.c: Likewise.
13677 * math/e_scalbf.c: Likewise.
13678 * math/e_scalbl.c: Likewise.
13679 * math/k_cosl.c: Likewise.
13680 * math/k_sinl.c: Likewise.
13681 * math/k_tanl.c: Likewise.
13682 * math/s_cacoshf.c: Likewise.
13683 * math/s_catan.c: Likewise.
13684 * math/s_catanf.c: Likewise.
13685 * math/s_catanh.c: Likewise.
13686 * math/s_catanhf.c: Likewise.
13687 * math/s_catanhl.c: Likewise.
13688 * math/s_catanl.c: Likewise.
13689 * math/s_ccosh.c: Likewise.
13690 * math/s_ccoshf.c: Likewise.
13691 * math/s_ccoshl.c: Likewise.
13692 * math/s_cexp.c: Likewise.
13693 * math/s_cexpf.c: Likewise.
13694 * math/s_cexpl.c: Likewise.
13695 * math/s_clog.c: Likewise.
13696 * math/s_clog10.c: Likewise.
13697 * math/s_clog10f.c: Likewise.
13698 * math/s_clog10l.c: Likewise.
13699 * math/s_clogf.c: Likewise.
13700 * math/s_clogl.c: Likewise.
13701 * math/s_csin.c: Likewise.
13702 * math/s_csinf.c: Likewise.
13703 * math/s_csinh.c: Likewise.
13704 * math/s_csinhf.c: Likewise.
13705 * math/s_csinhl.c: Likewise.
13706 * math/s_csinl.c: Likewise.
13707 * math/s_csqrt.c: Likewise.
13708 * math/s_csqrtf.c: Likewise.
13709 * math/s_csqrtl.c: Likewise.
13710 * math/s_ctan.c: Likewise.
13711 * math/s_ctanf.c: Likewise.
13712 * math/s_ctanh.c: Likewise.
13713 * math/s_ctanhf.c: Likewise.
13714 * math/s_ctanhl.c: Likewise.
13715 * math/s_ctanl.c: Likewise.
13716 * math/s_ldexp.c: Likewise.
13717 * math/s_ldexpf.c: Likewise.
13718 * math/s_ldexpl.c: Likewise.
13719 * math/s_significand.c: Likewise.
13720 * math/s_significandf.c: Likewise.
13721 * math/s_significandl.c: Likewise.
13722 * math/w_acos.c: Likewise.
13723 * math/w_acosf.c: Likewise.
13724 * math/w_acosh.c: Likewise.
13725 * math/w_acoshf.c: Likewise.
13726 * math/w_acoshl.c: Likewise.
13727 * math/w_acosl.c: Likewise.
13728 * math/w_asin.c: Likewise.
13729 * math/w_asinf.c: Likewise.
13730 * math/w_asinl.c: Likewise.
13731 * math/w_atan2.c: Likewise.
13732 * math/w_atan2f.c: Likewise.
13733 * math/w_atan2l.c: Likewise.
13734 * math/w_atanh.c: Likewise.
13735 * math/w_atanhf.c: Likewise.
13736 * math/w_atanhl.c: Likewise.
13737 * math/w_cosh.c: Likewise.
13738 * math/w_coshf.c: Likewise.
13739 * math/w_coshl.c: Likewise.
13740 * math/w_dremf.c: Likewise.
13741 * math/w_exp10.c: Likewise.
13742 * math/w_exp10f.c: Likewise.
13743 * math/w_exp10l.c: Likewise.
13744 * math/w_exp2.c: Likewise.
13745 * math/w_exp2f.c: Likewise.
13746 * math/w_fmod.c: Likewise.
13747 * math/w_fmodf.c: Likewise.
13748 * math/w_fmodl.c: Likewise.
13749 * math/w_hypot.c: Likewise.
13750 * math/w_hypotf.c: Likewise.
13751 * math/w_hypotl.c: Likewise.
13752 * math/w_j0.c: Likewise.
13753 * math/w_j0f.c: Likewise.
13754 * math/w_j0l.c: Likewise.
13755 * math/w_j1.c: Likewise.
13756 * math/w_j1f.c: Likewise.
13757 * math/w_j1l.c: Likewise.
13758 * math/w_jn.c: Likewise.
13759 * math/w_jnf.c: Likewise.
13760 * math/w_jnl.c: Likewise.
13761 * math/w_lgamma.c: Likewise.
13762 * math/w_lgamma_r.c: Likewise.
13763 * math/w_lgammaf.c: Likewise.
13764 * math/w_lgammaf_r.c: Likewise.
13765 * math/w_lgammal.c: Likewise.
13766 * math/w_lgammal_r.c: Likewise.
13767 * math/w_log.c: Likewise.
13768 * math/w_log10.c: Likewise.
13769 * math/w_log10f.c: Likewise.
13770 * math/w_log10l.c: Likewise.
13771 * math/w_log2.c: Likewise.
13772 * math/w_log2f.c: Likewise.
13773 * math/w_log2l.c: Likewise.
13774 * math/w_logf.c: Likewise.
13775 * math/w_logl.c: Likewise.
13776 * math/w_pow.c: Likewise.
13777 * math/w_powf.c: Likewise.
13778 * math/w_powl.c: Likewise.
13779 * math/w_remainder.c: Likewise.
13780 * math/w_remainderf.c: Likewise.
13781 * math/w_remainderl.c: Likewise.
13782 * math/w_scalb.c: Likewise.
13783 * math/w_scalbf.c: Likewise.
13784 * math/w_scalbl.c: Likewise.
13785 * math/w_sinh.c: Likewise.
13786 * math/w_sinhf.c: Likewise.
13787 * math/w_sinhl.c: Likewise.
13788 * math/w_sqrt.c: Likewise.
13789 * math/w_sqrtf.c: Likewise.
13790 * math/w_sqrtl.c: Likewise.
13791 * math/w_tgamma.c: Likewise.
13792 * math/w_tgammaf.c: Likewise.
13793 * math/w_tgammal.c: Likewise.
13795 * po/ja.po: Update from translation team.
13797 2011-09-29 Andreas Jaeger <aj@suse.de>
13800 * sunrpc/netname.c (netname2host): Fix logic.
13804 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13806 * math/w_remainder.c (__remainder): Likewise.
13807 * math/w_remainderf.c (__remainderf): Likewise.
13808 * math/libm-test.inc (remainder_test): Add test cases.
13810 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13812 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13815 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13817 * string/test-memcmp.c: Avoid unncessary #defines.
13818 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13820 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13822 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13823 Use new sse2 version for core i3 - i7 as it's faster
13824 than sse42 version.
13825 (bit_Prefer_PMINUB_for_stringop): New.
13826 * sysdeps/x86_64/rawmemchr.S: Update.
13827 Replace with faster SSE2 version.
13828 * sysdeps/x86_64/memrchr.S: New file.
13829 * sysdeps/x86_64/memchr.S: Update.
13830 Replace with faster SSE2 version.
13832 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13834 * elf/dl-load.c (lose): Add cast to avoid warning.
13836 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13838 * po/ca.po: Update from translation team.
13840 * inet/getnetgrent_r.c: Hook up nscd.
13841 * nscd/Makefile (routines): Add nscd_netgroup.
13842 (nscd-modules): Add netgroupcache.
13843 (CFLAGS-netgroupcache.c): Define.
13844 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13845 (cache_search): Add const to second parameter.
13846 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13848 (dbs): Add netgrdb entry.
13849 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13850 (verify_persistent_db): Handle netgrdb.
13851 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13852 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13854 (netgroup_response_header): Define.
13855 (innetgroup_response_header): Define.
13856 (datahead): Add netgroup_response_header and innetgroup_response_header
13858 * nscd/nscd.conf: Add entries for netgroup cache.
13859 * nscd/nscd.h (dbtype): Add netgrdb.
13860 (_PATH_NSCD_NETGROUP_DB): Define.
13861 (netgroup_iov_disabled): Declare.
13862 (xmalloc, xcalloc, xrealloc): Move declarations here.
13863 (cache_search): Adjust prototype.
13864 Add netgroup-related prototypes.
13865 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13866 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13867 (__nscd_innetgr): Declare.
13868 * nscd/selinux.c (perms): Use access_vector_t as element type and
13869 add netgroup-related initializers.
13870 * nscd/netgroupcache.c: New file.
13871 * nscd/nscd_netgroup.c: New file.
13872 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13873 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13874 For four parameters use innetgr.
13875 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13876 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13877 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13878 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13880 * nscd/connections.c (register_traced_file): Don't register file
13881 for disabled databases.
13883 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13885 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13887 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13888 from tree and freeing node.
13890 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13892 * nss/nsswitch.c (__nss_database_lookup): Handle
13893 nss_parse_service_list out of memory case.
13895 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13897 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13898 out of memory case.
13900 2011-10-04 Andreas Schwab <schwab@redhat.com>
13902 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13903 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13905 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13906 elf_machine_rela, elf_machine_lazy_rel.
13907 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13908 (ELF_DYNAMIC_DO_REL): Likewise.
13909 (ELF_DYNAMIC_DO_RELA): Likewise.
13910 (ELF_DYNAMIC_RELOCATE): Likewise.
13911 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13912 to ELF_DYNAMIC_DO_REL.
13913 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13914 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13915 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13917 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13918 skip_ifunc, don't call ifunc function if non-zero.
13919 (elf_machine_rela): Likewise.
13920 (elf_machine_lazy_rel): Likewise.
13921 (elf_machine_lazy_rela): Likewise.
13922 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13923 (elf_machine_lazy_rel): Likewise.
13924 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13926 (elf_machine_lazy_rel): Likewise.
13927 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13929 (elf_machine_lazy_rel): Likewise.
13930 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13931 (elf_machine_lazy_rel): Likewise.
13932 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13933 (elf_machine_lazy_rel): Likewise.
13934 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13935 (elf_machine_lazy_rel): Likewise.
13936 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13937 (elf_machine_lazy_rel): Likewise.
13938 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13939 (elf_machine_lazy_rel): Likewise.
13940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13941 (elf_machine_lazy_rel): Likewise.
13943 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13945 * nss/nss_files/files-init.c (_nss_files_init): Use static
13946 initialization for all the *_traced_file variables.
13948 2011-09-28 Andreas Schwab <schwab@redhat.com>
13950 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13952 2011-09-27 Roland McGrath <roland@hack.frob.com>
13955 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13957 2011-09-27 Andreas Schwab <schwab@redhat.com>
13959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13960 Reread the line before reparsing it.
13962 2011-09-26 Andreas Schwab <schwab@redhat.com>
13964 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13966 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13967 Maxim Kuvyrkov <maxim@codesourcery.com>
13968 Joseph Myers <joseph@codesourcery.com>
13970 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13971 if needed for __stack_chk_guard.
13973 2011-09-19 Roland McGrath <roland@hack.frob.com>
13975 * sysdeps/posix/spawni.c (script_execute): Always define it.
13976 It will be optimized away if unused.
13977 (maybe_script_execute): New function.
13978 (__spawni): Call it.
13980 * Makerules: Don't include tls.make.
13981 (config-tls): Always set to thread.
13982 * tls.make.c: File removed.
13984 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13986 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13987 * config.make.in (CPPFLAGS-config): New substituted variable.
13989 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13991 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13994 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13995 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13997 2011-09-15 Roland McGrath <roland@hack.frob.com>
13999 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14000 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14001 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14002 (CALL_FAIL): Likewise.
14003 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14004 (CALL_FAIL): Macro removed.
14005 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14007 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14009 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14010 for __FINITE_MATH_ONLY__ == 1.
14012 2011-09-15 Andreas Schwab <schwab@redhat.com>
14014 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14015 __ieee754_sqrt instead of sqrt.
14016 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14017 __ieee754_sqrtf instead of sqrtf.
14018 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14019 __floorf instead of floorf.
14020 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14021 __floorf, __truncf instead of floorf, truncf.
14023 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14025 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14027 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14028 __extern_always_inline.
14029 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14032 2011-09-14 Andreas Schwab <schwab@redhat.com>
14034 * elf/rtld.c (dl_main): Also relocate in dependency order when
14035 doing symbol dependency testing.
14037 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14040 Always define `refsym'.
14042 2011-09-13 Andreas Schwab <schwab@redhat.com>
14044 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14045 (__FD_ELT): Renamed from __FDELT.
14046 * misc/bits/select2.h (__FD_ELT): Likewise.
14047 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14048 __FD_MASK instead of __FDELT, __FDMASK.
14049 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14051 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14054 * elf/Makefile (gen-ldd): Fix pattern.
14056 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14057 (init_tls): Likewise.
14059 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14063 2011-09-12 Andreas Schwab <schwab@redhat.com>
14065 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14066 `struct cmsghdr *' instead of `void *'.
14067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14070 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14072 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14074 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14075 ldd_rewrite_script.
14077 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14079 * configure.in: Remove --with-tls option.
14080 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14081 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14082 out in case it is missing.
14083 * sysdeps/ia64/elf/configure.in: Likewise.
14084 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14085 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14086 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14087 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14088 * sysdeps/sh/elf/configure.in: Likewise.
14089 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14090 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14091 * sysdeps/x86_64/elf/configure.in: Likewise.
14092 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14093 * sysdeps/mach/hurd/tls.h: Likewise.
14096 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14099 * configure.in: Fix use of AC_INIT.
14101 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14103 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14105 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14107 * malloc/hooks.c: Likewise.
14110 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14111 variables statically.
14112 (narenas): Initialize.
14113 (list_lock): Initialize.
14114 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14115 initializtion of main_arena and list_lock. Small cleanups.
14116 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14117 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14118 Add initializers to main_arena and mp_.
14119 (malloc_state): Remove pagesize member. Change all users to use
14122 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14123 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14124 is always initialized.
14126 * malloc/malloc.c: Removed unused configurations and dead code.
14127 * malloc/arena.c: Likewise.
14128 * malloc/hooks.c: Likewise.
14129 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14131 * include/tls.h: Removed. USE___THREAD must always be defined.
14132 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14133 * elf/dl-libc.c: Likewise.
14134 * elf/dl-tsd.c: Likewise.
14135 * include/errno.h: Likewise.
14136 * include/netdb.h: Likewise.
14137 * include/resolv.h: Likewise.
14138 * inet/herrno-loc.c: Likewise.
14139 * inet/herrno.c: Likewise.
14140 * malloc/arena.c: Likewise.
14141 * malloc/hooks.c: Likewise.
14142 * malloc/malloc.c: Likewise.
14143 * resolv/res-state.c: Likewise.
14144 * resolv/res_libc.c: Likewise.
14145 * sysdeps/i386/dl-machine.h: Likewise.
14146 * sysdeps/ia64/dl-machine.h: Likewise.
14147 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14148 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14149 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14150 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14151 * sysdeps/sh/dl-machine.h: Likewise.
14152 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14153 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14154 * sysdeps/unix/i386/sysdep.S: Likewise.
14155 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14156 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14157 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14158 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14159 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14160 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14161 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14165 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14166 * sysdeps/x86_64/dl-machine.h: Likewise.
14167 * tls.make.c: Likewise.
14169 * configure.in: Remove --with-__thread option. Make tests for
14170 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14171 tls_model attribute fail if no support is available. Remove
14173 * Makeconfig: Adjust for dropped configure option. All features are
14175 * Makerules: Likewise.
14176 * Versions.def: Likewise.
14177 * argp/argp-fmtstream.c: Likewise.
14178 * argp/argp-fmtstream.h: Likewise.
14179 * argp/argp-help.c: Likewise.
14180 * assert/assert.c: Likewise.
14181 * config.h.in: Likewise.
14182 * config.make.in: Likewise.
14183 * configure: Likewise.
14184 * configure.in: Likewise.
14185 * csu/Versions: Likewise.
14186 * csu/init.c: Likewise.
14187 * elf/tst-audit2.c: Likewise.
14188 * elf/tst-tls10.c: Likewise.
14189 * elf/tst-tls10.h: Likewise.
14190 * elf/tst-tls11.c: Likewise.
14191 * elf/tst-tls12.c: Likewise.
14192 * elf/tst-tls14.c: Likewise.
14193 * elf/tst-tlsmod11.c: Likewise.
14194 * elf/tst-tlsmod12.c: Likewise.
14195 * elf/tst-tlsmod13.c: Likewise.
14196 * elf/tst-tlsmod13a.c: Likewise.
14197 * elf/tst-tlsmod14a.c: Likewise.
14198 * elf/tst-tlsmod15b.c: Likewise.
14199 * elf/tst-tlsmod16a.c: Likewise.
14200 * elf/tst-tlsmod16b.c: Likewise.
14201 * elf/tst-tlsmod7.c: Likewise.
14202 * elf/tst-tlsmod8.c: Likewise.
14203 * elf/tst-tlsmod9.c: Likewise.
14204 * gmon/gmon.c: Likewise.
14205 * grp/fgetgrent_r.c: Likewise.
14206 * grp/putgrent.c: Likewise.
14207 * hurd/fopenport.c: Likewise.
14208 * include/libc-symbols.h: Likewise.
14209 * include/tls.h: Likewise.
14210 * intl/gettextP.h: Likewise.
14211 * intl/loadinfo.h: Likewise.
14212 * locale/global-locale.c: Likewise.
14213 * locale/localeinfo.h: Likewise.
14214 * mach/devstream.c: Likewise.
14215 * malloc/arena.c: Likewise.
14216 * malloc/set-freeres.c: Likewise.
14217 * misc/err.c: Likewise.
14218 * misc/getttyent.c: Likewise.
14219 * misc/mntent_r.c: Likewise.
14220 * posix/getopt.c: Likewise.
14221 * posix/wordexp.c: Likewise.
14222 * pwd/fgetpwent_r.c: Likewise.
14223 * resolv/Versions: Likewise.
14224 * resolv/res_hconf.c: Likewise.
14225 * shadow/fgetspent_r.c: Likewise.
14226 * shadow/putspent.c: Likewise.
14227 * stdio-common/printf_fphex.c: Likewise.
14228 * stdio-common/tmpfile.c: Likewise.
14229 * stdlib/abort.c: Likewise.
14230 * stdlib/fmtmsg.c: Likewise.
14231 * sunrpc/auth_unix.c: Likewise.
14232 * sunrpc/clnt_perr.c: Likewise.
14233 * sunrpc/clnt_tcp.c: Likewise.
14234 * sunrpc/clnt_udp.c: Likewise.
14235 * sunrpc/clnt_unix.c: Likewise.
14236 * sunrpc/openchild.c: Likewise.
14237 * sunrpc/svc_simple.c: Likewise.
14238 * sunrpc/svc_tcp.c: Likewise.
14239 * sunrpc/svc_udp.c: Likewise.
14240 * sunrpc/svc_unix.c: Likewise.
14241 * sunrpc/xdr.c: Likewise.
14242 * sunrpc/xdr_array.c: Likewise.
14243 * sunrpc/xdr_rec.c: Likewise.
14244 * sunrpc/xdr_ref.c: Likewise.
14245 * sunrpc/xdr_stdio.c: Likewise.
14247 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14249 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14251 2011-07-03 Andreas Jaeger <aj@suse.de>
14253 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14254 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14255 regenerate with gen-libm-tests.pl.
14257 2010-05-12 Petr Baudis <pasky@suse.cz>
14260 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14261 around j0() zero points by switching to j1().
14262 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14264 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14265 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14267 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14269 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14271 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14274 Patch in part by Pavel Roskin <proski@gnu.org>.
14277 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14279 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14280 Free memory block if necessary.
14283 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14284 be NULL. Don't lock in this case.
14286 2011-09-09 Roland McGrath <roland@hack.frob.com>
14288 * elf/elf.h (ELFOSABI_GNU): New macro.
14289 (ELFOSABI_LINUX): Define to that.
14291 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14293 * string/strncat.c (strncat): Undef the symbol in case it has been
14294 defined in bits/string.h.
14296 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14298 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14300 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14303 2011-08-17 Andreas Jaeger <aj@suse.de>
14305 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14307 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14308 Ian Lance Taylor <iant@google.com>
14310 * math/libm-test.inc (lround_test): New testcase.
14311 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14313 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14315 * Makefile: Remove support for automatic cvs check-ins.
14316 * Makerules: Likewise.
14317 * config.make.in: Likewise.
14318 * configure.in: Likewise.
14319 * intl/Makefile: Likewise.
14320 * locale/Makefile: Likewise.
14321 * po/Makefile: Likewise.
14322 * posix/Makefile: Likewise.
14323 * sysdeps/gnu/Makefile: Likewise.
14324 * sysdeps/mach/hurd/Makefile: Likewise.
14325 * sysdeps/sparc/sparc32/Makefile: Likewise.
14328 * posix/Makefile (bug-regex32-ENV): Define.
14329 Patch by John Stanley <jpsinthemix@verizon.net>.
14331 * misc/Makefile (headers): Add bits/select2.h.
14332 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14333 * misc/bits/select2.h: New file.
14334 * include/bits/select2.h: New file.
14335 * debug/Makefile (routines): Add fdelt_chk.
14336 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14337 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14339 * debug/fdelt_chk.c: New file.
14341 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14342 * wcsmbs/test-wmemcmp.c: Likewise.
14343 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14344 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14346 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14348 * string/Makefile (strop-tests): Add memcmp.
14349 * string/test-wmemcmp.c: New file.
14350 * string/test-memcmp.c: Add wmemcmp support.
14352 2011-09-08 Roland McGrath <roland@hack.frob.com>
14355 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14358 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14359 garbage value in a __mach_port_mod_refs call in the cases of the
14360 task-self and thread-self ports.
14362 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14364 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14366 2011-09-08 Andreas Schwab <schwab@redhat.com>
14368 * elf/dl-load.c (lose): Check for non-null L.
14370 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14372 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14374 * elf/dl-libc.c (dlerror_run): Pass back error code from
14378 * elf/dl-load.c (lose): Free l_origin if it is valid.
14380 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14382 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14383 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14384 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14385 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14386 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14387 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14389 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14391 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14392 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14393 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14394 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14395 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14396 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14397 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14398 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14399 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14400 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14402 2011-08-15 Alan Modra <amodra@gmail.com>
14405 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14406 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14407 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14408 ppc_mcount to static-only-routines.
14409 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14411 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14412 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14414 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14416 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14417 for finite and infinity parameters.
14419 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14421 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14422 and add nop instructions for throughput optimization.
14423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14425 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14427 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14428 aligned copy for power7 with vector-scalar instructions.
14429 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14431 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14436 2011-09-07 Andreas Schwab <schwab@redhat.com>
14439 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14442 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14444 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14445 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14446 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14447 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14450 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14452 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14453 Forgot to demangle the pointer.
14455 * sysdeps/i386/sysdep.h: Define atom_text_section.
14456 * sysdeps/x86_64/sysdep.h: Likewise.
14457 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14458 section with atom_text_section.
14459 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14460 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14461 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14462 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14463 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14465 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14466 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14467 already be defined. Change to take two parameters and don't assign
14468 result to variable. Adjust all users.
14469 Define INTERNAL_GETTIME if not already defined.
14470 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14473 HAVE_CLOCK_GETTIME_VSYSCALL.
14474 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14477 gettimeofday vsyscall, just use time.
14479 2011-09-06 Andreas Schwab <schwab@redhat.com>
14481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14484 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14486 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14488 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14490 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14491 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14492 syscall if possible.
14494 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14496 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14497 e_ident. Don't pass to find_mapsXX.
14498 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14500 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14503 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14504 * sysdeps/x86_64/multiarch/strchr.S: Update.
14505 Check bit_slow_BSF bit.
14506 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14507 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14508 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14510 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14513 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14515 (tryshell): Define.
14516 (__spawni): Change last parameter to be flag. Test
14517 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14518 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14519 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14520 * posix/spawni.c: Likewise.
14521 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14522 * posix/spawnp.c: Likewise. Change normal version to use
14523 SPAWN_XFLAGS_USE_PATH.
14524 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14525 SPAWN_XFLAGS_TRY_SHELL.
14528 * posix/glob.h: Remove gcc 1.x support.
14531 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14533 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14536 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14538 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14539 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14540 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14541 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14542 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14543 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14545 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14547 * sysdeps/x86_64/wcscmp.S: New file.
14549 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14550 wcscmp-c wcscmp-sse2
14551 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14552 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14553 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14554 * wcsmbs/wcscmp.c: Allow renaming.
14556 2011-09-05 David S. Miller <davem@davemloft.net>
14558 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14559 stack slot, rather than the struct return pointer slot.
14560 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14561 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14563 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14565 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14567 * po/ja.po: Update from translation team.
14570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14571 kernel in 64-bit binaries.
14573 2011-09-01 David S. Miller <davem@davemloft.net>
14575 * elf/elf.h (HWCAP_SPARC_*): Move to..
14576 * sysdeps/sparc/sysdep.h: this new file and add new values.
14577 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14578 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14579 _DL_HWCAP_COUNT to 24.
14580 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14582 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14583 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14584 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14586 instead of magic constants.
14587 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14589 2011-08-31 David S. Miller <davem@davemloft.net>
14591 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14593 Reimplement to do errno handling inline.
14594 (SYSCALL_ERROR_HANDLER): New macro.
14595 (__SYSCALL_STRING): Do not do errno handling in asm.
14596 (__CLONE_SYSCALL_STRING): Delete.
14597 (__INTERNAL_SYSCALL_STRING): Delete.
14598 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14599 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14600 (PSEUDO): Reimplement to do errno handling inline.
14601 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14602 (SYSCALL_ERROR_HANDLER): New macro.
14603 (__SYSCALL_STRING): Do not do errno handling in asm.
14604 (__CLONE_SYSCALL_STRING): Delete.
14605 (__INTERNAL_SYSCALL_STRING): Delete.
14606 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14607 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14609 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14610 (inline_syscall*): Add 'err' argument.
14611 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14612 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14613 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14614 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14616 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14617 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14619 2011-08-30 Andreas Schwab <schwab@redhat.com>
14621 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14623 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14625 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14628 2011-08-24 David S. Miller <davem@davemloft.net>
14630 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14632 2011-08-24 Andreas Schwab <schwab@redhat.com>
14634 * elf/Makefile: Add rules to build and run unload8 test.
14635 * elf/unload8.c: New file.
14636 * elf/unload8mod1.c: New file.
14637 * elf/unload8mod1x.c: New file.
14638 * elf/unload8mod2.c: New file.
14639 * elf/unload8mod3.c: New file.
14641 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14644 2011-08-23 David S. Miller <davem@davemloft.net>
14646 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14647 subtract stack bias.
14648 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14649 %sp not %fp in calculations.
14650 (_JMPBUF_UNWINDS_ADJ): Likewise.
14652 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14653 (aio_suspend): Call it to force an exception region around the
14654 AIO_MISC_WAIT() invocation.
14656 2011-08-23 Andreas Schwab <schwab@redhat.com>
14658 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14661 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14663 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14665 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14666 and <dl-machine.h>.
14667 (Elf64_FuncDesc): Remove.
14669 2011-08-22 David S. Miller <davem@davemloft.net>
14671 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14672 sigaltstack check, add missing cfi directives.
14673 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14674 missing cfi directives, and sigaltstack handling.
14676 2011-08-16 Andreas Schwab <schwab@redhat.com>
14679 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14680 object is seen twice.
14681 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14683 * elf/Makefile (distribute): Add tst-initorder2.c.
14684 (tests): Add tst-initorder2.
14685 (modules-names): Add tst-initorder2a tst-initorder2b
14686 tst-initorder2c tst-initorder2d. Add rules to build them.
14687 ($(objpfx)tst-initorder2.out): New rule.
14688 * elf/tst-initorder2.c: New file.
14689 * elf/tst-initorder2.exp: New file.
14691 2011-08-22 Andreas Schwab <schwab@redhat.com>
14693 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14695 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14696 dependencies back to end of function.
14698 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14699 $(elfobjdir)/ld.so.
14701 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14704 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14705 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14706 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14707 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14708 of __vdso_gettimeofday.
14709 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14710 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14712 (_libc_vdso_platform_setup): Remove initialization of
14713 __vdso_gettimeofday and __vdso_time.
14715 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14717 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14718 and fgetc_unlocked.
14719 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14722 * elf/dl-open.c (add_to_global): Report additions to the global scope
14723 for LD_DEBUG=scopes.
14724 (dl_open_worker): Also print scope of newly loaded dependencies.
14725 (_dl_show_scope): Indicate if there is no scope.
14728 * stdio-common/Makefile (tests): Add bug24.
14729 * stdio-common/bug24.c: New file.
14731 2011-08-19 Andreas Jaeger <aj@suse.de>
14734 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14735 non-existant file when using close-on-exec mode.
14737 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14740 the very first instruction.
14742 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14743 the CFI state in the end.
14744 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14745 inclusion of dl-trampoline.h.
14746 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14748 2011-08-19 Andreas Schwab <schwab@redhat.com>
14750 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14751 expectations for long double.
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14754 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14756 2011-08-14 David S. Miller <davem@davemloft.net>
14758 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14759 artificual limit depends upon the system page size.
14761 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14763 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14764 * resolv/Makefile: Define CFLAGS-libresolv.
14766 2011-08-17 Andreas Schwab <schwab@redhat.com>
14768 * nss/makedb.c (compute_tables): Make variables used in nested
14771 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14773 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14774 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14775 if buffer was too small.
14777 * elf/pldd.c (main): Attach to all threads in the process.
14778 Rewrite /proc handling to use *at functions.
14780 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14782 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14783 specifies first scope to show.
14784 (dl_open_worker): Update callers. Move printing scope of new
14785 object to before the relocation.
14786 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14787 * sysdeps/generic/ldsodefs.h: Update declaration.
14789 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14790 string for the scope number.
14792 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14794 * nscd/servicescache.c (cache_addserv): Make sure written is always
14797 2011-08-14 Roland McGrath <roland@hack.frob.com>
14799 * sysdeps/i386/i486/bits/atomic.h
14800 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14801 statement expression, so as to suppress "set but not used" warning.
14802 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14804 * string/strncat.c (STRNCAT): Use prototype definition.
14806 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14807 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14809 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14810 (localedef-modules): Add localedef.
14811 (locale-modules): Add locale.
14813 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14814 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14815 to avoid a warning.
14817 2011-08-14 David S. Miller <davem@davemloft.net>
14819 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14820 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14822 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14824 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14825 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14826 * elf/rtld.c (dl_main): Set l_name of vDSO.
14827 Call _dl_show_scope when DL_DEBUG_SCOPES.
14828 (process_dl_debug): Recognize scopes flag and also set it for all.
14829 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14830 Declare _dl_show_scope.
14832 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14833 (do_dlopen): Pass caller_dlopen to dl_open.
14834 (__libc_dlopen_mode): Initialize caller_dlopen.
14836 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14837 of libc. Make tolower call locale-independent. Optimize a bit by
14838 using isdigit instead of isalnum.
14839 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14841 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14843 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14844 was a dependency or dynamically loaded.
14846 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14848 * intl/l10nflist.c: Allow architecture-specific pop function.
14849 * sysdeps/x86_64/l10nflist.c: New file.
14851 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14854 2011-08-10 Andreas Schwab <schwab@redhat.com>
14856 * include/dirent.h: Add libc_hidden_proto for scandirat and
14857 scandirat64. Don't declare __scandirat64.
14858 * dirent/scandirat.c: Add libc_hidden_def.
14859 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14860 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14862 2011-08-10 David S. Miller <davem@davemloft.net>
14864 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14866 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14867 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14868 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14870 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14872 * Versions.def [libc]: Add GLIBC_2.15.
14873 * dirent/Makefile (routines): Add scandirat and scandirat64.
14874 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14876 * dirent/dirent.h: Declare scandirat and scandirat64.
14877 * dirent/scandirat.c: New file.
14878 * dirent/scandirat64.c: New file.
14879 * sysdeps/wordsize-64/scandirat.c: New file.
14880 * sysdeps/wordsize-64/scandirat64.c: New file.
14881 * dirent/opendir.c: Define opendirat.
14882 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14884 * dirent/scandir64.c: Adjust for scandir.c change.
14885 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14886 __scandirat64, and __scandir_cancel_handler.
14887 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14888 additional parameter and use openat instead of open (outside of ld.so).
14889 Add new __opendir as wrapper around __opendirat.
14890 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14891 here without requiring old scandirat implementation.
14893 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14895 * dirent/scandir.c (cancel_handler): Renamed to
14896 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14897 defined. Adjust users.
14898 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14899 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14901 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14903 * string/test-string.h (IMPL): Use __STRING to expand name and then
14906 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14909 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14911 * string/Makefile: Update.
14912 (strop-tests): Append strncat.
14913 * string/test-wcscmp.c: New file.
14914 New comprehensive test for wcscmp.
14915 * string/test-strcmp.c: Update.
14916 (WIDE): New define.
14918 2011-07-22 Andreas Schwab <schwab@redhat.com>
14920 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14923 2011-07-26 Andreas Schwab <schwab@redhat.com>
14925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14926 encoding to ACE if AI_IDN.
14928 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14930 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14931 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14933 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14935 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14936 Fix overflow bug in strncat.
14937 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14939 * string/test-strncat.c: Update.
14940 Add new tests for checking overflow bugs.
14942 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14945 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14946 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14947 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14948 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14949 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14950 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14951 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14952 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14954 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14955 (USE_AS_STRCAT): Define.
14956 Add strcat and strncat support.
14957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14959 2011-07-25 Andreas Schwab <schwab@redhat.com>
14961 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14962 __n bigger than INT_MAX+1.
14963 (__strncmp_g): Likewise.
14965 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14967 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14968 * libio/stido.h: Likewise.
14970 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14975 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14976 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14977 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14978 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14979 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14982 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14985 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14987 (_dl_x86_64_save_sse): Likewise.
14989 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14993 (_dl_x86_64_save_sse): Likewise.
14995 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14997 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14999 2011-07-21 Andreas Schwab <schwab@redhat.com>
15001 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15003 (_dl_x86_64_save_sse): Use correct AVX check.
15005 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15007 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15008 bug in strncpy/strncat.
15009 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15011 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15013 * string/tester.c (test_strcat): Add tests for different alignments
15014 of source and destination.
15015 (test_strncat): Likewise.
15017 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15020 * posix/glob.c (glob): Check passed in values before using them in
15021 expressions to avoid some overflows.
15022 (glob_in_dir): Likewise.
15025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15026 check for AVX enablement so that we don't crash with old kernels and
15028 * elf/tst-audit4.c: Add same checks here.
15029 * elf/tst-audit6.c: Likewise.
15031 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15033 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15035 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15037 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15039 * po/cs.po: Update from translation team.
15040 * po/bg.po: Likewise.
15042 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15044 * misc/sys/cdefs.h: Add support for const attribute.
15045 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15046 to gnu_dev_{major,minor,makedev} functions.
15048 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15050 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15052 2011-07-20 Andreas Schwab <schwab@redhat.com>
15054 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15057 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15059 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15060 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15061 register in order to avoid conflicts with the soft frame pointer
15062 being held in r11 when necessary.
15063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15064 (INTERNAL_VSYSCALL_NCS): Likewise.
15066 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15068 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15069 * elf/dl-fini.c (_dl_fini): Adjust caller.
15070 * elf/dl-close.c (_dl_close_worker): Likewise.
15071 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15073 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15075 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15076 "aux_cache->nlibs < 0".
15078 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15079 in the reload-count case.
15081 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15084 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15085 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15086 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15087 * sysdeps/x86_64/multiarch/strcat.S: New file.
15088 * sysdeps/x86_64/multiarch/strncat.S: New file.
15089 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15091 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15092 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15093 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15094 (USE_AS_STRCAT): Define.
15095 Add strcat and strncat support.
15096 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15097 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15098 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15099 * string/strncat.c: Update.
15100 (USE_AS_STRNCAT): Define.
15101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15102 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15104 * sysdeps/x86_64/multiarch/init-arch.h
15105 (bit_Prefer_PMINUB_for_stringop): New.
15106 (index_Prefer_PMINUB_for_stringop): Likewise.
15107 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15108 bit_Prefer_PMINUB_for_stringop.
15110 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15112 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15114 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15115 of casting of buffer.
15116 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15117 buffer32 and buffer64.
15118 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15119 writes instead of casting of buffer.
15120 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15122 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15125 2011-07-19 Andreas Schwab <schwab@redhat.com>
15127 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15129 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15131 * nscd/nscd.c (termination_handler): Don't do anything for a database
15132 if it has not yet been initialized.
15134 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15136 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15138 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15140 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15142 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15144 * po/nl.po: Update from translation team.
15145 * po/sv.po: Likewise.
15147 2011-07-16 Roland McGrath <roland@hack.frob.com>
15149 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15150 now disallowed by GCC.
15152 * configure.in (use-default-link): Default to yes if a test -shared
15153 link meets our qualifications.
15154 * configure: Regenerated.
15156 * config.make.in (output-format): New variable.
15157 * configure.in: Check for ld --print-output-format support.
15158 * configure: Regenerated.
15159 * Makerules ($(common-objpfx)format.lds)
15160 [$(output-format) != unknown]: Just use $(output-format),
15161 instead of the linker-script munging.
15163 2011-07-14 Roland McGrath <roland@hack.frob.com>
15165 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15166 of $(common-objpfx)shlib.lds.
15167 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15169 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15170 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15172 * configure.in (-z relro check): Adjust test code to add a large
15173 writable data section after it.
15174 * configure: Regenerated.
15176 2011-07-11 Roland McGrath <roland@hack.frob.com>
15178 * configure.in (-z relro check): Fix test code to make the variable
15180 * configure: Regenerated.
15182 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15184 * nscd/nscd.h (struct traced_file): Define.
15185 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15186 elements. Add traced_files.
15187 (inotify_fd): Declare.
15188 (register_traced_file): Declare.
15189 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15190 (inotify_fd): Export.
15191 (resolv_conf_descr): Remove.
15192 (nscd_init): Move inotify descriptor creation to main.
15193 Don't register files for notification here.
15194 (register_traced_file): New function.
15195 (invalidate_cache): Don't use reset_res to determine whether to call
15196 res_init, go through the list of registered files.
15197 (main_loop_poll): The inotify descriptors are now stored in the
15198 structures for the traced files.
15199 (main_loop_epoll): Likewise
15200 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15201 to __nss_disable_nscd.
15202 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15203 for a database anymore. Check the records for all the registered
15205 * nss/Makefile (libnss_files-routines): Add files-init.
15206 (libnss_db-routines): Add db-init.
15207 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15208 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15209 * nss/nss_db/db-init.c: New file.
15210 * nss/nss_files/files-init.c: New file.
15211 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15212 __nss_lookup_function.
15213 (__nss_lookup_function): Call nss_load_library.
15214 (nss_load_all_libraries): New function.
15215 (__nss_disable_nscd): Take parameter with callback function for files
15216 to register. Set is_nscd. Load all the DSOs for the NSS modules
15217 used for the cached services.
15218 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15219 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15220 options for features to all the files in nscd.
15222 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15224 2011-07-10 Roland McGrath <roland@hack.frob.com>
15226 * csu/elf-init.c (__libc_csu_init): Comment typo.
15228 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15230 * po/pl.po: Update from translation team.
15231 * po/ja.po: Likewise.
15232 * po/ru.po: Likewise.
15233 * po/ko.po: Likewise.
15234 * po/fr.po: Likewise.
15236 2011-07-09 Roland McGrath <roland@hack.frob.com>
15238 * configure.in (.ctors/.dtors header and trailer check):
15239 Use an empirical test on a built program.
15240 * configure: Regenerated.
15242 * configure.in (-z relro check): Use an empirical test on a built DSO.
15243 Detect, but do not require, on ia64.
15244 * configure: Regenerated.
15246 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15247 Update tests that use readelf to use $READELF instead.
15248 * configure: Regenerated.
15250 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15252 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15253 if the result is not used.
15255 2011-07-05 Andreas Jaeger <aj@suse.de>
15258 * stdlib/tst-strtod.c: Add testcase.
15260 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15262 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15263 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15264 The latter has a higher limit. Take additional parameter to pass to
15266 (__pathconf): Pass file to __statfs_link_max.
15267 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15269 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15273 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15274 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15276 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15277 (__statfs_filesize_max): Likewise.
15278 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15280 2011-07-05 Andreas Jaeger <aj@suse.de>
15282 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15284 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15286 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15288 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15291 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15293 * Makefile (strop-tests): Add strncat.
15294 * string/test-strncat.c: New file.
15296 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15298 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15300 2011-06-21 Andreas Jaeger <aj@suse.de>
15302 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15303 Copy rule from iconvdata/Makefile.
15305 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15308 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15309 but no long options are defined, just return 'W'.
15311 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15314 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15316 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15318 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15320 (innetgr): Likewise.
15322 2011-07-05 Roland McGrath <roland@hack.frob.com>
15324 * config.make.in (install_root): Default to $(DESTDIR).
15326 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15328 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15330 2011-07-02 Roland McGrath <roland@hack.frob.com>
15332 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15334 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15335 containing directory rather than embedding absolute directory names.
15337 * scripts/check-local-headers.sh: Rewritten using awk.
15338 Match by word, not by line. Print error messages for matches.
15339 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15341 * Makerules [shlib-lds-flags empty]:
15342 ($(common-objpfx)libc_pic.opts): New target.
15343 ($(common-objpfx)libc_pic.os.clean): New target.
15344 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15346 * config.make.in (OBJCOPY): New variable.
15347 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15348 * configure: Regenerated.
15350 * config.make.in (use-default-link): New variable.
15351 * configure.in (use_default_link): Grok --with-default-link to set it.
15352 * configure: Regenerated.
15353 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15354 (shlib-lds, shlib-lds-flags): Define to empty.
15356 * Makerules (shlib-lds): New variable.
15357 (shlib-lds-flags): New variable.
15358 (build-shlib, build-moduile, build-module-asneeded): Use it.
15359 ($(common-objpfx)libc.so): Use $(shlib-lds).
15360 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15361 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15363 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15364 DT_FLAGS/DT_FLAGS_1 with zero flags.
15366 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15367 linker script munging.
15369 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15371 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15373 * crypt/sha512.c (sha512_process_block): Perform total addition using
15374 128-bit if possible.
15375 (__sha512_finish_ctx): Likewise.
15376 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15378 * crypt/sha256.c (SWAP64): Define.
15379 (sha256_process_block): Perform total addition using 64-bit if
15381 (__sha256_finish_ctx): Likewise.
15383 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15385 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15386 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15387 * nscd/hstcache.c (cache_addhst): Likewise.
15388 * nscd/grpcache.c (cache_addgr): Likewise.
15389 * nscd/aicache.c (addhstaiX): Likewise
15390 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15392 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15394 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15396 * nscd/hstcache.c (cache_addhst): Likewise.
15397 * nscd/grpcache.c (cache_addgr): Likewise.
15398 * nscd/aicache.c (addhstaiX): Likewise
15400 2011-07-01 Andreas Schwab <schwab@redhat.com>
15402 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15403 domain only when needed.
15405 2011-06-30 Andreas Schwab <schwab@redhat.com>
15407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15408 is always restored.
15410 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15412 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15413 are re-adding the entry.
15414 * nscd/servicescache.c (cache_addserv): Likewise.
15416 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15418 * sysdeps/generic/dl-irel.h: fix protection against multiple
15420 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15422 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15425 * malloc/memusage.sh: Fix quoting in message.
15426 * debug/xtrace.sh: Likewise.
15428 * configure.in: Remove support for --experimental-malloc option, make
15430 * config.make.in: Likewise.
15431 * malloc/Makefile: Likewise.
15433 2011-06-27 Andreas Schwab <schwab@redhat.com>
15435 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15436 two-byte characters.
15438 2011-06-27 Roland McGrath <roland@hack.frob.com>
15440 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15441 AC_CACHE_CHECK invocation.
15442 * configure: Regenerated.
15444 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15446 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15449 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15450 bit from old_res_options.
15452 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15454 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15455 value type for setfct.
15457 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15459 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15460 __gettimeofday instead of gettimeofday.
15462 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15464 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15466 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15468 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15470 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15473 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15476 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15477 strcpy-sse2-unaligned strncpy-sse2-unaligned
15478 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15479 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15480 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15481 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15482 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15483 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15485 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15486 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15487 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15488 (STRCPY): Support SSE2 and SSSE3 versions.
15490 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15493 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15494 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15495 kernels which artificially limit size of requests.
15497 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15500 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15501 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15502 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15503 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15504 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15505 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15506 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15507 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15508 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15509 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15510 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15511 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15512 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15513 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15515 Enable unaligned load optimization for Intel Core i3, i5 and i7
15517 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15519 (index_Fast_Unaligned_Load): Define.
15520 (HAS_FAST_UNALIGNED_LOAD): Define.
15522 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15524 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15526 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15529 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15530 until it is clear that the information is realy needed.
15531 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15533 2011-06-22 Andreas Schwab <schwab@redhat.com>
15535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15537 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15540 /sys/devices/system/cpu/online if it is usable.
15542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15543 reading the information from the /proc filesystem to once a second.
15545 2011-06-21 Andreas Jaeger <aj@suse.de>
15547 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15548 NULL after inclusion of kernel headers.
15550 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15552 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15553 calls to internal_setent.
15556 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15557 addresses using gethostbyname4_r ignore IPv4 addresses.
15559 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15560 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15562 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15564 2011-06-20 David S. Miller <davem@davemloft.net>
15566 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15568 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15570 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15571 (elf_irel): Use it.
15572 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15573 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15574 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15575 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15576 * sysdeps/x86_64/dl-irel.h: Likewise.
15578 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15579 * elf/dl-sym.c: Likewise.
15581 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15583 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15584 need to dereference resplen2.
15586 2011-06-14 Andreas Schwab <schwab@redhat.com>
15588 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15590 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15592 * Makeconfig: Define vardbdir and inst_vardbdir.
15593 * nss/Makefile: Add rules to install db-Makefile.
15595 * nss/nss_db/db-XXX.c: Cleanup.
15597 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15598 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15600 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15601 * nss/makedb.c: Implement -g option to specify that value strings
15602 are generated and should not be added to table iterated over for
15604 * nss/nss_db/db-initgroups.c: New file.
15606 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15609 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15610 (internal_getgrouplist): Adjust to name change.
15611 Update use_initgroups_entry if this is not the first call.
15612 * nss/databases.def: Add initgroups entry.
15614 * nss/makedb.c (compute_tables): Check result of multiple hash table
15615 sizes to minimize maximum chain length.
15617 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15619 * Versions.def: Add entry for libnss_db.
15620 * shlib-versions: Likewise.
15621 * nss/Makefile: Add rules to build libnss_db.
15622 * nss/Versions: Add libnss_db information. Organize libnss_files
15624 * nss/db-Makefile: Add gshadow support. Change rules for the new
15625 makedb progra. Some minor improvements to generate smaller files.
15626 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15628 * nss/makedb.c: ...here.
15629 Improve database format to be smaller and require less memory at
15631 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15633 * nss/nss_db/db-netgrp.c: Likewise.
15634 * nss/nss_db/db-open.c: Likewise.
15635 * nss/nss_files/flies-XXX.x: Adjust comments.
15636 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15637 * nss/nss_files/files-grp.c: Likewise.
15638 * nss/nss_files/files-hosts.c: Likewise.
15639 * nss/nss_files/files-network.c: Likewise.
15640 * nss/nss_files/files-proto.c: Likewise.
15641 * nss/nss_files/files-pwd.c: Likewise.
15642 * nss/nss_files/files-rpc.c: Likewise.
15643 * nss/nss_files/files-service.c: Likewise.
15644 * nss/nss_files/files-sgrp.c: Likewise.
15645 * nss/nss_files/files-spwd.c: Likewise.
15646 * nss/nss_db/db-alias.c: Removed.
15647 * nss/nss_db/dummy-db.h: Removed.
15649 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15651 * nss/makedb.c: Rewritten to not use database library.
15652 * nss/Makefile: Update to build new makedb program.
15654 2011-06-14 Andreas Jaeger <aj@suse.de>
15656 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15657 memset declaration.
15659 2011-06-10 Andreas Schwab <schwab@redhat.com>
15661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15664 2011-06-10 Roland McGrath <roland@hack.frob.com>
15666 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15667 * elf/Makefile ($(objpfx)ld.so): Likewise.
15669 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15670 Don't list ld.so twice in dependencies.
15672 * posix/bug-regex31.c: Include <stdlib.h>.
15674 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15676 * nis/nss_compat/compat-spwd.c
15677 (getspent_next_nss_netgr): Remove unused variable.
15678 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15680 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15681 nonmembers" output to use the right array.
15683 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15685 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15687 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15688 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15689 * catgets/gencat.c (read_input_file): Likewise.
15690 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15692 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15693 variable definition inside #if's controlling its use.
15695 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15697 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15699 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15701 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15704 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15706 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15707 * configure: Regenerated.
15709 * Makerules: Revert last change.
15710 * elf/Makefile: Likewise.
15712 2011-06-09 Roland McGrath <roland@hack.frob.com>
15714 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15715 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15716 (reloc-link): Likewise.
15718 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15720 * elf/Makefile: Add rules to build pldd.
15721 * elf/pldd.c: New file.
15722 * elf/pldd-xx.c: New file.
15724 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15726 * version.h: Update for 2.15 development version.
15728 2011-06-07 David S. Miller <davem@davemloft.net>
15730 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15732 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15733 elf_machine_lazy_rel): Likewise.
15734 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15736 elf_machine_lazy_rel): Likewise.
15737 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15738 dl_hwcap via passed in argument.
15739 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15742 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15744 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15746 2011-06-06 Roland McGrath <roland@hack.frob.com>
15749 * manual/fdl-1.1.texi: New file, verbatim from:
15750 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15751 * manual/lgpl-2.1.texi: New file, verbatim from:
15752 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15753 * manual/Makefile (licenses): New variable, list those new file names.
15755 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15757 * manual/fdl.texi: File removed.
15758 * manual/lesser.texi: File removed.
15759 * manual/libc.texinfo (Copying, Documentation License):
15760 Use new @include file names, put @appendix directive before @include.
15762 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15765 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15766 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15767 (mq_open): Add __NTH.
15769 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15772 Assume Intel Core i3/i5/i7 processor if AVX is available.
15774 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15776 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15779 2011-05-31 Andreas Schwab <schwab@redhat.com>
15781 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15782 memory. Use alloca_account. Fix memory leak when retrying.
15784 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15786 * version.h (RELEASE): Bump for 2.14 release.
15787 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15789 * config.make.in (RANLIB): Remove entry.
15791 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15793 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15794 (libc.pot): Work around missing support for .ksh extension in xgettext.
15797 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15798 if both request failed.
15799 (send_dg): In case of server errors clear resplen or *resplen2.
15802 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15803 when there are multiple maps.
15804 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15805 (_dl_fini): Remove test here.
15807 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15809 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15812 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15813 bit from old_res_options.
15814 (gaih_inet): Likewise.
15817 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15820 * resolv/res_init.c (res_setoptions): Make the code more compact.
15823 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15827 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15829 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15832 * malloc/malloc.h: Declare malloc hook variables as volatile.
15834 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15838 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15839 raise in the comment.
15840 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15841 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15842 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15844 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15847 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15848 grow the buffers more if it already has to be sufficient.
15849 (build_wcs_upper_buffer): Likewise.
15850 * posix/regexec.c (check_matching): Likewise.
15851 (clean_state_log_if_needed): Likewise.
15852 (extend_buffers): Don't enlarge buffers beyond size of the input
15854 Patches mostly by Emil Wojak <emil@wojak.eu>.
15855 * posix/bug-regex32.c: New file.
15856 * posix/Makefile (tests): Add bug-regex32.
15858 * locale/findlocale.c (_nl_find_locale): Return right away if
15859 _nl_explode_name failed.
15860 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15862 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15864 * debug/xtrace.sh: Unify messages.
15865 * malloc/memusage.sh: Likewise.
15868 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15869 time symbol from vDSO. Substitute with vsyscall if not available.
15870 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15873 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15874 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15875 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15876 Add sendmmsg and internal_sendmmsg.
15877 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15878 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15879 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15881 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15882 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15883 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15885 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15888 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15889 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15891 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15895 * iconvdata/Makefile (tests): Add bug-iconv9.
15896 * iconvdata/bug-iconv9.c: New file.
15898 2011-05-27 Andreas Schwab <schwab@redhat.com>
15901 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15903 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15905 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15906 (struct user_regs_struct): Change intcs field back to cs.
15908 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15910 * po/ja.po: Update from translation team.
15912 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15915 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15916 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15918 2011-05-20 Andreas Schwab <schwab@redhat.com>
15920 * stdlib/longlong.h: Update from GCC.
15922 2011-05-23 Andreas Schwab <schwab@redhat.com>
15924 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15926 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15927 Add parameter name.
15928 (__sysconf): Pass it down.
15930 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15933 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15935 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15936 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15937 add in in __libc_use_alloca calls. Adjust callers.
15938 (glob): Use malloc in some situations.
15940 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15941 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15944 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15946 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15947 and CLOCK_BOOTTIME_ALARM.
15950 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15953 * string/_strerror.c (__strerror_r): Print negative errors as signed
15957 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15958 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15959 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15961 * configure.in: Fix typo in redirection and correct removal of test
15962 files in two cases.
15965 * locale/setlocale.c (new_composite_name): Fix test to check for
15966 identical name of all categories.
15969 * libio/filedoalloc.c (local_isatty): New function.
15970 (_IO_file_doallocate): Use local_isatty.
15971 * stdio-common/perror.c (perror): In case a new stream is used
15972 forward the stream error.
15973 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15976 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15981 * include/alloca.h (extend_alloca_account): Define.
15984 * posix/regex.h: Fix comments with documentation of user-accessible
15985 fields after compilation and describe correct free'ing of pattern
15986 after re_compile_pattern.
15987 Patch by Reuben Thomas <rrt@sc3d.org>.
15989 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15991 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15992 and -mno-altivec to prevent the compiler from using Altivec and/or
15993 VSX instructions when the corresponding registers are not available.
15995 2011-05-19 Andreas Schwab <schwab@redhat.com>
15997 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15999 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16001 * libio/freopen.c (freopen): Use __dup2, not dup2.
16002 * libio/freopen64.c (freopen64): Likewise.
16004 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16007 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16008 * math/Makefile (tests): Add test-powl.
16009 (CFLAGS-test-powl.c): Define.
16010 * math/test-powl.c: New file.
16012 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16014 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16016 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16019 * iconvdata/gb18030.c: Update to GB18020-2005.
16021 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16023 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16024 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16025 Patch by Aharon Robbins <arnold@skeeve.com>.
16028 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16032 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16033 through underflows.
16036 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16037 point to strings before performing equality test for error_one_per_line
16041 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16044 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16045 (struct user_fpregs_struct): Avoid __uint*_t types.
16048 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16049 symbol info. Use it instead of calling _dl_addr locally.
16050 (lock_and_info): New function.
16051 (tr_freehook): Call lock_and_info and pass symbol info as additional
16052 parameter to tr_where.
16053 (tr_mallochook): Likewise.
16054 (tr_reallochook): Likewise.
16055 (tr_memalignhook): Likewise.
16057 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16058 used and couldn't be at all thread-safe.
16060 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16062 * libio/freopen.c (freopen): Don't close old file descriptor
16063 before the new one is opened. Instead dup the new file descriptor
16064 to the old one after the new stream is created.
16065 * libio/freopen64.c (freopen64): Likewise.
16066 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16067 * libio/fileops.c (_IO_new_file_close_it): Handle new
16068 _IO_FLAGS2_NOCLOSE flag.
16069 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16070 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16071 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16072 _IO_FLAGS2_NOCLOSE flag.
16073 * include/unistd.h: Add hidden_proto for dup3.
16074 Define __have_dup3.
16075 * io/dup3.c: Define hidden symbol.
16076 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16079 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16080 when an incomplete long option is used.
16081 * posix/tst-getopt_long1.c: New file.
16082 * posix/Makefile (tests): Add tst-getopt_long1.
16085 * scripts/config.guess: Update from autoconf-2.68.
16086 * scripts/config.sub: Likewise.
16089 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16091 (has_cpuclock): ...this. New function.
16092 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16093 macro here based on has_cpuclock code.
16096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16097 First byte (not low byte) is now always NUL.
16098 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16101 Use non-cancelable interfaces.
16104 * locale/iso-639.def: Add entry for Sorani.
16107 * include/stdlib.h: Move include protection to the right place.
16108 Define abort_msg_s. Declare __abort_msg with it.
16109 * stdlib/abort.c (__abort_msg): Adjust type.
16110 * assert/assert.c (__assert_fail_base): New function. Majority
16111 of code from __assert_fail. Allocate memory for __abort_msg with
16113 (__assert_fail): Now call __assert_fail_base.
16114 * assert/assert-perr.c: Remove bulk of implementation. Use
16115 __assert_fail_base.
16116 * include/assert.hL Declare __assert_fail_base.
16117 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16119 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16121 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16125 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16126 until all modules are registered in the DTV.
16127 * elf/Makefile: Add rules to build and run tst-tls19.
16128 * elf/tst-tls19.c: New file.
16129 * elf/tst-tls19mod1.c: New file.
16130 * elf/tst-tls19mod2.c: New file.
16131 * elf/tst-tls19mod3.c: New file.
16132 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16135 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16139 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16140 two-byte sequence errors.
16141 * iconvdata/Makefile (tests): Add bug-iconv8.
16142 * iconvdata/bug-iconv8.c: New file.
16145 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16148 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16151 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16152 (dummy_getcfa): New function.
16153 (init): Get _Unwind_GetCFA address, use dummy if not found.
16154 (backtrace_helper): In recursion check, also check whether CFA changes.
16155 (__backtrace): Completely initialize arg.
16157 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16158 storing incomplete byte sequence in state object. Avoid testing for
16159 guaranteed too small input if we know there is enough data available.
16161 2011-05-11 Andreas Schwab <schwab@redhat.com>
16163 * Makeconfig (+link-pie): Indent.
16164 * Rules (binaries-pie): Define if $(have-fpie) and
16166 (binaries-shared): Also filter out $(binaries-pie).
16167 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16168 * nscd/Makefile (others-pie): Add nscd.
16169 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16170 ($(objpfx)nscd): Remove command override.
16171 * login/Makefile (others-pie): Add pt_chown.
16172 ($(objpfx)pt_chown): Remove command override.
16173 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16174 remove command overrides.
16176 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16178 * libio/tst_putwc.c: Fix error messages.
16181 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16182 currently writing and seek to current position when not.
16183 * libio/Makefile (tests): Add bug-fclose1.
16184 * libio/bug-fclose1.c: New file.
16186 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16189 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16190 don't set DF_1_NODELETE here.
16191 (do_lookup_x): When entering new entry test for copy relocation
16192 and if necessary set DF_1_NODELETE flag.
16193 * elf/tst-unique4.cc: New file.
16194 * elf/tst-unique4.h: New file.
16195 * elf/tst-unique4lib.cc: New file.
16196 * elf/Makefile: Add rules to build and run tst-unique4.
16197 Patch by Piotr Bury <pbury@goahead.com>.
16199 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16202 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16205 * misc/mntent_r.c (addmntent): Flush the stream after the output
16208 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16209 (is_trusted_path_normalize): Skip initial colon. Append slash
16210 to empty buffer. Duplicate is_trusted_path code but allow
16211 constructed patch to be prefix.
16212 (is_dst): Allow $ORIGIN followed by /.
16213 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16214 Correct testing of result of is_trusted_path_normalize
16215 (decompose_rpath): Fix warning.
16217 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16220 * grp/initgroups.c (internal_getgrouplist): When we found the service
16221 list through the initgroups entry in nsswitch.conf do not always
16222 continue on a successful lookup. Don't always use the
16223 __nss_group_database value if it is set.
16224 * nss/nsswitch.conf (initgroups): Change action for successful db
16225 lookup to continue for compatibility.
16227 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16230 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16232 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16234 * iconvdata/tst-tables.sh: Likewise.
16235 * iconvdata/cp770.c: New file.
16236 * iconvdata/cp771.c: New file.
16237 * iconvdata/cp772.c: New file.
16238 * iconvdata/cp773.c: New file.
16239 * iconvdata/cp774.c: New file.
16240 * iconvdata/testdata/CP770: New file.
16241 * iconvdata/testdata/CP770..UTF8: New file.
16242 * iconvdata/testdata/CP771: New file.
16243 * iconvdata/testdata/CP771..UTF8: New file.
16244 * iconvdata/testdata/CP772: New file.
16245 * iconvdata/testdata/CP772..UTF8: New file.
16246 * iconvdata/testdata/CP773: New file.
16247 * iconvdata/testdata/CP773..UTF8: New file.
16248 * iconvdata/testdata/CP774: New file.
16249 * iconvdata/testdata/CP774..UTF8: New file.
16251 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16253 * iconvdata/gen-8bit-gap.sh: Likewise.
16254 * iconvdata/gen-8bit.sh: Likewise.
16256 * locale/iso-639.def: Add ary entry.
16259 * locale/C-translit.h.in: Add U20A1 transliteration.
16262 * locale/iso-639.def: Add wae entry.
16263 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16266 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16270 * locale/C-translit.h.in: Add entry for U20B9.
16271 Patch by pravin.d.s@gmail.com.
16273 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16276 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16277 ENAMETOOLONG use generic getcwd.
16278 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16279 in rtld. Use *stat64.
16280 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16281 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16282 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16283 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16284 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16285 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16286 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16287 __fstatat64 macros.
16288 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16289 * dirent/rewinddir.c: Add libc_hidden_def.
16290 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16291 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16293 * include/dirent.h (__alloc_dir): Add flags parameter.
16294 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16295 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16297 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16298 from fdopendir if O_CLOEXEC is already set.
16300 2011-03-15 Alan Modra <amodra@gmail.com>
16302 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16303 l_tls_firstbyte_offset non-zero. Save padding offset in
16304 l_tls_firstbyte_offset for later use.
16305 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16306 freeing static tls block.
16308 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16310 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16311 where #ifdef was intended. The intent is to prevent ARG_MAX from
16312 being defined by the kernel headers.
16314 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16317 * resolv/resolv.h: Define RES_NOTLDQUERY.
16318 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16319 no-tld-query and set RES_NOTLDQUERY.
16320 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16321 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16322 modern BIND to search name as TLD unless forbidden.
16324 2011-05-07 Petr Baudis <pasky@suse.cz>
16325 Ulrich Drepper <drepper@gmail.com>
16328 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16329 (is_trusted_path): ...to here.
16330 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16331 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16332 using is_trusted_path_normalize() in setuid scripts.
16334 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16336 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16337 __BEGIN/__END_DECLS.
16339 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16341 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16342 NSS_STATUS_NOTFOUND if no record was found.
16344 2011-05-05 Andreas Schwab <schwab@redhat.com>
16346 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16347 (headers-not-in-tirpc): Remove rpc/netdb.h
16348 * resolv/netdb.h: Revert last change.
16350 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16352 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16353 circular dependency between libgcc.a and libc.a.
16355 2011-05-05 Andreas Schwab <schwab@redhat.com>
16357 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16358 * nis/Makefile: Don't install rpcsvc/*.
16359 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16360 instead of <rpc/types.h>.
16361 (MAXHOSTNAMELEN): Define.
16363 2011-05-03 Andreas Schwab <schwab@redhat.com>
16365 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16367 2011-04-28 Maciej Babinski <mbabinski@google.com>
16370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16371 gethostbyname4_r when IPv6 results are possible.
16373 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16376 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16377 _PC_PIPE_BUF handling.
16379 2011-04-30 Bruno Haible <bruno@clisp.org>
16382 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16383 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16385 * inet/getnameinfo.c (getnameinfo): Likewise.
16387 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16389 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16390 to groups setting in database lookup.
16391 * nss/nsswitch.conf: Add initgroups entry.
16393 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16396 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16398 Patch by Eric Blake <eblake@redhat.com>.
16400 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16402 * sunrpc/Makefile (need-export-routines): Add svc_run.
16403 (routines): Remove svc_run.
16404 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16405 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16406 * sunrpc/svc_run.c (svc_run): Likewise.
16407 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16409 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16412 problem in reallocation in last patch.
16414 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16416 * sunrpc/Makefile: Move inclusion of Rules.
16418 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16420 * nss/nss_files/files-initgroups.c: New file.
16421 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16422 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16423 _nss_files_initgroups_dyn.
16425 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16427 * elf/elf.h (R_ARM_IRELATIVE): Define.
16429 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16431 * po/ru.po: Update from translation team.
16433 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16435 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16438 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16441 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16442 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16443 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16444 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16447 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16449 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16451 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16453 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16455 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16458 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16460 * stdlib/bug-getcontext.c: New file.
16461 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16463 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16465 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16466 instructions into .machine "z9-109".
16467 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16468 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16470 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16472 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16473 between environment variables and auxiliary vector.
16475 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16477 * Makefile: Add rules to build linkobj/libc.so.
16478 * include/libc-symbols.h: Define libc_hidden_nolink.
16479 * include/rpc/auth.h: Mark functions which are to be hidden.
16480 * include/rpc/auth_des.h: Likewise.
16481 * include/rpc/auth_unix.h: Likewise.
16482 * include/rpc/clnt.h: Likewise.
16483 * include/rpc/des_crypt.h: Likewise.
16484 * include/rpc/key_prot.h: Likewise.
16485 * include/rpc/pmap_clnt.h: Likewise.
16486 * include/rpc/pmap_prot.h: Likewise.
16487 * include/rpc/pmap_rmt.h: Likewise.
16488 * include/rpc/rpc_msg.h: Likewise.
16489 * include/rpc/svc.h: Likewise.
16490 * include/rpc/svc_auth.h: Likewise.
16491 * include/rpc/xdr.h: Likewise.
16492 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16493 * nss/Makefile: Likewise.
16494 * sunrpc/Makefile: Don't install headers. Build library with normal
16495 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16496 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16497 for the compat linking library. Remove use of INTDEF/INTUSE.
16498 * sunrpc/auth_none.c: Likewise.
16499 * sunrpc/auth_unix.c: Likewise.
16500 * sunrpc/authdes_prot.c: Likewise.
16501 * sunrpc/authuxprot.c: Likewise.
16502 * sunrpc/clnt_gen.c: Likewise.
16503 * sunrpc/clnt_perr.c: Likewise.
16504 * sunrpc/clnt_raw.c: Likewise.
16505 * sunrpc/clnt_simp.c: Likewise.
16506 * sunrpc/clnt_tcp.c: Likewise.
16507 * sunrpc/clnt_udp.c: Likewise.
16508 * sunrpc/clnt_unix.c: Likewise.
16509 * sunrpc/des_crypt.c: Likewise.
16510 * sunrpc/des_soft.c: Likewise.
16511 * sunrpc/get_myaddr.c: Likewise.
16512 * sunrpc/key_call.c: Likewise.
16513 * sunrpc/key_prot.c: Likewise.
16514 * sunrpc/netname.c: Likewise.
16515 * sunrpc/pm_getmaps.c: Likewise.
16516 * sunrpc/pm_getport.c: Likewise.
16517 * sunrpc/pmap_clnt.c: Likewise.
16518 * sunrpc/pmap_prot.c: Likewise.
16519 * sunrpc/pmap_prot2.c: Likewise.
16520 * sunrpc/pmap_rmt.c: Likewise.
16521 * sunrpc/publickey.c: Likewise.
16522 * sunrpc/rpc_cmsg.c: Likewise.
16523 * sunrpc/rpc_common.c: Likewise.
16524 * sunrpc/rpc_dtable.c: Likewise.
16525 * sunrpc/rpc_prot.c: Likewise.
16526 * sunrpc/rpc_thread.c: Likewise.
16527 * sunrpc/rtime.c: Likewise.
16528 * sunrpc/svc.c: Likewise.
16529 * sunrpc/svc_auth.c: Likewise.
16530 * sunrpc/svc_authux.c: Likewise.
16531 * sunrpc/svc_raw.c: Likewise.
16532 * sunrpc/svc_run.c: Likewise.
16533 * sunrpc/svc_simple.c: Likewise.
16534 * sunrpc/svc_tcp.c: Likewise.
16535 * sunrpc/svc_udp.c: Likewise.
16536 * sunrpc/svc_unix.c: Likewise.
16537 * sunrpc/svcauth_des.c: Likewise.
16538 * sunrpc/xcrypt.c: Likewise.
16539 * sunrpc/xdr.c: Likewise.
16540 * sunrpc/xdr_array.c: Likewise.
16541 * sunrpc/xdr_float.c: Likewise.
16542 * sunrpc/xdr_intXX_t.c: Likewise.
16543 * sunrpc/xdr_mem.c: Likewise.
16544 * sunrpc/xdr_rec.c: Likewise.
16545 * sunrpc/xdr_ref.c: Likewise.
16546 * sunrpc/xdr_sizeof.c: Likewise.
16547 * sunrpc/xdr_stdio.c: Likewise.
16549 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16552 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16553 * sysdeps/ia64/dl-tls.h: Likewise.
16554 * sysdeps/powerpc/dl-tls.h: Likewise.
16555 * sysdeps/s390/dl-tls.h: Likewise.
16556 * sysdeps/sh/dl-tls.h: Likewise.
16557 * sysdeps/sparc/dl-tls.h: Likewise.
16558 * sysdeps/x86_64/dl-tls.h: Likewise.
16559 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16561 2011-03-14 Andreas Schwab <schwab@redhat.com>
16563 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16564 rpath element also skip the following colon.
16565 (expand_dynamic_string_token): Add is_path parameter and pass
16566 down to DL_DST_REQUIRED and _dl_dst_substitute.
16567 (decompose_rpath): Call expand_dynamic_string_token with
16568 non-zero is_path. Ignore empty rpaths.
16569 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16572 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16577 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16580 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16581 Patch by Filipe David Manana <fdmanana@apache.org>.
16583 2011-04-07 Andreas Schwab <schwab@redhat.com>
16585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16586 Maintain aligned stack.
16587 (CHECK_RSP): Remove unused macro.
16589 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16591 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16592 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16594 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16596 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16598 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16600 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16603 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16604 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16605 * sysdeps/x86_64/memmove.c: New file.
16606 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16607 (memcpy): Renamed to ...
16608 (__new_memcpy): This.
16609 (memcpy): Provide GLIBC_2_14 memcpy.
16610 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16611 (memcpy): Provide GLIBC_2_2_5 memcpy.
16613 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16616 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16618 2011-03-30 Andreas Schwab <schwab@redhat.com>
16620 * misc/syncfs.c: New file.
16621 * misc/Makefile (routines): Add syncfs.
16622 * posix/unistd.h: Declare syncfs.
16623 * sysdeps/unix/syscalls.list: Add syncfs.
16625 2011-04-01 Andreas Schwab <schwab@redhat.com>
16627 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16632 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16634 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16635 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16637 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16639 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16640 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16641 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16643 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16645 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16647 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16648 sync_file_range.c with -fexceptions.
16649 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16650 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16651 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16652 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16653 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16654 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16655 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16656 sync_file_range as cancellation point
16657 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16658 now a wrapper around __call_sync_file_range with cancellation handling.
16659 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16660 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16661 function name to __call_sync_file_range.
16662 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16663 Add call_sync_file_range.
16665 2011-04-01 Andreas Schwab <schwab@redhat.com>
16667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16670 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16672 * iconv/iconv.h: Fix typo in comment.
16673 * io/fcntl.h: Likewise.
16674 * libio/stdio.h: Likewise.
16675 * posix/spawn.h: Likewise.
16676 * posix/unistd.h: Likewise.
16677 * stdlib/stdlib.h: Likewise.
16678 * time/time.h: Likewise.
16679 * wcsmbs/wchar.h: Likewise.
16681 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16682 open_by_handle): Add.
16683 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16684 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16685 Augment a few comments.
16686 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16688 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16691 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16694 * io/fcntl.h (AT_EMPTY_PATH): Define.
16696 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16698 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16699 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16700 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16702 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16703 * Versions.def: Add GLIBC_2.14.
16704 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16707 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16709 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16711 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16713 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16716 * string/test-strncmp.c (do_page_test): New function.
16717 (check2): Likewise.
16718 (test_main): Call check2.
16719 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16721 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16724 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16725 Handle cache information in CPU leaf 4.
16726 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16728 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16731 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16732 character representation.
16733 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16735 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16737 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16738 END(__isnan) to END(__isnanf) to match function entry point/label
16739 EALIGN(__isnanf,...).
16741 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16743 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16745 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16748 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16749 copy from the symbol referenced in the relocation to initialize the
16751 Patch by Piotr Bury <pbury@goahead.com>.
16752 * elf/Makefile: Add rules to build and tst-unique3.
16753 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16754 * elf/tst-unique3.cc: New file.
16755 * elf/tst-unique3.h: New file.
16756 * elf/tst-unique3lib.cc: New file.
16757 * elf/tst-unique3lib2.cc: New file.
16759 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16761 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16763 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16764 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16767 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16769 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16770 to-be-loaded object along a path to loader is ld.so.
16772 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16773 Ulrich Drepper <drepper@gmail.com>
16775 * sysdeps/x86_64/memset.S: After aligning destination, code
16776 branches to different locations depending on the value of
16777 misalignment, when multiarch is enabled. Fix this.
16779 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16781 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16782 Set _x86_64_preferred_memory_instruction for AMD processsors.
16783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16784 Set bit_Prefer_SSE_for_memop for AMD processors.
16786 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16788 * libio/fmemopen.c (fmemopen): Optimize a bit.
16790 2011-03-03 Andreas Schwab <schwab@redhat.com>
16792 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16794 2011-03-03 Roland McGrath <roland@redhat.com>
16796 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16798 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16800 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16801 __bzero_ultra1 instead of __memset_ultra1.
16803 2011-02-23 Andreas Schwab <schwab@redhat.com>
16804 Ulrich Drepper <drepper@gmail.com>
16807 * include/link.h (struct link_map): Add l_orig_initfini.
16808 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16809 returning unsuccessfully.
16810 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16811 close of a file loaded at startup, restore the original l_initfini
16813 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16814 list, store the pointer.
16815 * elf/Makefile ($(objpfx)noload-mem): New rule.
16816 (noload-ENV): Define.
16817 (tests): Add $(objpfx)noload-mem.
16818 * elf/noload.c: Include <memcheck.h>.
16819 (main): Call mtrace. Close all opened handles.
16821 2011-02-17 Andreas Schwab <schwab@redhat.com>
16824 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16825 dependencies are missing.
16827 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16829 Fix __if_freereq crash: Unlike the generic version which uses free,
16831 * sysdeps/mach/hurd/ifreq.h: New file.
16833 2011-01-27 Petr Baudis <pasky@suse.cz>
16834 Ulrich Drepper <drepper@gmail.com>
16837 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16838 to extend_alloca().
16839 * stdio-common/bug23.c: New file.
16840 * stdio-common/Makefile (tests): Add bug23.
16842 2010-09-28 Andreas Schwab <schwab@redhat.com>
16843 Ulrich Drepper <drepper@gmail.com>
16846 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16847 before performing relro protection. At old place add assertion
16848 to make sure nothing changed.
16850 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16851 Glauber de Oliveira Costa <glommer@gmail.com>
16853 * elf/elf.h: Add new ARM TLS relocs.
16855 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16858 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16860 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16862 * sysdeps/wordsize-64/tst-writev.c: New file.
16864 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16866 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16867 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16868 insns in _dl_start to prevent a TOC reference before relocs are
16871 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16874 * Makeconfig: Remove RANLIB definition.
16875 * Makerules: Don't use RANLIB.
16876 * aclocal.m4: Remove ranlib test.
16877 * configure.in: No need to check for ranlib.
16878 * elf/rtld-Rules: Don't use RANLIB.
16880 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16882 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16884 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16885 inclusion protection macro.
16887 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16888 SIGRTMIN and SIGRTMAX and print information in that case only when
16889 SIGRTMIN is defined.
16891 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16893 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16894 arginfo fn returning -1.
16896 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16897 and thousands string is zero terminated.
16899 2011-02-03 Andreas Schwab <schwab@redhat.com>
16901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16902 sysdeps/unix/sysv/linux/bits/socket.h.
16904 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16906 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16907 (__CPU_COUNT): Remove old macros.
16908 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16909 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16910 (__CPU_ALLOC, __CPU_FREE): Add macros.
16911 (__sched_cpualloc, __sched_cpufree): Add declarations.
16913 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16915 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16916 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16917 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16918 (readdhstai): Return value of addhstaiX call.
16919 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16920 (addgrbyX): Return value returned by cache_addgr.
16921 (readdgrbyname): Return value returned by addgrbyX.
16922 (readdgrbygid): Likewise.
16923 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16924 (addpwbyX): Return value returned by cache_addpw.
16925 (readdpwbyname): Return value returned by addhstbyX.
16926 (readdpwbyuid): Likewise.
16927 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16928 (addservbyX): Return value returned by cache_addserv.
16929 (readdservbyname): Return value returned by addservbyX:
16930 (readdservbyport): Likewise.
16931 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16932 (addhstbyX): Return value returned by cache_addhst.
16933 (readdhstbyname): Return value returned by addhstbyX.
16934 (readdhstbyaddr): Likewise.
16935 (readdhstbynamev6): Likewise.
16936 (readdhstbyaddrv6): Likewise.
16937 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16938 (readdinitgroups): Return value returned by addinitgroupsX.
16939 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16940 (prune_cache): Keep track of timeout value of re-added entries.
16941 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16942 * nscd/nscd.h: Adjust prototypes of readd* functions.
16944 2011-02-04 Roland McGrath <roland@redhat.com>
16946 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16947 (nis_stats): Likewise.
16948 * nis/nis_modify.c (nis_modify): Likewise.
16949 * nis/nis_remove.c (nis_remove): Likewise.
16950 * nis/nis_add.c (nis_add): Likewise.
16952 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16954 * posix/fnmatch_loop.c: Add some consts.
16956 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16958 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16961 * config.make.in (config-cflags-novzeroupper): Define.
16962 * configure.in: Substitute libc_cv_cc_novzeroupper.
16963 * elf/Makefile (AVX-CFLAGS): Define.
16964 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16965 (CFLAGS-tst-auditmod4a.c): Likewise.
16966 (CFLAGS-tst-auditmod4b.c): Likewise.
16967 (CFLAGS-tst-auditmod6b.c): Likewise.
16968 (CFLAGS-tst-auditmod6c.c): Likewise.
16969 (CFLAGS-tst-auditmod7b.c): Likewise.
16970 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16972 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16974 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16975 function to the callback.
16976 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16978 2011-02-02 Andreas Schwab <schwab@redhat.com>
16980 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16983 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16986 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16988 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16990 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16993 * elf/Makefile: Add rules to build and run new test.
16994 * elf/tst-initorder.c: New file.
16995 * elf/tst-initorder.exp: New file.
16996 * elf/tst-initordera1.c: New file.
16997 * elf/tst-initordera2.c: New file.
16998 * elf/tst-initordera3.c: New file.
16999 * elf/tst-initordera4.c: New file.
17000 * elf/tst-initorderb1.c: New file.
17001 * elf/tst-initorderb2.c: New file.
17002 * elf/tst-order-a1.c: New file.
17003 * elf/tst-order-a2.c: New file.
17004 * elf/tst-order-a3.c: New file.
17005 * elf/tst-order-a4.c: New file.
17006 * elf/tst-order-b1.c: New file.
17007 * elf/tst-order-b2.c: New file.
17008 * elf/tst-order-main.c: New file.
17009 New test case by George Gensure <werkt0@gmail.com>.
17011 2010-10-01 Andreas Schwab <schwab@redhat.com>
17013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17014 decoding ACE if AI_CANONIDN.
17016 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17018 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17020 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17022 * version.h (RELEASE): Bump for 2.13 release.
17023 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17025 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17027 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17029 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17030 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17031 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17032 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17034 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17036 * posix/getconf.c: Update copyright year.
17037 * catgets/gencat.c: Likewise.
17038 * csu/version.c: Likewise.
17039 * debug/catchsegv.sh: Likewise.
17040 * debug/xtrace.sh: Likewise.
17041 * elf/ldconfig.c: Likewise.
17042 * elf/ldd.bash.in: Likewise.
17043 * elf/sprof.c (print_version): Likewise.
17044 * iconv/iconv_prog.c: Likewise.
17045 * iconv/iconvconfig.c: Likewise.
17046 * locale/programs/locale.c: Likewise.
17047 * locale/programs/localedef.c: Likewise.
17048 * malloc/memusage.sh: Likewise.
17049 * malloc/mtrace.pl: Likewise.
17050 * nscd/nscd.c (print_version): Likewise.
17051 * nss/getent.c: Likewise.
17053 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17054 PF_CAIF, and PF_ALG.
17055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17057 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17059 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17060 (modules-names): Use them.
17061 (ifunc-test-modules, ifunc-pie-tests): Define.
17062 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17063 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17064 (test-extras): Likewise.
17065 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17066 $(compile-command.c).
17067 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17068 (all-built-dso): Define.
17069 (check-textrel.out, check-execstack.out): Depend on it.
17071 * configure.in: Don't override --enable-multi-arch.
17073 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17076 * nscd/hstcache.c (tryagain): Define.
17077 (cache_addhst): Return tryagain not notfound for temporary errors.
17078 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17081 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17084 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17085 to make the syscall.
17086 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17089 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17090 and fall back to matching as normal character if the string ends before
17091 the matching ']' is found. This is what POSIX requires.
17092 * posix/testfnm.c: Adjust test result.
17093 * posix/globtest.sh: Adjust test result. Add new test.
17094 * posix/tst-fnmatch.input: Likewise.
17095 * posix/tst-fnmatch2.c: Add new test.
17097 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17099 * elf/Makefile (check-execstack): Revert last change. Depend on
17101 (check-execstack.h): New target.
17102 (generated): Add check-execstack.h.
17103 * elf/check-execstack.c: Include "check-execstack.h".
17104 (main): Revert last change.
17105 (handle_file): Return zero if GNU_STACK is absent and
17106 DEFAULT_STACK_PERMS doesn't include PF_X.
17108 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17110 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17111 in child fails because the descriptor is already closed.
17112 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17113 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17114 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17117 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17121 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17122 temporary buffer used to handle multi lookups locally.
17123 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17125 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17127 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17130 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17132 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17133 alignment for SSE2.
17135 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17138 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17139 characters. When rounding increased number of integer digits recompute
17141 * stdio-common/tst-grouping.c: New file.
17142 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17144 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17146 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17147 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17149 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17151 * bits/select.h: Likewise.
17153 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17155 * po/ja.po: Update from translation team.
17157 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17160 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17161 implementation just like for lxstat, fxstatat, et al.
17163 2010-12-27 Jim Meyering <meyering@redhat.com>
17166 * posix/regexec.c (build_trtable): Return failure indication upon
17167 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17169 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17172 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17173 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17174 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17175 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17178 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17181 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17182 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17184 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17186 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17187 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17188 script has SORT_BY_INIT_PRIORITY.
17189 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17190 NO_CTORS_DTORS_SECTIONS is defined.
17191 * elf/soinit.c: Likewise.
17192 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17193 NO_CTORS_DTORS_SECTIONS is defined.
17194 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17195 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17196 * sysdeps/sh/init-first.c: Likewise.
17197 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17199 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17201 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17202 always use the slow path.
17204 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17206 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17207 similar rule which adds the sysdep directories to the header search in
17208 order to pick up the correct platform stackinfo.h.
17209 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17210 perform test if it is, otherwise return successfully without testing.
17211 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17212 DEFAULT_STACK_PERMS define in stackinfo.h.
17213 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17214 defined in stackinfo.h.
17215 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17216 DEFAULT_STACK_PERMS defined in stackinfo.h.
17217 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17218 * sysdeps/ia64/stackinfo.h: Likewise.
17219 * sysdeps/s390/stackinfo.h: Likewise.
17220 * sysdeps/sh/stackinfo.h: Likewise.
17221 * sysdeps/sparc/stackinfo.h: Likewise.
17222 * sysdeps/x86_64/stackinfo.h: Likewise.
17223 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17224 PF_X for powerpc64. Retain PF_X for powerpc32.
17226 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17228 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17230 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17231 GETDENTS_64BIT_ALIGNED.
17233 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17235 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17237 2010-12-10 Andreas Schwab <schwab@redhat.com>
17239 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17242 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17243 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17245 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17246 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17248 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17251 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17254 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17256 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17258 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17260 * po/it.po: Update from translation team.
17262 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17267 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17269 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17271 2010-11-24 Andreas Schwab <schwab@redhat.com>
17273 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17275 (gaih_getanswer_slice): Likewise.
17277 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17281 2010-05-31 Petr Baudis <pasky@suse.cz>
17284 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17285 silently even in the chroot mode.
17287 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17289 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17290 last patch a bit. Pretty printing
17292 2010-05-31 Petr Baudis <pasky@suse.cz>
17295 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17296 initialization of skip_initgroups_dyn.
17298 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17300 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17301 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17303 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17305 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17307 2010-11-11 Andreas Schwab <schwab@redhat.com>
17309 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17310 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17311 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17312 ($(objpfx)tst-fnmatch-mem): New rule.
17313 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17314 * posix/tst-fnmatch.c (main): Call mtrace.
17316 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17319 Support Intel processor model 6 and model 0x2c.
17321 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17323 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17326 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17329 * string/test-strncasecmp.c (check_result): New function.
17330 (do_one_test): Use it.
17331 (check1): New function.
17332 (test_main): Use it.
17333 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17334 Support strcasecmp and strncasecmp.
17336 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17339 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17340 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17342 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17344 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17348 * sysdeps/x86_64/multiarch/bzero.S: New file.
17349 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17350 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17351 * sysdeps/x86_64/multiarch/memset.S: New file.
17352 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17354 Set bit_Prefer_SSE_for_memop for Intel processors.
17355 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17357 (index_Prefer_SSE_for_memop): Define.
17358 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17360 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17362 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17363 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17365 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17368 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17369 (__x86_64_raw_data_cache_size_half): Likewise.
17370 (__x86_64_raw_shared_cache_size): Likewise.
17371 (__x86_64_raw_shared_cache_size_half): Likewise.
17373 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17374 (__x86_64_raw_data_cache_size_half): Likewise.
17375 (__x86_64_raw_shared_cache_size): Likewise.
17376 (__x86_64_raw_shared_cache_size_half): Likewise.
17377 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17378 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17379 and __x86_64_raw_shared_cache_size_half. Round
17380 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17381 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17382 to multiple of 256 bytes.
17384 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17387 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17388 of inacessible symlinks. Verify result of symlink before returning it.
17389 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17390 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17392 2010-10-28 Erich Ritz <erichritz@gmail.com>
17394 * math/math.h (isinf): Fix typo in comment.
17396 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17398 * po/da.po: Update from translation team.
17400 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17402 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17403 is added to the list.
17405 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17406 Ulrich Drepper <drepper@gmail.com>
17408 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17409 the global list here. Move code to...
17410 (_dl_add_to_namespace_list): ...here. New function.
17411 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17412 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17413 * elf/dl-load.c (lose): Don't remove the element from the list.
17414 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17415 (_dl_map_object): Likewise.
17417 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17420 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17421 into all bytes of SSE register.
17422 Patch by Richard Li <richardpku@gmail.com>.
17424 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17427 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17430 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17432 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17433 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17434 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17435 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17440 2010-10-22 Andreas Schwab <schwab@redhat.com>
17442 * include/dlfcn.h (__RTLD_SECURE): Define.
17443 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17444 mode & __RTLD_SECURE instead.
17445 (open_path): Rename preloaded parameter to secure.
17446 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17447 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17448 * elf/dl-deps.c (openaux): Likewise.
17449 * elf/rtld.c (struct map_args): Remove is_preloaded.
17450 (map_doit): Don't use it.
17451 (dl_main): Likewise.
17452 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17453 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17455 2010-09-09 Andreas Schwab <schwab@redhat.com>
17457 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17458 (sysd-rules-targets): Remove duplicates.
17459 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17460 rtld-%.$o dependency.
17462 2010-10-18 Andreas Schwab <schwab@redhat.com>
17464 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17465 _dl_map_object do it.
17467 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17469 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17470 fast fma builtins, define the macros in the C99 standard.
17471 (FP_FAST_FMAF): Likewise.
17472 (FP_FAST_FMAL): Likewise.
17473 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17475 * bits/mathdef.h: Update copyright year.
17476 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17478 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17480 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17481 builtins, define the macros in the C99 standard.
17482 (FP_FAST_FMAF): Likewise.
17483 (FP_FAST_FMAL): Likewise.
17484 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17486 (FP_FAST_FMAF): Likewise.
17488 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17491 * math/libm-test.inc (fma_test): Some new testcases.
17492 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17493 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17494 y and infinite z. Do multiplication by C already in long double.
17495 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17497 y and infinite z. Do bitwise or of inexact bit into u.d.
17498 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17499 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17500 * sysdeps/i386/fpu/s_fma.S: Removed.
17501 * sysdeps/i386/fpu/s_fmal.S: Removed.
17503 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17506 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17508 computation is not scheduled after fetestexcept. Fix value
17509 of minimum denormal long double.
17511 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17514 * math/libm-test.inc (fma_test): Add some more tests.
17515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17518 2010-10-15 Andreas Schwab <schwab@redhat.com>
17520 * scripts/data/localplt-s390-linux-gnu.data: New file.
17521 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17523 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17526 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17527 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17529 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17531 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17533 if one of x and y is very large and the other is subnormal.
17534 * sysdeps/s390/fpu/s_fmaf.c: New file.
17535 * sysdeps/s390/fpu/s_fma.c: New file.
17536 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17537 * sysdeps/powerpc/fpu/s_fma.S: New file.
17538 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17539 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17540 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17542 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17545 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17548 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17549 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17550 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17551 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17552 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17553 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17555 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17558 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17559 * posix/bug-regex31.input: Add test case.
17561 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17563 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17564 * posix/bug-regex31.input: New file.
17567 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17568 (parse_sub_exp): Fix last change, use postorder.
17570 * posix/bug-regex31.c: New file.
17571 * posix/Makefile: Add rules to build and run bug-regex31.
17573 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17576 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17579 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17580 to have entries in sys_siglist.
17583 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17586 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17589 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17590 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17591 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17592 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17593 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17594 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17595 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17596 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17597 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17598 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17599 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17600 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17601 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17602 * math/ftestexcept.c (fetestexcept): Likewise.
17603 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17604 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17605 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17606 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17607 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17608 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17609 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17611 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17614 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17617 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17619 * string/bug-strstr1.c: New file.
17620 * string/Makefile: Add rules to build and run bug-strstr1.
17622 2010-10-05 Eric Blake <eblake@redhat.com>
17625 * string/str-two-way.h (two_way_long_needle): Always clear memory
17626 when skipping input due to the shift table.
17628 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17631 * malloc/mcheck.c: Handle large requests.
17634 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17635 for strncmp and strncasecmp.
17636 * string/stratcliff.c: Add tests for strcmp and strncmp.
17637 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17639 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17641 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17644 2010-09-30 Andreas Jaeger <aj@suse.de>
17646 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17647 (CGROUP_SUPER_MAGIC): Define.
17648 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17649 Handle btrfs and cgroup file systems.
17650 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17653 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17655 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17656 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17658 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17661 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17662 trying to locate the ELF header.
17664 2010-09-27 Andreas Schwab <schwab@redhat.com>
17667 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17668 Mask out sign-bit copies when constructing f_fsid.
17670 2010-09-24 Petr Baudis <pasky@suse.cz>
17672 * debug/stack_chk_fail_local.c: Add missing licence exception.
17673 * debug/warning-nop.c: Likewise.
17675 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17677 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17678 implementing getdents64 using getdents syscall, set d_type if
17679 __ASSUME_GETDENTS32_D_TYPE.
17681 2010-09-16 Andreas Schwab <schwab@redhat.com>
17683 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17684 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17686 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17689 * posix/unistd.h: Undo change of feature selection for ftruncate from
17692 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17694 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17697 2010-09-20 Andreas Schwab <schwab@redhat.com>
17699 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17701 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17703 2010-09-14 Andreas Schwab <schwab@redhat.com>
17705 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17706 variables after CHECK_SP call.
17707 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17709 2010-09-13 Andreas Schwab <schwab@redhat.com>
17710 Ulrich Drepper <drepper@redhat.com>
17712 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17713 re-relocationg ld.so.
17714 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17715 _dl_init_paths call.
17716 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17719 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17721 * resolv/res_init.c (__res_vinit): Count the default server we added.
17723 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17724 Ulrich Drepper <drepper@redhat.com>
17727 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17728 (____longjmp_chk): Use %ebx for saving value across system call.
17731 2010-09-06 Andreas Schwab <schwab@redhat.com>
17733 * manual/Makefile: Don't mix pattern rules with normal rules.
17735 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17737 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17739 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17740 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17741 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17742 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17746 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17749 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17750 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17752 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17754 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17755 * sysdeps/x86_64/addmul_1.S: Likewise.
17756 * sysdeps/x86_64/lshift.S: Likewise.
17757 * sysdeps/x86_64/mul_1.S: Likewise.
17758 * sysdeps/x86_64/rshift.S: Likewise.
17759 * sysdeps/x86_64/sub_n.S: Likewise.
17760 * sysdeps/x86_64/submul_1.S: Likewise.
17762 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17764 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17765 Define __sched_param instead of SCHED_* and sched_param when
17766 <bits/sched.h> is included with __need_schedparam defined.
17767 * bits/sched.h [__need_schedparam]
17768 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17769 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17770 (__defined_schedparam): Define to 1.
17771 (__sched_param): New structure, identical to sched_param.
17772 (__need_schedparam): Undefine.
17774 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17776 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17777 (epoll_create1): Declare.
17779 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17781 2010-08-31 Andreas Schwab <schwab@redhat.com>
17784 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17785 shifting retval into place.
17787 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17789 * nis/rpcsvc/nis.h: Update copyright notice.
17790 * nis/rpcsvc/nis.x: Likewise.
17791 * nis/rpcsvc/nis_callback.h: Likewise.
17792 * nis/rpcsvc/nis_callback.x: Likewise.
17793 * nis/rpcsvc/nis_object.x: Likewise.
17794 * nis/rpcsvc/nis_tags.h: Likewise.
17795 * nis/rpcsvc/yp.h: Likewise.
17796 * nis/rpcsvc/yp.x: Likewise.
17797 * nis/rpcsvc/ypupd.h: Likewise.
17798 * nis/yp_xdr.c: Likewise.
17799 * nis/ypupdate_xdr.c: Likewise.
17801 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17802 mainly the body of pmap_getport. Add parameters to specify timeouts.
17803 (pmap_getport): Use __libc_rpc_getport.
17804 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17805 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17806 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17808 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17813 2010-08-27 Roland McGrath <roland@redhat.com>
17815 * sysdeps/i386/i686/multiarch/Makefile
17816 (CFLAGS-varshift.c): New variable.
17818 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17820 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17821 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17823 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17825 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17827 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17829 * sysdeps/x86_64/strlen.S: Unroll the loop.
17830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17831 strlen-sse2 strlen-sse2-bsf.
17832 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17833 __strlen_no_bsf if bit_Slow_BSF is set.
17834 (__strlen_sse42): Removed.
17835 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17836 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17838 2010-08-25 Roland McGrath <roland@redhat.com>
17840 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17841 * sysdeps/x86_64/multiarch/varshift.c: New file.
17842 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17843 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17844 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17845 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17847 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17850 strlen-sse2 strlen-sse2-bsf.
17851 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17852 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17853 (__strlen_sse2): Removed.
17854 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17855 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17857 bit_Slow_BSF for Atom.
17858 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17859 (index_Slow_BSF): Define.
17860 (HAS_SLOW_BSF): Define.
17862 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17865 * resolv/res_init.c (__res_vinit): When no server address at all
17866 is given default to loopback.
17868 2010-08-24 Roland McGrath <roland@redhat.com>
17870 * configure.in: Remove config-name.h generation.
17871 * configure: Regenerated.
17872 * config-name.in: File removed.
17873 * scripts/config-uname.sh: New file.
17874 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17875 ($(objdir)config-name.h): New target.
17877 * sunrpc/rpc_parse.h: Avoid nested comment.
17879 2010-08-24 Richard Henderson <rth@redhat.com>
17880 Ulrich Drepper <drepper@redhat.com>
17881 H.J. Lu <hongjiu.lu@intel.com>
17883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17885 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17886 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17887 _mm_alignr_epi8 with _mm_loadu_si128.
17888 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17889 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17890 (__m128i_shift_right): Removed.
17891 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17892 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17893 * sysdeps/x86_64/multiarch/varshift.h: New file.
17894 * sysdeps/x86_64/multiarch/varshift.S: New file.
17896 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17898 * configure.in: Move assembler checks to before sysdep dir checking.
17900 2010-08-20 Petr Baudis <pasky@suse.cz>
17902 * LICENSES: Sync the sunrpc license.
17904 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17906 * sunrpc/auth_des.c: Update copyright notice once again.
17907 * sunrpc/auth_none.c: Likewise.
17908 * sunrpc/auth_unix.c: Likewise.
17909 * sunrpc/authdes_prot.c: Likewise.
17910 * sunrpc/authuxprot.c: Likewise.
17911 * sunrpc/bindrsvprt.c: Likewise.
17912 * sunrpc/clnt_gen.c: Likewise.
17913 * sunrpc/clnt_perr.c: Likewise.
17914 * sunrpc/clnt_raw.c: Likewise.
17915 * sunrpc/clnt_simp.c: Likewise.
17916 * sunrpc/clnt_tcp.c: Likewise.
17917 * sunrpc/clnt_udp.c: Likewise.
17918 * sunrpc/clnt_unix.c: Likewise.
17919 * sunrpc/des_crypt.c: Likewise.
17920 * sunrpc/des_soft.c: Likewise.
17921 * sunrpc/get_myaddr.c: Likewise.
17922 * sunrpc/getrpcport.c: Likewise.
17923 * sunrpc/key_call.c: Likewise.
17924 * sunrpc/key_prot.c: Likewise.
17925 * sunrpc/openchild.c: Likewise.
17926 * sunrpc/pm_getmaps.c: Likewise.
17927 * sunrpc/pm_getport.c: Likewise.
17928 * sunrpc/pmap_clnt.c: Likewise.
17929 * sunrpc/pmap_prot.c: Likewise.
17930 * sunrpc/pmap_prot2.c: Likewise.
17931 * sunrpc/pmap_rmt.c: Likewise.
17932 * sunrpc/rpc/auth.h: Likewise.
17933 * sunrpc/rpc/auth_unix.h: Likewise.
17934 * sunrpc/rpc/clnt.h: Likewise.
17935 * sunrpc/rpc/des_crypt.h: Likewise.
17936 * sunrpc/rpc/key_prot.h: Likewise.
17937 * sunrpc/rpc/netdb.h: Likewise.
17938 * sunrpc/rpc/pmap_clnt.h: Likewise.
17939 * sunrpc/rpc/pmap_prot.h: Likewise.
17940 * sunrpc/rpc/pmap_rmt.h: Likewise.
17941 * sunrpc/rpc/rpc.h: Likewise.
17942 * sunrpc/rpc/rpc_des.h: Likewise.
17943 * sunrpc/rpc/rpc_msg.h: Likewise.
17944 * sunrpc/rpc/svc.h: Likewise.
17945 * sunrpc/rpc/svc_auth.h: Likewise.
17946 * sunrpc/rpc/types.h: Likewise.
17947 * sunrpc/rpc/xdr.h: Likewise.
17948 * sunrpc/rpc_clntout.c: Likewise.
17949 * sunrpc/rpc_cmsg.c: Likewise.
17950 * sunrpc/rpc_common.c: Likewise.
17951 * sunrpc/rpc_cout.c: Likewise.
17952 * sunrpc/rpc_dtable.c: Likewise.
17953 * sunrpc/rpc_hout.c: Likewise.
17954 * sunrpc/rpc_main.c: Likewise.
17955 * sunrpc/rpc_parse.c: Likewise.
17956 * sunrpc/rpc_parse.h: Likewise.
17957 * sunrpc/rpc_prot.c: Likewise.
17958 * sunrpc/rpc_sample.c: Likewise.
17959 * sunrpc/rpc_scan.c: Likewise.
17960 * sunrpc/rpc_scan.h: Likewise.
17961 * sunrpc/rpc_svcout.c: Likewise.
17962 * sunrpc/rpc_tblout.c: Likewise.
17963 * sunrpc/rpc_util.c: Likewise.
17964 * sunrpc/rpc_util.h: Likewise.
17965 * sunrpc/rpcinfo.c: Likewise.
17966 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17967 * sunrpc/rpcsvc/key_prot.x: Likewise.
17968 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17969 * sunrpc/rpcsvc/mount.x: Likewise.
17970 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17971 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17972 * sunrpc/rpcsvc/rex.x: Likewise.
17973 * sunrpc/rpcsvc/rstat.x: Likewise.
17974 * sunrpc/rpcsvc/rusers.x: Likewise.
17975 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17976 * sunrpc/rpcsvc/spray.x: Likewise.
17977 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17978 * sunrpc/rtime.c: Likewise.
17979 * sunrpc/svc.c: Likewise.
17980 * sunrpc/svc_auth.c: Likewise.
17981 * sunrpc/svc_authux.c: Likewise.
17982 * sunrpc/svc_raw.c: Likewise.
17983 * sunrpc/svc_run.c: Likewise.
17984 * sunrpc/svc_simple.c: Likewise.
17985 * sunrpc/svc_tcp.c: Likewise.
17986 * sunrpc/svc_udp.c: Likewise.
17987 * sunrpc/svc_unix.c: Likewise.
17988 * sunrpc/svcauth_des.c: Likewise.
17989 * sunrpc/xcrypt.c: Likewise.
17990 * sunrpc/xdr.c: Likewise.
17991 * sunrpc/xdr_array.c: Likewise.
17992 * sunrpc/xdr_float.c: Likewise.
17993 * sunrpc/xdr_mem.c: Likewise.
17994 * sunrpc/xdr_rec.c: Likewise.
17995 * sunrpc/xdr_ref.c: Likewise.
17996 * sunrpc/xdr_sizeof.c: Likewise.
17997 * sunrpc/xdr_stdio.c: Likewise.
17999 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18002 2010-08-19 Andreas Schwab <schwab@redhat.com>
18004 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18006 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18008 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18009 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18010 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18011 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18012 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18013 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18014 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18015 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18016 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18017 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18018 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18019 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18020 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18021 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18023 2010-07-26 Anton Blanchard <anton@samba.org>
18025 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18026 * malloc/arena.c (heap_trim): Likewise.
18028 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18030 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18032 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18033 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18035 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18037 * sysdeps/i386/elf/Makefile: New file.
18039 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18041 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18042 from fanotify_init.
18043 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18044 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18046 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18048 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18050 * sysdeps/multiarch/strcmp.S: Likewise.
18052 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18054 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18055 strncase_l-nonascii.
18056 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18057 Add strncase_l-ssse3.
18058 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18059 * sysdeps/x86_64/strcmp.S: Likewise.
18060 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18061 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18062 * sysdeps/x86_64/strncase.S: New file.
18063 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18064 * sysdeps/x86_64/strncase_l.S: New file.
18065 * string/Makefile (strop-tests): Add strncasecmp.
18066 * string/test-strncasecmp.c: New file.
18068 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18071 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18072 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18074 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18076 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18078 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18080 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18081 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18082 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18084 2010-05-01 Alan Modra <amodra@gmail.com>
18086 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18087 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18088 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18089 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18090 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18091 tidying. Don't tail-call __sigjmp_save for static lib.
18092 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18094 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18095 (CALL_MCOUNT): Add eh info, and nop after bl.
18096 (TAIL_CALL_SYSCALL_ERROR): New macro.
18097 (PSEUDO_RET): Use it.
18098 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18099 Correct save location of integer regs and cr.
18100 (_dl_profile_resolve): Correct cr save location. Delete nops
18101 after bl when SHARED. Reduce cfi size a little by better
18102 placement of cfi directives.
18103 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18104 make a stack frame. Instead use parm save area as a temp.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18106 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18108 Don't make a stack frame for parent, use parm save area.
18109 Increase child stack frame to 112 bytes. Don't save unused reg,
18110 and adjust reg usage. Set up cfi on error recovery and
18111 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18113 (__makecontext): Add dummy nop after jump to exit.
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18115 Use correct parm save area and cr save, reduce stack frame.
18116 Correct cfi for possible PSEUDO_RET frame setup.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18118 Branch to local label emitted by PSEUDO_RET rather than
18121 2010-08-12 Andreas Schwab <schwab@redhat.com>
18124 * locale/programs/locale.c (print_assignment): New function.
18125 (show_locale_vars): Use it.
18127 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18129 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18131 (struct statfs64): Likewise.
18132 (_STATFS_F_FLAGS): Define.
18133 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18134 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18135 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18136 (ST_VALID): Define locally.
18137 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18138 __statvfs_getflags, use the provided value.
18139 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18140 __ASSUME_STATFS_F_FLAGS.
18142 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18144 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18145 Add sys/fanotify.h.
18146 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18147 fanotify_mask for GLIBC_2.13.
18148 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18149 fanotify_init and fanotify_mark.
18150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18151 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18153 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18155 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18156 prlimit64 for GLIBC_2.13.
18157 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18162 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18163 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18164 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18165 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18167 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18170 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18171 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18173 * nss/Makefile: Add rules to build and run tst-nss-test1.
18174 * shlib-versions: Add entry for libnss_test1.
18175 * nss/nss_test1.c: New file.
18176 * nss/tst-nss-test1.c: New file.
18178 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18179 (__nss_configure_lookup): Set appropriate entry in
18180 __nss_configure_lookup to true.
18181 * nss/nsswitch.h: Define enum with indeces of databases in
18182 databases and __nss_database_custom arrays. Declare
18183 __nss_database_custom.
18184 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18185 to avoid using nscd when custom rules are installed.
18186 * nss/getXXbyYY_r.c: Likewise.
18187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18189 * nss/nss_files/files-parse.c: Whitespace fixes.
18191 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18194 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18195 * posix/fnmatch_loop.c: Likewise.
18197 2010-07-17 Andi Kleen <ak@linux.intel.com>
18199 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18200 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18201 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18202 * Versions.def [GLIBC_2.13]: Add.
18204 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18206 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18207 Also fail if tpwd after pwuid call is NULL.
18209 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18211 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18212 when converting to ms.
18214 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18216 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18217 EOPNOTSUPP errors with ENOTTY.
18218 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18219 EOPNOTSUPP errors with ENOTTY.
18221 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18223 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18224 Add strcasecmp_l-ssse3.
18225 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18227 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18228 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18229 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18231 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18233 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18235 * string/Makefile (strop-tests): Add strcasecmp.
18236 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18237 strcasecmp_l-nonascii.
18238 (gen-as-const-headers): Add locale-defines.sym.
18239 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18240 * sysdeps/x86_64/strcasecmp.S: New file.
18241 * sysdeps/x86_64/strcasecmp_l.S: New file.
18242 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18243 * sysdeps/x86_64/locale-defines.sym: New file.
18244 * string/test-strcasecmp.c: New file.
18246 * string/test-strcasestr.c: Test both ends of the range of characters.
18247 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18249 2010-07-29 Roland McGrath <roland@redhat.com>
18252 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18254 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18256 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18259 2010-07-27 Andreas Schwab <schwab@redhat.com>
18261 * manual/memory.texi (Malloc Tunable Parameters): Document
18264 2010-07-26 Roland McGrath <roland@redhat.com>
18267 * configure.in (-fgnu89-inline check): Set and substitute
18268 gnu89_inline, not libc_cv_gnu89_inline.
18269 * configure: Regenerated.
18270 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18272 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18274 * string/test-strnlen.c: New file.
18275 * string/Makefile (strop-tests): Add strnlen.
18276 * string/tester.c (test_strnlen): Add a few more test cases.
18277 * string/tst-strlen.c: Better error reporting.
18279 * sysdeps/x86_64/strnlen.S: New file.
18281 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18283 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18284 lower-latency instructions.
18286 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18288 * string/test-strcasestr.c: New file.
18289 * string/test-strstr.c: New file.
18290 * string/Makefile (strop-tests): Add strstr and strcasestr.
18291 * string/str-two-way.h: Don't undefine MAX.
18292 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18294 2010-07-21 Andreas Schwab <schwab@redhat.com>
18296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18297 strcasestr-nonascii.
18298 (CFLAGS-strcasestr-nonascii.c): Define.
18299 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18300 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18301 Remove unused attribute.
18303 2010-07-20 Roland McGrath <roland@redhat.com>
18305 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18306 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18307 ld.so.cache was broken. With it, there is no way to disable dsocaps
18308 like LD_HWCAP_MASK can disable hwcaps.
18310 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18312 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18314 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18316 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18317 call in strcasestr.
18318 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18319 __strcasestr_sse42_nonascii.
18320 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18321 strcasestr-nonascii.c.
18322 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18324 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18326 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18327 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18328 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18329 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18331 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18333 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18336 2010-07-06 Andreas Schwab <schwab@redhat.com>
18339 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18342 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18344 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18345 _PC_PIPE_BUF using F_GETPIPE_SZ.
18347 2010-07-05 Roland McGrath <roland@redhat.com>
18349 * manual/arith.texi (Rounding Functions): Fix rint description
18350 implicit in round description.
18352 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18354 * elf/Makefile: Fix linking for a few tests to make recent linker
18357 2010-06-30 Andreas Schwab <schwab@redhat.com>
18359 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18360 $(common-objpfx)libc_nonshared.a.
18362 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18364 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18365 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18366 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18367 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18368 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18369 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18370 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18371 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18386 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18387 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18388 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18389 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18390 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18391 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18392 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18393 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18394 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18395 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18396 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18397 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18413 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18415 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18416 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18417 * string/memmove.c (memmove): Renamed to ...
18418 (MEMMOVE): ...this. Default to memmove.
18419 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18420 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18423 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18424 mempcpy-ssse3-back memmove-ssse3-back.
18425 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18426 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18427 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18428 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18429 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18430 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18431 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18432 * sysdeps/x86_64/multiarch/memmove.c: New file.
18433 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18434 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18435 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18436 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18437 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18438 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18440 (index_Fast_Copy_Backward): Define.
18441 (HAS_ARCH_FEATURE): Define.
18442 (HAS_FAST_REP_STRING): Define.
18443 (HAS_FAST_COPY_BACKWARD): Define.
18445 2010-06-21 Andreas Schwab <schwab@redhat.com>
18447 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18448 Restore proper fallback handling.
18450 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18453 * posix/group_member.c (__group_member): Correct checking loop.
18455 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18456 OOM in getpwuid_r correctly. Return error number when the caller
18457 should return, otherwise -1.
18458 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18459 call returning > 0 value.
18460 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18462 2010-06-07 Andreas Schwab <schwab@redhat.com>
18464 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18465 libc_nonshared.a from targets in modules-names.
18467 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18469 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18472 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18474 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18475 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18477 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18479 2010-06-02 Andreas Schwab <schwab@redhat.com>
18481 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18483 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18485 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18487 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18489 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18491 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18492 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18494 2010-06-14 Roland McGrath <roland@redhat.com>
18496 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18498 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18500 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18501 __REDIRECT followed by __THROW.
18502 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18503 * posix/getopt.h (getopt): Likewise.
18505 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18507 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18508 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18509 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18511 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18512 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18514 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18516 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18518 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18522 Properly check family and model.
18524 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18526 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18528 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18530 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18532 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18534 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18537 2010-05-19 Andreas Schwab <schwab@redhat.com>
18539 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18542 2010-05-21 Andreas Schwab <schwab@redhat.com>
18544 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18545 and internal_recvmmsg.
18546 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18547 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18548 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18549 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18551 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18552 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18553 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18555 2010-05-20 Andreas Schwab <schwab@redhat.com>
18557 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18559 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18561 POWER7 optimizations.
18562 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18563 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18565 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18567 * version.h: Update for 2.13 development version.
18569 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18571 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18572 exceptions. Return 0.
18574 2010-05-07 Roland McGrath <roland@redhat.com>
18576 * elf/ldconfig.c (main): Add a const.
18578 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18580 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18581 (args_options): Add no-idn option.
18582 (ahosts_keys_int): Add idn_flags to ai_flags.
18583 (parse_option): Handle 'i' option to clear idn_flags.
18585 * malloc/malloc.c (_int_free): Possible race in the most recently
18586 added check. Only act on the data if no current modification
18589 See ChangeLog.17 for earlier changes.