1 2012-08-17 Marek Polacek <polacek@redhat.com>
3 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6 2012-08-17 Roland McGrath <roland@hack.frob.com>
8 * configure.in: Add AC_SUBST for sysheaders.
9 * configure: Regenerated.
10 * config.make.in (sysheaders): New substituted variable.
12 * sysdeps/unix/mkfifo.c: Moved ...
13 * sysdeps/posix/mkfifo.c: ... here.
14 * sysdeps/unix/mkfifoat.c: Moved ...
15 * sysdeps/posix/mkfifoat.c: ... here.
17 * sysdeps/unix/utime.c: Moved ...
18 * sysdeps/posix/utime.c: ... here.
20 * sysdeps/unix/time.c: Moved ...
21 * sysdeps/posix/time.c: ... here.
22 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25 * sysdeps/unix/nice.c: Moved ...
26 * sysdeps/posix/nice.c: ... here.
28 * sysdeps/unix/alarm.c: Moved ...
29 * sysdeps/posix/alarm.c: ... here.
31 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33 2012-08-17 Jeff Law <law@redhat.com>
35 * intl/Makefile (codeset_mo): New variable.
36 ($(codeset_mo)): New target.
37 (tst-codeset.out): Depend on that. Remove explicit rule.
38 (tst-gettext3.out, tst-gettext5.out): Likewise.
39 (LOCPATH-ENV, tst-codeset-ENV): New variables.
40 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41 * intl/tst-codeset.sh: Remove.
42 * intl/tst-gettext3.sh: Likewise.
43 * intl/tst-gettext5.sh: Likewise.
45 2012-08-17 Roland McGrath <roland@hack.frob.com>
47 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
48 * sysdeps/unix/syscalls.list: ... here.
50 * sysdeps/posix/getaddrinfo.c
51 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52 (gaiconf_init, gaiconf_reload): Use them.
54 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
55 Define using time_t rather than struct timespec.
57 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
63 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67 __libc_cleanup_push argument.
69 * bits/param.h: New file.
70 * misc/sys/param.h: New file.
71 * include/sys/param.h: New file.
72 * misc/Makefile (headers): Add bits/param.h.
73 * sysdeps/generic/sys/param.h: File removed.
74 * sysdeps/unix/sysv/linux/bits/param.h: New file.
75 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
76 * sysdeps/mach/hurd/bits/param.h: New file.
77 * sysdeps/mach/hurd/sys/param.h: New file.
79 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
82 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
84 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
85 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
88 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
89 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
90 rather than -D_IO_MTSAFE_IO conditionally.
91 * stdio-common/Makefile (CPPFLAGS): Likewise.
92 * wcsmbs/Makefile (CPPFLAGS): Likewise.
93 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
95 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
97 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
98 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
99 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
100 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
101 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
102 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
103 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
104 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
105 (CFLAGS-fread_u_chk.c): Likewise.
106 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
107 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
108 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
109 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
110 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
111 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
112 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
113 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
114 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
116 * libio/Makefile: Test [$(libc-reentrant) = yes]
117 instead of [$(filter %REENTRANT, $(defines)) nonempty].
120 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
121 * sysdeps/pthread/configure: File removed.
122 * sysdeps/pthread/Makeconfig: New file.
123 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
124 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
126 2012-08-16 Gary Benson <gbenson@redhat.com>
128 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
129 unmapping the first object in a namespace.
131 2012-08-16 Roland McGrath <roland@hack.frob.com>
133 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
134 (__internal_setnetgrent): ... this. Add internal_function to
135 definition. Add libc_hidden_def.
136 (setnetgrent): Update caller.
137 (internal_endnetgrent): Renamed to ...
138 (__internal_endnetgrent): ... this. Add internal_function to
139 definition. Add libc_hidden_def.
140 (endnetgrent): Update caller.
141 (internal_getnetgrent_r): Renamed to ...
142 (__internal_getnetgrent_r): ... this. Add internal_function to
143 definition. Add libc_hidden_def.
144 (__getnetgrent_r): Update caller.
145 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
147 2012-08-16 Joseph Myers <joseph@codesourcery.com>
149 * stdlib/longlong.h: Update from GCC.
151 2012-08-16 Roland McGrath <roland@hack.frob.com>
153 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
154 on _QL, which is set by umul_ppmm but never used.
155 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
156 variables, which are set by GMP macros but never used.
157 * stdio-common/_itowa.c (_itowa): Likewise.
158 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
159 * stdlib/mod_1.c (mpn_mod_1): Likewise.
161 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
163 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
164 struct La_sh_regs is not constant.
165 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
166 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
167 and struct La_sparc64_regs are not constant.
169 2012-08-16 Joseph Myers <joseph@codesourcery.com>
171 * sysdeps/unix/sysv/linux/kernel-features.h
172 (__ASSUME_POSIX_TIMERS): Remove.
173 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
174 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
175 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
176 Make code unconditional.
177 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
178 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
179 Make code unconditional.
180 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
181 * sysdeps/unix/sysv/linux/clock_nanosleep.c
182 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
183 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
184 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
185 Make code unconditional.
186 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
187 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
188 (__libc_missing_posix_timers): Remove.
190 2012-08-15 Roland McGrath <roland@hack.frob.com>
192 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
193 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
195 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
197 * elf/dl-sym.c: Include <stdlib.h>.
199 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
200 constants, which avoids warnings in 32-bit builds.
202 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
203 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
205 * misc/lseek.c: File moved to ...
206 * io/lseek.c: ... here.
208 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
210 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
211 shifting LEN more than 31 bits at once.
213 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
216 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
217 segmentation fault for a case of two empty input strings.
218 * string/test-strncasecmp.c (check1): Renamed to...
220 (bz14195): Add new testcase for two empty input strings and N > 0.
221 (test_main): Call new testcase, adapt for renamed function.
223 2012-08-15 Andreas Jaeger <aj@suse.de>
226 * crypt/md5test2.c: New test, based on test supplied by Serge
227 Belyshev <belyshev@depni.sinp.msu.ru>.
228 * crypt/Makefile (xtests): Add md5test-giant..
229 * crypt/Makefile ($(objpfx)md5test-giant): Add.
231 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
234 * crypt/md5.c (md5_process_block): Don't assume the buffer
235 length is less than 2**32.
236 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
237 length is less than 2**64.
239 2012-08-15 Roland McGrath <roland@hack.frob.com>
241 * string/str-two-way.h: Include <sys/param.h>.
242 (MAX): Macro removed.
244 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
245 Move #define and #undef of memmove to just before and after
246 including <string.h>.
248 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
249 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
250 and after including <string.h>. Move declarations of
251 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
252 to before #include "string/memmove.c".
254 * include/dirent.h: Declare __getdirentries.
256 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
257 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
259 2012-08-14 Mike Frysinger <vapier@gentoo.org>
261 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
262 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
263 * sysdeps/i386/configure: Regenerated.
264 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
265 STABS_CURRENT_FILE, and STABS_FUN.
266 (END): Remove call to STABS_FUN_END.
267 (STABS_CURRENT_FILE1): Delete.
268 (STABS_CURRENT_FILE): Likewise.
269 (STABS_FUN): Likewise.
270 (STABS_FUN_END): Likewise.
271 (STABS_FUN2): Likewise.
272 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
273 * sysdeps/x86_64/configure: Regenerated.
275 2012-08-14 Roland McGrath <roland@hack.frob.com>
277 * elf/dl-open.c: Include <atomic.h>.
278 * elf/dl-lookup.c: Likewise.
280 2012-08-14 Joseph Myers <joseph@codesourcery.com>
282 * sysdeps/unix/sysv/linux/kernel-features.h
283 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
284 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
286 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
288 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
289 condition on __ASSUME_CLONE_THREAD_FLAGS.
291 2012-08-14 Andreas Jaeger <aj@suse.de>
293 * sysdeps/i386/fpu/libm-test-ulps: Update.
295 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
297 * include/atomic.h (atomic_exchange_and_add): Split into ...
298 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
301 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
305 2012-08-13 Jeff Law <law@redhat.com>
307 * manual/stdio.texi (snprintf): Clarify handling of the trailing
308 null byte in the output string.
310 2012-08-10 Joseph Myers <joseph@codesourcery.com>
312 * sysdeps/unix/sysv/linux/kernel-features.h
313 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
314 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
315 (__ASSUME_ARG_MAX_STACK_BASED): Define.
316 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
317 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
318 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
319 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
321 2012-08-09 Jeff Law <law@redhat.com>
324 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
325 When avoid_arena is set, don't retry in the that arena. Pick the
326 next one, whatever it might be.
327 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
328 (arena_lock): Pass in new parameter to arena_get2.
329 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
331 (__libc_malloc): Unify retrying after main arena failure with
332 __libc_memalign version.
333 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
335 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
338 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
339 to __redirect_strstr.
340 (__strstr_sse42): Use typeof __redirect_strstr.
341 (__strstr_ia32): Likewise.
342 (__libc_strstr): New prototype.
343 (strstr): Renamed to ...
344 (__libc_strstr): This.
345 (strstr): New strong alias of __libc_strstr.
346 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
347 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
350 (__libc_time): New prototype.
351 (time_ifunc): Replace time with __libc_time.
352 (time): New strong alias and hidden definition of __libc_time.
353 (__GI_time): Remove strong alias.
354 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
356 (memmove): Redefined to __redirect_memmove.
357 (__memmove_sse2): Use typeof __redirect_memmove.
358 (__memmove_ssse3): Likewise.
359 (__memmove_ssse3_back): Likewise.
360 (__libc_memmove): New prototype.
361 (memmove): Renamed to ...
362 (__libc_memmove): This.
363 (memmove): New strong alias of __libc_memmove.
365 2012-08-08 Mark Salter <msalter@redhat.com>
368 (R_MN10300_TLS_GD): Define.
369 (R_MN10300_TLS_LD): Likewise.
370 (R_MN10300_TLS_LDO): Likewise.
371 (R_MN10300_TLS_GOTIE): Likewise.
372 (R_MN10300_TLS_IE): Likewise.
373 (R_MN10300_TLS_LE): Likewise.
374 (R_MN10300_TLS_DTPMOD): Likewise.
375 (R_MN10300_TLS_DTPOFF): Likewise.
376 (R_MN10300_TLS_TPOFF): Likewise.
377 (R_MN10300_SYM_DIFF): Likewise.
378 (R_MN10300_ALIGN): Likewise.
379 (R_MN10300_NUM): Update.
381 2012-08-08 Joseph Myers <joseph@codesourcery.com>
383 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
386 2012-08-08 Roland McGrath <roland@hack.frob.com>
388 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
390 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
391 sysdeps/unix -> sysdeps/posix move.
392 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
394 2012-08-07 Allan McRae <allan@archlinux.org>
397 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
398 (SUNOS_CPP): Likewise.
399 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
401 (open_input): Call CPP using execvp.
403 2012-08-07 Joseph Myers <joseph@codesourcery.com>
405 * sysdeps/unix/sysv/linux/kernel-features.h
406 (__ASSUME_PROT_GROWSUPDOWN): Remove.
407 (__ASSUME_NO_CLONE_DETACHED): Likewise.
408 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
409 (__ASSUME_WAITID_SYSCALL): Likewise.
410 * sysdeps/unix/sysv/linux/dl-execstack.c
411 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
413 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
415 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
416 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
417 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
419 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
421 [__ASSUME_WAITID_SYSCALL]: Likewise.
422 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
424 2012-08-07 Roland McGrath <roland@hack.frob.com>
426 * sysdeps/unix/closedir.c: Renamed to ...
427 * sysdeps/posix/closedir.c: ... here.
428 * sysdeps/unix/dirfd.c: Renamed to ...
429 * sysdeps/posix/dirfd.c: ... here.
430 * sysdeps/unix/dirstream.h: Renamed to ...
431 * sysdeps/posix/dirstream.h: ... here.
432 * sysdeps/unix/fdopendir.c: Renamed to ...
433 * sysdeps/posix/fdopendir.c: ... here.
434 * sysdeps/unix/opendir.c: Renamed to ...
435 * sysdeps/posix/opendir.c: ... here.
436 * sysdeps/unix/readdir.c: Renamed to ...
437 * sysdeps/posix/readdir.c: ... here.
438 * sysdeps/unix/readdir_r.c: Renamed to ...
439 * sysdeps/posix/readdir_r.c: ... here.
440 * sysdeps/unix/rewinddir.c: Renamed to ...
441 * sysdeps/posix/rewinddir.c: ... here.
442 * sysdeps/unix/seekdir.c: Renamed to ...
443 * sysdeps/posix/seekdir.c: ... here.
444 * sysdeps/unix/telldir.c: Renamed to ...
445 * sysdeps/posix/telldir.c: ... here.
446 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
447 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
448 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
449 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
451 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
452 * bits/fcntl.h: ... here.
454 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
456 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
457 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
458 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
459 (struct flock): Move l_start, l_len to the beginning.
460 Use __pid_t for l_pid.
461 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
462 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
463 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
464 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
465 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
466 [__USE_LARGEFILE64] (struct flock64): New type.
467 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
469 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
470 * bits/dirent.h: ... here.
472 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
473 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
475 2012-08-07 Joseph Myers <joseph@codesourcery.com>
477 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
478 Change from 2.6.0 to 2.6.16.
479 * sysdeps/unix/sysv/linux/configure: Regenerated.
480 * sysdeps/unix/sysv/linux/kernel-features.h
481 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
482 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
484 (__ASSUME_UTIMES): Likewise.
485 (__ASSUME_CLONE_STOPPED): Remove.
486 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
487 architectures, not kernel version.
488 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
489 (__ASSUME_NO_CLONE_DETACHED): Likewise.
490 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
491 (__ASSUME_WAITID_SYSCALL): Likewise.
492 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
493 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
494 * README: State 2.6.16 as minimum Linux kernel version. Do not
495 refer to older versions.
497 2012-08-06 Roland McGrath <roland@hack.frob.com>
499 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
500 Define alphasort64 as an alias.
501 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
502 Define versionsort64 as an alias.
503 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
504 Define scandir64 as an alias.
505 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
506 Define scandirat64 as an alias.
507 * dirent/alphasort64.c (alphasort64):
508 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
509 * dirent/versionsort64.c: Likewise.
510 * dirent/scandir64.c: Likewise.
511 * dirent/scandirat64.c: Likewise.
512 * sysdeps/wordsize-64/alphasort.c: File removed.
513 * sysdeps/wordsize-64/alphasort64.c: File removed.
514 * sysdeps/wordsize-64/scandir.c: File removed.
515 * sysdeps/wordsize-64/scandir64.c: File removed.
516 * sysdeps/wordsize-64/scandirat.c: File removed.
517 * sysdeps/wordsize-64/scandirat64.c: File removed.
518 * sysdeps/wordsize-64/versionsort.c: File removed.
519 * sysdeps/wordsize-64/versionsort64.c: File removed.
520 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
521 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
522 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
523 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
524 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
525 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
526 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
527 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
529 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
531 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
533 [defined __arch64__ || defined __sparcv9]
534 (__INO_T_MATCHES_INO64_T): New macro.
535 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
536 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
537 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
538 * sysdeps/unix/sysv/linux/bits/dirent.h
539 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
540 (_DIRENT_MATCHES_DIRENT64): New macro.
542 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
543 Define lockf64 as an alias.
544 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
545 Define fseeko64 as an alias.
546 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
547 Define ftello64 as an alias.
548 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
549 Define _IO_fgetpos64 and fgetpos64 as aliases.
550 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
551 Define _IO_fsetpos64 and fsetpos64 as aliases.
552 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
553 Conditionalize body on this.
554 * libio/fseeko64.c: Likewise.
555 * libio/ftello64.c: Likewise.
556 * libio/iofgetpos64.c: Likewise.
557 * libio/iofsetpos64.c: Likewise.
558 * sysdeps/wordsize-64/lockf.c: File removed.
559 * sysdeps/wordsize-64/lockf64.c: File removed.
560 * sysdeps/wordsize-64/fseeko.c: File removed.
561 * sysdeps/wordsize-64/fseeko64.c: File removed.
562 * sysdeps/wordsize-64/ftello.c: File removed.
563 * sysdeps/wordsize-64/ftello64.c: File removed.
564 * sysdeps/wordsize-64/iofgetpos.c: File removed.
565 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
566 * sysdeps/wordsize-64/iofsetpos.c: File removed.
567 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
568 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
569 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
570 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
571 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
572 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
573 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
574 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
575 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
576 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
577 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
579 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
581 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
583 [defined __arch64__ || defined __sparcv9]
584 (__OFF_T_MATCHES_OFF64_T): New macro.
585 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
586 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
587 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
588 (__OFF_T_MATCHES_OFF64_T): New macro.
590 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
592 * stdlib/secure-getenv.c (__secure_getenv): Replace
593 GLIBC_2_16 with GLIBC_2_17.
595 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
597 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
598 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
600 2012-08-03 David S. Miller <davem@davemloft.net>
602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
604 2012-08-03 Joseph Myers <joseph@codesourcery.com>
606 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
608 (__ASSUME_CORRECT_SI_PID): Likewise.
609 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
610 (__ASSUME_TMPFS_NAME): Likewise.
611 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
612 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
613 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
614 (HAVE_AUX_SECURE): Make definition unconditional.
615 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
616 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
618 2012-08-03 Roland McGrath <roland@hack.frob.com>
620 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
621 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
622 * sysdeps/mach/hurd/eloop-threshold.h: New file.
623 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
624 __eloop_threshold instead of SYMLOOP_MAX.
626 * sysdeps/generic/eloop-threshold.h: New file.
627 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
629 * elf/chroot_canon.c (chroot_canon): Likewise.
631 2012-08-03 Joseph Myers <joseph@codesourcery.com>
634 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
635 Change to 2.6.0 everywhere.
636 * sysdeps/unix/sysv/linux/configure: Regenerated.
637 * sysdeps/unix/sysv/linux/kernel-features.h
638 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
639 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
641 (__ASSUME_POSIX_TIMERS): Define unconditionally.
642 (__ASSUME_FUTEX_REQUEUE): Remove.
643 (__ASSUME_STATFS64): Define unconditionally.
644 (__ASSUME_AT_SECURE): Likewise.
645 (__ASSUME_CORRECT_SI_PID): Likewise.
646 (__ASSUME_TGKILL): Define without depending on kernel version for
648 (__ASSUME_UTIMES): Likewise.
649 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
651 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
652 (__ASSUME_TMPFS_NAME): Likewise.
653 * README: Update reference to Linux kernel versions.
655 2012-08-02 Marek Polacek <polacek@redhat.com>
658 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
659 libc_cv_asm_type_prefix with %.
660 * configure: Regenerated.
661 * include/libc-symbols.h: Remove comment about
662 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
663 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
664 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
665 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
666 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
667 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
668 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
669 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
670 * elf/tst-unique2mod1.c: Likewise.
671 * elf/tst-unique1mod2.c: Likewise.
672 * elf/tst-unique1mod1.c: Likewise.
673 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
674 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
675 Replace ASM_TYPE_DIRECTIVE with .type.
676 * sysdeps/s390/s390-64/sysdep.h: Likewise.
677 * sysdeps/i386/sysdep.h: Likewise.
678 * sysdeps/x86_64/sysdep.h: Likewise.
679 * sysdeps/sh/sysdep.h: Likewise.
680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
681 Do not define ASM_TYPE_DIRECTIVE.
682 * sysdeps/powerpc/sysdep.h: Likewise.
683 * sysdeps/powerpc/powerpc32/sysdep.h:
684 Replace ASM_TYPE_DIRECTIVE with .type.
685 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
686 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
687 * sysdeps/i386/fpu/e_powf.S: Likewise.
688 * sysdeps/i386/fpu/e_expl.S: Likewise.
689 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
690 * sysdeps/i386/fpu/e_acosh.S: Likewise.
691 * sysdeps/i386/fpu/e_pow.S: Likewise.
692 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
693 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
694 * sysdeps/i386/fpu/s_expm1.S: Likewise.
695 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
696 * sysdeps/i386/fpu/e_log2.S: Likewise.
697 * sysdeps/i386/fpu/e_log2l.S: Likewise.
698 * sysdeps/i386/fpu/e_scalb.S: Likewise.
699 * sysdeps/i386/fpu/e_powl.S: Likewise.
700 * sysdeps/i386/fpu/e_log10f.S: Likewise.
701 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
702 * sysdeps/i386/fpu/e_logl.S: Likewise.
703 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
704 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
705 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
706 * sysdeps/i386/fpu/e_log2f.S: Likewise.
707 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
708 * sysdeps/i386/fpu/e_log.S: Likewise.
709 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
710 * sysdeps/i386/fpu/e_logf.S: Likewise.
711 * sysdeps/i386/fpu/e_log10l.S: Likewise.
712 * sysdeps/i386/fpu/e_atanh.S: Likewise.
713 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
714 * sysdeps/i386/fpu/e_log10.S: Likewise.
715 * sysdeps/i386/fpu/s_frexp.S: Likewise.
716 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
717 * sysdeps/i386/fpu/s_asinh.S: Likewise.
718 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
719 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
720 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
721 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
722 * sysdeps/i386/i686/strtok.S: Likewise.
723 * sysdeps/i386/i386-mcount.S: Likewise.
724 * sysdeps/i386/strtok.S: Likewise.
725 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
726 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
727 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
728 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
729 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
730 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
731 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
732 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
733 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
734 * sysdeps/x86_64/_mcount.S: Likewise.
735 * sysdeps/x86_64/strtok.S: Likewise.
736 * sysdeps/sh/_mcount.S: Likewise.
738 2012-08-01 Roland McGrath <roland@hack.frob.com>
740 * libio/iofopen.c: Include <fcntl.h>.
741 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
742 (_IO_fopen64, fopen64): Define as aliases.
743 * libio/iofopen64.c: Include <fcntl.h>.
744 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
745 Conditionalize body on this.
746 * sysdeps/wordsize-64/iofopen.c: File removed.
747 * sysdeps/wordsize-64/iofopen64.c: File removed.
749 2012-08-01 Marek Polacek <polacek@redhat.com>
751 * libc/Makeconfig: Use elf in place of binfmt-subdir.
752 Use dlfcn directly instead of a variable.
753 (binfmt-subdir): Do not define.
756 2012-08-01 Joseph Myers <joseph@codesourcery.com>
758 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
759 Remove all definitions.
760 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
762 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
763 (miss_F_GETOWN_EX): Remove all definitions.
764 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
766 [!__ASSUME_FCNTL64]: Remove conditional code.
767 [__ASSUME_FCNTL64]: Make code unconditional.
768 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
770 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
771 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
772 (lockf64) [__NR_fcntl64]: Make code unconditional.
773 (lockf64) [__ASSUME_FCNTL64]: Likewise.
775 * sysdeps/unix/sysv/linux/kernel-features.h
776 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
777 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
778 Make code unconditional.
779 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
780 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
782 [__NR_vfork]: Make code unconditional.
783 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
784 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
786 [__NR_vfork]: Make code unconditional.
787 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
788 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
790 2012-08-01 Roland McGrath <roland@hack.frob.com>
792 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
793 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
795 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
796 Define mkstemp64 as an alias.
797 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
798 Define mkstemps64 as an alias.
799 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
800 Define mkostemp64 as an alias.
801 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
802 Define mkostemps64 as an alias.
803 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
804 Conditionalize body on this.
805 * misc/mkostemp64.c: Likewise.
806 * misc/mkostemps64.c: Likewise.
807 * misc/mkstemps64.c: Likewise.
808 * sysdeps/wordsize-64/mkstemp64.c: File removed.
809 * sysdeps/wordsize-64/mkostemp64.c: File removed.
810 * sysdeps/wordsize-64/mkostemp.c: File removed.
811 * sysdeps/wordsize-64/mkstemp.c: File removed.
812 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
813 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
814 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
815 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
818 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
819 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
820 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
821 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
823 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
824 compat_symbol macros from <shlib-compat.h> rather than the underlying
825 default_symbol_version and symbol_version macros, so that DEFAULT
826 lines in shlib-versions are respected.
827 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
829 2012-08-01 Florian Weimer <fweimer@redhat.com>
831 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
832 Declare with warn_unused_result.
833 (setgid, setregid, setegid, setresgid): Likewise.
834 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
836 * WUR-REPORT: Remove set*id functions.
838 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
840 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
842 2012-07-31 Roland McGrath <roland@hack.frob.com>
844 * include/sys/socket.h (__libc_accept, __libc_accept4):
845 Add attribute_hidden.
846 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
848 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
850 * inet/getnetgrent_r.c (setup): Likewise.
852 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
854 2012-07-31 David S. Miller <davem@davemloft.net>
856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
858 2012-07-31 Joseph Myers <joseph@codesourcery.com>
861 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
862 value between 1.0 and 2.0 and smaller part has absolute value less
864 * math/s_clog10.c (__clog10): Likewise.
865 * math/s_clog10f.c (__clog10f): Likewise.
866 * math/s_clog10l.c (__clog10l): Likewise.
867 * math/s_clogf.c (__clogf): Likewise.
868 * math/s_clogl.c (__clogl): Likewise.
869 * math/libm-test.inc (clog_test): Add more tests.
870 (clog10_test): Likewise.
871 * sysdeps/i386/fpu/libm-test-ulps: Update.
872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
874 2012-07-31 Florian Weimer <fweimer@redhat.com>
876 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
877 Exit with zero in case no suitable GID is found, and write a
878 message to standard error.
880 2012-07-30 Roland McGrath <roland@hack.frob.com>
882 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
884 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
885 (MAXPATHLEN): Removed.
886 (NOGROUP, NODEV): New macros.
887 (setbit, clrbit, isset, isclr): New macros.
888 (howmany, roundup, powerof2): New macros.
889 (DEV_BSIZE): New macro.
891 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
892 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
894 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
895 definition on [!__NO_LONG_DOUBLE_MATH].
897 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
898 PTR_MANGLE and PTR_DEMANGLE.
900 * socket/accept4.c (accept4): Rename to __libc_accept4.
901 Define accept4 as a weak alias.
903 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
904 on [_DIRENT_HAVE_D_TYPE].
905 * io/ftw.c (ftw_dir): Likewise.
907 * io/xmknod.c (__xmknod): Don't check PATH for being null.
909 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
911 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
912 Use the BSD numbers rather than the arbitrary ones we had.
913 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
914 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
915 (SIGXCPU, SIGXFSZ): New macros.
918 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
919 initializer on [_LIBC_REENTRANT].
921 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
922 definitions inside [_POSIX_MAPPED_FILES].
924 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
926 * dirent/opendir.c: Include <fcntl.h>.
928 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
929 (__libc_getspecific): Likewise.
930 (__libc_key_create): Likewise.
932 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
933 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
934 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
935 (tmpfile64): Define as alias.
936 * sysdeps/wordsize-64/tmpfile.c: File removed.
937 * sysdeps/wordsize-64/tmpfile64.c: File removed.
938 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
939 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
941 * stdio-common/vfscanf.c: Include <stdbool.h>.
942 * nss/makedb.c: Likewise.
943 * stdio-common/_i18n_number.h: Likewise.
944 * argp/argp-help.c: Likewise.
945 * posix/wordexp.c: Likewise.
946 * sysdeps/posix/spawni.c: Likewise.
947 * nss/nss_files/files-initgroups.c: Likewise.
948 * stdio-common/reg-modifier.c: Include <stdlib.h>.
949 * nss/nss_files/files-initgroups.c: Likewise.
950 * nss/nss_db/db-netgrp.c: Likewise.
951 * nss/nss_db/db-initgroups.c: Likewise.
952 * io/fchmodat.c: Include <sys/stat.h>.
954 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
955 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
957 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
960 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
961 Add multiple inclusion protection.
963 2012-07-27 David S. Miller <davem@davemloft.net>
965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
967 2012-07-27 Gary Benson <gbenson@redhat.com>
970 * elf/rtld.c: Include <stap-probe.h>.
971 (dl_main): Added static probes "init_start" and "init_complete".
972 * elf/dl-load.c: Include <stap-probe.h>.
973 (lose): Take new parameter "nsid".
974 Added static probe "map_failed".
975 (_dl_map_object_from_fd): Pass namespace id to lose.
976 Added static probe "map_start".
977 (open_verify): Pass namespace id to lose.
978 * elf/dl-open.c: Include <stap-probe.h>.
979 (dl_open_worker) Added static probes "map_complete", "reloc_start"
980 and "reloc_complete".
981 * elf/dl-close.c: Include <stap-probe.h>.
982 (_dl_close_worker): Added static probes "unmap_start" and
984 * elf/rtld-debugger-interface.txt: New file documenting the above.
986 2012-07-26 Roland McGrath <roland@hack.frob.com>
988 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
989 rather than a string variable.
990 * sunrpc/rpc_main.c (h_output): Likewise.
991 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
993 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
995 * inet/check_native.c: New file.
997 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1000 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1001 if larger part has absolute value 1.0.
1002 * math/s_clog10.c (__clog10): Likewise.
1003 * math/s_clog10f.c (__clog10f): Likewise.
1004 * math/s_clog10l.c (__clog10l): Likewise.
1005 * math/s_clogf.c (__clogf): Likewise.
1006 * math/s_clogl.c (__clogl): Likewise.
1007 * math/libm-test.inc (clog_test): Add more tests.
1008 (clog10_test): Likewise.
1009 * sysdeps/i386/fpu/libm-test-ulps: Update.
1010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1012 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1013 (pltexit): Likewise.
1014 (La_regs): Likewise.
1015 (La_retval): Likewise.
1016 (int_retval): Likewise.
1017 Update #error for removed macros to refer only to definitions in
1019 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1021 (pltexit): Likewise.
1022 (La_regs): Likewise.
1023 (La_retval): Likewise.
1024 (int_retval): Likewise.
1025 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1027 (pltexit): Likewise.
1028 (La_regs): Likewise.
1029 (La_retval): Likewise.
1030 (int_retval): Likewise.
1031 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1033 (pltexit): Likewise.
1034 (La_regs): Likewise.
1035 (La_retval): Likewise.
1036 (int_retval): Likewise.
1037 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1039 (pltexit): Likewise.
1040 (La_regs): Likewise.
1041 (La_retval): Likewise.
1042 (int_retval): Likewise.
1043 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1045 (pltexit): Likewise.
1046 (La_regs): Likewise.
1047 (La_retval): Likewise.
1048 (int_retval): Likewise.
1049 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1051 (pltexit): Likewise.
1052 (La_regs): Likewise.
1053 (La_retval): Likewise.
1054 (int_retval): Likewise.
1055 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1056 macro definitions in tst-audit.h.
1057 * sysdeps/i386/tst-audit.h: New file.
1058 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1059 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1060 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1061 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1062 * sysdeps/sh/tst-audit.h: Likewise.
1063 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1064 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1065 * sysdeps/x86_64/tst-audit.h: Likewise.
1067 2012-07-26 Andreas Jaeger <aj@suse.de>
1069 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1072 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1073 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1074 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1076 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1077 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1078 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1080 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1083 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1085 (si_call_addr, si_syscall, si_arch): Define new macro.
1086 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1088 (si_call_addr, si_syscall, si_arch): Define new marcro.
1089 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1091 (si_call_addr, si_syscall, si_arch): Define new macro.
1092 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1094 (si_call_addr, si_syscall, si_arch): Define new macro.
1096 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1099 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1100 Change to 2.4.21 where previously 2.4.1.
1101 * sysdeps/unix/sysv/linux/configure: Regenerated.
1102 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1103 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1104 Linux kernel version.
1105 (__ASSUME_STD_AUXV): Remove.
1106 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1108 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1109 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1110 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1111 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1112 (__ASSUME_NETLINK_SUPPORT): Likewise.
1113 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1114 (__no_netlink_support): Remove conditional definition.
1115 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1117 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1118 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1119 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1120 (if_nameindex_ioctl): Remove.
1121 (if_nameindex_netlink): Do not handle __no_netlink_support.
1122 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1124 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1125 Remove conditional code.
1126 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1128 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1130 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1131 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1132 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1134 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1135 [!__ASSUME_STD_AUXV]: Remove conditional code.
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1137 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1138 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1140 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1141 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1143 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1145 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1146 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1148 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1150 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1153 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1156 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1158 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1160 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1162 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1165 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1167 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1170 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1172 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1174 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1176 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1179 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1181 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1183 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1185 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1188 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1190 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1191 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1192 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1193 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1194 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1195 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1196 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1197 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1198 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1199 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1200 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1201 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1202 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1203 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1204 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1205 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1206 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1207 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1208 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1210 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1211 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1212 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1214 2012-07-25 Florian Weimer <fweimer@redhat.com>
1216 * Versions.def: Add GLIBC_2.17.
1217 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1218 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1219 Introduce __libc_secure_getenv.
1220 * stdlib/Versions (2.17): Add secure_getenv
1221 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1222 * stdlib/secure-getenv.c: Rename __secure_getenv to
1223 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1224 symbol __secure_getenv for GLIBC_2.0.
1225 * stdlib/tst-secure-getenv.c: New.
1226 * stdlib/Makefile (tests): Add testcase.
1227 * manual/startup.texi (Environment Access): Document
1229 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1230 __libc_secure_getenv.
1231 * inet/ruserpass.c (ruserpass): Likewise.
1232 * malloc/mtrace.c (mtrace): Likewise.
1233 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1234 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1235 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1236 * sysdeps/posix/tempname.c: Likewise. Evaluate
1238 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1239 __secure_getenv to __libc_secure_getenv.
1240 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1247 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1253 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1255 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1256 (struct La_i86_retval): Likewise.
1257 (struct La_x86_64_regs): Likewise.
1258 (struct La_x86_64_retval): Likewise.
1259 (struct La_x32_regs): Likewise.
1260 (struct La_x32_retval): Likewise.
1261 (struct La_ppc32_regs): Likewise.
1262 (struct La_ppc32_retval): Likewise.
1263 (struct La_ppc64_regs): Likewise.
1264 (struct La_ppc64_retval): Likewise.
1265 (struct La_sh_regs): Likewise.
1266 (struct La_sh_retval): Likewise.
1267 (struct La_s390_32_regs): Likewise.
1268 (struct La_s390_32_retval): Likewise.
1269 (struct La_s390_64_regs): Likewise.
1270 (struct La_s390_64_retval): Likewise.
1271 (struct La_sparc32_regs): Likewise.
1272 (struct La_sparc32_retval): Likewise.
1273 (struct La_sparc64_regs): Likewise.
1274 (struct La_sparc64_retval): Likewise.
1275 (struct audit_ifaces): Remove architecture-specific pltenter and
1277 * sysdeps/i386/ldsodefs.h: New file.
1278 * sysdeps/powerpc/ldsodefs.h: Likewise.
1279 * sysdeps/s390/ldsodefs.h: Likewise.
1280 * sysdeps/sh/ldsodefs.h: Likewise.
1281 * sysdeps/sparc/ldsodefs.h: Likewise.
1282 * sysdeps/x86_64/ldsodefs.h: Likewise.
1284 2012-07-25 Marek Polacek <polacek@redhat.com>
1287 * math/libm-test.inc (yn_test): Add another test.
1288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1289 to ERANGE when the result is +-Inf.
1290 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1291 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1292 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1293 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1295 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1297 * conform/data/time.h-data (NULL): Use macro-constant. Require
1299 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1301 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1303 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1305 * configure.in <sysdeps resolving>: Correct printing
1307 * configure: Regenerate.
1309 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1311 * math/w_ilogb.c: Include <limits.h>.
1312 * math/w_ilogbl.c: Likewise.
1314 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1316 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1317 va_copy. Document allowing for unavailable va_copy only as
1318 pre-C99 compatibility.
1319 * manual/string.texi (Copying and Concatenation): Use va_copy
1320 instead of __va_copy in concat example.
1322 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1324 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1325 (__sendto): Use create_address_port. Initialize APORT and deallocate
1328 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1329 with O_NOLINK passed to __file_name_lookup.
1331 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1332 with O_NOLINK passed to __file_name_lookup.
1334 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1335 negative N or less than NGIDS.
1337 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1338 type to string_t. Set ERANGE as errno and return it if NAME is not big
1339 enough. Use memcpy instead of strncpy.
1341 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1343 * elf/Makefile (check-data): Remove.
1344 (localplt.data): New vpath directive.
1345 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1346 instead of $(check-data).
1347 * scripts/data/localplt-generic.data: Move to ...
1348 * sysdeps/generic/localplt.data: ... here.
1349 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1350 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1351 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1354 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1357 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1360 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1363 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1366 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1370 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1372 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1373 PPC32 and PPC64 files.
1374 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1375 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1377 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1379 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1380 __makecontext_ret to ...
1381 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1382 ... here and call exit if uc_link is NULL. New file.
1383 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1384 __makecontext_ret.S.
1385 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1386 __makecontext_ret to ...
1387 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1388 ... here and call exit if uc_link is NULL. New file.
1389 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1390 __makecontext_ret.S.
1392 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1394 * elf/elf.h (R_390_IRELATIVE): New definition.
1395 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1396 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1397 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1398 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1399 (elf_machine_lazy_rel): Likewise.
1400 * sysdeps/s390/dl-irel.h: New file.
1401 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1402 * sysdeps/s390/s390-64/memset.S: New asm code.
1403 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1404 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1405 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1406 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1407 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1408 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1409 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1410 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1411 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1412 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1413 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1414 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1415 * sysdeps/s390/s390-32/memset.S: New asm code.
1416 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1418 2012-07-17 Marek Polacek <polacek@redhat.com>
1421 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1422 * sysdeps/s390/s390-64/configure.in: Likewise.
1423 * sysdeps/sparc/configure.in: Likewise.
1424 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1425 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1426 * sysdeps/i386/configure.in: Likewise.
1427 * sysdeps/x86_64/configure.in: Likewise.
1428 * sysdeps/sh/configure.in: Likewise.
1429 * sysdeps/s390/s390-32/configure: Regenerated.
1430 * sysdeps/s390/s390-64/configure: Likewise.
1431 * sysdeps/x86_64/configure: Likewise.
1432 * sysdeps/sh/configure: Likewise.
1433 * sysdeps/powerpc/powerpc64/configure: Likewise.
1434 * sysdeps/powerpc/powerpc32/configure: Likewise.
1435 * sysdeps/sparc/configure: Likwise.
1436 * sysdeps/i386/configure: Likewise.
1438 * elf/dl-open.c: Comment fixes.
1440 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1442 * Makefile [CXX] (check-data): Remove.
1443 [CXX] (c++-types.data): New vpath directive.
1444 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1445 vpath. Do not allow for C++ type data being missing.
1446 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1447 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1448 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1449 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1450 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1451 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1452 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1455 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1458 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1461 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1464 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1467 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1470 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1473 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1476 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1477 definitions to architecture-specific files.
1481 * sysdeps/i386/tls-macros.h: New file.
1482 * sysdeps/powerpc/tls-macros.h: Likewise.
1483 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1484 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1485 * sysdeps/sh/tls-macros.h: Likewise.
1486 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1487 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1488 * sysdeps/x86_64/tls-macros.h: Likewise.
1490 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1492 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1493 zero value for regular exit case.
1495 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1496 (__start_context): Preserve zero value for regular exit case.
1498 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1499 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1501 * manual/setjmp.texi (setcontext): Clarify normal process
1502 termination when uc_link is the null pointer.
1503 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1506 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1508 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1509 preprocessor. Test for each exception mask separately.
1511 2012-07-16 Andreas Jaeger <aj@suse.de>
1513 * po/ru.po: Update from translation team.
1515 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1517 * conform/data/string.h-data (NULL): Use macro-constant. Require
1519 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1520 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1521 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1522 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1525 2012-07-13 Andreas Jaeger <aj@suse.de>
1527 * po/fr.po: Update from translation team.
1529 2012-07-12 Marek Polacek <polacek@redhat.com>
1532 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1533 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1536 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1539 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1540 Change to 2.4.1 where previously 2.4.0.
1541 * sysdeps/unix/sysv/linux/configure: Regenerated.
1542 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1543 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1545 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1546 (__ASSUME_AT_CLKTCK): Remove.
1547 (__ASSUME_AT_PAGESIZE): Likewise.
1548 (__ASSUME_AT_XID): Likewise.
1549 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1550 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1551 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1553 (HAVE_AUX_PAGESIZE): Likewise.
1554 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1555 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1556 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1558 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1562 the temporary buffer used to invoke __gethostbyname2_r,
1563 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1564 host_data / struct gaih_addrtuple.
1565 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1566 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1567 header file nss/nsswitch.h.
1568 * nss/nsswitch.h (global scope): Add definition of implementation
1569 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1570 resolv/nss_dns/dns-host.c).
1572 2012-07-11 Andreas Jaeger <aj@suse.de>
1574 * po/fr.po: Update from translation team.
1576 * po/sv.po: Update from translation team
1577 * po/fr.po: Another update from translation team.
1579 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1582 for subnormals or multiply small sinh result by itself.
1583 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1586 2012-07-11 David S. Miller <davem@davemloft.net>
1588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1590 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1593 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1594 (INTERNAL_MARK): Shift it here.
1596 2012-07-10 Marek Polacek <polacek@redhat.com>
1599 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1600 libc_cv_asm_global_directive with .globl.
1601 * configure: Regenerated.
1602 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1604 * sysdeps/i386/configure: Regenerated.
1605 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1607 * sysdeps/x86_64/configure: Regenerated.
1608 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1609 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1610 * elf/tst-unique2mod2.c: Likewise.
1611 * elf/tst-unique2mod1.c: Likewise.
1612 * elf/tst-unique1mod2.c: Likewise.
1613 * elf/tst-unique1mod1.c: Likewise.
1614 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1615 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1616 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1617 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1618 * sysdeps/mach/sysdep.h: Likewise.
1619 * sysdeps/i386/sysdep.h: Likewise.
1620 * sysdeps/i386/i386-mcount.S: Likewise.
1621 * sysdeps/x86_64/_mcount.S: Likewise.
1622 * sysdeps/x86_64/sysdep.h: Likewise.
1623 * sysdeps/sh/_mcount.S: Likewise.
1624 * sysdeps/sh/sysdep.h: Likewise.
1625 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1626 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1627 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1628 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1629 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1630 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1631 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1632 * locale/localeinfo.h: Likewise.
1633 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1634 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1636 2012-07-09 Roland McGrath <roland@hack.frob.com>
1639 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1641 * manual/message.texi (The Uniforum approach): Likewise.
1642 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1643 (glibc iconv Implementation): Likewise.
1645 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1648 * math/s_clog.c (__clog): Avoid scaling a value down where that
1649 could result in underflow.
1650 * math/s_clog10.c (__clog10): Likewise.
1651 * math/s_clog10f.c (__clog10f): Likewise.
1652 * math/s_clog10l.c (__clog10l): Likewise.
1653 * math/s_clogf.c (__clogf): Likewise.
1654 * math/s_clogl.c (__clogl): Likewise.
1655 * math/libm-test.inc (clog_test): Add more tests.
1656 (clog10_test): Likewise.
1657 * sysdeps/i386/fpu/libm-test-ulps: Update.
1658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1660 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1663 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1664 by 7 not 8 to examine high bit of fractional part.
1667 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1668 for call to __mcount_internal.
1669 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1670 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1671 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1673 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1676 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1677 approximation for values within 0x1p-13f of an odd multiple of
1679 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1680 exception. Add more tests.
1681 * sysdeps/i386/fpu/libm-test-ulps: Update.
1684 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1685 inputs and return -1 for them. Do not check for +Inf in case not
1687 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1688 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1689 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1690 and return -1 for them. Do not check for +Inf in case not
1692 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1694 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1695 and return -1 for them. Do not check for +Inf in case not
1697 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1699 * sysdeps/i386/fpu/libm-test-ulps: Update.
1700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1702 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1704 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1706 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1710 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1711 could result in spurious underflow. Scale down values above
1712 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1713 * math/s_csqrtf.c (__csqrtf): Likewise.
1714 * math/s_csqrtl.c (__csqrtl): Likewise.
1715 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1717 * sysdeps/i386/fpu/libm-test-ulps: Update.
1718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1720 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1722 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1724 * catgets/xopen-msg.awk: New file.
1725 * catgets/xopen-msg.sed: Removed.
1727 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1729 * intl/po2test.awk: New file.
1730 * intl/po2test.sed: Removed.
1732 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1735 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1736 or multiply small sinh result by itself.
1737 * math/s_ctanf.c (__ctanf): Likewise.
1738 * math/s_ctanh.c (__ctanh): Likewise.
1739 * math/s_ctanhf.c (__ctanhf): Likewise.
1740 * math/s_ctanhl.c (__ctanhl): Likewise.
1741 * math/s_ctanl.c (__ctanl): Likewise.
1742 * math/libm-test.inc (ctan_test_tonearest): New function.
1743 (ctan_test_towardzero): Likewise.
1744 (ctan_test_downward): Likewise.
1745 (ctan_test_upward): Likewise.
1746 (ctanh_test_tonearest): Likewise.
1747 (ctanh_test_towardzero): Likewise.
1748 (ctanh_test_downward): Likewise.
1749 (ctanh_test_upward): Likewise.
1750 (main): Call these new functions.
1751 * sysdeps/i386/fpu/libm-test-ulps: Update.
1752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1754 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1756 * .gitignore: Delete /ports entry.
1758 2012-07-03 Andreas Jaeger <aj@suse.de>
1760 * po/bg.po: Update from translation team.
1761 * po/cs.po: Likewise.
1762 * po/de.po: Likewise.
1763 * po/hr.po: Likewise.
1764 * po/nl.pl: Likewise.
1765 * po/pl.po: Likewise.
1766 * po/vi.po: Likewise.
1768 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1770 * Makeconfig [!+link] (+link-before-libc): New variable.
1771 [!+link] (+link-after-libc): Likewise.
1772 [!+link] (+link-tests): Likewise.
1773 [!+link] (+link): Define in terms of $(+link-before-libc) and
1774 $(+link-after-libc).
1775 [!+link-static] (+link-static-before-libc): New variable.
1776 [!+link-static] (+link-static-after-libc): Likewise.
1777 [!+link-static] (+link-static-tests): Likewise.
1778 [!+link-static] (+link-static): Define in terms of
1779 $(+link-static-before-libc) and $(+link-static-after-libc).
1780 [build-shared] (link-libc-before-gnulib): New variable.
1781 [build-shared] (link-libc-tests): Likewise.
1782 [build-shared] (link-libc): Define in terms of
1783 $(link-libc-before-gnulib).
1784 [!build-shared] (link-libc-tests): New variable.
1785 (link-libc-static-tests): New variable.
1786 [!gnulib] (gnulib-arch): New variable.
1787 [!gnulib] (gnulib-tests): Likewise.
1788 [!gnulib] (static-gnulib-arch): Likewise.
1789 [!gnulib] (static-gnulib-tests): Likewise.
1790 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1791 Define with "=" instead of ":=".
1792 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1793 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1794 * Rules (binaries-all-notests): New variable.
1795 (binaries-all-tests): Likewise.
1796 (binaries-static-notests): Likewise.
1797 (binaries-static-tests): Likewise.
1798 (binaries-all): Define using $(binaries-all-notests) and
1799 $(binaries-all-tests).
1800 (binaries-static): Define using $(binaries-static-notests) and
1801 $(binaries-static-tests).
1802 (binaries-shared-tests): New variable.
1803 (binaries-shared-notests): Likewise.
1804 (binaries-shared): Remove variable.
1805 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1806 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1807 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1808 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1809 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1810 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1811 * elf/Makefile (sln-modules): New variable.
1812 (extra-objs): Add $(sln-modules:=.o).
1813 (ldconfig-modules): Add static-stubs.
1814 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1815 * elf/static-stubs.c: New file.
1818 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1819 by 7 not 8 to examine high bit of fractional part. Use volatile
1820 variables when splitting into final array of floats if
1821 __FLT_EVAL_METHOD__ != 0.
1822 * math/libm-test.inc (cos_test): Add another test.
1823 (sin_test): Likewise.
1824 * sysdeps/i386/fpu/libm-test-ulps: Update.
1827 * math/libm-test.inc (cosh_test): Add more tests.
1829 * version.h (RELEASE): Set to "development".
1830 (VERSION): Set to "2.16.90".
1832 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1834 * NEWS: Update copyright. Remove last-updated date.
1835 Mention math library bug fixes and timezone data changes.
1836 * README: Mention GNU/Hurd, x32, and HPPA support status.
1838 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1840 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1842 2012-06-27 Andreas Jaeger <aj@suse.de>
1844 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1846 2012-06-25 Andreas Jaeger <aj@suse.de>
1848 * sysdeps/s390/fpu/libm-test-ulps: Update.
1850 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1851 Thomas Schwinge <thomas@codesourcery.com>
1853 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1854 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1855 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1858 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1860 * sysdeps/mach/start.c: Remove file.
1861 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1862 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1863 * sysdeps/sh/init-first.c: Likewise.
1865 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1866 registers for frame unwinding purposes, add CFI directives.
1867 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1868 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1869 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1872 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1873 __fortify_fail returning.
1874 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1876 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1877 sysdeps/sh/____longjmp_chk.S.
1878 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1879 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1880 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1881 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1883 * sysdeps/sh/abort-instr.h: New file.
1884 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1885 process in case exit returns.
1887 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1888 initialize the GOT register before use.
1890 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1891 calculation of ARGC > 4.
1893 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1894 meaningful names to some local labels.
1896 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1897 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1899 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1900 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1901 (__arch_compare_and_exchange_val_16_acq): Likewise.
1902 (__arch_compare_and_exchange_val_32_acq): Likewise.
1903 (atomic_exchange_and_add): Fix gUSA sequence.
1904 (atomic_add): Likewise.
1905 (atomic_add_negative): Likewise.
1906 (atomic_add_zero): Likewise.
1907 (atomic_bit_test_set): Likewise.
1909 2012-06-22 Andreas Schwab <schwab@redhat.com>
1912 * include/link.h (struct link_map): Add l_free_initfini.
1913 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1915 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1916 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1917 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1920 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1922 * configure.in: Use AC_LANG_SOURCE.
1923 * configure: Regenerate.
1925 2012-06-22 Roland McGrath <roland@hack.frob.com>
1927 * configure.in (libc_cv_localstatedir): New substituted variable.
1928 * configure: Regenerated.
1929 * config.make.in (localstatedir): New variable, substituted from
1930 libc_cv_localstatedir.
1931 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1932 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1933 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1934 * sysdeps/gnu/configure: Regenerated.
1936 2012-06-21 Jeff Law <law@redhat.com>
1939 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1940 free. Simplify list management for _LIBC case.
1942 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1945 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1946 Clear sign bit of 64-bit integer value before comparing against
1949 * sysdeps/mach/configure: Regenerated.
1951 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1954 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1956 2012-06-21 Jeff Law <law@redhat.com>
1959 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1960 uint16_t for elements in the "seen" array to avoid char overflows.
1961 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1962 * elf/dl-open.c (dl_open_worker): Likewise.
1964 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1966 * scripts/list-sources.sh: Scan PORTS for translations.
1967 * po/libc.pot: Regenerated.
1969 2012-06-21 Andreas Jaeger <aj@suse.de>
1972 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1974 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1975 * bits/byteswap-16.h (__bswap_16): Likewise.
1976 * bits/byteswap.h (__bswap_constant_16): Likewise.
1978 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1981 * sysdeps/i386/fpu_control.h: Removed.
1982 * sysdeps/x86_64/fpu_control.h: Moved to ...
1983 * sysdeps/x86/fpu_control.h: Here.
1985 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1986 (_FPU_SETCW): Likewise.
1988 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1991 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1992 * sysdeps/x86/fpu/bits/mathinline.h: This.
1993 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1997 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1998 functions if __x86_64__ is defined.
2000 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2002 * string/endian.h: Add !__ASSEMBLER__ condition for including
2003 conversion interfaces.
2005 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2009 of ABS(x) in calculating zero to negative powers other than odd
2011 * math/libm-test.inc (pow_test): Add more tests.
2013 2012-06-15 Andreas Jaeger <aj@suse.de>
2015 * manual/contrib.texi (Contributors): Update entry of Liubov
2016 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2019 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2021 * string/string.h: Add __wur to GNU version of strerror_r.
2023 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2026 * string/Makefile (tests): Add tst-strtok_r.
2027 * string/tst-strtok_r.c: New file.
2028 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2029 RAX_LP/RDX_LP on SAVE_PTR.
2031 2012-06-14 Roland McGrath <roland@hack.frob.com>
2033 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2035 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2037 * libm_test.inc (csqrt_test): Allow more spurious underflow
2039 (j0_test): Likewise.
2040 (j1_test): Likewise.
2041 (y0_test): Likewise.
2042 (y1_test): Likewise.
2044 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2046 * po/Makefile (libc.pot): Use UTF-8 charset.
2048 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2051 Suppress sign-conversion warning from FD_SET.
2052 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2053 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2054 not unsigned long int.
2055 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2057 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2061 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2062 __extern_always_inline instead of __extern_inline.
2063 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2064 (__signbit): Likewise.
2065 (__signbitl): Support C++ namespace.
2066 (lrintf): New inline function.
2068 (llrintf): Likewise.
2080 (nearbyint): Likewise.
2081 (nearbyintf): Likewise.
2083 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2085 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2086 non-default versions.
2088 2012-06-11 Roland McGrath <roland@hack.frob.com>
2091 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2093 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2095 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2096 (FE_UPWARD, FE_DOWNWARD): Don't define.
2097 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2098 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2100 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2102 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2103 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2105 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2107 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2108 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2109 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2110 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2112 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2115 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2116 * sysdeps/i386/fpu/Implies: New file.
2117 * sysdeps/x86_64/fpu/Implies: Likewise.
2118 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2119 * sysdeps/x86/fpu/bits/fenv.h: This.
2121 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2124 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2127 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2128 character 0xffff that matches the last element of the
2131 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2133 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2136 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2138 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2139 values higher than 25.6283.
2141 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2143 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2144 subnormal exponent extraction and add some __builtin_expect.
2145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2146 Fix for subnormal mantissa calculation.
2148 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2150 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2151 cpu2 is -1 and errno is not ENOSYS.
2153 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2156 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2157 * sysdeps/x86/bits/string.h: This.
2158 * sysdeps/x86_64/bits/string.h: Removed.
2160 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2161 if not compiling for x86-64, but compiling for >= i486.
2163 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2164 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2166 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2167 New macro from Linux kernel 3.4.0.
2168 (FP_XSTATE_MAGIC2): Likewise.
2169 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2170 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2171 (struct _fpx_sw_bytes): New struct.
2172 (struct _xsave_hdr): Likewise.
2173 (struct _ymmh_state): Likewise.
2174 (struct _xstate): Likewise.
2176 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2177 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2178 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2179 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2180 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2181 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2183 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2184 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2185 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2186 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2187 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2188 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2190 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2193 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2194 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2195 (sysdep_headers): Include sys/platform/ppc.h.
2196 * sysdeps/powerpc/test-gettimebase.c: Test for
2197 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2198 * manual/Makefile (appendices): Include platform.texi.
2199 * manual/contrib.texi (Contributors): Update @node pointers.
2200 * manual/maint.texi (Maintenance): Likewise.
2201 (Platform): New node.
2202 * manual/platform.texi: New file. Document the new features.
2204 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2205 Jakub Jelinek <jakub@redhat.com>
2208 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2209 where __builtin_expect is unavailable.
2211 2012-06-03 David S. Miller <davem@davemloft.net>
2213 * stdlib/longlong.h: Updated from GCC.
2215 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2218 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2219 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2222 (GLIBC_2.16): Likewise.
2224 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2226 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2228 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2231 (default-abi): New variable.
2232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2233 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2235 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2237 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2239 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2242 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2243 definition. Document in comment.
2245 2012-06-01 David S. Miller <davem@davemloft.net>
2247 * stdlib/longlong.h: Updated from GCC.
2249 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2252 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2253 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2254 sys/debugreg.h sys/io.h here.
2255 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2256 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2258 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2259 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2260 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2261 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2262 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2263 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2265 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2266 Define only if __x86_64__ is defined.
2268 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2271 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2272 Use int64_t for variable i.
2273 * math/libm-test.inc (fmod_test): Add more tests.
2275 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2276 z computation is not scheduled after fetestexcept.
2277 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2278 Use math_force_eval instead of asm to ensure calculation scheduled
2279 before exception test.
2280 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2281 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2283 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2286 computation is not scheduled after fetestexcept.
2288 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2291 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2292 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2294 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2296 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2297 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2299 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2302 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2304 (__WCHAR_MIN): Support __WORDSIZE == 64.
2305 (__WCHAR_MAX): Likewise.
2307 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2308 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2312 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2315 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2316 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2318 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2319 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2321 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2322 Defined to 1 if __x86_64__ isn't defined.
2323 (_STAT_VER_LINUX_OLD): New.
2324 (st_atime): Remove duplicate.
2325 (st_mtime): Likewise.
2326 (st_ctime): Likewise.
2328 2012-05-31 David S. Miller <davem@davemloft.net>
2330 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2333 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2335 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2339 * elf/dl-reloc.c: Include <_itoa.h>.
2340 (_dl_reloc_bad_type): Remove use of INTUSE.
2341 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2342 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2343 * stdio-common/psiginfo.c (psiginfo): Likewise.
2344 * stdio-common/psignal.c (psignal): Likewise.
2345 * string/strsignal.c (strsignal): Likewise.
2346 * include/signal.h (_sys_siglist): Declare hidden proto.
2347 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2348 INTVARDEF with libc_hidden_data_def.
2349 * stdio-common/itoa-udigits.c: Likewise.
2350 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2351 (_itoa_lower_digits_internal): Remove declaration.
2352 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2353 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2354 (_sys_sigabbrev_internal): Remove aliases.
2355 (_sys_siglist): Define hidden alias.
2357 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2362 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2365 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2366 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2368 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2369 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2370 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2371 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2372 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2373 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2375 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2376 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2377 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2379 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2387 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2388 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2389 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2391 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2392 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2393 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2394 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2395 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2396 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2398 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2399 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2401 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2402 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2404 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2406 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2408 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2409 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2411 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2413 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2414 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2415 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2417 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2419 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2421 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2423 * math/math.h (M_El): Use two more decimal places.
2424 (M_LOG2El): Likewise.
2425 (M_LOG10El): Likewise.
2427 (M_LN10l): Likewise.
2429 (M_PI_2l): Likewise.
2430 (M_PI_4l): Likewise.
2431 (M_1_PIl): Likewise.
2432 (M_2_PIl): Likewise.
2433 (M_2_SQRTPIl): Likewise.
2434 (M_SQRT2l): Likewise.
2435 (M_SQRT1_2l): Likewise.
2437 2012-05-31 David S. Miller <davem@davemloft.net>
2439 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2440 values between float registers.
2441 * sysdeps/sparc/sparc64/memset.S: Likewise.
2442 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2444 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2446 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2447 -D_FORTIFY_SOURCE=1.
2448 (CPPFLAGS-tst-longjmp_chk.c): Define.
2449 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2450 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2451 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2452 CFLAGS-tst-wchar-h.c.
2454 2012-05-31 Marek Polacek <polacek@redhat.com>
2457 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2458 __endmntent_internal): Remove declaration.
2459 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2460 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2461 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2463 2012-05-30 David S. Miller <davem@davemloft.net>
2465 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2466 (___Q_simulate_exceptions): Use real FP ops rather than writing
2468 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2471 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2474 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2475 * sysdeps/x86/bits/xtitypes.h: This.
2477 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2478 * sysdeps/x86/bits/wordsize.h: This.
2480 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2481 * sysdeps/x86/bits/huge_vall.h: This.
2483 * sysdeps/i386/bits/select.h: Removed.
2484 * sysdeps/x86_64/bits/select.h: Renamed to ...
2485 * sysdeps/x86/bits/select.h: This.
2487 * sysdeps/i386/bits/setjmp.h: Removed.
2488 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2489 * sysdeps/x86/bits/setjmp.h: This.
2491 * sysdeps/i386/bits/mathdef.h: Removed.
2492 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2493 * sysdeps/x86/bits/mathdef.h: This.
2495 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2498 * include/sys/socket.h (__connect_internal)
2499 (__libc_sa_len_internal): Remove declaration.
2500 (__connect, __libc_sa_len): Declare hidden_proto.
2501 (SA_LEN): Remove use of INTUSE.
2502 * socket/connect.c: Add libc_hidden_def.
2503 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2504 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2505 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2507 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2508 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2509 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2510 of adding _internal alias.
2512 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2515 * sysdeps/i386/bits/link.h: Removed.
2516 * sysdeps/i386/bits/linkmap.h: Likewise.
2517 * sysdeps/x86_64/bits/link.h: Renamed to ...
2518 * sysdeps/x86/bits/link.h: This.
2519 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2520 * sysdeps/x86/bits/linkmap.h: This.
2522 * sysdeps/i386/bits/endian.h: Removed.
2523 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2524 * sysdeps/x86/bits/endian.h: This.
2526 * sysdeps/i386/bits/byteswap.h: Removed.
2527 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2528 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2529 * sysdeps/x86/bits/byteswap.h: This.
2530 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2531 * sysdeps/x86/bits/byteswap-16.h: This.
2532 * sysdeps/i386/Implies: Add x86.
2533 * sysdeps/x86_64/Implies: Likewise.
2535 2012-05-30 David S. Miller <davem@davemloft.net>
2537 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2538 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2539 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2540 (FP_TRAPPING_EXCEPTIONS): Define.
2541 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2542 (FP_TRAPPING_EXCEPTIONS): Define.
2543 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2544 subnormals only when inexact has been signalled or underflow
2545 exceptions are enabled.
2546 (_FP_PACK_CANONICAL): Likewise.
2548 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2551 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2552 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2554 2012-05-30 Richard Henderson <rth@twiddle.net>
2556 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2557 with #ifndef NOT_IN_libc.
2559 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2560 marked to avoid plt entry.
2562 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2565 * Makeconfig (default-abi): New macro.
2566 (abi-includes): Likewise.
2567 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2568 $(abi-$(default-abi)-lib-soname) for soname if defined.
2569 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2571 * Makefile (installed-stubs): Likewise.
2572 * include/stubs-biarch.h: Removed.
2573 * scripts/lib-names.awk: Only handle one library at a time.
2574 * scripts/soversions.awk: Remove WORDSIZE support.
2575 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2577 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2579 (syscall-list-default-condition): Likewise.
2580 (syscall-list-default-condition): Likewise.
2581 (syscall-list-includes): Likewise.
2582 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2583 syscall-list-* with abi-*. Handle undefined abi-variants.
2584 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2585 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2586 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2587 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2588 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2589 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2591 (syscall-list-32-options): Likewise.
2592 (syscall-list-32-condition): Likewise.
2593 (syscall-list-64-options): Likewise.
2594 (syscall-list-64-condition): Likewise.
2595 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2597 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2600 (abi-64-ld-soname): New macro.
2601 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2602 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2605 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2606 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2608 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2610 * sysdeps/unix/sysv/linux/kernel-features.h
2611 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2612 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2613 include <kernel-features.h>.
2614 [!__NR_ftruncate64]: Remove conditional code.
2615 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2616 [__NR_ftruncate64]: Make code unconditional.
2617 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2618 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2619 include <kernel-features.h>.
2620 [!__NR_ftruncate64]: Remove conditional code.
2621 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2622 [__NR_ftruncate64]: Make code unconditional.
2623 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2625 include <kernel-features.h>.
2626 [!__NR_ftruncate64]: Remove conditional code.
2627 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2628 [__NR_ftruncate64]: Make code unconditional.
2629 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2631 include <kernel-features.h>.
2632 [!__NR_ftruncate64]: Remove conditional code.
2633 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2634 [__NR_ftruncate64]: Make code unconditional.
2635 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2637 * configure.in (libc_cv_fpie): Weaken to a compile test using
2639 * configure: Regenerated.
2641 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2656 2012-05-27 David S. Miller <davem@davemloft.net>
2658 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2660 (__Q_simulate_exceptions): Return void. Change to simulate
2661 exceptions by writing into the %fsr.
2662 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2663 (__Qp_handle_exceptions): Likewise.
2665 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2666 __Qp_handle_exceptions.
2667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2668 __Qp_handle_exceptions.
2669 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2670 as unused and give dummy FP_RND_NEAREST initializer.
2671 (FP_INHIBIT_RESULTS): Define.
2672 (___Q_simulate_exceptions): Update declaration.
2673 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2675 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2676 as unused and give dummy FP_RND_NEAREST initializer.
2677 (__Qp_handle_exceptions): Update declaration.
2678 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2681 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2683 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2684 the temporary FPU control word.
2685 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2686 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2687 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2688 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2689 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2690 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2691 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2692 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2693 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2694 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2695 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2697 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2699 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2702 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2704 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2705 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2706 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2707 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2709 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2710 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2713 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2715 * po/h.po: Update from translation team.
2717 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2719 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2721 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2722 handling of denormals.
2723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2724 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2725 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2726 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2727 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2729 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2732 2012-05-26 Marek Polacek <polacek@redhat.com>
2735 * math/libm-test.inc (fma_test): Don't always expect underflow
2738 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2741 * elf/tst-execstack.c: Include stackinfo.h.
2742 (do_test): Adjust test case to ensure that pthread_getattr_np
2743 behaviour remains the same after marking stack executable.
2745 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2747 * sysdeps/unix/sysv/linux/kernel-features.h
2748 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2749 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2751 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2752 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2753 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2755 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2756 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2758 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2760 * configure.in: Define the default includes to being none.
2761 * configure: Regenerated.
2763 2012-05-25 Roland McGrath <roland@hack.frob.com>
2765 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2766 * sysdeps/x86_64/setjmp.S: Likewise.
2767 * sysdeps/i386/bsd-setjmp.S: Likewise.
2768 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2769 * sysdeps/i386/setjmp.S: Likewise.
2770 * sysdeps/i386/__longjmp.S: Likewise.
2771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2772 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2774 * include/stap-probe.h: New file.
2775 * configure.in: Handle --enable-systemtap.
2776 * configure: Regenerated.
2777 * config.h.in (USE_STAP_PROBE): New #undef.
2778 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2779 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2780 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2782 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2785 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2786 to 2.4.0 where earlier.
2787 * sysdeps/unix/sysv/linux/configure: Regenerated.
2788 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2789 <kernel-features.h>.
2790 [__ASSUME_32BITUIDS]: Make code unconditional.
2791 [!__ASSUME_32BITUIDS]: Remove conditional code.
2792 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2793 <kernel-features.h>.
2794 [__ASSUME_32BITUIDS]: Make code unconditional.
2795 [!__ASSUME_32BITUIDS]: Remove conditional code.
2796 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2797 [__ASSUME_32BITUIDS]: Make code unconditional.
2798 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2799 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2800 <kernel-features.h>.
2801 [__ASSUME_32BITUIDS]: Make code unconditional.
2802 [!__ASSUME_32BITUIDS]: Remove conditional code.
2803 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2804 <kernel-features.h>.
2805 [__ASSUME_32BITUIDS]: Make code unconditional.
2806 [!__ASSUME_32BITUIDS]: Remove conditional code.
2807 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2808 <kernel-features.h>.
2809 [__ASSUME_32BITUIDS]: Make code unconditional.
2810 [!__ASSUME_32BITUIDS]: Remove conditional code.
2811 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2812 <kernel-features.h>.
2813 [__ASSUME_32BITUIDS]: Make code unconditional.
2814 [!__ASSUME_32BITUIDS]: Remove conditional code.
2815 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2816 <kernel-features.h>.
2817 [__ASSUME_32BITUIDS]: Make code unconditional.
2818 [!__ASSUME_32BITUIDS]: Remove conditional code.
2819 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2820 <kernel-features.h>.
2821 [__ASSUME_32BITUIDS]: Make code unconditional.
2822 [!__ASSUME_32BITUIDS]: Remove conditional code.
2823 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2824 <kernel-features.h>.
2825 [__ASSUME_32BITUIDS]: Make code unconditional.
2826 [!__ASSUME_32BITUIDS]: Remove conditional code.
2827 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2828 <kernel-features.h>.
2829 [__ASSUME_32BITUIDS]: Make code unconditional.
2830 [!__ASSUME_32BITUIDS]: Remove conditional code.
2831 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2832 <kernel-features.h>.
2833 [__ASSUME_32BITUIDS]: Make code unconditional.
2834 [!__ASSUME_32BITUIDS]: Remove conditional code.
2835 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2836 <kernel-features.h>.
2837 [__ASSUME_32BITUIDS]: Make code unconditional.
2838 [!__ASSUME_32BITUIDS]: Remove conditional code.
2839 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2840 <kernel-features.h>.
2841 [__NR_setresgid] (__setresgid): Do not declare.
2842 [__ASSUME_32BITUIDS]: Make code unconditional.
2843 [!__ASSUME_32BITUIDS]: Remove conditional code.
2844 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2845 <kernel-features.h>.
2846 [__NR_setresuid] (__setresuid): Do not declare.
2847 [__ASSUME_32BITUIDS]: Make code unconditional.
2848 [!__ASSUME_32BITUIDS]: Remove conditional code.
2849 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
2890 (__ASSUME_SETRESUID_SYSCALL): Remove.
2891 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2892 (__ASSUME_32BITUIDS): Likewise.
2893 (__ASSUME_LDT_WORKS): Likewise.
2894 (__ASSUME_O_DIRECTORY): Likewise.
2895 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2896 architecture but not kernel version.
2897 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2898 (__ASSUME_MMAP2_SYSCALL): Likewise.
2899 (__ASSUME_STAT64_SYSCALL): Likewise.
2900 (__ASSUME_IPC64): Likewise.
2901 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2902 <kernel-features.h>.
2903 [__ASSUME_32BITUIDS]: Make code unconditional.
2904 [!__ASSUME_32BITUIDS]: Remove conditional code.
2905 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2906 <kernel-features.h>.
2907 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2908 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2909 132096]: Remove conditional code.
2910 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2911 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
2920 <kernel-features.h>.
2921 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2923 (__setresgid): Do not declare.
2924 [__ASSUME_32BITUIDS]: Make code unconditional.
2925 [!__ASSUME_32BITUIDS]: Remove conditional code.
2926 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2927 <kernel-features.h>.
2928 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2930 (__setresuid): Do not declare.
2931 [__ASSUME_32BITUIDS]: Make code unconditional.
2932 [!__ASSUME_32BITUIDS]: Remove conditional code.
2933 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2934 <kernel-features.h>.
2935 [__ASSUME_32BITUIDS]: Make code unconditional.
2936 [!__ASSUME_32BITUIDS]: Remove conditional code.
2937 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2938 <kernel-features.h>.
2939 [__ASSUME_32BITUIDS]: Make code unconditional.
2940 [!__ASSUME_32BITUIDS]: Remove conditional code.
2942 2012-05-25 Richard Henderson <rth@twiddle.net>
2944 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2945 dl_hwcap to ifunc resolver.
2946 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2948 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2949 dl_hwcap to ifunc resolver.
2950 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2952 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2955 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2956 for |x| <= 2**-26, not 2**-57.
2957 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2960 2012-05-24 Jeff Law <law@redhat.com>
2962 * stdio-common/Makefile (tests): Add bug25.
2963 * stdio-common/bug25.c: New test.
2965 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2968 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2969 multiple of MALLOC_ALIGNMENT in size.
2970 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2972 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2974 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2976 (FILENAME_MAX): Use macro-int-constant.
2977 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2978 (_IOFBF): Use macro-int-constant.
2981 (SEEK_CUR): Likewise.
2982 (SEEK_END): Likewise.
2983 (SEEK_SET): Likewise.
2984 (TMP_MAX): Likewise.
2985 (EOF): Use macro-int-constant. Require < 0.
2986 (NULL): Use macro-constant. Require == 0.
2987 (stdin): Require type to be FILE *.
2990 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2992 (EXIT_SUCCESS): Likewise.
2993 (NULL): Use macro-constant. Require == 0.
2994 (RAND_MAX): Use macro-int-constant.
2995 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2996 [C99-based standards] (strtof): Require function.
2997 [C99-based standards] (strtold): Likewise.
2998 [C99-based standards] (strtoll): Likewise.
2999 [C99-based standards] (strtoull): Likewise.
3000 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3001 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3002 [ISO || ISO99 || ISO11] (math.h): Likewise.
3003 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3004 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3007 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3010 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3011 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3012 * intl/dgettext.c (DCGETTEXT): Likewise.
3013 * intl/gettext.c (DCGETTEXT): Likewise.
3014 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3015 * posix/regex_internal.h (gettext): Likewise.
3016 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3018 * include/argz.h (__argz_count_internal)
3019 (__argz_stringify_internal): Remove declaration.
3020 (__argz_count, __argz_stringify): Declare hidden proto.
3021 * intl/dcgettext.c: Remove use of INTDEF.
3022 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3023 * string/argz-stringify.c: Likewise.
3024 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3025 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3026 Declare hidden proto.
3027 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3028 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3029 Declare hidden proto.
3030 * include/stdio.h (__asprintf_internal): Don't declare.
3031 (__asprintf): Don't define as macro. Declare hidden proto.
3032 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3033 (__fsetlocking): Declare hidden proto.
3034 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3035 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3037 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3038 (_IO_setlinebuf): Remove use of INTUSE.
3039 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3040 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3041 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3043 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3044 (_IO_do_flush): Remove use of INTUSE.
3045 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3046 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3047 (_IO_adjust_column, _IO_least_wmarker)
3048 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3049 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3050 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3051 (_IO_default_doallocate, _IO_wdefault_doallocate)
3052 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3053 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3054 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3055 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3056 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3057 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3058 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3059 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3060 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3061 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3062 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3063 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3064 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3066 (_IO_flush_all_internal, _IO_adjust_column_internal)
3067 (_IO_default_uflow_internal, _IO_default_finish_internal)
3068 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3069 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3070 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3071 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3072 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3073 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3074 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3075 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3076 (_IO_file_close_internal, _IO_file_close_it_internal)
3077 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3078 (_IO_file_init_internal, _IO_file_attach_internal)
3079 (_IO_file_fopen_internal, _IO_file_read_internal)
3080 (_IO_file_sync_internal, _IO_file_seek_internal)
3081 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3082 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3083 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3084 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3085 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3086 (_IO_list_all_internal, _IO_link_in_internal)
3087 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3088 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3089 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3090 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3091 (_IO_do_write_internal, _IO_padn_internal)
3092 (_IO_getline_info_internal, _IO_getline_internal)
3093 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3094 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3095 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3096 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3097 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3098 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3099 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3100 with libc_hidden_ver, remove use of INTUSE.
3101 * libio/genops.c: Likewise.
3102 * libio/freopen.c: Likewise.
3103 * libio/freopen64.c: Likewise.
3104 * libio/iofclose.c: Likewise.
3105 * libio/iofdopen.c: Likewise.
3106 * libio/iofflush.c: Likewise.
3107 * libio/iofflush_u.c: Likewise.
3108 * libio/iofgets.c: Likewise.
3109 * libio/iofgets_u.c: Likewise.
3110 * libio/iofopen.c: Likewise.
3111 * libio/iofopncook.c: Likewise.
3112 * libio/iofread.c: Likewise.
3113 * libio/iofread_u.c: Likewise.
3114 * libio/ioftell.c: Likewise.
3115 * libio/iofwrite.c: Likewise.
3116 * libio/iogetline.c: Likewise.
3117 * libio/iogets.c: Likewise.
3118 * libio/iogetwline.c: Likewise.
3119 * libio/iopadn.c: Likewise.
3120 * libio/iopopen.c: Likewise.
3121 * libio/ioseekoff.c: Likewise.
3122 * libio/ioseekpos.c: Likewise.
3123 * libio/iosetbuffer.c: Likewise.
3124 * libio/iosetvbuf.c: Likewise.
3125 * libio/ioungetc.c: Likewise.
3126 * libio/ioungetwc.c: Likewise.
3127 * libio/iovdprintf.c: Likewise.
3128 * libio/iovsprintf.c: Likewise.
3129 * libio/iovsscanf.c: Likewise.
3130 * libio/memstream.c: Likewise.
3131 * libio/obprintf.c: Likewise.
3132 * libio/oldfileops.c: Likewise.
3133 * libio/oldiofclose.c: Likewise.
3134 * libio/oldiofdopen.c: Likewise.
3135 * libio/oldiofopen.c: Likewise.
3136 * libio/oldiopopen.c: Likewise.
3137 * libio/oldstdfiles.c: Likewise.
3138 * libio/putc.c: Likewise.
3139 * libio/setbuf.c: Likewise.
3140 * libio/setlinebuf.c: Likewise.
3141 * libio/stdfiles.c: Likewise.
3142 * libio/strops.c: Likewise.
3143 * libio/vasprintf.c: Likewise.
3144 * libio/vscanf.c: Likewise.
3145 * libio/vsnprintf.c: Likewise.
3146 * libio/vswprintf.c: Likewise.
3147 * libio/wfiledoalloc.c: Likewise.
3148 * libio/wfileops.c: Likewise.
3149 * libio/wgenops.c: Likewise.
3150 * libio/wmemstream.c: Likewise.
3151 * libio/wstrops.c: Likewise.
3152 * libio/__fpurge.c: Likewise.
3153 * libio/__fsetlocking.c: Likewise.
3154 * assert/assert.c: Likewise.
3155 * debug/fgets_chk.c: Likewise.
3156 * debug/fgets_u_chk.c: Likewise.
3157 * debug/fread_chk.c: Likewise.
3158 * debug/fread_u_chk.c: Likewise.
3159 * debug/gets_chk.c: Likewise.
3160 * debug/obprintf_chk.c: Likewise.
3161 * debug/vasprintf_chk.c: Likewise.
3162 * debug/vdprintf_chk.c: Likewise.
3163 * debug/vsnprintf_chk.c: Likewise.
3164 * debug/vsprintf_chk.c: Likewise.
3165 * malloc/mtrace.c: Likewise.
3166 * misc/error.c: Likewise.
3167 * misc/syslog.c: Likewise.
3168 * stdio-common/asprintf.c: Likewise.
3169 * stdio-common/fxprintf.c: Likewise.
3170 * stdio-common/getw.c: Likewise.
3171 * stdio-common/isoc99_fscanf.c: Likewise.
3172 * stdio-common/isoc99_scanf.c: Likewise.
3173 * stdio-common/isoc99_vfscanf.c: Likewise.
3174 * stdio-common/isoc99_vscanf.c: Likewise.
3175 * stdio-common/isoc99_vsscanf.c: Likewise.
3176 * stdio-common/printf-prs.c: Likewise.
3177 * stdio-common/printf_fp.c: Likewise.
3178 * stdio-common/printf_fphex.c: Likewise.
3179 * stdio-common/printf_size.c: Likewise.
3180 * stdio-common/putw.c: Likewise.
3181 * stdio-common/scanf.c: Likewise.
3182 * stdio-common/sprintf.c: Likewise.
3183 * stdio-common/tmpfile.c: Likewise.
3184 * stdio-common/vfprintf.c: Likewise.
3185 * stdio-common/vfscanf.c: Likewise.
3186 * stdlib/strfmon_l.c: Likewise.
3187 * sunrpc/openchild.c: Likewise.
3188 * sunrpc/xdr_stdio.c: Likewise.
3189 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3190 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3192 2012-05-24 Roland McGrath <roland@hack.frob.com>
3194 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3196 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3197 in the third column, to generate for the shared library an IFUNC
3198 that uses _dl_vdso_vsym.
3199 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3200 * Makeconfig (object-suffixes-noshared): New variable.
3202 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3203 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3204 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3205 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3208 * include/sys/time.h (__gettimeofday): Remove macro.
3209 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3210 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3212 (__gettimeofday): Add libc_hidden_def.
3213 (gettimeofday): Add libc_hidden_weak.
3214 * sysdeps/mach/gettimeofday.c: Likewise.
3215 * sysdeps/posix/gettimeofday.c: Likewise.
3216 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3217 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3218 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3219 (__gettimeofday_internal): Remove strong_alias.
3220 (__gettimeofday): Add libc_hidden_def.
3221 (gettimeofday): Add libc_hidden_weak.
3222 * sysdeps/unix/syscalls.list (gettimeofday):
3223 Remove __gettimeofday_internal alias.
3225 2012-05-24 Daniel Jacobowitz <drow@false.org>
3226 H.J. Lu <hongjiu.lu@intel.com>
3229 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3230 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3231 (largebin_index_32_big): New.
3232 (largebin_index): Use it for 16-byte alignment.
3233 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3234 correction with front_misalign.
3236 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3264 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3265 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3267 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3271 * math/libm-test.inc (exp_test): Add test from bug 14036.
3272 (pow_test): Add test from bug 10846.
3274 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3276 (special_function): Do not include flags in test name.
3277 (parse_args): Likewise.
3278 * sysdeps/i386/fpu/libm-test-ulps: Update.
3279 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3280 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3281 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3284 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3286 * math/libm-test.inc ("Philosophy"): Update comment about
3288 (UNDERFLOW_EXCEPTION): New macro.
3289 (UNDERFLOW_EXCEPTION_OK): Likewise.
3290 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3291 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3292 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3293 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3294 (INVALID_EXCEPTION_OK): Update value.
3295 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3296 (OVERFLOW_EXCEPTION_OK): Likewise.
3297 (IGNORE_ZERO_INF_SIGN): Likewise.
3298 (test_exceptions): Handle underflow exceptions.
3299 (acos_test): Update for underflow exception expectations.
3300 (cexp_test): Likewise.
3301 (clog_test): Likewise.
3302 (clog10_test): Likewise.
3303 (csqrt_test): Likewise.
3304 (ctan_test): Likewise.
3305 (ctanh_test): Likewise.
3306 (exp_test): Likewise.
3307 (exp10_test): Likewise.
3308 (exp2_test): Likewise.
3309 (expm1_test): Likewise.
3310 (fma_test): Likewise.
3311 (j0_test): Likewise.
3312 (jn_test): Likewise.
3313 (nexttoward_test): Likewise.
3314 (pow_test): Likewise.
3315 (scalbn_test): Likewise.
3316 (scalbln_test): Likewise.
3317 (tan_test): Likewise.
3318 (y1_test): Likewise.
3319 * sysdeps/i386/fpu/libm-test-ulps: Update.
3320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3322 2012-05-23 David S. Miller <davem@davemloft.net>
3324 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3325 (__libc_sigaction): Remove unused local variables.
3327 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3329 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3331 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3333 mktime: avoid signed integer overflow
3334 * time/mktime.c (__mktime_internal): Do not mishandle the case
3335 where diff == INT_MIN.
3337 mktime: simplify computation of average
3338 * time/mktime.c (ranged_convert): Use new time_t_avg function
3339 instead of rolling our own (probably-slower) code.
3341 mktime: do not assume signed right shift propagates sign bit
3342 * time/mktime.c (isdst_differ): New static function.
3343 (__mktime_internal): No need to normalize tm_isdst now.
3344 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3347 mktime: merge another wrapv change from gnulib
3348 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3349 from some compilers.
3351 mktime: remove incorrect attempt at unusual arithmetics
3352 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3353 The code didn't really work on such machines anyway.
3354 (TYPE_MINIMUM): Assume two's complement.
3355 (twos_complement_arithmetic): Verify that long_int and time_t
3356 are two's complement (or unsigned, in the latter case).
3358 mktime: check signed shifts on long_int and time_t, too
3359 * time/mktime.c (SHR): Check that shifts work as desired
3360 on the types long_int and time_t too, as SHR is used on
3363 mktime: do not assume 'long' is wide enough
3364 * time/mktime.c (verify): Move decl up.
3365 (long_int): New type.
3366 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3367 to remove assumption in the code that 'long' is wide enough to
3368 store year values. This assumption is not true on x32 and on
3369 some non-glibc platforms.
3371 mktime: merge wrapv change from gnulib
3372 * time/mktime.c (WRAPV): New macro.
3373 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3374 (guess_time_tm, __mktime_internal): Do not assume that signed
3375 integer overflow wraps around; modern compilers generate code
3376 where this assumption is no longer valid.
3378 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3380 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3381 Replace "jmp L(pseudo_end)" with "ret".
3382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3385 2012-05-23 Andreas Jaeger <aj@suse.de>
3387 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3388 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3390 2012-05-23 Andreas Jaeger <aj@suse.de>
3391 Maximilian Attems <max@stro.at>
3393 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3396 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3398 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3399 code so that pseudo_end is just ret and the stack pointer is
3400 correct also for static library in error case.
3402 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3404 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3405 move to syscalls.list.
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3411 * manual/install.texi (Running make install): Do not mention Linux
3412 kernel version for which pt_chown is not needed.
3413 (Linux): Do not mention problems with nscd with 2.0 kernels.
3414 * INSTALL: Regenerated.
3416 2012-05-23 Andreas Jaeger <aj@suse.de>
3418 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3419 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3421 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3423 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3424 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3425 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3426 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3427 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3428 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3429 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3430 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3431 * sysdeps/unix/sysv/linux/bits/in.h
3432 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3434 2012-05-22 Roland McGrath <roland@hack.frob.com>
3436 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3437 (PREPARE_VERSION): Just use assert instead, it will be elided
3438 under [NDEBUG] anyway.
3440 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3442 * sysdeps/unix/sysv/linux/Makefile: Include
3443 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3444 (sysdep_routines): Remove sysctl.
3445 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3446 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3447 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3448 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3449 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3451 2012-05-22 Andreas Jaeger <aj@suse.de>
3453 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3454 that pseudo_end is just ret and the stack pointer is correct also
3455 for static library in error case.
3457 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3460 * nss/nsswitch.c (defconfig_entries): New variable.
3461 (__nss_database_lookup): Don't leak defconfig entries.
3462 (nss_parse_service_list): Don't leak on error paths.
3463 (free_database_entries): New function.
3464 (free_defconfig): New function.
3465 (free_mem): Move common code to free_database_entries.
3467 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3469 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3471 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3473 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3474 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3477 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3478 (INTERNAL_SYSCALL_TYPES): Likewise.
3479 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3480 (LOAD_REGS_TYPES_[1-6]): Likewise.
3481 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3482 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3484 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3486 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3487 copysignl for GLIBC_2_0.
3488 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3489 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3491 logbl for GLIBC_2_0.
3492 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3493 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3495 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3498 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3500 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3503 * time/mktime.c: Update copyright years.
3505 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3507 mktime: merge comment-quoting-style change from gnulib
3508 * time/mktime.c: Quote 'like this' in comments.
3509 The GNU coding standards suggest that we no longer quote `like this',
3510 as "`" and "'" are typically rendered asymmetrically nowadays.
3511 The typical gnulib style is to quote 'like this' when quoting
3512 code, and "like this" when quoting English.
3514 * time/mktime.c (compile-command): Add "-I.".
3516 mktime: merge mktime-internal.h change from gnulib
3517 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3519 mktime: merge time_r change from gnulib
3520 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3522 mktime: merge DEBUG change from gnulib
3523 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3524 case system <time.h> has a #define.
3526 mktime: merge <sys/types.h> change from gnulib
3527 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3528 since <time.t> is now guaranteed to define time_t.
3530 mktime: merge HAVE_CONFIG_H change from gnulib
3531 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3533 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3538 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3540 (struct rusage): Use anonymous union to pad each field to
3543 2012-05-21 David S. Miller <davem@davemloft.net>
3545 * Makefules (o-iterator): Remove .s cases.
3546 (compile-command.s): Delete.
3547 (COMPILE.s): Delete.
3548 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3550 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3552 * configure.in (libc_cv_predef_stack_protector): Only consider
3553 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3554 * configure: Regenerated.
3556 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3559 New macro. Use R*LP on int and pointer.
3560 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3561 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3562 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3563 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3565 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3566 [__WORDSIZE_TIME64_COMPAT32] instead of
3567 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3568 (struct utmp): Likewise.
3569 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3570 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3572 (__WORDSIZE_TIME64_COMPAT32): This.
3573 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3574 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3575 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3576 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3577 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3578 (__WORDSIZE_TIME64_COMPAT32): New macro.
3580 2012-05-21 Andreas Jaeger <aj@suse.de>
3582 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3583 only if [SHARED]. Add prototype for __wcschr_ia32.
3585 2012-05-21 Roland McGrath <roland@hack.frob.com>
3587 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3588 of %rbp unmolested in the jmp_buf while mangling the low bits.
3589 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3590 unmolested high bits of %rbp while demangling the low bits.
3591 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3593 2012-05-21 Andreas Jaeger <aj@suse.de>
3595 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3596 * sunrpc/svc_simple.c: Use it for registerrpc.
3597 * sunrpc/xcrypt.c: Use it for passwd2des.
3599 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3601 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3603 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3604 Don't define if [__SYSCALL_WORDSIZE != 32].
3605 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3608 2012-05-21 Bruno Haible <bruno@clisp.org>
3609 Andreas Jaeger <aj@suse.de>
3611 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3612 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3613 inptr and inend for must_buffer_ch.
3614 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3615 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3616 * stdio-common/Makefile (tests): Remove bug15.
3617 (bug15-ENV): Remove macro.
3618 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3621 2012-05-19 Andreas Jaeger <aj@suse.de>
3622 Roland McGrath <roland@hack.frob.com>
3624 * manual/contrib.texi: Completely rewritten. It contains now an
3625 alphabetical list of contributors and their contributions.
3627 2012-05-21 Richard Henderson <rth@twiddle.net>
3629 * misc/getauxval.c (__getauxval): Use unsigned long int.
3630 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3631 (getauxval): Use unsigned long int.
3633 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3635 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3637 2012-05-21 Roland McGrath <roland@hack.frob.com>
3639 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3640 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3641 __alignof__ (long double).
3643 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3647 2012-05-20 Richard Henderson <rth@twiddle.net>
3649 * misc/getauxval.c: New file.
3650 * misc/sys/auxv.h: New file.
3651 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3652 (routines): Add getauxval.
3653 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3654 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3655 * elf/dl-sysdep.c (_dl_auxv): Remove.
3656 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3657 * elf/dl-support.c (_dl_auxv): New variable.
3658 (_dl_aux_init): Initialize it.
3659 * manual/startup.texi (Auxiliary Vector): New node.
3660 * sysdeps/generic/bits/hwcap.h: New file.
3661 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3662 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3663 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3664 * sysdeps/sparc/sysdep.h: ... here. Include it.
3665 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3666 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3678 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3682 2012-05-19 David S. Miller <davem@davemloft.net>
3684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3686 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3689 * math/s_ccosh.c: Include <float.h>
3690 (__ccosh): Avoid internal overflow calculating sinh and cosh
3691 values before multiplying by sin and cos values.
3692 * math/s_ccoshf.c: Likewise.
3693 * math/s_ccoshl.c: Likewise.
3694 * math/s_csin.c: Likewise.
3695 * math/s_csinf.c: Likewise.
3696 * math/s_csinl.c: Likewise.
3697 * math/s_csinh.c: Likewise.
3698 * math/s_csinhf.c: Likewise.
3699 * math/s_csinhl.c: Likewise.
3700 * math/libm-test.inc (ccos_test): Add more tests.
3701 (ccosh_test): Likewise.
3702 (csin_test): Likewise.
3703 (csinh_test): Likewise.
3704 * sysdeps/i386/fpu/libm-test-ulps: Update.
3705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3707 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3709 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3710 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3712 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3714 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3716 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3717 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3718 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3719 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3720 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3721 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3722 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3723 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3724 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3725 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3726 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3727 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3728 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3729 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3730 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3731 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3732 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3733 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3734 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3735 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3736 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3737 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3738 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3739 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3740 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3741 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3742 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3743 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3744 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3745 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3746 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3748 2012-05-18 Andreas Jaeger <aj@suse.de>
3750 * csu/.gitignore: Delete.
3752 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3754 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3755 (timex): Use __syscall_slong_t.
3757 2012-05-18 Andreas Jaeger <aj@suse.de>
3758 Carlos O'Donell <carlos_odonell@mentor.com>
3760 * manual/install.texi (Configuring and compiling): Update
3761 description about files modified in the source directory.
3762 * INSTALL: Regenerated.
3764 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3766 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3767 value. Use "or" to set return value to -1.
3768 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3769 negate return value.
3771 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3773 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3774 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3775 failure if the compiler has Graphite support disabled.
3776 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3778 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3779 CFLAGS-memmove.c): Likewise.
3780 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3783 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3785 * sysdeps/x86_64/x32/_itoa.h: New file.
3787 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3788 getdents system call only if kernel and user dirents have the
3789 same d_ino and d_off.
3791 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3792 LLONG_MAX != LONG_MAX.
3793 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3794 (_fitoa_word): Likewise.
3796 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3798 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3799 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3800 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3802 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3803 include <bits/wordsize.h>. Check __x86_64__ instead of
3805 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3806 if __x86_64__ is defined. Use anonymous union on fpstate.
3808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3811 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3813 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3814 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3815 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3816 Refer to _rtld_local_ro instead of _rtld_global_ro.
3817 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3819 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3821 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3823 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3824 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3825 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3827 * sysdeps/powerpc/powerpc32/dl-machine.c
3828 (__elf_machine_runtime_setup) [PROF]: Don't reference
3831 2012-05-18 Andreas Jaeger <aj@suse.de>
3833 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3834 function only available for GCCs before 3.4 since GCC 3.4
3835 introduced a builtin.
3837 (llrintf): Likewise.
3845 (nearbyint): Likewise.
3846 (nearbyintf): Likewise.
3852 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3854 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3855 on both fields and cast pointer to __syscall_ulong_t.
3857 * bits/types.h (__fsword_t): New type.
3858 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3859 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3861 (__FSWORD_T_TYPE): Likewise.
3862 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3863 (__FSWORD_T_TYPE): Likewise.
3864 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3865 (__FSWORD_T_TYPE): Likewise.
3866 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3867 (__FSWORD_T_TYPE): Likewise.
3868 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3869 __SWORD_TYPE with __fsword_t.
3870 (statfs64): Likewise.
3872 2012-05-17 David S. Miller <davem@davemloft.net>
3874 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3876 2012-05-17 Andreas Jaeger <aj@suse.de>
3878 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3881 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3883 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3885 2012-05-17 Andreas Jaeger <aj@suse.de>
3887 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3890 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3892 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3894 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3896 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3897 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3899 2012-05-17 Andreas Jaeger <aj@suse.de>
3900 Carlos O'Donell <carlos_odonell@mentor.com>
3903 * sysdeps/x86_64/multiarch/init-arch.h
3904 (bit_YMM_Usable): Rename to...
3905 (bit_AVX_Usable): ... this.
3906 (bit_FMA4_Usable): New macro.
3907 (bit_XMM_state): New macro.
3908 (bit_YMM_state): New macro.
3909 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3910 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3911 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3912 (CPUID_OSXSAVE): New macro.
3913 (CPUID_AVX): New macro.
3914 (CPUID_FMA4): New macro.
3915 (index_YMM_Usable): Rename to...
3916 (index_AVX_Usable): ... this.
3917 (HAS_AVX): Use HAS_ARCH_FEATURE.
3918 (HAS_FMA4): Likewise.
3919 (HAS_YMM_USABLE): Remove.
3920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3921 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3923 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3924 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3925 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3926 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3927 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3929 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3931 * math/libm-test.c: Support platforms without multiple rounding modes.
3932 * math/bug-nextafter.c: Support platforms without FP exceptions.
3933 * math/bug-nexttoward.c: Likewise.
3934 * math/test-fenv.c: Likewise.
3935 * math/test-misc.c: Likewise.
3936 * stdlib/bug-getcontext.c: Likewise.
3938 2012-05-17 Andreas Jaeger <aj@suse.de>
3940 * manual/examples/search.c (critter_cmp): Change signature to
3942 * manual/string.texi (Collation Functions): Likewise.
3944 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3946 * bits/types.h: Fold copyright years.
3947 * bits/typesizes.h: Likewise.
3948 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3950 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3952 * time/time.h: Likewise.
3954 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3957 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3958 in instead of returning them. Return void.
3959 (__libc_mallinfo): Accumulate over all arenas.
3960 (__malloc_stats): Adjust for change in int_mallinfo interface.
3962 2012-05-16 Roland McGrath <roland@hack.frob.com>
3965 * configure.in (NM): Add AC_CHECK_TOOL for it.
3966 (libc_extra_cflags): New substituted variable.
3967 Check for -fstack-protector being used implicitly.
3968 * configure: Regenerated.
3969 * config.make.in (config-extra-cflags): New variable,
3970 gets @libc_extra_cflags@.
3971 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3974 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3975 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3976 * configure: Regenerated.
3977 * config.make.in (CPPUNDEFS): New substituted variable.
3978 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3979 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3980 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3982 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3984 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3985 (mq_attr): Use __syscall_slong_t.
3987 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3989 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3990 Check __x86_64__ instead of __WORDSIZE.
3991 (_STAT_VER_LINUX): Likewise.
3992 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3993 __syscall_ulong_t and __syscall_slong_t.
3996 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3998 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4000 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4002 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4004 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4006 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4009 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4010 include <bits/wordsize.h>. Check __x86_64__ instead of
4012 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4014 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4016 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4017 include <bits/wordsize.h>. Check __x86_64__ instead of
4019 (user_regs_struct): Use "__extension__ unsigned long long"
4020 instead of "unsigned long" if __x86_64__ is defined.
4021 (user): Likewise. Pad after pointer field if __ILP32__ is
4024 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4026 * configure.in (makeinfo): Require version 4.5 or later. Allow
4028 * configure: Regenerated.
4029 * manual/install.texi (texinfo): Increase version requirement to
4031 * INSTALL: Regenerated.
4033 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4035 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4037 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4039 * sysdeps/x86_64/x32/ffs.c: New file.
4041 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4043 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4044 defined. Use __syscall_ulong_t.
4045 (shminfo): Use __syscall_ulong_t.
4046 (shm_info): Likewise.
4048 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4051 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4053 (msgqnum_t): Use __syscall_ulong_t.
4054 (msglen_t): Likewise.
4055 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4058 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4059 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4061 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4063 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4064 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4066 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4069 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4070 include <bits/wordsize.h>. Check __x86_64__ instead of
4073 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4074 "unsigned long long int" if __x86_64__ is defined.
4075 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4077 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4078 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4079 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4081 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4083 (GET_PC): Cast to uintptr_t first.
4084 (GET_FRAME): Likewise.
4085 (GET_STACK): Likewise.
4087 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4088 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4089 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4090 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4091 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4092 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4093 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4094 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4095 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4096 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4097 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4098 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4099 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4100 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4101 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4102 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4103 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4104 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4105 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4106 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4107 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4108 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4109 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4110 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4111 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4112 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4113 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4114 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4115 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4117 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4119 * Makerules (+depfiles): Also collect depfiles from .oS in
4121 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4122 .oS, $(libnldbl-routines)).
4124 * Makerules (native-compile-mkdep-flags): Define.
4125 * sunrpc/Makefile (extra-objs): Add $(addprefix
4126 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4127 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4128 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4129 calling $(make-target-directory).
4131 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4133 * bits/types.h (__snseconds_t): Removed.
4134 * time/time.h (struct timespec): Replace __snseconds_t with
4136 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4137 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4139 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4140 (__SNSECONDS_T_TYPE): Likewise.
4141 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4142 (__SNSECONDS_T_TYPE): Likewise.
4143 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4144 (__SNSECONDS_T_TYPE): Likewise.
4146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4148 * sysdeps/mach/hurd/bits/typesizes.h
4149 (__SYSCALL_SLONG_TYPE): New macro.
4150 (__SYSCALL_ULONG_TYPE): Likewise.
4152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4154 * bits/types.h (__syscall_slong_t): New type.
4155 (__syscall_ulong_t): Likewise.
4157 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4158 (__SYSCALL_ULONG_TYPE): Likewise.
4159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4160 (__SYSCALL_SLONG_TYPE): Likewise.
4161 (__SYSCALL_ULONG_TYPE): Likewise.
4162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4163 (__SYSCALL_SLONG_TYPE): Likewise.
4164 (__SYSCALL_ULONG_TYPE): Likewise.
4165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4166 (__SYSCALL_SLONG_TYPE): Likewise.
4167 (__SYSCALL_ULONG_TYPE): Likewise.
4169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4171 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4172 Add sigaltstack-offsets.sym.
4173 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4174 <sigaltstack-offsets.h>.
4175 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4176 longjmp_msg pointer.
4177 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4178 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4180 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4182 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4184 * elf/stackguard-macros.h: Remove file.
4185 * sysdeps/generic/stackguard-macros.h: New file.
4186 * sysdeps/i386/stackguard-macros.h: Likewise.
4187 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4188 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4189 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4190 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4191 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4192 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4193 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4194 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4195 <elf/stackguard-macros.h>.
4198 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4199 __aligned__ in attribute.
4200 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4201 (gregset_t): Likewise.
4203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4205 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4206 * sysdeps/x86_64/64/Implies-after: Here. New file.
4207 * sysdeps/x86_64/x32/Implies-after: New file.
4209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4211 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4212 and access return value for _dl_profile_fixup. Use R10_LP to
4215 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4217 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4221 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4222 * sysdeps/x86_64/x32/sysdep.h: New file.
4224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4226 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4227 * sysdeps/x86_64/setjmp.S: Likewise.
4229 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4231 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4232 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4233 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4234 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4235 remove unused global constant.
4237 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4239 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4240 include of <not-cancel.h>.
4242 2012-05-15 Roland McGrath <roland@hack.frob.com>
4244 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4246 2012-05-15 Jeff Law <law@redhat.com>
4247 Andreas Jaeger <aj@suse.de>
4250 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4252 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4253 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4254 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4255 code changing __hst_map_handle.map.
4257 2012-05-15 Roland McGrath <roland@hack.frob.com>
4259 * configure.in (sysnames): Look for Implies-before and Implies-after
4261 * configure: Regenerated.
4263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4265 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4266 8-byte data alignment with LP_SIZE alignment.
4268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4270 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4275 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4279 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4280 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4281 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4283 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4287 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4288 (stackinfo_sub_sp): Likewise.
4290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4292 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4300 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4302 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4307 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4311 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4312 into R11_LP and load __x86_64_shared_cache_size_half into
4315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4317 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4320 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4324 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4328 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4329 powerpc32/power7/fpu/s_logb.c via #include.
4330 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4331 powerpc32/power7/fpu/s_logbf.c via #include.
4332 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4333 powerpc32/power7/fpu/s_logbl.c via #include.
4335 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4337 * README.libm: Remove file.
4339 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4341 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4342 count for x32. Use R*_LP and omit operand-size suffix.
4344 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4346 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4347 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4348 * sysdeps/x86_64/x32/shlib-versions: New file.
4350 2012-05-14 Roland McGrath <roland@hack.frob.com>
4352 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4353 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4354 Use _dl_fatal_printf instead.
4356 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4358 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4359 set if not set by the user. Do not allow for being unset.
4360 * sysdeps/unix/sysv/linux/configure: Regenerated.
4362 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4364 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4365 the `q' suffix from lea and replace .quad with ASM_ADDR.
4367 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4370 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4372 (PTR_DEMANGLE): Likewise.
4374 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4376 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4378 (ASM_ADDR): Likewise.
4396 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4398 * sysdeps/x86_64/x32/dl-machine.h: New file.
4400 2012-05-14 Andreas Jaeger <aj@suse.de>
4402 * manual/Makefile (subdir): Remove export of subdir.
4403 (all): Remove target.
4404 (.PHONY): Remove all from list.
4405 (mkinstalldirs): Remove.
4406 (.PHONY): Remove installdirs from list.
4407 ($(inst_infodir)/libc.info): Use make-target-directory.
4408 (installdirs): Remove.
4410 (glibc-targets): Remove.
4413 ($(objpfx)stubs ../po/manual.pot): Remove.
4414 ($(objpfx)stamp%): Remove.
4415 (make-target-directory): Remove.
4416 (subdir_install): Remove.
4424 * manual/.gitignore: Remove, it's not needed anymore.
4425 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4427 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4429 (texis): Renamed to $(objpfx)texis.
4430 (texis-path): New, contains path to generated files.
4431 (chapters.%): Use texis-path for complete path, add extra argument
4433 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4434 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4435 (summary,texi, stamp-summary): Use complete path of
4436 files. Generate files in build dir.
4437 (dir-add.texi): Build in build dir.
4438 (libm-err.texi,stamp-libm-err): Likewise.
4439 (version.texi, stamp-version): Likewise.
4440 (.%c.texi): Likewise.
4441 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4442 (mostlyclean): Remove target.
4443 (realclean): Remove target.
4444 (generated): Add new variable with contents from mostlyclean and
4445 realclean, remove entries duplicated in common-mostlyclean, add
4446 stamp-libm-err and stamp-version.
4447 (generated-dirs): Add libc directory.
4448 ($(inst_infodir)/libc.info): Install files from build dir.
4450 * manual/install.texi (Configuring and compiling): Adjust since
4451 the info files are not part of the tar ball anymore.
4453 2012-05-14 Andreas Jaeger <aj@suse.de>
4455 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4458 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4461 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4462 to 2.2.0 where earlier.
4463 * sysdeps/unix/sysv/linux/configure: Regenerated.
4464 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4465 Remove conditional code.
4466 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4467 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4468 Remove conditional code.
4469 [!__NR_lchown]: Likewise.
4470 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4471 [__NR_lchown]: Likewise.
4472 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4473 comment referencing __ASSUME_LCHOWN_SYSCALL.
4474 * sysdeps/unix/sysv/linux/i386/sigaction.c
4475 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4476 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4477 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4478 Remove conditional code.
4479 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4480 (__protocol_available): Remove #if 0 code.
4481 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4483 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4484 * sysdeps/unix/sysv/linux/kernel-features.h
4485 (__ASSUME_GETCWD_SYSCALL): Don't define.
4486 (__ASSUME_REALTIME_SIGNALS): Likewise.
4487 (__ASSUME_PREAD_SYSCALL): Likewise.
4488 (__ASSUME_PWRITE_SYSCALL): Likewise.
4489 (__ASSUME_POLL_SYSCALL): Likewise.
4490 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4491 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4493 (__ASSUME_SIOCGIFNAME): Don't define.
4494 (__ASSUME_MSG_NOSIGNAL): Likewise.
4495 (__ASSUME_SENDFILE): Define unconditionally.
4496 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4497 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4499 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4500 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4501 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4502 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4503 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4504 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4505 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4507 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4510 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4513 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4519 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4520 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4522 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4525 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4526 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4528 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4529 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4530 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4531 Remove conditional code.
4532 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4533 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4534 Remove conditional code.
4535 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4536 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4537 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4538 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4539 Remove conditional code.
4540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4541 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4542 Remove conditional code.
4543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4544 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4545 Remove conditional code.
4546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4547 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4548 Remove conditional code.
4549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4550 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4551 Remove conditional code.
4552 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4553 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4554 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4556 * sysdeps/unix/sysv/linux/sigaction.c
4557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4559 * sysdeps/unix/sysv/linux/sigpending.c
4560 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4561 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4562 * sysdeps/unix/sysv/linux/sigprocmask.c
4563 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4564 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4565 * sysdeps/unix/sysv/linux/sigsuspend.c
4566 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4567 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4568 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4569 (__libc_missing_rt_sigs): Remove.
4570 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4571 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4572 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4573 Remove conditional code.
4574 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4575 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4577 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4578 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4579 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4580 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4582 2012-05-14 Andreas Jaeger <aj@suse.de>
4584 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4585 it's not used in glibc.
4586 (__coshm1): Likewise.
4587 (__acosh1p): Likewise.
4590 * manual/string.texi (Copying and Concatenation): Add missing
4591 variable in concat example.
4592 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4594 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4597 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4598 __builtin_clzl with __builtin_clzll.
4600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4603 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4606 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4608 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4609 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4610 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4611 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4613 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4615 * NEWS: Update ia64 info.
4617 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4619 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4622 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4624 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4625 * sysdeps/unix/syscalls.list (dup3): Likewise.
4626 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4627 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4629 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4631 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4632 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4634 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4636 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4638 (TLS_IE): Use mov/add instead of movq/addq to load thread
4640 (TLS_GD_PREFIX): New.
4643 2012-05-11 David S. Miller <davem@davemloft.net>
4645 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4646 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4647 (_FPU_SETCW): Likewise.
4649 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4651 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4654 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4657 * iconvdata/gb18030.c: Update tables.
4658 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4659 characters specially.
4660 (BODY for TO_LOOP): Add encoding of missing ranges.
4662 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4665 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4666 * sysdeps/mach/hurd/dup3.c: Likewise.
4667 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4668 * sysdeps/powerpc/memmove.c:: Likewise.
4670 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4672 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4673 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4675 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4677 * elf/elf.h (R_X86_64_RELATIVE64): New.
4678 (R_X86_64_NUM): Updated.
4679 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4680 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4681 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4682 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4683 tst-quad1pie tst-quad2pie
4684 (modules-names): Add tst-quadmod1 tst-quadmod2.
4685 ($(objpfx)tst-quad1): New dependency.
4686 ($(objpfx)tst-quad2): Likewise.
4687 ($(objpfx)tst-quad1pie): Likewise.
4688 ($(objpfx)tst-quad2pie): Likewise.
4689 * sysdeps/x86_64/tst-quad1.c: New file.
4690 * sysdeps/x86_64/tst-quad1pie.c: New file.
4691 * sysdeps/x86_64/tst-quad2.c: Likewise.
4692 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4693 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4694 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4695 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4696 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4698 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4700 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4701 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4702 * streams/stropts.h (t_scalar_t): Define type.
4704 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4705 (_PATH_PRESERVE): Set to "/var/lib".
4706 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4708 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4711 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4712 if __dir_mkfile succeeded.
4714 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4715 checking for _hurd_dtablesize. Unlock it right after having
4716 finished _hurd_dtable allocation.
4718 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4720 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4721 * sysdeps/mach/hurd/configure: Regenerated.
4722 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4723 special-casing to...
4724 * sysdeps/gnu/configure.in: ... this new file.
4725 * sysdeps/unix/sysv/linux/configure: Regenerated.
4726 * sysdeps/gnu/configure: New generated file.
4728 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4729 for Linux: use nsec instead of usec, as well as:
4730 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4731 members of type struct timespec.
4732 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4734 (struct stat64): Likewise.
4735 (_STATBUF_ST_NSEC): New macro.
4736 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4738 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4739 __strtoul_internal rather than strtoul.
4741 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4743 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4746 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4748 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4749 which preserves existing values.
4750 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4752 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4754 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4755 TIMEOUT values. Return EINVAL for NFDS values either negative or
4756 greater than FD_SETSIZE.
4758 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4760 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4761 allocated, call __vm_protect to finish enabling the existing space, and
4762 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4763 allocate the remainder.
4765 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4767 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4768 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4770 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4772 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4773 sysdeps/mach/hurd/readlink.c.
4775 * posix/tst-sysconf.c (posix_options): Only use
4776 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4777 _POSIX_SYNCHRONIZED_IO when they are defined
4778 * sysdeps/mach/hurd/bits/posix_opt.h:
4779 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4780 (_XOPEN_REALTIME): Undefine macro.
4781 (_XOPEN_REALTIME_THREADS): Undefine macro.
4782 (_XOPEN_SHM): Undefine macro.
4783 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4785 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4787 (_POSIX_ASYNC_IO): Undefine macro.
4788 (_POSIX_PRIORITIZED_IO): Undefine macro.
4789 (_POSIX_SPIN_LOCKS): Define macro to -1.
4791 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4792 SA_NODEFER, SA_RESETHAND.
4793 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4794 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4797 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4799 * elf/Makefile (pldd-modules): Define unconditionally.
4801 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4803 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4805 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4807 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4808 Return ENOENT when name is empty.
4809 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4811 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4813 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4815 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4817 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4819 Fix mlock in all cases except non-readable pages.
4820 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4821 instead of VM_PROT_ALL as parameter to __vm_wire function.
4823 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4824 (__mkdir): When path is `/', just fail with EEXIST.
4825 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4827 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4829 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4830 <sys/uio.h> (for writev).
4831 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4832 and <sys/param.h> (for MIN).
4834 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4836 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4837 REQUESTED_TIME. Properly set the remaining time and return EINTR
4840 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4842 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4843 Depend on against $(link-rpcuserlibs).
4845 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4847 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4848 (__libc_stack_end): Do not use attribute_relro.
4849 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4850 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4851 to libthread-provided value.
4852 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4855 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4858 * bits/libc-lock.h (__libc_once_get): New macro.
4859 * sysdeps/mach/bits/libc-lock.h: Likewise.
4860 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4861 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4862 instead of using implementation details.
4864 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4865 * libio/freopen.c: Likewise.
4866 * libio/freopen64.c: Likewise.
4867 * misc/syslog.c: Likewise.
4868 * nscd/connections.c: Likewise.
4869 * nscd/netgroupcache.c: Likewise.
4870 * sysdeps/posix/getcwd.c: Likewise.
4872 2012-05-10 Roland McGrath <roland@hack.frob.com>
4874 * math/w_ilogbf.c: Add #include <limits.h>.
4876 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4878 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4879 path instead of returning without unlocking.
4881 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4882 immediate-write ioctls.
4883 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4885 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4887 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4888 __builtin_frame_address instead of making assumptions about the
4889 location of the return address relative to DATA. Force early load of
4891 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4892 __builtin_frame_address.
4895 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4896 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4897 implement dup3 and do some further code clean-ups.
4898 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4899 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4901 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4903 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4905 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4906 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4907 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4908 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4909 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4912 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4913 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4914 when handler == SIG_ERR, not when handler != SIG_ERR.
4916 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4918 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4919 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4922 accept4 for GNU Hurd.
4923 * include/sys/socket.h (__libc_accept4): New prototype.
4924 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4925 to implement __libc_accept4.
4926 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4928 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4930 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4931 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4932 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4935 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4937 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4939 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4941 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4942 assertion on O_CLOEXEC flag.
4943 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4944 * hurd/intern-fd.c: Likewise.
4945 * hurd/port2fd.c: Likewise.
4947 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4950 * bits/in.h (IPV6_PKTINFO): Define new macro.
4951 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4953 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4958 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4959 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4960 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4961 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4963 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4964 * math/libm-test.inc (logb_test) : Additional logb tests.
4966 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4967 Andreas Jaeger <aj@suse.de>
4969 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4970 * configure: Regenerated.
4971 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4972 * config.make.in (link-obsolete-rpc): New substituted variable.
4973 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4974 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4975 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4976 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4977 so that libc.a contains the symbols.
4978 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4979 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4980 * sunrpc/auth_none.c: Likewise.
4981 * sunrpc/auth_unix.c: Likewise.
4982 * sunrpc/authdes_prot.c: Likewise.
4983 * sunrpc/authuxprot.c: Likewise.
4984 * sunrpc/clnt_gen.c: Likewise.
4985 * sunrpc/clnt_perr.c: Likewise.
4986 * sunrpc/clnt_raw.c: Likewise.
4987 * sunrpc/clnt_simp.c: Likewise.
4988 * sunrpc/clnt_tcp.c: Likewise.
4989 * sunrpc/clnt_udp.c: Likewise.
4990 * sunrpc/clnt_unix.c: Likewise.
4991 * sunrpc/des_crypt.c: Likewise.
4992 * sunrpc/des_soft.c: Likewise.
4993 * sunrpc/get_myaddr.c: Likewise.
4994 * sunrpc/key_call.c: Likewise.
4995 * sunrpc/key_prot.c: Likewise.
4996 * sunrpc/netname.c: Likewise.
4997 * sunrpc/pm_getmaps.c: Likewise.
4998 * sunrpc/pm_getport.c: Likewise.
4999 * sunrpc/pmap_clnt.c: Likewise.
5000 * sunrpc/pmap_prot.c: Likewise.
5001 * sunrpc/pmap_prot2.c: Likewise.
5002 * sunrpc/pmap_rmt.c: Likewise.
5003 * sunrpc/publickey.c: Likewise.
5004 * sunrpc/rpc_cmsg.c: Likewise.
5005 * sunrpc/rpc_common.c: Likewise.
5006 * sunrpc/rpc_dtable.c: Likewise.
5007 * sunrpc/rpc_prot.c: Likewise.
5008 * sunrpc/rpc_thread.c: Likewise.
5009 * sunrpc/rtime.c: Likewise.
5010 * sunrpc/svc.c: Likewise.
5011 * sunrpc/svc_auth.c: Likewise.
5012 * sunrpc/svc_raw.c: Likewise.
5013 * sunrpc/svc_run.c: Likewise.
5014 * sunrpc/svc_tcp.c: Likewise.
5015 * sunrpc/svc_udp.c: Likewise.
5016 * sunrpc/svc_unix.c: Likewise.
5017 * sunrpc/svcauth_des.c: Likewise.
5018 * sunrpc/xcrypt.c: Likewise.
5019 * sunrpc/xdr.c: Likewise.
5020 * sunrpc/xdr_array.c: Likewise.
5021 * sunrpc/xdr_float.c: Likewise.
5022 * sunrpc/xdr_intXX_t.c: Likewise.
5023 * sunrpc/xdr_mem.c: Likewise.
5024 * sunrpc/xdr_rec.c: Likewise.
5025 * sunrpc/xdr_ref.c: Likewise.
5026 * sunrpc/xdr_sizeof.c: Likewise.
5027 * sunrpc/xdr_stdio.c: Likewise.
5029 2012-05-10 Roland McGrath <roland@hack.frob.com>
5031 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5032 change. Update copyright years.
5034 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5036 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5038 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5039 Joseph Myers <joseph@codesourcery.com>
5040 Paul Pluzhnikov <ppluzhnikov@google.com>
5043 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5045 [cross-compiling] (extra-libs): Likewise.
5046 [cross-compiling] (extra-libs-others): Likewise.
5047 [cross-compiling] (librpcsvc-routines): Likewise.
5048 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5049 [cross-compiling] (omit-deps): Likewise.
5050 (sunrpc-CPPFLAGS): New variable.
5051 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5052 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5053 (cross-rpcgen-objs): New variable.
5054 (extra-objs): Append $(cross-rpcgen-objs).
5055 ($(cross-rpcgen-objs)): New rule.
5056 ($(objpfx)cross-rpcgen): Likewise.
5057 (rpcgen-cmd): Define to use $(built-program-file). Expand
5059 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5060 ($(objpfx)x%.stmp): Likewise.
5061 * sunrpc/proto.h [IS_IN_build] (_): Define.
5062 [IS_IN_build] (_libc_intl_domainname): Likewise.
5064 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5067 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5068 and R_X86_64_TPOFF64.
5070 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5072 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5073 sysdeps/unix/sysv/syscalls.list.
5076 * sysdeps/unix/sysv/syscalls.list: Remove file.
5078 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5081 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5082 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5083 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5084 (__LC_IDENTIFICATION): Make these macros useful in #if
5085 expressions, as required by C99.
5087 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5089 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5090 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5093 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5095 * stdlib/longlong.h: Updated from GCC.
5097 2012-05-09 Andreas Jaeger <aj@suse.de>
5099 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5100 default is first entry.
5101 (run_mode): Set type.
5102 (main): Remove informal message about syslog.
5103 (options): Fix typo.
5106 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5109 (llrintf): Likewise.
5113 (nearbyint): Likewise.
5114 (nearbyintf): Likewise.
5116 2012-05-09 Andreas Jaeger <aj@suse.de>
5117 Pedro Alves <palves@redhat.com>
5119 * nscd/nscd.c (run_mode): Use enum.
5120 (main): Cleanup coding style issue.
5122 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5123 Andreas Jaeger <aj@suse.de>
5125 * nscd/nscd.c (go_background): Replaced with...
5126 (run_mode): ... this.
5127 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5128 (options): Add -F --foreground.
5129 (main): Implement it.
5130 (parse_opt): Parse it.
5132 2012-05-09 Andreas Jaeger <aj@suse.de>
5135 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5136 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5137 -Wconversion warning.
5138 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5141 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5143 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5145 (LC_ALL): Use macro-int-constant.
5146 (LC_COLLATE): Likewise.
5147 (LC_CTYPE): Likewise.
5148 (LC_MESSAGES): Likewise.
5149 (LC_MONETARY): Likewise.
5150 (LC_NUMERIC): Likewise.
5151 (LC_TIME): Likewise.
5152 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5153 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5154 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5155 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5157 [C99-based standards] (float_t): Expect type.
5158 [C99-based standards] (double_t): Expect type.
5159 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5161 [C99-based standards] (HUGE_VALL): Likewise.
5162 [C99-based standards] (INFINITY): Likewise.
5163 [C99-based standards] (NAN): Likewise.
5164 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5165 [C99-based standards] (FP_NAN): Likewise.
5166 [C99-based standards] (FP_NORMAL): Likewise.
5167 [C99-based standards] (FP_SUBNORMAL): Likewise.
5168 [C99-based standards] (FP_ZERO): Likewise.
5169 [C99-based standards] (FP_FAST_FMA): Use
5170 optional-macro-int-constant. Specify type. Require == 1.
5171 [C99-based standards] (FP_FAST_FMAF): Likewise.
5172 [C99-based standards] (FP_FAST_FMAL): Likewise.
5173 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5174 [C99-based standards] (FP_ILOGBNAN): Likewise.
5175 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5177 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5178 [C99-based standards] (math_errhandling): Specify type.
5179 [ISO99 || ISO11] (signgam): Do not allow.
5180 [non-C99-based standards] (copysignf): Do not allow.
5181 [non-C99-based standards] (exp2f): Likewise.
5182 [non-C99-based standards] (log2f): Likewise.
5183 [non-C99-based standards] (modff): Allow.
5184 [non-C99-based standards] (erff): Do not allow.
5185 [non-C99-based standards] (erfcf): Likewise.
5186 [non-C99-based standards] (gammaf): Likewise.
5187 [non-C99-based standards] (hypotf): Likewise.
5188 [non-C99-based standards] (j0f): Likewise.
5189 [non-C99-based standards] (j1f): Likewise.
5190 [non-C99-based standards] (jnf): Likewise.
5191 [non-C99-based standards] (lgammaf): Likewise.
5192 [non-C99-based standards] (tgammaf): Likewise.
5193 [non-C99-based standards] (y0f): Likewise.
5194 [non-C99-based standards] (y1f): Likewise.
5195 [non-C99-based standards] (ynf): Likewise.
5196 [non-C99-based standards] (isnanf): Likewise.
5197 [non-C99-based standards] (acoshf): Likewise.
5198 [non-C99-based standards] (asinhf): Likewise.
5199 [non-C99-based standards] (atanhf): Likewise.
5200 [non-C99-based standards] (cbrtf): Likewise.
5201 [non-C99-based standards] (expm1f): Likewise.
5202 [non-C99-based standards] (ilogbf): Likewise.
5203 [non-C99-based standards] (log1pf): Likewise.
5204 [non-C99-based standards] (logbf): Likewise.
5205 [non-C99-based standards] (nextafterf): Likewise.
5206 [non-C99-based standards] (remainderf): Likewise.
5207 [non-C99-based standards] (rintf): Likewise.
5208 [non-C99-based standards] (scalbf): Likewise.
5209 [non-C99-based standards] (copysignl): Likewise.
5210 [non-C99-based standards] (exp2l): Likewise.
5211 [non-C99-based standards] (log2l): Likewise.
5212 [non-C99-based standards] (modfl): Allow.
5213 [non-C99-based standards] (erfl): Do not allow.
5214 [non-C99-based standards] (erfcl): Likewise.
5215 [non-C99-based standards] (gammal): Likewise.
5216 [non-C99-based standards] (hypotl): Likewise.
5217 [non-C99-based standards] (j0l): Likewise.
5218 [non-C99-based standards] (j1l): Likewise.
5219 [non-C99-based standards] (jnl): Likewise.
5220 [non-C99-based standards] (lgammal): Likewise.
5221 [non-C99-based standards] (tgammal): Likewise.
5222 [non-C99-based standards] (y0l): Likewise.
5223 [non-C99-based standards] (y1l): Likewise.
5224 [non-C99-based standards] (ynl): Likewise.
5225 [non-C99-based standards] (isnanl): Likewise.
5226 [non-C99-based standards] (acoshl): Likewise.
5227 [non-C99-based standards] (asinhl): Likewise.
5228 [non-C99-based standards] (atanhl): Likewise.
5229 [non-C99-based standards] (cbrtl): Likewise.
5230 [non-C99-based standards] (expm1l): Likewise.
5231 [non-C99-based standards] (ilogbl): Likewise.
5232 [non-C99-based standards] (log1pl): Likewise.
5233 [non-C99-based standards] (logbl): Likewise.
5234 [non-C99-based standards] (nextafterl): Likewise.
5235 [non-C99-based standards] (remainderl): Likewise.
5236 [non-C99-based standards] (rintl): Likewise.
5237 [non-C99-based standards] (scalbl): Likewise.
5238 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5239 [non-C99-based standards] (FP_*): Do not allow.
5240 [C99-based standards] (FP_*): Change to
5241 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5242 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5244 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5245 (SIG_ERR): Likewise.
5246 [X/Open-based standards] (SIG_HOLD): Likewise.
5247 (SIG_IGN): Likewise.
5248 (SIGABRT): Use macro-int-constant. Specify type. Require
5253 (SIGSEGV): Likewise.
5255 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5256 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5257 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5258 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5259 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5260 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5261 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5262 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5263 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5264 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5265 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5266 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5267 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5268 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5269 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5270 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5271 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5272 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5273 [X/Open-based standards] (SIGTRAP): Likewise.
5274 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5275 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5276 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5277 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5278 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5281 2012-05-08 Ian Wienand <ianw@vmware.com>
5284 * time/tzset.c (__tzset_parse_tz): Update default rules for
5285 daylight time changes in the Energy Policy Act of 2005.
5287 2012-05-09 Andreas Jaeger <aj@suse.de>
5290 * elf/ldconfig.c (parse_conf): Change string to make clear that
5291 ldconfig only issued a warning if ld.so.conf does not exist.
5293 2012-05-08 David S. Miller <davem@davemloft.net>
5295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5296 movxtod instead of popping the value on the stack.
5298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5300 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5302 * config.h.in: Add HAVE_ARM_PCS_VFP.
5304 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5307 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5308 checking but the checks are disabled for any reason.
5310 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5312 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5313 and ELF64_R_TYPE with ELFW(R_TYPE).
5315 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5317 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5320 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5321 (settimeofday): Likewise.
5323 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5325 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5326 a struct th_u2 inside the union, and move tu_block/tu_code into
5327 a new th_u3 union of tu_block/tu_code inside of that. Move
5328 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5329 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5330 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5331 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5332 (th_stuff): Change to th_u1.tu_stuff.
5334 (th_msg): Change to th_u1.th_u2.tu_data.
5336 2012-05-07 David S. Miller <davem@davemloft.net>
5338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5341 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5342 (SETUP_PIC_REG): Use it.
5343 (SETUP_PIC_REG_LEAF): Use it.
5345 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5349 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5351 (EXPL_FINITE): Likewise.
5353 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5354 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5356 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5358 (EXPL_FINITE): Likewise.
5360 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5361 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5363 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5364 test of -max_value argument for long double.
5365 * sysdeps/i386/fpu/libm-test-ulps: Update.
5366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5368 2012-05-06 David S. Miller <davem@davemloft.net>
5370 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5371 quad soft-float symbols whose references which are compiler
5373 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5375 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5379 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5381 (EXPL_FINITE): Likewise.
5385 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5386 Adjust comments for base varying.
5387 (__expl_finite): Change alias to EXPL_FINITE.
5388 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5390 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5391 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5393 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5394 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5396 (EXPL_FINITE): Likewise.
5400 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5401 Adjust comments for base varying.
5402 (__expl_finite): Change alias to EXPL_FINITE.
5403 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5408 * math/libm-test.inc (check_float_internal): Correct ulp
5409 calculation for subnormal expected results.
5411 2012-05-06 Andreas Jaeger <aj@suse.de>
5413 * Makeconfig (+math-flags): New, set to -frounding-math.
5414 (+cflags): Add +math-flags so that all of glibc gets compiled with
5417 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5419 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5421 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5427 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5428 (__ieee754_expl): Allow for and saturate large arguments.
5429 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5430 (u_threshold): Likewise.
5431 (__exp): Call __ieee754_exp before checking for overflow and
5433 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5434 (u_threshold): Likewise.
5435 (__expf): Call __ieee754_expf before checking for overflow and
5437 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5438 (u_threshold): Likewise.
5439 (__expl): Call __ieee754_expl before checking for overflow and
5441 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5442 (__ieee754_expl): Allow for and saturate large arguments.
5443 * math/libm-test.inc (exp_test): Add another test. Do not allow
5444 missing overflow exception on overflow.
5445 (expm1_test): Do not allow missing overflow exception on overflow.
5447 * sysdeps/i386/fpu/e_expl.c: Move to ...
5448 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5449 rather than using inline asm.
5450 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5451 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5452 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5454 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5461 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5463 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5464 sysdeps/unix/common/syscalls.list.
5467 (ftruncate): Likewise.
5468 (getrusage): Likewise.
5469 (gettimeofday): Likewise.
5470 (setpgid): Likewise.
5471 (setregid): Likewise.
5472 (setreuid): Likewise.
5473 (sigaction): Likewise.
5474 (truncate): Likewise.
5475 (vhangup): Likewise.
5476 * sysdeps/unix/common/syscalls.list: Remove file.
5477 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5478 * sysdeps/unix/sysv/linux/Implies: Likewise.
5480 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5482 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5484 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5488 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5491 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5494 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5497 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5500 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5503 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5506 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5510 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5514 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5517 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5521 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5525 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5527 * sysdeps/unix/common/bits/dirent.h: Remove file.
5528 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5530 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5531 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5532 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5533 * sysdeps/unix/bsd/isatty.c: Likewise.
5534 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5535 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5536 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5538 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5541 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5542 long double comparison inaccuracies.
5543 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5546 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5548 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5549 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5551 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5554 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5555 nonzero digits before rounding a hex value.
5556 * stdlib/tst-strtod.c (tests): Add another test.
5558 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5560 * sysdeps/s390/fpu/libm-test-ulps: Update.
5562 2012-05-03 Andreas Jaeger <aj@suse.de>
5564 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5565 does not get optimized out.
5566 (malloc_opt_barrier): New.
5568 2012-05-03 Andreas Jaeger <aj@suse.de>
5569 Roland McGrath <roland@hack.frob.com>
5571 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5572 intermediate file deletion.
5573 (generated): Add .symlist files.
5575 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5578 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5579 Redirect under this condition.
5580 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5581 [__USE_GNU] (__dprintf_chk): Not under this condition.
5582 [__USE_GNU] (__vdprintf_chk): Likewise.
5583 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5584 under this condition.
5585 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5586 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5587 [__USE_XOPEN2K8] (vdprintf): Likewise.
5588 [__USE_GNU] (__dprintf_chk): Not under this condition.
5589 [__USE_GNU] (__vdprintf_chk): Likewise.
5590 [__USE_GNU] (dprintf): Likewise.
5591 [__USE_GNU] (vdprintf): Likewise.
5593 2012-05-03 Roland McGrath <roland@hack.frob.com>
5595 * elf/Makefile (common-generated): Set this instead of generated for
5596 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5597 $(all-built-dso)-derived lists.
5599 2012-05-03 Andreas Jaeger <aj@suse.de>
5601 * sysdeps/i386/fpu/libm-test-ulps: Update.
5605 * scripts/gen-FAQ.pl: Likewise.
5606 * manual/install.texi (Installation): Point to online location of
5608 * Makefile (files-for-dist): Remove FAQ.
5611 2012-05-02 Allan McRae <allan@archlinux.org>
5613 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5614 (LDFLAGS-reldepmod5.so): Likewise.
5615 (LDFLAGS-reldep6mod1.so): Likewise.
5616 (LDFLAGS-reldep6mod4.so): Likewise.
5617 (LDFLAGS-reldep8mod3.so): Likewise.
5618 (LDFLAGS-unload4mod1.so): Likewise.
5619 (LDFLAGS-unload4mod2.so): Likewise.
5620 (LDFLAGS-tst-initorder): Likewise.
5621 (LDFLAGS-tst-initordera2.so): Likewise.
5622 (LDFLAGS-tst-initordera3.so): Likewise.
5623 (LDFLAGS-tst-initordera4.so): Likewise.
5624 (LDFLAGS-tst-initorderb2.so): Likewise.
5625 (LDFLAGS-noload): Likewise.
5626 (LDFLAGS-next): Likewise.
5627 (LDFLAGS-order2mod1.so): Likewise.
5628 (LDFLAGS-order2mod2.so): Likewise.
5629 (LDFLAGS-tst-initorder2): Likewise.
5630 (LDFLAGS-tst-initorder2a.so): Likewise.
5631 (LDFLAGS-tst-initorder2b.so): Likewise.
5632 (LDFLAGS-tst-initorder2c.so): Likewise.
5633 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5635 2012-05-02 David S. Miller <davem@davemloft.net>
5637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5639 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5642 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5644 2012-05-02 Andreas Jaeger <aj@suse.de>
5646 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5647 since we manipulate rounding mode.
5648 (CPPFLAGS-test-idouble.c): Likewise.
5649 (CPPFLAGS-test-ifloat.c): Likewise.
5650 (CFLAGS-test-ldouble.c): Likewise.
5651 (CFLAGS-test-double.c): Likewise.
5652 (CFLAGS-test-float.c): Likewise.
5653 (CFLAGS-test-misc.c): Likewise.
5654 (CFLAGS-test-test-fenv.c): Likewise.
5656 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5660 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5661 comparisons to determine direction to adjust input.
5663 2012-05-01 Roland McGrath <roland@hack.frob.com>
5665 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5666 output to the target.
5668 * scripts/localplt.awk: New file.
5669 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5670 (check-localplt-CFLAGS): Variable removed.
5671 ($(all-built-dso:=.jmprel)): New static pattern rule.
5672 (generated): Add those targets.
5673 (localplt-built-dso): New variable.
5674 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5676 * elf/check-localplt.c: File removed.
5678 * scripts/check-execstack.awk: New file.
5679 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5680 (check-execstack-CFLAGS): Variable removed.
5681 ($(objpfx)check-execstack.h): Target removed.
5682 ($(objpfx)execstack-default): New target.
5683 (generated): Add that instead of check-execstack.h.
5684 ($(all-built-dso:=.phdr)): New static pattern rule.
5685 (generated): Add those targets.
5686 * elf/check-execstack.c: File removed.
5688 * scripts/check-textrel.awk: New file.
5689 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5690 (check-textrel-CFLAGS): Variable removed.
5691 (all-built-dso): Use := to define.o
5692 ($(all-built-dso:=.dyn)): New static pattern rule.
5693 (generated): Add those targets.
5694 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5695 * config.make.in (READELF): New substituted variable.
5696 * elf/check-textrel.c: File removed.
5698 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5700 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5702 * conform/data/ctype.h-data [C99-based standards] (isblank):
5704 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5705 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5706 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5707 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5708 Specify type. Require positive value.
5711 [ISO || POSIX] (EILSEQ): Do not expect.
5712 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5713 Specify type. Require positive value.
5714 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5715 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5716 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5717 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5718 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5719 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5720 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5721 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5722 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5723 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5724 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5725 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5726 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5727 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5728 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5729 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5730 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5731 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5732 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5734 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5735 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5736 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5737 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5738 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5739 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5740 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5741 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5742 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5743 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5744 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5745 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5746 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5747 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5748 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5749 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5750 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5751 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5752 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5753 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5754 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5755 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5756 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5757 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5758 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5759 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5760 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5761 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5762 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5763 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5764 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5765 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5766 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5767 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5768 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5769 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5770 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5771 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5772 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5773 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5774 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5775 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5776 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5777 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5778 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5779 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5780 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5781 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5782 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5783 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5784 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5785 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5786 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5787 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5788 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5789 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5790 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5792 (FLT_ROUNDS): Expect as macro, not constant.
5793 (FLT_MANT_DIG): Use macro-int-constant.
5794 (DBL_MANT_DIG): Likewise.
5795 (LDBL_MANT_DIG): Likewise.
5796 (FLT_DIG): Likewise.
5797 (DBL_DIG): Likewise.
5798 (LDBL_DIG): Likewise.
5799 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5800 (DBL_MIN_EXP): Likewise.
5801 (LDBL_MIN_EXP): Likewise.
5802 (FLT_MAX_EXP): Use macro-int-constant.
5803 (DBL_MAX_EXP): Likewise.
5804 (LDBL_MAX_EXP): Likewise.
5805 (FLT_MAX_10_EXP): Likewise.
5806 (DBL_MAX_10_EXP): Likewise.
5807 (LDBL_MAX_10_EXP): Likewise.
5808 (FLT_MAX): Use macro-constant.
5809 (DBL_MAX): Likewise.
5810 (LDBL_MAX): Likewise.
5811 (FLT_EPSILON): Use macro-constant. Give upper bound.
5812 (DBL_EPSILON): Likewise.
5813 (LDBL_EPSILON): Likewise.
5814 (FLT_MIN): Likewise.
5815 (DBL_MIN): Likewise.
5816 (LDBL_MIN): Likewise.
5817 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5818 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5819 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5820 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5821 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5822 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5823 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5824 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5825 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5826 [ISO11] (FLT_TRUE_MIN): Likewise.
5827 [ISO11] (LDBL_TRUE_MIN): Likewise.
5828 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5829 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5830 (SCHAR_MIN): Use macro-int-constant. Specify type.
5831 (SCHAR_MAX): Likewise.
5832 (UCHAR_MAX): Likewise.
5833 (CHAR_MIN): Likewise.
5834 (CHAR_MAX): Likewise.
5835 (MB_LEN_MAX): Use macro-int-constant.
5836 (SHRT_MIN): Use macro-int-constant. Specify type.
5837 (SHRT_MAX): Likewise.
5838 (USHRT_MAX): Likewise.
5839 (INT_MAX): Likewise.
5840 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5842 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5844 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5846 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5847 bound negative. Suffix upper bound with "L".
5848 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5850 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5852 [C99-based standards] (LLONG_MAX): Likewise.
5853 [C99-based standards] (ULLONG_MAX): Likewise.
5854 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5856 [ISO11] (max_align_t): Require type.
5857 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5859 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5860 from $CFLAGS, without defining away __attribute__ calls.
5861 (checknamespace): Use $CFLAGS_namespace.
5863 * conform/conformtest.pl (@keywords): Only include C99 keywords
5864 for standards based on C99 or C11.
5866 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5868 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5871 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5872 usability of symbols in #if.
5874 * conform/conformtest.pl: If macro or constant types start
5875 "promoted:", expect the symbol to be of the following type
5876 promoted by the integer promotions.
5878 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5879 in one place. Also handle "macro-constant".
5881 * conform/conformtest.pl: Only accept expected macro values with
5882 "==". Parse all "macro" lines in one place.
5883 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5885 * conform/conformtest.pl: Handle braced types on "constant" lines
5886 instead of handling "typed-constant".
5887 * conform/data/signal.h-data: Use "constant" instead of
5890 * conform/conformtest.pl: Handle "optional-" at start of lines in
5891 one place rather than duplicating several cases. Handle each
5892 format of "macro" line with initial "optional-".
5894 * conform/conformtest.pl: Only accept expected constant or
5895 optional-constant values with "==". Parse all "constant" lines in
5896 one place. Parse all "optional-constant" lines in one place.
5897 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5898 * conform/data/fmtmsg.h-data: Likewise.
5899 * conform/data/netinet/in.h-data: Likewise.
5900 * conform/data/tar.h-data: Likewise.
5901 * conform/data/limits.h-data: Use "==" form on "constant" and
5902 "optional-constant" lines.
5904 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5905 Use -std=c99 for XOPEN2K.
5906 (@knownproblems): Remove.
5907 (newtoken): Don't check %isknown.
5909 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5910 Do not expect macro.
5911 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5912 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5913 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5914 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5915 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5916 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5917 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5918 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5919 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5920 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5921 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5922 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5923 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5924 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5925 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5926 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5927 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5928 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5929 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5930 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5931 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5932 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5933 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5934 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5935 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5936 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5937 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5938 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5939 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5940 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5941 [XPG3] (acosh): Likewise.
5942 [XPG3] (asinh): Likewise.
5943 [XPG3] (atanh): Likewise.
5944 [XPG3] (cbrt): Likewise.
5945 [XPG3] (expm1): Likewise.
5946 [XPG3] (ilogb): Likewise.
5947 [XPG3] (log1p): Likewise.
5948 [XPG3] (logb): Likewise.
5949 [XPG3] (nextafter): Likewise.
5950 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5951 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5952 [XPG3] (remainder): Likewise.
5953 [XPG3] (rint): Likewise.
5954 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5955 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5956 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5957 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5958 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5959 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5960 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5961 [UNIX98 || XOPEN2K] (scalb): Expect.
5962 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5963 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5964 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5965 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5966 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5967 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5968 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5969 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5970 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5971 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5972 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5973 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5974 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5975 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5976 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5977 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5978 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5979 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5980 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5981 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5982 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5983 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5984 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5985 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5986 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5987 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5988 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5989 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5990 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5991 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5992 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5993 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5994 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5995 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5996 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5997 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5998 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5999 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6002 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6003 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6004 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6011 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6012 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6013 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6015 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6016 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6017 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6018 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6019 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6020 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6021 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6022 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6023 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6024 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6025 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6026 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6027 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6028 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6029 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6032 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6033 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6035 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6036 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6037 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6041 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6042 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6043 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6045 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6046 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6047 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6048 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6049 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6050 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6051 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6052 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6053 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6054 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6055 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6056 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6057 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6058 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6059 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6060 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6061 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6062 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6063 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6064 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6065 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6066 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6067 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6068 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6069 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6070 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6071 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6072 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6073 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6074 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6075 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6076 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6077 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6078 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6079 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6080 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6081 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6082 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6083 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6084 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6085 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6086 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6087 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6088 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6089 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6090 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6091 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6092 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6093 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6094 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6095 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6096 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6097 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6098 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6100 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6101 _XOPEN_SOURCE_EXTENDED for XPG4.
6103 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6105 * Makeconfig (localtime): Remove variable.
6106 (inst_localtime-file): Likewise.
6108 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6129 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6133 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6134 comparisons to determine direction to adjust input.
6135 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6136 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6137 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6139 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6141 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6143 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6144 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6146 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6148 * math/libm-test.inc (nexttoward_test): Add more tests.
6150 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6153 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6154 in version GLIBC_2.1, not GLIBC_2.0.
6155 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6158 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6161 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6163 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6164 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6165 * math/libm-test.inc (acos_test): Add more tests.
6166 (asin_test): Likewise.
6167 * sysdeps/i386/fpu/libm-test-ulps: Update.
6168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6171 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6173 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6174 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6175 * math/libm-test.inc (acos_test_tonearest): New function.
6176 (acos_test_towardzero): Likewise.
6177 (acos_test_downward): Likewise.
6178 (acos_test_upward): Likewise.
6179 (asin_test_tonearest): Likewise.
6180 (asin_test_towardzero): Likewise.
6181 (asin_test_downward): Likewise.
6182 (asin_test_upward): Likewise.
6183 (main): Call the new functions.
6184 * sysdeps/i386/fpu/libm-test-ulps: Update.
6185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6189 * math/e_exp10.c: Include <float.h>.
6190 (__ieee754_exp10): Handle underflow here rather than multiplying
6191 large negative argument by M_LN10.
6192 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6194 * math/e_exp10l.c: Include <float.h>.
6195 (__ieee754_exp10l): Handle underflow here rather than multiplying
6196 large negative argument by M_LN10l.
6197 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6198 spurious overflow exception on underflow.
6200 2012-04-29 Marek Polacek <polacek@redhat.com>
6202 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6203 (__fortify_function): New macro.
6204 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6205 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6206 __extern_always_inline.
6207 * libio/bits/stdio2.h: Likewise.
6208 * libio/bits/stdio.h: Likewise.
6209 * string/string.h: Likewise.
6210 * string/bits/string3.h: Likewise.
6211 * include/stdio.h: Likewise.
6212 * stdlib/bits/stdlib.h: Likewise.
6213 * stdlib/stdlib.h: Likewise.
6214 * rt/bits/mqueue2.h: Likewise.
6215 * rt/mqueue.h: Likewise.
6216 * posix/bits/unistd.h: Likewise.
6217 * posix/unistd.h: Likewise.
6218 * io/bits/poll2.h: Likewise.
6219 * io/bits/fcntl2.h: Likewise.
6220 * io/fcntl.h: Likewise.
6221 * io/sys/poll.h: Likewise.
6222 * misc/bits/syslog.h: Likewise.
6223 * misc/bits/syslog-ldbl.h: Likewise.
6224 * misc/sys/syslog.h: Likewise.
6225 * socket/bits/socket2.h: Likewise.
6226 * socket/sys/socket.h: Likewise.
6227 * debug/tst-chk1.c: Likewise.
6228 * wcsmbs/bits/wchar2.h: Likewise.
6229 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6230 * wcsmbs/wchar.h: Likewise.
6232 2012-04-29 Andreas Jaeger <aj@suse.de>
6234 * Makerules (tests): Remove enable-check-abi protection.
6235 (check-abi-warn): Remove.
6236 (check-abi-%): Remove check-abi-warn usage.
6238 * configure.in: Remove check-abi configure option.
6239 * configure: Regenerated.
6240 * config.make.in (enable-check-abi): Remove.
6242 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6245 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6246 double functions to double *_finite functions.
6249 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6250 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6252 * stdio-common/Makefile (tests): Add tst-sprintf3.
6253 * stdio-common/tst-sprintf3.c: New file.
6255 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6256 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6258 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6260 * conform/conformtest.pl: Remove duplicate typed-constant
6263 2012-04-28 David S. Miller <davem@davemloft.net>
6265 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6266 (check-abi-%): Remove AWK script prerequisite and explicit
6268 (check-abi): Rewrite to just diff the symlist with the abilist.
6269 (config-tls, config-abi-config): Delete, no longer used.
6270 (update-abi-%): Remove AWK script and explicit abilist directory.
6271 (update-abi): Rewrite to simply compare and conditionally copy the
6272 symlist and the sysdep abilist file. Remove update-abi-config
6274 * abilist/ld.abilist: Remove.
6275 * abilist/libBrokenLocale.abilist: Remove.
6276 * abilist/libanl.abilist: Remove.
6277 * abilist/libcrypt.abilist: Remove.
6278 * abilist/libdl.abilist: Remove.
6279 * abilist/librt.abilist: Remove.
6280 * abilist/libthread_db.abilist: Remove.
6281 * abilist/libutil.abilist: Remove.
6282 * scripts/extract-abilist.awk: Remove.
6283 * scripts/merge-abilist.awk: Remove.
6284 * sysdeps/generic/libcidn.abilist: New file.
6285 * sysdeps/generic/libnss_compat.abilist: New file.
6286 * sysdeps/generic/libnss_db.abilist: New file.
6287 * sysdeps/generic/libnss_dns.abilist: New file.
6288 * sysdeps/generic/libnss_files.abilist: New file.
6289 * sysdeps/generic/libnss_hesiod.abilist: New file.
6290 * sysdeps/generic/libnss_nis.abilist: New file.
6291 * sysdeps/generic/libnss_nisplus.abilist: New file.
6292 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6293 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6294 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6296 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6297 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6298 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6299 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6300 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6301 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6302 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6303 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6304 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6306 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6307 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6308 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6309 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6311 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6312 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6313 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6314 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6315 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6316 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6318 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6319 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6320 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6322 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6425 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6426 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6427 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6430 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6431 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6432 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6433 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6434 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6435 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6436 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6437 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6438 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6490 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6492 * conform/conformtest.pl: Fix typo in handling typed-constant from
6495 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6497 * README: Cut down references to pre-2.6 Linux kernels and
6498 Linuxthreads. Update lists of configurations in libc and ports
6499 and sort alphabetically. Say "or newer" with Linux kernel version
6502 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6504 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6507 * math/libm-test.inc (logb_test_downward): New test to expose
6508 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6511 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6514 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6516 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6517 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6519 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6521 * sysdeps/unix/i386/brk.S: Remove file.
6522 * sysdeps/unix/i386/dl-brk.S: Likewise.
6523 * sysdeps/unix/i386/pipe.S: Likewise.
6524 * sysdeps/unix/i386/sigreturn.S: Likewise.
6525 * sysdeps/unix/i386/syscall.S: Likewise.
6526 * sysdeps/unix/i386/vfork.S: Likewise.
6527 * sysdeps/unix/i386/wait.S: Likewise.
6529 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6530 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6532 * configure.in (arm*-none*): Do not allow without
6533 --enable-hacker-mode.
6534 (netbsd*): Remove case setting base_os.
6535 (386bsd*): Likewise.
6536 (freebsd*): Likewise.
6540 (ultrix*): Likewise.
6541 (newsos*): Likewise.
6551 (solaris[2-9]*): Likewise.
6553 * configure: Regenerated.
6555 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6558 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6559 overflow or cancellation in calculating denominator.
6560 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6561 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6562 down expression to avoid unexpected rounding in newer GCCs.
6563 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6565 2012-04-26 David S. Miller <davem@davemloft.net>
6567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6568 long-double compat symbols.
6569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6583 2012-04-25 David S. Miller <davem@davemloft.net>
6585 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6586 HWCAP_* values only after the memory barriers have been defined.
6587 (atomic_full_barrier): Define.
6588 (atomic_read_barrier): Define.
6589 (atomic_write_barrier): Define.
6591 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6593 * shlib-versions: Add libgcc_s version information.
6594 * sysdeps/generic/libgcc_s.h: Remove.
6595 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6597 * sysdeps/gnu/unwind-resume.c: Likewise.
6598 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6600 2012-04-25 David S. Miller <davem@davemloft.net>
6602 * sysdeps/unix/sparc/brk.S: Delete.
6603 * sysdeps/unix/sparc/dl-brk.S: Delete.
6604 * sysdeps/unix/sparc/pipe.S: Delete.
6605 * sysdeps/unix/sparc/sysdep.S: Delete.
6606 * sysdeps/unix/sparc/sysdep.h: Delete.
6607 * sysdeps/unix/sparc/vfork.S: Delete.
6608 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6609 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6610 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6611 ret_ERRVAL, r0, r1, MOVE): Define.
6612 (JUMPTARGET): Remove.
6613 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6614 sysdeps/unix/sparc/sysdep.h
6615 (ENTRY, END): Remove.
6616 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6618 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6620 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6621 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6624 * timezone/README: Update upstream location and email address for
6626 * timezone/zdump.c: Update from tzcode 2012b.
6627 * timezone/zic.c: Likewise.
6629 * configure.in (libc_cv_as_needed): Remove test.
6630 * configure: Regenerated.
6631 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6632 conditional definition.
6633 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6634 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6635 * config.make.in (have-as-needed): Remove variable.
6637 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6638 Paul Pluzhnikov <ppluzhnikov@google.com>
6640 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6643 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6645 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6646 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6647 * sysdeps/sh/strlen.S: Likewise.
6649 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6651 * sysdeps/unix/fork.S: Remove file.
6652 * sysdeps/unix/i386/fork.S: Likewise.
6653 * sysdeps/unix/sparc/fork.S: Likewise.
6655 * sysdeps/unix/system.c: Remove file.
6656 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6658 * sysdeps/unix/getegid.S: Remove file.
6659 * sysdeps/unix/geteuid.S: Likewise.
6661 2012-04-24 Roland McGrath <roland@hack.frob.com>
6663 * scripts/check-localplt.awk: New file.
6664 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6666 * scripts/data/localplt-generic.data: Add a comment.
6668 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6669 NODE when __dir_mkfile failed.
6670 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6671 Reported by Ludovic Courtès <ludo@gnu.org>.
6673 2012-04-24 Andreas Jaeger <aj@suse.de>
6675 * Makerules (common-clean): Also remove gen-as-const-headers
6678 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6680 * Makerules (native-compile): Do not change working directory for
6681 build. Use $(OUTPUT_OPTION) in command.
6682 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6684 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6687 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6688 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6689 * math/libm-test.inc (floor_test): Add more tests.
6690 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6692 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6694 * sysdeps/unix/getdents.c: Remove file.
6695 * sysdeps/unix/sysv/getdents.c: Likewise.
6696 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6698 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6699 sysdeps/unix/mman/syscalls.list.
6701 (mprotect): Likewise.
6704 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6705 * sysdeps/unix/mman/syscalls.list: Remove.
6706 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6708 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6709 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6710 * configure: Regenerated.
6711 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6713 * config.make.in (libgcc_s_suffix): Remove variable.
6715 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6717 * sysdeps/unix/sysv/gethostname.c: Move to ...
6718 * sysdeps/posix/gethostname.c: ... here.
6720 * sysdeps/unix/execve.S: Remove file.
6722 * sysdeps/unix/_exit.S: Remove file.
6724 2012-04-23 Andreas Jaeger <aj@suse.de>
6727 * manual/Makefile: Remove make dist support, there's no
6728 need for a stand-alone documentation tar ball.
6729 (TEXI2DVI): Define always, it's not in Makeconfig.
6733 (glibc-doc-$(edition).tar): Removed
6737 (ETAGS): Remove, it's in Makeconfig.
6738 (move-if-change): Remove, it's in Makeconfig.
6740 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6743 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6744 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6745 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6746 (strtod_l, strtof_l, strtold_l): Remove __wur.
6747 It is not necessarily an error to ignore strtol's return value.
6748 One can reliably look at the stored endptr to decide whether
6749 the number had valid syntax.
6751 2012-04-21 Andreas Jaeger <aj@suse.de>
6754 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6756 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6758 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6759 * sysdeps/unix/sysv/Versions: Remove file.
6761 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6766 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6769 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6770 version from __vm86.
6772 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6774 * sysdeps/unix/common/lxstat.c: Remove file.
6775 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6777 * sysdeps/unix/sysv/Makefile: Remove file.
6779 * sysdeps/unix/sysv/direct.h: Remove file.
6781 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6782 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6783 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6784 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6785 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6786 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6787 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6789 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6791 * sysdeps/unix/xmknod.c: Remove file.
6792 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6794 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6796 * sysdeps/unix/sysv/i386/time.S: Remove file.
6798 * sysdeps/unix/fxstat.c: Remove file.
6799 * sysdeps/unix/xstat.c: Likewise.
6800 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6802 * sysdeps/unix/sysv/sigaction.c: Remove file.
6804 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6805 (sysdep_headers): Remove variable.
6806 [termio.h not in sysdep_headers] (generated): Likewise.
6807 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6808 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6809 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6810 * sysdeps/unix/sysv/tcflow.c: Likewise.
6811 * sysdeps/unix/sysv/tcflush.c: Likewise.
6812 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6813 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6814 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6815 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6816 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6818 * sysdeps/unix/siglist.c: Remove file.
6820 * sysdeps/unix/getppid.S: Remove file.
6822 * sysdeps/unix/mkdir.c: Remove file.
6823 * sysdeps/unix/rmdir.c: Likewise.
6825 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6827 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6829 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6830 errlist-compat value.
6832 2012-04-18 David S. Miller <davem@davemloft.net>
6834 * sysdeps/generic/memcopy.h (reg_char): Delete.
6835 * debug/strcat_chk.c: Use char, not reg_char.
6836 * debug/strcpy_chk.c: Likewise.
6837 * debug/strncat_chk.c: Likewise.
6838 * debug/strncpy_chk.c: Likewise.
6839 * string/memchr.c: Likewise.
6840 * string/memrchr.c: Likewise.
6841 * string/rawmemchr.c: Likewise.
6842 * string/strcat.c: Likewise.
6843 * string/strchr.c: Likewise.
6844 * string/strchrnul.c: Likewise.
6845 * string/strcmp.c: Likewise.
6846 * string/strcpy.c: Likewise.
6847 * string/strncat.c: Likewise.
6848 * string/strncmp.c: Likewise.
6849 * string/strncpy.c: Likewise.
6851 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6853 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6854 __builtin_memcopy is called when src and dest ranges are known to not
6857 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6859 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6860 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6861 fwd_align_merge macro call.
6862 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6863 bwd_align_merge macro call.
6864 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6866 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6868 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6869 bwd_align_merge macros.
6870 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6871 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6872 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6874 2012-04-18 David S. Miller <davem@davemloft.net>
6876 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6878 2012-04-18 Andreas Jaeger <aj@suse.de>
6881 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6882 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6883 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6885 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6886 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6887 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6889 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6890 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6891 Adjust for changed ldbl-128 files.
6893 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6894 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6895 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6897 2012-04-17 David S. Miller <davem@davemloft.net>
6899 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6901 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6903 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6904 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6905 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6906 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6907 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6908 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6910 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6913 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6914 * math/libm-test.inc: Add ilogb errno and exception tests.
6915 * math/w_ilogb.c: New file: ilogb wrapper.
6916 * math/w_ilogbf.c: New file: ilogbf wrapper.
6917 * math/w_ilogbl.c: New file: ilogbl wrapper.
6918 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6919 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6920 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6921 exception being thrown with 0.0 as argument.
6922 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6923 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6924 exception being thrown with 0.0 as argument.
6925 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6926 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6927 exception being thrown with 0.0 as argument.
6928 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6929 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6930 exception being thrown with 0.0 as argument.
6931 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6932 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6933 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6934 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6935 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6936 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6937 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6938 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6939 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6941 2012-04-17 Petr Baudis <pasky@ucw.cz>
6943 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6946 2012-04-16 Marek Polacek <polacek@redhat.com>
6948 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6950 2012-04-16 Marek Polacek <polacek@redhat.com>
6952 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6953 operands of fdivp instruction.
6955 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6957 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6958 * elf/tst-auditmod3b.c: Likewise.
6959 * elf/tst-auditmod4b.c: Likewise.
6960 * elf/tst-auditmod5b.c: Likewise.
6961 * elf/tst-auditmod6b.c: Likewise.
6962 * elf/tst-auditmod6c.c: Likewise.
6963 * elf/tst-auditmod7b.c: Likewise.
6964 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6965 * sysdeps/x86_64/preconfigure.in: Likewise.
6966 * sysdeps/x86_64/preconfigure: Regenerated.
6968 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6970 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6973 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6975 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6976 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6978 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6981 * locale/iso-639.def: Fix gl language name. Spotted by
6984 2012-04-12 Roland McGrath <roland@hack.frob.com>
6987 * libio/libio.h (__io_write_fn): Update comment.
6989 2012-04-12 Petr Baudis <pasky@ucw.cz>
6992 * stdio.texi (Hook Functions): The user provided writer function
6993 is not allowed to return -1.
6995 2012-04-11 David S. Miller <davem@davemloft.net>
6997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6999 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7001 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7002 Add a leading slash to rtkaio.
7004 2012-04-11 Jim Meyering <meyering@redhat.com>
7007 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7008 It is not necessarily an error to ignore fwrite's return
7009 value. One can reliably use ferror to test for errors after
7012 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7014 * bits/types.h (__snseconds_t): New type.
7015 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7017 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7019 (__SNSECONDS_T_TYPE): Likewise.
7020 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7021 (__SNSECONDS_T_TYPE): Likewise.
7022 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7023 (__SNSECONDS_T_TYPE): Likewise.
7025 2012-04-10 Andreas Jaeger <aj@suse.de>
7028 * manual/time.texi (Processor Time): Return type of times is
7029 elapsed real time since an arbitrary point in the past.
7030 (CPU Time): Move CLK_TCK from here...
7031 (Processor Time): ...to here. Correct description.
7032 * manual/conf.texi (Constants for Sysconf): Correct description of
7035 2012-04-10 David S. Miller <davem@davemloft.net>
7038 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7039 where the is a gap between DT_REL(A) and DT_JMPREL.
7041 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7043 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7044 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7045 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7047 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7049 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7050 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7051 (dl_main): Handle --inhibit-cache.
7052 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7054 * elf/dl-load.c (_dl_map_object): Use it.
7055 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7057 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7060 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7061 (__ieee754_powl): Saturate large exponents rather than testing for
7062 overflow of y*log2(x).
7063 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7064 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7068 * math/s_ctan.c: Include <float.h>.
7069 (__ctan): Avoid internal overflow or cancellation in calculating
7071 * math/s_ctanf.c: Likewise.
7072 * math/s_ctanl.c: Likewise.
7073 * math/s_ctanh.c: Likewise.
7074 * math/s_ctanhf.c: Likewise.
7075 * math/s_ctanhl.c: Likewise.
7076 * math/libm-test.inc (ctan_test): Add more tests.
7077 (ctanh_test): Likewise.
7078 * sysdeps/i386/fpu/libm-test-ulps: Update.
7079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7081 2012-04-09 Andreas Jaeger <aj@suse.de>
7084 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7085 is an optional BSD extension.
7088 * manual/stdio.texi (Opening Streams): Document additional fopen
7091 2012-04-09 Roland McGrath <roland@hack.frob.com>
7093 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7094 %eax without telling the compiler.
7096 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7099 * manual/install.texi: Use sourceware.org.
7101 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7104 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7105 (__ieee754_pow): Generate overflow and underflow using huge*huge
7106 and tiny*tiny rather than just returning constant infinity or zero
7107 for large exponents.
7108 * math/libm-test.inc (pow_test): Require overflow exceptions for
7109 applicable cases of large exponents.
7112 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7113 (__ieee754_pow): Use iterative multiplication algorithm only for
7114 integer exponents with absolute value below 1024. Check for odd
7115 integer exponents when using algorithm for real exponents.
7116 * math/libm-test.inc (pow_test): Add more tests.
7117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7119 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7122 * math/libm-test.inc (exp_test): Do not allow overflow exception
7125 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7128 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7129 instead of __kernel_standard_f.
7131 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7133 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7134 * sysdeps/x86_64/memset_chk.S: Likewise.
7136 2012-04-08 Andreas Jaeger <aj@suse.de>
7139 * manual/startup.texi (Environment Access): Describe return value
7140 for putenv and setenv.
7143 * manual/filesys.texi (Directory Entries): Add description for
7147 * manual/filesys.texi (Directory Entries): Clarify that it's file
7148 system not operating system in the description of DT_UNKNOWN.
7151 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7153 2012-04-08 Stephen Compall <s11@member.fsf.org>
7156 * manual/llio.texi (Opening and Closing Files): Add cross
7157 reference to explain mode argument.
7159 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7161 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7162 * sysdeps/x86_64/memset_chk.S: Likewise.
7164 2012-04-07 David S. Miller <davem@davemloft.net>
7166 * elf/elf.h (R_SPARC_WDISP10): Define.
7167 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7170 R_SPARC_SIZE64 and R_SPARC_H34.
7172 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7174 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7175 conditions and remove no longer applicable assertion.
7177 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7179 * bits/byteswap.h: Include <features.h>.
7180 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7181 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7183 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7185 * bits/byteswap.h (__bswap_16): Removed.
7186 Include <bits/byteswap-16.h> to get __bswap_16.
7187 * sysdeps/i386/bits/byteswap.h: Likewise.
7188 * sysdeps/s390/bits/byteswap.h: Likewise.
7189 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7190 * bits/byteswap-16.h: New file.
7191 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7192 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7193 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7194 * string/Makefile (headers): Add bits/byteswap-16.h.
7196 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7199 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7201 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7202 * nss/tst-nss-static.c: New.
7204 2012-04-06 Robert Millan <rmh@gnu.org>
7207 * manual/llio.texi (File Position Primitive): lseek
7208 refers to WHENCE when it really means OFFSET.
7210 2012-04-06 Andreas Jaeger <aj@suse.de>
7212 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7213 strncmp declarations.
7215 * abilist/libc.abilist: Add __poll and __ppoll.
7217 2012-04-05 David S. Miller <davem@davemloft.net>
7219 * scripts/check-local-headers.sh: Accept a host triplet in the
7220 path matched by the exclude regexp.
7222 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7224 * sysdeps/powerpc/powerpc32/dl-machine.h
7225 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7226 * sysdeps/s390/s390-32/dl-machine.h
7227 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7228 * sysdeps/sparc/sparc32/dl-machine.h
7229 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7230 * sysdeps/sparc/sparc64/dl-machine.h
7231 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7233 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7235 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7236 undefined symbol errors.
7238 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7241 2012-04-05 Michael Matz <matz@suse.de>
7244 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7246 2012-04-05 Andreas Jaeger <aj@suse.de>
7249 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7252 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7254 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7255 which ROUND is no valid rounding mode.
7257 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7259 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7261 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7263 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7265 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7266 an exception using FPU order intentionally.
7268 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7270 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7271 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7272 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7273 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7275 2012-04-05 Simon Josefsson <simon@josefsson.org>
7278 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7279 EINVAL when BUFLEN is too smal.
7281 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7284 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7285 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7287 2012-04-03 Andreas Jaeger <aj@suse.de>
7290 * manual/setjmp.texi (System V contexts): Fix sentence.
7293 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7294 New macro for this case.
7295 [!__GNUC__] (__bswap_64): New inline function for this case.
7296 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7297 * bits/byteswap.h: Likewise.
7298 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7299 ull, guard with __GLIBC_HAVE_LONG_LONG.
7301 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7302 __GLIBC_HAVE_LONG_LONG.
7304 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7305 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7307 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7310 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7311 inptr and inend, rather than using last_ch.
7313 2012-04-02 David S. Miller <davem@davemloft.net>
7315 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7316 * stdio-common/printf-parse.h (read_int): Change return type to
7317 'int', return -1 on INT_MAX overflow.
7318 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7319 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7320 overflows INT_MAX. Check for overflow of in-format-string precision
7321 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7322 SIZE_MAX not INT_MAX for integer overflow test.
7323 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7324 skip the construct in the format string but do not record anything.
7325 * stdio-common/bug22.c: Adjust to test both width/prevision
7326 INT_MAX overflow as well as total length INT_MAX overflow. Check
7327 explicitly for proper errno values.
7329 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7331 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7333 * string/test-strcmp.c [! WIDE]: Likewise.
7334 * time/tst-mktime2.c: Likewise for INT_MAX.
7335 * string/test-string.h: #include <sys/param.h> for MIN.
7337 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7338 * sysdeps/i386/init-first.c (init): Likewise.
7339 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7340 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7341 * sysdeps/sh/init-first.c (init): Likewise.
7343 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7345 * po/ru.po: Update from translation team.
7346 * po/vi.po: Likewise.
7348 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7350 * resolv/nss_dns/dns-host.c: Merge copyright years.
7352 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7354 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7355 Optimize memcpy with prefetch if
7356 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7357 src, dst pointers have unequal 16 byte alignments.
7359 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7362 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7363 from a CNAME entry and return the minimum ttl for the query.
7364 (gaih_getanswer_slice): Likewise.
7366 2012-03-30 Jeff Law <law@redhat.com>
7368 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7370 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7371 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7373 * resolv/nss_dns/dns-host.c: Update copyright year.
7375 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7377 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7378 requests to save a system call. Fix check that all bytes are sent.
7380 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7381 comments for sendmmsg.
7383 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7386 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7387 with only 1 character between 0x0041 and 0x01b0.
7388 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7389 * wcsmbs/tst-mbsnrtowcs.c: New file.
7391 2012-03-29 David S. Miller <davem@davemloft.net>
7393 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7394 small copies by hand.
7396 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7399 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7400 _nss_compat_initgroups_dyn): Fall back to malloc/free
7401 for large group memberships.
7403 2012-03-28 David S. Miller <davem@davemloft.net>
7405 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7406 that branches into memcpy.
7407 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7408 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7409 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7410 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7413 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7415 * sysdeps/sparc/mempcpy.S: New file.
7417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7418 the IFUNC routine in the libc case.
7419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7421 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7422 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7423 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7424 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7425 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7426 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7427 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7428 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7430 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7431 loop to 256 bytes instead of 64 bytes and fix test signedness.
7433 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7434 * sysdeps/sparc/sparc32/Makefile: rather than here...
7435 * sysdeps/sparc/sparc64/Makefile: and here.
7437 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7439 * malloc/mallocbug.c: Avoid warnings about unused variables.
7441 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7444 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7445 in the right place. Discard and retry query if response is
7446 larger than input buffer size.
7448 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7453 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7454 x for large integer exponent.
7455 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7456 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7457 sign of result as needed afterwards.
7458 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7459 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7460 result for underflowing pow the same as for overflow.
7461 (__kernel_standard_l): Handle powl overflow and underflow here
7462 rather than calling __kernel_standard.
7463 * math/libm-test.inc (pow_test): Add more tests.
7478 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7479 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7480 (__kernel_standard_l): New function.
7481 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7483 * math/w_acosl.c (__acosl): Likewise.
7484 * math/w_asinl.c (__asinl): Likewise.
7485 * math/w_atan2l.c (__atan2l): Likewise.
7486 * math/w_atanhl.c (__atanhl): Likewise.
7487 * math/w_coshl.c (__coshl): Likewise.
7488 * math/w_exp10l.c (__exp10l): Likewise.
7489 * math/w_exp2l.c (__exp2l): Likewise.
7490 * math/w_fmodl.c (__fmodl): Likewise.
7491 * math/w_hypotl.c (__hypotl): Likewise.
7492 * math/w_j0l.c (__j0l, __y0l): Likewise.
7493 * math/w_j1l.c (__j1l, __y1l): Likewise.
7494 * math/w_jnl.c (__jnl, __ynl): Likewise.
7495 * math/w_lgammal.c (__lgammal): Likewise.
7496 * math/w_log10l.c (__log10l): Likewise.
7497 * math/w_log2l.c (__log2l): Likewise.
7498 * math/w_logl.c (__logl): Likewise.
7499 * math/w_powl.c (__powl): Likewise.
7500 * math/w_remainderl.c (__remainderl): Likewise.
7501 * math/w_scalbl.c (sysv_scalbl): Likewise.
7502 * math/w_sinhl.c (__sinhl): Likewise.
7503 * math/w_sqrtl.c (__sqrtl): Likewise.
7504 * math/w_tgammal.c (__tgammal): Likewise.
7505 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7506 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7507 * math/libm-test.inc (acos_test): Add more tests.
7508 (acosh_test): Likewise.
7509 (asin_test): Likewise.
7510 (atanh_test): Likewise.
7511 (exp_test): Likewise.
7512 (exp10_test): Likewise.
7513 (exp2_test): Likewise.
7514 (expm1_test): Likewise.
7515 (lgamma_test): Likewise.
7516 (log_test): Likewise.
7517 (log10_test): Likewise.
7518 (log1p_test): Likewise.
7519 (log2_test): Likewise.
7520 (pow_test): Do not allow some spurious overflow exceptions.
7521 (sqrt_test): Add more tests.
7522 (tgamma_test): Likewise.
7523 (y0_test): Likewise.
7524 (y1_test): Likewise.
7525 (yn_test): Likewise.
7527 2012-03-27 Anton Blanchard <anton@samba.org>
7529 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7531 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7532 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7533 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7535 2012-03-27 David S. Miller <davem@davemloft.net>
7537 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7539 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7542 2012-03-27 Andreas Jaeger <aj@suse.de>
7544 * sysdeps/x86_64/elf/configure.in: Moved to ...
7545 * sysdeps/x86_64/configure.in: ... here.
7546 * sysdeps/x86_64/elf/start.S: Moved to ...
7547 * sysdeps/x86_64/start.S: ... here.
7548 * sysdeps/x86_64/elf/configure: Delete.
7550 * sysdeps/x86_64/configure.in: Merge contents from
7551 sysdeps/i386/configure.in (without i686 check).
7553 * sysdeps/i386/elf/Versions: Merge into ...
7554 * sysdeps/i386/Versions: ... this.
7555 * sysdeps/i386/elf/Versions: Delete file.
7556 * sysdeps/i386/elf/start.S: Moved to ...
7557 * sysdeps/i386/start.S: ...here.
7558 * sysdeps/i386/elf/configure.in: Merge into...
7559 * sysdeps/i386/configure.in: ...here.
7560 * sysdeps/i386/elf/configure.in: Delete file.
7561 * sysdeps/i386/elf/configure: Delete file.
7563 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7564 * debug/backtracesyms.c: ... here.
7565 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7566 * debug/backtracesymsfd.c: ... here.
7567 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7568 * sysdeps/generic/ifunc-sel.h: ... here.
7570 * sysdeps/unix/i386/start.c: Delete file.
7571 * sysdeps/unix/sparc/start.c: Delete file.
7572 * sysdeps/unix/start.c: Delete file.
7574 * sysdeps/sh/elf/configure.in: Moved to ...
7575 * sysdeps/sh/configure.in: ... here.
7576 * sysdeps/sh/elf/start.S: Moved to ...
7577 * sysdeps/sh/start.S: ... here.
7578 * sysdeps/sh/elf/configure: Delete file.
7580 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7581 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7582 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7583 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7584 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7585 * sysdeps/powerpc/powerpc64/start.S: here.
7586 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7587 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7588 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7589 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7590 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7592 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7593 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7594 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7595 * sysdeps/powerpc/powerpc32/start.S: ... here.
7596 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7597 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7598 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7600 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7601 * sysdeps/powerpc/ifunc-sel.h: ... here.
7602 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7603 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7605 * sysdeps/sparc/elf/configure.in: Moved to ...
7606 * sysdeps/sparc/configure.in: ... here.
7607 * sysdeps/sparc/elf/configure: Delete file.
7608 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7609 * sysdeps/sparc/sparc32/start.S: ... here.
7610 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7611 * sysdeps/sparc/sparc64/start.S: ... here.
7612 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7613 * sysdeps/sparc/sparc32/Makefile: ... this.
7614 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7615 * sysdeps/sparc/sparc64/Makefile: ... this.
7617 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7618 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7619 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7620 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7621 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7622 * sysdeps/s390/s390-32/setjmp.S: ... here.
7623 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7624 * sysdeps/s390/s390-32/configure.in: ... here.
7625 * sysdeps/s390/s390-32/elf/configure: Delete file.
7626 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7627 * sysdeps/s390/s390-32/start.S: ... here.
7629 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7630 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7631 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7632 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7633 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7634 * sysdeps/s390/s390-64/setjmp.S: ... here.
7635 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7636 * sysdeps/s390/s390-64/configure.in: ... here
7637 * sysdeps/s390/s390-64/elf/configure: Delete file.
7638 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7639 * sysdeps/s390/s390-64/start.S: ... here.
7640 * sysdeps/s390/s390-64/elf/configure: Delete.
7642 * configure.in: Remove support for elf directories in sysdeps.
7644 * configure: Regenerated.
7645 * sysdeps/i386/configure: Regenerated.
7646 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7647 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7648 * sysdeps/s390/s390-32/configure: Regenerated.
7649 * sysdeps/s390/s390-64/configure: Regenerated.
7650 * sysdeps/sh/configure: Regenerated.
7651 * sysdeps/sparc/configure: Regenerated.
7652 * sysdeps/x86_64/configure: Regenerated.
7654 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7658 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7659 denormal result into account.
7661 2012-03-25 Roland McGrath <roland@hack.frob.com>
7663 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7664 Reported by Allan McRae <allan@archlinux.org>.
7666 2012-03-23 Jeff Law <law@redhat.com>
7668 * nss/getnssent.c (__nss_getent): Fix typo.
7670 2012-03-23 David S. Miller <davem@davemloft.net>
7672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7674 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7676 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7677 to pad to uint64_t for each field.
7678 (dl_tls_index): Replace unsigned long with uint64_t.
7680 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7681 Paul Pluzhnikov <ppluzhnikov@google.com>
7684 * grp/Makefile (otherlibs): Don't set it.
7685 * inet/Makefile (otherlibs): Likewise.
7686 * login/Makefile (otherlibs): Likewise.
7687 * nscd/Makefile (otherlibs): Likewise.
7688 * posix/Makefile (otherlibs): Likewise.
7689 * pwd/Makefile (otherlibs): Likewise.
7690 * rt/Makefile (otherlibs): Likewise.
7691 * sunrpc/Makefile (otherlibs): Likewise.
7692 * nss/Makefile (otherlibs): Likewise.
7693 Add libnss_files to routines and static-only-routines.
7694 ($(objpfx)getent): Remove rule.
7695 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7696 static-only-routines.
7698 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7701 * math/s_cexp.c: Include <float.h>.
7702 (__cexp): Handle exp result overflowing not necessarily
7703 overflowing both real and imaginary parts of result.
7704 * math/s_cexpf.c: Likewise.
7705 * math/s_cexpl.c: Likewise.
7706 * math/libm-test.inc (cexp_test): Add more tests.
7707 * sysdeps/i386/fpu/libm-test-ulps: Update.
7708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7710 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7712 * include/link.h (ELFW): New macro.
7713 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7714 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7716 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7718 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7721 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7723 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7725 (struct La_x32_retval): Likewise.
7727 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7729 * sysdeps/x86_64/preconfigure.in: New file.
7730 * sysdeps/x86_64/preconfigure: New generated file.
7732 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7735 * math/e_exp2l.c: Include <float.h>.
7736 (__ieee754_exp2l): Handle overflow and underflow cases
7737 separately. Only pass fractional part of argument to
7739 * math/libm-test.inc (exp2_test): Add more tests.
7741 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7742 negating x to take absolute value.
7743 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7745 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7746 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7748 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7749 computing low part if x was negated.
7750 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7752 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7754 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7756 (pltexit): Cast int_retval to ptrdiff_t.
7757 * elf/tst-auditmod3b.c: Likewise.
7758 * elf/tst-auditmod4b.c: Likewise.
7759 * elf/tst-auditmod5b.c: Likewise.
7760 * elf/tst-auditmod6b.c: Likewise.
7761 * elf/tst-auditmod6c.c: Likewise.
7762 * elf/tst-auditmod7b.c: Likewise.
7764 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7765 and x32_gnu_pltexit.
7767 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7769 (La_x32_regs): New macro.
7770 (La_x32_retval): Likewise.
7771 (la_x32_gnu_pltenter): New function prototype.
7772 (la_x32_gnu_pltexit): Likewise.
7774 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7776 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7781 * configure.in (libc_cv_cc_nofma): Check for option to disable
7782 generation of FMA instructions.
7783 * configure: Regenerate.
7784 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7785 * sysdeps/ieee754/dbl-64/Makefile: New file.
7786 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7787 Remove brandred-fma4.
7788 (CFLAGS-brandred-fma4.c): Remove.
7789 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7790 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7792 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7795 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7797 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7798 LLONG_MAX != LONG_MAX.
7799 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7800 (_fitoa_word): Likewise.
7801 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7802 LLONG_MAX != LONG_MAX.
7803 * stdio-common/_itowa.h: Include <_itoa.h>.
7804 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7805 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7806 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7807 only if not defined.
7808 (_ITOA_WORD_TYPE): Likewise.
7809 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7810 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7812 2012-03-21 David S. Miller <davem@davemloft.net>
7814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7816 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7818 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7819 of x86_64 when setting libc_cv_slibdir, libdir and
7821 * sysdeps/unix/sysv/linux/configure: Regenerated.
7823 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7825 * manual/lang.texi (Old Varargs): Remove section.
7826 (How Variadic): Update menu.
7827 (va_start): Do not mention varargs.h.
7829 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7830 Joseph Myers <joseph@codesourcery.com>
7832 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7834 * configure: Regenerated.
7836 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7838 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7839 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7842 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7845 * Makefile (files-for-dist): Remove NOTES.
7846 (NOTES): Remove rule.
7847 * README: Don't refer to NOTES.
7848 * manual/creature.texi: Don't include macros.texi.
7849 * manual/intro.texi (creature.texi): Remove comment referring to
7852 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7853 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7854 * configure: Regenerated.
7855 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7857 (libc_cv_as_i686): Likewise.
7858 (libc_cv_cc_avx): Likewise.
7859 (libc_cv_cc_sse2avx): Likewise.
7860 (libc_cv_cc_fma4): Likewise.
7861 (libc_cv_cc_novzeroupper): Likewise.
7862 * sysdeps/i386/configure: Regenerated.
7865 * sysdeps/i386/fpu/s_cexp.S: Remove.
7866 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7867 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7868 * math/libm-test.inc (cexp_test): Add more tests.
7869 * sysdeps/i386/fpu/libm-test-ulps: Update.
7870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7872 2012-03-21 Allan McRae <allan@archlinux.org>
7874 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7876 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7879 * math/w_exp2.c: Do not include <float.h>.
7880 (o_threshold, u_threshold): Remove.
7881 (__exp2): Calculate result before checking finiteness and calling
7883 * math/w_exp2f.c: Likewise.
7884 * math/w_exp2l.c: Likewise.
7885 * math/libm-test.inc (exp2_test): Require overflow exception for
7889 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7890 range of signed 64-bit integers before using fistpll. Remove
7891 checks for whether integers fit in mantissa bits.
7892 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7893 the range of signed 32-bit integers before using fistpl. Remove
7894 checks for whether integers fit in mantissa bits.
7895 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7896 (__ieee754_powl): Test for y outside the range of signed 64-bit
7897 integers before using fistpll. Reduce 64-bit values to 63-bit
7899 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7900 divide-by-zero is raised for zero to large negative powers.
7901 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7902 (__ieee754_powl): Test for y outside the range of signed 64-bit
7903 integers before using fistpll. Reduce 64-bit values to 63-bit
7905 * math/libm-test.inc (pow_test): Add more tests.
7907 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7909 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7910 <stdio-common/_itoa.h>.
7911 * debug/segfault.c: Likewise.
7912 * elf/dl-cache.c: Likewise.
7913 * elf/dl-minimal.c: Likewise.
7914 * elf/dl-misc.c: Likewise.
7915 * elf/dl-sysdep.c: Likewise.
7916 * elf/dl-version.c: Likewise.
7917 * elf/rtld.c: Likewise.
7918 * hurd/hurdsock.c: Likewise.
7919 * hurd/lookup-retry.c: Likewise.
7920 * malloc/malloc.c: Likewise.
7921 * malloc/mtrace.c: Likewise.
7922 * nscd/nscd_getgr_r.c: Likewise.
7923 * nscd/nscd_getpw_r.c: Likewise.
7924 * nscd/nscd_getserv_r.c: Likewise.
7925 * posix/getopt_init.c: Likewise.
7926 * posix/wordexp.c: Likewise.
7927 * stdio-common/_itoa.c: Likewise.
7928 * stdio-common/printf_fphex.c: Likewise.
7929 * stdio-common/vfprintf.c: Likewise.
7930 * string/_strerror.c: Likewise.
7931 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7932 * sysdeps/i386/i686/hp-timing.h: Likewise.
7933 * sysdeps/mach/_strerror.c: Likewise.
7934 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7935 * sysdeps/mach/hurd/sethostid.c: Likewise.
7936 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7937 * sysdeps/mach/xpg-strerror.c: Likewise.
7938 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7939 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7940 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7941 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7942 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7943 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7944 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7945 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7946 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7947 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7948 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7949 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7950 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7951 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7952 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7953 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7954 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7955 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7956 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7957 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7958 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7960 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7962 * stdio-common/_itoa.h: Moved to ...
7963 * sysdeps/generic/_itoa.h: Here.
7965 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7967 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7968 instead of "_itoa.h" and "_itowa.h".
7969 * stdio-common/vfprintf.: Likewise.
7971 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7973 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7975 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7976 (__signbit): Likwise.
7980 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7982 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7985 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7987 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7988 OVERFLOW_EXCEPTION_OK.
7989 * math/libm-test.inc ("Philosophy"): Update comment about
7991 (OVERFLOW_EXCEPTION): Define.
7992 (OVERFLOW_EXCEPTION_OK): Likewise.
7993 (INVALID_EXCEPTION_OK): Renumber.
7994 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7995 (IGNORE_ZERO_INF_SIGN): Likewise.
7996 (test_exceptions): Handle FE_OVERFLOW.
7997 (exp10_test): Expect overflow exceptions.
7998 (exp2_test): Likewise.
7999 (expm1_test): Likewise.
8000 (nextafter_test): Likewise.
8001 (pow_test): Likewise.
8002 (scalbn_test): Likewise.
8003 (scalbln_test): Likewise.
8005 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8007 * sysdeps/x86_64/bits/atomic.h
8008 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8010 (atomic_exchange_acq): Likewise.
8011 (__arch_exchange_and_add_body): Likewise.
8012 (__arch_add_body): Likewise.
8013 (atomic_add_negative): Likewise.
8014 (atomic_add_zero): Likewise.
8016 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8018 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8019 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8021 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8023 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8024 Check __x86_64__ instead of __WORDSIZE.
8026 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8028 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8030 2012-03-19 David S. Miller <davem@davemloft.net>
8032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8034 * sysdeps/sparc/fpu/fenv_private.h: New file.
8035 * sysdeps/sparc/fpu/math_private.h: Use it.
8036 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8038 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8039 (libc_feholdexcept_setroundl): Remove.
8040 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8042 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8043 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8045 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8047 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8048 int64_t instead of long int.
8049 (INSERT_WORDS64): Likwise.
8051 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8053 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8054 _Unwind_GetCFA return to _Unwind_Ptr first.
8056 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8059 * math/s_clog.c: Include <float.h>.
8060 (__clog): Scale large or subnormal inputs.
8061 * math/s_clogf.c: Likewise.
8062 * math/s_clogl.c: Likewise.
8063 * math/s_clog10.c: Include <float.h>.
8064 (M_LOG10_2): Define.
8065 (__clog10): Scale large or subnormal inputs.
8066 * math/s_clog10f.c: Likewise.
8067 * math/s_clog10l.c: Likewise.
8068 * math/libm-test.inc (clog_test): Add more tests.
8069 (clog10_test): Likewise.
8070 * sysdeps/i386/fpu/libm-test-ulps: Update.
8071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8074 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8076 * math/libm-test.inc (atan2_test): Add another test.
8078 * Makerules (common-objdir-compile): Remove.
8079 * sysdeps/unix/Makefile (config-generated): Do not add
8080 $(unix-generated) to variable.
8081 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8082 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8084 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8086 [generic bits/local_lim.h] (before-compile): Do not append to
8088 [generic bits/local_lim.h] (common-generated): Likewise.
8089 [generic sys/param.h] (before-compile): Do not append to variable.
8090 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8091 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8092 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8093 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8095 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8096 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8097 [generic sys/param.h] ($(addprefix
8098 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8099 [generic sys/param.h] (common-generated): Do not append to
8101 [generic sys/param.h] (sysdep_headers): Likewise.
8102 [generic bits/errno.h] (before-compile): Do not append to
8104 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8106 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8107 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8108 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8109 [generic bits/errno.h] (common-generated): Do not append to
8111 [generic bits/ioctls.h] (before-compile): Do not append to
8113 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8115 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8116 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8117 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8119 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8120 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8121 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8122 [generic bits/ioctls.h] (common-generated): Do not append to
8124 [generic sys/syscall.h] (syscall.h): Remove variable.
8125 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8127 [generic sys/syscall.h] (before-compile): Do not append to
8129 [generic sys/syscall.h] (common-generated): Likewise.
8130 * sysdeps/unix/errnos-tmpl.c: Remove file.
8131 * sysdeps/unix/errnos.awk: Likewise.
8132 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8133 * sysdeps/unix/ioctls.awk: Likewise.
8134 * sysdeps/unix/mk-local_lim.c: Likewise.
8135 * sysdeps/unix/snarf-ioctls: Likewise.
8137 2012-03-19 Richard Henderson <rth@twiddle.net>
8139 * sysdeps/i386/fpu/fenv_private.h: New file.
8140 * sysdeps/i386/fpu/math_private.h: Use it.
8141 (math_opt_barrier, math_force_eval): Remove.
8142 (libc_feholdexcept_setround_53bit): Remove.
8143 (libc_feupdateenv_53bit): Remove.
8144 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8145 (math_opt_barrier, math_force_eval): Remove.
8146 (libc_feholdexcept): Remove.
8147 (libc_feholdexcept_setround): Remove.
8148 (libc_fetestexcept, libc_fesetenv): Remove.
8149 (libc_feupdateenv_test): Remove.
8150 (libc_feupdateenv, libc_feholdsetround): Remove.
8151 (libc_feresetround): Remove.
8153 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8154 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8156 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8157 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8158 (libc_feupdateenv_testl): New.
8159 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8160 (libc_feupdateenv_testf): New.
8161 (libc_feupdateenv): Use libc_feupdateenv_test.
8162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8163 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8165 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8166 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8167 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8168 (libc_feresetround_noex): New.
8169 (libc_feresetround_noexf): New.
8170 (libc_feresetround_noexl): New.
8171 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8172 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8173 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8174 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8176 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8177 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8179 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8180 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8181 SET_RESTORE_ROUND_NOEX.
8182 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8183 SET_RESTORE_ROUND_NOEXF.
8184 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8185 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8186 (libc_feholdsetroundf): New.
8187 (libc_feresetround, libc_feresetroundf): New.
8189 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8190 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8191 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8193 * sysdeps/generic/math_private.h: Include <fenv.h>.
8194 (default_libc_feholdexcept): New.
8195 (default_libc_feholdexcept_setround): New.
8196 (default_libc_fesetenv, default_libc_feupdateenv): New.
8197 (libc_feholdexcept): Only define if undefined.
8198 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8199 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8200 (libc_feholdexcept_setroundl): Likewise.
8201 (libc_feholdexcept_setround_53bit): Likewise.
8202 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8203 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8204 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8205 (libc_feupdateenv_53bit): Likewise.
8206 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8207 (libc_feholdexcept): Convert from macro to inline function.
8208 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8209 (libc_fesetenv, libc_feupdateenv): Likewise.
8211 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8212 not previously defined.
8213 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8214 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8215 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8216 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8217 * sysdeps/ieee754/flt-32/math_private.h: New file.
8218 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8219 math_private.h below SET_FLOAT_WORD.
8220 (__isnan, __isinf_ns, __finite): Remove.
8221 (__isnanf, __isinf_nsf, __finitef): Remove.
8223 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8227 2012-03-17 David S. Miller <davem@davemloft.net>
8230 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8233 2012-03-16 David S. Miller <davem@davemloft.net>
8235 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8239 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8241 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8242 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8243 sysdep_routines when subdir is sysvipc.
8244 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8247 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8249 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8251 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8254 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8256 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8257 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8258 (__lround): Renamed to ...
8259 (__llround): This. Replace long int with long long int.
8260 Define lround functions as aliases of llround functions.
8261 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8263 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8265 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8266 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8267 adresses to uintptr_t. Replace "long int" and "unsigned long
8268 int" with "greg_t" on va_arg.
8270 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8272 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8273 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8275 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8276 Move e_machine check before EI_CLASS check. Handle x32
8277 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8278 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8279 SKIP_EM_IA_64 and include
8280 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8282 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8283 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8284 (add_system_dir): New macro.
8286 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8287 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8289 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8300 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8302 * math/w_j0f.c (j0f): Likewise.
8304 * math/w_j0l.c (__j0l): Likewise.
8306 * math/w_j1.c (j1): Likewise.
8308 * math/w_j1f.c (j1f): Likewise.
8310 * math/w_j1l.c (__j1l): Likewise.
8312 * math/w_jn.c (jn): Likewise.
8314 * math/w_jnf.c (jnf): Likewise.
8316 * math/w_jnl.c (__jnl): Likewise.
8318 * math/libm-test.inc (j0_test): Add more tests.
8319 (j1_test): Likewise.
8320 (jn_test): Likewise. Add trailing semicolon to existing test.
8321 (y0_test): Likewise.
8322 (y1_test): Likewise.
8323 * sysdeps/i386/fpu/libm-test-ulps: Update.
8324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8328 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8329 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8330 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8331 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8332 (__tanl): Set errno for infinite argument.
8333 * sysdeps/i386/fpu/mptan.c: Remove.
8334 * sysdeps/i386/fpu/s_tan.S: Likewise.
8335 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8336 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8337 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8338 * math/libm-test.inc (tan_test): Add more tests and enable more
8339 tests for double and long double.
8340 * sysdeps/i386/fpu/libm-test-ulps: Update.
8341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8343 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8345 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8346 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8348 2012-03-16 Roland McGrath <roland@hack.frob.com>
8350 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8351 * configure.in: Use it for both main tree and add-ons.
8352 * configure: Regenerated.
8354 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8356 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8358 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8360 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8364 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8365 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8370 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8373 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8374 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8375 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8376 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8377 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8378 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8379 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8380 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8381 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8382 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8383 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8384 * math/libm-test.inc (cos_test): Add more tests and enable more
8385 tests for long double.
8386 (sin_test): Likewise.
8387 (sincos_test): Likewise.
8388 * sysdeps/i386/fpu/libm-test-ulps: Update.
8389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8391 2012-03-16 David S. Miller <davem@davemloft.net>
8393 * sysdeps/sparc/fpu/math_private.h: New file.
8395 2012-03-15 David S. Miller <davem@davemloft.net>
8397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8407 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8411 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8412 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8414 * sysdeps/sparc/sparc-ifunc.h: New file.
8415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8441 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8442 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8453 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8454 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8455 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8456 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8458 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8460 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8462 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8466 2012-03-15 Andreas Jaeger <aj@suse.de>
8469 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8470 ieee754/flt-32 implementation for sin, cos and sincos.
8471 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8472 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8473 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8474 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8475 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8476 ieee754/flt-32 implementation for tan.
8478 * math/libm-test.inc (cos_test): Enable some large input tests for
8480 (sin_test): Likewise.
8481 (sincos_test): Likewise.
8482 (tan_test): Add tests for large input.
8484 * sysdeps/i386/fpu/libm-test-ulps: Update.
8486 2012-03-15 Andreas Jaeger <aj@suse.de>
8489 * math/libm-test.inc (cos_test): Add more test cases.
8490 (sin_test): Likewise.
8491 (sincos_test): Likewise.
8493 2012-03-15 Andreas Jaeger <aj@suse.de>
8496 * math/libm-test.inc (cos_test): Add a test case for large input
8498 (sin_test): Likewise.
8499 (sincos_test): Likewise.
8501 2012-03-15 Andreas Jaeger <aj@suse.de>,
8502 Joseph Myers <joseph@codesourcery.com>
8505 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8506 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8507 * sysdeps/i386/fpu/branred.c: Likewise.
8508 * sysdeps/i386/fpu/dosincos.c: Likewise.
8509 * sysdeps/i386/fpu/mpa.c: Likewise.
8510 * sysdeps/i386/fpu/s_cos.S: Likewise.
8511 * sysdeps/i386/fpu/s_sin.S: Likewise.
8512 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8513 * sysdeps/i386/fpu/sincos32.c: Likewise.
8515 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8517 (libc_feupdateenv_53bit): Define.
8518 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8520 (libc_feupdateenv_53bit): Define.
8522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8523 53 bit (without extend i386 double precision).
8525 * math/libm-test.inc (sincos_test): Add tests for large input.
8529 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8531 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8535 2012-03-15 David S. Miller <davem@davemloft.net>
8537 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8538 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8539 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8540 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8564 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8565 fmin/fmax sysdep routines.
8566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8568 2012-03-14 David S. Miller <davem@davemloft.net>
8570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8575 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8591 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8592 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8593 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8597 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8598 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8642 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8647 * sysdeps/sparc/configure.in: New file.
8648 * sysdeps/sparc/configure: Generate.
8649 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8650 * configure: Regenerate.
8651 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8652 * config.make.in (have-as-vis3): New.
8653 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8654 available use -Av9d instead of -Av9a.
8655 * sysdeps/sparc/sparc64/Makefile: Likewise.
8656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8665 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8666 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8667 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8668 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8669 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8671 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8672 fzeros/fnegs to load 0x80000000 into a float register instead of
8674 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8676 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8680 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8681 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8682 ($(inst_includedir)/bits/syscall.h): Remove rule.
8683 ($(objpfx)bits/syscall.d): Include instead of
8684 $(objpfx)syscall-list.d.
8685 (generated): Change syscall-list.h and syscall-list.d to
8686 bits/syscall.h and bits/syscall.d.
8688 2012-03-14 Roland McGrath <roland@hack.frob.com>
8691 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8693 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8696 * math/s_csqrt.c: Include <float.h>.
8697 (__csqrt): Scale large or subnormal inputs.
8698 * math/s_csqrtf.c: Likewise.
8699 * math/s_csqrtl.c: Likewise.
8700 * math/libm-test.inc (csqrt_test): Add more tests.
8701 * sysdeps/i386/fpu/libm-test-ulps: Update.
8702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8705 * math/libm-test.inc (hypot_test): Add more tests.
8707 2012-03-13 David S. Miller <davem@davemloft.net>
8710 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8711 double-precision for the calculation instead of scaling.
8713 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8715 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8716 manipulate bits before adding and subtracting TWO52[sx].
8717 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8720 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8722 2012-03-13 David S. Miller <davem@davemloft.net>
8724 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8725 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8726 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8727 rtld-global-offsets.h
8728 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8733 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8735 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8736 'err' in the ifdef scope in which it is actually used.
8738 * nss/nss_db/db-init.c: Include string.h
8740 2012-03-12 David S. Miller <davem@davemloft.net>
8742 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8743 masking out of the most significant byte of random value used.
8744 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8745 Fix coding style in previous change.
8747 * sysdeps/unix/sysv/linux/kernel-features.h
8748 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8749 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8751 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8754 2012-03-11 David S. Miller <davem@davemloft.net>
8756 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8757 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8758 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8759 for 'resultvar' otherwise things get truncated on 64-bit.
8761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8762 Fix masking out of the most significant byte of random value used.
8764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8766 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8770 2012-03-09 David S. Miller <davem@davemloft.net>
8772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8773 variables with appropriate CPP guards.
8774 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8775 frame pointer, not the stack pointer. Correct layout comments. Fix test
8776 on resulting framesize and the management of the outregs buffer for pltexit.
8777 Preserve floating point return values across _dl_call_pltexit call.
8778 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8779 framesize and the management of the outregs buffer for pltexit.
8780 Preserve floating point return values across _dl_call_pltexit
8782 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8783 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8784 (print_exit): Fix format string for return register value.
8786 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8788 * sunrpc/Makefile (others): Add rpcgen.
8789 ($(objpfx)rpcgen): Remove special build rule and dependency on
8791 * sunrpc/rpcgen.c: New file.
8793 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8796 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8797 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8798 * sysdeps/i386/crti.S: Likewise.
8799 * sysdeps/i386/crtn.S: Likewise.
8800 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8801 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8802 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8803 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8804 * sysdeps/sh/crti.S: Likewise.
8805 * sysdeps/sh/crtn.S: Likewise.
8806 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8809 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8811 * locale/programs/locfile-kw.gperf: Likewise.
8812 * locale/programs/charmap-kw.h: Regenerated.
8813 * locale/programs/locfile-kw.h: Likewise.
8816 * intl/plural.y: Replace FSF snail mail address with URL.
8817 * intl/plural.c: Regenerated.
8819 2012-03-09 Richard Henderson <rth@twiddle.net>
8821 * include/math_private.h: Remove file.
8822 * math/math_private.h: Move file ...
8823 * sysdeps/generic/math_private.h: ... here.
8825 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8826 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8827 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8829 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8830 and <math_private.h>.
8831 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8832 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8833 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8834 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8835 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8919 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8920 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8921 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8922 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8923 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8924 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8925 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8926 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8927 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8928 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8929 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8930 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8931 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8932 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8933 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8934 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8935 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8936 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8937 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8938 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8939 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8940 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8941 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8942 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8943 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8944 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8945 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8946 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8947 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8948 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8949 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8950 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8951 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8952 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8953 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8954 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8955 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8956 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8957 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8958 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8959 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8960 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8961 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8962 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8963 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8964 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8965 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8966 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8967 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8968 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8969 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8970 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8971 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8972 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8973 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8974 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8975 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8976 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8977 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8978 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8979 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8980 * sysdeps/ieee754/k_standard.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8990 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8991 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8992 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8993 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9000 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9001 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9003 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9004 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9100 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9101 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9103 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9108 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9113 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9129 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9130 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9131 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9135 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9141 * sysdeps/ieee754/s_lib_version.c: Likewise.
9142 * sysdeps/ieee754/s_matherr.c: Likewise.
9143 * sysdeps/ieee754/s_signgam.c: Likewise.
9144 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9145 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9146 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9147 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9148 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9149 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9150 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9151 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9152 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9153 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9154 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9155 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9156 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9157 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9158 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9159 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9160 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9161 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9162 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9164 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9166 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9168 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9169 * sunrpc/rpc_main.c: Likewise.
9170 * sunrpc/rpc_svcout.c: Likewise.
9172 2012-03-09 David S. Miller <davem@davemloft.net>
9174 * include/math_private.h: New file.
9176 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9178 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9179 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9180 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9181 from <bits/socket_type.h>.
9182 (enum __socket_type): Don't define here.
9183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9188 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9191 * Makerules ($(inst_includedir)/%.h): New rule.
9192 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9193 (install-others): Remove variable setting.
9194 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9196 2012-03-08 Richard Henderson <rth@twiddle.net>
9198 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9199 from macro to inline function; merge with the
9200 !__LIBC_INTERNAL_MATH_INLINES version.
9201 (__ieee754_sqrtf): Likewise.
9203 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9205 (__rintf, __floor, __floorf): Likewise.
9207 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9208 macro to inline function.
9209 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9211 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9212 not <math/math_private.h>.
9214 2012-03-08 David S. Miller <davem@davemloft.net>
9216 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9218 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9220 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9222 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9224 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9225 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9227 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9229 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9230 be defined individually, they must be defined as a block. Define
9231 S for printing a string instead of hidint the different by using a
9232 macro for adding the 'l'.
9233 * stdio-common/tst-fphex-wide.c: Adjust.
9235 2012-03-07 Marek Polacek <polacek@redhat.com>
9237 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9239 2012-03-08 Marek Polacek <polacek@redhat.com>
9242 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9243 * stdio-common/tst-fphex.c: Define a few macros to make the
9244 test reusable. Use them.
9245 * stdio-common/tst-fphex-wide.c: New file.
9247 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9250 * manual/macros.texi (gnusystems): New macro.
9251 (nongnusystems): Likewise.
9252 (gnulinuxhurdsystems): Likewise.
9253 (gnuhurdsystems): Likewise..
9254 (gnulinuxsystems): Likewise.
9255 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9256 variants of the GNU system, not "GNU system".
9257 * manual/conf.texi: Likewise.
9258 * manual/errno.texi: Likewise. Update example of errno macro
9260 * manual/filesys.texi: Likewise.
9261 (getumask): Document as specific to GNU/Hurd.
9262 * manual/install.texi: Likewise. Reword some references to
9264 * manual/intro.texi: Likewise.
9265 * manual/io.texi: Likewise.
9266 (File Name Portability): Detail which constraints are inapplicable
9267 to all GNU systems and which are only inapplicable to GNU/Hurd.
9268 * manual/job.texi: Likewise.
9269 * manual/llio.texi: Likewise.
9270 (O_NOCTTY): Document as present on GNU/Linux.
9271 * manual/maint.texi: Likewise.
9272 * manual/memory.texi: Likewise.
9273 * manual/pattern.texi: Likewise.
9274 * manual/pipe.texi: Likewise.
9275 * manual/process.texi: Likewise.
9276 * manual/resource.texi: Likewise.
9277 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9279 * manual/setjmp.texi: Likewise.
9280 * manual/signal.texi: Likewise.
9281 * manual/startup.texi: Likewise.
9282 * manual/stdio.texi: Likewise.
9283 * manual/terminal.texi: Likewise.
9284 (ONLCR): Document as POSIX.
9285 (OXTABS): Document availability on GNU/Linux as XTABS.
9286 (ONOEOT): Document availability separately from other bits.
9287 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9288 * manual/time.texi: Likewise.
9289 * manual/users.texi: Likewise.
9290 * INSTALL: Regenerated.
9291 * sysdeps/gnu/errlist.c: Regenerated.
9293 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9294 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9295 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9297 * configure: Regenerated.
9299 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9301 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9302 default includes instead of AC_HEADER_CHECK.
9303 * sysdeps/i386/configure: Regenerated.
9306 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9307 * math/s_cacoshf.c (__cacoshf): Likewise.
9308 * math/s_cacoshl.c (__cacoshl): Likewise.
9309 * math/s_casinh.c (__casinh): Set signs of result from argument.
9310 * math/s_casinhf.c (__casinhf): Likewise.
9311 * math/s_casinhl.c (__casinhl): Likewise.
9312 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9313 (casinh_test): Add more tests.
9314 * sysdeps/i386/fpu/libm-test-ulps: Update.
9315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9317 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9319 * po/zh_TW.po: Update from translation team.
9321 * login/Makefile (distribute): Remove variable.
9322 * catgets/Makefile: Likewise.
9323 * mach/Makefile: Likewise.
9324 * malloc/Makefile: Likewise.
9325 * misc/Makefile: Likewise.
9326 * iconv/Makefile: Likewise.
9327 * nscd/Makefile: Likewise.
9328 * hurd/Makefile: Likewise.
9329 * manual/Makefile: Likewise.
9330 * locale/Makefile: Likewise.
9331 * intl/Makefile: Likewise.
9332 * conform/Makefile: Likewise.
9333 * nss/Makefile: Likewise.
9334 * time/Makefile: Likewise.
9335 * soft-fp/Makefile: Likewise.
9336 * dirent/Makefile: Likewise.
9337 * gmon/Makefile: Likewise.
9338 * po/Makefile: Likewise.
9339 * rt/Makefile: Likewise.
9340 * socket/Makefile: Likewise.
9341 * math/Makefile: Likewise.
9342 * signal/Makefile: Likewise.
9343 * debug/Makefile: Likewise.
9344 * elf/Makefile: Likewise.
9345 * timezone/Makefile: Likewise.
9346 * stdlib/Makefile: Likewise.
9347 * iconvdata/Makefile: Likewise.
9348 * sunrpc/Makefile: Likewise.
9349 * io/Makefile: Likewise.
9350 * argp/Makefile: Likewise.
9351 * inet/Makefile: Likewise.
9352 * hesiod/Makefile: Likewise.
9353 * grp/Makefile: Likewise.
9354 * csu/Makefile: Likewise.
9355 * wctype/Makefile: Likewise.
9356 * crypt/Makefile: Likewise.
9357 * libio/Makefile: Likewise.
9358 * string/Makefile: Likewise.
9359 * nis/Makefile: Likewise.
9360 * resolv/Makefile: Likewise.
9361 * stdio-common/Makefile: Likewise.
9362 * wcsmbs/Makefile: Likewise.
9363 * dlfcn/Makefile: Likewise.
9364 * posix/Makefile: Likewise.
9367 * timezone/Makefile: Don't install timezone files, just the programs
9370 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9372 * nss/databases.def: Add missing gshadow entry.
9374 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9376 2012-03-06 Marek Polacek <polacek@redhat.com>
9379 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9380 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9381 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9382 * stdio-common/tst-long-dbl-fphex.c: New file.
9384 2012-03-06 David S. Miller <davem@davemloft.net>
9386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9387 (set_obp_int): New function.
9388 (get_obp_int): New function.
9389 (__get_clockfreq_via_dev_openprom): Likewise.
9390 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9391 Avoid unused variable warnings on 'val' and use builtin_expect.
9392 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9394 (INLINE_CLONE_SYSCALL): Likewise.
9396 2012-03-05 David S. Miller <davem@davemloft.net>
9398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9400 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9404 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9406 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9408 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9410 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9411 Replace gettimeofday with __vdso_gettimeofday.
9413 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9414 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9415 __vdso_clock_gettime and __vdso_getcpu.
9417 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9418 time with __vdso_time.
9420 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9422 * manual/lang.texi (size_t): Note types to which size_t may be
9423 equivalent with the GNU C Library, but do not describe when
9424 differences between them are significant.
9426 2012-03-05 Andreas Jaeger <aj@suse.de>
9428 * sysdeps/i386/fpu/libm-test-ulps: Update.
9430 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9433 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9434 (__ieee754_pow): Save and restore rounding mode and use
9435 round-to-nearest for main computations.
9436 * math/libm-test.inc (pow_test_tonearest): New function.
9437 (pow_test_towardzero): Likewise.
9438 (pow_test_downward): Likewise.
9439 (pow_test_upward): Likewise.
9440 (main): Call the new functions.
9441 * sysdeps/i386/fpu/libm-test-ulps: Update.
9442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9445 * math/libm-test.inc (cosh_test_tonearest): New function.
9446 (cosh_test_towardzero): Likewise.
9447 (cosh_test_downward): Likewise.
9448 (cosh_test_upward): Likewise.
9449 (sinh_test_tonearest): Likewise.
9450 (sinh_test_towardzero): Likewise.
9451 (sinh_test_downward): Likewise.
9452 (sinh_test_upward): Likewise.
9453 (main): Call the new functions.
9454 * sysdeps/i386/fpu/libm-test-ulps: Update.
9455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9457 2012-03-05 Tom de Vries <tom@codesourcery.com>
9459 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9460 default stack guard is set in last bytes.
9461 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9463 2012-03-05 Kees Cook <keescook@chromium.org>
9465 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9468 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9469 possibly allocate from heap instead of stack.
9470 * stdio-common/bug-vfprintf-nargs.c: New file.
9471 * stdio-common/Makefile (tests): Add nargs overflow test.
9473 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9477 2012-03-03 Marek Polacek <polacek@redhat.com>
9479 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9480 * math/math_private.h: Likewise.
9481 * stdlib/tst-strtod.c: Likewise.
9482 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9483 * sysdeps/x86_64/bits/atomic.h: Likewise.
9485 2012-03-02 David S. Miller <davem@davemloft.net>
9487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9491 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9492 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9493 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9494 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9496 2012-03-02 Roland McGrath <roland@hack.frob.com>
9499 * manual/examples/README: New file, says the example source files
9500 can be used under GPL>=2.
9501 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9502 line containing just "*/".
9503 * manual/examples/add.c: Add copyright header (GPL>=2).
9504 * manual/examples/argp-ex1.c: Likewise.
9505 * manual/examples/argp-ex2.c: Likewise.
9506 * manual/examples/argp-ex3.c: Likewise.
9507 * manual/examples/argp-ex4.c: Likewise.
9508 * manual/examples/atexit.c: Likewise.
9509 * manual/examples/db.c: Likewise.
9510 * manual/examples/dir.c: Likewise.
9511 * manual/examples/dir2.c: Likewise.
9512 * manual/examples/execinfo.c: Likewise.
9513 * manual/examples/filecli.c: Likewise.
9514 * manual/examples/filesrv.c: Likewise.
9515 * manual/examples/fmtmsgexpl.c: Likewise.
9516 * manual/examples/genpass.c: Likewise.
9517 * manual/examples/inetcli.c: Likewise.
9518 * manual/examples/inetsrv.c: Likewise.
9519 * manual/examples/isockad.c: Likewise.
9520 * manual/examples/longopt.c: Likewise.
9521 * manual/examples/memopen.c: Likewise.
9522 * manual/examples/memstrm.c: Likewise.
9523 * manual/examples/mkfsock.c: Likewise.
9524 * manual/examples/mkisock.c: Likewise.
9525 * manual/examples/mygetpass.c: Likewise.
9526 * manual/examples/pipe.c: Likewise.
9527 * manual/examples/popen.c: Likewise.
9528 * manual/examples/rprintf.c: Likewise.
9529 * manual/examples/search.c: Likewise.
9530 * manual/examples/select.c: Likewise.
9531 * manual/examples/setjmp.c: Likewise.
9532 * manual/examples/sigh1.c: Likewise.
9533 * manual/examples/sigusr.c: Likewise.
9534 * manual/examples/stpcpy.c: Likewise.
9535 * manual/examples/strdupa.c: Likewise.
9536 * manual/examples/strftim.c: Likewise.
9537 * manual/examples/strncat.c: Likewise.
9538 * manual/examples/subopt.c: Likewise.
9539 * manual/examples/swapcontext.c: Likewise.
9540 * manual/examples/termios.c: Likewise.
9541 * manual/examples/testopt.c: Likewise.
9542 * manual/examples/testpass.c: Likewise.
9543 * manual/examples/timeval_subtract.c: Likewise.
9546 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9548 * manual/timeval_subtract.c.texi: ... here, new file.
9550 2012-03-02 David S. Miller <davem@davemloft.net>
9552 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9554 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9557 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9558 (__sin): Save and restore rounding mode and use round-to-nearest
9559 for all computations.
9560 (__cos): Save and restore rounding mode and use round-to-nearest
9561 for all computations.
9562 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9564 (tan): Save and restore rounding mode and use round-to-nearest for
9566 * math/libm-test.inc (cos_test_tonearest): New function.
9567 (cos_test_towardzero): Likewise.
9568 (cos_test_downward): Likewise.
9569 (cos_test_upward): Likewise.
9570 (sin_test_tonearest): Likewise.
9571 (sin_test_towardzero): Likewise.
9572 (sin_test_downward): Likewise.
9573 (sin_test_upward): Likewise.
9574 (tan_test_tonearest): Likewise.
9575 (tan_test_towardzero): Likewise.
9576 (tan_test_downward): Likewise.
9577 (tan_test_upward): Likewise.
9578 (main): Call the new functions.
9579 * sysdeps/i386/fpu/libm-test-ulps: Update.
9580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9583 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9584 small n, then large n, before computing and testing k+n.
9585 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9590 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9591 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9592 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9593 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9596 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9597 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9598 * math/libm-test.inc (scalbn_test): Add more tests.
9599 (scalbln_test): Likewise.
9601 * manual/filesys.texi (mode_t): Describe constraints on size and
9602 signedness, not exact equivalence to a particular type.
9604 (ino64_t): Likewise.
9606 (nlink_t): Likewise.
9607 (blkcnt_t): Likewise.
9608 (blkcnt64_t): Likewise.
9609 * manual/llio.texi (off_t): Likewise.
9612 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9613 (__ieee754_exp): Save and restore rounding mode and use
9614 round-to-nearest for all computations.
9615 * math/libm-test.inc (exp_test_tonearest): New function.
9616 (exp_test_towardzero): Likewise.
9617 (exp_test_downward): Likewise.
9618 (exp_test_upward): Likewise.
9619 (main): Call the new functions.
9620 * sysdeps/i386/fpu/libm-test-ulps: Update.
9621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9623 2012-03-01 Chris Demetriou <cgd@google.com>
9625 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9626 have predictable order.
9628 2012-03-01 David S. Miller <davem@davemloft.net>
9630 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9632 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9633 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9634 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9635 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9637 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9638 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9639 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9641 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9642 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9643 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9644 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9645 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9649 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9650 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9651 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9653 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9654 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9655 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9656 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9657 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9658 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9659 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9660 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9661 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9662 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9663 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9664 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9665 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9666 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9667 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9668 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9669 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9670 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9671 * sysdeps/sparc/elf/configure: Regenerated.
9673 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9675 * configure.in (AS, LD): Require binutils 2.20 or later.
9676 * configure: Regenerated.
9677 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9678 as required minimum version.
9679 * INSTALL: Regenerated.
9683 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9684 before squaring exponent.
9685 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9686 bottom long double and 27 bits of top long double before squaring
9688 * math/libm-test.inc (erfc_test): Add more tests.
9689 * sysdeps/i386/fpu/libm-test-ulps: Update.
9690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9693 2012-03-01 Kai Tietz <ktietz@redhat.com>
9695 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9696 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9697 containing bit-fields.
9698 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9699 * soft-fp/single.h (_FP_UNION_S): Likewise.
9700 * soft-fp/double.h (_FP_UNION_D): Likewise.
9702 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9705 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9706 not include ../strcmp.S.
9707 [USE_AS_STRNCASECMP_L]: Likewise.
9708 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9709 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9710 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9711 (__strncasecmp_l_ia32): Define as alias to
9712 __strncasecmp_l_nonascii.
9715 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9716 * sysdeps/i386/fpu/libm-test-ulps: Update.
9717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9719 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9722 2012-02-29 Jeff Law <law@redhat.com>
9724 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9727 2012-02-29 Marek Polacek <polacek@redhat.com>
9730 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9731 * elf/Makefile: Add rules to run tst-unused-dep.out.
9733 2012-02-28 David S. Miller <davem@davemloft.net>
9735 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9736 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9737 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9738 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9739 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9740 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9742 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9744 * math/libm-test.inc (llround_test): Move one test from
9745 lround_test. Use TEST_f_L in moved test.
9746 (lround_test): Move misplaced test to llround_test. Add testcase
9749 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9751 * sysdeps/x86_64/fpu/e_expf.S: New file.
9752 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9754 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9757 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9758 of remain_len that may cause incomplete multi-byte character and
9760 * posix/bug-regex33.c: New file.
9761 * posix/Makefile (tests): Add bug-regex33.
9763 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9765 * manual/macros.texi: New file.
9766 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9767 * manual/libc.texinfo: Include macros.texi.
9768 * manual/creatute.texi: Likewise.
9769 * manual/install.texi: Likewise.
9770 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9771 @glibcadj{} in references to the GNU C Library.
9772 * manual/charset.texi: Likewise.
9773 * manual/conf.texi: Likewise.
9774 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9775 when not using those macros.
9776 * manual/creature.texi: Likewise.
9777 * manual/crypt.texi: Likewise.
9778 * manual/errno.texi: Likewise.
9779 * manual/filesys.texi: Likewise.
9780 * manual/header.texi: Likewise.
9781 * manual/install.texi: Likewise.
9782 * manual/intro.texi: Likewise.
9783 * manual/io.texi: Likewise.
9784 * manual/job.texi: Likewise.
9785 * manual/lang.texi: Likewise.
9786 * manual/libc.texiinfo: Likewise.
9787 * manual/llio.texi: Likewise.
9788 * manual/locale.texi: Likewise.
9789 * manual/maint.texi: Likewise.
9790 * manual/math.texi: Likewise.
9791 * manual/memory.texi: Likewise.
9792 * manual/message.texi: Likewise.
9793 * manual/nss.texi: Likewise.
9794 * manual/pattern.texi: Likewise.
9795 * manual/process.texi: Likewise.
9796 * manual/resource.texi: Likewise.
9797 * manual/search.texi: Likewise.
9798 * manual/setjmp.texi: Likewise.
9799 * manual/signal.texi: Likewise.
9800 * manual/socket.texi: Likewise.
9801 * manual/startup.texi: Likewise.
9802 * manual/stdio.texi: Likewise.
9803 * manual/string.texi: Likewise.
9804 * manual/sysinfo.texi: Likewise.
9805 * manual/syslog.texi: Likewise.
9806 * manual/terminal.texi: Likewise.
9807 * manual/time.texi: Likewise.
9808 * manual/users.texi: Likewise.
9809 * INSTALL: Regenerated.
9810 * NOTES: Regenerated.
9811 * sysdeps/gnu/errlist.c: Regenerated.
9813 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9815 * include/dirent.h: Include <dirstream.h> before
9818 2012-02-28 David S. Miller <davem@davemloft.net>
9820 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9821 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9822 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9823 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9825 2012-02-27 David S. Miller <davem@davemloft.net>
9827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9829 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9830 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9833 frame pointer instead of stack pointer relative arg slot.
9834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9835 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9836 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9838 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9841 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9843 2012-02-27 David S. Miller <davem@davemloft.net>
9845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9849 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9850 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9851 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9852 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9854 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9856 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9857 later. Allow versions 5-9.
9858 * configure: Regenerated.
9859 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9860 required minimum version and 4.6 as recommended version. Do not
9861 mention bugs in GCC 2.7 and 2.8.
9862 * INSTALL: Regenerated.
9864 2012-02-27 David S. Miller <davem@davemloft.net>
9866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9870 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9871 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9872 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9873 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9875 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9876 manipulate bits before adding and subtracting TWO112[sx].
9877 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9879 2012-02-27 Roland McGrath <roland@hack.frob.com>
9882 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9883 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9884 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9885 being in POSIX, because they are in 1003.1-2008.
9887 * rt/tst-aio.c: Include <fcntl.h>.
9888 * rt/tst-aio7.c: Likewise.
9889 * rt/tst-aio64.c: Likewise.
9891 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9893 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9895 * manual/install.texi (--with-headers): Describe headers as
9896 interface headers, not private headers.
9897 (Specific advice for GNU/Linux systems): Describe use of headers
9898 from "make headers_install", not private headers from older
9900 * INSTALL: Regenerated.
9901 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9903 * sysdeps/unix/sysv/linux/configure: Regenerated.
9905 * manual/llio.texi (fclean): Remove documentation.
9907 * manual/Makefile (libc-texi-generated): New variable. Include
9909 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9910 $(libc-texi-generated), not duplicated list of files.
9911 (version.texi, stamp-version): New rules.
9912 (realclean): Remove $(libc-texi-generated), not individual files
9913 from that list. Do not remove dir-add.texinfo.
9914 * manual/libc.texinfo: Comment out uses of edition numbers and
9915 references to printed manual. Remove last-updated dates.
9916 (EDITION): Comment out.
9918 (VERSION, UPDATED): Remove.
9919 (version.texi): Include.
9921 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9923 * sysdeps/posix/spawni.c: Include <signal.h>.
9924 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9925 * sysdeps/pthread/aio_fsync.c: Likewise.
9927 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9929 * conform/Makefile (tests): Run only when not cross-compiling and
9930 when fast-check is not defined.
9932 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9933 * conform/data/limits.h-data: Fixes for POSIX2008.
9934 * conform/run-conformtest.sh: Run all tests.
9935 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9937 * include/bits/dlfcn.h: Likewise.
9938 * include/langinfo.h: Likewise.
9939 * include/monetary.h: Likewise.
9940 * include/sys/poll.h: Likewise.
9942 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9944 * posix/spawn.h: Define __need_sigset_t.
9945 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9946 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9947 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9948 to get sigevent_t only.
9949 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9952 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9953 process_vm_writev only for __USE_GNU.
9954 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9956 * conform/Makefile: For now ignore errors from run-conformtest.
9957 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9958 POSIX to avoid namespace pollution. Don't prepend headers.
9959 * conform/data/aio.h-data: Fixes for POSIX testing.
9960 * conform/data/fcntl.h-data: Likewise.
9961 * conform/data/glob.h-data: Likewise.
9962 * conform/data/grp.h-data: Likewise.
9963 * conform/data/pthread.h-data: Likewise.
9964 * conform/data/pwd.h-data: Likewise.
9965 * conform/data/signal.h-data: Likewise.
9966 * conform/data/spawn.h-data: Likewise.
9967 * conform/data/stdio.h-data: Likewise.
9968 * conform/data/stdlib.h-data: Likewise.
9969 * conform/data/stropts.h-data: Likewise.
9970 * conform/data/sys/mman.h-data: Likewise.
9971 * conform/data/sys/stat.h-data: Likewise.
9972 * conform/data/sys/types.h-data: Likewise.
9973 * conform/data/sys/wait.h-data: Likewise.
9974 * conform/data/time.h-data: Likewise.
9975 * conform/data/unistd.h-data: Likewise.
9976 * conform/data/utime.h-data: Likewise.
9978 * io/sys/stat.h: fchmod was always in POSIX.
9979 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9980 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9981 * rt/aio.h: Define __need_timespec before including <time.h>.
9982 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9983 struct. Add forward declaration of pthread_attr_t and use it in
9985 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9986 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9987 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9988 always remove CLK_TCK definition.
9990 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9992 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9994 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9996 * conform/run-conformtest.sh: New file.
9997 * conform/Makefile: Run run-conformtest for tests.
9998 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10001 * conform/data/uchar.h-data: New file.
10002 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10003 * conform/data/arpa/inet.h-data: Likewise.
10004 * conform/data/assert.h-data: Likewise.
10005 * conform/data/complex.h-data: Likewise.
10006 * conform/data/cpio.h-data: Likewise.
10007 * conform/data/ctype.h-data: Likewise.
10008 * conform/data/dirent.h-data: Likewise.
10009 * conform/data/dlfcn.h-data: Likewise.
10010 * conform/data/errno.h-data: Likewise.
10011 * conform/data/fcntl.h-data: Likewise.
10012 * conform/data/float.h-data: Likewise.
10013 * conform/data/fmtmsg.h-data: Likewise.
10014 * conform/data/fnmatch.h-data: Likewise.
10015 * conform/data/ftw.h-data: Likewise.
10016 * conform/data/glob.h-data: Likewise.
10017 * conform/data/grp.h-data: Likewise.
10018 * conform/data/iconv.h-data: Likewise.
10019 * conform/data/inttypes.h-data: Likewise.
10020 * conform/data/langinfo.h-data: Likewise.
10021 * conform/data/libgen.h-data: Likewise.
10022 * conform/data/limits.h-data: Likewise.
10023 * conform/data/locale.h-data: Likewise.
10024 * conform/data/math.h-data: Likewise.
10025 * conform/data/monetary.h-data: Likewise.
10026 * conform/data/mqueue.h-data: Likewise.
10027 * conform/data/ndbm.h-data: Likewise.
10028 * conform/data/net/if.h-data: Likewise.
10029 * conform/data/netdb.h-data: Likewise.
10030 * conform/data/netinet/in.h-data: Likewise.
10031 * conform/data/nl_types.h-data: Likewise.
10032 * conform/data/poll.h-data: Likewise.
10033 * conform/data/pthread.h-data: Likewise.
10034 * conform/data/pwd.h-data: Likewise.
10035 * conform/data/regex.h-data: Likewise.
10036 * conform/data/sched.h-data: Likewise.
10037 * conform/data/search.h-data: Likewise.
10038 * conform/data/semaphore.h-data: Likewise.
10039 * conform/data/setjmp.h-data: Likewise.
10040 * conform/data/signal.h-data: Likewise.
10041 * conform/data/spawn.h-data: Likewise.
10042 * conform/data/stdarg.h-data: Likewise.
10043 * conform/data/stdio.h-data: Likewise.
10044 * conform/data/stdlib.h-data: Likewise.
10045 * conform/data/string.h-data: Likewise.
10046 * conform/data/strings.h-data: Likewise.
10047 * conform/data/stropts.h-data: Likewise.
10048 * conform/data/sys/ipc.h-data: Likewise.
10049 * conform/data/sys/mman.h-data: Likewise.
10050 * conform/data/sys/msg.h-data: Likewise.
10051 * conform/data/sys/resource.h-data: Likewise.
10052 * conform/data/sys/select.h-data: Likewise.
10053 * conform/data/sys/sem.h-data: Likewise.
10054 * conform/data/sys/shm.h-data: Likewise.
10055 * conform/data/sys/socket.h-data: Likewise.
10056 * conform/data/sys/stat.h-data: Likewise.
10057 * conform/data/sys/statvfs.h-data: Likewise.
10058 * conform/data/sys/time.h-data: Likewise.
10059 * conform/data/sys/timeb.h-data: Likewise.
10060 * conform/data/sys/times.h-data: Likewise.
10061 * conform/data/sys/types.h-data: Likewise.
10062 * conform/data/sys/uio.h-data: Likewise.
10063 * conform/data/sys/un.h-data: Likewise.
10064 * conform/data/sys/utsname.h-data: Likewise.
10065 * conform/data/sys/wait.h-data: Likewise.
10066 * conform/data/syslog.h-data: Likewise.
10067 * conform/data/tar.h-data: Likewise.
10068 * conform/data/termios.h-data: Likewise.
10069 * conform/data/utime.h-data: Likewise.
10070 * conform/data/utmpx.h-data: Likewise.
10071 * conform/data/varargs.h-data: Likewise.
10072 * conform/data/wchar.h-data: Likewise.
10073 * conform/data/wctype.h-data: Likewise.
10074 * conform/data/wordexp.h-data: Likewise.
10076 * include/stropts.h: New file.
10077 * include/uchar.h: New file.
10078 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10079 * include/assert.h: Likewise.
10080 * include/ctype.h: Likewise.
10081 * include/dirent.h: Likewise.
10082 * include/dlfcn.h: Likewise.
10083 * include/fcntl.h: Likewise.
10084 * include/fnmatch.h: Likewise.
10085 * include/glob.h: Likewise.
10086 * include/grp.h: Likewise.
10087 * include/libio.h: Likewise.
10088 * include/locale.h: Likewise.
10089 * include/math.h: Likewise.
10090 * include/net/if.h: Likewise.
10091 * include/netdb.h: Likewise.
10092 * include/netinet/in.h: Likewise.
10093 * include/pthread.h: Likewise.
10094 * include/pwd.h: Likewise.
10095 * include/regex.h: Likewise.
10096 * include/sched.h: Likewise.
10097 * include/search.h: Likewise.
10098 * include/setjmp.h: Likewise.
10099 * include/signal.h: Likewise.
10100 * include/stdio.h: Likewise.
10101 * include/stdlib.h: Likewise.
10102 * include/string.h: Likewise.
10103 * include/sys/cdefs.h: Likewise.
10104 * include/sys/mman.h: Likewise.
10105 * include/sys/msg.h: Likewise.
10106 * include/sys/resource.h: Likewise.
10107 * include/sys/select.h: Likewise.
10108 * include/sys/socket.h: Likewise.
10109 * include/sys/stat.h: Likewise.
10110 * include/sys/statvfs.h: Likewise.
10111 * include/sys/time.h: Likewise.
10112 * include/sys/times.h: Likewise.
10113 * include/sys/uio.h: Likewise.
10114 * include/sys/utsname.h: Likewise.
10115 * include/sys/wait.h: Likewise.
10116 * include/termios.h: Likewise.
10117 * include/time.h: Likewise.
10118 * include/ulimit.h: Likewise.
10119 * include/unistd.h: Likewise.
10120 * include/utime.h: Likewise.
10121 * include/wchar.h: Likewise.
10122 * include/wctype.h: Likewise.
10123 * include/wordexp.h: Likewise.
10125 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10127 * time/time.h: TIME_UTC must be a macro.
10128 Make timespec_get available for ISO C11 only as well.
10130 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10132 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10133 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10135 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10137 * configure.in: Use -o not -a in test for unsupported multi-arch.
10139 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10141 * manual/texinfo.tex: Update to version 2012-01-19.16.
10143 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10145 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10147 2012-02-24 Roland McGrath <roland@hack.frob.com>
10150 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10151 * manual/fdl-1.3.texi: New file.
10152 * manual/fdl-1.1.texi: File removed.
10155 * manual/libc.texinfo (FDL_VERSION): New @set.
10156 Use it for mention of FDL in cover text.
10157 (Documentation License): Use it in @include file name.
10159 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10160 Roland McGrath <roland@hack.frob.com>
10163 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10164 not LONG_LONG_MAX and LONG_LONG_MIN.
10165 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10166 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10168 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10170 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10174 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10175 manipulate bits before adding and subtracting TWO23[sx].
10176 * math/libm-test.inc (nearbyint_test): Add more tests.
10178 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10181 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10182 bits before adding and subtracting TWO23[sx].
10183 * math/libm-test.inc (rint_test): Add more tests.
10184 (rint_test_tonearest): Likewise.
10185 (rint_test_towardzero): Likewise.
10186 (rint_test_downward): Likewise.
10187 (rint_test_upward: Likewise.
10189 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10192 * include/stdc-predef.h: New file. Extracted from features.h.
10193 * include/features.h: Include stdc-predef.h.
10194 * Makefile (headers): Add stdc-predef.h.
10195 * CONFORMANCE (Compiler limitations): Update.
10197 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10199 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10201 2012-02-21 David S. Miller <davem@davemloft.net>
10203 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10204 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10206 2012-02-20 David S. Miller <davem@davemloft.net>
10208 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10209 using a normal save/restore sequence, rather than allocating a
10210 dummy stack frame just to store a frame pointer and restore.
10211 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10213 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10215 * manual/install.texi: Fix stray word in line-wrapped comment.
10217 2012-02-20 David S. Miller <davem@davemloft.net>
10219 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10220 both binutils and gcc support GOTDATA.
10222 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10223 "rd %pc" in the PIC register setup sequences.
10225 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10226 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10227 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10228 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10229 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10231 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10232 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10234 (SYSCALL_ERROR_HANDLER): Likewise.
10235 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10236 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10237 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10238 (SYSCALL_ERROR_HANDLER): Likewise.
10240 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10241 (HAVE_GCC_GOTDATA): New.
10242 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10243 relocation support in both binutils and gcc.
10244 * sysdeps/sparc/elf/configure: Regenerate.
10246 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10247 * sysdeps/sparc/sparc32/elf/configure: Delete.
10248 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10249 * sysdeps/sparc/sparc64/elf/configure: Delete.
10250 * sysdeps/sparc/elf/configure.in: New file.
10251 * sysdeps/sparc/elf/configure: Generate.
10253 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10254 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10255 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10256 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10257 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10259 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10261 * manual/install.texi: Do not mention specific glibc version
10263 * manual/libc.texinfo (VERSION, UPDATED): Update.
10264 (@copying): Use @copyright{} and range of years.
10266 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10269 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10270 [crti.S not in sysdirs] (generated): Do not append.
10271 [crti.S not in sysdirs] (omit-deps): Likewise.
10272 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10273 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10274 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10275 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10276 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10278 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10279 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10280 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10281 * csu/defs.awk: Remove file.
10282 * sysdeps/generic/initfini.c: Likewise.
10283 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10285 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10288 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10290 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10291 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10292 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10293 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10294 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10295 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10297 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10298 (__EPOLL_PACKED): Define to empty if not defined by
10300 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10304 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10306 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10307 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10308 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10309 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10311 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10315 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10317 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10319 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10320 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10321 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10324 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10326 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10327 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10329 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10331 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10332 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10334 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10336 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10339 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10341 * math/w_acos.c: Use non-signaling floating-point comparisons.
10342 * math/w_acosf.c: Likewise.
10343 * math/w_acosh.c: Likewise.
10344 * math/w_acoshf.c: Likewise.
10345 * math/w_acoshl.c: Likewise.
10346 * math/w_acosl.c: Likewise.
10347 * math/w_asin.c: Likewise.
10348 * math/w_asinf.c: Likewise.
10349 * math/w_asinl.c: Likewise.
10350 * math/w_atanh.c: Likewise.
10351 * math/w_atanhf.c: Likewise.
10352 * math/w_atanhl.c: Likewise.
10353 * math/w_exp2.c: Likewise.
10354 * math/w_exp2f.c: Likewise.
10355 * math/w_exp2l.c: Likewise.
10356 * math/w_j0.c: Likewise.
10357 * math/w_j0f.c: Likewise.
10358 * math/w_j0l.c: Likewise.
10359 * math/w_j1.c: Likewise.
10360 * math/w_j1f.c: Likewise.
10361 * math/w_j1l.c: Likewise.
10362 * math/w_jn.c: Likewise.
10363 * math/w_jnf.c: Likewise.
10364 * math/w_log.c: Likewise.
10365 * math/w_log10.c: Likewise.
10366 * math/w_log10f.c: Likewise.
10367 * math/w_log10l.c: Likewise.
10368 * math/w_log2.c: Likewise.
10369 * math/w_log2f.c: Likewise.
10370 * math/w_log2l.c: Likewise.
10371 * math/w_logf.c: Likewise.
10372 * math/w_logl.c: Likewise.
10373 * math/w_sqrt.c: Likewise.
10374 * math/w_sqrtf.c: Likewise.
10375 * math/w_sqrtl.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10378 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10379 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10380 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10382 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10385 * manual/string.texi (strnlen): Use correct parameter name in
10386 equivalent expression.
10388 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10391 * manual/users.texi (seteuid): Consistently use neweuid for
10394 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10397 * manual/nss.texi (Services in the NSS configuration): Correct
10398 list of services in example configuration file.
10400 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10403 * manual/arith.texi: Remove statements about negative zero
10404 behaving identically to zero.
10406 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10409 * manual/install.texi: Do not document upgrading from libc5.
10411 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10414 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10416 2012-02-18 David S. Miller <davem@davemloft.net>
10418 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10419 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10420 %o7 across the call.
10421 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10423 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10424 SETUP_PIC_REG_LEAF.
10425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10426 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10427 * sysdeps/sparc/crtn.S: Likewise.
10429 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10431 * aout/Makefile: Remove.
10433 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10436 * manual/examples/argp-ex1.c (main): Format definition in GNU
10438 * manual/examples/argp-ex2.c (main): Likewise.
10439 * manual/examples/argp-ex3.c (main): Likewise.
10440 * manual/examples/argp-ex4.c (main): Likewise.
10441 * manual/examples/longopt.c (main): Use new-style prototype
10443 * manual/examples/strncat.c (main): Specify return type and use
10444 (void) for arguments.
10445 * manual/examples/subopt.c (main): Use char **argv argument.
10447 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10450 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10453 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10456 * manual/string.texi (strchr): Change when strchrnul is
10459 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10462 * manual/locale.texi (setlocale): Document LOCPATH.
10464 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10467 * manual/process.texi (execle): Move @dots{} before last argument.
10469 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10472 * manual/charset.texi (Generic Charset Conversion): Fix typo
10473 (LC_TYPE -> LC_CTYPE).
10475 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10478 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10479 (scalbnf): Likewise.
10480 (scalbnl): Likewise.
10481 (scalbln): Likewise.
10482 (scalblnf): Likewise.
10483 (scalblnl): Likewise.
10484 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10485 (vwarnx): Likewise.
10488 * manual/filesys.texi (telldir): Use braces around return type.
10489 * manual/llio.texi (mmap): Add space after comma.
10490 (mmap64): Likewise.
10491 * manual/math.texi (jn): Use @var{} on parameter names.
10497 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10499 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10501 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10502 (sched_get_priority_max): Likewise.
10503 * manual/signal.texi (sigvec): Add space after comma.
10504 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10506 (if_indextoname): Likewise.
10507 (if_freenameindex): Likewise.
10508 (sendto): Use ',' instead of '.' in prototype.
10509 * manual/startup.texi (syscall): Use @dots{} instead of literal
10511 * manual/stdio.texi (__fpending): Separate initial words of
10512 paragraph from @deftypefun line.
10513 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10515 (vsyslog): Use @var{} on parameter names.
10516 * manual/terminal.texi (stty): Use @var{} on parameter names.
10517 * manual/users.texi (getutmp): Use @var{} on parameter names.
10518 (getutmpx): Likewise.
10520 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10523 * manual/stdio.texi (fopen): Fix typos in description of
10526 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10529 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10530 get clock_id definition.
10532 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10535 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10536 (madvise): Cast every argument to void on its own.
10538 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10541 * manual/startup.texi (Exit Status): Fix typo.
10543 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10546 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10547 * manual/examples/argp-ex2.c: Likewise.
10548 * manual/examples/argp-ex3.c: Likewise.
10550 2012-02-16 Richard Henderson <rth@redhat.com>
10552 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10553 * sysdeps/s390/s390-32/initfini.c: Remove.
10554 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10555 * sysdeps/s390/s390-64/initfini.c: Remove.
10557 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10559 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10560 compiler output for sysdeps/generic/initfini.c.
10561 * sysdeps/sh/elf/initfini.c: Remove file.
10563 2012-02-16 David S. Miller <davem@davemloft.net>
10566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10568 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10569 * sysdeps/sparc/crti.S: New file.
10570 * sysdeps/sparc/crtn.S: New file.
10571 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10572 * sysdeps/sparc/sparc64/Makefile: Likewise.
10574 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10577 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10579 2012-02-15 Roland McGrath <roland@hack.frob.com>
10582 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10584 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10585 (write, read, close): Likewise.
10586 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10588 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10590 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10591 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10592 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10593 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10595 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10599 2012-02-14 Marek Polacek <polacek@redhat.com>
10601 * sysdeps/x86_64/crti.S: New file.
10602 * sysdeps/x86_64/crtn.S: New file.
10603 * sysdeps/x86_64/elf/initfini.c: Remove file.
10605 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10607 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10608 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10609 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10610 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10612 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10616 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10618 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10619 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10620 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10621 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10623 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10627 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10629 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10630 __feraiseexcept instead of feraiseexcept.
10632 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10633 nanosleep invocations.
10634 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10635 strings, and add error checking for a nanosleep invocations.
10637 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10639 Replace FSF snail mail address with URLs, as per GNU coding standards.
10640 Most of the snail mail addresses were wrong anyway, and omitting
10641 them makes the source code easier to maintain. Almost all of the
10642 changes are to license notices and to locale LC_IDENTIFICATION
10643 addresses, except for this one:
10644 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10645 not its snail mail address.
10647 2012-02-09 Richard Henderson <rth@twiddle.net>
10649 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10650 of kernel-features.h.
10652 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10654 2012-02-08 Marek Polacek <polacek@redhat.com>
10656 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10657 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10658 * sysdeps/gnu/_G_config.h: Likewise.
10659 * sysdeps/generic/_G_config.h: Likewise.
10661 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10663 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10667 * sysdeps/powerpc/powerpc32/crti.S: New file.
10668 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10669 * sysdeps/powerpc/powerpc64/crti.S: New file.
10670 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10672 * Makeconfig (have-initfini): Don't set.
10673 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10674 * configure.in (nopic_initfini): Don't substitute.
10675 * config.h.in (HAVE_INITFINI): Don't #undef.
10676 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10677 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10679 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10681 Support crti.S and crtn.S provided directly by architectures.
10682 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10683 [crti.S in sysdirs] (omit-deps): Likewise.
10684 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10685 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10686 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10687 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10688 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10689 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10690 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10691 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10692 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10693 compiler output for sysdeps/generic/initfini.c.
10694 * sysdeps/i386/elf/Makefile: Remove file.
10695 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10697 2012-02-07 Marek Polacek <polacek@redhat.com>
10699 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10700 * sysdeps/gnu/_G_config.h: Likewise.
10701 * sysdeps/mach/hurd/_G_config.h: Likewise.
10703 2012-02-07 Marek Polacek <polacek@redhat.com>
10705 * math/Makefile (tests): Add tst-CMPLX2.
10706 * math/tst-CMPLX2.c: New file.
10708 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10710 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10712 * math/libm-test.inc (jn_test): Add missing L suffix.
10714 2012-02-06 Marek Polacek <polacek@redhat.com>
10716 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10717 * sysdeps/i386/fpu/e_powf.S: Likewise.
10718 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10719 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10720 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10721 * sysdeps/i386/fpu/e_pow.S: Likewise.
10722 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10723 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10724 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10725 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10726 * sysdeps/i386/fpu/e_log2.S: Likewise.
10727 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10728 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10729 * sysdeps/i386/fpu/e_powl.S: Likewise.
10730 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10731 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10732 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10733 * sysdeps/i386/fpu/e_logl.S: Likewise.
10734 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10735 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10736 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10737 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10738 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10739 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10740 * sysdeps/i386/fpu/e_log.S: Likewise.
10741 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10742 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10743 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10744 * sysdeps/i386/fpu/e_logf.S: Likewise.
10745 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10746 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10747 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10748 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10749 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10750 * sysdeps/i386/fpu/e_log10.S: Likewise.
10751 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10752 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10753 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10754 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10755 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10756 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10757 * sysdeps/i386/asm-syntax.h: Likewise.
10758 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10759 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10760 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10761 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10762 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10763 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10764 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10765 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10766 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10767 * sysdeps/powerpc/sysdep.h: Likewise.
10768 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10769 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10771 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10774 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10776 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10778 * sysdeps/i386/sysdep.h: Include <features.h>.
10779 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10782 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10784 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10786 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10789 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10791 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10792 (SETUP_PIC_REG): Use GET_PC_THUNK.
10793 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10796 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10798 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10799 for non-PIC compilation.
10800 (SETUP_PIC_REG): Add .p2align directive.
10801 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10802 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10803 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10804 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10805 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10806 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10807 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10808 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10809 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10810 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10811 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10812 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10813 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10814 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10815 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10816 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10817 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10818 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10819 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10820 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10821 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10822 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10823 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10824 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10827 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10828 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10829 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10830 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10831 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10832 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10833 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10834 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10835 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10836 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10837 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10838 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10839 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10840 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10841 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10843 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10845 * math/tst-CMPLX.c: Include <stdio.h>.
10847 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10849 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10851 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10852 * sysdeps/sparc/bits/mathdef.h: Likewise.
10854 2012-01-31 Marek Polacek <polacek@redhat.com>
10856 * libio/libio.h: Don't define _PARAMS.
10857 * locale/programs/config.h: Don't define PARAMS.
10858 * stdlib/strtol_l.c: Likewise.
10859 (__strtol_l): Remove PARAMS from the prototype.
10861 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10863 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10864 names. Just use the correct names. Remove unnecessary wrapper
10866 * malloc/arena.c: Likewise.
10867 * malloc/hooks.c: Likewise.
10869 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10870 ARENA_TEST says not to. Simplify test for creation of a new arena.
10871 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10873 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10875 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10877 (update_get_addr): New function.
10878 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10879 GET_ADDR_MODULE parameter.
10881 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10883 * crypt/cert.c: Remove __STDC__ conditionals.
10884 * crypt/crypt-entry.c: Likewise.
10885 * crypt/crypt_util.c: Likewise.
10886 * libio/filedoalloc.c: Likewise.
10887 * libio/fileops.c: Likewise.
10888 * libio/genops.c: Likewise.
10889 * libio/iofclose.c: Likewise.
10890 * libio/iofdopen.c: Likewise.
10891 * libio/iofopen.c: Likewise.
10892 * libio/iofopen64.c: Likewise.
10893 * libio/iogetdelim.c: Likewise.
10894 * libio/iopopen.c: Likewise.
10895 * libio/obprintf.c: Likewise.
10896 * libio/oldfileops.c: Likewise.
10897 * libio/oldiofclose.c: Likewise.
10898 * libio/oldiofdopen.c: Likewise.
10899 * libio/oldiofopen.c: Likewise.
10900 * libio/oldiopopen.c: Likewise.
10901 * libio/wfiledoalloc.c: Likewise.
10902 * libio/wgenops.c: Likewise.
10903 * locale/programs/xmalloc.c: Likewise.
10904 * misc/syslog.c: Likewise.
10905 * stdio-common/xbug.c: Likewise.
10906 * string/memchr.c: Likewise.
10907 * string/memcmp.c: Likewise.
10908 * string/memrchr.c: Likewise.
10909 * string/rawmemchr.c: Likewise.
10910 * sysdeps/posix/getcwd.c: Likewise.
10911 * time/strftime_l.c: Likewise.
10913 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10915 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10916 * config.make.in (config-cflags-sse2avx): Define.
10917 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10920 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10922 * scripts/config.guess: Update from upstream config git repository.
10923 * scripts/config.sub: Likewise.
10925 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10927 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10929 (R_TILEPRO_*, R_TILEGX_*): New macros.
10931 * scripts/firstversions.awk: Fix bug in version range handling.
10933 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10935 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10937 * include/sys/epoll.h: New file.
10938 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10941 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10943 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10944 Avoid unnecessary __WORDSIZE == 64 test.
10945 (fmaxf): Use VEX format if possible.
10950 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10951 * math/math_private.h: Remove libc_fegetround* and
10953 * sysdeps/i386/configure.in: Check for -msse2avx.
10954 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10955 also if SSE2AVX is defined.
10956 Remove libc_fegetround* and libc_fesetround*.
10957 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10958 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10959 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10961 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10962 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10963 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10964 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10965 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10967 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10969 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10971 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10973 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10975 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10978 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10980 * Makeconfig (libm): Define.
10981 * elf/Makefile: Add rules to build and run tst-relsort1.
10982 * elf/tst-relsort1.c: New file.
10983 * elf/tst-relsort1mod1.c: New file.
10984 * elf/tst-relsort1mod2.c: New file.
10986 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10988 * math/s_ldexp.c: Remove __STDC__ conditionals.
10989 * math/s_ldexpf.c: Likewise.
10990 * math/s_ldexpl.c: Likewise.
10991 * math/s_nextafter.c: Likewise.
10992 * math/s_nexttowardf.c: Likewise.
10993 * math/s_significand.c: Likewise.
10994 * math/s_significandf.c: Likewise.
10995 * math/s_significandl.c: Likewise.
10996 * math/w_jnl.c: Likewise.
10997 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10998 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10999 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11000 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11001 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11005 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11006 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11007 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11008 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11009 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11010 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11011 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11012 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11013 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11014 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11016 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11017 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11018 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11019 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11020 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11021 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11022 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11023 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11024 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11025 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11026 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11027 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11028 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11029 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11030 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11031 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11032 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11033 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11034 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11035 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11036 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11037 * sysdeps/ieee754/k_standard.c: Likewise.
11038 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11039 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11040 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11099 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11104 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11112 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11113 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11117 * sysdeps/ieee754/s_matherr.c: Likewise.
11118 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11119 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11121 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11123 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11125 * crypt/md5.h: Remove __STDC__ conditionals.
11126 * libio/libioP.h: Likewise.
11127 * locale/programs/config.h: Likewise.
11128 * sysdeps/generic/sysdep.h: Likewise.
11129 * sysdeps/i386/asm-syntax.h: Likewise.
11130 * sysdeps/s390/asm-syntax.h: Likewise.
11131 * sysdeps/unix/sysdep.h: Likewise.
11132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11135 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11137 * libio/libio.h: Remove __STDC__ conditionals.
11138 * malloc/obstack.h: Likewise.
11139 * math/complex.h: Likewise.
11140 * math/math.h: Likewise.
11141 * sysdeps/generic/_G_config.h: Likewise.
11142 * sysdeps/gnu/_G_config.h: Likewise.
11143 * sysdeps/mach/hurd/_G_config.h: Likewise.
11144 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11145 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11146 * sysdeps/sparc/bits/mathdef.h: Likewise.
11148 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11151 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11152 Clean up HAS_* macros.
11153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11154 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11156 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11158 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11159 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11160 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11161 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11162 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11164 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11166 * elf/tst-unique3.cc (gets): Remove declaration.
11167 * elf/tst-unique3lib.cc (gets): Likewise.
11168 * elf/tst-unique3lib2.cc (gets): Likewise.
11169 * elf/tst-unique4.cc (gets): Likewise.
11171 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11173 * include/stdio.h: Add C++ protection. Add gets declarations and
11175 * debug/tst-chk1.c: Don't declare gets here.
11176 * stdio-common/tst-gets.c: Likewise.
11178 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11180 * posix/glob: Remove directory.
11182 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11184 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11186 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11188 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11189 of the non-standard EPFNOSUPPORT.
11191 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11193 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11194 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11195 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11197 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11199 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11201 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11203 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11205 * nscd/grpcache.c (cache_addgr): Likewise.
11206 * nscd/hstcache.c (cache_addhst): Likewise.
11207 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11208 * nscd/pwdcache.c (cache_addpw): Likewise.
11209 * nscd/servicescache.c (cache_addserv): Likewise.
11211 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11213 * malloc/malloc.c: Various cleanups.
11214 * malloc/hooks.c: Likewise.
11216 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11217 * stdlib/bug-fmtmsg1.c: New file.
11219 * stdlib/fmtmsg.c (init): Add missing unlock.
11220 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11222 2012-01-12 Marek Polacek <polacek@redhat.com>
11224 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11227 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11229 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11230 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11231 macro to ensure uniqueness of label name.
11232 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11233 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11235 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11237 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11239 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11240 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11241 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11244 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11246 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11248 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11249 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11250 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11252 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11254 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11255 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11256 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11259 * math/bits/math-finite.h: Add ldexp support.
11261 2012-01-10 Marek Polacek <polacek@redhat.com>
11263 * locale/programs/localedef.h (show_archive_content): Add noreturn
11266 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11268 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11270 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11272 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11274 * io/Makefile (headers): Add bits/poll2.h.
11276 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11279 typo #include statement.
11281 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11283 * include/sys/cdefs.h: Define __attribute_alloc_size.
11284 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11285 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11286 * elf/pldd.c: Likewise.
11287 * iconv/iconv_charmap.c: Likewise.
11288 * iconv/iconvconfig.c: Likewise.
11289 * iconv/strtab.c: Likewise.
11290 * locale/programs/locale.c: Likewise.
11291 * locale/programs/localedef.h: Likewise.
11292 * locale/programs/simple-hash.c: Likewise.
11293 * nscd/nscd.h: Likewise.
11294 * nss/makedb.c: Likewise.
11295 * sysdeps/generic/ldconfig.h: Likewise.
11296 * locale/programs/localedef.c: Remove xmalloc prototype.
11297 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11299 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11301 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11304 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11306 * math/Makefile (tests): Add tst-CMPLX.
11307 * math/tst-CMPLX.c: New file.
11309 * math/complex.h (CMPLXL): Fix typo.
11311 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11312 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11314 * debug/tst-chk1.c: Add poll and ppoll tests.
11315 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11316 * include/sys/poll.h: Add hidden proto for ppoll.
11317 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11318 * sysdeps/mach/hurd/ppoll.c: Likewise.
11319 * io/ppoll.c: Likewise.
11320 * debug/poll_chk.c: New file.
11321 * debug/ppoll_chk.c: New file.
11322 * include/bits/poll2.h: New file.
11323 * io/bits/poll2.h: New file.
11326 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11328 * configure.in: static is always set to yes. Remove.
11329 * config.make.in: Don't set build-static.
11330 * Makeconfig: Remove use of build-static.
11331 * dlfcn/Makefile: Likewise.
11332 * elf/Makefile: Likewise.
11333 * math/Makefile: Likewise.
11334 * misc/Makefile: Likewise.
11335 * nptl/Makefile: Likewise.
11336 * sysdeps/mach/hurd/Makefile: Likewise.
11338 * configure.in: PWD_P is not used anymore.
11339 * config.make.in: Remove PWD_P entry.
11341 * configure.in: Remove last remnants of RANLIB.
11342 No need to check for signed size_t anymore.
11343 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11345 Remove __builtin_expect test because we require at least gcc 3.4.
11346 * aclocal.m4: Likewise.
11348 * wcsmbs/mbrtoc16.c: Implement using towc function.
11349 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11350 * wcsmbs/wcsmbsload.c: Likewise.
11351 * iconv/gconv_simple.c: Likewise.
11352 * iconv/gconv_int.h: Likewise.
11353 * iconv/gconv_builtin.h: Likewise.
11354 * iconv/iconv_prog.c: Remove CHAR16 handling.
11356 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11358 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11360 * configure.in: Remove --with-elf and --enable-bounded options.
11361 Dont set base_machine for ia64. More non-ELF conditions removed.
11362 Remove testing and setting of leading underscore information.
11363 * config.make.in (build-bounded): Set to no.
11364 * config.h.in: Remove NO_UNDERSCORES entry.
11365 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11367 * csu/start.c: Remove !NO_UNDERSCORE code.
11368 * locale/localeinfo.h: Likewise.
11369 * sysdeps/generic/machine-gmon.h: Likewise.
11370 * sysdeps/generic/sysdep.h: Likewise.
11371 * sysdeps/i386/sysdep.h: Likewise.
11372 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11373 * sysdeps/mach/sysdep.h: Likewise.
11374 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11375 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11376 * sysdeps/sh/sysdep.h: Likewise.
11377 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11378 * sysdeps/unix/i386/sysdep.S: Likewise.
11379 * sysdeps/unix/sparc/start.c: Likewise.
11380 * sysdeps/unix/sparc/sysdep.S: Likewise.
11381 * sysdeps/unix/sparc/sysdep.h: Likewise.
11382 * sysdeps/unix/start.c: Likewise.
11383 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11384 * sysdeps/x86_64/sysdep.h: Likewise.
11386 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11389 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11391 * argp/argp-fmtstream.h: Use const instead __const.
11392 * argp/argp.h: Likewise.
11393 * assert/assert.h: Likewise.
11394 * bits/fenv.h: Likewise.
11395 * bits/sched.h: Likewise.
11396 * bits/sigset.h: Likewise.
11397 * bits/sigthread.h: Likewise.
11398 * catgets/nl_types.h: Likewise.
11399 * conform/data/pthread.h-data: Likewise.
11400 * crypt/crypt-private.h: Likewise.
11401 * crypt/crypt.h: Likewise.
11402 * crypt/crypt_util.c: Likewise.
11403 * ctype/ctype.h: Likewise.
11404 * debug/execinfo.h: Likewise.
11405 * debug/mbsnrtowcs_chk.c: Likewise.
11406 * debug/mbsrtowcs_chk.c: Likewise.
11407 * debug/wcsnrtombs_chk.c: Likewise.
11408 * debug/wcsrtombs_chk.c: Likewise.
11409 * debug/wcstombs_chk.c: Likewise.
11410 * dirent/dirent.h: Likewise.
11411 * dlfcn/dlfcn.h: Likewise.
11412 * elf/neededtest4.c: Likewise.
11413 * grp/grp.h: Likewise.
11414 * gshadow/gshadow.h: Likewise.
11415 * iconv/gconv.h: Likewise.
11416 * iconv/gconv_int.h: Likewise.
11417 * iconv/gconv_simple.c: Likewise.
11418 * iconv/iconv.h: Likewise.
11419 * iconv/loop.c: Likewise.
11420 * iconv/skeleton.c: Likewise.
11421 * include/aio.h: Likewise.
11422 * include/aliases.h: Likewise.
11423 * include/argz.h: Likewise.
11424 * include/arpa/inet.h: Likewise.
11425 * include/assert.h: Likewise.
11426 * include/dirent.h: Likewise.
11427 * include/dlfcn.h: Likewise.
11428 * include/execinfo.h: Likewise.
11429 * include/fcntl.h: Likewise.
11430 * include/fenv.h: Likewise.
11431 * include/glob.h: Likewise.
11432 * include/grp.h: Likewise.
11433 * include/libintl.h: Likewise.
11434 * include/mntent.h: Likewise.
11435 * include/netdb.h: Likewise.
11436 * include/pwd.h: Likewise.
11437 * include/rpc/netdb.h: Likewise.
11438 * include/sched.h: Likewise.
11439 * include/search.h: Likewise.
11440 * include/shadow.h: Likewise.
11441 * include/signal.h: Likewise.
11442 * include/stdio.h: Likewise.
11443 * include/stdlib.h: Likewise.
11444 * include/string.h: Likewise.
11445 * include/sys/socket.h: Likewise.
11446 * include/sys/stat.h: Likewise.
11447 * include/sys/statfs.h: Likewise.
11448 * include/sys/statvfs.h: Likewise.
11449 * include/sys/syslog.h: Likewise.
11450 * include/sys/time.h: Likewise.
11451 * include/sys/uio.h: Likewise.
11452 * include/time.h: Likewise.
11453 * include/unistd.h: Likewise.
11454 * include/utmp.h: Likewise.
11455 * include/wchar.h: Likewise.
11456 * include/wctype.h: Likewise.
11457 * inet/aliases.h: Likewise.
11458 * inet/arpa/inet.h: Likewise.
11459 * inet/netinet/ether.h: Likewise.
11460 * inet/netinet/in.h: Likewise.
11461 * intl/libintl.h: Likewise.
11462 * io/bits/fcntl2.h: Likewise.
11463 * io/fcntl.h: Likewise.
11464 * io/ftw.h: Likewise.
11465 * io/sys/poll.h: Likewise.
11466 * io/sys/stat.h: Likewise.
11467 * io/sys/statfs.h: Likewise.
11468 * io/sys/statvfs.h: Likewise.
11469 * io/utime.h: Likewise.
11470 * libio/bits/stdio.h: Likewise.
11471 * libio/bits/stdio2.h: Likewise.
11472 * libio/libio.h: Likewise.
11473 * libio/libioP.h: Likewise.
11474 * libio/stdio.h: Likewise.
11475 * locale/lc-ctype.c: Likewise.
11476 * locale/locale.h: Likewise.
11477 * login/utmp.h: Likewise.
11478 * malloc/arena.c: Likewise.
11479 * malloc/malloc.c: Likewise.
11480 * malloc/malloc.h: Likewise.
11481 * malloc/mcheck.c: Likewise.
11482 * malloc/mtrace.c: Likewise.
11483 * math/bits/mathcalls.h: Likewise.
11484 * math/fenv.h: Likewise.
11485 * math/math_private.h: Likewise.
11486 * misc/bits/error.h: Likewise.
11487 * misc/bits/syslog.h: Likewise.
11488 * misc/err.h: Likewise.
11489 * misc/error.h: Likewise.
11490 * misc/fstab.h: Likewise.
11491 * misc/mntent.h: Likewise.
11492 * misc/regexp.h: Likewise.
11493 * misc/search.h: Likewise.
11494 * misc/sgtty.h: Likewise.
11495 * misc/sys/mman.h: Likewise.
11496 * misc/sys/syslog.h: Likewise.
11497 * misc/sys/uio.h: Likewise.
11498 * misc/sys/xattr.h: Likewise.
11499 * misc/ttyent.h: Likewise.
11500 * nis/rpcsvc/ypclnt.h: Likewise.
11501 * nss/nss.h: Likewise.
11502 * posix/bits/unistd.h: Likewise.
11503 * posix/fnmatch.h: Likewise.
11504 * posix/glob.h: Likewise.
11505 * posix/sched.h: Likewise.
11506 * posix/spawn.h: Likewise.
11507 * posix/sys/wait.h: Likewise.
11508 * posix/unistd.h: Likewise.
11509 * posix/wordexp.h: Likewise.
11510 * pwd/pwd.h: Likewise.
11511 * resolv/netdb.h: Likewise.
11512 * resource/sys/resource.h: Likewise.
11513 * rt/aio.h: Likewise.
11514 * rt/bits/mqueue2.h: Likewise.
11515 * rt/mqueue.h: Likewise.
11516 * shadow/shadow.h: Likewise.
11517 * signal/signal.h: Likewise.
11518 * socket/send.c: Likewise.
11519 * socket/sendto.c: Likewise.
11520 * socket/sys/socket.h: Likewise.
11521 * stdio-common/printf.h: Likewise.
11522 * stdlib/bits/stdlib.h: Likewise.
11523 * stdlib/fmtmsg.h: Likewise.
11524 * stdlib/monetary.h: Likewise.
11525 * stdlib/stdlib.h: Likewise.
11526 * stdlib/ucontext.h: Likewise.
11527 * streams/stropts.h: Likewise.
11528 * string/argz.h: Likewise.
11529 * string/bits/string2.h: Likewise.
11530 * string/string.h: Likewise.
11531 * string/strings.h: Likewise.
11532 * sunrpc/rpc/auth.h: Likewise.
11533 * sunrpc/rpc/auth_des.h: Likewise.
11534 * sunrpc/rpc/clnt.h: Likewise.
11535 * sunrpc/rpc/netdb.h: Likewise.
11536 * sunrpc/rpc/pmap_clnt.h: Likewise.
11537 * sunrpc/rpc/xdr.h: Likewise.
11538 * sysdeps/generic/inttypes.h: Likewise.
11539 * sysdeps/generic/net/if.h: Likewise.
11540 * sysdeps/generic/sys/swap.h: Likewise.
11541 * sysdeps/gnu/net/if.h: Likewise.
11542 * sysdeps/gnu/utmpx.h: Likewise.
11543 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11544 * sysdeps/i386/i486/bits/string.h: Likewise.
11545 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11546 * sysdeps/s390/bits/string.h: Likewise.
11547 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11548 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11549 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11550 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11551 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11552 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11553 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11554 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11555 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11556 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11557 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11558 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11559 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11560 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11561 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11562 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11563 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11565 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11566 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11567 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11568 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11569 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11570 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11571 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11572 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11573 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11574 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11575 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11576 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11577 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11578 * sysvipc/sys/ipc.h: Likewise.
11579 * sysvipc/sys/msg.h: Likewise.
11580 * sysvipc/sys/sem.h: Likewise.
11581 * sysvipc/sys/shm.h: Likewise.
11582 * termios/termios.h: Likewise.
11583 * time/sys/time.h: Likewise.
11584 * time/time.h: Likewise.
11585 * wcsmbs/bits/wchar2.h: Likewise.
11586 * wcsmbs/uchar.h: Likewise.
11587 * wcsmbs/wchar.h: Likewise.
11588 * wctype/wctype.h: Likewise.
11591 * Makeconfig: Remove all but ELF support including AIX support.
11592 * Makerules: Likewise.
11593 * config.h.in: Likewise.
11594 * config.make.in: Likewise.
11595 * configure: Likewise.
11596 * configure.in: Likewise.
11597 * csu/Makefile: Likewise.
11598 * csu/version.c: Likewise.
11599 * debug/Makefile: Likewise.
11600 * dlfcn/Makefile: Likewise.
11601 * elf/Makefile: Likewise.
11602 * extra-lib.mk: Likewise.
11603 * iconv/Makefile: Likewise.
11604 * include/libc-symbols.h: Likewise.
11605 * include/shlib-compat.h: Likewise.
11606 * resolv/Makefile: Likewise.
11607 * resolv/res_libc.c: Likewise.
11608 * rt/Makefile: Likewise.
11609 * sysdeps/i386/asm-syntax.h: Likewise.
11610 * sysdeps/i386/sysdep.h: Likewise.
11611 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11612 * sysdeps/mach/sysdep.h: Likewise.
11613 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11614 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11615 * sysdeps/s390/asm-syntax.h: Likewise.
11616 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11617 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11618 * sysdeps/sh/sysdep.h: Likewise.
11619 * sysdeps/unix/sparc/sysdep.h: Likewise.
11620 * sysdeps/wordsize-32/divdi3.c: Likewise.
11621 * sysdeps/x86_64/sysdep.h: Likewise.
11623 * argp/Versions: Remove _argp_unlock_xxx.
11626 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11627 * abilist/libBrokenLocale.abilist: Likewise.
11628 * abilist/libanl.abilist: Likewise.
11629 * abilist/libc.abilist: Likewise.
11630 * abilist/libcrypt.abilist: Likewise.
11631 * abilist/libdl.abilist: Likewise.
11632 * abilist/libm.abilist: Likewise.
11633 * abilist/libnsl.abilist: Likewise.
11634 * abilist/libpthread.abilist: Likewise.
11635 * abilist/libresolv.abilist: Likewise.
11636 * abilist/librt.abilist: Likewise.
11637 * abilist/libthread_db.abilist: Likewise.
11638 * abilist/libutil.abilist: Likewise.
11639 * abilist/libnss_db.abilist: New file.
11641 * scripts/abilist.awk: Add support for indirect functions.
11643 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11645 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11647 * shlib-versions: Remove entries for ports architectures.
11649 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11651 * elf/stackguard-macros.h: Remove support for IA-64.
11652 * elf/tst-auditmod1.c: Likewise.
11653 * sysdeps/generic/ldsodefs.h: Likewise.
11655 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11656 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11660 * configure.in: Remove --enable-omitfp support.
11662 * config.make.in: Likewise.
11663 * Makeconfig: Likewise.
11664 * manual/install.texi: Likewise.
11666 In case anyone cares, the IA-64 architecture could move to ports.
11667 * sysdeps/ia64/*: Removed.
11668 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11669 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11672 * configure.in: Remove entries for unsupported architectures.
11675 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11676 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11678 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11679 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11680 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11681 fall back to using wcrtomb.
11682 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11683 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11685 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11686 * wcsmbs/tst-c16c32-1.c: New file.
11688 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11691 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11693 * elf/tst-unique3.cc: Add explicit declaration of gets.
11694 * elf/tst-unique3lib.cc: Likewise.
11695 * elf/tst-unique3lib2.cc: Likewise.
11696 * elf/tst-unique4.cc: Likewise.
11698 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11700 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11703 * assert/assert.h (static_assert): Don't define for C++.
11704 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11705 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11707 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11709 * iconv/loop.c (single loop): Fix assertion in storing of
11712 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11714 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11716 * posix/getconf.c: Update copyright year.
11717 * nss/getent.c: Likewise.
11718 * nss/makedb.c: Likewise.
11719 * iconv/iconvconfig.c: Likewise.
11720 * iconv/iconv_prog.c: Likewise.
11721 * elf/ldconfig.c: Likewise.
11722 * elf/pldd.c: Likewise.
11723 * elf/sotruss.ksh: Likewise.
11724 * catgets/gencat.c: Likewise.
11725 * csu/version.c: Likewise.
11726 * elf/ldd.bash.in: Likewise.
11727 * elf/sprof.c (print_version): Likewise.
11728 * locale/programs/locale.c: Likewise.
11729 * locale/programs/localedef.c: Likewise.
11730 * login/programs/pt_chown.c: Likewise.
11731 * nscd/nscd.c (print_version): Likewise.
11732 * debug/xtrace.sh: Likewise.
11733 * malloc/memusage.sh: Likewise.
11734 * malloc/mtrace.pl: Likewise.
11735 * debug/catchsegv.sh: Likewise.
11737 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11739 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11742 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11745 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11746 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11748 * iconv/gconv_int.h: Likewise.
11749 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11750 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11751 from libc for GLIBC_2.16.
11752 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11753 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11754 * wcsmbs/uchar.h: Really define mbstate_t.
11755 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11756 * wcsmbs/c16rtomb.c: New file.
11757 * wcsmbs/mbrtoc16.c: New file.
11758 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11759 for C/POSIX locale.
11760 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11761 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11763 * wcsmbs/wchar.h: Add missing __restrict.
11765 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11768 * time/Makefile (routines): Add timespec_get.
11769 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11770 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11771 timespec for ISO C11.
11772 * time/timespec_get.c: New file.
11773 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11774 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11777 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11778 * stdlib/stdlib.h: Declare aligned_alloc.
11779 * Versions.def: Add GLIBC_2.16 for libc.
11780 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11783 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11786 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11790 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11793 * assert/assert.h (static_assert): Define.
11795 * version.h: Update for 2.16 development version.
11798 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11801 * version.h (RELEASE): Bump for 2.15 release.
11802 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11804 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11805 Patch by Marek Polacek <mpolacek@redhat.com>.
11807 * bits/byteswap.h: Protect long long constants with __extension__.
11808 * sysdeps/i386/bits/byteswap.h: Likewise.
11809 * sysdeps/ia64/bits/byteswap.h: Likewise.
11810 * sysdeps/s390/bits/byteswap.h: Likewise.
11811 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11813 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11816 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11817 destination buffer.
11818 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11820 2011-12-23 Marek Polacek <polacek@redhat.com>
11822 * elf/dl-addr.c (determine_info): Add inline keyword.
11823 * elf/tst-auditmod4b.c (check_avx): Likewise.
11824 * elf/tst-auditmod6b.c (check_avx): Likewise.
11825 * elf/tst-auditmod6c.c (check_avx): Likewise.
11826 * elf/tst-auditmod7b.c (check_avx): Likewise.
11828 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11830 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11833 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11836 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11837 processing for last bytes.
11839 2011-08-06 Bruno Haible <bruno@clisp.org>
11842 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11843 U+0385, not to U+1FEE.
11846 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11847 entry for U+00A5 U+0301.
11849 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11852 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11853 buffer for the output is too small.
11855 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11859 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11860 SSE flags if possible.
11862 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11865 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11866 processing for last bytes.
11868 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11870 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11871 (syscall-list-default-options, syscall-list-default-condition)
11872 (syscall-list-includes): Define.
11873 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11874 list of ABIs and options and #if conditions for each ABI. Do not
11875 handle common syscalls between ABIs specially.
11876 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11878 (syscall-list-variants, syscall-list-32bit-options)
11879 (syscall-list-32bit-condition, syscall-list-64bit-options)
11880 (syscall-list-64bit-condition): Define.
11881 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11882 (syscall-list-variants, syscall-list-32bit-options)
11883 (syscall-list-32bit-condition, syscall-list-64bit-options)
11884 (syscall-list-64bit-condition): Define.
11885 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11887 (syscall-list-variants, syscall-list-32bit-options)
11888 (syscall-list-32bit-condition, syscall-list-64bit-options)
11889 (syscall-list-64bit-condition): Define.
11890 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11892 (syscall-list-variants, syscall-list-32bit-options)
11893 (syscall-list-32bit-condition, syscall-list-64bit-options)
11894 (syscall-list-64bit-condition): Define.
11896 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11898 * locale/iso-639.def: Add brx entry.
11901 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11902 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11904 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11905 __feraiseexcept_renamed.
11907 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11910 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11911 EPOLLET with unsigned values.
11912 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11913 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11915 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11916 to large cancellation.
11917 * math/s_cacoshf.c: Likewise.
11918 * math/s_cacoshl.c: Likewise.
11920 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11924 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11925 * math/s_cacoshf.c: Likewise.
11926 * math/s_cacoshl.c: Likewise.
11928 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11931 * iconv/gconv.h: Define __GCONV_SWAP.
11932 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11933 * iconvdata/utf-16.c: Likewise.
11934 * iconvdata/utf-32.c: Likewise.
11936 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11939 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11940 numerator after shifting it by one limb.
11942 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11944 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11945 under [__USE_EXTERN_INLINES].
11947 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11950 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11952 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11954 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11955 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11957 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11958 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11959 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11960 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11961 for strncasecmp/strncasecmp_l compilation.
11962 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11963 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11965 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11968 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11971 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11974 * time/tzfile.c (__tzfile_read): Check values from file header.
11976 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11978 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11979 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11980 * powerpc/powerpc32/dl-start.S: Likewise.
11981 * powerpc/powerpc32/elf/start.S: Likewise.
11982 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11983 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11984 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11985 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11986 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11987 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11988 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11989 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11990 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11991 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11992 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11993 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11994 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11995 * powerpc/powerpc32/memset.S: Likewise.
11996 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11997 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11998 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11999 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12000 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12001 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12002 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12003 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12004 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12005 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12006 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12007 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12008 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12010 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12012 * math/libm-test.inc: Added more nearbyint tests.
12013 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12014 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12016 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12018 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12020 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12023 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12025 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12026 Add wcscpy-ssse3 wcscpy-c.
12027 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12028 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12029 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12030 * sysdeps/x86_64/wcschr.S: New file.
12031 * sysdeps/x86_64/wcsrchr.S: New file.
12032 * string/test-strcmp.c: Remove checking of wcscmp function for
12034 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12035 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12036 wcsrchr-sse2 wcsrchr-c.
12037 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12038 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12039 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12040 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12041 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12042 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12043 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12044 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12045 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12046 * wcsmbc/wcschr.c (WCSCHR): New macro.
12048 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12050 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12051 * wcsmbs/test-wcsrchr.c: New file.
12052 * string/test-strrchr.c: Add wcsrchr support.
12054 * wcsmbs/test-wcscpy.c: New file.
12055 * string/test-strcpy.c: Add wcscpy support.
12058 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12060 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12063 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12066 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12068 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12070 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12071 Minor optimizations.
12073 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12074 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12075 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12077 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12079 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12080 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12081 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12082 for gcc to avoid warnings.
12083 * inet/Makefile (tests): Add tst-checks.
12084 * inet/tst-checks.c: New file.
12086 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12089 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12092 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12093 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12095 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12097 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12099 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12102 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12104 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12106 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12107 conditional on GCC version.
12108 (__arch_compare_and_exchange_val_8_acq)
12109 (__arch_compare_and_exchange_val_16_acq)
12110 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12111 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12112 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12114 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12116 * sysdeps/sh/backtrace.c: New file.
12118 2011-12-02 Andreas Schwab <schwab@redhat.com>
12120 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12123 2011-12-01 Andreas Schwab <schwab@redhat.com>
12125 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12126 falling back to utime.
12128 2011-11-30 Andreas Schwab <schwab@redhat.com>
12130 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12131 expectations for float.
12133 2011-11-29 Andreas Schwab <schwab@redhat.com>
12135 * locale/weight.h (findidx): Add parameter len.
12136 * locale/weightwc.h (findidx): Likewise.
12137 * posix/fnmatch_loop.c (FCT): Adjust caller.
12138 * posix/regcomp.c (build_equiv_class): Likewise.
12139 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12140 * posix/regexec.c (check_node_accept_bytes): Likewise.
12141 * string/strcoll_l.c (STRCOLL): Likewise.
12142 * string/strxfrm_l.c (STRXFRM): Likewise.
12144 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12146 * Makefile.in: Remove CVSOPT handling.
12147 * configure.in: Remove use of AC_REVISION.
12148 * iconvdata/Makefile (distribute): No need to filter out CVS.
12149 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12152 2011-11-16 Andreas Schwab <schwab@redhat.com>
12154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12155 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12156 [USE_AS_STRNCASECMP_L]: Likewise.
12157 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12158 NO_TLS_DIRECT_SEG_REFS.
12159 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12160 Fix argument offsets for non-PIC.
12161 [USE_AS_STRNCASECMP_L]: Likewise.
12162 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12163 NO_TLS_DIRECT_SEG_REFS.
12165 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12167 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12169 * locale/loadlocale.c (_nl_load_locale): Likewise.
12171 2011-11-15 Andreas Schwab <schwab@redhat.com>
12173 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12174 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12175 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12176 (SYSCALL_GETTIME): Set errno on error.
12178 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12179 count references to noai6ai_cached.
12181 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12183 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12185 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12186 FD_CLOEXEC for /proc/self/maps.
12188 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12189 FD_CLOEXEC for /proc/meminfo.
12191 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12194 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12195 FD_CLOEXEC for given file.
12197 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12199 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12200 FD_CLOEXEC for /etc/hosts.
12201 (_gethtent): Likewise.
12203 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12205 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12206 cancellation and set FD_CLOEXEC for /etc/netgroup.
12208 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12209 reading /etc/publickey.
12211 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12212 allow cancellation when reading /etc/group.
12214 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12216 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12218 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12219 when using data file.
12221 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12223 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12224 (write_nis_obj): Use "c" and "e" in fopen.
12226 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12228 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12230 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12232 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12234 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12237 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12239 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12241 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12243 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12244 file parsing and set FD_CLOEXEC.
12246 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12248 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12250 2011-11-14 Andreas Schwab <schwab@redhat.com>
12252 * malloc/arena.c (arena_get2): Don't call reused_arena when
12253 _int_new_arena failed.
12255 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12257 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12258 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12259 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12260 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12261 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12262 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12263 to compile strcasecmp and strncasecmp.
12264 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12265 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12269 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12271 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12272 locale-defines.sym to gen-as-const-headers.
12273 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12274 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12276 to compile strcasecmp and strncasecmp.
12277 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12278 strcasecmp_l and strncasecmp_l.
12279 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12280 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12281 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12282 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12283 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12284 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12285 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12286 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12287 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12288 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12289 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12291 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12293 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12294 result of SYSDEP_GETTIME_CPU to retval.
12295 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12296 parameter list to macro. Remove trailing semicolon. Adjust users.
12298 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12301 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12303 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12305 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12306 from unused variable.
12308 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12310 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12313 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12316 * sunrpc/rpc_prot.c (rejected): Fix case value.
12318 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12319 unsigned long long int to avoid warnings in shift.
12321 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12323 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12326 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12327 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12328 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12330 * nis/nis_table.c (nis_list): Use variable of correct type for
12331 result of __follow_path call.
12333 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12335 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12336 of math functions ceil, trunc, floor, round, and sqrt, when
12337 avaliable on the platform.
12338 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12340 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12341 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12342 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12344 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12346 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12347 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12349 2011-11-11 Roland McGrath <roland@hack.frob.com>
12351 * include/unistd.h: Fix __readlink return type.
12352 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12354 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12356 * stdlib/ucontext.h: Undo last change for makecontext.
12358 2011-11-11 Andreas Schwab <schwab@redhat.com>
12360 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12362 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12363 * setjmp/setjmp.h: Mark functions as non-leaf.
12364 * setjmp/bits/setjmp2.h: Likewise.
12365 * stdlib/ucontext.h: Likewise.
12367 2011-11-10 Andreas Schwab <schwab@redhat.com>
12369 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12370 (reused_arena): Don't check arena limit.
12371 (arena_get2): Atomically check arena limit.
12373 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12375 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12376 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12378 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12381 2011-11-07 Andreas Schwab <schwab@redhat.com>
12383 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12384 handler when locking.
12386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12387 Fix size of allocated buffer.
12389 2011-11-04 Andreas Schwab <schwab@redhat.com>
12392 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12393 declarations for long double functions.
12394 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12396 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12398 2011-11-03 Andreas Schwab <schwab@redhat.com>
12400 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12403 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12406 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12408 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12410 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12412 * include/alloca.h (stackinfo_alloca_round): Define.
12413 (extend_alloca): Use it.
12414 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12415 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12418 * scripts/check-local-headers.sh: Ignore libaudit.h.
12420 * nscd/Makefile (extra-objs): Make recursively expanded.
12422 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12424 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12425 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12427 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12428 * posix/tst-rfc3484-2.c: Likewise.
12429 * posix/tst-rfc3484-3.c: Likewise.
12431 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12433 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12435 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12436 process_vm_writev from libc using GLIBC_2.15 version.
12438 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12440 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12442 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12445 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12448 * nss/getent.c (initgroups_keys): Show error message in case no group
12451 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12452 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12453 __bump_nl_timestamp.
12454 * nscd/connections (nscd_init): When host database is served open
12455 netlink socket and request notification about configuration changes.
12456 (main_loop_poll): Track netlink file descriptor and bump timestamp
12457 in case data becomes available.
12458 (main_loop_epoll): Likewise.
12459 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12460 (database_pers_head): Add extra_data fileds.
12461 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12462 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12463 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12465 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12466 in6ai data, call __free_in6ai.
12467 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12468 Add -DHAVE_NETLINK.
12469 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12470 interface information. Reuse previous data if netlink timestamp
12472 (__bump_nl_timestamp): New function.
12473 (__free_in6ai): New function.
12475 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12477 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12478 close_not_cancel_no_status here.
12479 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12481 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12484 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12487 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12488 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12489 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12491 2011-07-03 Andreas Jaeger <aj@suse.de>
12494 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12495 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12496 * math/libm-test.inc (sin_test): Add test case.
12498 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12501 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12502 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12504 * elf/chroot_canon.c (chroot_canon): Cleanups.
12506 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12509 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12510 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12512 * string/test-strchr.c: Make usable for strchrnul testing.
12513 * string/test-strchrnul.c: New file.
12514 * string/Makefile (strop-tests): Add strchrnul.
12516 * po/it.po: Update from translation team.
12517 * po/es.po: Likewise.
12519 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12521 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12522 the three constants needed as parameters. Drop the others.
12523 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12524 __m128i_strloadu_tolower.
12525 Create and initialize variable zero and use it in all the places
12526 where _mm_setzero_si128 was used.
12528 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12529 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12530 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12531 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12533 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12534 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12535 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12536 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12537 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12538 __mpranred, __mptan.
12539 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12540 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12541 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12542 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12543 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12544 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12545 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12546 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12547 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12549 2011-10-28 Andreas Schwab <schwab@redhat.com>
12551 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12552 redefine if SHARED.
12553 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12556 wide char related routines to wcsmbs subdir.
12558 2011-10-27 Andreas Schwab <schwab@redhat.com>
12561 * misc/sys/cdefs.h (__THROWNL): Define.
12562 * posix/unistd.h: Use __THREADNL instead of __THREAD
12563 for memory synchronization functions.
12565 2011-10-26 Roland McGrath <roland@hack.frob.com>
12568 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12570 * manual/stdio.texi (Obstack Streams): Node removed.
12572 2011-10-26 Andreas Schwab <schwab@redhat.com>
12574 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12575 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12576 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12578 * math/math_private.h (math_force_eval): Allow non-addressable
12580 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12582 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12584 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12585 file is not needed.
12587 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12588 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12589 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12590 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12591 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12592 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12593 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12594 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12596 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12597 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12598 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12599 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12600 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12601 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12602 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12603 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12604 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12605 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12606 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12607 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12608 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12609 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12610 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12611 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12612 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12613 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12614 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12616 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12617 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12619 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12620 place. Use VEX encoding when compiling for AVX.
12622 2011-10-25 Andreas Schwab <schwab@redhat.com>
12624 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12625 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12627 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12629 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12631 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12632 useless if() expression.
12633 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12642 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12643 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12644 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12645 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12646 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12647 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12648 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12649 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12651 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12653 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12655 2011-10-25 Andreas Schwab <schwab@redhat.com>
12657 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12659 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12661 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12663 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12664 .text section. Avoid duplicate constants.
12665 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12675 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12677 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12680 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12682 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12688 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12689 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12690 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12691 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12692 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12693 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12694 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12695 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12696 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12697 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12698 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12699 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12700 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12701 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12702 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12703 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12704 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12705 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12706 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12707 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12708 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12709 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12711 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12713 * sysdeps/x86_64/dla.h: Move to ...
12714 * sysdeps/x86_64/fpu/dla.h: ...here.
12715 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12716 situations. Use __builtin_fma only for gcc 4.6 and up.
12718 * config.make.in: Add have-mfma4 entry.
12719 * configure.in: Substitute libc_cv_cc_fma4.
12720 * math/Makefile (dbl-only-routines): Add sincostab.
12721 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12722 Use __sincostab not sincos.
12723 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12730 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12731 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12732 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12733 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12735 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12736 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12738 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12739 define aliases when function name is a macro.
12740 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12741 sysdeps/ieee754/dbl-64/sincos.tbl.
12742 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12743 fma4-enabled routines.
12744 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12745 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12746 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12747 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12748 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12749 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12750 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12751 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12752 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12753 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12754 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12755 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12756 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12757 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12758 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12759 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12760 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12761 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12762 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12763 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12764 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12765 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12766 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12767 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12768 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12769 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12770 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12771 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12772 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12773 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12775 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12777 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12786 2011-10-24 Andreas Schwab <schwab@redhat.com>
12788 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12790 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12792 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12794 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12796 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12798 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12799 Remove unused variable magic_bits.
12800 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12802 * string/strnlen.c: Define and use STRNLEN macro.
12803 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12804 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12805 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12806 * wcsmbs/wcslen.c: Define and use WCSLEN.
12807 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12808 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12809 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12810 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12811 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12812 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12813 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12815 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12818 strnlen-sse2-no-bsf.
12819 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12821 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12822 Add strnlen support.
12823 (USE_AS_STRNLEN): New macro.
12824 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12825 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12826 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12827 * sysdeps/x86_64/wcslen.S: New file.
12829 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12831 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12832 XMM-moves are used for copying on small sizes.
12834 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12836 * wcsmbs/Makefile (strop-tests): Add wcschr.
12837 * wcsmbs/test-wcschr.c: New file.
12838 * string/test-strchr.c: Update.
12839 Add wcschr support.
12842 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12844 * wcsmbs/Makefile (strop-tests): Add wcslen.
12845 * wcsmbs/test-wcslen.c: New file.
12846 * string/test-strlen.c: Update.
12847 Add wcslen support.
12850 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12852 * po/it.po: Update from translation team.
12854 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12856 * sysdeps/x86_64/wcscmp.S: Update.
12857 Fix wrong comparison semantics.
12858 wcscmp shall use signed comparison not unsigned.
12859 Don't use substraction to avoid overflow bug.
12860 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12861 * wcsmbc/wcscmp.c: Likewise.
12862 * string/test-strcmp.c: Likewise.
12863 Add new tests to check cases with negative values.
12865 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12867 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12868 * sysdeps/x86_64/dla.h: ...here. New file.
12869 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12870 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12873 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12874 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12876 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12879 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12881 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12882 __ynl_finite aliases.
12884 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12888 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12890 [DLA_FMA] (EMULV): Use DLA_FMA.
12891 [DLA_FMA] (MUL12): Use EMULV.
12892 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12893 that are not needed.
12894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12902 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12904 * math/s_nan.c: Undef __nan.
12905 * math/s_nanf.c: Undef __nanf.
12906 * math/s_nanl.c: Undef __nanl.
12907 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12910 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12912 * math/s_catan.c: Add branch predictions.
12913 * math/s_catanf.c: Likewise.
12914 * math/s_catanh.c: Likewise.
12915 * math/s_catanhf.c: Likewise.
12916 * math/s_catanhl.c: Likewise.
12917 * math/s_catanl.c: Likewise.
12918 * math/s_cexp.c: Likewise.
12919 * math/s_cexpf.c: Likewise.
12920 * math/s_cexpl.c: Likewise.
12921 * math/s_clog.c: Likewise.
12922 * math/s_clog10.c: Likewise.
12923 * math/s_clog10f.c: Likewise.
12924 * math/s_clog10l.c: Likewise.
12925 * math/s_clogf.c: Likewise.
12926 * math/s_clogl.c: Likewise.
12927 * math/s_csqrt.c: Likewise.
12928 * math/s_csqrtf.c: Likewise.
12929 * math/s_csqrtl.c: Likewise.
12930 * math/s_ctanf.c: Likewise.
12931 * math/s_ctanh.c: Likewise.
12932 * math/s_ctanhf.c: Likewise.
12933 * math/s_ctanhl.c: Likewise.
12934 * math/s_ctanl.c: Likewise.
12936 * math/math_private.h: Define __nan, __nanf, __nanl.
12937 * math/s_cacosh.c: Include <math_private.h>.
12938 * math/s_cacoshl.c: Likewise.
12939 * math/s_casinh.c: Likewise.
12940 * math/s_casinhf.c: Likewise.
12941 * math/s_casinhl.c: Likewise.
12942 * math/s_ccos.c: Rely entire on ccosh.
12943 * math/s_ccosf.c: Rely entire on ccoshf.
12944 * math/s_ccosl.c: Rely entirely on ccoshl.
12945 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12946 Remove tests for FE_INVALID.
12947 * math/s_ccoshf.c: Likewise.
12948 * math/s_ccoshl.c: Likewise.
12949 * math/s_csin.c: Likewise.
12950 * math/s_csinf.c: Likewise.
12951 * math/s_csinh.c Likewise.
12952 * math/s_csinhf.c: Likewise.
12953 * math/s_csinhl.c: Likewise.
12954 * math/s_csinl.c: Likewise.
12955 * math/s_ctan.c: Likewise.
12956 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12957 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12958 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12960 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12963 compilation problems.
12965 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12968 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12970 * sysdeps/i386/configure.in: Test for -mfma4 option.
12971 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12972 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12973 COMMON_CPUID_INDEX_80000001.
12974 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12975 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12976 use it if FMA3 is not supported.
12977 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12979 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12980 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12982 2011-10-20 Andreas Schwab <schwab@redhat.com>
12985 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12986 it would create a cycle with a link time dependency.
12988 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12990 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12992 * string/Makefile (strop-tests): Add rawmemchr.
12993 * string/test-rawmemchr.c: New file.
12995 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12996 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12997 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12998 when compiling str{,n}casecmp and when AVX is available. Hook up
12999 new optimized code in initializers.
13001 2011-10-19 Andreas Schwab <schwab@redhat.com>
13003 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13004 __feraiseexcept instead of feraiseexcept.
13006 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13008 * math/math_private.h: Define defaults for libc_fetestexcept and
13010 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13011 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13012 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13013 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13014 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13015 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13016 libc_fetestexcept and libc_feupdateenv.
13018 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13019 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13020 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13021 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13022 libc_feholdexcept_setround.
13024 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13025 Add s_nearbyint-c and s_nearbyintf-c.
13026 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13027 nearbyintf inlines.
13028 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13029 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13030 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13031 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13033 * math/math_private.h: Define defaults for libc_fegetround,
13034 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13035 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13036 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13037 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13038 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13039 standard functions.
13040 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13041 Remove comments and hacks for old compiler versions.
13042 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13043 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13044 libc_feholdexceptl.
13046 2011-10-18 Andreas Schwab <schwab@redhat.com>
13048 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13049 (__feraiseexcept_renamed): Add __NTH.
13050 (feraiseexcept): Add __NTH. Rename local variables to fix
13051 namespace violations.
13053 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13055 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13057 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13059 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13060 recently added interfaces.
13061 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13063 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13064 about macro parameter expansion.
13066 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13067 __NO_MATH_INLINES is defined. Cleanups.
13069 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13070 and __floorf is target has SSE4.1.
13071 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13072 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13073 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13074 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13076 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13078 (floorf): Likewise.
13080 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13082 2011-10-17 Andreas Schwab <schwab@redhat.com>
13084 * misc/sys/cdefs.h: Fix last change.
13086 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13089 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13091 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13093 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13094 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13099 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13100 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13101 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13102 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13103 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13104 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13105 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13106 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13107 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13108 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13109 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13110 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13111 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13112 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13113 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13114 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13116 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13117 ceil, ceilf, floor, floorf.
13119 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13120 Perform IRELATIVE relocations last.
13122 * elf/do-rel.h: Add another parameter nrelative, replacing the
13123 local variable with the same name. Change name of the function
13124 to end in Rel or Rela (uppercase).
13125 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13126 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13127 elf_dynamic_do_##reloc function.
13129 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13131 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13132 is sufficient, at least on modern CPUs.
13134 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13136 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13137 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13139 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13141 * math/bits/math-finite.h: Add entries for exp.
13142 * math/e_expl.c: Add __*_finite alias.
13143 * sysdeps/i386/fpu/e_exp.S: Likewise.
13144 * sysdeps/i386/fpu/e_expf.S: Likewise.
13145 * sysdeps/i386/fpu/e_expl.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13147 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13148 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13151 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13152 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13154 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13155 is sufficient, at least on modern CPUs.
13157 * ctype/ctype-info.c (__ctype_init): Define.
13158 * include/ctype.h (__ctype_init): Declare.
13159 (__ctype_b_loc): The variable is always initialized.
13160 (__ctype_toupper_loc): Likewise.
13161 (__ctype_tolower_loc): Likewise.
13162 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13163 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13165 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13167 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13169 * configure.in: Also look in $cxxmachine/include for C++ system
13172 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13174 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13175 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13176 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13177 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13178 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13179 (USE_AS_WMEMCMP): New macro.
13181 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13182 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13183 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13184 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13186 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13187 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13188 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13189 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13190 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13191 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13192 (USE_AS_WMEMCMP): New macro.
13193 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13194 * sysdeps/string/test-memcmp.c: Update.
13195 Fix simple_wmemcmp.
13197 * wcsmbs/wmemcmp.c: Update.
13198 (WMEMCMP): New macro.
13201 2011-10-12 Andreas Jaeger <aj@suse.de>
13204 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13206 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13208 * libio/iofwide.c (do_length): Avoid warning.
13210 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13212 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13214 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13216 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13217 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13218 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13219 * sysdeps/i386/i686/fpu/e_log.S: New file.
13220 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13221 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13223 * ctype/ctype.h: Add support for inlined isXXX functions when
13224 compiling C++ code.
13226 2011-10-14 Andreas Schwab <schwab@redhat.com>
13228 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13230 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13232 2011-10-13 Roland McGrath <roland@hack.frob.com>
13235 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13237 2011-10-13 Andreas Schwab <schwab@redhat.com>
13239 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13240 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13243 * sysdeps/x86_64/memrchr.S: Check for zero size.
13245 * string/stratcliff.c: Add memrchr tests.
13247 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13250 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13251 rawmemchr-sse2 rawmemchr-sse2-bsf.
13252 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13253 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13254 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13255 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13256 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13257 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13258 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13259 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13260 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13261 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13262 * string/memrchr.c (MEMRCHR): New macro.
13264 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13266 Add integration with gcc's -ffinite-math-only and optimize wrapper
13268 * Versions.def: Define GLIBC_2.15 version for libm.
13269 * math/Makefile (headers): Add bits/math-finite.h.
13270 * math/bits/math-finite.h: New file.
13271 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13272 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13273 * math/e_acoshl.c: Add __*_finite alias.
13274 * math/e_acosl.c: Likewise.
13275 * math/e_asinl.c: Likewise.
13276 * math/e_atan2l.c: Likewise.
13277 * math/e_atanhl.c: Likewise.
13278 * math/e_coshl.c: Likewise.
13279 * math/e_exp10.c: Likewise.
13280 * math/e_exp10f.c: Likewise.
13281 * math/e_exp10l.c: Likewise.
13282 * math/e_exp2l.c: Likewise.
13283 * math/e_fmodl.c: Likewise.
13284 * math/e_gammal_r.c: Likewise.
13285 * math/e_hypotl.c: Likewise.
13286 * math/e_j0l.c: Likewise.
13287 * math/e_j1l.c: Likewise.
13288 * math/e_jnl.c: Likewise.
13289 * math/e_lgammal_r.c: Likewise.
13290 * math/e_log10l.c: Likewise.
13291 * math/e_log2l.c: Likewise.
13292 * math/e_logl.c: Likewise.
13293 * math/e_powl.c: Likewise.
13294 * math/e_sinhl.c: Likewise.
13295 * math/e_sqrtl.c: Likewise.
13296 * math/e_scalb.c: Completely rewritten and optimized.
13297 * math/e_scalbf.c: Likewise.
13298 * math/e_scalbl.c: Likewise.
13299 * math/w_acos.c: Likewise.
13300 * math/w_acosf.c: Likewise.
13301 * math/w_acosl.c: Likewise.
13302 * math/w_acosh.c: Likewise.
13303 * math/w_acoshf.c: Likewise.
13304 * math/w_acoshl.c: Likewise.
13305 * math/w_asin.c: Likewise.
13306 * math/w_asinf.c: Likewise.
13307 * math/w_asinl.c: Likewise.
13308 * math/w_atan2.c: Likewise.
13309 * math/w_atan2f.c: Likewise.
13310 * math/w_atan2l.c: Likewise.
13311 * math/w_atanh.c: Likewise.
13312 * math/w_atanhf.c: Likewise.
13313 * math/w_atanhl.c: Likewise.
13314 * math/w_exp10.c: Likewise.
13315 * math/w_exp10f.c: Likewise.
13316 * math/w_exp10l.c: Likewise.
13317 * math/w_fmod.c: Likewise.
13318 * math/w_fmodf.c: Likewise.
13319 * math/w_fmodl.c: Likewise.
13320 * math/w_j0.c: Likewise.
13321 * math/w_j0f.c: Likewise.
13322 * math/w_j0l.c: Likewise.
13323 * math/w_j1.c: Likewise.
13324 * math/w_j1f.c: Likewise.
13325 * math/w_j1l.c: Likewise.
13326 * math/w_jn.c: Likewise.
13327 * math/w_jnf.c: Likewise.
13328 * math/w_log.c: Likewise.
13329 * math/w_logf.c: Likewise.
13330 * math/w_logl.c: Likewise.
13331 * math/w_log10.c: Likewise.
13332 * math/w_log10f.c: Likewise.
13333 * math/w_log10l.c: Likewise.
13334 * math/w_log2.c: Likewise.
13335 * math/w_log2f.c: Likewise.
13336 * math/w_log2l.c: Likewise.
13337 * math/w_pow.c: Likewise.
13338 * math/w_powf.c: Likewise.
13339 * math/w_powl.c: Likewise.
13340 * math/w_remainder.c: Likewise.
13341 * math/w_remainderf.c: Likewise.
13342 * math/w_remainderl.c: Likewise.
13343 * math/w_scalb.c: Likewise.
13344 * math/w_scalbf.c: Likewise.
13345 * math/w_scalbl.c: Likewise.
13346 * math/w_sqrt.c: Likewise.
13347 * math/w_sqrtf.c: Likewise.
13348 * math/w_sqrtl.c: Likewise.
13349 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13350 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13352 * math/math_private.h: Declare __kernel_standard_f.
13353 * math/w_cosh.c: Remove cruft and optimize a bit.
13354 * math/w_coshf.c: Likewise.
13355 * math/w_coshl.c: Likewise.
13356 * math/w_exp2.c: Likewise.
13357 * math/w_exp2f.c: Likewise.
13358 * math/w_exp2l.c: Likewise.
13359 * math/w_hypot.c: Likewise.
13360 * math/w_hypotf.c: Likewise.
13361 * math/w_hypotl.c: Likewise.
13362 * math/w_lgamma.c: Likewise.
13363 * math/w_lgamma_r.c: Likewise.
13364 * math/w_lgammaf.c: Likewise.
13365 * math/w_lgammaf_r.c: Likewise.
13366 * math/w_lgammal.c: Likewise.
13367 * math/w_lgammal_r.c: Likewise.
13368 * math/w_sinh.c: Likewise.
13369 * math/w_sinhf.c: Likewise.
13370 * math/w_sinhl.c: Likewise.
13371 * math/w_tgamma.c: Likewise.
13372 * math/w_tgammaf.c: Likewise.
13373 * math/w_tgammal.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13375 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13376 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13377 Minor optimizations. Pretty printing. Remove cruft.
13378 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13379 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13380 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13381 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13382 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13383 * sysdeps/i386/fpu/e_asin.S: Likewise.
13384 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13385 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13386 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13387 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13388 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13389 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13390 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13391 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13392 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13393 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13394 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13395 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13396 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13397 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13398 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13399 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13400 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13401 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13402 * sysdeps/i386/fpu/e_log.S: Likewise.
13403 * sysdeps/i386/fpu/e_log10.S: Likewise.
13404 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13405 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13406 * sysdeps/i386/fpu/e_log2.S: Likewise.
13407 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13409 * sysdeps/i386/fpu/e_logf.S: Likewise.
13410 * sysdeps/i386/fpu/e_logl.S: Likewise.
13411 * sysdeps/i386/fpu/e_pow.S: Likewise.
13412 * sysdeps/i386/fpu/e_powf.S: Likewise.
13413 * sysdeps/i386/fpu/e_powl.S: Likewise.
13414 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13415 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13416 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13417 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13418 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13419 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13420 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13421 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13422 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13423 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13424 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13426 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13427 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13428 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13429 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13433 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13443 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13444 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13445 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13446 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13447 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13448 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13449 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13450 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13451 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13452 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13453 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13454 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13455 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13456 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13457 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13458 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13459 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13460 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13461 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13462 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13463 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13464 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13469 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13503 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13506 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13508 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13509 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13511 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13514 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13515 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13516 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13517 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13518 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13519 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13520 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13521 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13522 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13523 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13524 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13525 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13526 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13527 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13528 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13529 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13530 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13531 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13532 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13533 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13534 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13535 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13536 (__isnanf): Likewise.
13537 (__isinf_ns): Likewise.
13538 (__isinf_nsf): Likewise.
13539 (__finite): Likewise.
13540 (__finitef): Likewise.
13541 (__ieee754_sqrt): Define as macro.
13542 (__ieee754_sqrtf): Define as macro.
13543 (__ieee754_sqrtl): Define as macro.
13544 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13546 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13547 __FINITE_MATH_ONLY__ consistent.
13548 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13550 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13552 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13555 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13557 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13559 * po/ja.po: Update from translation team.
13561 2011-10-08 Roland McGrath <roland@hack.frob.com>
13563 * locale/programs/locarchive.c (prepare_address_space): New function.
13564 (create_archive, enlarge_archive, open_archive): Use it.
13566 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13567 inside [SHARED], where it is used.
13569 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13571 * nss/getent.c (netgroup_keys): Remove unused variable.
13572 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13574 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13576 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13577 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13579 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13580 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13581 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13582 * math/Makefile (libm-calls): Add s_isinf_ns.
13583 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13584 * math/multc3.c: Likewise.
13585 * math/s_casin.c: Likewise.
13586 * math/s_casinf.c: Likewise.
13587 * math/s_casinl.c: Likewise.
13588 * math/s_ccos.c: Likewise.
13589 * math/s_ccosf.c: Likewise.
13590 * math/s_ccosl.c: Likewise.
13591 * math/s_ctan.c: Likewise.
13592 * math/s_ctanf.c: Likewise.
13593 * math/s_ctanh.c: Likewise.
13594 * math/s_ctanhf.c: Likewise.
13595 * math/s_ctanhl.c: Likewise.
13596 * math/s_ctanl.c: Likewise.
13597 * math/w_fmod.c: Likewise.
13598 * math/w_fmodf.c: Likewise.
13599 * math/w_fmodl.c: Likewise.
13600 * math/w_remainder.c: Likewise.
13601 * math/w_remainderf.c: Likewise.
13602 * math/w_remainderl.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13604 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13605 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13606 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13607 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13608 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13609 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13610 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13612 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13614 * stdio-common/printf_fphex.c: Likewise.
13615 * stdio-common/printf_size.c: Likewise.
13617 * math/e_exp10.c: Include math_private.h using <...> not "...".
13618 * math/e_exp10f.c: Likewise.
13619 * math/e_exp10l.c: Likewise.
13620 * math/e_exp2l.c: Likewise.
13621 * math/e_j0l.c: Likewise.
13622 * math/e_j1l.c: Likewise.
13623 * math/e_jnl.c: Likewise.
13624 * math/e_lgammal_r.c: Likewise.
13625 * math/e_rem_pio2l.c: Likewise.
13626 * math/e_scalb.c: Likewise.
13627 * math/e_scalbf.c: Likewise.
13628 * math/e_scalbl.c: Likewise.
13629 * math/k_cosl.c: Likewise.
13630 * math/k_sinl.c: Likewise.
13631 * math/k_tanl.c: Likewise.
13632 * math/s_cacoshf.c: Likewise.
13633 * math/s_catan.c: Likewise.
13634 * math/s_catanf.c: Likewise.
13635 * math/s_catanh.c: Likewise.
13636 * math/s_catanhf.c: Likewise.
13637 * math/s_catanhl.c: Likewise.
13638 * math/s_catanl.c: Likewise.
13639 * math/s_ccosh.c: Likewise.
13640 * math/s_ccoshf.c: Likewise.
13641 * math/s_ccoshl.c: Likewise.
13642 * math/s_cexp.c: Likewise.
13643 * math/s_cexpf.c: Likewise.
13644 * math/s_cexpl.c: Likewise.
13645 * math/s_clog.c: Likewise.
13646 * math/s_clog10.c: Likewise.
13647 * math/s_clog10f.c: Likewise.
13648 * math/s_clog10l.c: Likewise.
13649 * math/s_clogf.c: Likewise.
13650 * math/s_clogl.c: Likewise.
13651 * math/s_csin.c: Likewise.
13652 * math/s_csinf.c: Likewise.
13653 * math/s_csinh.c: Likewise.
13654 * math/s_csinhf.c: Likewise.
13655 * math/s_csinhl.c: Likewise.
13656 * math/s_csinl.c: Likewise.
13657 * math/s_csqrt.c: Likewise.
13658 * math/s_csqrtf.c: Likewise.
13659 * math/s_csqrtl.c: Likewise.
13660 * math/s_ctan.c: Likewise.
13661 * math/s_ctanf.c: Likewise.
13662 * math/s_ctanh.c: Likewise.
13663 * math/s_ctanhf.c: Likewise.
13664 * math/s_ctanhl.c: Likewise.
13665 * math/s_ctanl.c: Likewise.
13666 * math/s_ldexp.c: Likewise.
13667 * math/s_ldexpf.c: Likewise.
13668 * math/s_ldexpl.c: Likewise.
13669 * math/s_significand.c: Likewise.
13670 * math/s_significandf.c: Likewise.
13671 * math/s_significandl.c: Likewise.
13672 * math/w_acos.c: Likewise.
13673 * math/w_acosf.c: Likewise.
13674 * math/w_acosh.c: Likewise.
13675 * math/w_acoshf.c: Likewise.
13676 * math/w_acoshl.c: Likewise.
13677 * math/w_acosl.c: Likewise.
13678 * math/w_asin.c: Likewise.
13679 * math/w_asinf.c: Likewise.
13680 * math/w_asinl.c: Likewise.
13681 * math/w_atan2.c: Likewise.
13682 * math/w_atan2f.c: Likewise.
13683 * math/w_atan2l.c: Likewise.
13684 * math/w_atanh.c: Likewise.
13685 * math/w_atanhf.c: Likewise.
13686 * math/w_atanhl.c: Likewise.
13687 * math/w_cosh.c: Likewise.
13688 * math/w_coshf.c: Likewise.
13689 * math/w_coshl.c: Likewise.
13690 * math/w_dremf.c: Likewise.
13691 * math/w_exp10.c: Likewise.
13692 * math/w_exp10f.c: Likewise.
13693 * math/w_exp10l.c: Likewise.
13694 * math/w_exp2.c: Likewise.
13695 * math/w_exp2f.c: Likewise.
13696 * math/w_fmod.c: Likewise.
13697 * math/w_fmodf.c: Likewise.
13698 * math/w_fmodl.c: Likewise.
13699 * math/w_hypot.c: Likewise.
13700 * math/w_hypotf.c: Likewise.
13701 * math/w_hypotl.c: Likewise.
13702 * math/w_j0.c: Likewise.
13703 * math/w_j0f.c: Likewise.
13704 * math/w_j0l.c: Likewise.
13705 * math/w_j1.c: Likewise.
13706 * math/w_j1f.c: Likewise.
13707 * math/w_j1l.c: Likewise.
13708 * math/w_jn.c: Likewise.
13709 * math/w_jnf.c: Likewise.
13710 * math/w_jnl.c: Likewise.
13711 * math/w_lgamma.c: Likewise.
13712 * math/w_lgamma_r.c: Likewise.
13713 * math/w_lgammaf.c: Likewise.
13714 * math/w_lgammaf_r.c: Likewise.
13715 * math/w_lgammal.c: Likewise.
13716 * math/w_lgammal_r.c: Likewise.
13717 * math/w_log.c: Likewise.
13718 * math/w_log10.c: Likewise.
13719 * math/w_log10f.c: Likewise.
13720 * math/w_log10l.c: Likewise.
13721 * math/w_log2.c: Likewise.
13722 * math/w_log2f.c: Likewise.
13723 * math/w_log2l.c: Likewise.
13724 * math/w_logf.c: Likewise.
13725 * math/w_logl.c: Likewise.
13726 * math/w_pow.c: Likewise.
13727 * math/w_powf.c: Likewise.
13728 * math/w_powl.c: Likewise.
13729 * math/w_remainder.c: Likewise.
13730 * math/w_remainderf.c: Likewise.
13731 * math/w_remainderl.c: Likewise.
13732 * math/w_scalb.c: Likewise.
13733 * math/w_scalbf.c: Likewise.
13734 * math/w_scalbl.c: Likewise.
13735 * math/w_sinh.c: Likewise.
13736 * math/w_sinhf.c: Likewise.
13737 * math/w_sinhl.c: Likewise.
13738 * math/w_sqrt.c: Likewise.
13739 * math/w_sqrtf.c: Likewise.
13740 * math/w_sqrtl.c: Likewise.
13741 * math/w_tgamma.c: Likewise.
13742 * math/w_tgammaf.c: Likewise.
13743 * math/w_tgammal.c: Likewise.
13745 * po/ja.po: Update from translation team.
13747 2011-09-29 Andreas Jaeger <aj@suse.de>
13750 * sunrpc/netname.c (netname2host): Fix logic.
13754 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13756 * math/w_remainder.c (__remainder): Likewise.
13757 * math/w_remainderf.c (__remainderf): Likewise.
13758 * math/libm-test.inc (remainder_test): Add test cases.
13760 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13762 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13765 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13767 * string/test-memcmp.c: Avoid unncessary #defines.
13768 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13770 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13772 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13773 Use new sse2 version for core i3 - i7 as it's faster
13774 than sse42 version.
13775 (bit_Prefer_PMINUB_for_stringop): New.
13776 * sysdeps/x86_64/rawmemchr.S: Update.
13777 Replace with faster SSE2 version.
13778 * sysdeps/x86_64/memrchr.S: New file.
13779 * sysdeps/x86_64/memchr.S: Update.
13780 Replace with faster SSE2 version.
13782 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13784 * elf/dl-load.c (lose): Add cast to avoid warning.
13786 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13788 * po/ca.po: Update from translation team.
13790 * inet/getnetgrent_r.c: Hook up nscd.
13791 * nscd/Makefile (routines): Add nscd_netgroup.
13792 (nscd-modules): Add netgroupcache.
13793 (CFLAGS-netgroupcache.c): Define.
13794 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13795 (cache_search): Add const to second parameter.
13796 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13798 (dbs): Add netgrdb entry.
13799 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13800 (verify_persistent_db): Handle netgrdb.
13801 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13802 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13804 (netgroup_response_header): Define.
13805 (innetgroup_response_header): Define.
13806 (datahead): Add netgroup_response_header and innetgroup_response_header
13808 * nscd/nscd.conf: Add entries for netgroup cache.
13809 * nscd/nscd.h (dbtype): Add netgrdb.
13810 (_PATH_NSCD_NETGROUP_DB): Define.
13811 (netgroup_iov_disabled): Declare.
13812 (xmalloc, xcalloc, xrealloc): Move declarations here.
13813 (cache_search): Adjust prototype.
13814 Add netgroup-related prototypes.
13815 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13816 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13817 (__nscd_innetgr): Declare.
13818 * nscd/selinux.c (perms): Use access_vector_t as element type and
13819 add netgroup-related initializers.
13820 * nscd/netgroupcache.c: New file.
13821 * nscd/nscd_netgroup.c: New file.
13822 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13823 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13824 For four parameters use innetgr.
13825 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13826 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13827 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13828 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13830 * nscd/connections.c (register_traced_file): Don't register file
13831 for disabled databases.
13833 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13835 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13837 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13838 from tree and freeing node.
13840 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13842 * nss/nsswitch.c (__nss_database_lookup): Handle
13843 nss_parse_service_list out of memory case.
13845 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13847 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13848 out of memory case.
13850 2011-10-04 Andreas Schwab <schwab@redhat.com>
13852 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13853 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13855 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13856 elf_machine_rela, elf_machine_lazy_rel.
13857 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13858 (ELF_DYNAMIC_DO_REL): Likewise.
13859 (ELF_DYNAMIC_DO_RELA): Likewise.
13860 (ELF_DYNAMIC_RELOCATE): Likewise.
13861 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13862 to ELF_DYNAMIC_DO_REL.
13863 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13864 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13865 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13867 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13868 skip_ifunc, don't call ifunc function if non-zero.
13869 (elf_machine_rela): Likewise.
13870 (elf_machine_lazy_rel): Likewise.
13871 (elf_machine_lazy_rela): Likewise.
13872 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13873 (elf_machine_lazy_rel): Likewise.
13874 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13876 (elf_machine_lazy_rel): Likewise.
13877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13879 (elf_machine_lazy_rel): Likewise.
13880 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13881 (elf_machine_lazy_rel): Likewise.
13882 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13883 (elf_machine_lazy_rel): Likewise.
13884 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13885 (elf_machine_lazy_rel): Likewise.
13886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13887 (elf_machine_lazy_rel): Likewise.
13888 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13889 (elf_machine_lazy_rel): Likewise.
13890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13891 (elf_machine_lazy_rel): Likewise.
13893 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13895 * nss/nss_files/files-init.c (_nss_files_init): Use static
13896 initialization for all the *_traced_file variables.
13898 2011-09-28 Andreas Schwab <schwab@redhat.com>
13900 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13902 2011-09-27 Roland McGrath <roland@hack.frob.com>
13905 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13907 2011-09-27 Andreas Schwab <schwab@redhat.com>
13909 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13910 Reread the line before reparsing it.
13912 2011-09-26 Andreas Schwab <schwab@redhat.com>
13914 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13916 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13917 Maxim Kuvyrkov <maxim@codesourcery.com>
13918 Joseph Myers <joseph@codesourcery.com>
13920 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13921 if needed for __stack_chk_guard.
13923 2011-09-19 Roland McGrath <roland@hack.frob.com>
13925 * sysdeps/posix/spawni.c (script_execute): Always define it.
13926 It will be optimized away if unused.
13927 (maybe_script_execute): New function.
13928 (__spawni): Call it.
13930 * Makerules: Don't include tls.make.
13931 (config-tls): Always set to thread.
13932 * tls.make.c: File removed.
13934 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13936 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13937 * config.make.in (CPPFLAGS-config): New substituted variable.
13939 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13941 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13944 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13945 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13947 2011-09-15 Roland McGrath <roland@hack.frob.com>
13949 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13950 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13951 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13952 (CALL_FAIL): Likewise.
13953 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13954 (CALL_FAIL): Macro removed.
13955 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13957 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13959 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13960 for __FINITE_MATH_ONLY__ == 1.
13962 2011-09-15 Andreas Schwab <schwab@redhat.com>
13964 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13965 __ieee754_sqrt instead of sqrt.
13966 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13967 __ieee754_sqrtf instead of sqrtf.
13968 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13969 __floorf instead of floorf.
13970 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13971 __floorf, __truncf instead of floorf, truncf.
13973 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13975 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13977 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13978 __extern_always_inline.
13979 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13982 2011-09-14 Andreas Schwab <schwab@redhat.com>
13984 * elf/rtld.c (dl_main): Also relocate in dependency order when
13985 doing symbol dependency testing.
13987 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13990 Always define `refsym'.
13992 2011-09-13 Andreas Schwab <schwab@redhat.com>
13994 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13995 (__FD_ELT): Renamed from __FDELT.
13996 * misc/bits/select2.h (__FD_ELT): Likewise.
13997 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13998 __FD_MASK instead of __FDELT, __FDMASK.
13999 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14001 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14004 * elf/Makefile (gen-ldd): Fix pattern.
14006 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14007 (init_tls): Likewise.
14009 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14011 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14013 2011-09-12 Andreas Schwab <schwab@redhat.com>
14015 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14016 `struct cmsghdr *' instead of `void *'.
14017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14020 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14022 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14024 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14025 ldd_rewrite_script.
14027 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14029 * configure.in: Remove --with-tls option.
14030 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14031 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14032 out in case it is missing.
14033 * sysdeps/ia64/elf/configure.in: Likewise.
14034 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14035 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14036 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14037 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14038 * sysdeps/sh/elf/configure.in: Likewise.
14039 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14040 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14041 * sysdeps/x86_64/elf/configure.in: Likewise.
14042 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14043 * sysdeps/mach/hurd/tls.h: Likewise.
14046 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14049 * configure.in: Fix use of AC_INIT.
14051 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14053 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14055 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14057 * malloc/hooks.c: Likewise.
14060 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14061 variables statically.
14062 (narenas): Initialize.
14063 (list_lock): Initialize.
14064 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14065 initializtion of main_arena and list_lock. Small cleanups.
14066 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14067 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14068 Add initializers to main_arena and mp_.
14069 (malloc_state): Remove pagesize member. Change all users to use
14072 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14073 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14074 is always initialized.
14076 * malloc/malloc.c: Removed unused configurations and dead code.
14077 * malloc/arena.c: Likewise.
14078 * malloc/hooks.c: Likewise.
14079 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14081 * include/tls.h: Removed. USE___THREAD must always be defined.
14082 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14083 * elf/dl-libc.c: Likewise.
14084 * elf/dl-tsd.c: Likewise.
14085 * include/errno.h: Likewise.
14086 * include/netdb.h: Likewise.
14087 * include/resolv.h: Likewise.
14088 * inet/herrno-loc.c: Likewise.
14089 * inet/herrno.c: Likewise.
14090 * malloc/arena.c: Likewise.
14091 * malloc/hooks.c: Likewise.
14092 * malloc/malloc.c: Likewise.
14093 * resolv/res-state.c: Likewise.
14094 * resolv/res_libc.c: Likewise.
14095 * sysdeps/i386/dl-machine.h: Likewise.
14096 * sysdeps/ia64/dl-machine.h: Likewise.
14097 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14098 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14099 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14100 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14101 * sysdeps/sh/dl-machine.h: Likewise.
14102 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14103 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14104 * sysdeps/unix/i386/sysdep.S: Likewise.
14105 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14106 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14107 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14108 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14109 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14110 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14111 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14113 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14115 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14116 * sysdeps/x86_64/dl-machine.h: Likewise.
14117 * tls.make.c: Likewise.
14119 * configure.in: Remove --with-__thread option. Make tests for
14120 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14121 tls_model attribute fail if no support is available. Remove
14123 * Makeconfig: Adjust for dropped configure option. All features are
14125 * Makerules: Likewise.
14126 * Versions.def: Likewise.
14127 * argp/argp-fmtstream.c: Likewise.
14128 * argp/argp-fmtstream.h: Likewise.
14129 * argp/argp-help.c: Likewise.
14130 * assert/assert.c: Likewise.
14131 * config.h.in: Likewise.
14132 * config.make.in: Likewise.
14133 * configure: Likewise.
14134 * configure.in: Likewise.
14135 * csu/Versions: Likewise.
14136 * csu/init.c: Likewise.
14137 * elf/tst-audit2.c: Likewise.
14138 * elf/tst-tls10.c: Likewise.
14139 * elf/tst-tls10.h: Likewise.
14140 * elf/tst-tls11.c: Likewise.
14141 * elf/tst-tls12.c: Likewise.
14142 * elf/tst-tls14.c: Likewise.
14143 * elf/tst-tlsmod11.c: Likewise.
14144 * elf/tst-tlsmod12.c: Likewise.
14145 * elf/tst-tlsmod13.c: Likewise.
14146 * elf/tst-tlsmod13a.c: Likewise.
14147 * elf/tst-tlsmod14a.c: Likewise.
14148 * elf/tst-tlsmod15b.c: Likewise.
14149 * elf/tst-tlsmod16a.c: Likewise.
14150 * elf/tst-tlsmod16b.c: Likewise.
14151 * elf/tst-tlsmod7.c: Likewise.
14152 * elf/tst-tlsmod8.c: Likewise.
14153 * elf/tst-tlsmod9.c: Likewise.
14154 * gmon/gmon.c: Likewise.
14155 * grp/fgetgrent_r.c: Likewise.
14156 * grp/putgrent.c: Likewise.
14157 * hurd/fopenport.c: Likewise.
14158 * include/libc-symbols.h: Likewise.
14159 * include/tls.h: Likewise.
14160 * intl/gettextP.h: Likewise.
14161 * intl/loadinfo.h: Likewise.
14162 * locale/global-locale.c: Likewise.
14163 * locale/localeinfo.h: Likewise.
14164 * mach/devstream.c: Likewise.
14165 * malloc/arena.c: Likewise.
14166 * malloc/set-freeres.c: Likewise.
14167 * misc/err.c: Likewise.
14168 * misc/getttyent.c: Likewise.
14169 * misc/mntent_r.c: Likewise.
14170 * posix/getopt.c: Likewise.
14171 * posix/wordexp.c: Likewise.
14172 * pwd/fgetpwent_r.c: Likewise.
14173 * resolv/Versions: Likewise.
14174 * resolv/res_hconf.c: Likewise.
14175 * shadow/fgetspent_r.c: Likewise.
14176 * shadow/putspent.c: Likewise.
14177 * stdio-common/printf_fphex.c: Likewise.
14178 * stdio-common/tmpfile.c: Likewise.
14179 * stdlib/abort.c: Likewise.
14180 * stdlib/fmtmsg.c: Likewise.
14181 * sunrpc/auth_unix.c: Likewise.
14182 * sunrpc/clnt_perr.c: Likewise.
14183 * sunrpc/clnt_tcp.c: Likewise.
14184 * sunrpc/clnt_udp.c: Likewise.
14185 * sunrpc/clnt_unix.c: Likewise.
14186 * sunrpc/openchild.c: Likewise.
14187 * sunrpc/svc_simple.c: Likewise.
14188 * sunrpc/svc_tcp.c: Likewise.
14189 * sunrpc/svc_udp.c: Likewise.
14190 * sunrpc/svc_unix.c: Likewise.
14191 * sunrpc/xdr.c: Likewise.
14192 * sunrpc/xdr_array.c: Likewise.
14193 * sunrpc/xdr_rec.c: Likewise.
14194 * sunrpc/xdr_ref.c: Likewise.
14195 * sunrpc/xdr_stdio.c: Likewise.
14197 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14199 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14201 2011-07-03 Andreas Jaeger <aj@suse.de>
14203 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14204 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14205 regenerate with gen-libm-tests.pl.
14207 2010-05-12 Petr Baudis <pasky@suse.cz>
14210 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14211 around j0() zero points by switching to j1().
14212 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14213 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14214 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14215 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14217 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14219 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14221 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14224 Patch in part by Pavel Roskin <proski@gnu.org>.
14227 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14229 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14230 Free memory block if necessary.
14233 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14234 be NULL. Don't lock in this case.
14236 2011-09-09 Roland McGrath <roland@hack.frob.com>
14238 * elf/elf.h (ELFOSABI_GNU): New macro.
14239 (ELFOSABI_LINUX): Define to that.
14241 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14243 * string/strncat.c (strncat): Undef the symbol in case it has been
14244 defined in bits/string.h.
14246 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14248 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14250 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14253 2011-08-17 Andreas Jaeger <aj@suse.de>
14255 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14257 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14258 Ian Lance Taylor <iant@google.com>
14260 * math/libm-test.inc (lround_test): New testcase.
14261 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14263 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14265 * Makefile: Remove support for automatic cvs check-ins.
14266 * Makerules: Likewise.
14267 * config.make.in: Likewise.
14268 * configure.in: Likewise.
14269 * intl/Makefile: Likewise.
14270 * locale/Makefile: Likewise.
14271 * po/Makefile: Likewise.
14272 * posix/Makefile: Likewise.
14273 * sysdeps/gnu/Makefile: Likewise.
14274 * sysdeps/mach/hurd/Makefile: Likewise.
14275 * sysdeps/sparc/sparc32/Makefile: Likewise.
14278 * posix/Makefile (bug-regex32-ENV): Define.
14279 Patch by John Stanley <jpsinthemix@verizon.net>.
14281 * misc/Makefile (headers): Add bits/select2.h.
14282 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14283 * misc/bits/select2.h: New file.
14284 * include/bits/select2.h: New file.
14285 * debug/Makefile (routines): Add fdelt_chk.
14286 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14287 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14289 * debug/fdelt_chk.c: New file.
14291 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14292 * wcsmbs/test-wmemcmp.c: Likewise.
14293 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14294 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14296 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14298 * string/Makefile (strop-tests): Add memcmp.
14299 * string/test-wmemcmp.c: New file.
14300 * string/test-memcmp.c: Add wmemcmp support.
14302 2011-09-08 Roland McGrath <roland@hack.frob.com>
14305 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14308 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14309 garbage value in a __mach_port_mod_refs call in the cases of the
14310 task-self and thread-self ports.
14312 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14314 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14316 2011-09-08 Andreas Schwab <schwab@redhat.com>
14318 * elf/dl-load.c (lose): Check for non-null L.
14320 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14322 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14324 * elf/dl-libc.c (dlerror_run): Pass back error code from
14328 * elf/dl-load.c (lose): Free l_origin if it is valid.
14330 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14332 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14333 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14334 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14335 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14336 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14337 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14339 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14341 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14342 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14343 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14344 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14345 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14346 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14347 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14348 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14349 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14350 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14352 2011-08-15 Alan Modra <amodra@gmail.com>
14355 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14356 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14357 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14358 ppc_mcount to static-only-routines.
14359 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14361 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14362 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14364 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14366 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14367 for finite and infinity parameters.
14369 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14371 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14372 and add nop instructions for throughput optimization.
14373 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14375 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14377 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14378 aligned copy for power7 with vector-scalar instructions.
14379 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14381 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14383 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14386 2011-09-07 Andreas Schwab <schwab@redhat.com>
14389 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14392 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14394 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14395 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14396 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14397 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14400 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14402 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14403 Forgot to demangle the pointer.
14405 * sysdeps/i386/sysdep.h: Define atom_text_section.
14406 * sysdeps/x86_64/sysdep.h: Likewise.
14407 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14408 section with atom_text_section.
14409 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14410 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14411 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14412 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14413 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14415 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14416 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14417 already be defined. Change to take two parameters and don't assign
14418 result to variable. Adjust all users.
14419 Define INTERNAL_GETTIME if not already defined.
14420 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14423 HAVE_CLOCK_GETTIME_VSYSCALL.
14424 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14426 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14427 gettimeofday vsyscall, just use time.
14429 2011-09-06 Andreas Schwab <schwab@redhat.com>
14431 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14434 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14436 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14440 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14441 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14442 syscall if possible.
14444 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14446 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14447 e_ident. Don't pass to find_mapsXX.
14448 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14450 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14453 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14454 * sysdeps/x86_64/multiarch/strchr.S: Update.
14455 Check bit_slow_BSF bit.
14456 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14457 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14458 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14460 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14463 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14465 (tryshell): Define.
14466 (__spawni): Change last parameter to be flag. Test
14467 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14468 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14469 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14470 * posix/spawni.c: Likewise.
14471 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14472 * posix/spawnp.c: Likewise. Change normal version to use
14473 SPAWN_XFLAGS_USE_PATH.
14474 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14475 SPAWN_XFLAGS_TRY_SHELL.
14478 * posix/glob.h: Remove gcc 1.x support.
14481 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14483 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14486 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14488 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14489 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14490 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14491 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14492 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14493 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14495 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14497 * sysdeps/x86_64/wcscmp.S: New file.
14499 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14500 wcscmp-c wcscmp-sse2
14501 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14502 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14503 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14504 * wcsmbs/wcscmp.c: Allow renaming.
14506 2011-09-05 David S. Miller <davem@davemloft.net>
14508 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14509 stack slot, rather than the struct return pointer slot.
14510 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14511 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14513 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14515 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14517 * po/ja.po: Update from translation team.
14520 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14521 kernel in 64-bit binaries.
14523 2011-09-01 David S. Miller <davem@davemloft.net>
14525 * elf/elf.h (HWCAP_SPARC_*): Move to..
14526 * sysdeps/sparc/sysdep.h: this new file and add new values.
14527 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14528 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14529 _DL_HWCAP_COUNT to 24.
14530 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14532 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14533 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14534 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14536 instead of magic constants.
14537 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14539 2011-08-31 David S. Miller <davem@davemloft.net>
14541 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14543 Reimplement to do errno handling inline.
14544 (SYSCALL_ERROR_HANDLER): New macro.
14545 (__SYSCALL_STRING): Do not do errno handling in asm.
14546 (__CLONE_SYSCALL_STRING): Delete.
14547 (__INTERNAL_SYSCALL_STRING): Delete.
14548 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14549 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14550 (PSEUDO): Reimplement to do errno handling inline.
14551 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14552 (SYSCALL_ERROR_HANDLER): New macro.
14553 (__SYSCALL_STRING): Do not do errno handling in asm.
14554 (__CLONE_SYSCALL_STRING): Delete.
14555 (__INTERNAL_SYSCALL_STRING): Delete.
14556 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14557 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14559 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14560 (inline_syscall*): Add 'err' argument.
14561 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14562 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14563 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14564 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14566 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14567 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14569 2011-08-30 Andreas Schwab <schwab@redhat.com>
14571 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14573 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14575 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14578 2011-08-24 David S. Miller <davem@davemloft.net>
14580 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14582 2011-08-24 Andreas Schwab <schwab@redhat.com>
14584 * elf/Makefile: Add rules to build and run unload8 test.
14585 * elf/unload8.c: New file.
14586 * elf/unload8mod1.c: New file.
14587 * elf/unload8mod1x.c: New file.
14588 * elf/unload8mod2.c: New file.
14589 * elf/unload8mod3.c: New file.
14591 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14594 2011-08-23 David S. Miller <davem@davemloft.net>
14596 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14597 subtract stack bias.
14598 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14599 %sp not %fp in calculations.
14600 (_JMPBUF_UNWINDS_ADJ): Likewise.
14602 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14603 (aio_suspend): Call it to force an exception region around the
14604 AIO_MISC_WAIT() invocation.
14606 2011-08-23 Andreas Schwab <schwab@redhat.com>
14608 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14611 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14613 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14615 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14616 and <dl-machine.h>.
14617 (Elf64_FuncDesc): Remove.
14619 2011-08-22 David S. Miller <davem@davemloft.net>
14621 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14622 sigaltstack check, add missing cfi directives.
14623 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14624 missing cfi directives, and sigaltstack handling.
14626 2011-08-16 Andreas Schwab <schwab@redhat.com>
14629 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14630 object is seen twice.
14631 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14633 * elf/Makefile (distribute): Add tst-initorder2.c.
14634 (tests): Add tst-initorder2.
14635 (modules-names): Add tst-initorder2a tst-initorder2b
14636 tst-initorder2c tst-initorder2d. Add rules to build them.
14637 ($(objpfx)tst-initorder2.out): New rule.
14638 * elf/tst-initorder2.c: New file.
14639 * elf/tst-initorder2.exp: New file.
14641 2011-08-22 Andreas Schwab <schwab@redhat.com>
14643 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14645 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14646 dependencies back to end of function.
14648 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14649 $(elfobjdir)/ld.so.
14651 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14653 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14654 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14655 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14656 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14657 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14658 of __vdso_gettimeofday.
14659 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14660 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14662 (_libc_vdso_platform_setup): Remove initialization of
14663 __vdso_gettimeofday and __vdso_time.
14665 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14667 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14668 and fgetc_unlocked.
14669 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14672 * elf/dl-open.c (add_to_global): Report additions to the global scope
14673 for LD_DEBUG=scopes.
14674 (dl_open_worker): Also print scope of newly loaded dependencies.
14675 (_dl_show_scope): Indicate if there is no scope.
14678 * stdio-common/Makefile (tests): Add bug24.
14679 * stdio-common/bug24.c: New file.
14681 2011-08-19 Andreas Jaeger <aj@suse.de>
14684 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14685 non-existant file when using close-on-exec mode.
14687 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14690 the very first instruction.
14692 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14693 the CFI state in the end.
14694 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14695 inclusion of dl-trampoline.h.
14696 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14698 2011-08-19 Andreas Schwab <schwab@redhat.com>
14700 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14701 expectations for long double.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14704 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14706 2011-08-14 David S. Miller <davem@davemloft.net>
14708 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14709 artificual limit depends upon the system page size.
14711 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14713 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14714 * resolv/Makefile: Define CFLAGS-libresolv.
14716 2011-08-17 Andreas Schwab <schwab@redhat.com>
14718 * nss/makedb.c (compute_tables): Make variables used in nested
14721 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14723 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14724 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14725 if buffer was too small.
14727 * elf/pldd.c (main): Attach to all threads in the process.
14728 Rewrite /proc handling to use *at functions.
14730 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14732 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14733 specifies first scope to show.
14734 (dl_open_worker): Update callers. Move printing scope of new
14735 object to before the relocation.
14736 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14737 * sysdeps/generic/ldsodefs.h: Update declaration.
14739 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14740 string for the scope number.
14742 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14744 * nscd/servicescache.c (cache_addserv): Make sure written is always
14747 2011-08-14 Roland McGrath <roland@hack.frob.com>
14749 * sysdeps/i386/i486/bits/atomic.h
14750 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14751 statement expression, so as to suppress "set but not used" warning.
14752 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14754 * string/strncat.c (STRNCAT): Use prototype definition.
14756 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14757 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14759 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14760 (localedef-modules): Add localedef.
14761 (locale-modules): Add locale.
14763 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14764 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14765 to avoid a warning.
14767 2011-08-14 David S. Miller <davem@davemloft.net>
14769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14770 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14772 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14774 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14775 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14776 * elf/rtld.c (dl_main): Set l_name of vDSO.
14777 Call _dl_show_scope when DL_DEBUG_SCOPES.
14778 (process_dl_debug): Recognize scopes flag and also set it for all.
14779 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14780 Declare _dl_show_scope.
14782 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14783 (do_dlopen): Pass caller_dlopen to dl_open.
14784 (__libc_dlopen_mode): Initialize caller_dlopen.
14786 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14787 of libc. Make tolower call locale-independent. Optimize a bit by
14788 using isdigit instead of isalnum.
14789 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14791 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14793 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14794 was a dependency or dynamically loaded.
14796 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14798 * intl/l10nflist.c: Allow architecture-specific pop function.
14799 * sysdeps/x86_64/l10nflist.c: New file.
14801 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14804 2011-08-10 Andreas Schwab <schwab@redhat.com>
14806 * include/dirent.h: Add libc_hidden_proto for scandirat and
14807 scandirat64. Don't declare __scandirat64.
14808 * dirent/scandirat.c: Add libc_hidden_def.
14809 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14810 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14812 2011-08-10 David S. Miller <davem@davemloft.net>
14814 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14817 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14818 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14820 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14822 * Versions.def [libc]: Add GLIBC_2.15.
14823 * dirent/Makefile (routines): Add scandirat and scandirat64.
14824 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14826 * dirent/dirent.h: Declare scandirat and scandirat64.
14827 * dirent/scandirat.c: New file.
14828 * dirent/scandirat64.c: New file.
14829 * sysdeps/wordsize-64/scandirat.c: New file.
14830 * sysdeps/wordsize-64/scandirat64.c: New file.
14831 * dirent/opendir.c: Define opendirat.
14832 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14834 * dirent/scandir64.c: Adjust for scandir.c change.
14835 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14836 __scandirat64, and __scandir_cancel_handler.
14837 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14838 additional parameter and use openat instead of open (outside of ld.so).
14839 Add new __opendir as wrapper around __opendirat.
14840 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14841 here without requiring old scandirat implementation.
14843 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14845 * dirent/scandir.c (cancel_handler): Renamed to
14846 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14847 defined. Adjust users.
14848 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14849 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14851 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14853 * string/test-string.h (IMPL): Use __STRING to expand name and then
14856 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14859 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14861 * string/Makefile: Update.
14862 (strop-tests): Append strncat.
14863 * string/test-wcscmp.c: New file.
14864 New comprehensive test for wcscmp.
14865 * string/test-strcmp.c: Update.
14866 (WIDE): New define.
14868 2011-07-22 Andreas Schwab <schwab@redhat.com>
14870 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14873 2011-07-26 Andreas Schwab <schwab@redhat.com>
14875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14876 encoding to ACE if AI_IDN.
14878 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14880 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14881 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14883 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14885 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14886 Fix overflow bug in strncat.
14887 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14889 * string/test-strncat.c: Update.
14890 Add new tests for checking overflow bugs.
14892 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14895 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14896 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14897 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14898 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14899 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14900 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14901 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14902 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14905 (USE_AS_STRCAT): Define.
14906 Add strcat and strncat support.
14907 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14909 2011-07-25 Andreas Schwab <schwab@redhat.com>
14911 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14912 __n bigger than INT_MAX+1.
14913 (__strncmp_g): Likewise.
14915 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14917 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14918 * libio/stido.h: Likewise.
14920 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14922 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14925 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14926 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14927 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14928 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14932 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14937 (_dl_x86_64_save_sse): Likewise.
14939 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14941 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14943 (_dl_x86_64_save_sse): Likewise.
14945 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14947 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14949 2011-07-21 Andreas Schwab <schwab@redhat.com>
14951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14953 (_dl_x86_64_save_sse): Use correct AVX check.
14955 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14957 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14958 bug in strncpy/strncat.
14959 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14961 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14963 * string/tester.c (test_strcat): Add tests for different alignments
14964 of source and destination.
14965 (test_strncat): Likewise.
14967 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14970 * posix/glob.c (glob): Check passed in values before using them in
14971 expressions to avoid some overflows.
14972 (glob_in_dir): Likewise.
14975 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14976 check for AVX enablement so that we don't crash with old kernels and
14978 * elf/tst-audit4.c: Add same checks here.
14979 * elf/tst-audit6.c: Likewise.
14981 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14983 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14985 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14987 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14989 * po/cs.po: Update from translation team.
14990 * po/bg.po: Likewise.
14992 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14994 * misc/sys/cdefs.h: Add support for const attribute.
14995 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14996 to gnu_dev_{major,minor,makedev} functions.
14998 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15000 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15002 2011-07-20 Andreas Schwab <schwab@redhat.com>
15004 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15007 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15009 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15010 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15011 register in order to avoid conflicts with the soft frame pointer
15012 being held in r11 when necessary.
15013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15014 (INTERNAL_VSYSCALL_NCS): Likewise.
15016 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15018 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15019 * elf/dl-fini.c (_dl_fini): Adjust caller.
15020 * elf/dl-close.c (_dl_close_worker): Likewise.
15021 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15023 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15025 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15026 "aux_cache->nlibs < 0".
15028 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15029 in the reload-count case.
15031 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15034 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15035 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15036 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15037 * sysdeps/x86_64/multiarch/strcat.S: New file.
15038 * sysdeps/x86_64/multiarch/strncat.S: New file.
15039 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15040 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15041 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15042 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15043 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15044 (USE_AS_STRCAT): Define.
15045 Add strcat and strncat support.
15046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15047 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15048 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15049 * string/strncat.c: Update.
15050 (USE_AS_STRNCAT): Define.
15051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15052 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15054 * sysdeps/x86_64/multiarch/init-arch.h
15055 (bit_Prefer_PMINUB_for_stringop): New.
15056 (index_Prefer_PMINUB_for_stringop): Likewise.
15057 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15058 bit_Prefer_PMINUB_for_stringop.
15060 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15062 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15064 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15065 of casting of buffer.
15066 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15067 buffer32 and buffer64.
15068 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15069 writes instead of casting of buffer.
15070 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15072 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15075 2011-07-19 Andreas Schwab <schwab@redhat.com>
15077 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15079 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15081 * nscd/nscd.c (termination_handler): Don't do anything for a database
15082 if it has not yet been initialized.
15084 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15086 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15088 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15090 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15092 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15094 * po/nl.po: Update from translation team.
15095 * po/sv.po: Likewise.
15097 2011-07-16 Roland McGrath <roland@hack.frob.com>
15099 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15100 now disallowed by GCC.
15102 * configure.in (use-default-link): Default to yes if a test -shared
15103 link meets our qualifications.
15104 * configure: Regenerated.
15106 * config.make.in (output-format): New variable.
15107 * configure.in: Check for ld --print-output-format support.
15108 * configure: Regenerated.
15109 * Makerules ($(common-objpfx)format.lds)
15110 [$(output-format) != unknown]: Just use $(output-format),
15111 instead of the linker-script munging.
15113 2011-07-14 Roland McGrath <roland@hack.frob.com>
15115 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15116 of $(common-objpfx)shlib.lds.
15117 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15119 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15120 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15122 * configure.in (-z relro check): Adjust test code to add a large
15123 writable data section after it.
15124 * configure: Regenerated.
15126 2011-07-11 Roland McGrath <roland@hack.frob.com>
15128 * configure.in (-z relro check): Fix test code to make the variable
15130 * configure: Regenerated.
15132 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15134 * nscd/nscd.h (struct traced_file): Define.
15135 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15136 elements. Add traced_files.
15137 (inotify_fd): Declare.
15138 (register_traced_file): Declare.
15139 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15140 (inotify_fd): Export.
15141 (resolv_conf_descr): Remove.
15142 (nscd_init): Move inotify descriptor creation to main.
15143 Don't register files for notification here.
15144 (register_traced_file): New function.
15145 (invalidate_cache): Don't use reset_res to determine whether to call
15146 res_init, go through the list of registered files.
15147 (main_loop_poll): The inotify descriptors are now stored in the
15148 structures for the traced files.
15149 (main_loop_epoll): Likewise
15150 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15151 to __nss_disable_nscd.
15152 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15153 for a database anymore. Check the records for all the registered
15155 * nss/Makefile (libnss_files-routines): Add files-init.
15156 (libnss_db-routines): Add db-init.
15157 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15158 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15159 * nss/nss_db/db-init.c: New file.
15160 * nss/nss_files/files-init.c: New file.
15161 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15162 __nss_lookup_function.
15163 (__nss_lookup_function): Call nss_load_library.
15164 (nss_load_all_libraries): New function.
15165 (__nss_disable_nscd): Take parameter with callback function for files
15166 to register. Set is_nscd. Load all the DSOs for the NSS modules
15167 used for the cached services.
15168 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15169 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15170 options for features to all the files in nscd.
15172 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15174 2011-07-10 Roland McGrath <roland@hack.frob.com>
15176 * csu/elf-init.c (__libc_csu_init): Comment typo.
15178 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15180 * po/pl.po: Update from translation team.
15181 * po/ja.po: Likewise.
15182 * po/ru.po: Likewise.
15183 * po/ko.po: Likewise.
15184 * po/fr.po: Likewise.
15186 2011-07-09 Roland McGrath <roland@hack.frob.com>
15188 * configure.in (.ctors/.dtors header and trailer check):
15189 Use an empirical test on a built program.
15190 * configure: Regenerated.
15192 * configure.in (-z relro check): Use an empirical test on a built DSO.
15193 Detect, but do not require, on ia64.
15194 * configure: Regenerated.
15196 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15197 Update tests that use readelf to use $READELF instead.
15198 * configure: Regenerated.
15200 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15202 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15203 if the result is not used.
15205 2011-07-05 Andreas Jaeger <aj@suse.de>
15208 * stdlib/tst-strtod.c: Add testcase.
15210 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15212 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15213 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15214 The latter has a higher limit. Take additional parameter to pass to
15216 (__pathconf): Pass file to __statfs_link_max.
15217 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15219 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15223 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15224 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15226 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15227 (__statfs_filesize_max): Likewise.
15228 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15230 2011-07-05 Andreas Jaeger <aj@suse.de>
15232 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15234 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15236 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15238 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15241 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15243 * Makefile (strop-tests): Add strncat.
15244 * string/test-strncat.c: New file.
15246 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15248 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15250 2011-06-21 Andreas Jaeger <aj@suse.de>
15252 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15253 Copy rule from iconvdata/Makefile.
15255 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15258 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15259 but no long options are defined, just return 'W'.
15261 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15264 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15266 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15268 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15270 (innetgr): Likewise.
15272 2011-07-05 Roland McGrath <roland@hack.frob.com>
15274 * config.make.in (install_root): Default to $(DESTDIR).
15276 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15278 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15280 2011-07-02 Roland McGrath <roland@hack.frob.com>
15282 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15284 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15285 containing directory rather than embedding absolute directory names.
15287 * scripts/check-local-headers.sh: Rewritten using awk.
15288 Match by word, not by line. Print error messages for matches.
15289 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15291 * Makerules [shlib-lds-flags empty]:
15292 ($(common-objpfx)libc_pic.opts): New target.
15293 ($(common-objpfx)libc_pic.os.clean): New target.
15294 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15296 * config.make.in (OBJCOPY): New variable.
15297 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15298 * configure: Regenerated.
15300 * config.make.in (use-default-link): New variable.
15301 * configure.in (use_default_link): Grok --with-default-link to set it.
15302 * configure: Regenerated.
15303 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15304 (shlib-lds, shlib-lds-flags): Define to empty.
15306 * Makerules (shlib-lds): New variable.
15307 (shlib-lds-flags): New variable.
15308 (build-shlib, build-moduile, build-module-asneeded): Use it.
15309 ($(common-objpfx)libc.so): Use $(shlib-lds).
15310 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15311 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15313 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15314 DT_FLAGS/DT_FLAGS_1 with zero flags.
15316 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15317 linker script munging.
15319 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15321 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15323 * crypt/sha512.c (sha512_process_block): Perform total addition using
15324 128-bit if possible.
15325 (__sha512_finish_ctx): Likewise.
15326 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15328 * crypt/sha256.c (SWAP64): Define.
15329 (sha256_process_block): Perform total addition using 64-bit if
15331 (__sha256_finish_ctx): Likewise.
15333 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15335 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15337 * nscd/hstcache.c (cache_addhst): Likewise.
15338 * nscd/grpcache.c (cache_addgr): Likewise.
15339 * nscd/aicache.c (addhstaiX): Likewise
15340 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15342 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15344 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15345 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15346 * nscd/hstcache.c (cache_addhst): Likewise.
15347 * nscd/grpcache.c (cache_addgr): Likewise.
15348 * nscd/aicache.c (addhstaiX): Likewise
15350 2011-07-01 Andreas Schwab <schwab@redhat.com>
15352 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15353 domain only when needed.
15355 2011-06-30 Andreas Schwab <schwab@redhat.com>
15357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15358 is always restored.
15360 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15362 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15363 are re-adding the entry.
15364 * nscd/servicescache.c (cache_addserv): Likewise.
15366 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15368 * sysdeps/generic/dl-irel.h: fix protection against multiple
15370 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15372 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15375 * malloc/memusage.sh: Fix quoting in message.
15376 * debug/xtrace.sh: Likewise.
15378 * configure.in: Remove support for --experimental-malloc option, make
15380 * config.make.in: Likewise.
15381 * malloc/Makefile: Likewise.
15383 2011-06-27 Andreas Schwab <schwab@redhat.com>
15385 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15386 two-byte characters.
15388 2011-06-27 Roland McGrath <roland@hack.frob.com>
15390 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15391 AC_CACHE_CHECK invocation.
15392 * configure: Regenerated.
15394 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15396 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15399 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15400 bit from old_res_options.
15402 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15404 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15405 value type for setfct.
15407 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15409 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15410 __gettimeofday instead of gettimeofday.
15412 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15414 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15416 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15418 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15420 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15423 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15426 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15427 strcpy-sse2-unaligned strncpy-sse2-unaligned
15428 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15429 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15430 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15431 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15432 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15433 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15434 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15435 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15436 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15437 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15438 (STRCPY): Support SSE2 and SSSE3 versions.
15440 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15443 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15444 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15445 kernels which artificially limit size of requests.
15447 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15450 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15451 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15452 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15453 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15454 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15455 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15456 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15457 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15459 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15460 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15461 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15462 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15463 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15465 Enable unaligned load optimization for Intel Core i3, i5 and i7
15467 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15469 (index_Fast_Unaligned_Load): Define.
15470 (HAS_FAST_UNALIGNED_LOAD): Define.
15472 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15474 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15476 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15479 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15480 until it is clear that the information is realy needed.
15481 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15483 2011-06-22 Andreas Schwab <schwab@redhat.com>
15485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15487 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15489 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15490 /sys/devices/system/cpu/online if it is usable.
15492 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15493 reading the information from the /proc filesystem to once a second.
15495 2011-06-21 Andreas Jaeger <aj@suse.de>
15497 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15498 NULL after inclusion of kernel headers.
15500 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15502 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15503 calls to internal_setent.
15506 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15507 addresses using gethostbyname4_r ignore IPv4 addresses.
15509 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15510 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15512 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15514 2011-06-20 David S. Miller <davem@davemloft.net>
15516 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15518 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15520 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15521 (elf_irel): Use it.
15522 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15523 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15524 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15525 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15526 * sysdeps/x86_64/dl-irel.h: Likewise.
15528 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15529 * elf/dl-sym.c: Likewise.
15531 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15533 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15534 need to dereference resplen2.
15536 2011-06-14 Andreas Schwab <schwab@redhat.com>
15538 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15540 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15542 * Makeconfig: Define vardbdir and inst_vardbdir.
15543 * nss/Makefile: Add rules to install db-Makefile.
15545 * nss/nss_db/db-XXX.c: Cleanup.
15547 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15548 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15550 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15551 * nss/makedb.c: Implement -g option to specify that value strings
15552 are generated and should not be added to table iterated over for
15554 * nss/nss_db/db-initgroups.c: New file.
15556 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15559 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15560 (internal_getgrouplist): Adjust to name change.
15561 Update use_initgroups_entry if this is not the first call.
15562 * nss/databases.def: Add initgroups entry.
15564 * nss/makedb.c (compute_tables): Check result of multiple hash table
15565 sizes to minimize maximum chain length.
15567 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15569 * Versions.def: Add entry for libnss_db.
15570 * shlib-versions: Likewise.
15571 * nss/Makefile: Add rules to build libnss_db.
15572 * nss/Versions: Add libnss_db information. Organize libnss_files
15574 * nss/db-Makefile: Add gshadow support. Change rules for the new
15575 makedb progra. Some minor improvements to generate smaller files.
15576 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15578 * nss/makedb.c: ...here.
15579 Improve database format to be smaller and require less memory at
15581 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15583 * nss/nss_db/db-netgrp.c: Likewise.
15584 * nss/nss_db/db-open.c: Likewise.
15585 * nss/nss_files/flies-XXX.x: Adjust comments.
15586 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15587 * nss/nss_files/files-grp.c: Likewise.
15588 * nss/nss_files/files-hosts.c: Likewise.
15589 * nss/nss_files/files-network.c: Likewise.
15590 * nss/nss_files/files-proto.c: Likewise.
15591 * nss/nss_files/files-pwd.c: Likewise.
15592 * nss/nss_files/files-rpc.c: Likewise.
15593 * nss/nss_files/files-service.c: Likewise.
15594 * nss/nss_files/files-sgrp.c: Likewise.
15595 * nss/nss_files/files-spwd.c: Likewise.
15596 * nss/nss_db/db-alias.c: Removed.
15597 * nss/nss_db/dummy-db.h: Removed.
15599 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15601 * nss/makedb.c: Rewritten to not use database library.
15602 * nss/Makefile: Update to build new makedb program.
15604 2011-06-14 Andreas Jaeger <aj@suse.de>
15606 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15607 memset declaration.
15609 2011-06-10 Andreas Schwab <schwab@redhat.com>
15611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15614 2011-06-10 Roland McGrath <roland@hack.frob.com>
15616 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15617 * elf/Makefile ($(objpfx)ld.so): Likewise.
15619 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15620 Don't list ld.so twice in dependencies.
15622 * posix/bug-regex31.c: Include <stdlib.h>.
15624 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15626 * nis/nss_compat/compat-spwd.c
15627 (getspent_next_nss_netgr): Remove unused variable.
15628 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15630 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15631 nonmembers" output to use the right array.
15633 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15635 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15637 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15638 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15639 * catgets/gencat.c (read_input_file): Likewise.
15640 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15642 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15643 variable definition inside #if's controlling its use.
15645 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15647 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15649 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15651 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15654 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15656 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15657 * configure: Regenerated.
15659 * Makerules: Revert last change.
15660 * elf/Makefile: Likewise.
15662 2011-06-09 Roland McGrath <roland@hack.frob.com>
15664 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15665 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15666 (reloc-link): Likewise.
15668 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15670 * elf/Makefile: Add rules to build pldd.
15671 * elf/pldd.c: New file.
15672 * elf/pldd-xx.c: New file.
15674 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15676 * version.h: Update for 2.15 development version.
15678 2011-06-07 David S. Miller <davem@davemloft.net>
15680 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15682 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15683 elf_machine_lazy_rel): Likewise.
15684 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15685 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15686 elf_machine_lazy_rel): Likewise.
15687 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15688 dl_hwcap via passed in argument.
15689 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15692 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15694 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15696 2011-06-06 Roland McGrath <roland@hack.frob.com>
15699 * manual/fdl-1.1.texi: New file, verbatim from:
15700 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15701 * manual/lgpl-2.1.texi: New file, verbatim from:
15702 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15703 * manual/Makefile (licenses): New variable, list those new file names.
15705 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15707 * manual/fdl.texi: File removed.
15708 * manual/lesser.texi: File removed.
15709 * manual/libc.texinfo (Copying, Documentation License):
15710 Use new @include file names, put @appendix directive before @include.
15712 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15715 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15716 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15717 (mq_open): Add __NTH.
15719 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15722 Assume Intel Core i3/i5/i7 processor if AVX is available.
15724 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15729 2011-05-31 Andreas Schwab <schwab@redhat.com>
15731 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15732 memory. Use alloca_account. Fix memory leak when retrying.
15734 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15736 * version.h (RELEASE): Bump for 2.14 release.
15737 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15739 * config.make.in (RANLIB): Remove entry.
15741 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15743 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15744 (libc.pot): Work around missing support for .ksh extension in xgettext.
15747 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15748 if both request failed.
15749 (send_dg): In case of server errors clear resplen or *resplen2.
15752 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15753 when there are multiple maps.
15754 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15755 (_dl_fini): Remove test here.
15757 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15759 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15762 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15763 bit from old_res_options.
15764 (gaih_inet): Likewise.
15767 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15770 * resolv/res_init.c (res_setoptions): Make the code more compact.
15773 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15777 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15779 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15782 * malloc/malloc.h: Declare malloc hook variables as volatile.
15784 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15788 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15789 raise in the comment.
15790 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15791 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15792 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15794 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15797 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15798 grow the buffers more if it already has to be sufficient.
15799 (build_wcs_upper_buffer): Likewise.
15800 * posix/regexec.c (check_matching): Likewise.
15801 (clean_state_log_if_needed): Likewise.
15802 (extend_buffers): Don't enlarge buffers beyond size of the input
15804 Patches mostly by Emil Wojak <emil@wojak.eu>.
15805 * posix/bug-regex32.c: New file.
15806 * posix/Makefile (tests): Add bug-regex32.
15808 * locale/findlocale.c (_nl_find_locale): Return right away if
15809 _nl_explode_name failed.
15810 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15812 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15814 * debug/xtrace.sh: Unify messages.
15815 * malloc/memusage.sh: Likewise.
15818 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15819 time symbol from vDSO. Substitute with vsyscall if not available.
15820 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15823 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15824 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15825 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15826 Add sendmmsg and internal_sendmmsg.
15827 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15828 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15829 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15831 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15832 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15833 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15835 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15838 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15839 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15841 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15845 * iconvdata/Makefile (tests): Add bug-iconv9.
15846 * iconvdata/bug-iconv9.c: New file.
15848 2011-05-27 Andreas Schwab <schwab@redhat.com>
15851 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15853 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15855 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15856 (struct user_regs_struct): Change intcs field back to cs.
15858 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15860 * po/ja.po: Update from translation team.
15862 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15865 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15866 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15868 2011-05-20 Andreas Schwab <schwab@redhat.com>
15870 * stdlib/longlong.h: Update from GCC.
15872 2011-05-23 Andreas Schwab <schwab@redhat.com>
15874 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15876 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15877 Add parameter name.
15878 (__sysconf): Pass it down.
15880 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15883 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15885 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15886 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15887 add in in __libc_use_alloca calls. Adjust callers.
15888 (glob): Use malloc in some situations.
15890 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15891 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15894 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15896 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15897 and CLOCK_BOOTTIME_ALARM.
15900 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15903 * string/_strerror.c (__strerror_r): Print negative errors as signed
15907 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15908 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15909 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15911 * configure.in: Fix typo in redirection and correct removal of test
15912 files in two cases.
15915 * locale/setlocale.c (new_composite_name): Fix test to check for
15916 identical name of all categories.
15919 * libio/filedoalloc.c (local_isatty): New function.
15920 (_IO_file_doallocate): Use local_isatty.
15921 * stdio-common/perror.c (perror): In case a new stream is used
15922 forward the stream error.
15923 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15926 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15931 * include/alloca.h (extend_alloca_account): Define.
15934 * posix/regex.h: Fix comments with documentation of user-accessible
15935 fields after compilation and describe correct free'ing of pattern
15936 after re_compile_pattern.
15937 Patch by Reuben Thomas <rrt@sc3d.org>.
15939 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15941 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15942 and -mno-altivec to prevent the compiler from using Altivec and/or
15943 VSX instructions when the corresponding registers are not available.
15945 2011-05-19 Andreas Schwab <schwab@redhat.com>
15947 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15949 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15951 * libio/freopen.c (freopen): Use __dup2, not dup2.
15952 * libio/freopen64.c (freopen64): Likewise.
15954 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15957 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15958 * math/Makefile (tests): Add test-powl.
15959 (CFLAGS-test-powl.c): Define.
15960 * math/test-powl.c: New file.
15962 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15964 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15966 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15969 * iconvdata/gb18030.c: Update to GB18020-2005.
15971 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15973 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15974 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15975 Patch by Aharon Robbins <arnold@skeeve.com>.
15978 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15982 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15983 through underflows.
15986 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15987 point to strings before performing equality test for error_one_per_line
15991 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15995 (struct user_fpregs_struct): Avoid __uint*_t types.
15998 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15999 symbol info. Use it instead of calling _dl_addr locally.
16000 (lock_and_info): New function.
16001 (tr_freehook): Call lock_and_info and pass symbol info as additional
16002 parameter to tr_where.
16003 (tr_mallochook): Likewise.
16004 (tr_reallochook): Likewise.
16005 (tr_memalignhook): Likewise.
16007 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16008 used and couldn't be at all thread-safe.
16010 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16012 * libio/freopen.c (freopen): Don't close old file descriptor
16013 before the new one is opened. Instead dup the new file descriptor
16014 to the old one after the new stream is created.
16015 * libio/freopen64.c (freopen64): Likewise.
16016 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16017 * libio/fileops.c (_IO_new_file_close_it): Handle new
16018 _IO_FLAGS2_NOCLOSE flag.
16019 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16020 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16021 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16022 _IO_FLAGS2_NOCLOSE flag.
16023 * include/unistd.h: Add hidden_proto for dup3.
16024 Define __have_dup3.
16025 * io/dup3.c: Define hidden symbol.
16026 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16029 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16030 when an incomplete long option is used.
16031 * posix/tst-getopt_long1.c: New file.
16032 * posix/Makefile (tests): Add tst-getopt_long1.
16035 * scripts/config.guess: Update from autoconf-2.68.
16036 * scripts/config.sub: Likewise.
16039 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16041 (has_cpuclock): ...this. New function.
16042 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16043 macro here based on has_cpuclock code.
16046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16047 First byte (not low byte) is now always NUL.
16048 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16050 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16051 Use non-cancelable interfaces.
16054 * locale/iso-639.def: Add entry for Sorani.
16057 * include/stdlib.h: Move include protection to the right place.
16058 Define abort_msg_s. Declare __abort_msg with it.
16059 * stdlib/abort.c (__abort_msg): Adjust type.
16060 * assert/assert.c (__assert_fail_base): New function. Majority
16061 of code from __assert_fail. Allocate memory for __abort_msg with
16063 (__assert_fail): Now call __assert_fail_base.
16064 * assert/assert-perr.c: Remove bulk of implementation. Use
16065 __assert_fail_base.
16066 * include/assert.hL Declare __assert_fail_base.
16067 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16069 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16071 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16075 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16076 until all modules are registered in the DTV.
16077 * elf/Makefile: Add rules to build and run tst-tls19.
16078 * elf/tst-tls19.c: New file.
16079 * elf/tst-tls19mod1.c: New file.
16080 * elf/tst-tls19mod2.c: New file.
16081 * elf/tst-tls19mod3.c: New file.
16082 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16085 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16089 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16090 two-byte sequence errors.
16091 * iconvdata/Makefile (tests): Add bug-iconv8.
16092 * iconvdata/bug-iconv8.c: New file.
16095 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16098 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16101 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16102 (dummy_getcfa): New function.
16103 (init): Get _Unwind_GetCFA address, use dummy if not found.
16104 (backtrace_helper): In recursion check, also check whether CFA changes.
16105 (__backtrace): Completely initialize arg.
16107 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16108 storing incomplete byte sequence in state object. Avoid testing for
16109 guaranteed too small input if we know there is enough data available.
16111 2011-05-11 Andreas Schwab <schwab@redhat.com>
16113 * Makeconfig (+link-pie): Indent.
16114 * Rules (binaries-pie): Define if $(have-fpie) and
16116 (binaries-shared): Also filter out $(binaries-pie).
16117 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16118 * nscd/Makefile (others-pie): Add nscd.
16119 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16120 ($(objpfx)nscd): Remove command override.
16121 * login/Makefile (others-pie): Add pt_chown.
16122 ($(objpfx)pt_chown): Remove command override.
16123 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16124 remove command overrides.
16126 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16128 * libio/tst_putwc.c: Fix error messages.
16131 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16132 currently writing and seek to current position when not.
16133 * libio/Makefile (tests): Add bug-fclose1.
16134 * libio/bug-fclose1.c: New file.
16136 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16139 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16140 don't set DF_1_NODELETE here.
16141 (do_lookup_x): When entering new entry test for copy relocation
16142 and if necessary set DF_1_NODELETE flag.
16143 * elf/tst-unique4.cc: New file.
16144 * elf/tst-unique4.h: New file.
16145 * elf/tst-unique4lib.cc: New file.
16146 * elf/Makefile: Add rules to build and run tst-unique4.
16147 Patch by Piotr Bury <pbury@goahead.com>.
16149 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16152 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16155 * misc/mntent_r.c (addmntent): Flush the stream after the output
16158 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16159 (is_trusted_path_normalize): Skip initial colon. Append slash
16160 to empty buffer. Duplicate is_trusted_path code but allow
16161 constructed patch to be prefix.
16162 (is_dst): Allow $ORIGIN followed by /.
16163 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16164 Correct testing of result of is_trusted_path_normalize
16165 (decompose_rpath): Fix warning.
16167 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16170 * grp/initgroups.c (internal_getgrouplist): When we found the service
16171 list through the initgroups entry in nsswitch.conf do not always
16172 continue on a successful lookup. Don't always use the
16173 __nss_group_database value if it is set.
16174 * nss/nsswitch.conf (initgroups): Change action for successful db
16175 lookup to continue for compatibility.
16177 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16180 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16182 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16184 * iconvdata/tst-tables.sh: Likewise.
16185 * iconvdata/cp770.c: New file.
16186 * iconvdata/cp771.c: New file.
16187 * iconvdata/cp772.c: New file.
16188 * iconvdata/cp773.c: New file.
16189 * iconvdata/cp774.c: New file.
16190 * iconvdata/testdata/CP770: New file.
16191 * iconvdata/testdata/CP770..UTF8: New file.
16192 * iconvdata/testdata/CP771: New file.
16193 * iconvdata/testdata/CP771..UTF8: New file.
16194 * iconvdata/testdata/CP772: New file.
16195 * iconvdata/testdata/CP772..UTF8: New file.
16196 * iconvdata/testdata/CP773: New file.
16197 * iconvdata/testdata/CP773..UTF8: New file.
16198 * iconvdata/testdata/CP774: New file.
16199 * iconvdata/testdata/CP774..UTF8: New file.
16201 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16203 * iconvdata/gen-8bit-gap.sh: Likewise.
16204 * iconvdata/gen-8bit.sh: Likewise.
16206 * locale/iso-639.def: Add ary entry.
16209 * locale/C-translit.h.in: Add U20A1 transliteration.
16212 * locale/iso-639.def: Add wae entry.
16213 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16216 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16220 * locale/C-translit.h.in: Add entry for U20B9.
16221 Patch by pravin.d.s@gmail.com.
16223 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16226 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16227 ENAMETOOLONG use generic getcwd.
16228 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16229 in rtld. Use *stat64.
16230 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16231 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16232 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16233 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16234 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16235 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16236 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16237 __fstatat64 macros.
16238 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16239 * dirent/rewinddir.c: Add libc_hidden_def.
16240 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16241 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16243 * include/dirent.h (__alloc_dir): Add flags parameter.
16244 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16245 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16247 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16248 from fdopendir if O_CLOEXEC is already set.
16250 2011-03-15 Alan Modra <amodra@gmail.com>
16252 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16253 l_tls_firstbyte_offset non-zero. Save padding offset in
16254 l_tls_firstbyte_offset for later use.
16255 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16256 freeing static tls block.
16258 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16260 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16261 where #ifdef was intended. The intent is to prevent ARG_MAX from
16262 being defined by the kernel headers.
16264 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16267 * resolv/resolv.h: Define RES_NOTLDQUERY.
16268 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16269 no-tld-query and set RES_NOTLDQUERY.
16270 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16271 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16272 modern BIND to search name as TLD unless forbidden.
16274 2011-05-07 Petr Baudis <pasky@suse.cz>
16275 Ulrich Drepper <drepper@gmail.com>
16278 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16279 (is_trusted_path): ...to here.
16280 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16281 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16282 using is_trusted_path_normalize() in setuid scripts.
16284 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16286 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16287 __BEGIN/__END_DECLS.
16289 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16291 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16292 NSS_STATUS_NOTFOUND if no record was found.
16294 2011-05-05 Andreas Schwab <schwab@redhat.com>
16296 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16297 (headers-not-in-tirpc): Remove rpc/netdb.h
16298 * resolv/netdb.h: Revert last change.
16300 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16302 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16303 circular dependency between libgcc.a and libc.a.
16305 2011-05-05 Andreas Schwab <schwab@redhat.com>
16307 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16308 * nis/Makefile: Don't install rpcsvc/*.
16309 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16310 instead of <rpc/types.h>.
16311 (MAXHOSTNAMELEN): Define.
16313 2011-05-03 Andreas Schwab <schwab@redhat.com>
16315 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16317 2011-04-28 Maciej Babinski <mbabinski@google.com>
16320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16321 gethostbyname4_r when IPv6 results are possible.
16323 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16326 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16327 _PC_PIPE_BUF handling.
16329 2011-04-30 Bruno Haible <bruno@clisp.org>
16332 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16333 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16335 * inet/getnameinfo.c (getnameinfo): Likewise.
16337 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16339 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16340 to groups setting in database lookup.
16341 * nss/nsswitch.conf: Add initgroups entry.
16343 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16346 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16348 Patch by Eric Blake <eblake@redhat.com>.
16350 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16352 * sunrpc/Makefile (need-export-routines): Add svc_run.
16353 (routines): Remove svc_run.
16354 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16355 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16356 * sunrpc/svc_run.c (svc_run): Likewise.
16357 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16359 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16361 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16362 problem in reallocation in last patch.
16364 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16366 * sunrpc/Makefile: Move inclusion of Rules.
16368 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16370 * nss/nss_files/files-initgroups.c: New file.
16371 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16372 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16373 _nss_files_initgroups_dyn.
16375 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16377 * elf/elf.h (R_ARM_IRELATIVE): Define.
16379 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16381 * po/ru.po: Update from translation team.
16383 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16385 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16388 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16391 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16392 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16394 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16395 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16397 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16399 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16401 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16402 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16403 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16405 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16408 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16410 * stdlib/bug-getcontext.c: New file.
16411 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16413 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16415 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16416 instructions into .machine "z9-109".
16417 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16418 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16420 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16422 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16423 between environment variables and auxiliary vector.
16425 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16427 * Makefile: Add rules to build linkobj/libc.so.
16428 * include/libc-symbols.h: Define libc_hidden_nolink.
16429 * include/rpc/auth.h: Mark functions which are to be hidden.
16430 * include/rpc/auth_des.h: Likewise.
16431 * include/rpc/auth_unix.h: Likewise.
16432 * include/rpc/clnt.h: Likewise.
16433 * include/rpc/des_crypt.h: Likewise.
16434 * include/rpc/key_prot.h: Likewise.
16435 * include/rpc/pmap_clnt.h: Likewise.
16436 * include/rpc/pmap_prot.h: Likewise.
16437 * include/rpc/pmap_rmt.h: Likewise.
16438 * include/rpc/rpc_msg.h: Likewise.
16439 * include/rpc/svc.h: Likewise.
16440 * include/rpc/svc_auth.h: Likewise.
16441 * include/rpc/xdr.h: Likewise.
16442 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16443 * nss/Makefile: Likewise.
16444 * sunrpc/Makefile: Don't install headers. Build library with normal
16445 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16446 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16447 for the compat linking library. Remove use of INTDEF/INTUSE.
16448 * sunrpc/auth_none.c: Likewise.
16449 * sunrpc/auth_unix.c: Likewise.
16450 * sunrpc/authdes_prot.c: Likewise.
16451 * sunrpc/authuxprot.c: Likewise.
16452 * sunrpc/clnt_gen.c: Likewise.
16453 * sunrpc/clnt_perr.c: Likewise.
16454 * sunrpc/clnt_raw.c: Likewise.
16455 * sunrpc/clnt_simp.c: Likewise.
16456 * sunrpc/clnt_tcp.c: Likewise.
16457 * sunrpc/clnt_udp.c: Likewise.
16458 * sunrpc/clnt_unix.c: Likewise.
16459 * sunrpc/des_crypt.c: Likewise.
16460 * sunrpc/des_soft.c: Likewise.
16461 * sunrpc/get_myaddr.c: Likewise.
16462 * sunrpc/key_call.c: Likewise.
16463 * sunrpc/key_prot.c: Likewise.
16464 * sunrpc/netname.c: Likewise.
16465 * sunrpc/pm_getmaps.c: Likewise.
16466 * sunrpc/pm_getport.c: Likewise.
16467 * sunrpc/pmap_clnt.c: Likewise.
16468 * sunrpc/pmap_prot.c: Likewise.
16469 * sunrpc/pmap_prot2.c: Likewise.
16470 * sunrpc/pmap_rmt.c: Likewise.
16471 * sunrpc/publickey.c: Likewise.
16472 * sunrpc/rpc_cmsg.c: Likewise.
16473 * sunrpc/rpc_common.c: Likewise.
16474 * sunrpc/rpc_dtable.c: Likewise.
16475 * sunrpc/rpc_prot.c: Likewise.
16476 * sunrpc/rpc_thread.c: Likewise.
16477 * sunrpc/rtime.c: Likewise.
16478 * sunrpc/svc.c: Likewise.
16479 * sunrpc/svc_auth.c: Likewise.
16480 * sunrpc/svc_authux.c: Likewise.
16481 * sunrpc/svc_raw.c: Likewise.
16482 * sunrpc/svc_run.c: Likewise.
16483 * sunrpc/svc_simple.c: Likewise.
16484 * sunrpc/svc_tcp.c: Likewise.
16485 * sunrpc/svc_udp.c: Likewise.
16486 * sunrpc/svc_unix.c: Likewise.
16487 * sunrpc/svcauth_des.c: Likewise.
16488 * sunrpc/xcrypt.c: Likewise.
16489 * sunrpc/xdr.c: Likewise.
16490 * sunrpc/xdr_array.c: Likewise.
16491 * sunrpc/xdr_float.c: Likewise.
16492 * sunrpc/xdr_intXX_t.c: Likewise.
16493 * sunrpc/xdr_mem.c: Likewise.
16494 * sunrpc/xdr_rec.c: Likewise.
16495 * sunrpc/xdr_ref.c: Likewise.
16496 * sunrpc/xdr_sizeof.c: Likewise.
16497 * sunrpc/xdr_stdio.c: Likewise.
16499 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16502 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16503 * sysdeps/ia64/dl-tls.h: Likewise.
16504 * sysdeps/powerpc/dl-tls.h: Likewise.
16505 * sysdeps/s390/dl-tls.h: Likewise.
16506 * sysdeps/sh/dl-tls.h: Likewise.
16507 * sysdeps/sparc/dl-tls.h: Likewise.
16508 * sysdeps/x86_64/dl-tls.h: Likewise.
16509 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16511 2011-03-14 Andreas Schwab <schwab@redhat.com>
16513 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16514 rpath element also skip the following colon.
16515 (expand_dynamic_string_token): Add is_path parameter and pass
16516 down to DL_DST_REQUIRED and _dl_dst_substitute.
16517 (decompose_rpath): Call expand_dynamic_string_token with
16518 non-zero is_path. Ignore empty rpaths.
16519 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16522 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16527 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16530 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16531 Patch by Filipe David Manana <fdmanana@apache.org>.
16533 2011-04-07 Andreas Schwab <schwab@redhat.com>
16535 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16536 Maintain aligned stack.
16537 (CHECK_RSP): Remove unused macro.
16539 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16541 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16542 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16544 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16546 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16548 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16550 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16553 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16554 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16555 * sysdeps/x86_64/memmove.c: New file.
16556 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16557 (memcpy): Renamed to ...
16558 (__new_memcpy): This.
16559 (memcpy): Provide GLIBC_2_14 memcpy.
16560 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16561 (memcpy): Provide GLIBC_2_2_5 memcpy.
16563 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16566 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16568 2011-03-30 Andreas Schwab <schwab@redhat.com>
16570 * misc/syncfs.c: New file.
16571 * misc/Makefile (routines): Add syncfs.
16572 * posix/unistd.h: Declare syncfs.
16573 * sysdeps/unix/syscalls.list: Add syncfs.
16575 2011-04-01 Andreas Schwab <schwab@redhat.com>
16577 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16579 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16580 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16582 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16584 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16585 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16587 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16589 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16590 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16591 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16593 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16595 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16597 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16598 sync_file_range.c with -fexceptions.
16599 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16600 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16601 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16602 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16603 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16604 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16606 sync_file_range as cancellation point
16607 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16608 now a wrapper around __call_sync_file_range with cancellation handling.
16609 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16610 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16611 function name to __call_sync_file_range.
16612 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16613 Add call_sync_file_range.
16615 2011-04-01 Andreas Schwab <schwab@redhat.com>
16617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16620 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16622 * iconv/iconv.h: Fix typo in comment.
16623 * io/fcntl.h: Likewise.
16624 * libio/stdio.h: Likewise.
16625 * posix/spawn.h: Likewise.
16626 * posix/unistd.h: Likewise.
16627 * stdlib/stdlib.h: Likewise.
16628 * time/time.h: Likewise.
16629 * wcsmbs/wchar.h: Likewise.
16631 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16632 open_by_handle): Add.
16633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16634 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16635 Augment a few comments.
16636 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16641 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16644 * io/fcntl.h (AT_EMPTY_PATH): Define.
16646 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16648 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16649 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16650 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16652 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16653 * Versions.def: Add GLIBC_2.14.
16654 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16657 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16659 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16661 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16663 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16666 * string/test-strncmp.c (do_page_test): New function.
16667 (check2): Likewise.
16668 (test_main): Call check2.
16669 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16671 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16674 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16675 Handle cache information in CPU leaf 4.
16676 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16678 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16681 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16682 character representation.
16683 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16685 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16687 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16688 END(__isnan) to END(__isnanf) to match function entry point/label
16689 EALIGN(__isnanf,...).
16691 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16693 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16695 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16698 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16699 copy from the symbol referenced in the relocation to initialize the
16701 Patch by Piotr Bury <pbury@goahead.com>.
16702 * elf/Makefile: Add rules to build and tst-unique3.
16703 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16704 * elf/tst-unique3.cc: New file.
16705 * elf/tst-unique3.h: New file.
16706 * elf/tst-unique3lib.cc: New file.
16707 * elf/tst-unique3lib2.cc: New file.
16709 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16711 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16713 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16714 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16717 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16719 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16720 to-be-loaded object along a path to loader is ld.so.
16722 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16723 Ulrich Drepper <drepper@gmail.com>
16725 * sysdeps/x86_64/memset.S: After aligning destination, code
16726 branches to different locations depending on the value of
16727 misalignment, when multiarch is enabled. Fix this.
16729 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16731 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16732 Set _x86_64_preferred_memory_instruction for AMD processsors.
16733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16734 Set bit_Prefer_SSE_for_memop for AMD processors.
16736 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16738 * libio/fmemopen.c (fmemopen): Optimize a bit.
16740 2011-03-03 Andreas Schwab <schwab@redhat.com>
16742 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16744 2011-03-03 Roland McGrath <roland@redhat.com>
16746 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16748 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16750 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16751 __bzero_ultra1 instead of __memset_ultra1.
16753 2011-02-23 Andreas Schwab <schwab@redhat.com>
16754 Ulrich Drepper <drepper@gmail.com>
16757 * include/link.h (struct link_map): Add l_orig_initfini.
16758 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16759 returning unsuccessfully.
16760 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16761 close of a file loaded at startup, restore the original l_initfini
16763 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16764 list, store the pointer.
16765 * elf/Makefile ($(objpfx)noload-mem): New rule.
16766 (noload-ENV): Define.
16767 (tests): Add $(objpfx)noload-mem.
16768 * elf/noload.c: Include <memcheck.h>.
16769 (main): Call mtrace. Close all opened handles.
16771 2011-02-17 Andreas Schwab <schwab@redhat.com>
16774 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16775 dependencies are missing.
16777 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16779 Fix __if_freereq crash: Unlike the generic version which uses free,
16781 * sysdeps/mach/hurd/ifreq.h: New file.
16783 2011-01-27 Petr Baudis <pasky@suse.cz>
16784 Ulrich Drepper <drepper@gmail.com>
16787 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16788 to extend_alloca().
16789 * stdio-common/bug23.c: New file.
16790 * stdio-common/Makefile (tests): Add bug23.
16792 2010-09-28 Andreas Schwab <schwab@redhat.com>
16793 Ulrich Drepper <drepper@gmail.com>
16796 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16797 before performing relro protection. At old place add assertion
16798 to make sure nothing changed.
16800 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16801 Glauber de Oliveira Costa <glommer@gmail.com>
16803 * elf/elf.h: Add new ARM TLS relocs.
16805 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16808 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16810 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16812 * sysdeps/wordsize-64/tst-writev.c: New file.
16814 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16816 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16817 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16818 insns in _dl_start to prevent a TOC reference before relocs are
16821 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16824 * Makeconfig: Remove RANLIB definition.
16825 * Makerules: Don't use RANLIB.
16826 * aclocal.m4: Remove ranlib test.
16827 * configure.in: No need to check for ranlib.
16828 * elf/rtld-Rules: Don't use RANLIB.
16830 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16832 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16834 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16835 inclusion protection macro.
16837 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16838 SIGRTMIN and SIGRTMAX and print information in that case only when
16839 SIGRTMIN is defined.
16841 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16843 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16844 arginfo fn returning -1.
16846 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16847 and thousands string is zero terminated.
16849 2011-02-03 Andreas Schwab <schwab@redhat.com>
16851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16852 sysdeps/unix/sysv/linux/bits/socket.h.
16854 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16856 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16857 (__CPU_COUNT): Remove old macros.
16858 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16859 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16860 (__CPU_ALLOC, __CPU_FREE): Add macros.
16861 (__sched_cpualloc, __sched_cpufree): Add declarations.
16863 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16865 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16866 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16867 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16868 (readdhstai): Return value of addhstaiX call.
16869 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16870 (addgrbyX): Return value returned by cache_addgr.
16871 (readdgrbyname): Return value returned by addgrbyX.
16872 (readdgrbygid): Likewise.
16873 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16874 (addpwbyX): Return value returned by cache_addpw.
16875 (readdpwbyname): Return value returned by addhstbyX.
16876 (readdpwbyuid): Likewise.
16877 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16878 (addservbyX): Return value returned by cache_addserv.
16879 (readdservbyname): Return value returned by addservbyX:
16880 (readdservbyport): Likewise.
16881 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16882 (addhstbyX): Return value returned by cache_addhst.
16883 (readdhstbyname): Return value returned by addhstbyX.
16884 (readdhstbyaddr): Likewise.
16885 (readdhstbynamev6): Likewise.
16886 (readdhstbyaddrv6): Likewise.
16887 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16888 (readdinitgroups): Return value returned by addinitgroupsX.
16889 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16890 (prune_cache): Keep track of timeout value of re-added entries.
16891 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16892 * nscd/nscd.h: Adjust prototypes of readd* functions.
16894 2011-02-04 Roland McGrath <roland@redhat.com>
16896 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16897 (nis_stats): Likewise.
16898 * nis/nis_modify.c (nis_modify): Likewise.
16899 * nis/nis_remove.c (nis_remove): Likewise.
16900 * nis/nis_add.c (nis_add): Likewise.
16902 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16904 * posix/fnmatch_loop.c: Add some consts.
16906 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16908 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16911 * config.make.in (config-cflags-novzeroupper): Define.
16912 * configure.in: Substitute libc_cv_cc_novzeroupper.
16913 * elf/Makefile (AVX-CFLAGS): Define.
16914 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16915 (CFLAGS-tst-auditmod4a.c): Likewise.
16916 (CFLAGS-tst-auditmod4b.c): Likewise.
16917 (CFLAGS-tst-auditmod6b.c): Likewise.
16918 (CFLAGS-tst-auditmod6c.c): Likewise.
16919 (CFLAGS-tst-auditmod7b.c): Likewise.
16920 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16922 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16924 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16925 function to the callback.
16926 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16928 2011-02-02 Andreas Schwab <schwab@redhat.com>
16930 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16933 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16936 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16938 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16940 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16943 * elf/Makefile: Add rules to build and run new test.
16944 * elf/tst-initorder.c: New file.
16945 * elf/tst-initorder.exp: New file.
16946 * elf/tst-initordera1.c: New file.
16947 * elf/tst-initordera2.c: New file.
16948 * elf/tst-initordera3.c: New file.
16949 * elf/tst-initordera4.c: New file.
16950 * elf/tst-initorderb1.c: New file.
16951 * elf/tst-initorderb2.c: New file.
16952 * elf/tst-order-a1.c: New file.
16953 * elf/tst-order-a2.c: New file.
16954 * elf/tst-order-a3.c: New file.
16955 * elf/tst-order-a4.c: New file.
16956 * elf/tst-order-b1.c: New file.
16957 * elf/tst-order-b2.c: New file.
16958 * elf/tst-order-main.c: New file.
16959 New test case by George Gensure <werkt0@gmail.com>.
16961 2010-10-01 Andreas Schwab <schwab@redhat.com>
16963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16964 decoding ACE if AI_CANONIDN.
16966 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16968 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16970 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16972 * version.h (RELEASE): Bump for 2.13 release.
16973 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16975 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16977 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16979 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16980 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16981 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16982 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16983 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16984 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16986 * posix/getconf.c: Update copyright year.
16987 * catgets/gencat.c: Likewise.
16988 * csu/version.c: Likewise.
16989 * debug/catchsegv.sh: Likewise.
16990 * debug/xtrace.sh: Likewise.
16991 * elf/ldconfig.c: Likewise.
16992 * elf/ldd.bash.in: Likewise.
16993 * elf/sprof.c (print_version): Likewise.
16994 * iconv/iconv_prog.c: Likewise.
16995 * iconv/iconvconfig.c: Likewise.
16996 * locale/programs/locale.c: Likewise.
16997 * locale/programs/localedef.c: Likewise.
16998 * malloc/memusage.sh: Likewise.
16999 * malloc/mtrace.pl: Likewise.
17000 * nscd/nscd.c (print_version): Likewise.
17001 * nss/getent.c: Likewise.
17003 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17004 PF_CAIF, and PF_ALG.
17005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17007 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17009 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17010 (modules-names): Use them.
17011 (ifunc-test-modules, ifunc-pie-tests): Define.
17012 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17013 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17014 (test-extras): Likewise.
17015 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17016 $(compile-command.c).
17017 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17018 (all-built-dso): Define.
17019 (check-textrel.out, check-execstack.out): Depend on it.
17021 * configure.in: Don't override --enable-multi-arch.
17023 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17026 * nscd/hstcache.c (tryagain): Define.
17027 (cache_addhst): Return tryagain not notfound for temporary errors.
17028 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17031 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17034 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17035 to make the syscall.
17036 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17039 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17040 and fall back to matching as normal character if the string ends before
17041 the matching ']' is found. This is what POSIX requires.
17042 * posix/testfnm.c: Adjust test result.
17043 * posix/globtest.sh: Adjust test result. Add new test.
17044 * posix/tst-fnmatch.input: Likewise.
17045 * posix/tst-fnmatch2.c: Add new test.
17047 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17049 * elf/Makefile (check-execstack): Revert last change. Depend on
17051 (check-execstack.h): New target.
17052 (generated): Add check-execstack.h.
17053 * elf/check-execstack.c: Include "check-execstack.h".
17054 (main): Revert last change.
17055 (handle_file): Return zero if GNU_STACK is absent and
17056 DEFAULT_STACK_PERMS doesn't include PF_X.
17058 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17060 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17061 in child fails because the descriptor is already closed.
17062 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17063 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17064 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17067 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17071 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17072 temporary buffer used to handle multi lookups locally.
17073 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17075 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17077 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17080 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17082 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17083 alignment for SSE2.
17085 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17088 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17089 characters. When rounding increased number of integer digits recompute
17091 * stdio-common/tst-grouping.c: New file.
17092 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17094 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17096 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17097 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17099 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17101 * bits/select.h: Likewise.
17103 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17105 * po/ja.po: Update from translation team.
17107 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17110 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17111 implementation just like for lxstat, fxstatat, et al.
17113 2010-12-27 Jim Meyering <meyering@redhat.com>
17116 * posix/regexec.c (build_trtable): Return failure indication upon
17117 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17119 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17122 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17123 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17124 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17125 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17128 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17131 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17132 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17134 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17136 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17137 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17138 script has SORT_BY_INIT_PRIORITY.
17139 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17140 NO_CTORS_DTORS_SECTIONS is defined.
17141 * elf/soinit.c: Likewise.
17142 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17143 NO_CTORS_DTORS_SECTIONS is defined.
17144 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17145 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17146 * sysdeps/sh/init-first.c: Likewise.
17147 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17149 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17151 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17152 always use the slow path.
17154 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17156 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17157 similar rule which adds the sysdep directories to the header search in
17158 order to pick up the correct platform stackinfo.h.
17159 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17160 perform test if it is, otherwise return successfully without testing.
17161 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17162 DEFAULT_STACK_PERMS define in stackinfo.h.
17163 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17164 defined in stackinfo.h.
17165 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17166 DEFAULT_STACK_PERMS defined in stackinfo.h.
17167 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17168 * sysdeps/ia64/stackinfo.h: Likewise.
17169 * sysdeps/s390/stackinfo.h: Likewise.
17170 * sysdeps/sh/stackinfo.h: Likewise.
17171 * sysdeps/sparc/stackinfo.h: Likewise.
17172 * sysdeps/x86_64/stackinfo.h: Likewise.
17173 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17174 PF_X for powerpc64. Retain PF_X for powerpc32.
17176 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17178 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17180 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17181 GETDENTS_64BIT_ALIGNED.
17183 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17185 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17187 2010-12-10 Andreas Schwab <schwab@redhat.com>
17189 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17192 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17193 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17195 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17196 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17198 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17201 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17204 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17206 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17208 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17210 * po/it.po: Update from translation team.
17212 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17217 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17219 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17221 2010-11-24 Andreas Schwab <schwab@redhat.com>
17223 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17225 (gaih_getanswer_slice): Likewise.
17227 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17231 2010-05-31 Petr Baudis <pasky@suse.cz>
17234 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17235 silently even in the chroot mode.
17237 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17239 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17240 last patch a bit. Pretty printing
17242 2010-05-31 Petr Baudis <pasky@suse.cz>
17245 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17246 initialization of skip_initgroups_dyn.
17248 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17250 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17251 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17253 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17255 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17257 2010-11-11 Andreas Schwab <schwab@redhat.com>
17259 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17260 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17261 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17262 ($(objpfx)tst-fnmatch-mem): New rule.
17263 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17264 * posix/tst-fnmatch.c (main): Call mtrace.
17266 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17269 Support Intel processor model 6 and model 0x2c.
17271 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17273 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17276 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17279 * string/test-strncasecmp.c (check_result): New function.
17280 (do_one_test): Use it.
17281 (check1): New function.
17282 (test_main): Use it.
17283 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17284 Support strcasecmp and strncasecmp.
17286 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17289 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17290 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17292 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17294 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17298 * sysdeps/x86_64/multiarch/bzero.S: New file.
17299 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17300 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17301 * sysdeps/x86_64/multiarch/memset.S: New file.
17302 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17304 Set bit_Prefer_SSE_for_memop for Intel processors.
17305 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17307 (index_Prefer_SSE_for_memop): Define.
17308 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17310 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17312 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17313 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17315 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17318 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17319 (__x86_64_raw_data_cache_size_half): Likewise.
17320 (__x86_64_raw_shared_cache_size): Likewise.
17321 (__x86_64_raw_shared_cache_size_half): Likewise.
17323 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17324 (__x86_64_raw_data_cache_size_half): Likewise.
17325 (__x86_64_raw_shared_cache_size): Likewise.
17326 (__x86_64_raw_shared_cache_size_half): Likewise.
17327 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17328 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17329 and __x86_64_raw_shared_cache_size_half. Round
17330 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17331 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17332 to multiple of 256 bytes.
17334 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17337 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17338 of inacessible symlinks. Verify result of symlink before returning it.
17339 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17340 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17342 2010-10-28 Erich Ritz <erichritz@gmail.com>
17344 * math/math.h (isinf): Fix typo in comment.
17346 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17348 * po/da.po: Update from translation team.
17350 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17352 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17353 is added to the list.
17355 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17356 Ulrich Drepper <drepper@gmail.com>
17358 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17359 the global list here. Move code to...
17360 (_dl_add_to_namespace_list): ...here. New function.
17361 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17362 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17363 * elf/dl-load.c (lose): Don't remove the element from the list.
17364 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17365 (_dl_map_object): Likewise.
17367 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17370 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17371 into all bytes of SSE register.
17372 Patch by Richard Li <richardpku@gmail.com>.
17374 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17377 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17380 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17382 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17383 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17384 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17385 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17390 2010-10-22 Andreas Schwab <schwab@redhat.com>
17392 * include/dlfcn.h (__RTLD_SECURE): Define.
17393 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17394 mode & __RTLD_SECURE instead.
17395 (open_path): Rename preloaded parameter to secure.
17396 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17397 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17398 * elf/dl-deps.c (openaux): Likewise.
17399 * elf/rtld.c (struct map_args): Remove is_preloaded.
17400 (map_doit): Don't use it.
17401 (dl_main): Likewise.
17402 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17403 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17405 2010-09-09 Andreas Schwab <schwab@redhat.com>
17407 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17408 (sysd-rules-targets): Remove duplicates.
17409 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17410 rtld-%.$o dependency.
17412 2010-10-18 Andreas Schwab <schwab@redhat.com>
17414 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17415 _dl_map_object do it.
17417 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17419 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17420 fast fma builtins, define the macros in the C99 standard.
17421 (FP_FAST_FMAF): Likewise.
17422 (FP_FAST_FMAL): Likewise.
17423 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17425 * bits/mathdef.h: Update copyright year.
17426 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17428 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17430 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17431 builtins, define the macros in the C99 standard.
17432 (FP_FAST_FMAF): Likewise.
17433 (FP_FAST_FMAL): Likewise.
17434 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17436 (FP_FAST_FMAF): Likewise.
17438 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17441 * math/libm-test.inc (fma_test): Some new testcases.
17442 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17443 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17444 y and infinite z. Do multiplication by C already in long double.
17445 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17447 y and infinite z. Do bitwise or of inexact bit into u.d.
17448 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17449 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17450 * sysdeps/i386/fpu/s_fma.S: Removed.
17451 * sysdeps/i386/fpu/s_fmal.S: Removed.
17453 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17456 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17458 computation is not scheduled after fetestexcept. Fix value
17459 of minimum denormal long double.
17461 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17464 * math/libm-test.inc (fma_test): Add some more tests.
17465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17468 2010-10-15 Andreas Schwab <schwab@redhat.com>
17470 * scripts/data/localplt-s390-linux-gnu.data: New file.
17471 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17473 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17476 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17477 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17479 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17481 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17483 if one of x and y is very large and the other is subnormal.
17484 * sysdeps/s390/fpu/s_fmaf.c: New file.
17485 * sysdeps/s390/fpu/s_fma.c: New file.
17486 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17487 * sysdeps/powerpc/fpu/s_fma.S: New file.
17488 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17489 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17490 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17492 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17495 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17497 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17498 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17499 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17500 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17501 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17502 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17503 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17505 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17508 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17509 * posix/bug-regex31.input: Add test case.
17511 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17513 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17514 * posix/bug-regex31.input: New file.
17517 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17518 (parse_sub_exp): Fix last change, use postorder.
17520 * posix/bug-regex31.c: New file.
17521 * posix/Makefile: Add rules to build and run bug-regex31.
17523 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17526 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17529 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17530 to have entries in sys_siglist.
17533 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17536 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17539 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17540 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17541 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17542 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17543 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17544 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17545 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17546 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17547 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17548 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17549 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17550 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17551 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17552 * math/ftestexcept.c (fetestexcept): Likewise.
17553 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17554 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17555 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17556 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17557 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17558 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17559 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17561 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17564 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17567 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17569 * string/bug-strstr1.c: New file.
17570 * string/Makefile: Add rules to build and run bug-strstr1.
17572 2010-10-05 Eric Blake <eblake@redhat.com>
17575 * string/str-two-way.h (two_way_long_needle): Always clear memory
17576 when skipping input due to the shift table.
17578 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17581 * malloc/mcheck.c: Handle large requests.
17584 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17585 for strncmp and strncasecmp.
17586 * string/stratcliff.c: Add tests for strcmp and strncmp.
17587 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17589 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17591 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17594 2010-09-30 Andreas Jaeger <aj@suse.de>
17596 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17597 (CGROUP_SUPER_MAGIC): Define.
17598 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17599 Handle btrfs and cgroup file systems.
17600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17603 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17605 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17606 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17608 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17611 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17612 trying to locate the ELF header.
17614 2010-09-27 Andreas Schwab <schwab@redhat.com>
17617 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17618 Mask out sign-bit copies when constructing f_fsid.
17620 2010-09-24 Petr Baudis <pasky@suse.cz>
17622 * debug/stack_chk_fail_local.c: Add missing licence exception.
17623 * debug/warning-nop.c: Likewise.
17625 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17627 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17628 implementing getdents64 using getdents syscall, set d_type if
17629 __ASSUME_GETDENTS32_D_TYPE.
17631 2010-09-16 Andreas Schwab <schwab@redhat.com>
17633 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17634 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17636 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17639 * posix/unistd.h: Undo change of feature selection for ftruncate from
17642 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17644 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17647 2010-09-20 Andreas Schwab <schwab@redhat.com>
17649 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17651 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17653 2010-09-14 Andreas Schwab <schwab@redhat.com>
17655 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17656 variables after CHECK_SP call.
17657 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17659 2010-09-13 Andreas Schwab <schwab@redhat.com>
17660 Ulrich Drepper <drepper@redhat.com>
17662 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17663 re-relocationg ld.so.
17664 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17665 _dl_init_paths call.
17666 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17669 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17671 * resolv/res_init.c (__res_vinit): Count the default server we added.
17673 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17674 Ulrich Drepper <drepper@redhat.com>
17677 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17678 (____longjmp_chk): Use %ebx for saving value across system call.
17681 2010-09-06 Andreas Schwab <schwab@redhat.com>
17683 * manual/Makefile: Don't mix pattern rules with normal rules.
17685 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17687 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17689 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17690 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17691 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17692 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17696 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17699 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17700 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17702 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17704 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17705 * sysdeps/x86_64/addmul_1.S: Likewise.
17706 * sysdeps/x86_64/lshift.S: Likewise.
17707 * sysdeps/x86_64/mul_1.S: Likewise.
17708 * sysdeps/x86_64/rshift.S: Likewise.
17709 * sysdeps/x86_64/sub_n.S: Likewise.
17710 * sysdeps/x86_64/submul_1.S: Likewise.
17712 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17714 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17715 Define __sched_param instead of SCHED_* and sched_param when
17716 <bits/sched.h> is included with __need_schedparam defined.
17717 * bits/sched.h [__need_schedparam]
17718 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17719 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17720 (__defined_schedparam): Define to 1.
17721 (__sched_param): New structure, identical to sched_param.
17722 (__need_schedparam): Undefine.
17724 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17727 (epoll_create1): Declare.
17729 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17731 2010-08-31 Andreas Schwab <schwab@redhat.com>
17734 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17735 shifting retval into place.
17737 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17739 * nis/rpcsvc/nis.h: Update copyright notice.
17740 * nis/rpcsvc/nis.x: Likewise.
17741 * nis/rpcsvc/nis_callback.h: Likewise.
17742 * nis/rpcsvc/nis_callback.x: Likewise.
17743 * nis/rpcsvc/nis_object.x: Likewise.
17744 * nis/rpcsvc/nis_tags.h: Likewise.
17745 * nis/rpcsvc/yp.h: Likewise.
17746 * nis/rpcsvc/yp.x: Likewise.
17747 * nis/rpcsvc/ypupd.h: Likewise.
17748 * nis/yp_xdr.c: Likewise.
17749 * nis/ypupdate_xdr.c: Likewise.
17751 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17752 mainly the body of pmap_getport. Add parameters to specify timeouts.
17753 (pmap_getport): Use __libc_rpc_getport.
17754 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17755 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17756 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17758 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17763 2010-08-27 Roland McGrath <roland@redhat.com>
17765 * sysdeps/i386/i686/multiarch/Makefile
17766 (CFLAGS-varshift.c): New variable.
17768 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17770 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17771 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17775 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17777 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17779 * sysdeps/x86_64/strlen.S: Unroll the loop.
17780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17781 strlen-sse2 strlen-sse2-bsf.
17782 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17783 __strlen_no_bsf if bit_Slow_BSF is set.
17784 (__strlen_sse42): Removed.
17785 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17786 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17788 2010-08-25 Roland McGrath <roland@redhat.com>
17790 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17791 * sysdeps/x86_64/multiarch/varshift.c: New file.
17792 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17793 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17794 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17795 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17797 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17799 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17800 strlen-sse2 strlen-sse2-bsf.
17801 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17802 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17803 (__strlen_sse2): Removed.
17804 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17805 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17807 bit_Slow_BSF for Atom.
17808 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17809 (index_Slow_BSF): Define.
17810 (HAS_SLOW_BSF): Define.
17812 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17815 * resolv/res_init.c (__res_vinit): When no server address at all
17816 is given default to loopback.
17818 2010-08-24 Roland McGrath <roland@redhat.com>
17820 * configure.in: Remove config-name.h generation.
17821 * configure: Regenerated.
17822 * config-name.in: File removed.
17823 * scripts/config-uname.sh: New file.
17824 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17825 ($(objdir)config-name.h): New target.
17827 * sunrpc/rpc_parse.h: Avoid nested comment.
17829 2010-08-24 Richard Henderson <rth@redhat.com>
17830 Ulrich Drepper <drepper@redhat.com>
17831 H.J. Lu <hongjiu.lu@intel.com>
17833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17835 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17836 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17837 _mm_alignr_epi8 with _mm_loadu_si128.
17838 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17839 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17840 (__m128i_shift_right): Removed.
17841 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17842 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17843 * sysdeps/x86_64/multiarch/varshift.h: New file.
17844 * sysdeps/x86_64/multiarch/varshift.S: New file.
17846 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17848 * configure.in: Move assembler checks to before sysdep dir checking.
17850 2010-08-20 Petr Baudis <pasky@suse.cz>
17852 * LICENSES: Sync the sunrpc license.
17854 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17856 * sunrpc/auth_des.c: Update copyright notice once again.
17857 * sunrpc/auth_none.c: Likewise.
17858 * sunrpc/auth_unix.c: Likewise.
17859 * sunrpc/authdes_prot.c: Likewise.
17860 * sunrpc/authuxprot.c: Likewise.
17861 * sunrpc/bindrsvprt.c: Likewise.
17862 * sunrpc/clnt_gen.c: Likewise.
17863 * sunrpc/clnt_perr.c: Likewise.
17864 * sunrpc/clnt_raw.c: Likewise.
17865 * sunrpc/clnt_simp.c: Likewise.
17866 * sunrpc/clnt_tcp.c: Likewise.
17867 * sunrpc/clnt_udp.c: Likewise.
17868 * sunrpc/clnt_unix.c: Likewise.
17869 * sunrpc/des_crypt.c: Likewise.
17870 * sunrpc/des_soft.c: Likewise.
17871 * sunrpc/get_myaddr.c: Likewise.
17872 * sunrpc/getrpcport.c: Likewise.
17873 * sunrpc/key_call.c: Likewise.
17874 * sunrpc/key_prot.c: Likewise.
17875 * sunrpc/openchild.c: Likewise.
17876 * sunrpc/pm_getmaps.c: Likewise.
17877 * sunrpc/pm_getport.c: Likewise.
17878 * sunrpc/pmap_clnt.c: Likewise.
17879 * sunrpc/pmap_prot.c: Likewise.
17880 * sunrpc/pmap_prot2.c: Likewise.
17881 * sunrpc/pmap_rmt.c: Likewise.
17882 * sunrpc/rpc/auth.h: Likewise.
17883 * sunrpc/rpc/auth_unix.h: Likewise.
17884 * sunrpc/rpc/clnt.h: Likewise.
17885 * sunrpc/rpc/des_crypt.h: Likewise.
17886 * sunrpc/rpc/key_prot.h: Likewise.
17887 * sunrpc/rpc/netdb.h: Likewise.
17888 * sunrpc/rpc/pmap_clnt.h: Likewise.
17889 * sunrpc/rpc/pmap_prot.h: Likewise.
17890 * sunrpc/rpc/pmap_rmt.h: Likewise.
17891 * sunrpc/rpc/rpc.h: Likewise.
17892 * sunrpc/rpc/rpc_des.h: Likewise.
17893 * sunrpc/rpc/rpc_msg.h: Likewise.
17894 * sunrpc/rpc/svc.h: Likewise.
17895 * sunrpc/rpc/svc_auth.h: Likewise.
17896 * sunrpc/rpc/types.h: Likewise.
17897 * sunrpc/rpc/xdr.h: Likewise.
17898 * sunrpc/rpc_clntout.c: Likewise.
17899 * sunrpc/rpc_cmsg.c: Likewise.
17900 * sunrpc/rpc_common.c: Likewise.
17901 * sunrpc/rpc_cout.c: Likewise.
17902 * sunrpc/rpc_dtable.c: Likewise.
17903 * sunrpc/rpc_hout.c: Likewise.
17904 * sunrpc/rpc_main.c: Likewise.
17905 * sunrpc/rpc_parse.c: Likewise.
17906 * sunrpc/rpc_parse.h: Likewise.
17907 * sunrpc/rpc_prot.c: Likewise.
17908 * sunrpc/rpc_sample.c: Likewise.
17909 * sunrpc/rpc_scan.c: Likewise.
17910 * sunrpc/rpc_scan.h: Likewise.
17911 * sunrpc/rpc_svcout.c: Likewise.
17912 * sunrpc/rpc_tblout.c: Likewise.
17913 * sunrpc/rpc_util.c: Likewise.
17914 * sunrpc/rpc_util.h: Likewise.
17915 * sunrpc/rpcinfo.c: Likewise.
17916 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17917 * sunrpc/rpcsvc/key_prot.x: Likewise.
17918 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17919 * sunrpc/rpcsvc/mount.x: Likewise.
17920 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17921 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17922 * sunrpc/rpcsvc/rex.x: Likewise.
17923 * sunrpc/rpcsvc/rstat.x: Likewise.
17924 * sunrpc/rpcsvc/rusers.x: Likewise.
17925 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17926 * sunrpc/rpcsvc/spray.x: Likewise.
17927 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17928 * sunrpc/rtime.c: Likewise.
17929 * sunrpc/svc.c: Likewise.
17930 * sunrpc/svc_auth.c: Likewise.
17931 * sunrpc/svc_authux.c: Likewise.
17932 * sunrpc/svc_raw.c: Likewise.
17933 * sunrpc/svc_run.c: Likewise.
17934 * sunrpc/svc_simple.c: Likewise.
17935 * sunrpc/svc_tcp.c: Likewise.
17936 * sunrpc/svc_udp.c: Likewise.
17937 * sunrpc/svc_unix.c: Likewise.
17938 * sunrpc/svcauth_des.c: Likewise.
17939 * sunrpc/xcrypt.c: Likewise.
17940 * sunrpc/xdr.c: Likewise.
17941 * sunrpc/xdr_array.c: Likewise.
17942 * sunrpc/xdr_float.c: Likewise.
17943 * sunrpc/xdr_mem.c: Likewise.
17944 * sunrpc/xdr_rec.c: Likewise.
17945 * sunrpc/xdr_ref.c: Likewise.
17946 * sunrpc/xdr_sizeof.c: Likewise.
17947 * sunrpc/xdr_stdio.c: Likewise.
17949 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17952 2010-08-19 Andreas Schwab <schwab@redhat.com>
17954 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17956 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17958 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17959 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17960 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17961 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17962 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17963 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17964 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17965 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17966 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17967 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17968 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17969 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17970 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17971 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17973 2010-07-26 Anton Blanchard <anton@samba.org>
17975 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17976 * malloc/arena.c (heap_trim): Likewise.
17978 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17980 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17982 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17983 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17985 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17987 * sysdeps/i386/elf/Makefile: New file.
17989 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17991 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17992 from fanotify_init.
17993 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17996 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17998 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18000 * sysdeps/multiarch/strcmp.S: Likewise.
18002 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18004 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18005 strncase_l-nonascii.
18006 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18007 Add strncase_l-ssse3.
18008 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18009 * sysdeps/x86_64/strcmp.S: Likewise.
18010 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18011 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18012 * sysdeps/x86_64/strncase.S: New file.
18013 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18014 * sysdeps/x86_64/strncase_l.S: New file.
18015 * string/Makefile (strop-tests): Add strncasecmp.
18016 * string/test-strncasecmp.c: New file.
18018 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18021 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18022 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18024 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18026 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18028 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18030 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18031 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18032 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18034 2010-05-01 Alan Modra <amodra@gmail.com>
18036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18037 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18038 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18039 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18040 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18041 tidying. Don't tail-call __sigjmp_save for static lib.
18042 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18044 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18045 (CALL_MCOUNT): Add eh info, and nop after bl.
18046 (TAIL_CALL_SYSCALL_ERROR): New macro.
18047 (PSEUDO_RET): Use it.
18048 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18049 Correct save location of integer regs and cr.
18050 (_dl_profile_resolve): Correct cr save location. Delete nops
18051 after bl when SHARED. Reduce cfi size a little by better
18052 placement of cfi directives.
18053 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18054 make a stack frame. Instead use parm save area as a temp.
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18056 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18058 Don't make a stack frame for parent, use parm save area.
18059 Increase child stack frame to 112 bytes. Don't save unused reg,
18060 and adjust reg usage. Set up cfi on error recovery and
18061 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18063 (__makecontext): Add dummy nop after jump to exit.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18065 Use correct parm save area and cr save, reduce stack frame.
18066 Correct cfi for possible PSEUDO_RET frame setup.
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18068 Branch to local label emitted by PSEUDO_RET rather than
18071 2010-08-12 Andreas Schwab <schwab@redhat.com>
18074 * locale/programs/locale.c (print_assignment): New function.
18075 (show_locale_vars): Use it.
18077 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18079 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18081 (struct statfs64): Likewise.
18082 (_STATFS_F_FLAGS): Define.
18083 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18084 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18085 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18086 (ST_VALID): Define locally.
18087 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18088 __statvfs_getflags, use the provided value.
18089 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18090 __ASSUME_STATFS_F_FLAGS.
18092 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18094 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18095 Add sys/fanotify.h.
18096 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18097 fanotify_mask for GLIBC_2.13.
18098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18099 fanotify_init and fanotify_mark.
18100 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18101 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18103 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18105 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18106 prlimit64 for GLIBC_2.13.
18107 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18109 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18112 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18113 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18114 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18115 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18117 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18120 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18121 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18123 * nss/Makefile: Add rules to build and run tst-nss-test1.
18124 * shlib-versions: Add entry for libnss_test1.
18125 * nss/nss_test1.c: New file.
18126 * nss/tst-nss-test1.c: New file.
18128 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18129 (__nss_configure_lookup): Set appropriate entry in
18130 __nss_configure_lookup to true.
18131 * nss/nsswitch.h: Define enum with indeces of databases in
18132 databases and __nss_database_custom arrays. Declare
18133 __nss_database_custom.
18134 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18135 to avoid using nscd when custom rules are installed.
18136 * nss/getXXbyYY_r.c: Likewise.
18137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18139 * nss/nss_files/files-parse.c: Whitespace fixes.
18141 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18144 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18145 * posix/fnmatch_loop.c: Likewise.
18147 2010-07-17 Andi Kleen <ak@linux.intel.com>
18149 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18150 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18151 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18152 * Versions.def [GLIBC_2.13]: Add.
18154 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18157 Also fail if tpwd after pwuid call is NULL.
18159 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18161 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18162 when converting to ms.
18164 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18166 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18167 EOPNOTSUPP errors with ENOTTY.
18168 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18169 EOPNOTSUPP errors with ENOTTY.
18171 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18173 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18174 Add strcasecmp_l-ssse3.
18175 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18177 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18178 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18179 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18181 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18183 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18185 * string/Makefile (strop-tests): Add strcasecmp.
18186 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18187 strcasecmp_l-nonascii.
18188 (gen-as-const-headers): Add locale-defines.sym.
18189 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18190 * sysdeps/x86_64/strcasecmp.S: New file.
18191 * sysdeps/x86_64/strcasecmp_l.S: New file.
18192 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18193 * sysdeps/x86_64/locale-defines.sym: New file.
18194 * string/test-strcasecmp.c: New file.
18196 * string/test-strcasestr.c: Test both ends of the range of characters.
18197 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18199 2010-07-29 Roland McGrath <roland@redhat.com>
18202 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18204 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18206 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18209 2010-07-27 Andreas Schwab <schwab@redhat.com>
18211 * manual/memory.texi (Malloc Tunable Parameters): Document
18214 2010-07-26 Roland McGrath <roland@redhat.com>
18217 * configure.in (-fgnu89-inline check): Set and substitute
18218 gnu89_inline, not libc_cv_gnu89_inline.
18219 * configure: Regenerated.
18220 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18222 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18224 * string/test-strnlen.c: New file.
18225 * string/Makefile (strop-tests): Add strnlen.
18226 * string/tester.c (test_strnlen): Add a few more test cases.
18227 * string/tst-strlen.c: Better error reporting.
18229 * sysdeps/x86_64/strnlen.S: New file.
18231 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18233 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18234 lower-latency instructions.
18236 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18238 * string/test-strcasestr.c: New file.
18239 * string/test-strstr.c: New file.
18240 * string/Makefile (strop-tests): Add strstr and strcasestr.
18241 * string/str-two-way.h: Don't undefine MAX.
18242 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18244 2010-07-21 Andreas Schwab <schwab@redhat.com>
18246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18247 strcasestr-nonascii.
18248 (CFLAGS-strcasestr-nonascii.c): Define.
18249 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18250 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18251 Remove unused attribute.
18253 2010-07-20 Roland McGrath <roland@redhat.com>
18255 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18256 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18257 ld.so.cache was broken. With it, there is no way to disable dsocaps
18258 like LD_HWCAP_MASK can disable hwcaps.
18260 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18262 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18264 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18266 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18267 call in strcasestr.
18268 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18269 __strcasestr_sse42_nonascii.
18270 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18271 strcasestr-nonascii.c.
18272 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18274 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18276 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18277 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18278 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18279 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18281 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18283 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18286 2010-07-06 Andreas Schwab <schwab@redhat.com>
18289 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18292 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18294 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18295 _PC_PIPE_BUF using F_GETPIPE_SZ.
18297 2010-07-05 Roland McGrath <roland@redhat.com>
18299 * manual/arith.texi (Rounding Functions): Fix rint description
18300 implicit in round description.
18302 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18304 * elf/Makefile: Fix linking for a few tests to make recent linker
18307 2010-06-30 Andreas Schwab <schwab@redhat.com>
18309 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18310 $(common-objpfx)libc_nonshared.a.
18312 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18314 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18315 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18316 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18317 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18318 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18319 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18320 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18321 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18336 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18337 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18338 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18339 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18340 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18341 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18342 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18343 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18344 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18345 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18346 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18347 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18363 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18365 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18366 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18367 * string/memmove.c (memmove): Renamed to ...
18368 (MEMMOVE): ...this. Default to memmove.
18369 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18370 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18373 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18374 mempcpy-ssse3-back memmove-ssse3-back.
18375 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18376 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18377 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18378 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18379 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18380 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18381 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18382 * sysdeps/x86_64/multiarch/memmove.c: New file.
18383 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18384 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18385 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18386 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18387 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18388 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18390 (index_Fast_Copy_Backward): Define.
18391 (HAS_ARCH_FEATURE): Define.
18392 (HAS_FAST_REP_STRING): Define.
18393 (HAS_FAST_COPY_BACKWARD): Define.
18395 2010-06-21 Andreas Schwab <schwab@redhat.com>
18397 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18398 Restore proper fallback handling.
18400 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18403 * posix/group_member.c (__group_member): Correct checking loop.
18405 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18406 OOM in getpwuid_r correctly. Return error number when the caller
18407 should return, otherwise -1.
18408 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18409 call returning > 0 value.
18410 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18412 2010-06-07 Andreas Schwab <schwab@redhat.com>
18414 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18415 libc_nonshared.a from targets in modules-names.
18417 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18419 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18422 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18424 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18425 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18426 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18427 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18429 2010-06-02 Andreas Schwab <schwab@redhat.com>
18431 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18433 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18435 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18437 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18438 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18441 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18442 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18444 2010-06-14 Roland McGrath <roland@redhat.com>
18446 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18448 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18450 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18451 __REDIRECT followed by __THROW.
18452 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18453 * posix/getopt.h (getopt): Likewise.
18455 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18457 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18458 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18459 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18461 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18462 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18464 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18466 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18468 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18472 Properly check family and model.
18474 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18476 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18478 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18480 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18482 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18484 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18487 2010-05-19 Andreas Schwab <schwab@redhat.com>
18489 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18492 2010-05-21 Andreas Schwab <schwab@redhat.com>
18494 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18495 and internal_recvmmsg.
18496 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18497 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18498 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18499 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18501 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18502 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18503 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18505 2010-05-20 Andreas Schwab <schwab@redhat.com>
18507 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18509 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18511 POWER7 optimizations.
18512 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18513 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18515 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18517 * version.h: Update for 2.13 development version.
18519 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18521 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18522 exceptions. Return 0.
18524 2010-05-07 Roland McGrath <roland@redhat.com>
18526 * elf/ldconfig.c (main): Add a const.
18528 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18530 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18531 (args_options): Add no-idn option.
18532 (ahosts_keys_int): Add idn_flags to ai_flags.
18533 (parse_option): Handle 'i' option to clear idn_flags.
18535 * malloc/malloc.c (_int_free): Possible race in the most recently
18536 added check. Only act on the data if no current modification
18539 See ChangeLog.17 for earlier changes.