1 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4 * include/unistd.h (__have_pipe2): Change define into an extern int.
5 (__have_dup3): Likewise.
6 * socket/have_sock_cloexec.c: Include fcntl.h.
7 (__have_pipe2): New variable.
8 (__have_dup3): Likewise.
10 2012-08-17 Mike Frysinger <vapier@gentoo.org>
12 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14 2012-08-17 Marek Polacek <polacek@redhat.com>
16 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19 2012-08-17 Roland McGrath <roland@hack.frob.com>
21 * configure.in: Add AC_SUBST for sysheaders.
22 * configure: Regenerated.
23 * config.make.in (sysheaders): New substituted variable.
25 * sysdeps/unix/mkfifo.c: Moved ...
26 * sysdeps/posix/mkfifo.c: ... here.
27 * sysdeps/unix/mkfifoat.c: Moved ...
28 * sysdeps/posix/mkfifoat.c: ... here.
30 * sysdeps/unix/utime.c: Moved ...
31 * sysdeps/posix/utime.c: ... here.
33 * sysdeps/unix/time.c: Moved ...
34 * sysdeps/posix/time.c: ... here.
35 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38 * sysdeps/unix/nice.c: Moved ...
39 * sysdeps/posix/nice.c: ... here.
41 * sysdeps/unix/alarm.c: Moved ...
42 * sysdeps/posix/alarm.c: ... here.
44 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46 2012-08-17 Jeff Law <law@redhat.com>
48 * intl/Makefile (codeset_mo): New variable.
49 ($(codeset_mo)): New target.
50 (tst-codeset.out): Depend on that. Remove explicit rule.
51 (tst-gettext3.out, tst-gettext5.out): Likewise.
52 (LOCPATH-ENV, tst-codeset-ENV): New variables.
53 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54 * intl/tst-codeset.sh: Remove.
55 * intl/tst-gettext3.sh: Likewise.
56 * intl/tst-gettext5.sh: Likewise.
58 2012-08-17 Roland McGrath <roland@hack.frob.com>
60 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
61 * sysdeps/unix/syscalls.list: ... here.
63 * sysdeps/posix/getaddrinfo.c
64 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
65 (gaiconf_init, gaiconf_reload): Use them.
67 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
68 Define using time_t rather than struct timespec.
70 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
73 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
75 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
76 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
79 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
80 __libc_cleanup_push argument.
82 * bits/param.h: New file.
83 * misc/sys/param.h: New file.
84 * include/sys/param.h: New file.
85 * misc/Makefile (headers): Add bits/param.h.
86 * sysdeps/generic/sys/param.h: File removed.
87 * sysdeps/unix/sysv/linux/bits/param.h: New file.
88 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
89 * sysdeps/mach/hurd/bits/param.h: New file.
90 * sysdeps/mach/hurd/sys/param.h: New file.
92 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
95 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
97 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
98 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
101 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
102 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
103 rather than -D_IO_MTSAFE_IO conditionally.
104 * stdio-common/Makefile (CPPFLAGS): Likewise.
105 * wcsmbs/Makefile (CPPFLAGS): Likewise.
106 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
108 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
110 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
111 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
112 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
113 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
114 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
115 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
116 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
117 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
118 (CFLAGS-fread_u_chk.c): Likewise.
119 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
120 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
121 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
122 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
123 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
124 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
125 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
126 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
127 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
129 * libio/Makefile: Test [$(libc-reentrant) = yes]
130 instead of [$(filter %REENTRANT, $(defines)) nonempty].
133 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
134 * sysdeps/pthread/configure: File removed.
135 * sysdeps/pthread/Makeconfig: New file.
136 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
137 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
139 2012-08-16 Gary Benson <gbenson@redhat.com>
141 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
142 unmapping the first object in a namespace.
144 2012-08-16 Roland McGrath <roland@hack.frob.com>
146 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
147 (__internal_setnetgrent): ... this. Add internal_function to
148 definition. Add libc_hidden_def.
149 (setnetgrent): Update caller.
150 (internal_endnetgrent): Renamed to ...
151 (__internal_endnetgrent): ... this. Add internal_function to
152 definition. Add libc_hidden_def.
153 (endnetgrent): Update caller.
154 (internal_getnetgrent_r): Renamed to ...
155 (__internal_getnetgrent_r): ... this. Add internal_function to
156 definition. Add libc_hidden_def.
157 (__getnetgrent_r): Update caller.
158 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
160 2012-08-16 Joseph Myers <joseph@codesourcery.com>
162 * stdlib/longlong.h: Update from GCC.
164 2012-08-16 Roland McGrath <roland@hack.frob.com>
166 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
167 on _QL, which is set by umul_ppmm but never used.
168 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
169 variables, which are set by GMP macros but never used.
170 * stdio-common/_itowa.c (_itowa): Likewise.
171 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
172 * stdlib/mod_1.c (mpn_mod_1): Likewise.
174 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
176 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
177 struct La_sh_regs is not constant.
178 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
179 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
180 and struct La_sparc64_regs are not constant.
182 2012-08-16 Joseph Myers <joseph@codesourcery.com>
184 * sysdeps/unix/sysv/linux/kernel-features.h
185 (__ASSUME_POSIX_TIMERS): Remove.
186 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
187 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
188 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
189 Make code unconditional.
190 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
191 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
192 Make code unconditional.
193 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
194 * sysdeps/unix/sysv/linux/clock_nanosleep.c
195 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
196 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
197 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
198 Make code unconditional.
199 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
200 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
201 (__libc_missing_posix_timers): Remove.
203 2012-08-15 Roland McGrath <roland@hack.frob.com>
205 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
206 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
208 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
210 * elf/dl-sym.c: Include <stdlib.h>.
212 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
213 constants, which avoids warnings in 32-bit builds.
215 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
216 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
218 * misc/lseek.c: File moved to ...
219 * io/lseek.c: ... here.
221 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
223 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
224 shifting LEN more than 31 bits at once.
226 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
229 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
230 segmentation fault for a case of two empty input strings.
231 * string/test-strncasecmp.c (check1): Renamed to...
233 (bz14195): Add new testcase for two empty input strings and N > 0.
234 (test_main): Call new testcase, adapt for renamed function.
236 2012-08-15 Andreas Jaeger <aj@suse.de>
239 * crypt/md5test2.c: New test, based on test supplied by Serge
240 Belyshev <belyshev@depni.sinp.msu.ru>.
241 * crypt/Makefile (xtests): Add md5test-giant..
242 * crypt/Makefile ($(objpfx)md5test-giant): Add.
244 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
247 * crypt/md5.c (md5_process_block): Don't assume the buffer
248 length is less than 2**32.
249 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
250 length is less than 2**64.
252 2012-08-15 Roland McGrath <roland@hack.frob.com>
254 * string/str-two-way.h: Include <sys/param.h>.
255 (MAX): Macro removed.
257 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
258 Move #define and #undef of memmove to just before and after
259 including <string.h>.
261 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
262 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
263 and after including <string.h>. Move declarations of
264 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
265 to before #include "string/memmove.c".
267 * include/dirent.h: Declare __getdirentries.
269 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
270 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
272 2012-08-14 Mike Frysinger <vapier@gentoo.org>
274 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
275 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
276 * sysdeps/i386/configure: Regenerated.
277 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
278 STABS_CURRENT_FILE, and STABS_FUN.
279 (END): Remove call to STABS_FUN_END.
280 (STABS_CURRENT_FILE1): Delete.
281 (STABS_CURRENT_FILE): Likewise.
282 (STABS_FUN): Likewise.
283 (STABS_FUN_END): Likewise.
284 (STABS_FUN2): Likewise.
285 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
286 * sysdeps/x86_64/configure: Regenerated.
288 2012-08-14 Roland McGrath <roland@hack.frob.com>
290 * elf/dl-open.c: Include <atomic.h>.
291 * elf/dl-lookup.c: Likewise.
293 2012-08-14 Joseph Myers <joseph@codesourcery.com>
295 * sysdeps/unix/sysv/linux/kernel-features.h
296 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
297 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
299 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
301 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
302 condition on __ASSUME_CLONE_THREAD_FLAGS.
304 2012-08-14 Andreas Jaeger <aj@suse.de>
306 * sysdeps/i386/fpu/libm-test-ulps: Update.
308 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
310 * include/atomic.h (atomic_exchange_and_add): Split into ...
311 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
314 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
318 2012-08-13 Jeff Law <law@redhat.com>
320 * manual/stdio.texi (snprintf): Clarify handling of the trailing
321 null byte in the output string.
323 2012-08-10 Joseph Myers <joseph@codesourcery.com>
325 * sysdeps/unix/sysv/linux/kernel-features.h
326 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
327 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
328 (__ASSUME_ARG_MAX_STACK_BASED): Define.
329 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
330 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
331 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
332 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
334 2012-08-09 Jeff Law <law@redhat.com>
337 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
338 When avoid_arena is set, don't retry in the that arena. Pick the
339 next one, whatever it might be.
340 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
341 (arena_lock): Pass in new parameter to arena_get2.
342 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
344 (__libc_malloc): Unify retrying after main arena failure with
345 __libc_memalign version.
346 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
348 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
351 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
352 to __redirect_strstr.
353 (__strstr_sse42): Use typeof __redirect_strstr.
354 (__strstr_ia32): Likewise.
355 (__libc_strstr): New prototype.
356 (strstr): Renamed to ...
357 (__libc_strstr): This.
358 (strstr): New strong alias of __libc_strstr.
359 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
360 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
363 (__libc_time): New prototype.
364 (time_ifunc): Replace time with __libc_time.
365 (time): New strong alias and hidden definition of __libc_time.
366 (__GI_time): Remove strong alias.
367 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
369 (memmove): Redefined to __redirect_memmove.
370 (__memmove_sse2): Use typeof __redirect_memmove.
371 (__memmove_ssse3): Likewise.
372 (__memmove_ssse3_back): Likewise.
373 (__libc_memmove): New prototype.
374 (memmove): Renamed to ...
375 (__libc_memmove): This.
376 (memmove): New strong alias of __libc_memmove.
378 2012-08-08 Mark Salter <msalter@redhat.com>
381 (R_MN10300_TLS_GD): Define.
382 (R_MN10300_TLS_LD): Likewise.
383 (R_MN10300_TLS_LDO): Likewise.
384 (R_MN10300_TLS_GOTIE): Likewise.
385 (R_MN10300_TLS_IE): Likewise.
386 (R_MN10300_TLS_LE): Likewise.
387 (R_MN10300_TLS_DTPMOD): Likewise.
388 (R_MN10300_TLS_DTPOFF): Likewise.
389 (R_MN10300_TLS_TPOFF): Likewise.
390 (R_MN10300_SYM_DIFF): Likewise.
391 (R_MN10300_ALIGN): Likewise.
392 (R_MN10300_NUM): Update.
394 2012-08-08 Joseph Myers <joseph@codesourcery.com>
396 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
399 2012-08-08 Roland McGrath <roland@hack.frob.com>
401 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
403 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
404 sysdeps/unix -> sysdeps/posix move.
405 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
407 2012-08-07 Allan McRae <allan@archlinux.org>
410 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
411 (SUNOS_CPP): Likewise.
412 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
414 (open_input): Call CPP using execvp.
416 2012-08-07 Joseph Myers <joseph@codesourcery.com>
418 * sysdeps/unix/sysv/linux/kernel-features.h
419 (__ASSUME_PROT_GROWSUPDOWN): Remove.
420 (__ASSUME_NO_CLONE_DETACHED): Likewise.
421 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
422 (__ASSUME_WAITID_SYSCALL): Likewise.
423 * sysdeps/unix/sysv/linux/dl-execstack.c
424 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
426 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
428 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
429 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
430 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
432 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
434 [__ASSUME_WAITID_SYSCALL]: Likewise.
435 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
437 2012-08-07 Roland McGrath <roland@hack.frob.com>
439 * sysdeps/unix/closedir.c: Renamed to ...
440 * sysdeps/posix/closedir.c: ... here.
441 * sysdeps/unix/dirfd.c: Renamed to ...
442 * sysdeps/posix/dirfd.c: ... here.
443 * sysdeps/unix/dirstream.h: Renamed to ...
444 * sysdeps/posix/dirstream.h: ... here.
445 * sysdeps/unix/fdopendir.c: Renamed to ...
446 * sysdeps/posix/fdopendir.c: ... here.
447 * sysdeps/unix/opendir.c: Renamed to ...
448 * sysdeps/posix/opendir.c: ... here.
449 * sysdeps/unix/readdir.c: Renamed to ...
450 * sysdeps/posix/readdir.c: ... here.
451 * sysdeps/unix/readdir_r.c: Renamed to ...
452 * sysdeps/posix/readdir_r.c: ... here.
453 * sysdeps/unix/rewinddir.c: Renamed to ...
454 * sysdeps/posix/rewinddir.c: ... here.
455 * sysdeps/unix/seekdir.c: Renamed to ...
456 * sysdeps/posix/seekdir.c: ... here.
457 * sysdeps/unix/telldir.c: Renamed to ...
458 * sysdeps/posix/telldir.c: ... here.
459 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
460 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
461 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
462 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
464 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
465 * bits/fcntl.h: ... here.
467 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
469 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
470 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
471 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
472 (struct flock): Move l_start, l_len to the beginning.
473 Use __pid_t for l_pid.
474 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
475 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
476 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
477 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
478 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
479 [__USE_LARGEFILE64] (struct flock64): New type.
480 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
482 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
483 * bits/dirent.h: ... here.
485 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
486 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
488 2012-08-07 Joseph Myers <joseph@codesourcery.com>
490 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
491 Change from 2.6.0 to 2.6.16.
492 * sysdeps/unix/sysv/linux/configure: Regenerated.
493 * sysdeps/unix/sysv/linux/kernel-features.h
494 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
495 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
497 (__ASSUME_UTIMES): Likewise.
498 (__ASSUME_CLONE_STOPPED): Remove.
499 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
500 architectures, not kernel version.
501 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
502 (__ASSUME_NO_CLONE_DETACHED): Likewise.
503 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
504 (__ASSUME_WAITID_SYSCALL): Likewise.
505 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
506 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
507 * README: State 2.6.16 as minimum Linux kernel version. Do not
508 refer to older versions.
510 2012-08-06 Roland McGrath <roland@hack.frob.com>
512 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
513 Define alphasort64 as an alias.
514 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
515 Define versionsort64 as an alias.
516 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
517 Define scandir64 as an alias.
518 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
519 Define scandirat64 as an alias.
520 * dirent/alphasort64.c (alphasort64):
521 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
522 * dirent/versionsort64.c: Likewise.
523 * dirent/scandir64.c: Likewise.
524 * dirent/scandirat64.c: Likewise.
525 * sysdeps/wordsize-64/alphasort.c: File removed.
526 * sysdeps/wordsize-64/alphasort64.c: File removed.
527 * sysdeps/wordsize-64/scandir.c: File removed.
528 * sysdeps/wordsize-64/scandir64.c: File removed.
529 * sysdeps/wordsize-64/scandirat.c: File removed.
530 * sysdeps/wordsize-64/scandirat64.c: File removed.
531 * sysdeps/wordsize-64/versionsort.c: File removed.
532 * sysdeps/wordsize-64/versionsort64.c: File removed.
533 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
534 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
535 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
536 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
537 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
538 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
539 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
540 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
542 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
544 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
546 [defined __arch64__ || defined __sparcv9]
547 (__INO_T_MATCHES_INO64_T): New macro.
548 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
549 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
550 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
551 * sysdeps/unix/sysv/linux/bits/dirent.h
552 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
553 (_DIRENT_MATCHES_DIRENT64): New macro.
555 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
556 Define lockf64 as an alias.
557 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
558 Define fseeko64 as an alias.
559 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
560 Define ftello64 as an alias.
561 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
562 Define _IO_fgetpos64 and fgetpos64 as aliases.
563 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
564 Define _IO_fsetpos64 and fsetpos64 as aliases.
565 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
566 Conditionalize body on this.
567 * libio/fseeko64.c: Likewise.
568 * libio/ftello64.c: Likewise.
569 * libio/iofgetpos64.c: Likewise.
570 * libio/iofsetpos64.c: Likewise.
571 * sysdeps/wordsize-64/lockf.c: File removed.
572 * sysdeps/wordsize-64/lockf64.c: File removed.
573 * sysdeps/wordsize-64/fseeko.c: File removed.
574 * sysdeps/wordsize-64/fseeko64.c: File removed.
575 * sysdeps/wordsize-64/ftello.c: File removed.
576 * sysdeps/wordsize-64/ftello64.c: File removed.
577 * sysdeps/wordsize-64/iofgetpos.c: File removed.
578 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
579 * sysdeps/wordsize-64/iofsetpos.c: File removed.
580 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
581 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
582 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
583 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
584 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
585 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
586 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
587 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
588 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
589 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
590 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
592 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
593 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
594 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
596 [defined __arch64__ || defined __sparcv9]
597 (__OFF_T_MATCHES_OFF64_T): New macro.
598 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
599 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
600 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
601 (__OFF_T_MATCHES_OFF64_T): New macro.
603 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
605 * stdlib/secure-getenv.c (__secure_getenv): Replace
606 GLIBC_2_16 with GLIBC_2_17.
608 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
610 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
611 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
613 2012-08-03 David S. Miller <davem@davemloft.net>
615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
617 2012-08-03 Joseph Myers <joseph@codesourcery.com>
619 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
621 (__ASSUME_CORRECT_SI_PID): Likewise.
622 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
623 (__ASSUME_TMPFS_NAME): Likewise.
624 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
625 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
626 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
627 (HAVE_AUX_SECURE): Make definition unconditional.
628 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
629 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
631 2012-08-03 Roland McGrath <roland@hack.frob.com>
633 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
634 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
635 * sysdeps/mach/hurd/eloop-threshold.h: New file.
636 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
637 __eloop_threshold instead of SYMLOOP_MAX.
639 * sysdeps/generic/eloop-threshold.h: New file.
640 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
642 * elf/chroot_canon.c (chroot_canon): Likewise.
644 2012-08-03 Joseph Myers <joseph@codesourcery.com>
647 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
648 Change to 2.6.0 everywhere.
649 * sysdeps/unix/sysv/linux/configure: Regenerated.
650 * sysdeps/unix/sysv/linux/kernel-features.h
651 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
652 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
654 (__ASSUME_POSIX_TIMERS): Define unconditionally.
655 (__ASSUME_FUTEX_REQUEUE): Remove.
656 (__ASSUME_STATFS64): Define unconditionally.
657 (__ASSUME_AT_SECURE): Likewise.
658 (__ASSUME_CORRECT_SI_PID): Likewise.
659 (__ASSUME_TGKILL): Define without depending on kernel version for
661 (__ASSUME_UTIMES): Likewise.
662 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
664 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
665 (__ASSUME_TMPFS_NAME): Likewise.
666 * README: Update reference to Linux kernel versions.
668 2012-08-02 Marek Polacek <polacek@redhat.com>
671 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
672 libc_cv_asm_type_prefix with %.
673 * configure: Regenerated.
674 * include/libc-symbols.h: Remove comment about
675 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
676 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
677 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
678 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
679 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
680 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
681 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
682 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
683 * elf/tst-unique2mod1.c: Likewise.
684 * elf/tst-unique1mod2.c: Likewise.
685 * elf/tst-unique1mod1.c: Likewise.
686 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
687 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
688 Replace ASM_TYPE_DIRECTIVE with .type.
689 * sysdeps/s390/s390-64/sysdep.h: Likewise.
690 * sysdeps/i386/sysdep.h: Likewise.
691 * sysdeps/x86_64/sysdep.h: Likewise.
692 * sysdeps/sh/sysdep.h: Likewise.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
694 Do not define ASM_TYPE_DIRECTIVE.
695 * sysdeps/powerpc/sysdep.h: Likewise.
696 * sysdeps/powerpc/powerpc32/sysdep.h:
697 Replace ASM_TYPE_DIRECTIVE with .type.
698 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
699 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
700 * sysdeps/i386/fpu/e_powf.S: Likewise.
701 * sysdeps/i386/fpu/e_expl.S: Likewise.
702 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
703 * sysdeps/i386/fpu/e_acosh.S: Likewise.
704 * sysdeps/i386/fpu/e_pow.S: Likewise.
705 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
706 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
707 * sysdeps/i386/fpu/s_expm1.S: Likewise.
708 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
709 * sysdeps/i386/fpu/e_log2.S: Likewise.
710 * sysdeps/i386/fpu/e_log2l.S: Likewise.
711 * sysdeps/i386/fpu/e_scalb.S: Likewise.
712 * sysdeps/i386/fpu/e_powl.S: Likewise.
713 * sysdeps/i386/fpu/e_log10f.S: Likewise.
714 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
715 * sysdeps/i386/fpu/e_logl.S: Likewise.
716 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
717 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
718 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
719 * sysdeps/i386/fpu/e_log2f.S: Likewise.
720 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
721 * sysdeps/i386/fpu/e_log.S: Likewise.
722 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
723 * sysdeps/i386/fpu/e_logf.S: Likewise.
724 * sysdeps/i386/fpu/e_log10l.S: Likewise.
725 * sysdeps/i386/fpu/e_atanh.S: Likewise.
726 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
727 * sysdeps/i386/fpu/e_log10.S: Likewise.
728 * sysdeps/i386/fpu/s_frexp.S: Likewise.
729 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
730 * sysdeps/i386/fpu/s_asinh.S: Likewise.
731 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
732 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
733 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
734 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
735 * sysdeps/i386/i686/strtok.S: Likewise.
736 * sysdeps/i386/i386-mcount.S: Likewise.
737 * sysdeps/i386/strtok.S: Likewise.
738 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
739 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
740 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
741 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
742 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
743 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
744 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
745 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
746 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
747 * sysdeps/x86_64/_mcount.S: Likewise.
748 * sysdeps/x86_64/strtok.S: Likewise.
749 * sysdeps/sh/_mcount.S: Likewise.
751 2012-08-01 Roland McGrath <roland@hack.frob.com>
753 * libio/iofopen.c: Include <fcntl.h>.
754 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
755 (_IO_fopen64, fopen64): Define as aliases.
756 * libio/iofopen64.c: Include <fcntl.h>.
757 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
758 Conditionalize body on this.
759 * sysdeps/wordsize-64/iofopen.c: File removed.
760 * sysdeps/wordsize-64/iofopen64.c: File removed.
762 2012-08-01 Marek Polacek <polacek@redhat.com>
764 * libc/Makeconfig: Use elf in place of binfmt-subdir.
765 Use dlfcn directly instead of a variable.
766 (binfmt-subdir): Do not define.
769 2012-08-01 Joseph Myers <joseph@codesourcery.com>
771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
772 Remove all definitions.
773 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
775 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
776 (miss_F_GETOWN_EX): Remove all definitions.
777 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
779 [!__ASSUME_FCNTL64]: Remove conditional code.
780 [__ASSUME_FCNTL64]: Make code unconditional.
781 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
783 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
784 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
785 (lockf64) [__NR_fcntl64]: Make code unconditional.
786 (lockf64) [__ASSUME_FCNTL64]: Likewise.
788 * sysdeps/unix/sysv/linux/kernel-features.h
789 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
790 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
791 Make code unconditional.
792 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
793 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
795 [__NR_vfork]: Make code unconditional.
796 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
797 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
799 [__NR_vfork]: Make code unconditional.
800 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
801 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
803 2012-08-01 Roland McGrath <roland@hack.frob.com>
805 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
806 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
808 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
809 Define mkstemp64 as an alias.
810 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
811 Define mkstemps64 as an alias.
812 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
813 Define mkostemp64 as an alias.
814 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
815 Define mkostemps64 as an alias.
816 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
817 Conditionalize body on this.
818 * misc/mkostemp64.c: Likewise.
819 * misc/mkostemps64.c: Likewise.
820 * misc/mkstemps64.c: Likewise.
821 * sysdeps/wordsize-64/mkstemp64.c: File removed.
822 * sysdeps/wordsize-64/mkostemp64.c: File removed.
823 * sysdeps/wordsize-64/mkostemp.c: File removed.
824 * sysdeps/wordsize-64/mkstemp.c: File removed.
825 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
826 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
827 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
828 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
831 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
832 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
833 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
834 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
836 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
837 compat_symbol macros from <shlib-compat.h> rather than the underlying
838 default_symbol_version and symbol_version macros, so that DEFAULT
839 lines in shlib-versions are respected.
840 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
842 2012-08-01 Florian Weimer <fweimer@redhat.com>
844 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
845 Declare with warn_unused_result.
846 (setgid, setregid, setegid, setresgid): Likewise.
847 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
849 * WUR-REPORT: Remove set*id functions.
851 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
853 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
855 2012-07-31 Roland McGrath <roland@hack.frob.com>
857 * include/sys/socket.h (__libc_accept, __libc_accept4):
858 Add attribute_hidden.
859 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
861 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
863 * inet/getnetgrent_r.c (setup): Likewise.
865 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
867 2012-07-31 David S. Miller <davem@davemloft.net>
869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
871 2012-07-31 Joseph Myers <joseph@codesourcery.com>
874 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
875 value between 1.0 and 2.0 and smaller part has absolute value less
877 * math/s_clog10.c (__clog10): Likewise.
878 * math/s_clog10f.c (__clog10f): Likewise.
879 * math/s_clog10l.c (__clog10l): Likewise.
880 * math/s_clogf.c (__clogf): Likewise.
881 * math/s_clogl.c (__clogl): Likewise.
882 * math/libm-test.inc (clog_test): Add more tests.
883 (clog10_test): Likewise.
884 * sysdeps/i386/fpu/libm-test-ulps: Update.
885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
887 2012-07-31 Florian Weimer <fweimer@redhat.com>
889 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
890 Exit with zero in case no suitable GID is found, and write a
891 message to standard error.
893 2012-07-30 Roland McGrath <roland@hack.frob.com>
895 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
897 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
898 (MAXPATHLEN): Removed.
899 (NOGROUP, NODEV): New macros.
900 (setbit, clrbit, isset, isclr): New macros.
901 (howmany, roundup, powerof2): New macros.
902 (DEV_BSIZE): New macro.
904 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
905 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
907 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
908 definition on [!__NO_LONG_DOUBLE_MATH].
910 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
911 PTR_MANGLE and PTR_DEMANGLE.
913 * socket/accept4.c (accept4): Rename to __libc_accept4.
914 Define accept4 as a weak alias.
916 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
917 on [_DIRENT_HAVE_D_TYPE].
918 * io/ftw.c (ftw_dir): Likewise.
920 * io/xmknod.c (__xmknod): Don't check PATH for being null.
922 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
924 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
925 Use the BSD numbers rather than the arbitrary ones we had.
926 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
927 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
928 (SIGXCPU, SIGXFSZ): New macros.
931 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
932 initializer on [_LIBC_REENTRANT].
934 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
935 definitions inside [_POSIX_MAPPED_FILES].
937 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
939 * dirent/opendir.c: Include <fcntl.h>.
941 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
942 (__libc_getspecific): Likewise.
943 (__libc_key_create): Likewise.
945 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
946 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
947 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
948 (tmpfile64): Define as alias.
949 * sysdeps/wordsize-64/tmpfile.c: File removed.
950 * sysdeps/wordsize-64/tmpfile64.c: File removed.
951 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
952 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
954 * stdio-common/vfscanf.c: Include <stdbool.h>.
955 * nss/makedb.c: Likewise.
956 * stdio-common/_i18n_number.h: Likewise.
957 * argp/argp-help.c: Likewise.
958 * posix/wordexp.c: Likewise.
959 * sysdeps/posix/spawni.c: Likewise.
960 * nss/nss_files/files-initgroups.c: Likewise.
961 * stdio-common/reg-modifier.c: Include <stdlib.h>.
962 * nss/nss_files/files-initgroups.c: Likewise.
963 * nss/nss_db/db-netgrp.c: Likewise.
964 * nss/nss_db/db-initgroups.c: Likewise.
965 * io/fchmodat.c: Include <sys/stat.h>.
967 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
968 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
970 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
973 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
974 Add multiple inclusion protection.
976 2012-07-27 David S. Miller <davem@davemloft.net>
978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
980 2012-07-27 Gary Benson <gbenson@redhat.com>
983 * elf/rtld.c: Include <stap-probe.h>.
984 (dl_main): Added static probes "init_start" and "init_complete".
985 * elf/dl-load.c: Include <stap-probe.h>.
986 (lose): Take new parameter "nsid".
987 Added static probe "map_failed".
988 (_dl_map_object_from_fd): Pass namespace id to lose.
989 Added static probe "map_start".
990 (open_verify): Pass namespace id to lose.
991 * elf/dl-open.c: Include <stap-probe.h>.
992 (dl_open_worker) Added static probes "map_complete", "reloc_start"
993 and "reloc_complete".
994 * elf/dl-close.c: Include <stap-probe.h>.
995 (_dl_close_worker): Added static probes "unmap_start" and
997 * elf/rtld-debugger-interface.txt: New file documenting the above.
999 2012-07-26 Roland McGrath <roland@hack.frob.com>
1001 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1002 rather than a string variable.
1003 * sunrpc/rpc_main.c (h_output): Likewise.
1004 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1006 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1008 * inet/check_native.c: New file.
1010 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1013 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1014 if larger part has absolute value 1.0.
1015 * math/s_clog10.c (__clog10): Likewise.
1016 * math/s_clog10f.c (__clog10f): Likewise.
1017 * math/s_clog10l.c (__clog10l): Likewise.
1018 * math/s_clogf.c (__clogf): Likewise.
1019 * math/s_clogl.c (__clogl): Likewise.
1020 * math/libm-test.inc (clog_test): Add more tests.
1021 (clog10_test): Likewise.
1022 * sysdeps/i386/fpu/libm-test-ulps: Update.
1023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1025 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1026 (pltexit): Likewise.
1027 (La_regs): Likewise.
1028 (La_retval): Likewise.
1029 (int_retval): Likewise.
1030 Update #error for removed macros to refer only to definitions in
1032 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1034 (pltexit): Likewise.
1035 (La_regs): Likewise.
1036 (La_retval): Likewise.
1037 (int_retval): Likewise.
1038 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1040 (pltexit): Likewise.
1041 (La_regs): Likewise.
1042 (La_retval): Likewise.
1043 (int_retval): Likewise.
1044 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1046 (pltexit): Likewise.
1047 (La_regs): Likewise.
1048 (La_retval): Likewise.
1049 (int_retval): Likewise.
1050 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1052 (pltexit): Likewise.
1053 (La_regs): Likewise.
1054 (La_retval): Likewise.
1055 (int_retval): Likewise.
1056 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1058 (pltexit): Likewise.
1059 (La_regs): Likewise.
1060 (La_retval): Likewise.
1061 (int_retval): Likewise.
1062 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1064 (pltexit): Likewise.
1065 (La_regs): Likewise.
1066 (La_retval): Likewise.
1067 (int_retval): Likewise.
1068 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1069 macro definitions in tst-audit.h.
1070 * sysdeps/i386/tst-audit.h: New file.
1071 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1072 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1073 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1074 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1075 * sysdeps/sh/tst-audit.h: Likewise.
1076 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1077 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1078 * sysdeps/x86_64/tst-audit.h: Likewise.
1080 2012-07-26 Andreas Jaeger <aj@suse.de>
1082 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1085 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1086 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1087 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1089 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1090 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1093 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1096 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1098 (si_call_addr, si_syscall, si_arch): Define new macro.
1099 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1101 (si_call_addr, si_syscall, si_arch): Define new marcro.
1102 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1104 (si_call_addr, si_syscall, si_arch): Define new macro.
1105 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1107 (si_call_addr, si_syscall, si_arch): Define new macro.
1109 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1112 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1113 Change to 2.4.21 where previously 2.4.1.
1114 * sysdeps/unix/sysv/linux/configure: Regenerated.
1115 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1116 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1117 Linux kernel version.
1118 (__ASSUME_STD_AUXV): Remove.
1119 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1121 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1122 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1123 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1124 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1125 (__ASSUME_NETLINK_SUPPORT): Likewise.
1126 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1127 (__no_netlink_support): Remove conditional definition.
1128 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1130 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1131 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1132 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1133 (if_nameindex_ioctl): Remove.
1134 (if_nameindex_netlink): Do not handle __no_netlink_support.
1135 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1137 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1138 Remove conditional code.
1139 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1141 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1143 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1144 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1145 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1147 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1148 [!__ASSUME_STD_AUXV]: Remove conditional code.
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1150 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1151 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1153 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1154 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1156 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1158 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1159 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1161 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1163 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1166 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1169 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1171 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1173 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1175 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1178 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1180 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1183 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1185 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1187 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1189 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1192 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1194 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1196 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1198 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1201 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1203 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1204 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1205 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1206 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1207 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1208 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1209 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1210 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1211 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1212 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1213 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1214 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1215 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1216 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1217 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1218 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1219 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1220 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1221 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1223 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1224 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1225 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1227 2012-07-25 Florian Weimer <fweimer@redhat.com>
1229 * Versions.def: Add GLIBC_2.17.
1230 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1231 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1232 Introduce __libc_secure_getenv.
1233 * stdlib/Versions (2.17): Add secure_getenv
1234 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1235 * stdlib/secure-getenv.c: Rename __secure_getenv to
1236 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1237 symbol __secure_getenv for GLIBC_2.0.
1238 * stdlib/tst-secure-getenv.c: New.
1239 * stdlib/Makefile (tests): Add testcase.
1240 * manual/startup.texi (Environment Access): Document
1242 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1243 __libc_secure_getenv.
1244 * inet/ruserpass.c (ruserpass): Likewise.
1245 * malloc/mtrace.c (mtrace): Likewise.
1246 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1247 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1248 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1249 * sysdeps/posix/tempname.c: Likewise. Evaluate
1251 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1252 __secure_getenv to __libc_secure_getenv.
1253 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1260 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1266 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1268 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1269 (struct La_i86_retval): Likewise.
1270 (struct La_x86_64_regs): Likewise.
1271 (struct La_x86_64_retval): Likewise.
1272 (struct La_x32_regs): Likewise.
1273 (struct La_x32_retval): Likewise.
1274 (struct La_ppc32_regs): Likewise.
1275 (struct La_ppc32_retval): Likewise.
1276 (struct La_ppc64_regs): Likewise.
1277 (struct La_ppc64_retval): Likewise.
1278 (struct La_sh_regs): Likewise.
1279 (struct La_sh_retval): Likewise.
1280 (struct La_s390_32_regs): Likewise.
1281 (struct La_s390_32_retval): Likewise.
1282 (struct La_s390_64_regs): Likewise.
1283 (struct La_s390_64_retval): Likewise.
1284 (struct La_sparc32_regs): Likewise.
1285 (struct La_sparc32_retval): Likewise.
1286 (struct La_sparc64_regs): Likewise.
1287 (struct La_sparc64_retval): Likewise.
1288 (struct audit_ifaces): Remove architecture-specific pltenter and
1290 * sysdeps/i386/ldsodefs.h: New file.
1291 * sysdeps/powerpc/ldsodefs.h: Likewise.
1292 * sysdeps/s390/ldsodefs.h: Likewise.
1293 * sysdeps/sh/ldsodefs.h: Likewise.
1294 * sysdeps/sparc/ldsodefs.h: Likewise.
1295 * sysdeps/x86_64/ldsodefs.h: Likewise.
1297 2012-07-25 Marek Polacek <polacek@redhat.com>
1300 * math/libm-test.inc (yn_test): Add another test.
1301 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1302 to ERANGE when the result is +-Inf.
1303 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1304 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1305 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1306 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1308 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1310 * conform/data/time.h-data (NULL): Use macro-constant. Require
1312 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1314 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1316 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1318 * configure.in <sysdeps resolving>: Correct printing
1320 * configure: Regenerate.
1322 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1324 * math/w_ilogb.c: Include <limits.h>.
1325 * math/w_ilogbl.c: Likewise.
1327 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1329 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1330 va_copy. Document allowing for unavailable va_copy only as
1331 pre-C99 compatibility.
1332 * manual/string.texi (Copying and Concatenation): Use va_copy
1333 instead of __va_copy in concat example.
1335 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1337 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1338 (__sendto): Use create_address_port. Initialize APORT and deallocate
1341 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1342 with O_NOLINK passed to __file_name_lookup.
1344 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1345 with O_NOLINK passed to __file_name_lookup.
1347 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1348 negative N or less than NGIDS.
1350 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1351 type to string_t. Set ERANGE as errno and return it if NAME is not big
1352 enough. Use memcpy instead of strncpy.
1354 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1356 * elf/Makefile (check-data): Remove.
1357 (localplt.data): New vpath directive.
1358 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1359 instead of $(check-data).
1360 * scripts/data/localplt-generic.data: Move to ...
1361 * sysdeps/generic/localplt.data: ... here.
1362 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1363 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1364 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1367 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1370 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1373 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1376 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1379 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1383 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1385 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1386 PPC32 and PPC64 files.
1387 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1388 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1390 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1392 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1393 __makecontext_ret to ...
1394 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1395 ... here and call exit if uc_link is NULL. New file.
1396 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1397 __makecontext_ret.S.
1398 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1399 __makecontext_ret to ...
1400 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1401 ... here and call exit if uc_link is NULL. New file.
1402 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1403 __makecontext_ret.S.
1405 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1407 * elf/elf.h (R_390_IRELATIVE): New definition.
1408 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1409 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1410 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1411 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1412 (elf_machine_lazy_rel): Likewise.
1413 * sysdeps/s390/dl-irel.h: New file.
1414 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1415 * sysdeps/s390/s390-64/memset.S: New asm code.
1416 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1417 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1418 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1419 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1420 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1421 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1422 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1423 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1424 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1425 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1426 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1427 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1428 * sysdeps/s390/s390-32/memset.S: New asm code.
1429 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1431 2012-07-17 Marek Polacek <polacek@redhat.com>
1434 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1435 * sysdeps/s390/s390-64/configure.in: Likewise.
1436 * sysdeps/sparc/configure.in: Likewise.
1437 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1438 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1439 * sysdeps/i386/configure.in: Likewise.
1440 * sysdeps/x86_64/configure.in: Likewise.
1441 * sysdeps/sh/configure.in: Likewise.
1442 * sysdeps/s390/s390-32/configure: Regenerated.
1443 * sysdeps/s390/s390-64/configure: Likewise.
1444 * sysdeps/x86_64/configure: Likewise.
1445 * sysdeps/sh/configure: Likewise.
1446 * sysdeps/powerpc/powerpc64/configure: Likewise.
1447 * sysdeps/powerpc/powerpc32/configure: Likewise.
1448 * sysdeps/sparc/configure: Likwise.
1449 * sysdeps/i386/configure: Likewise.
1451 * elf/dl-open.c: Comment fixes.
1453 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1455 * Makefile [CXX] (check-data): Remove.
1456 [CXX] (c++-types.data): New vpath directive.
1457 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1458 vpath. Do not allow for C++ type data being missing.
1459 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1460 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1461 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1462 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1463 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1464 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1465 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1468 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1471 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1474 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1477 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1480 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1483 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1486 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1489 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1490 definitions to architecture-specific files.
1494 * sysdeps/i386/tls-macros.h: New file.
1495 * sysdeps/powerpc/tls-macros.h: Likewise.
1496 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1497 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1498 * sysdeps/sh/tls-macros.h: Likewise.
1499 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1500 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1501 * sysdeps/x86_64/tls-macros.h: Likewise.
1503 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1505 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1506 zero value for regular exit case.
1508 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1509 (__start_context): Preserve zero value for regular exit case.
1511 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1512 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1514 * manual/setjmp.texi (setcontext): Clarify normal process
1515 termination when uc_link is the null pointer.
1516 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1519 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1521 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1522 preprocessor. Test for each exception mask separately.
1524 2012-07-16 Andreas Jaeger <aj@suse.de>
1526 * po/ru.po: Update from translation team.
1528 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1530 * conform/data/string.h-data (NULL): Use macro-constant. Require
1532 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1533 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1534 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1535 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1536 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1538 2012-07-13 Andreas Jaeger <aj@suse.de>
1540 * po/fr.po: Update from translation team.
1542 2012-07-12 Marek Polacek <polacek@redhat.com>
1545 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1546 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1549 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1552 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1553 Change to 2.4.1 where previously 2.4.0.
1554 * sysdeps/unix/sysv/linux/configure: Regenerated.
1555 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1556 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1558 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1559 (__ASSUME_AT_CLKTCK): Remove.
1560 (__ASSUME_AT_PAGESIZE): Likewise.
1561 (__ASSUME_AT_XID): Likewise.
1562 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1563 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1564 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1566 (HAVE_AUX_PAGESIZE): Likewise.
1567 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1568 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1569 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1571 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1575 the temporary buffer used to invoke __gethostbyname2_r,
1576 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1577 host_data / struct gaih_addrtuple.
1578 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1579 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1580 header file nss/nsswitch.h.
1581 * nss/nsswitch.h (global scope): Add definition of implementation
1582 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1583 resolv/nss_dns/dns-host.c).
1585 2012-07-11 Andreas Jaeger <aj@suse.de>
1587 * po/fr.po: Update from translation team.
1589 * po/sv.po: Update from translation team
1590 * po/fr.po: Another update from translation team.
1592 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1594 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1595 for subnormals or multiply small sinh result by itself.
1596 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1599 2012-07-11 David S. Miller <davem@davemloft.net>
1601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1603 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1606 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1607 (INTERNAL_MARK): Shift it here.
1609 2012-07-10 Marek Polacek <polacek@redhat.com>
1612 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1613 libc_cv_asm_global_directive with .globl.
1614 * configure: Regenerated.
1615 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1617 * sysdeps/i386/configure: Regenerated.
1618 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1620 * sysdeps/x86_64/configure: Regenerated.
1621 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1622 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1623 * elf/tst-unique2mod2.c: Likewise.
1624 * elf/tst-unique2mod1.c: Likewise.
1625 * elf/tst-unique1mod2.c: Likewise.
1626 * elf/tst-unique1mod1.c: Likewise.
1627 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1628 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1629 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1630 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1631 * sysdeps/mach/sysdep.h: Likewise.
1632 * sysdeps/i386/sysdep.h: Likewise.
1633 * sysdeps/i386/i386-mcount.S: Likewise.
1634 * sysdeps/x86_64/_mcount.S: Likewise.
1635 * sysdeps/x86_64/sysdep.h: Likewise.
1636 * sysdeps/sh/_mcount.S: Likewise.
1637 * sysdeps/sh/sysdep.h: Likewise.
1638 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1639 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1640 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1641 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1642 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1643 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1644 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1645 * locale/localeinfo.h: Likewise.
1646 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1647 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1649 2012-07-09 Roland McGrath <roland@hack.frob.com>
1652 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1654 * manual/message.texi (The Uniforum approach): Likewise.
1655 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1656 (glibc iconv Implementation): Likewise.
1658 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1661 * math/s_clog.c (__clog): Avoid scaling a value down where that
1662 could result in underflow.
1663 * math/s_clog10.c (__clog10): Likewise.
1664 * math/s_clog10f.c (__clog10f): Likewise.
1665 * math/s_clog10l.c (__clog10l): Likewise.
1666 * math/s_clogf.c (__clogf): Likewise.
1667 * math/s_clogl.c (__clogl): Likewise.
1668 * math/libm-test.inc (clog_test): Add more tests.
1669 (clog10_test): Likewise.
1670 * sysdeps/i386/fpu/libm-test-ulps: Update.
1671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1673 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1676 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1677 by 7 not 8 to examine high bit of fractional part.
1680 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1681 for call to __mcount_internal.
1682 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1683 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1684 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1686 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1689 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1690 approximation for values within 0x1p-13f of an odd multiple of
1692 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1693 exception. Add more tests.
1694 * sysdeps/i386/fpu/libm-test-ulps: Update.
1697 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1698 inputs and return -1 for them. Do not check for +Inf in case not
1700 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1701 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1702 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1703 and return -1 for them. Do not check for +Inf in case not
1705 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1707 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1708 and return -1 for them. Do not check for +Inf in case not
1710 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1712 * sysdeps/i386/fpu/libm-test-ulps: Update.
1713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1715 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1717 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1719 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1723 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1724 could result in spurious underflow. Scale down values above
1725 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1726 * math/s_csqrtf.c (__csqrtf): Likewise.
1727 * math/s_csqrtl.c (__csqrtl): Likewise.
1728 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1730 * sysdeps/i386/fpu/libm-test-ulps: Update.
1731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1733 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1735 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1737 * catgets/xopen-msg.awk: New file.
1738 * catgets/xopen-msg.sed: Removed.
1740 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1742 * intl/po2test.awk: New file.
1743 * intl/po2test.sed: Removed.
1745 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1748 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1749 or multiply small sinh result by itself.
1750 * math/s_ctanf.c (__ctanf): Likewise.
1751 * math/s_ctanh.c (__ctanh): Likewise.
1752 * math/s_ctanhf.c (__ctanhf): Likewise.
1753 * math/s_ctanhl.c (__ctanhl): Likewise.
1754 * math/s_ctanl.c (__ctanl): Likewise.
1755 * math/libm-test.inc (ctan_test_tonearest): New function.
1756 (ctan_test_towardzero): Likewise.
1757 (ctan_test_downward): Likewise.
1758 (ctan_test_upward): Likewise.
1759 (ctanh_test_tonearest): Likewise.
1760 (ctanh_test_towardzero): Likewise.
1761 (ctanh_test_downward): Likewise.
1762 (ctanh_test_upward): Likewise.
1763 (main): Call these new functions.
1764 * sysdeps/i386/fpu/libm-test-ulps: Update.
1765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1767 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1769 * .gitignore: Delete /ports entry.
1771 2012-07-03 Andreas Jaeger <aj@suse.de>
1773 * po/bg.po: Update from translation team.
1774 * po/cs.po: Likewise.
1775 * po/de.po: Likewise.
1776 * po/hr.po: Likewise.
1777 * po/nl.pl: Likewise.
1778 * po/pl.po: Likewise.
1779 * po/vi.po: Likewise.
1781 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1783 * Makeconfig [!+link] (+link-before-libc): New variable.
1784 [!+link] (+link-after-libc): Likewise.
1785 [!+link] (+link-tests): Likewise.
1786 [!+link] (+link): Define in terms of $(+link-before-libc) and
1787 $(+link-after-libc).
1788 [!+link-static] (+link-static-before-libc): New variable.
1789 [!+link-static] (+link-static-after-libc): Likewise.
1790 [!+link-static] (+link-static-tests): Likewise.
1791 [!+link-static] (+link-static): Define in terms of
1792 $(+link-static-before-libc) and $(+link-static-after-libc).
1793 [build-shared] (link-libc-before-gnulib): New variable.
1794 [build-shared] (link-libc-tests): Likewise.
1795 [build-shared] (link-libc): Define in terms of
1796 $(link-libc-before-gnulib).
1797 [!build-shared] (link-libc-tests): New variable.
1798 (link-libc-static-tests): New variable.
1799 [!gnulib] (gnulib-arch): New variable.
1800 [!gnulib] (gnulib-tests): Likewise.
1801 [!gnulib] (static-gnulib-arch): Likewise.
1802 [!gnulib] (static-gnulib-tests): Likewise.
1803 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1804 Define with "=" instead of ":=".
1805 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1806 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1807 * Rules (binaries-all-notests): New variable.
1808 (binaries-all-tests): Likewise.
1809 (binaries-static-notests): Likewise.
1810 (binaries-static-tests): Likewise.
1811 (binaries-all): Define using $(binaries-all-notests) and
1812 $(binaries-all-tests).
1813 (binaries-static): Define using $(binaries-static-notests) and
1814 $(binaries-static-tests).
1815 (binaries-shared-tests): New variable.
1816 (binaries-shared-notests): Likewise.
1817 (binaries-shared): Remove variable.
1818 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1819 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1820 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1821 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1822 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1823 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1824 * elf/Makefile (sln-modules): New variable.
1825 (extra-objs): Add $(sln-modules:=.o).
1826 (ldconfig-modules): Add static-stubs.
1827 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1828 * elf/static-stubs.c: New file.
1831 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1832 by 7 not 8 to examine high bit of fractional part. Use volatile
1833 variables when splitting into final array of floats if
1834 __FLT_EVAL_METHOD__ != 0.
1835 * math/libm-test.inc (cos_test): Add another test.
1836 (sin_test): Likewise.
1837 * sysdeps/i386/fpu/libm-test-ulps: Update.
1840 * math/libm-test.inc (cosh_test): Add more tests.
1842 * version.h (RELEASE): Set to "development".
1843 (VERSION): Set to "2.16.90".
1845 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1847 * NEWS: Update copyright. Remove last-updated date.
1848 Mention math library bug fixes and timezone data changes.
1849 * README: Mention GNU/Hurd, x32, and HPPA support status.
1851 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1853 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1855 2012-06-27 Andreas Jaeger <aj@suse.de>
1857 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1859 2012-06-25 Andreas Jaeger <aj@suse.de>
1861 * sysdeps/s390/fpu/libm-test-ulps: Update.
1863 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1864 Thomas Schwinge <thomas@codesourcery.com>
1866 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1867 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1871 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1873 * sysdeps/mach/start.c: Remove file.
1874 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1875 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1876 * sysdeps/sh/init-first.c: Likewise.
1878 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1879 registers for frame unwinding purposes, add CFI directives.
1880 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1881 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1882 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1885 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1886 __fortify_fail returning.
1887 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1889 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1890 sysdeps/sh/____longjmp_chk.S.
1891 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1892 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1893 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1894 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1896 * sysdeps/sh/abort-instr.h: New file.
1897 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1898 process in case exit returns.
1900 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1901 initialize the GOT register before use.
1903 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1904 calculation of ARGC > 4.
1906 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1907 meaningful names to some local labels.
1909 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1910 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1912 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1913 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1914 (__arch_compare_and_exchange_val_16_acq): Likewise.
1915 (__arch_compare_and_exchange_val_32_acq): Likewise.
1916 (atomic_exchange_and_add): Fix gUSA sequence.
1917 (atomic_add): Likewise.
1918 (atomic_add_negative): Likewise.
1919 (atomic_add_zero): Likewise.
1920 (atomic_bit_test_set): Likewise.
1922 2012-06-22 Andreas Schwab <schwab@redhat.com>
1925 * include/link.h (struct link_map): Add l_free_initfini.
1926 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1928 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1929 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1930 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1933 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1935 * configure.in: Use AC_LANG_SOURCE.
1936 * configure: Regenerate.
1938 2012-06-22 Roland McGrath <roland@hack.frob.com>
1940 * configure.in (libc_cv_localstatedir): New substituted variable.
1941 * configure: Regenerated.
1942 * config.make.in (localstatedir): New variable, substituted from
1943 libc_cv_localstatedir.
1944 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1945 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1946 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1947 * sysdeps/gnu/configure: Regenerated.
1949 2012-06-21 Jeff Law <law@redhat.com>
1952 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1953 free. Simplify list management for _LIBC case.
1955 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1958 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1959 Clear sign bit of 64-bit integer value before comparing against
1962 * sysdeps/mach/configure: Regenerated.
1964 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1967 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1969 2012-06-21 Jeff Law <law@redhat.com>
1972 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1973 uint16_t for elements in the "seen" array to avoid char overflows.
1974 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1975 * elf/dl-open.c (dl_open_worker): Likewise.
1977 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1979 * scripts/list-sources.sh: Scan PORTS for translations.
1980 * po/libc.pot: Regenerated.
1982 2012-06-21 Andreas Jaeger <aj@suse.de>
1985 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1987 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1988 * bits/byteswap-16.h (__bswap_16): Likewise.
1989 * bits/byteswap.h (__bswap_constant_16): Likewise.
1991 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1994 * sysdeps/i386/fpu_control.h: Removed.
1995 * sysdeps/x86_64/fpu_control.h: Moved to ...
1996 * sysdeps/x86/fpu_control.h: Here.
1998 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1999 (_FPU_SETCW): Likewise.
2001 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2004 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2005 * sysdeps/x86/fpu/bits/mathinline.h: This.
2006 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2010 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2011 functions if __x86_64__ is defined.
2013 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2015 * string/endian.h: Add !__ASSEMBLER__ condition for including
2016 conversion interfaces.
2018 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2021 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2022 of ABS(x) in calculating zero to negative powers other than odd
2024 * math/libm-test.inc (pow_test): Add more tests.
2026 2012-06-15 Andreas Jaeger <aj@suse.de>
2028 * manual/contrib.texi (Contributors): Update entry of Liubov
2029 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2032 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2034 * string/string.h: Add __wur to GNU version of strerror_r.
2036 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2039 * string/Makefile (tests): Add tst-strtok_r.
2040 * string/tst-strtok_r.c: New file.
2041 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2042 RAX_LP/RDX_LP on SAVE_PTR.
2044 2012-06-14 Roland McGrath <roland@hack.frob.com>
2046 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2048 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2050 * libm_test.inc (csqrt_test): Allow more spurious underflow
2052 (j0_test): Likewise.
2053 (j1_test): Likewise.
2054 (y0_test): Likewise.
2055 (y1_test): Likewise.
2057 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2059 * po/Makefile (libc.pot): Use UTF-8 charset.
2061 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2064 Suppress sign-conversion warning from FD_SET.
2065 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2066 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2067 not unsigned long int.
2068 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2070 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2074 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2075 __extern_always_inline instead of __extern_inline.
2076 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2077 (__signbit): Likewise.
2078 (__signbitl): Support C++ namespace.
2079 (lrintf): New inline function.
2081 (llrintf): Likewise.
2093 (nearbyint): Likewise.
2094 (nearbyintf): Likewise.
2096 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2098 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2099 non-default versions.
2101 2012-06-11 Roland McGrath <roland@hack.frob.com>
2104 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2106 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2108 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2109 (FE_UPWARD, FE_DOWNWARD): Don't define.
2110 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2111 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2113 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2115 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2116 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2118 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2120 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2121 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2122 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2123 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2125 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2128 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2129 * sysdeps/i386/fpu/Implies: New file.
2130 * sysdeps/x86_64/fpu/Implies: Likewise.
2131 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2132 * sysdeps/x86/fpu/bits/fenv.h: This.
2134 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2137 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2140 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2141 character 0xffff that matches the last element of the
2144 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2146 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2149 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2151 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2152 values higher than 25.6283.
2154 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2156 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2157 subnormal exponent extraction and add some __builtin_expect.
2158 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2159 Fix for subnormal mantissa calculation.
2161 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2163 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2164 cpu2 is -1 and errno is not ENOSYS.
2166 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2169 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2170 * sysdeps/x86/bits/string.h: This.
2171 * sysdeps/x86_64/bits/string.h: Removed.
2173 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2174 if not compiling for x86-64, but compiling for >= i486.
2176 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2177 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2179 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2180 New macro from Linux kernel 3.4.0.
2181 (FP_XSTATE_MAGIC2): Likewise.
2182 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2183 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2184 (struct _fpx_sw_bytes): New struct.
2185 (struct _xsave_hdr): Likewise.
2186 (struct _ymmh_state): Likewise.
2187 (struct _xstate): Likewise.
2189 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2190 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2191 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2192 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2193 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2194 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2196 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2197 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2198 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2199 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2200 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2201 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2203 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2206 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2207 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2208 (sysdep_headers): Include sys/platform/ppc.h.
2209 * sysdeps/powerpc/test-gettimebase.c: Test for
2210 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2211 * manual/Makefile (appendices): Include platform.texi.
2212 * manual/contrib.texi (Contributors): Update @node pointers.
2213 * manual/maint.texi (Maintenance): Likewise.
2214 (Platform): New node.
2215 * manual/platform.texi: New file. Document the new features.
2217 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2218 Jakub Jelinek <jakub@redhat.com>
2221 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2222 where __builtin_expect is unavailable.
2224 2012-06-03 David S. Miller <davem@davemloft.net>
2226 * stdlib/longlong.h: Updated from GCC.
2228 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2231 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2232 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2235 (GLIBC_2.16): Likewise.
2237 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2239 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2241 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2244 (default-abi): New variable.
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2246 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2248 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2250 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2252 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2255 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2256 definition. Document in comment.
2258 2012-06-01 David S. Miller <davem@davemloft.net>
2260 * stdlib/longlong.h: Updated from GCC.
2262 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2265 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2266 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2267 sys/debugreg.h sys/io.h here.
2268 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2269 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2271 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2272 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2273 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2274 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2275 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2276 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2278 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2279 Define only if __x86_64__ is defined.
2281 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2284 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2285 Use int64_t for variable i.
2286 * math/libm-test.inc (fmod_test): Add more tests.
2288 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2289 z computation is not scheduled after fetestexcept.
2290 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2291 Use math_force_eval instead of asm to ensure calculation scheduled
2292 before exception test.
2293 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2294 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2296 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2299 computation is not scheduled after fetestexcept.
2301 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2304 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2305 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2307 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2309 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2310 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2312 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2315 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2317 (__WCHAR_MIN): Support __WORDSIZE == 64.
2318 (__WCHAR_MAX): Likewise.
2320 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2321 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2324 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2325 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2328 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2329 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2331 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2332 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2334 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2335 Defined to 1 if __x86_64__ isn't defined.
2336 (_STAT_VER_LINUX_OLD): New.
2337 (st_atime): Remove duplicate.
2338 (st_mtime): Likewise.
2339 (st_ctime): Likewise.
2341 2012-05-31 David S. Miller <davem@davemloft.net>
2343 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2346 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2348 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2352 * elf/dl-reloc.c: Include <_itoa.h>.
2353 (_dl_reloc_bad_type): Remove use of INTUSE.
2354 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2355 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2356 * stdio-common/psiginfo.c (psiginfo): Likewise.
2357 * stdio-common/psignal.c (psignal): Likewise.
2358 * string/strsignal.c (strsignal): Likewise.
2359 * include/signal.h (_sys_siglist): Declare hidden proto.
2360 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2361 INTVARDEF with libc_hidden_data_def.
2362 * stdio-common/itoa-udigits.c: Likewise.
2363 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2364 (_itoa_lower_digits_internal): Remove declaration.
2365 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2366 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2367 (_sys_sigabbrev_internal): Remove aliases.
2368 (_sys_siglist): Define hidden alias.
2370 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2375 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2378 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2379 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2381 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2382 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2383 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2384 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2385 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2386 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2388 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2389 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2390 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2392 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2400 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2401 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2402 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2404 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2405 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2406 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2407 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2408 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2409 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2411 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2412 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2414 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2415 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2417 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2418 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2419 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2421 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2422 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2424 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2426 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2427 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2428 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2430 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2432 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2434 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2436 * math/math.h (M_El): Use two more decimal places.
2437 (M_LOG2El): Likewise.
2438 (M_LOG10El): Likewise.
2440 (M_LN10l): Likewise.
2442 (M_PI_2l): Likewise.
2443 (M_PI_4l): Likewise.
2444 (M_1_PIl): Likewise.
2445 (M_2_PIl): Likewise.
2446 (M_2_SQRTPIl): Likewise.
2447 (M_SQRT2l): Likewise.
2448 (M_SQRT1_2l): Likewise.
2450 2012-05-31 David S. Miller <davem@davemloft.net>
2452 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2453 values between float registers.
2454 * sysdeps/sparc/sparc64/memset.S: Likewise.
2455 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2457 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2459 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2460 -D_FORTIFY_SOURCE=1.
2461 (CPPFLAGS-tst-longjmp_chk.c): Define.
2462 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2463 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2464 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2465 CFLAGS-tst-wchar-h.c.
2467 2012-05-31 Marek Polacek <polacek@redhat.com>
2470 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2471 __endmntent_internal): Remove declaration.
2472 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2473 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2474 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2476 2012-05-30 David S. Miller <davem@davemloft.net>
2478 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2479 (___Q_simulate_exceptions): Use real FP ops rather than writing
2481 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2484 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2487 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2488 * sysdeps/x86/bits/xtitypes.h: This.
2490 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2491 * sysdeps/x86/bits/wordsize.h: This.
2493 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2494 * sysdeps/x86/bits/huge_vall.h: This.
2496 * sysdeps/i386/bits/select.h: Removed.
2497 * sysdeps/x86_64/bits/select.h: Renamed to ...
2498 * sysdeps/x86/bits/select.h: This.
2500 * sysdeps/i386/bits/setjmp.h: Removed.
2501 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2502 * sysdeps/x86/bits/setjmp.h: This.
2504 * sysdeps/i386/bits/mathdef.h: Removed.
2505 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2506 * sysdeps/x86/bits/mathdef.h: This.
2508 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2511 * include/sys/socket.h (__connect_internal)
2512 (__libc_sa_len_internal): Remove declaration.
2513 (__connect, __libc_sa_len): Declare hidden_proto.
2514 (SA_LEN): Remove use of INTUSE.
2515 * socket/connect.c: Add libc_hidden_def.
2516 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2517 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2518 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2520 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2521 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2522 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2523 of adding _internal alias.
2525 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2528 * sysdeps/i386/bits/link.h: Removed.
2529 * sysdeps/i386/bits/linkmap.h: Likewise.
2530 * sysdeps/x86_64/bits/link.h: Renamed to ...
2531 * sysdeps/x86/bits/link.h: This.
2532 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2533 * sysdeps/x86/bits/linkmap.h: This.
2535 * sysdeps/i386/bits/endian.h: Removed.
2536 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2537 * sysdeps/x86/bits/endian.h: This.
2539 * sysdeps/i386/bits/byteswap.h: Removed.
2540 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2541 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2542 * sysdeps/x86/bits/byteswap.h: This.
2543 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2544 * sysdeps/x86/bits/byteswap-16.h: This.
2545 * sysdeps/i386/Implies: Add x86.
2546 * sysdeps/x86_64/Implies: Likewise.
2548 2012-05-30 David S. Miller <davem@davemloft.net>
2550 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2551 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2552 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2553 (FP_TRAPPING_EXCEPTIONS): Define.
2554 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2555 (FP_TRAPPING_EXCEPTIONS): Define.
2556 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2557 subnormals only when inexact has been signalled or underflow
2558 exceptions are enabled.
2559 (_FP_PACK_CANONICAL): Likewise.
2561 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2564 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2565 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2567 2012-05-30 Richard Henderson <rth@twiddle.net>
2569 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2570 with #ifndef NOT_IN_libc.
2572 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2573 marked to avoid plt entry.
2575 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2578 * Makeconfig (default-abi): New macro.
2579 (abi-includes): Likewise.
2580 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2581 $(abi-$(default-abi)-lib-soname) for soname if defined.
2582 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2584 * Makefile (installed-stubs): Likewise.
2585 * include/stubs-biarch.h: Removed.
2586 * scripts/lib-names.awk: Only handle one library at a time.
2587 * scripts/soversions.awk: Remove WORDSIZE support.
2588 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2590 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2592 (syscall-list-default-condition): Likewise.
2593 (syscall-list-default-condition): Likewise.
2594 (syscall-list-includes): Likewise.
2595 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2596 syscall-list-* with abi-*. Handle undefined abi-variants.
2597 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2598 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2599 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2600 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2601 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2602 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2604 (syscall-list-32-options): Likewise.
2605 (syscall-list-32-condition): Likewise.
2606 (syscall-list-64-options): Likewise.
2607 (syscall-list-64-condition): Likewise.
2608 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2610 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2613 (abi-64-ld-soname): New macro.
2614 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2615 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2618 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2619 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2621 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2623 * sysdeps/unix/sysv/linux/kernel-features.h
2624 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2625 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2626 include <kernel-features.h>.
2627 [!__NR_ftruncate64]: Remove conditional code.
2628 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2629 [__NR_ftruncate64]: Make code unconditional.
2630 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2631 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2632 include <kernel-features.h>.
2633 [!__NR_ftruncate64]: Remove conditional code.
2634 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2635 [__NR_ftruncate64]: Make code unconditional.
2636 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2638 include <kernel-features.h>.
2639 [!__NR_ftruncate64]: Remove conditional code.
2640 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2641 [__NR_ftruncate64]: Make code unconditional.
2642 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2644 include <kernel-features.h>.
2645 [!__NR_ftruncate64]: Remove conditional code.
2646 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2647 [__NR_ftruncate64]: Make code unconditional.
2648 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2650 * configure.in (libc_cv_fpie): Weaken to a compile test using
2652 * configure: Regenerated.
2654 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2669 2012-05-27 David S. Miller <davem@davemloft.net>
2671 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2673 (__Q_simulate_exceptions): Return void. Change to simulate
2674 exceptions by writing into the %fsr.
2675 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2676 (__Qp_handle_exceptions): Likewise.
2678 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2679 __Qp_handle_exceptions.
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2681 __Qp_handle_exceptions.
2682 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2683 as unused and give dummy FP_RND_NEAREST initializer.
2684 (FP_INHIBIT_RESULTS): Define.
2685 (___Q_simulate_exceptions): Update declaration.
2686 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2688 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2689 as unused and give dummy FP_RND_NEAREST initializer.
2690 (__Qp_handle_exceptions): Update declaration.
2691 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2694 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2696 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2697 the temporary FPU control word.
2698 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2699 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2700 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2701 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2702 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2703 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2704 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2705 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2706 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2707 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2708 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2710 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2712 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2715 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2717 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2718 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2719 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2720 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2722 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2723 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2726 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2728 * po/h.po: Update from translation team.
2730 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2732 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2734 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2735 handling of denormals.
2736 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2737 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2738 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2739 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2740 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2741 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2745 2012-05-26 Marek Polacek <polacek@redhat.com>
2748 * math/libm-test.inc (fma_test): Don't always expect underflow
2751 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2754 * elf/tst-execstack.c: Include stackinfo.h.
2755 (do_test): Adjust test case to ensure that pthread_getattr_np
2756 behaviour remains the same after marking stack executable.
2758 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2760 * sysdeps/unix/sysv/linux/kernel-features.h
2761 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2762 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2764 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2765 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2766 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2768 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2769 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2771 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2773 * configure.in: Define the default includes to being none.
2774 * configure: Regenerated.
2776 2012-05-25 Roland McGrath <roland@hack.frob.com>
2778 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2779 * sysdeps/x86_64/setjmp.S: Likewise.
2780 * sysdeps/i386/bsd-setjmp.S: Likewise.
2781 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2782 * sysdeps/i386/setjmp.S: Likewise.
2783 * sysdeps/i386/__longjmp.S: Likewise.
2784 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2785 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2787 * include/stap-probe.h: New file.
2788 * configure.in: Handle --enable-systemtap.
2789 * configure: Regenerated.
2790 * config.h.in (USE_STAP_PROBE): New #undef.
2791 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2792 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2793 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2795 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2798 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2799 to 2.4.0 where earlier.
2800 * sysdeps/unix/sysv/linux/configure: Regenerated.
2801 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2802 <kernel-features.h>.
2803 [__ASSUME_32BITUIDS]: Make code unconditional.
2804 [!__ASSUME_32BITUIDS]: Remove conditional code.
2805 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2806 <kernel-features.h>.
2807 [__ASSUME_32BITUIDS]: Make code unconditional.
2808 [!__ASSUME_32BITUIDS]: Remove conditional code.
2809 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2810 [__ASSUME_32BITUIDS]: Make code unconditional.
2811 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2812 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2813 <kernel-features.h>.
2814 [__ASSUME_32BITUIDS]: Make code unconditional.
2815 [!__ASSUME_32BITUIDS]: Remove conditional code.
2816 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2817 <kernel-features.h>.
2818 [__ASSUME_32BITUIDS]: Make code unconditional.
2819 [!__ASSUME_32BITUIDS]: Remove conditional code.
2820 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2821 <kernel-features.h>.
2822 [__ASSUME_32BITUIDS]: Make code unconditional.
2823 [!__ASSUME_32BITUIDS]: Remove conditional code.
2824 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2825 <kernel-features.h>.
2826 [__ASSUME_32BITUIDS]: Make code unconditional.
2827 [!__ASSUME_32BITUIDS]: Remove conditional code.
2828 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2829 <kernel-features.h>.
2830 [__ASSUME_32BITUIDS]: Make code unconditional.
2831 [!__ASSUME_32BITUIDS]: Remove conditional code.
2832 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2833 <kernel-features.h>.
2834 [__ASSUME_32BITUIDS]: Make code unconditional.
2835 [!__ASSUME_32BITUIDS]: Remove conditional code.
2836 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2837 <kernel-features.h>.
2838 [__ASSUME_32BITUIDS]: Make code unconditional.
2839 [!__ASSUME_32BITUIDS]: Remove conditional code.
2840 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2841 <kernel-features.h>.
2842 [__ASSUME_32BITUIDS]: Make code unconditional.
2843 [!__ASSUME_32BITUIDS]: Remove conditional code.
2844 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2845 <kernel-features.h>.
2846 [__ASSUME_32BITUIDS]: Make code unconditional.
2847 [!__ASSUME_32BITUIDS]: Remove conditional code.
2848 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2849 <kernel-features.h>.
2850 [__ASSUME_32BITUIDS]: Make code unconditional.
2851 [!__ASSUME_32BITUIDS]: Remove conditional code.
2852 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2853 <kernel-features.h>.
2854 [__NR_setresgid] (__setresgid): Do not declare.
2855 [__ASSUME_32BITUIDS]: Make code unconditional.
2856 [!__ASSUME_32BITUIDS]: Remove conditional code.
2857 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2858 <kernel-features.h>.
2859 [__NR_setresuid] (__setresuid): Do not declare.
2860 [__ASSUME_32BITUIDS]: Make code unconditional.
2861 [!__ASSUME_32BITUIDS]: Remove conditional code.
2862 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2863 <kernel-features.h>.
2864 [__ASSUME_32BITUIDS]: Make code unconditional.
2865 [!__ASSUME_32BITUIDS]: Remove conditional code.
2866 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2867 <kernel-features.h>.
2868 [__ASSUME_32BITUIDS]: Make code unconditional.
2869 [!__ASSUME_32BITUIDS]: Remove conditional code.
2870 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2871 <kernel-features.h>.
2872 [__ASSUME_32BITUIDS]: Make code unconditional.
2873 [!__ASSUME_32BITUIDS]: Remove conditional code.
2874 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2875 <kernel-features.h>.
2876 [__ASSUME_32BITUIDS]: Make code unconditional.
2877 [!__ASSUME_32BITUIDS]: Remove conditional code.
2878 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2879 <kernel-features.h>.
2880 [__ASSUME_32BITUIDS]: Make code unconditional.
2881 [!__ASSUME_32BITUIDS]: Remove conditional code.
2882 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2883 <kernel-features.h>.
2884 [__ASSUME_32BITUIDS]: Make code unconditional.
2885 [!__ASSUME_32BITUIDS]: Remove conditional code.
2886 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2887 <kernel-features.h>.
2888 [__ASSUME_32BITUIDS]: Make code unconditional.
2889 [!__ASSUME_32BITUIDS]: Remove conditional code.
2890 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2891 <kernel-features.h>.
2892 [__ASSUME_32BITUIDS]: Make code unconditional.
2893 [!__ASSUME_32BITUIDS]: Remove conditional code.
2894 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2895 <kernel-features.h>.
2896 [__ASSUME_32BITUIDS]: Make code unconditional.
2897 [!__ASSUME_32BITUIDS]: Remove conditional code.
2898 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2899 <kernel-features.h>.
2900 [__ASSUME_32BITUIDS]: Make code unconditional.
2901 [!__ASSUME_32BITUIDS]: Remove conditional code.
2902 * sysdeps/unix/sysv/linux/kernel-features.h
2903 (__ASSUME_SETRESUID_SYSCALL): Remove.
2904 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2905 (__ASSUME_32BITUIDS): Likewise.
2906 (__ASSUME_LDT_WORKS): Likewise.
2907 (__ASSUME_O_DIRECTORY): Likewise.
2908 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2909 architecture but not kernel version.
2910 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2911 (__ASSUME_MMAP2_SYSCALL): Likewise.
2912 (__ASSUME_STAT64_SYSCALL): Likewise.
2913 (__ASSUME_IPC64): Likewise.
2914 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2915 <kernel-features.h>.
2916 [__ASSUME_32BITUIDS]: Make code unconditional.
2917 [!__ASSUME_32BITUIDS]: Remove conditional code.
2918 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2919 <kernel-features.h>.
2920 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2921 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2922 132096]: Remove conditional code.
2923 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2924 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2925 <kernel-features.h>.
2926 [__ASSUME_32BITUIDS]: Make code unconditional.
2927 [!__ASSUME_32BITUIDS]: Remove conditional code.
2928 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2929 <kernel-features.h>.
2930 [__ASSUME_32BITUIDS]: Make code unconditional.
2931 [!__ASSUME_32BITUIDS]: Remove conditional code.
2932 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2933 <kernel-features.h>.
2934 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2936 (__setresgid): Do not declare.
2937 [__ASSUME_32BITUIDS]: Make code unconditional.
2938 [!__ASSUME_32BITUIDS]: Remove conditional code.
2939 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2940 <kernel-features.h>.
2941 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2943 (__setresuid): Do not declare.
2944 [__ASSUME_32BITUIDS]: Make code unconditional.
2945 [!__ASSUME_32BITUIDS]: Remove conditional code.
2946 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2947 <kernel-features.h>.
2948 [__ASSUME_32BITUIDS]: Make code unconditional.
2949 [!__ASSUME_32BITUIDS]: Remove conditional code.
2950 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2951 <kernel-features.h>.
2952 [__ASSUME_32BITUIDS]: Make code unconditional.
2953 [!__ASSUME_32BITUIDS]: Remove conditional code.
2955 2012-05-25 Richard Henderson <rth@twiddle.net>
2957 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2958 dl_hwcap to ifunc resolver.
2959 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2961 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2962 dl_hwcap to ifunc resolver.
2963 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2965 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2968 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2969 for |x| <= 2**-26, not 2**-57.
2970 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2973 2012-05-24 Jeff Law <law@redhat.com>
2975 * stdio-common/Makefile (tests): Add bug25.
2976 * stdio-common/bug25.c: New test.
2978 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2981 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2982 multiple of MALLOC_ALIGNMENT in size.
2983 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2985 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2987 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2989 (FILENAME_MAX): Use macro-int-constant.
2990 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2991 (_IOFBF): Use macro-int-constant.
2994 (SEEK_CUR): Likewise.
2995 (SEEK_END): Likewise.
2996 (SEEK_SET): Likewise.
2997 (TMP_MAX): Likewise.
2998 (EOF): Use macro-int-constant. Require < 0.
2999 (NULL): Use macro-constant. Require == 0.
3000 (stdin): Require type to be FILE *.
3003 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3005 (EXIT_SUCCESS): Likewise.
3006 (NULL): Use macro-constant. Require == 0.
3007 (RAND_MAX): Use macro-int-constant.
3008 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3009 [C99-based standards] (strtof): Require function.
3010 [C99-based standards] (strtold): Likewise.
3011 [C99-based standards] (strtoll): Likewise.
3012 [C99-based standards] (strtoull): Likewise.
3013 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3014 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3015 [ISO || ISO99 || ISO11] (math.h): Likewise.
3016 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3017 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3018 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3020 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3023 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3024 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3025 * intl/dgettext.c (DCGETTEXT): Likewise.
3026 * intl/gettext.c (DCGETTEXT): Likewise.
3027 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3028 * posix/regex_internal.h (gettext): Likewise.
3029 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3031 * include/argz.h (__argz_count_internal)
3032 (__argz_stringify_internal): Remove declaration.
3033 (__argz_count, __argz_stringify): Declare hidden proto.
3034 * intl/dcgettext.c: Remove use of INTDEF.
3035 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3036 * string/argz-stringify.c: Likewise.
3037 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3038 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3039 Declare hidden proto.
3040 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3041 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3042 Declare hidden proto.
3043 * include/stdio.h (__asprintf_internal): Don't declare.
3044 (__asprintf): Don't define as macro. Declare hidden proto.
3045 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3046 (__fsetlocking): Declare hidden proto.
3047 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3048 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3050 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3051 (_IO_setlinebuf): Remove use of INTUSE.
3052 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3053 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3054 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3056 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3057 (_IO_do_flush): Remove use of INTUSE.
3058 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3059 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3060 (_IO_adjust_column, _IO_least_wmarker)
3061 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3062 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3063 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3064 (_IO_default_doallocate, _IO_wdefault_doallocate)
3065 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3066 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3067 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3068 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3069 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3070 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3071 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3072 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3073 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3074 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3075 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3076 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3077 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3079 (_IO_flush_all_internal, _IO_adjust_column_internal)
3080 (_IO_default_uflow_internal, _IO_default_finish_internal)
3081 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3082 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3083 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3084 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3085 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3086 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3087 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3088 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3089 (_IO_file_close_internal, _IO_file_close_it_internal)
3090 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3091 (_IO_file_init_internal, _IO_file_attach_internal)
3092 (_IO_file_fopen_internal, _IO_file_read_internal)
3093 (_IO_file_sync_internal, _IO_file_seek_internal)
3094 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3095 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3096 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3097 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3098 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3099 (_IO_list_all_internal, _IO_link_in_internal)
3100 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3101 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3102 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3103 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3104 (_IO_do_write_internal, _IO_padn_internal)
3105 (_IO_getline_info_internal, _IO_getline_internal)
3106 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3107 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3108 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3109 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3110 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3111 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3112 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3113 with libc_hidden_ver, remove use of INTUSE.
3114 * libio/genops.c: Likewise.
3115 * libio/freopen.c: Likewise.
3116 * libio/freopen64.c: Likewise.
3117 * libio/iofclose.c: Likewise.
3118 * libio/iofdopen.c: Likewise.
3119 * libio/iofflush.c: Likewise.
3120 * libio/iofflush_u.c: Likewise.
3121 * libio/iofgets.c: Likewise.
3122 * libio/iofgets_u.c: Likewise.
3123 * libio/iofopen.c: Likewise.
3124 * libio/iofopncook.c: Likewise.
3125 * libio/iofread.c: Likewise.
3126 * libio/iofread_u.c: Likewise.
3127 * libio/ioftell.c: Likewise.
3128 * libio/iofwrite.c: Likewise.
3129 * libio/iogetline.c: Likewise.
3130 * libio/iogets.c: Likewise.
3131 * libio/iogetwline.c: Likewise.
3132 * libio/iopadn.c: Likewise.
3133 * libio/iopopen.c: Likewise.
3134 * libio/ioseekoff.c: Likewise.
3135 * libio/ioseekpos.c: Likewise.
3136 * libio/iosetbuffer.c: Likewise.
3137 * libio/iosetvbuf.c: Likewise.
3138 * libio/ioungetc.c: Likewise.
3139 * libio/ioungetwc.c: Likewise.
3140 * libio/iovdprintf.c: Likewise.
3141 * libio/iovsprintf.c: Likewise.
3142 * libio/iovsscanf.c: Likewise.
3143 * libio/memstream.c: Likewise.
3144 * libio/obprintf.c: Likewise.
3145 * libio/oldfileops.c: Likewise.
3146 * libio/oldiofclose.c: Likewise.
3147 * libio/oldiofdopen.c: Likewise.
3148 * libio/oldiofopen.c: Likewise.
3149 * libio/oldiopopen.c: Likewise.
3150 * libio/oldstdfiles.c: Likewise.
3151 * libio/putc.c: Likewise.
3152 * libio/setbuf.c: Likewise.
3153 * libio/setlinebuf.c: Likewise.
3154 * libio/stdfiles.c: Likewise.
3155 * libio/strops.c: Likewise.
3156 * libio/vasprintf.c: Likewise.
3157 * libio/vscanf.c: Likewise.
3158 * libio/vsnprintf.c: Likewise.
3159 * libio/vswprintf.c: Likewise.
3160 * libio/wfiledoalloc.c: Likewise.
3161 * libio/wfileops.c: Likewise.
3162 * libio/wgenops.c: Likewise.
3163 * libio/wmemstream.c: Likewise.
3164 * libio/wstrops.c: Likewise.
3165 * libio/__fpurge.c: Likewise.
3166 * libio/__fsetlocking.c: Likewise.
3167 * assert/assert.c: Likewise.
3168 * debug/fgets_chk.c: Likewise.
3169 * debug/fgets_u_chk.c: Likewise.
3170 * debug/fread_chk.c: Likewise.
3171 * debug/fread_u_chk.c: Likewise.
3172 * debug/gets_chk.c: Likewise.
3173 * debug/obprintf_chk.c: Likewise.
3174 * debug/vasprintf_chk.c: Likewise.
3175 * debug/vdprintf_chk.c: Likewise.
3176 * debug/vsnprintf_chk.c: Likewise.
3177 * debug/vsprintf_chk.c: Likewise.
3178 * malloc/mtrace.c: Likewise.
3179 * misc/error.c: Likewise.
3180 * misc/syslog.c: Likewise.
3181 * stdio-common/asprintf.c: Likewise.
3182 * stdio-common/fxprintf.c: Likewise.
3183 * stdio-common/getw.c: Likewise.
3184 * stdio-common/isoc99_fscanf.c: Likewise.
3185 * stdio-common/isoc99_scanf.c: Likewise.
3186 * stdio-common/isoc99_vfscanf.c: Likewise.
3187 * stdio-common/isoc99_vscanf.c: Likewise.
3188 * stdio-common/isoc99_vsscanf.c: Likewise.
3189 * stdio-common/printf-prs.c: Likewise.
3190 * stdio-common/printf_fp.c: Likewise.
3191 * stdio-common/printf_fphex.c: Likewise.
3192 * stdio-common/printf_size.c: Likewise.
3193 * stdio-common/putw.c: Likewise.
3194 * stdio-common/scanf.c: Likewise.
3195 * stdio-common/sprintf.c: Likewise.
3196 * stdio-common/tmpfile.c: Likewise.
3197 * stdio-common/vfprintf.c: Likewise.
3198 * stdio-common/vfscanf.c: Likewise.
3199 * stdlib/strfmon_l.c: Likewise.
3200 * sunrpc/openchild.c: Likewise.
3201 * sunrpc/xdr_stdio.c: Likewise.
3202 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3203 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3205 2012-05-24 Roland McGrath <roland@hack.frob.com>
3207 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3209 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3210 in the third column, to generate for the shared library an IFUNC
3211 that uses _dl_vdso_vsym.
3212 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3213 * Makeconfig (object-suffixes-noshared): New variable.
3215 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3216 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3217 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3218 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3221 * include/sys/time.h (__gettimeofday): Remove macro.
3222 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3223 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3225 (__gettimeofday): Add libc_hidden_def.
3226 (gettimeofday): Add libc_hidden_weak.
3227 * sysdeps/mach/gettimeofday.c: Likewise.
3228 * sysdeps/posix/gettimeofday.c: Likewise.
3229 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3230 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3232 (__gettimeofday_internal): Remove strong_alias.
3233 (__gettimeofday): Add libc_hidden_def.
3234 (gettimeofday): Add libc_hidden_weak.
3235 * sysdeps/unix/syscalls.list (gettimeofday):
3236 Remove __gettimeofday_internal alias.
3238 2012-05-24 Daniel Jacobowitz <drow@false.org>
3239 H.J. Lu <hongjiu.lu@intel.com>
3242 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3243 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3244 (largebin_index_32_big): New.
3245 (largebin_index): Use it for 16-byte alignment.
3246 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3247 correction with front_misalign.
3249 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3277 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3278 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3280 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3284 * math/libm-test.inc (exp_test): Add test from bug 14036.
3285 (pow_test): Add test from bug 10846.
3287 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3289 (special_function): Do not include flags in test name.
3290 (parse_args): Likewise.
3291 * sysdeps/i386/fpu/libm-test-ulps: Update.
3292 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3293 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3294 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3297 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3299 * math/libm-test.inc ("Philosophy"): Update comment about
3301 (UNDERFLOW_EXCEPTION): New macro.
3302 (UNDERFLOW_EXCEPTION_OK): Likewise.
3303 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3304 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3305 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3306 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3307 (INVALID_EXCEPTION_OK): Update value.
3308 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3309 (OVERFLOW_EXCEPTION_OK): Likewise.
3310 (IGNORE_ZERO_INF_SIGN): Likewise.
3311 (test_exceptions): Handle underflow exceptions.
3312 (acos_test): Update for underflow exception expectations.
3313 (cexp_test): Likewise.
3314 (clog_test): Likewise.
3315 (clog10_test): Likewise.
3316 (csqrt_test): Likewise.
3317 (ctan_test): Likewise.
3318 (ctanh_test): Likewise.
3319 (exp_test): Likewise.
3320 (exp10_test): Likewise.
3321 (exp2_test): Likewise.
3322 (expm1_test): Likewise.
3323 (fma_test): Likewise.
3324 (j0_test): Likewise.
3325 (jn_test): Likewise.
3326 (nexttoward_test): Likewise.
3327 (pow_test): Likewise.
3328 (scalbn_test): Likewise.
3329 (scalbln_test): Likewise.
3330 (tan_test): Likewise.
3331 (y1_test): Likewise.
3332 * sysdeps/i386/fpu/libm-test-ulps: Update.
3333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3335 2012-05-23 David S. Miller <davem@davemloft.net>
3337 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3338 (__libc_sigaction): Remove unused local variables.
3340 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3342 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3344 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3346 mktime: avoid signed integer overflow
3347 * time/mktime.c (__mktime_internal): Do not mishandle the case
3348 where diff == INT_MIN.
3350 mktime: simplify computation of average
3351 * time/mktime.c (ranged_convert): Use new time_t_avg function
3352 instead of rolling our own (probably-slower) code.
3354 mktime: do not assume signed right shift propagates sign bit
3355 * time/mktime.c (isdst_differ): New static function.
3356 (__mktime_internal): No need to normalize tm_isdst now.
3357 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3360 mktime: merge another wrapv change from gnulib
3361 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3362 from some compilers.
3364 mktime: remove incorrect attempt at unusual arithmetics
3365 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3366 The code didn't really work on such machines anyway.
3367 (TYPE_MINIMUM): Assume two's complement.
3368 (twos_complement_arithmetic): Verify that long_int and time_t
3369 are two's complement (or unsigned, in the latter case).
3371 mktime: check signed shifts on long_int and time_t, too
3372 * time/mktime.c (SHR): Check that shifts work as desired
3373 on the types long_int and time_t too, as SHR is used on
3376 mktime: do not assume 'long' is wide enough
3377 * time/mktime.c (verify): Move decl up.
3378 (long_int): New type.
3379 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3380 to remove assumption in the code that 'long' is wide enough to
3381 store year values. This assumption is not true on x32 and on
3382 some non-glibc platforms.
3384 mktime: merge wrapv change from gnulib
3385 * time/mktime.c (WRAPV): New macro.
3386 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3387 (guess_time_tm, __mktime_internal): Do not assume that signed
3388 integer overflow wraps around; modern compilers generate code
3389 where this assumption is no longer valid.
3391 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3393 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3394 Replace "jmp L(pseudo_end)" with "ret".
3395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3398 2012-05-23 Andreas Jaeger <aj@suse.de>
3400 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3401 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3403 2012-05-23 Andreas Jaeger <aj@suse.de>
3404 Maximilian Attems <max@stro.at>
3406 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3409 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3411 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3412 code so that pseudo_end is just ret and the stack pointer is
3413 correct also for static library in error case.
3415 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3417 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3418 move to syscalls.list.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3424 * manual/install.texi (Running make install): Do not mention Linux
3425 kernel version for which pt_chown is not needed.
3426 (Linux): Do not mention problems with nscd with 2.0 kernels.
3427 * INSTALL: Regenerated.
3429 2012-05-23 Andreas Jaeger <aj@suse.de>
3431 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3432 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3434 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3435 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3436 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3437 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3438 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3439 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3440 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3441 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3442 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3443 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3444 * sysdeps/unix/sysv/linux/bits/in.h
3445 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3447 2012-05-22 Roland McGrath <roland@hack.frob.com>
3449 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3450 (PREPARE_VERSION): Just use assert instead, it will be elided
3451 under [NDEBUG] anyway.
3453 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3455 * sysdeps/unix/sysv/linux/Makefile: Include
3456 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3457 (sysdep_routines): Remove sysctl.
3458 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3459 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3460 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3461 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3462 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3464 2012-05-22 Andreas Jaeger <aj@suse.de>
3466 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3467 that pseudo_end is just ret and the stack pointer is correct also
3468 for static library in error case.
3470 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3473 * nss/nsswitch.c (defconfig_entries): New variable.
3474 (__nss_database_lookup): Don't leak defconfig entries.
3475 (nss_parse_service_list): Don't leak on error paths.
3476 (free_database_entries): New function.
3477 (free_defconfig): New function.
3478 (free_mem): Move common code to free_database_entries.
3480 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3482 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3484 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3486 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3487 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3490 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3491 (INTERNAL_SYSCALL_TYPES): Likewise.
3492 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3493 (LOAD_REGS_TYPES_[1-6]): Likewise.
3494 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3495 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3497 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3499 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3500 copysignl for GLIBC_2_0.
3501 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3502 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3504 logbl for GLIBC_2_0.
3505 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3506 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3508 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3510 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3511 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3513 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3516 * time/mktime.c: Update copyright years.
3518 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3520 mktime: merge comment-quoting-style change from gnulib
3521 * time/mktime.c: Quote 'like this' in comments.
3522 The GNU coding standards suggest that we no longer quote `like this',
3523 as "`" and "'" are typically rendered asymmetrically nowadays.
3524 The typical gnulib style is to quote 'like this' when quoting
3525 code, and "like this" when quoting English.
3527 * time/mktime.c (compile-command): Add "-I.".
3529 mktime: merge mktime-internal.h change from gnulib
3530 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3532 mktime: merge time_r change from gnulib
3533 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3535 mktime: merge DEBUG change from gnulib
3536 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3537 case system <time.h> has a #define.
3539 mktime: merge <sys/types.h> change from gnulib
3540 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3541 since <time.t> is now guaranteed to define time_t.
3543 mktime: merge HAVE_CONFIG_H change from gnulib
3544 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3546 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3551 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3553 (struct rusage): Use anonymous union to pad each field to
3556 2012-05-21 David S. Miller <davem@davemloft.net>
3558 * Makefules (o-iterator): Remove .s cases.
3559 (compile-command.s): Delete.
3560 (COMPILE.s): Delete.
3561 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3563 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3565 * configure.in (libc_cv_predef_stack_protector): Only consider
3566 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3567 * configure: Regenerated.
3569 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3572 New macro. Use R*LP on int and pointer.
3573 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3574 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3575 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3576 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3578 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3579 [__WORDSIZE_TIME64_COMPAT32] instead of
3580 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3581 (struct utmp): Likewise.
3582 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3583 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3585 (__WORDSIZE_TIME64_COMPAT32): This.
3586 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3587 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3588 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3589 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3590 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3591 (__WORDSIZE_TIME64_COMPAT32): New macro.
3593 2012-05-21 Andreas Jaeger <aj@suse.de>
3595 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3596 only if [SHARED]. Add prototype for __wcschr_ia32.
3598 2012-05-21 Roland McGrath <roland@hack.frob.com>
3600 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3601 of %rbp unmolested in the jmp_buf while mangling the low bits.
3602 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3603 unmolested high bits of %rbp while demangling the low bits.
3604 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3606 2012-05-21 Andreas Jaeger <aj@suse.de>
3608 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3609 * sunrpc/svc_simple.c: Use it for registerrpc.
3610 * sunrpc/xcrypt.c: Use it for passwd2des.
3612 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3614 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3616 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3617 Don't define if [__SYSCALL_WORDSIZE != 32].
3618 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3621 2012-05-21 Bruno Haible <bruno@clisp.org>
3622 Andreas Jaeger <aj@suse.de>
3624 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3625 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3626 inptr and inend for must_buffer_ch.
3627 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3628 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3629 * stdio-common/Makefile (tests): Remove bug15.
3630 (bug15-ENV): Remove macro.
3631 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3634 2012-05-19 Andreas Jaeger <aj@suse.de>
3635 Roland McGrath <roland@hack.frob.com>
3637 * manual/contrib.texi: Completely rewritten. It contains now an
3638 alphabetical list of contributors and their contributions.
3640 2012-05-21 Richard Henderson <rth@twiddle.net>
3642 * misc/getauxval.c (__getauxval): Use unsigned long int.
3643 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3644 (getauxval): Use unsigned long int.
3646 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3648 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3650 2012-05-21 Roland McGrath <roland@hack.frob.com>
3652 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3653 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3654 __alignof__ (long double).
3656 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3660 2012-05-20 Richard Henderson <rth@twiddle.net>
3662 * misc/getauxval.c: New file.
3663 * misc/sys/auxv.h: New file.
3664 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3665 (routines): Add getauxval.
3666 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3667 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3668 * elf/dl-sysdep.c (_dl_auxv): Remove.
3669 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3670 * elf/dl-support.c (_dl_auxv): New variable.
3671 (_dl_aux_init): Initialize it.
3672 * manual/startup.texi (Auxiliary Vector): New node.
3673 * sysdeps/generic/bits/hwcap.h: New file.
3674 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3675 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3676 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3677 * sysdeps/sparc/sysdep.h: ... here. Include it.
3678 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3679 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3691 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3695 2012-05-19 David S. Miller <davem@davemloft.net>
3697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3699 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3702 * math/s_ccosh.c: Include <float.h>
3703 (__ccosh): Avoid internal overflow calculating sinh and cosh
3704 values before multiplying by sin and cos values.
3705 * math/s_ccoshf.c: Likewise.
3706 * math/s_ccoshl.c: Likewise.
3707 * math/s_csin.c: Likewise.
3708 * math/s_csinf.c: Likewise.
3709 * math/s_csinl.c: Likewise.
3710 * math/s_csinh.c: Likewise.
3711 * math/s_csinhf.c: Likewise.
3712 * math/s_csinhl.c: Likewise.
3713 * math/libm-test.inc (ccos_test): Add more tests.
3714 (ccosh_test): Likewise.
3715 (csin_test): Likewise.
3716 (csinh_test): Likewise.
3717 * sysdeps/i386/fpu/libm-test-ulps: Update.
3718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3720 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3722 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3723 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3725 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3727 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3729 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3730 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3731 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3732 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3733 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3734 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3735 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3736 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3737 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3738 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3739 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3740 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3741 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3742 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3743 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3744 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3745 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3746 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3747 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3748 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3749 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3750 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3751 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3752 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3753 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3754 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3755 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3756 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3757 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3758 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3759 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3761 2012-05-18 Andreas Jaeger <aj@suse.de>
3763 * csu/.gitignore: Delete.
3765 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3767 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3768 (timex): Use __syscall_slong_t.
3770 2012-05-18 Andreas Jaeger <aj@suse.de>
3771 Carlos O'Donell <carlos_odonell@mentor.com>
3773 * manual/install.texi (Configuring and compiling): Update
3774 description about files modified in the source directory.
3775 * INSTALL: Regenerated.
3777 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3779 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3780 value. Use "or" to set return value to -1.
3781 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3782 negate return value.
3784 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3786 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3787 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3788 failure if the compiler has Graphite support disabled.
3789 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3791 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3792 CFLAGS-memmove.c): Likewise.
3793 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3796 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3798 * sysdeps/x86_64/x32/_itoa.h: New file.
3800 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3801 getdents system call only if kernel and user dirents have the
3802 same d_ino and d_off.
3804 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3805 LLONG_MAX != LONG_MAX.
3806 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3807 (_fitoa_word): Likewise.
3809 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3811 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3812 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3813 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3815 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3816 include <bits/wordsize.h>. Check __x86_64__ instead of
3818 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3819 if __x86_64__ is defined. Use anonymous union on fpstate.
3821 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3824 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3826 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3827 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3828 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3829 Refer to _rtld_local_ro instead of _rtld_global_ro.
3830 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3832 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3834 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3836 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3837 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3838 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3840 * sysdeps/powerpc/powerpc32/dl-machine.c
3841 (__elf_machine_runtime_setup) [PROF]: Don't reference
3844 2012-05-18 Andreas Jaeger <aj@suse.de>
3846 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3847 function only available for GCCs before 3.4 since GCC 3.4
3848 introduced a builtin.
3850 (llrintf): Likewise.
3858 (nearbyint): Likewise.
3859 (nearbyintf): Likewise.
3865 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3867 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3868 on both fields and cast pointer to __syscall_ulong_t.
3870 * bits/types.h (__fsword_t): New type.
3871 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3872 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3874 (__FSWORD_T_TYPE): Likewise.
3875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3876 (__FSWORD_T_TYPE): Likewise.
3877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3878 (__FSWORD_T_TYPE): Likewise.
3879 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3880 (__FSWORD_T_TYPE): Likewise.
3881 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3882 __SWORD_TYPE with __fsword_t.
3883 (statfs64): Likewise.
3885 2012-05-17 David S. Miller <davem@davemloft.net>
3887 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3889 2012-05-17 Andreas Jaeger <aj@suse.de>
3891 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3894 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3896 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3898 2012-05-17 Andreas Jaeger <aj@suse.de>
3900 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3903 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3905 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3907 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3909 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3910 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3912 2012-05-17 Andreas Jaeger <aj@suse.de>
3913 Carlos O'Donell <carlos_odonell@mentor.com>
3916 * sysdeps/x86_64/multiarch/init-arch.h
3917 (bit_YMM_Usable): Rename to...
3918 (bit_AVX_Usable): ... this.
3919 (bit_FMA4_Usable): New macro.
3920 (bit_XMM_state): New macro.
3921 (bit_YMM_state): New macro.
3922 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3923 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3924 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3925 (CPUID_OSXSAVE): New macro.
3926 (CPUID_AVX): New macro.
3927 (CPUID_FMA4): New macro.
3928 (index_YMM_Usable): Rename to...
3929 (index_AVX_Usable): ... this.
3930 (HAS_AVX): Use HAS_ARCH_FEATURE.
3931 (HAS_FMA4): Likewise.
3932 (HAS_YMM_USABLE): Remove.
3933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3934 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3936 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3937 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3938 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3939 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3940 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3942 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3944 * math/libm-test.c: Support platforms without multiple rounding modes.
3945 * math/bug-nextafter.c: Support platforms without FP exceptions.
3946 * math/bug-nexttoward.c: Likewise.
3947 * math/test-fenv.c: Likewise.
3948 * math/test-misc.c: Likewise.
3949 * stdlib/bug-getcontext.c: Likewise.
3951 2012-05-17 Andreas Jaeger <aj@suse.de>
3953 * manual/examples/search.c (critter_cmp): Change signature to
3955 * manual/string.texi (Collation Functions): Likewise.
3957 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3959 * bits/types.h: Fold copyright years.
3960 * bits/typesizes.h: Likewise.
3961 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3962 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3964 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3965 * time/time.h: Likewise.
3967 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3970 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3971 in instead of returning them. Return void.
3972 (__libc_mallinfo): Accumulate over all arenas.
3973 (__malloc_stats): Adjust for change in int_mallinfo interface.
3975 2012-05-16 Roland McGrath <roland@hack.frob.com>
3978 * configure.in (NM): Add AC_CHECK_TOOL for it.
3979 (libc_extra_cflags): New substituted variable.
3980 Check for -fstack-protector being used implicitly.
3981 * configure: Regenerated.
3982 * config.make.in (config-extra-cflags): New variable,
3983 gets @libc_extra_cflags@.
3984 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3987 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3988 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3989 * configure: Regenerated.
3990 * config.make.in (CPPUNDEFS): New substituted variable.
3991 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3992 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3993 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3995 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3997 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3998 (mq_attr): Use __syscall_slong_t.
4000 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4002 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4003 Check __x86_64__ instead of __WORDSIZE.
4004 (_STAT_VER_LINUX): Likewise.
4005 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4006 __syscall_ulong_t and __syscall_slong_t.
4009 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4011 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4013 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4015 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4017 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4019 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4022 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4023 include <bits/wordsize.h>. Check __x86_64__ instead of
4025 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4027 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4030 include <bits/wordsize.h>. Check __x86_64__ instead of
4032 (user_regs_struct): Use "__extension__ unsigned long long"
4033 instead of "unsigned long" if __x86_64__ is defined.
4034 (user): Likewise. Pad after pointer field if __ILP32__ is
4037 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4039 * configure.in (makeinfo): Require version 4.5 or later. Allow
4041 * configure: Regenerated.
4042 * manual/install.texi (texinfo): Increase version requirement to
4044 * INSTALL: Regenerated.
4046 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4048 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4050 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4052 * sysdeps/x86_64/x32/ffs.c: New file.
4054 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4056 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4057 defined. Use __syscall_ulong_t.
4058 (shminfo): Use __syscall_ulong_t.
4059 (shm_info): Likewise.
4061 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4064 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4066 (msgqnum_t): Use __syscall_ulong_t.
4067 (msglen_t): Likewise.
4068 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4071 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4072 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4074 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4076 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4077 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4079 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4082 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4083 include <bits/wordsize.h>. Check __x86_64__ instead of
4086 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4087 "unsigned long long int" if __x86_64__ is defined.
4088 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4090 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4091 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4092 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4094 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4096 (GET_PC): Cast to uintptr_t first.
4097 (GET_FRAME): Likewise.
4098 (GET_STACK): Likewise.
4100 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4101 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4102 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4103 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4104 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4105 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4106 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4107 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4108 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4109 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4110 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4111 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4112 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4113 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4114 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4115 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4116 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4117 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4118 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4119 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4120 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4121 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4122 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4123 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4124 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4125 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4126 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4127 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4128 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4130 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4132 * Makerules (+depfiles): Also collect depfiles from .oS in
4134 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4135 .oS, $(libnldbl-routines)).
4137 * Makerules (native-compile-mkdep-flags): Define.
4138 * sunrpc/Makefile (extra-objs): Add $(addprefix
4139 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4140 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4141 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4142 calling $(make-target-directory).
4144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4146 * bits/types.h (__snseconds_t): Removed.
4147 * time/time.h (struct timespec): Replace __snseconds_t with
4149 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4150 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4152 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4153 (__SNSECONDS_T_TYPE): Likewise.
4154 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4155 (__SNSECONDS_T_TYPE): Likewise.
4156 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4157 (__SNSECONDS_T_TYPE): Likewise.
4159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4161 * sysdeps/mach/hurd/bits/typesizes.h
4162 (__SYSCALL_SLONG_TYPE): New macro.
4163 (__SYSCALL_ULONG_TYPE): Likewise.
4165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4167 * bits/types.h (__syscall_slong_t): New type.
4168 (__syscall_ulong_t): Likewise.
4170 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4171 (__SYSCALL_ULONG_TYPE): Likewise.
4172 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4173 (__SYSCALL_SLONG_TYPE): Likewise.
4174 (__SYSCALL_ULONG_TYPE): Likewise.
4175 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4176 (__SYSCALL_SLONG_TYPE): Likewise.
4177 (__SYSCALL_ULONG_TYPE): Likewise.
4178 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4179 (__SYSCALL_SLONG_TYPE): Likewise.
4180 (__SYSCALL_ULONG_TYPE): Likewise.
4182 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4184 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4185 Add sigaltstack-offsets.sym.
4186 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4187 <sigaltstack-offsets.h>.
4188 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4189 longjmp_msg pointer.
4190 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4191 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4193 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4195 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4197 * elf/stackguard-macros.h: Remove file.
4198 * sysdeps/generic/stackguard-macros.h: New file.
4199 * sysdeps/i386/stackguard-macros.h: Likewise.
4200 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4201 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4202 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4203 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4204 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4205 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4206 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4207 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4208 <elf/stackguard-macros.h>.
4211 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4212 __aligned__ in attribute.
4213 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4214 (gregset_t): Likewise.
4216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4218 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4219 * sysdeps/x86_64/64/Implies-after: Here. New file.
4220 * sysdeps/x86_64/x32/Implies-after: New file.
4222 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4224 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4225 and access return value for _dl_profile_fixup. Use R10_LP to
4228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4230 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4232 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4234 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4235 * sysdeps/x86_64/x32/sysdep.h: New file.
4237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4239 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4240 * sysdeps/x86_64/setjmp.S: Likewise.
4242 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4244 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4245 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4246 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4247 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4248 remove unused global constant.
4250 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4252 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4253 include of <not-cancel.h>.
4255 2012-05-15 Roland McGrath <roland@hack.frob.com>
4257 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4259 2012-05-15 Jeff Law <law@redhat.com>
4260 Andreas Jaeger <aj@suse.de>
4263 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4265 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4266 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4267 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4268 code changing __hst_map_handle.map.
4270 2012-05-15 Roland McGrath <roland@hack.frob.com>
4272 * configure.in (sysnames): Look for Implies-before and Implies-after
4274 * configure: Regenerated.
4276 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4278 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4279 8-byte data alignment with LP_SIZE alignment.
4281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4283 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4286 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4288 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4292 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4293 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4294 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4296 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4300 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4301 (stackinfo_sub_sp): Likewise.
4303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4305 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4310 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4315 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4320 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4324 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4325 into R11_LP and load __x86_64_shared_cache_size_half into
4328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4330 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4333 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4341 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4342 powerpc32/power7/fpu/s_logb.c via #include.
4343 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4344 powerpc32/power7/fpu/s_logbf.c via #include.
4345 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4346 powerpc32/power7/fpu/s_logbl.c via #include.
4348 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4350 * README.libm: Remove file.
4352 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4354 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4355 count for x32. Use R*_LP and omit operand-size suffix.
4357 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4359 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4360 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4361 * sysdeps/x86_64/x32/shlib-versions: New file.
4363 2012-05-14 Roland McGrath <roland@hack.frob.com>
4365 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4366 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4367 Use _dl_fatal_printf instead.
4369 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4371 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4372 set if not set by the user. Do not allow for being unset.
4373 * sysdeps/unix/sysv/linux/configure: Regenerated.
4375 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4377 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4378 the `q' suffix from lea and replace .quad with ASM_ADDR.
4380 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4383 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4385 (PTR_DEMANGLE): Likewise.
4387 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4389 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4391 (ASM_ADDR): Likewise.
4409 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4411 * sysdeps/x86_64/x32/dl-machine.h: New file.
4413 2012-05-14 Andreas Jaeger <aj@suse.de>
4415 * manual/Makefile (subdir): Remove export of subdir.
4416 (all): Remove target.
4417 (.PHONY): Remove all from list.
4418 (mkinstalldirs): Remove.
4419 (.PHONY): Remove installdirs from list.
4420 ($(inst_infodir)/libc.info): Use make-target-directory.
4421 (installdirs): Remove.
4423 (glibc-targets): Remove.
4426 ($(objpfx)stubs ../po/manual.pot): Remove.
4427 ($(objpfx)stamp%): Remove.
4428 (make-target-directory): Remove.
4429 (subdir_install): Remove.
4437 * manual/.gitignore: Remove, it's not needed anymore.
4438 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4440 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4442 (texis): Renamed to $(objpfx)texis.
4443 (texis-path): New, contains path to generated files.
4444 (chapters.%): Use texis-path for complete path, add extra argument
4446 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4447 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4448 (summary,texi, stamp-summary): Use complete path of
4449 files. Generate files in build dir.
4450 (dir-add.texi): Build in build dir.
4451 (libm-err.texi,stamp-libm-err): Likewise.
4452 (version.texi, stamp-version): Likewise.
4453 (.%c.texi): Likewise.
4454 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4455 (mostlyclean): Remove target.
4456 (realclean): Remove target.
4457 (generated): Add new variable with contents from mostlyclean and
4458 realclean, remove entries duplicated in common-mostlyclean, add
4459 stamp-libm-err and stamp-version.
4460 (generated-dirs): Add libc directory.
4461 ($(inst_infodir)/libc.info): Install files from build dir.
4463 * manual/install.texi (Configuring and compiling): Adjust since
4464 the info files are not part of the tar ball anymore.
4466 2012-05-14 Andreas Jaeger <aj@suse.de>
4468 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4471 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4474 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4475 to 2.2.0 where earlier.
4476 * sysdeps/unix/sysv/linux/configure: Regenerated.
4477 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4478 Remove conditional code.
4479 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4480 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4481 Remove conditional code.
4482 [!__NR_lchown]: Likewise.
4483 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4484 [__NR_lchown]: Likewise.
4485 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4486 comment referencing __ASSUME_LCHOWN_SYSCALL.
4487 * sysdeps/unix/sysv/linux/i386/sigaction.c
4488 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4489 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4490 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4491 Remove conditional code.
4492 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4493 (__protocol_available): Remove #if 0 code.
4494 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4496 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4497 * sysdeps/unix/sysv/linux/kernel-features.h
4498 (__ASSUME_GETCWD_SYSCALL): Don't define.
4499 (__ASSUME_REALTIME_SIGNALS): Likewise.
4500 (__ASSUME_PREAD_SYSCALL): Likewise.
4501 (__ASSUME_PWRITE_SYSCALL): Likewise.
4502 (__ASSUME_POLL_SYSCALL): Likewise.
4503 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4504 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4506 (__ASSUME_SIOCGIFNAME): Don't define.
4507 (__ASSUME_MSG_NOSIGNAL): Likewise.
4508 (__ASSUME_SENDFILE): Define unconditionally.
4509 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4510 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4512 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4513 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4514 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4515 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4516 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4517 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4518 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4520 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4521 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4523 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4526 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4527 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4529 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4532 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4535 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4538 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4541 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4543 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4544 Remove conditional code.
4545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4546 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4547 Remove conditional code.
4548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4549 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4550 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4551 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4552 Remove conditional code.
4553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4554 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4555 Remove conditional code.
4556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4557 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4558 Remove conditional code.
4559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4560 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4561 Remove conditional code.
4562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4563 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4564 Remove conditional code.
4565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4566 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4567 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4569 * sysdeps/unix/sysv/linux/sigaction.c
4570 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4571 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4572 * sysdeps/unix/sysv/linux/sigpending.c
4573 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4574 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4575 * sysdeps/unix/sysv/linux/sigprocmask.c
4576 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4577 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4578 * sysdeps/unix/sysv/linux/sigsuspend.c
4579 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4580 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4581 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4582 (__libc_missing_rt_sigs): Remove.
4583 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4584 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4585 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4586 Remove conditional code.
4587 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4588 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4590 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4591 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4592 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4593 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4595 2012-05-14 Andreas Jaeger <aj@suse.de>
4597 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4598 it's not used in glibc.
4599 (__coshm1): Likewise.
4600 (__acosh1p): Likewise.
4603 * manual/string.texi (Copying and Concatenation): Add missing
4604 variable in concat example.
4605 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4607 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4610 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4611 __builtin_clzl with __builtin_clzll.
4613 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4616 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4619 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4621 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4622 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4623 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4624 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4626 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4628 * NEWS: Update ia64 info.
4630 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4632 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4635 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4637 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4638 * sysdeps/unix/syscalls.list (dup3): Likewise.
4639 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4640 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4642 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4644 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4645 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4647 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4649 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4651 (TLS_IE): Use mov/add instead of movq/addq to load thread
4653 (TLS_GD_PREFIX): New.
4656 2012-05-11 David S. Miller <davem@davemloft.net>
4658 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4659 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4660 (_FPU_SETCW): Likewise.
4662 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4664 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4667 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4670 * iconvdata/gb18030.c: Update tables.
4671 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4672 characters specially.
4673 (BODY for TO_LOOP): Add encoding of missing ranges.
4675 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4678 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4679 * sysdeps/mach/hurd/dup3.c: Likewise.
4680 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4681 * sysdeps/powerpc/memmove.c:: Likewise.
4683 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4685 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4686 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4688 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4690 * elf/elf.h (R_X86_64_RELATIVE64): New.
4691 (R_X86_64_NUM): Updated.
4692 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4693 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4694 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4695 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4696 tst-quad1pie tst-quad2pie
4697 (modules-names): Add tst-quadmod1 tst-quadmod2.
4698 ($(objpfx)tst-quad1): New dependency.
4699 ($(objpfx)tst-quad2): Likewise.
4700 ($(objpfx)tst-quad1pie): Likewise.
4701 ($(objpfx)tst-quad2pie): Likewise.
4702 * sysdeps/x86_64/tst-quad1.c: New file.
4703 * sysdeps/x86_64/tst-quad1pie.c: New file.
4704 * sysdeps/x86_64/tst-quad2.c: Likewise.
4705 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4706 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4707 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4708 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4709 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4711 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4713 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4714 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4715 * streams/stropts.h (t_scalar_t): Define type.
4717 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4718 (_PATH_PRESERVE): Set to "/var/lib".
4719 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4721 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4724 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4725 if __dir_mkfile succeeded.
4727 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4728 checking for _hurd_dtablesize. Unlock it right after having
4729 finished _hurd_dtable allocation.
4731 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4733 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4734 * sysdeps/mach/hurd/configure: Regenerated.
4735 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4736 special-casing to...
4737 * sysdeps/gnu/configure.in: ... this new file.
4738 * sysdeps/unix/sysv/linux/configure: Regenerated.
4739 * sysdeps/gnu/configure: New generated file.
4741 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4742 for Linux: use nsec instead of usec, as well as:
4743 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4744 members of type struct timespec.
4745 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4747 (struct stat64): Likewise.
4748 (_STATBUF_ST_NSEC): New macro.
4749 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4751 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4752 __strtoul_internal rather than strtoul.
4754 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4756 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4759 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4761 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4762 which preserves existing values.
4763 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4765 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4767 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4768 TIMEOUT values. Return EINVAL for NFDS values either negative or
4769 greater than FD_SETSIZE.
4771 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4773 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4774 allocated, call __vm_protect to finish enabling the existing space, and
4775 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4776 allocate the remainder.
4778 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4780 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4781 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4783 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4785 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4786 sysdeps/mach/hurd/readlink.c.
4788 * posix/tst-sysconf.c (posix_options): Only use
4789 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4790 _POSIX_SYNCHRONIZED_IO when they are defined
4791 * sysdeps/mach/hurd/bits/posix_opt.h:
4792 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4793 (_XOPEN_REALTIME): Undefine macro.
4794 (_XOPEN_REALTIME_THREADS): Undefine macro.
4795 (_XOPEN_SHM): Undefine macro.
4796 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4798 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4800 (_POSIX_ASYNC_IO): Undefine macro.
4801 (_POSIX_PRIORITIZED_IO): Undefine macro.
4802 (_POSIX_SPIN_LOCKS): Define macro to -1.
4804 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4805 SA_NODEFER, SA_RESETHAND.
4806 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4807 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4810 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4812 * elf/Makefile (pldd-modules): Define unconditionally.
4814 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4816 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4818 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4820 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4821 Return ENOENT when name is empty.
4822 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4824 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4826 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4828 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4830 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4832 Fix mlock in all cases except non-readable pages.
4833 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4834 instead of VM_PROT_ALL as parameter to __vm_wire function.
4836 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4837 (__mkdir): When path is `/', just fail with EEXIST.
4838 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4840 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4842 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4843 <sys/uio.h> (for writev).
4844 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4845 and <sys/param.h> (for MIN).
4847 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4849 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4850 REQUESTED_TIME. Properly set the remaining time and return EINTR
4853 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4855 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4856 Depend on against $(link-rpcuserlibs).
4858 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4860 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4861 (__libc_stack_end): Do not use attribute_relro.
4862 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4863 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4864 to libthread-provided value.
4865 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4868 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4871 * bits/libc-lock.h (__libc_once_get): New macro.
4872 * sysdeps/mach/bits/libc-lock.h: Likewise.
4873 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4874 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4875 instead of using implementation details.
4877 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4878 * libio/freopen.c: Likewise.
4879 * libio/freopen64.c: Likewise.
4880 * misc/syslog.c: Likewise.
4881 * nscd/connections.c: Likewise.
4882 * nscd/netgroupcache.c: Likewise.
4883 * sysdeps/posix/getcwd.c: Likewise.
4885 2012-05-10 Roland McGrath <roland@hack.frob.com>
4887 * math/w_ilogbf.c: Add #include <limits.h>.
4889 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4891 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4892 path instead of returning without unlocking.
4894 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4895 immediate-write ioctls.
4896 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4898 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4900 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4901 __builtin_frame_address instead of making assumptions about the
4902 location of the return address relative to DATA. Force early load of
4904 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4905 __builtin_frame_address.
4908 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4909 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4910 implement dup3 and do some further code clean-ups.
4911 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4912 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4914 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4916 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4918 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4919 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4920 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4921 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4922 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4925 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4926 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4927 when handler == SIG_ERR, not when handler != SIG_ERR.
4929 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4931 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4932 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4935 accept4 for GNU Hurd.
4936 * include/sys/socket.h (__libc_accept4): New prototype.
4937 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4938 to implement __libc_accept4.
4939 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4941 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4943 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4944 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4945 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4948 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4950 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4952 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4954 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4955 assertion on O_CLOEXEC flag.
4956 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4957 * hurd/intern-fd.c: Likewise.
4958 * hurd/port2fd.c: Likewise.
4960 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4963 * bits/in.h (IPV6_PKTINFO): Define new macro.
4964 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4966 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4971 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4972 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4973 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4974 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4975 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4976 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4977 * math/libm-test.inc (logb_test) : Additional logb tests.
4979 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4980 Andreas Jaeger <aj@suse.de>
4982 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4983 * configure: Regenerated.
4984 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4985 * config.make.in (link-obsolete-rpc): New substituted variable.
4986 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4987 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4988 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4989 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4990 so that libc.a contains the symbols.
4991 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4992 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4993 * sunrpc/auth_none.c: Likewise.
4994 * sunrpc/auth_unix.c: Likewise.
4995 * sunrpc/authdes_prot.c: Likewise.
4996 * sunrpc/authuxprot.c: Likewise.
4997 * sunrpc/clnt_gen.c: Likewise.
4998 * sunrpc/clnt_perr.c: Likewise.
4999 * sunrpc/clnt_raw.c: Likewise.
5000 * sunrpc/clnt_simp.c: Likewise.
5001 * sunrpc/clnt_tcp.c: Likewise.
5002 * sunrpc/clnt_udp.c: Likewise.
5003 * sunrpc/clnt_unix.c: Likewise.
5004 * sunrpc/des_crypt.c: Likewise.
5005 * sunrpc/des_soft.c: Likewise.
5006 * sunrpc/get_myaddr.c: Likewise.
5007 * sunrpc/key_call.c: Likewise.
5008 * sunrpc/key_prot.c: Likewise.
5009 * sunrpc/netname.c: Likewise.
5010 * sunrpc/pm_getmaps.c: Likewise.
5011 * sunrpc/pm_getport.c: Likewise.
5012 * sunrpc/pmap_clnt.c: Likewise.
5013 * sunrpc/pmap_prot.c: Likewise.
5014 * sunrpc/pmap_prot2.c: Likewise.
5015 * sunrpc/pmap_rmt.c: Likewise.
5016 * sunrpc/publickey.c: Likewise.
5017 * sunrpc/rpc_cmsg.c: Likewise.
5018 * sunrpc/rpc_common.c: Likewise.
5019 * sunrpc/rpc_dtable.c: Likewise.
5020 * sunrpc/rpc_prot.c: Likewise.
5021 * sunrpc/rpc_thread.c: Likewise.
5022 * sunrpc/rtime.c: Likewise.
5023 * sunrpc/svc.c: Likewise.
5024 * sunrpc/svc_auth.c: Likewise.
5025 * sunrpc/svc_raw.c: Likewise.
5026 * sunrpc/svc_run.c: Likewise.
5027 * sunrpc/svc_tcp.c: Likewise.
5028 * sunrpc/svc_udp.c: Likewise.
5029 * sunrpc/svc_unix.c: Likewise.
5030 * sunrpc/svcauth_des.c: Likewise.
5031 * sunrpc/xcrypt.c: Likewise.
5032 * sunrpc/xdr.c: Likewise.
5033 * sunrpc/xdr_array.c: Likewise.
5034 * sunrpc/xdr_float.c: Likewise.
5035 * sunrpc/xdr_intXX_t.c: Likewise.
5036 * sunrpc/xdr_mem.c: Likewise.
5037 * sunrpc/xdr_rec.c: Likewise.
5038 * sunrpc/xdr_ref.c: Likewise.
5039 * sunrpc/xdr_sizeof.c: Likewise.
5040 * sunrpc/xdr_stdio.c: Likewise.
5042 2012-05-10 Roland McGrath <roland@hack.frob.com>
5044 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5045 change. Update copyright years.
5047 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5049 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5051 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5052 Joseph Myers <joseph@codesourcery.com>
5053 Paul Pluzhnikov <ppluzhnikov@google.com>
5056 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5058 [cross-compiling] (extra-libs): Likewise.
5059 [cross-compiling] (extra-libs-others): Likewise.
5060 [cross-compiling] (librpcsvc-routines): Likewise.
5061 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5062 [cross-compiling] (omit-deps): Likewise.
5063 (sunrpc-CPPFLAGS): New variable.
5064 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5065 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5066 (cross-rpcgen-objs): New variable.
5067 (extra-objs): Append $(cross-rpcgen-objs).
5068 ($(cross-rpcgen-objs)): New rule.
5069 ($(objpfx)cross-rpcgen): Likewise.
5070 (rpcgen-cmd): Define to use $(built-program-file). Expand
5072 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5073 ($(objpfx)x%.stmp): Likewise.
5074 * sunrpc/proto.h [IS_IN_build] (_): Define.
5075 [IS_IN_build] (_libc_intl_domainname): Likewise.
5077 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5079 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5080 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5081 and R_X86_64_TPOFF64.
5083 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5085 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5086 sysdeps/unix/sysv/syscalls.list.
5089 * sysdeps/unix/sysv/syscalls.list: Remove file.
5091 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5094 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5095 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5096 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5097 (__LC_IDENTIFICATION): Make these macros useful in #if
5098 expressions, as required by C99.
5100 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5102 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5103 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5106 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5108 * stdlib/longlong.h: Updated from GCC.
5110 2012-05-09 Andreas Jaeger <aj@suse.de>
5112 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5113 default is first entry.
5114 (run_mode): Set type.
5115 (main): Remove informal message about syslog.
5116 (options): Fix typo.
5119 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5122 (llrintf): Likewise.
5126 (nearbyint): Likewise.
5127 (nearbyintf): Likewise.
5129 2012-05-09 Andreas Jaeger <aj@suse.de>
5130 Pedro Alves <palves@redhat.com>
5132 * nscd/nscd.c (run_mode): Use enum.
5133 (main): Cleanup coding style issue.
5135 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5136 Andreas Jaeger <aj@suse.de>
5138 * nscd/nscd.c (go_background): Replaced with...
5139 (run_mode): ... this.
5140 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5141 (options): Add -F --foreground.
5142 (main): Implement it.
5143 (parse_opt): Parse it.
5145 2012-05-09 Andreas Jaeger <aj@suse.de>
5148 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5149 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5150 -Wconversion warning.
5151 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5154 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5156 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5158 (LC_ALL): Use macro-int-constant.
5159 (LC_COLLATE): Likewise.
5160 (LC_CTYPE): Likewise.
5161 (LC_MESSAGES): Likewise.
5162 (LC_MONETARY): Likewise.
5163 (LC_NUMERIC): Likewise.
5164 (LC_TIME): Likewise.
5165 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5166 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5168 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5170 [C99-based standards] (float_t): Expect type.
5171 [C99-based standards] (double_t): Expect type.
5172 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5174 [C99-based standards] (HUGE_VALL): Likewise.
5175 [C99-based standards] (INFINITY): Likewise.
5176 [C99-based standards] (NAN): Likewise.
5177 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5178 [C99-based standards] (FP_NAN): Likewise.
5179 [C99-based standards] (FP_NORMAL): Likewise.
5180 [C99-based standards] (FP_SUBNORMAL): Likewise.
5181 [C99-based standards] (FP_ZERO): Likewise.
5182 [C99-based standards] (FP_FAST_FMA): Use
5183 optional-macro-int-constant. Specify type. Require == 1.
5184 [C99-based standards] (FP_FAST_FMAF): Likewise.
5185 [C99-based standards] (FP_FAST_FMAL): Likewise.
5186 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5187 [C99-based standards] (FP_ILOGBNAN): Likewise.
5188 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5190 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5191 [C99-based standards] (math_errhandling): Specify type.
5192 [ISO99 || ISO11] (signgam): Do not allow.
5193 [non-C99-based standards] (copysignf): Do not allow.
5194 [non-C99-based standards] (exp2f): Likewise.
5195 [non-C99-based standards] (log2f): Likewise.
5196 [non-C99-based standards] (modff): Allow.
5197 [non-C99-based standards] (erff): Do not allow.
5198 [non-C99-based standards] (erfcf): Likewise.
5199 [non-C99-based standards] (gammaf): Likewise.
5200 [non-C99-based standards] (hypotf): Likewise.
5201 [non-C99-based standards] (j0f): Likewise.
5202 [non-C99-based standards] (j1f): Likewise.
5203 [non-C99-based standards] (jnf): Likewise.
5204 [non-C99-based standards] (lgammaf): Likewise.
5205 [non-C99-based standards] (tgammaf): Likewise.
5206 [non-C99-based standards] (y0f): Likewise.
5207 [non-C99-based standards] (y1f): Likewise.
5208 [non-C99-based standards] (ynf): Likewise.
5209 [non-C99-based standards] (isnanf): Likewise.
5210 [non-C99-based standards] (acoshf): Likewise.
5211 [non-C99-based standards] (asinhf): Likewise.
5212 [non-C99-based standards] (atanhf): Likewise.
5213 [non-C99-based standards] (cbrtf): Likewise.
5214 [non-C99-based standards] (expm1f): Likewise.
5215 [non-C99-based standards] (ilogbf): Likewise.
5216 [non-C99-based standards] (log1pf): Likewise.
5217 [non-C99-based standards] (logbf): Likewise.
5218 [non-C99-based standards] (nextafterf): Likewise.
5219 [non-C99-based standards] (remainderf): Likewise.
5220 [non-C99-based standards] (rintf): Likewise.
5221 [non-C99-based standards] (scalbf): Likewise.
5222 [non-C99-based standards] (copysignl): Likewise.
5223 [non-C99-based standards] (exp2l): Likewise.
5224 [non-C99-based standards] (log2l): Likewise.
5225 [non-C99-based standards] (modfl): Allow.
5226 [non-C99-based standards] (erfl): Do not allow.
5227 [non-C99-based standards] (erfcl): Likewise.
5228 [non-C99-based standards] (gammal): Likewise.
5229 [non-C99-based standards] (hypotl): Likewise.
5230 [non-C99-based standards] (j0l): Likewise.
5231 [non-C99-based standards] (j1l): Likewise.
5232 [non-C99-based standards] (jnl): Likewise.
5233 [non-C99-based standards] (lgammal): Likewise.
5234 [non-C99-based standards] (tgammal): Likewise.
5235 [non-C99-based standards] (y0l): Likewise.
5236 [non-C99-based standards] (y1l): Likewise.
5237 [non-C99-based standards] (ynl): Likewise.
5238 [non-C99-based standards] (isnanl): Likewise.
5239 [non-C99-based standards] (acoshl): Likewise.
5240 [non-C99-based standards] (asinhl): Likewise.
5241 [non-C99-based standards] (atanhl): Likewise.
5242 [non-C99-based standards] (cbrtl): Likewise.
5243 [non-C99-based standards] (expm1l): Likewise.
5244 [non-C99-based standards] (ilogbl): Likewise.
5245 [non-C99-based standards] (log1pl): Likewise.
5246 [non-C99-based standards] (logbl): Likewise.
5247 [non-C99-based standards] (nextafterl): Likewise.
5248 [non-C99-based standards] (remainderl): Likewise.
5249 [non-C99-based standards] (rintl): Likewise.
5250 [non-C99-based standards] (scalbl): Likewise.
5251 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5252 [non-C99-based standards] (FP_*): Do not allow.
5253 [C99-based standards] (FP_*): Change to
5254 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5255 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5257 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5258 (SIG_ERR): Likewise.
5259 [X/Open-based standards] (SIG_HOLD): Likewise.
5260 (SIG_IGN): Likewise.
5261 (SIGABRT): Use macro-int-constant. Specify type. Require
5266 (SIGSEGV): Likewise.
5268 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5269 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5270 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5271 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5272 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5273 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5274 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5275 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5276 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5277 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5278 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5279 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5280 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5281 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5282 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5283 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5284 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5285 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5286 [X/Open-based standards] (SIGTRAP): Likewise.
5287 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5288 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5289 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5290 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5291 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5294 2012-05-08 Ian Wienand <ianw@vmware.com>
5297 * time/tzset.c (__tzset_parse_tz): Update default rules for
5298 daylight time changes in the Energy Policy Act of 2005.
5300 2012-05-09 Andreas Jaeger <aj@suse.de>
5303 * elf/ldconfig.c (parse_conf): Change string to make clear that
5304 ldconfig only issued a warning if ld.so.conf does not exist.
5306 2012-05-08 David S. Miller <davem@davemloft.net>
5308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5309 movxtod instead of popping the value on the stack.
5311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5313 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5315 * config.h.in: Add HAVE_ARM_PCS_VFP.
5317 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5320 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5321 checking but the checks are disabled for any reason.
5323 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5325 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5326 and ELF64_R_TYPE with ELFW(R_TYPE).
5328 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5330 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5333 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5334 (settimeofday): Likewise.
5336 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5338 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5339 a struct th_u2 inside the union, and move tu_block/tu_code into
5340 a new th_u3 union of tu_block/tu_code inside of that. Move
5341 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5342 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5343 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5344 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5345 (th_stuff): Change to th_u1.tu_stuff.
5347 (th_msg): Change to th_u1.th_u2.tu_data.
5349 2012-05-07 David S. Miller <davem@davemloft.net>
5351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5354 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5355 (SETUP_PIC_REG): Use it.
5356 (SETUP_PIC_REG_LEAF): Use it.
5358 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5362 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5364 (EXPL_FINITE): Likewise.
5366 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5367 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5369 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5371 (EXPL_FINITE): Likewise.
5373 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5374 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5376 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5377 test of -max_value argument for long double.
5378 * sysdeps/i386/fpu/libm-test-ulps: Update.
5379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5381 2012-05-06 David S. Miller <davem@davemloft.net>
5383 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5384 quad soft-float symbols whose references which are compiler
5386 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5388 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5392 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5394 (EXPL_FINITE): Likewise.
5398 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5399 Adjust comments for base varying.
5400 (__expl_finite): Change alias to EXPL_FINITE.
5401 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5403 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5404 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5406 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5407 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5409 (EXPL_FINITE): Likewise.
5413 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5414 Adjust comments for base varying.
5415 (__expl_finite): Change alias to EXPL_FINITE.
5416 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5421 * math/libm-test.inc (check_float_internal): Correct ulp
5422 calculation for subnormal expected results.
5424 2012-05-06 Andreas Jaeger <aj@suse.de>
5426 * Makeconfig (+math-flags): New, set to -frounding-math.
5427 (+cflags): Add +math-flags so that all of glibc gets compiled with
5430 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5432 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5434 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5440 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5441 (__ieee754_expl): Allow for and saturate large arguments.
5442 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5443 (u_threshold): Likewise.
5444 (__exp): Call __ieee754_exp before checking for overflow and
5446 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5447 (u_threshold): Likewise.
5448 (__expf): Call __ieee754_expf before checking for overflow and
5450 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5451 (u_threshold): Likewise.
5452 (__expl): Call __ieee754_expl before checking for overflow and
5454 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5455 (__ieee754_expl): Allow for and saturate large arguments.
5456 * math/libm-test.inc (exp_test): Add another test. Do not allow
5457 missing overflow exception on overflow.
5458 (expm1_test): Do not allow missing overflow exception on overflow.
5460 * sysdeps/i386/fpu/e_expl.c: Move to ...
5461 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5462 rather than using inline asm.
5463 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5464 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5465 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5467 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5474 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5476 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5477 sysdeps/unix/common/syscalls.list.
5480 (ftruncate): Likewise.
5481 (getrusage): Likewise.
5482 (gettimeofday): Likewise.
5483 (setpgid): Likewise.
5484 (setregid): Likewise.
5485 (setreuid): Likewise.
5486 (sigaction): Likewise.
5487 (truncate): Likewise.
5488 (vhangup): Likewise.
5489 * sysdeps/unix/common/syscalls.list: Remove file.
5490 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5491 * sysdeps/unix/sysv/linux/Implies: Likewise.
5493 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5495 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5497 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5501 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5504 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5507 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5510 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5513 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5516 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5519 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5523 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5527 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5530 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5534 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5538 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5540 * sysdeps/unix/common/bits/dirent.h: Remove file.
5541 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5543 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5544 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5545 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5546 * sysdeps/unix/bsd/isatty.c: Likewise.
5547 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5548 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5549 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5551 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5554 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5555 long double comparison inaccuracies.
5556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5559 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5561 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5562 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5564 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5567 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5568 nonzero digits before rounding a hex value.
5569 * stdlib/tst-strtod.c (tests): Add another test.
5571 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5573 * sysdeps/s390/fpu/libm-test-ulps: Update.
5575 2012-05-03 Andreas Jaeger <aj@suse.de>
5577 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5578 does not get optimized out.
5579 (malloc_opt_barrier): New.
5581 2012-05-03 Andreas Jaeger <aj@suse.de>
5582 Roland McGrath <roland@hack.frob.com>
5584 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5585 intermediate file deletion.
5586 (generated): Add .symlist files.
5588 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5591 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5592 Redirect under this condition.
5593 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5594 [__USE_GNU] (__dprintf_chk): Not under this condition.
5595 [__USE_GNU] (__vdprintf_chk): Likewise.
5596 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5597 under this condition.
5598 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5599 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5600 [__USE_XOPEN2K8] (vdprintf): Likewise.
5601 [__USE_GNU] (__dprintf_chk): Not under this condition.
5602 [__USE_GNU] (__vdprintf_chk): Likewise.
5603 [__USE_GNU] (dprintf): Likewise.
5604 [__USE_GNU] (vdprintf): Likewise.
5606 2012-05-03 Roland McGrath <roland@hack.frob.com>
5608 * elf/Makefile (common-generated): Set this instead of generated for
5609 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5610 $(all-built-dso)-derived lists.
5612 2012-05-03 Andreas Jaeger <aj@suse.de>
5614 * sysdeps/i386/fpu/libm-test-ulps: Update.
5618 * scripts/gen-FAQ.pl: Likewise.
5619 * manual/install.texi (Installation): Point to online location of
5621 * Makefile (files-for-dist): Remove FAQ.
5624 2012-05-02 Allan McRae <allan@archlinux.org>
5626 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5627 (LDFLAGS-reldepmod5.so): Likewise.
5628 (LDFLAGS-reldep6mod1.so): Likewise.
5629 (LDFLAGS-reldep6mod4.so): Likewise.
5630 (LDFLAGS-reldep8mod3.so): Likewise.
5631 (LDFLAGS-unload4mod1.so): Likewise.
5632 (LDFLAGS-unload4mod2.so): Likewise.
5633 (LDFLAGS-tst-initorder): Likewise.
5634 (LDFLAGS-tst-initordera2.so): Likewise.
5635 (LDFLAGS-tst-initordera3.so): Likewise.
5636 (LDFLAGS-tst-initordera4.so): Likewise.
5637 (LDFLAGS-tst-initorderb2.so): Likewise.
5638 (LDFLAGS-noload): Likewise.
5639 (LDFLAGS-next): Likewise.
5640 (LDFLAGS-order2mod1.so): Likewise.
5641 (LDFLAGS-order2mod2.so): Likewise.
5642 (LDFLAGS-tst-initorder2): Likewise.
5643 (LDFLAGS-tst-initorder2a.so): Likewise.
5644 (LDFLAGS-tst-initorder2b.so): Likewise.
5645 (LDFLAGS-tst-initorder2c.so): Likewise.
5646 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5648 2012-05-02 David S. Miller <davem@davemloft.net>
5650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5652 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5655 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5657 2012-05-02 Andreas Jaeger <aj@suse.de>
5659 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5660 since we manipulate rounding mode.
5661 (CPPFLAGS-test-idouble.c): Likewise.
5662 (CPPFLAGS-test-ifloat.c): Likewise.
5663 (CFLAGS-test-ldouble.c): Likewise.
5664 (CFLAGS-test-double.c): Likewise.
5665 (CFLAGS-test-float.c): Likewise.
5666 (CFLAGS-test-misc.c): Likewise.
5667 (CFLAGS-test-test-fenv.c): Likewise.
5669 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5673 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5674 comparisons to determine direction to adjust input.
5676 2012-05-01 Roland McGrath <roland@hack.frob.com>
5678 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5679 output to the target.
5681 * scripts/localplt.awk: New file.
5682 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5683 (check-localplt-CFLAGS): Variable removed.
5684 ($(all-built-dso:=.jmprel)): New static pattern rule.
5685 (generated): Add those targets.
5686 (localplt-built-dso): New variable.
5687 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5689 * elf/check-localplt.c: File removed.
5691 * scripts/check-execstack.awk: New file.
5692 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5693 (check-execstack-CFLAGS): Variable removed.
5694 ($(objpfx)check-execstack.h): Target removed.
5695 ($(objpfx)execstack-default): New target.
5696 (generated): Add that instead of check-execstack.h.
5697 ($(all-built-dso:=.phdr)): New static pattern rule.
5698 (generated): Add those targets.
5699 * elf/check-execstack.c: File removed.
5701 * scripts/check-textrel.awk: New file.
5702 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5703 (check-textrel-CFLAGS): Variable removed.
5704 (all-built-dso): Use := to define.o
5705 ($(all-built-dso:=.dyn)): New static pattern rule.
5706 (generated): Add those targets.
5707 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5708 * config.make.in (READELF): New substituted variable.
5709 * elf/check-textrel.c: File removed.
5711 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5713 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5715 * conform/data/ctype.h-data [C99-based standards] (isblank):
5717 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5718 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5719 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5720 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5721 Specify type. Require positive value.
5724 [ISO || POSIX] (EILSEQ): Do not expect.
5725 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5726 Specify type. Require positive value.
5727 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5728 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5729 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5730 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5731 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5732 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5734 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5735 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5736 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5737 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5738 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5739 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5740 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5741 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5742 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5743 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5744 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5745 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5746 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5747 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5748 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5749 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5750 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5751 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5752 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5753 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5754 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5755 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5756 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5757 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5758 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5759 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5760 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5761 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5762 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5763 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5764 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5765 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5766 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5767 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5768 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5769 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5770 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5771 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5772 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5773 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5774 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5775 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5776 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5777 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5778 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5779 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5780 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5781 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5782 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5783 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5784 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5785 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5786 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5787 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5788 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5789 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5790 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5791 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5792 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5793 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5794 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5795 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5796 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5797 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5798 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5799 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5800 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5801 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5802 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5803 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5805 (FLT_ROUNDS): Expect as macro, not constant.
5806 (FLT_MANT_DIG): Use macro-int-constant.
5807 (DBL_MANT_DIG): Likewise.
5808 (LDBL_MANT_DIG): Likewise.
5809 (FLT_DIG): Likewise.
5810 (DBL_DIG): Likewise.
5811 (LDBL_DIG): Likewise.
5812 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5813 (DBL_MIN_EXP): Likewise.
5814 (LDBL_MIN_EXP): Likewise.
5815 (FLT_MAX_EXP): Use macro-int-constant.
5816 (DBL_MAX_EXP): Likewise.
5817 (LDBL_MAX_EXP): Likewise.
5818 (FLT_MAX_10_EXP): Likewise.
5819 (DBL_MAX_10_EXP): Likewise.
5820 (LDBL_MAX_10_EXP): Likewise.
5821 (FLT_MAX): Use macro-constant.
5822 (DBL_MAX): Likewise.
5823 (LDBL_MAX): Likewise.
5824 (FLT_EPSILON): Use macro-constant. Give upper bound.
5825 (DBL_EPSILON): Likewise.
5826 (LDBL_EPSILON): Likewise.
5827 (FLT_MIN): Likewise.
5828 (DBL_MIN): Likewise.
5829 (LDBL_MIN): Likewise.
5830 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5831 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5832 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5833 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5834 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5835 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5836 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5837 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5838 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5839 [ISO11] (FLT_TRUE_MIN): Likewise.
5840 [ISO11] (LDBL_TRUE_MIN): Likewise.
5841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5842 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5843 (SCHAR_MIN): Use macro-int-constant. Specify type.
5844 (SCHAR_MAX): Likewise.
5845 (UCHAR_MAX): Likewise.
5846 (CHAR_MIN): Likewise.
5847 (CHAR_MAX): Likewise.
5848 (MB_LEN_MAX): Use macro-int-constant.
5849 (SHRT_MIN): Use macro-int-constant. Specify type.
5850 (SHRT_MAX): Likewise.
5851 (USHRT_MAX): Likewise.
5852 (INT_MAX): Likewise.
5853 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5855 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5857 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5859 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5860 bound negative. Suffix upper bound with "L".
5861 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5863 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5865 [C99-based standards] (LLONG_MAX): Likewise.
5866 [C99-based standards] (ULLONG_MAX): Likewise.
5867 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5869 [ISO11] (max_align_t): Require type.
5870 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5872 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5873 from $CFLAGS, without defining away __attribute__ calls.
5874 (checknamespace): Use $CFLAGS_namespace.
5876 * conform/conformtest.pl (@keywords): Only include C99 keywords
5877 for standards based on C99 or C11.
5879 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5881 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5884 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5885 usability of symbols in #if.
5887 * conform/conformtest.pl: If macro or constant types start
5888 "promoted:", expect the symbol to be of the following type
5889 promoted by the integer promotions.
5891 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5892 in one place. Also handle "macro-constant".
5894 * conform/conformtest.pl: Only accept expected macro values with
5895 "==". Parse all "macro" lines in one place.
5896 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5898 * conform/conformtest.pl: Handle braced types on "constant" lines
5899 instead of handling "typed-constant".
5900 * conform/data/signal.h-data: Use "constant" instead of
5903 * conform/conformtest.pl: Handle "optional-" at start of lines in
5904 one place rather than duplicating several cases. Handle each
5905 format of "macro" line with initial "optional-".
5907 * conform/conformtest.pl: Only accept expected constant or
5908 optional-constant values with "==". Parse all "constant" lines in
5909 one place. Parse all "optional-constant" lines in one place.
5910 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5911 * conform/data/fmtmsg.h-data: Likewise.
5912 * conform/data/netinet/in.h-data: Likewise.
5913 * conform/data/tar.h-data: Likewise.
5914 * conform/data/limits.h-data: Use "==" form on "constant" and
5915 "optional-constant" lines.
5917 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5918 Use -std=c99 for XOPEN2K.
5919 (@knownproblems): Remove.
5920 (newtoken): Don't check %isknown.
5922 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5923 Do not expect macro.
5924 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5925 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5926 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5927 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5928 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5929 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5930 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5931 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5932 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5933 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5934 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5935 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5936 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5937 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5938 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5939 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5940 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5941 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5942 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5943 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5944 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5945 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5946 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5947 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5948 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5949 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5950 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5951 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5952 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5953 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5954 [XPG3] (acosh): Likewise.
5955 [XPG3] (asinh): Likewise.
5956 [XPG3] (atanh): Likewise.
5957 [XPG3] (cbrt): Likewise.
5958 [XPG3] (expm1): Likewise.
5959 [XPG3] (ilogb): Likewise.
5960 [XPG3] (log1p): Likewise.
5961 [XPG3] (logb): Likewise.
5962 [XPG3] (nextafter): Likewise.
5963 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5964 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5965 [XPG3] (remainder): Likewise.
5966 [XPG3] (rint): Likewise.
5967 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5968 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5969 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5970 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5971 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5972 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5973 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5974 [UNIX98 || XOPEN2K] (scalb): Expect.
5975 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5976 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5977 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5978 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5979 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5980 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5981 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5982 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5983 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5984 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5985 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5986 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5987 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5988 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5989 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5990 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5991 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5992 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5993 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5994 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5995 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5996 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5997 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5998 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5999 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6000 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6001 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6002 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6003 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6004 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6005 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6006 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6007 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6008 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6009 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6010 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6011 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6012 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6013 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6014 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6015 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6016 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6017 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6018 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6019 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6020 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6021 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6022 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6023 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6024 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6025 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6026 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6027 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6028 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6029 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6030 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6031 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6032 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6033 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6034 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6035 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6036 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6037 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6038 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6039 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6040 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6041 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6042 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6043 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6044 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6045 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6046 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6047 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6048 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6049 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6050 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6051 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6052 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6053 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6054 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6055 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6056 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6057 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6058 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6059 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6060 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6061 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6062 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6063 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6064 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6065 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6066 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6067 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6068 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6069 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6070 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6071 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6072 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6073 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6074 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6075 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6076 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6077 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6078 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6079 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6080 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6081 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6082 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6083 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6084 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6085 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6086 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6087 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6088 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6089 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6090 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6091 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6092 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6093 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6094 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6095 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6096 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6097 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6098 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6099 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6100 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6101 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6102 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6103 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6104 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6105 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6106 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6107 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6108 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6109 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6110 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6111 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6113 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6114 _XOPEN_SOURCE_EXTENDED for XPG4.
6116 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6118 * Makeconfig (localtime): Remove variable.
6119 (inst_localtime-file): Likewise.
6121 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6142 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6146 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6147 comparisons to determine direction to adjust input.
6148 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6149 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6150 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6152 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6154 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6156 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6157 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6159 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6161 * math/libm-test.inc (nexttoward_test): Add more tests.
6163 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6166 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6167 in version GLIBC_2.1, not GLIBC_2.0.
6168 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6171 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6174 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6176 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6177 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6178 * math/libm-test.inc (acos_test): Add more tests.
6179 (asin_test): Likewise.
6180 * sysdeps/i386/fpu/libm-test-ulps: Update.
6181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6184 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6186 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6187 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6188 * math/libm-test.inc (acos_test_tonearest): New function.
6189 (acos_test_towardzero): Likewise.
6190 (acos_test_downward): Likewise.
6191 (acos_test_upward): Likewise.
6192 (asin_test_tonearest): Likewise.
6193 (asin_test_towardzero): Likewise.
6194 (asin_test_downward): Likewise.
6195 (asin_test_upward): Likewise.
6196 (main): Call the new functions.
6197 * sysdeps/i386/fpu/libm-test-ulps: Update.
6198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6202 * math/e_exp10.c: Include <float.h>.
6203 (__ieee754_exp10): Handle underflow here rather than multiplying
6204 large negative argument by M_LN10.
6205 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6207 * math/e_exp10l.c: Include <float.h>.
6208 (__ieee754_exp10l): Handle underflow here rather than multiplying
6209 large negative argument by M_LN10l.
6210 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6211 spurious overflow exception on underflow.
6213 2012-04-29 Marek Polacek <polacek@redhat.com>
6215 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6216 (__fortify_function): New macro.
6217 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6218 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6219 __extern_always_inline.
6220 * libio/bits/stdio2.h: Likewise.
6221 * libio/bits/stdio.h: Likewise.
6222 * string/string.h: Likewise.
6223 * string/bits/string3.h: Likewise.
6224 * include/stdio.h: Likewise.
6225 * stdlib/bits/stdlib.h: Likewise.
6226 * stdlib/stdlib.h: Likewise.
6227 * rt/bits/mqueue2.h: Likewise.
6228 * rt/mqueue.h: Likewise.
6229 * posix/bits/unistd.h: Likewise.
6230 * posix/unistd.h: Likewise.
6231 * io/bits/poll2.h: Likewise.
6232 * io/bits/fcntl2.h: Likewise.
6233 * io/fcntl.h: Likewise.
6234 * io/sys/poll.h: Likewise.
6235 * misc/bits/syslog.h: Likewise.
6236 * misc/bits/syslog-ldbl.h: Likewise.
6237 * misc/sys/syslog.h: Likewise.
6238 * socket/bits/socket2.h: Likewise.
6239 * socket/sys/socket.h: Likewise.
6240 * debug/tst-chk1.c: Likewise.
6241 * wcsmbs/bits/wchar2.h: Likewise.
6242 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6243 * wcsmbs/wchar.h: Likewise.
6245 2012-04-29 Andreas Jaeger <aj@suse.de>
6247 * Makerules (tests): Remove enable-check-abi protection.
6248 (check-abi-warn): Remove.
6249 (check-abi-%): Remove check-abi-warn usage.
6251 * configure.in: Remove check-abi configure option.
6252 * configure: Regenerated.
6253 * config.make.in (enable-check-abi): Remove.
6255 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6258 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6259 double functions to double *_finite functions.
6262 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6263 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6265 * stdio-common/Makefile (tests): Add tst-sprintf3.
6266 * stdio-common/tst-sprintf3.c: New file.
6268 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6269 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6271 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6273 * conform/conformtest.pl: Remove duplicate typed-constant
6276 2012-04-28 David S. Miller <davem@davemloft.net>
6278 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6279 (check-abi-%): Remove AWK script prerequisite and explicit
6281 (check-abi): Rewrite to just diff the symlist with the abilist.
6282 (config-tls, config-abi-config): Delete, no longer used.
6283 (update-abi-%): Remove AWK script and explicit abilist directory.
6284 (update-abi): Rewrite to simply compare and conditionally copy the
6285 symlist and the sysdep abilist file. Remove update-abi-config
6287 * abilist/ld.abilist: Remove.
6288 * abilist/libBrokenLocale.abilist: Remove.
6289 * abilist/libanl.abilist: Remove.
6290 * abilist/libcrypt.abilist: Remove.
6291 * abilist/libdl.abilist: Remove.
6292 * abilist/librt.abilist: Remove.
6293 * abilist/libthread_db.abilist: Remove.
6294 * abilist/libutil.abilist: Remove.
6295 * scripts/extract-abilist.awk: Remove.
6296 * scripts/merge-abilist.awk: Remove.
6297 * sysdeps/generic/libcidn.abilist: New file.
6298 * sysdeps/generic/libnss_compat.abilist: New file.
6299 * sysdeps/generic/libnss_db.abilist: New file.
6300 * sysdeps/generic/libnss_dns.abilist: New file.
6301 * sysdeps/generic/libnss_files.abilist: New file.
6302 * sysdeps/generic/libnss_hesiod.abilist: New file.
6303 * sysdeps/generic/libnss_nis.abilist: New file.
6304 * sysdeps/generic/libnss_nisplus.abilist: New file.
6305 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6306 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6307 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6309 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6310 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6311 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6312 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6313 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6314 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6315 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6316 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6317 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6319 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6320 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6321 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6322 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6324 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6325 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6326 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6327 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6328 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6329 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6331 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6332 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6333 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6335 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6438 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6439 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6440 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6442 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6443 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6444 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6445 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6446 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6447 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6448 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6449 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6450 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6451 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6503 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6505 * conform/conformtest.pl: Fix typo in handling typed-constant from
6508 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6510 * README: Cut down references to pre-2.6 Linux kernels and
6511 Linuxthreads. Update lists of configurations in libc and ports
6512 and sort alphabetically. Say "or newer" with Linux kernel version
6515 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6517 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6520 * math/libm-test.inc (logb_test_downward): New test to expose
6521 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6524 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6527 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6529 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6530 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6532 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6534 * sysdeps/unix/i386/brk.S: Remove file.
6535 * sysdeps/unix/i386/dl-brk.S: Likewise.
6536 * sysdeps/unix/i386/pipe.S: Likewise.
6537 * sysdeps/unix/i386/sigreturn.S: Likewise.
6538 * sysdeps/unix/i386/syscall.S: Likewise.
6539 * sysdeps/unix/i386/vfork.S: Likewise.
6540 * sysdeps/unix/i386/wait.S: Likewise.
6542 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6543 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6545 * configure.in (arm*-none*): Do not allow without
6546 --enable-hacker-mode.
6547 (netbsd*): Remove case setting base_os.
6548 (386bsd*): Likewise.
6549 (freebsd*): Likewise.
6553 (ultrix*): Likewise.
6554 (newsos*): Likewise.
6564 (solaris[2-9]*): Likewise.
6566 * configure: Regenerated.
6568 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6571 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6572 overflow or cancellation in calculating denominator.
6573 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6574 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6575 down expression to avoid unexpected rounding in newer GCCs.
6576 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6578 2012-04-26 David S. Miller <davem@davemloft.net>
6580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6581 long-double compat symbols.
6582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6596 2012-04-25 David S. Miller <davem@davemloft.net>
6598 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6599 HWCAP_* values only after the memory barriers have been defined.
6600 (atomic_full_barrier): Define.
6601 (atomic_read_barrier): Define.
6602 (atomic_write_barrier): Define.
6604 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6606 * shlib-versions: Add libgcc_s version information.
6607 * sysdeps/generic/libgcc_s.h: Remove.
6608 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6610 * sysdeps/gnu/unwind-resume.c: Likewise.
6611 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6613 2012-04-25 David S. Miller <davem@davemloft.net>
6615 * sysdeps/unix/sparc/brk.S: Delete.
6616 * sysdeps/unix/sparc/dl-brk.S: Delete.
6617 * sysdeps/unix/sparc/pipe.S: Delete.
6618 * sysdeps/unix/sparc/sysdep.S: Delete.
6619 * sysdeps/unix/sparc/sysdep.h: Delete.
6620 * sysdeps/unix/sparc/vfork.S: Delete.
6621 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6622 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6623 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6624 ret_ERRVAL, r0, r1, MOVE): Define.
6625 (JUMPTARGET): Remove.
6626 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6627 sysdeps/unix/sparc/sysdep.h
6628 (ENTRY, END): Remove.
6629 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6631 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6633 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6634 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6637 * timezone/README: Update upstream location and email address for
6639 * timezone/zdump.c: Update from tzcode 2012b.
6640 * timezone/zic.c: Likewise.
6642 * configure.in (libc_cv_as_needed): Remove test.
6643 * configure: Regenerated.
6644 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6645 conditional definition.
6646 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6647 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6648 * config.make.in (have-as-needed): Remove variable.
6650 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6651 Paul Pluzhnikov <ppluzhnikov@google.com>
6653 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6656 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6658 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6659 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6660 * sysdeps/sh/strlen.S: Likewise.
6662 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6664 * sysdeps/unix/fork.S: Remove file.
6665 * sysdeps/unix/i386/fork.S: Likewise.
6666 * sysdeps/unix/sparc/fork.S: Likewise.
6668 * sysdeps/unix/system.c: Remove file.
6669 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6671 * sysdeps/unix/getegid.S: Remove file.
6672 * sysdeps/unix/geteuid.S: Likewise.
6674 2012-04-24 Roland McGrath <roland@hack.frob.com>
6676 * scripts/check-localplt.awk: New file.
6677 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6679 * scripts/data/localplt-generic.data: Add a comment.
6681 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6682 NODE when __dir_mkfile failed.
6683 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6684 Reported by Ludovic Courtès <ludo@gnu.org>.
6686 2012-04-24 Andreas Jaeger <aj@suse.de>
6688 * Makerules (common-clean): Also remove gen-as-const-headers
6691 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6693 * Makerules (native-compile): Do not change working directory for
6694 build. Use $(OUTPUT_OPTION) in command.
6695 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6697 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6700 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6701 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6702 * math/libm-test.inc (floor_test): Add more tests.
6703 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6705 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6707 * sysdeps/unix/getdents.c: Remove file.
6708 * sysdeps/unix/sysv/getdents.c: Likewise.
6709 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6711 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6712 sysdeps/unix/mman/syscalls.list.
6714 (mprotect): Likewise.
6717 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6718 * sysdeps/unix/mman/syscalls.list: Remove.
6719 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6721 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6722 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6723 * configure: Regenerated.
6724 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6726 * config.make.in (libgcc_s_suffix): Remove variable.
6728 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6730 * sysdeps/unix/sysv/gethostname.c: Move to ...
6731 * sysdeps/posix/gethostname.c: ... here.
6733 * sysdeps/unix/execve.S: Remove file.
6735 * sysdeps/unix/_exit.S: Remove file.
6737 2012-04-23 Andreas Jaeger <aj@suse.de>
6740 * manual/Makefile: Remove make dist support, there's no
6741 need for a stand-alone documentation tar ball.
6742 (TEXI2DVI): Define always, it's not in Makeconfig.
6746 (glibc-doc-$(edition).tar): Removed
6750 (ETAGS): Remove, it's in Makeconfig.
6751 (move-if-change): Remove, it's in Makeconfig.
6753 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6756 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6757 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6758 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6759 (strtod_l, strtof_l, strtold_l): Remove __wur.
6760 It is not necessarily an error to ignore strtol's return value.
6761 One can reliably look at the stored endptr to decide whether
6762 the number had valid syntax.
6764 2012-04-21 Andreas Jaeger <aj@suse.de>
6767 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6769 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6771 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6772 * sysdeps/unix/sysv/Versions: Remove file.
6774 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6779 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6782 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6783 version from __vm86.
6785 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6787 * sysdeps/unix/common/lxstat.c: Remove file.
6788 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6790 * sysdeps/unix/sysv/Makefile: Remove file.
6792 * sysdeps/unix/sysv/direct.h: Remove file.
6794 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6795 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6796 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6797 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6798 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6799 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6800 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6802 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6804 * sysdeps/unix/xmknod.c: Remove file.
6805 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6807 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6809 * sysdeps/unix/sysv/i386/time.S: Remove file.
6811 * sysdeps/unix/fxstat.c: Remove file.
6812 * sysdeps/unix/xstat.c: Likewise.
6813 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6815 * sysdeps/unix/sysv/sigaction.c: Remove file.
6817 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6818 (sysdep_headers): Remove variable.
6819 [termio.h not in sysdep_headers] (generated): Likewise.
6820 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6821 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6822 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6823 * sysdeps/unix/sysv/tcflow.c: Likewise.
6824 * sysdeps/unix/sysv/tcflush.c: Likewise.
6825 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6826 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6827 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6828 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6829 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6831 * sysdeps/unix/siglist.c: Remove file.
6833 * sysdeps/unix/getppid.S: Remove file.
6835 * sysdeps/unix/mkdir.c: Remove file.
6836 * sysdeps/unix/rmdir.c: Likewise.
6838 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6840 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6842 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6843 errlist-compat value.
6845 2012-04-18 David S. Miller <davem@davemloft.net>
6847 * sysdeps/generic/memcopy.h (reg_char): Delete.
6848 * debug/strcat_chk.c: Use char, not reg_char.
6849 * debug/strcpy_chk.c: Likewise.
6850 * debug/strncat_chk.c: Likewise.
6851 * debug/strncpy_chk.c: Likewise.
6852 * string/memchr.c: Likewise.
6853 * string/memrchr.c: Likewise.
6854 * string/rawmemchr.c: Likewise.
6855 * string/strcat.c: Likewise.
6856 * string/strchr.c: Likewise.
6857 * string/strchrnul.c: Likewise.
6858 * string/strcmp.c: Likewise.
6859 * string/strcpy.c: Likewise.
6860 * string/strncat.c: Likewise.
6861 * string/strncmp.c: Likewise.
6862 * string/strncpy.c: Likewise.
6864 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6866 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6867 __builtin_memcopy is called when src and dest ranges are known to not
6870 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6872 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6873 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6874 fwd_align_merge macro call.
6875 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6876 bwd_align_merge macro call.
6877 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6879 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6881 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6882 bwd_align_merge macros.
6883 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6884 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6885 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6887 2012-04-18 David S. Miller <davem@davemloft.net>
6889 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6891 2012-04-18 Andreas Jaeger <aj@suse.de>
6894 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6895 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6896 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6898 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6899 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6900 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6902 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6903 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6904 Adjust for changed ldbl-128 files.
6906 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6907 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6908 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6910 2012-04-17 David S. Miller <davem@davemloft.net>
6912 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6914 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6916 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6917 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6918 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6919 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6920 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6921 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6923 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6926 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6927 * math/libm-test.inc: Add ilogb errno and exception tests.
6928 * math/w_ilogb.c: New file: ilogb wrapper.
6929 * math/w_ilogbf.c: New file: ilogbf wrapper.
6930 * math/w_ilogbl.c: New file: ilogbl wrapper.
6931 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6932 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6933 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6934 exception being thrown with 0.0 as argument.
6935 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6936 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6937 exception being thrown with 0.0 as argument.
6938 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6939 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6940 exception being thrown with 0.0 as argument.
6941 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6942 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6943 exception being thrown with 0.0 as argument.
6944 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6945 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6946 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6947 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6949 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6950 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6951 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6952 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6954 2012-04-17 Petr Baudis <pasky@ucw.cz>
6956 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6959 2012-04-16 Marek Polacek <polacek@redhat.com>
6961 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6963 2012-04-16 Marek Polacek <polacek@redhat.com>
6965 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6966 operands of fdivp instruction.
6968 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6970 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6971 * elf/tst-auditmod3b.c: Likewise.
6972 * elf/tst-auditmod4b.c: Likewise.
6973 * elf/tst-auditmod5b.c: Likewise.
6974 * elf/tst-auditmod6b.c: Likewise.
6975 * elf/tst-auditmod6c.c: Likewise.
6976 * elf/tst-auditmod7b.c: Likewise.
6977 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6978 * sysdeps/x86_64/preconfigure.in: Likewise.
6979 * sysdeps/x86_64/preconfigure: Regenerated.
6981 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6983 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6986 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6988 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6989 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6991 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6994 * locale/iso-639.def: Fix gl language name. Spotted by
6997 2012-04-12 Roland McGrath <roland@hack.frob.com>
7000 * libio/libio.h (__io_write_fn): Update comment.
7002 2012-04-12 Petr Baudis <pasky@ucw.cz>
7005 * stdio.texi (Hook Functions): The user provided writer function
7006 is not allowed to return -1.
7008 2012-04-11 David S. Miller <davem@davemloft.net>
7010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7012 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7014 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7015 Add a leading slash to rtkaio.
7017 2012-04-11 Jim Meyering <meyering@redhat.com>
7020 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7021 It is not necessarily an error to ignore fwrite's return
7022 value. One can reliably use ferror to test for errors after
7025 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7027 * bits/types.h (__snseconds_t): New type.
7028 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7030 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7032 (__SNSECONDS_T_TYPE): Likewise.
7033 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7034 (__SNSECONDS_T_TYPE): Likewise.
7035 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7036 (__SNSECONDS_T_TYPE): Likewise.
7038 2012-04-10 Andreas Jaeger <aj@suse.de>
7041 * manual/time.texi (Processor Time): Return type of times is
7042 elapsed real time since an arbitrary point in the past.
7043 (CPU Time): Move CLK_TCK from here...
7044 (Processor Time): ...to here. Correct description.
7045 * manual/conf.texi (Constants for Sysconf): Correct description of
7048 2012-04-10 David S. Miller <davem@davemloft.net>
7051 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7052 where the is a gap between DT_REL(A) and DT_JMPREL.
7054 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7056 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7057 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7058 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7060 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7062 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7063 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7064 (dl_main): Handle --inhibit-cache.
7065 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7067 * elf/dl-load.c (_dl_map_object): Use it.
7068 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7070 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7073 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7074 (__ieee754_powl): Saturate large exponents rather than testing for
7075 overflow of y*log2(x).
7076 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7077 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7081 * math/s_ctan.c: Include <float.h>.
7082 (__ctan): Avoid internal overflow or cancellation in calculating
7084 * math/s_ctanf.c: Likewise.
7085 * math/s_ctanl.c: Likewise.
7086 * math/s_ctanh.c: Likewise.
7087 * math/s_ctanhf.c: Likewise.
7088 * math/s_ctanhl.c: Likewise.
7089 * math/libm-test.inc (ctan_test): Add more tests.
7090 (ctanh_test): Likewise.
7091 * sysdeps/i386/fpu/libm-test-ulps: Update.
7092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7094 2012-04-09 Andreas Jaeger <aj@suse.de>
7097 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7098 is an optional BSD extension.
7101 * manual/stdio.texi (Opening Streams): Document additional fopen
7104 2012-04-09 Roland McGrath <roland@hack.frob.com>
7106 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7107 %eax without telling the compiler.
7109 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7112 * manual/install.texi: Use sourceware.org.
7114 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7117 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7118 (__ieee754_pow): Generate overflow and underflow using huge*huge
7119 and tiny*tiny rather than just returning constant infinity or zero
7120 for large exponents.
7121 * math/libm-test.inc (pow_test): Require overflow exceptions for
7122 applicable cases of large exponents.
7125 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7126 (__ieee754_pow): Use iterative multiplication algorithm only for
7127 integer exponents with absolute value below 1024. Check for odd
7128 integer exponents when using algorithm for real exponents.
7129 * math/libm-test.inc (pow_test): Add more tests.
7130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7132 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7135 * math/libm-test.inc (exp_test): Do not allow overflow exception
7138 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7141 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7142 instead of __kernel_standard_f.
7144 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7146 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7147 * sysdeps/x86_64/memset_chk.S: Likewise.
7149 2012-04-08 Andreas Jaeger <aj@suse.de>
7152 * manual/startup.texi (Environment Access): Describe return value
7153 for putenv and setenv.
7156 * manual/filesys.texi (Directory Entries): Add description for
7160 * manual/filesys.texi (Directory Entries): Clarify that it's file
7161 system not operating system in the description of DT_UNKNOWN.
7164 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7166 2012-04-08 Stephen Compall <s11@member.fsf.org>
7169 * manual/llio.texi (Opening and Closing Files): Add cross
7170 reference to explain mode argument.
7172 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7174 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7175 * sysdeps/x86_64/memset_chk.S: Likewise.
7177 2012-04-07 David S. Miller <davem@davemloft.net>
7179 * elf/elf.h (R_SPARC_WDISP10): Define.
7180 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7182 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7183 R_SPARC_SIZE64 and R_SPARC_H34.
7185 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7187 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7188 conditions and remove no longer applicable assertion.
7190 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7192 * bits/byteswap.h: Include <features.h>.
7193 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7194 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7196 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7198 * bits/byteswap.h (__bswap_16): Removed.
7199 Include <bits/byteswap-16.h> to get __bswap_16.
7200 * sysdeps/i386/bits/byteswap.h: Likewise.
7201 * sysdeps/s390/bits/byteswap.h: Likewise.
7202 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7203 * bits/byteswap-16.h: New file.
7204 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7205 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7206 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7207 * string/Makefile (headers): Add bits/byteswap-16.h.
7209 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7212 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7214 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7215 * nss/tst-nss-static.c: New.
7217 2012-04-06 Robert Millan <rmh@gnu.org>
7220 * manual/llio.texi (File Position Primitive): lseek
7221 refers to WHENCE when it really means OFFSET.
7223 2012-04-06 Andreas Jaeger <aj@suse.de>
7225 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7226 strncmp declarations.
7228 * abilist/libc.abilist: Add __poll and __ppoll.
7230 2012-04-05 David S. Miller <davem@davemloft.net>
7232 * scripts/check-local-headers.sh: Accept a host triplet in the
7233 path matched by the exclude regexp.
7235 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7237 * sysdeps/powerpc/powerpc32/dl-machine.h
7238 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7239 * sysdeps/s390/s390-32/dl-machine.h
7240 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7241 * sysdeps/sparc/sparc32/dl-machine.h
7242 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7243 * sysdeps/sparc/sparc64/dl-machine.h
7244 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7246 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7248 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7249 undefined symbol errors.
7251 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7254 2012-04-05 Michael Matz <matz@suse.de>
7257 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7259 2012-04-05 Andreas Jaeger <aj@suse.de>
7262 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7265 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7267 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7268 which ROUND is no valid rounding mode.
7270 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7272 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7274 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7276 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7278 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7279 an exception using FPU order intentionally.
7281 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7283 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7284 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7285 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7286 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7288 2012-04-05 Simon Josefsson <simon@josefsson.org>
7291 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7292 EINVAL when BUFLEN is too smal.
7294 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7297 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7298 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7300 2012-04-03 Andreas Jaeger <aj@suse.de>
7303 * manual/setjmp.texi (System V contexts): Fix sentence.
7306 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7307 New macro for this case.
7308 [!__GNUC__] (__bswap_64): New inline function for this case.
7309 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7310 * bits/byteswap.h: Likewise.
7311 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7312 ull, guard with __GLIBC_HAVE_LONG_LONG.
7314 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7315 __GLIBC_HAVE_LONG_LONG.
7317 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7318 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7320 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7323 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7324 inptr and inend, rather than using last_ch.
7326 2012-04-02 David S. Miller <davem@davemloft.net>
7328 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7329 * stdio-common/printf-parse.h (read_int): Change return type to
7330 'int', return -1 on INT_MAX overflow.
7331 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7332 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7333 overflows INT_MAX. Check for overflow of in-format-string precision
7334 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7335 SIZE_MAX not INT_MAX for integer overflow test.
7336 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7337 skip the construct in the format string but do not record anything.
7338 * stdio-common/bug22.c: Adjust to test both width/prevision
7339 INT_MAX overflow as well as total length INT_MAX overflow. Check
7340 explicitly for proper errno values.
7342 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7344 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7346 * string/test-strcmp.c [! WIDE]: Likewise.
7347 * time/tst-mktime2.c: Likewise for INT_MAX.
7348 * string/test-string.h: #include <sys/param.h> for MIN.
7350 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7351 * sysdeps/i386/init-first.c (init): Likewise.
7352 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7353 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7354 * sysdeps/sh/init-first.c (init): Likewise.
7356 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7358 * po/ru.po: Update from translation team.
7359 * po/vi.po: Likewise.
7361 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7363 * resolv/nss_dns/dns-host.c: Merge copyright years.
7365 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7367 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7368 Optimize memcpy with prefetch if
7369 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7370 src, dst pointers have unequal 16 byte alignments.
7372 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7375 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7376 from a CNAME entry and return the minimum ttl for the query.
7377 (gaih_getanswer_slice): Likewise.
7379 2012-03-30 Jeff Law <law@redhat.com>
7381 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7383 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7384 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7386 * resolv/nss_dns/dns-host.c: Update copyright year.
7388 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7390 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7391 requests to save a system call. Fix check that all bytes are sent.
7393 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7394 comments for sendmmsg.
7396 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7399 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7400 with only 1 character between 0x0041 and 0x01b0.
7401 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7402 * wcsmbs/tst-mbsnrtowcs.c: New file.
7404 2012-03-29 David S. Miller <davem@davemloft.net>
7406 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7407 small copies by hand.
7409 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7412 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7413 _nss_compat_initgroups_dyn): Fall back to malloc/free
7414 for large group memberships.
7416 2012-03-28 David S. Miller <davem@davemloft.net>
7418 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7419 that branches into memcpy.
7420 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7421 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7422 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7423 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7426 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7428 * sysdeps/sparc/mempcpy.S: New file.
7430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7431 the IFUNC routine in the libc case.
7432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7434 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7435 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7436 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7437 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7438 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7439 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7440 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7441 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7443 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7444 loop to 256 bytes instead of 64 bytes and fix test signedness.
7446 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7447 * sysdeps/sparc/sparc32/Makefile: rather than here...
7448 * sysdeps/sparc/sparc64/Makefile: and here.
7450 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7452 * malloc/mallocbug.c: Avoid warnings about unused variables.
7454 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7457 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7458 in the right place. Discard and retry query if response is
7459 larger than input buffer size.
7461 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7466 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7467 x for large integer exponent.
7468 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7469 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7470 sign of result as needed afterwards.
7471 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7472 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7473 result for underflowing pow the same as for overflow.
7474 (__kernel_standard_l): Handle powl overflow and underflow here
7475 rather than calling __kernel_standard.
7476 * math/libm-test.inc (pow_test): Add more tests.
7491 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7492 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7493 (__kernel_standard_l): New function.
7494 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7496 * math/w_acosl.c (__acosl): Likewise.
7497 * math/w_asinl.c (__asinl): Likewise.
7498 * math/w_atan2l.c (__atan2l): Likewise.
7499 * math/w_atanhl.c (__atanhl): Likewise.
7500 * math/w_coshl.c (__coshl): Likewise.
7501 * math/w_exp10l.c (__exp10l): Likewise.
7502 * math/w_exp2l.c (__exp2l): Likewise.
7503 * math/w_fmodl.c (__fmodl): Likewise.
7504 * math/w_hypotl.c (__hypotl): Likewise.
7505 * math/w_j0l.c (__j0l, __y0l): Likewise.
7506 * math/w_j1l.c (__j1l, __y1l): Likewise.
7507 * math/w_jnl.c (__jnl, __ynl): Likewise.
7508 * math/w_lgammal.c (__lgammal): Likewise.
7509 * math/w_log10l.c (__log10l): Likewise.
7510 * math/w_log2l.c (__log2l): Likewise.
7511 * math/w_logl.c (__logl): Likewise.
7512 * math/w_powl.c (__powl): Likewise.
7513 * math/w_remainderl.c (__remainderl): Likewise.
7514 * math/w_scalbl.c (sysv_scalbl): Likewise.
7515 * math/w_sinhl.c (__sinhl): Likewise.
7516 * math/w_sqrtl.c (__sqrtl): Likewise.
7517 * math/w_tgammal.c (__tgammal): Likewise.
7518 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7519 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7520 * math/libm-test.inc (acos_test): Add more tests.
7521 (acosh_test): Likewise.
7522 (asin_test): Likewise.
7523 (atanh_test): Likewise.
7524 (exp_test): Likewise.
7525 (exp10_test): Likewise.
7526 (exp2_test): Likewise.
7527 (expm1_test): Likewise.
7528 (lgamma_test): Likewise.
7529 (log_test): Likewise.
7530 (log10_test): Likewise.
7531 (log1p_test): Likewise.
7532 (log2_test): Likewise.
7533 (pow_test): Do not allow some spurious overflow exceptions.
7534 (sqrt_test): Add more tests.
7535 (tgamma_test): Likewise.
7536 (y0_test): Likewise.
7537 (y1_test): Likewise.
7538 (yn_test): Likewise.
7540 2012-03-27 Anton Blanchard <anton@samba.org>
7542 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7544 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7545 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7546 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7548 2012-03-27 David S. Miller <davem@davemloft.net>
7550 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7552 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7555 2012-03-27 Andreas Jaeger <aj@suse.de>
7557 * sysdeps/x86_64/elf/configure.in: Moved to ...
7558 * sysdeps/x86_64/configure.in: ... here.
7559 * sysdeps/x86_64/elf/start.S: Moved to ...
7560 * sysdeps/x86_64/start.S: ... here.
7561 * sysdeps/x86_64/elf/configure: Delete.
7563 * sysdeps/x86_64/configure.in: Merge contents from
7564 sysdeps/i386/configure.in (without i686 check).
7566 * sysdeps/i386/elf/Versions: Merge into ...
7567 * sysdeps/i386/Versions: ... this.
7568 * sysdeps/i386/elf/Versions: Delete file.
7569 * sysdeps/i386/elf/start.S: Moved to ...
7570 * sysdeps/i386/start.S: ...here.
7571 * sysdeps/i386/elf/configure.in: Merge into...
7572 * sysdeps/i386/configure.in: ...here.
7573 * sysdeps/i386/elf/configure.in: Delete file.
7574 * sysdeps/i386/elf/configure: Delete file.
7576 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7577 * debug/backtracesyms.c: ... here.
7578 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7579 * debug/backtracesymsfd.c: ... here.
7580 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7581 * sysdeps/generic/ifunc-sel.h: ... here.
7583 * sysdeps/unix/i386/start.c: Delete file.
7584 * sysdeps/unix/sparc/start.c: Delete file.
7585 * sysdeps/unix/start.c: Delete file.
7587 * sysdeps/sh/elf/configure.in: Moved to ...
7588 * sysdeps/sh/configure.in: ... here.
7589 * sysdeps/sh/elf/start.S: Moved to ...
7590 * sysdeps/sh/start.S: ... here.
7591 * sysdeps/sh/elf/configure: Delete file.
7593 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7594 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7595 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7596 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7597 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7598 * sysdeps/powerpc/powerpc64/start.S: here.
7599 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7600 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7601 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7602 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7603 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7605 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7606 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7607 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7608 * sysdeps/powerpc/powerpc32/start.S: ... here.
7609 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7610 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7611 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7613 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7614 * sysdeps/powerpc/ifunc-sel.h: ... here.
7615 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7616 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7618 * sysdeps/sparc/elf/configure.in: Moved to ...
7619 * sysdeps/sparc/configure.in: ... here.
7620 * sysdeps/sparc/elf/configure: Delete file.
7621 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7622 * sysdeps/sparc/sparc32/start.S: ... here.
7623 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7624 * sysdeps/sparc/sparc64/start.S: ... here.
7625 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7626 * sysdeps/sparc/sparc32/Makefile: ... this.
7627 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7628 * sysdeps/sparc/sparc64/Makefile: ... this.
7630 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7631 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7632 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7633 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7634 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7635 * sysdeps/s390/s390-32/setjmp.S: ... here.
7636 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7637 * sysdeps/s390/s390-32/configure.in: ... here.
7638 * sysdeps/s390/s390-32/elf/configure: Delete file.
7639 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7640 * sysdeps/s390/s390-32/start.S: ... here.
7642 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7643 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7644 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7645 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7646 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7647 * sysdeps/s390/s390-64/setjmp.S: ... here.
7648 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7649 * sysdeps/s390/s390-64/configure.in: ... here
7650 * sysdeps/s390/s390-64/elf/configure: Delete file.
7651 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7652 * sysdeps/s390/s390-64/start.S: ... here.
7653 * sysdeps/s390/s390-64/elf/configure: Delete.
7655 * configure.in: Remove support for elf directories in sysdeps.
7657 * configure: Regenerated.
7658 * sysdeps/i386/configure: Regenerated.
7659 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7660 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7661 * sysdeps/s390/s390-32/configure: Regenerated.
7662 * sysdeps/s390/s390-64/configure: Regenerated.
7663 * sysdeps/sh/configure: Regenerated.
7664 * sysdeps/sparc/configure: Regenerated.
7665 * sysdeps/x86_64/configure: Regenerated.
7667 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7671 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7672 denormal result into account.
7674 2012-03-25 Roland McGrath <roland@hack.frob.com>
7676 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7677 Reported by Allan McRae <allan@archlinux.org>.
7679 2012-03-23 Jeff Law <law@redhat.com>
7681 * nss/getnssent.c (__nss_getent): Fix typo.
7683 2012-03-23 David S. Miller <davem@davemloft.net>
7685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7687 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7689 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7690 to pad to uint64_t for each field.
7691 (dl_tls_index): Replace unsigned long with uint64_t.
7693 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7694 Paul Pluzhnikov <ppluzhnikov@google.com>
7697 * grp/Makefile (otherlibs): Don't set it.
7698 * inet/Makefile (otherlibs): Likewise.
7699 * login/Makefile (otherlibs): Likewise.
7700 * nscd/Makefile (otherlibs): Likewise.
7701 * posix/Makefile (otherlibs): Likewise.
7702 * pwd/Makefile (otherlibs): Likewise.
7703 * rt/Makefile (otherlibs): Likewise.
7704 * sunrpc/Makefile (otherlibs): Likewise.
7705 * nss/Makefile (otherlibs): Likewise.
7706 Add libnss_files to routines and static-only-routines.
7707 ($(objpfx)getent): Remove rule.
7708 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7709 static-only-routines.
7711 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7714 * math/s_cexp.c: Include <float.h>.
7715 (__cexp): Handle exp result overflowing not necessarily
7716 overflowing both real and imaginary parts of result.
7717 * math/s_cexpf.c: Likewise.
7718 * math/s_cexpl.c: Likewise.
7719 * math/libm-test.inc (cexp_test): Add more tests.
7720 * sysdeps/i386/fpu/libm-test-ulps: Update.
7721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7723 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7725 * include/link.h (ELFW): New macro.
7726 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7727 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7729 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7731 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7734 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7736 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7738 (struct La_x32_retval): Likewise.
7740 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7742 * sysdeps/x86_64/preconfigure.in: New file.
7743 * sysdeps/x86_64/preconfigure: New generated file.
7745 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7748 * math/e_exp2l.c: Include <float.h>.
7749 (__ieee754_exp2l): Handle overflow and underflow cases
7750 separately. Only pass fractional part of argument to
7752 * math/libm-test.inc (exp2_test): Add more tests.
7754 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7755 negating x to take absolute value.
7756 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7758 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7759 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7761 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7762 computing low part if x was negated.
7763 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7765 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7767 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7769 (pltexit): Cast int_retval to ptrdiff_t.
7770 * elf/tst-auditmod3b.c: Likewise.
7771 * elf/tst-auditmod4b.c: Likewise.
7772 * elf/tst-auditmod5b.c: Likewise.
7773 * elf/tst-auditmod6b.c: Likewise.
7774 * elf/tst-auditmod6c.c: Likewise.
7775 * elf/tst-auditmod7b.c: Likewise.
7777 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7778 and x32_gnu_pltexit.
7780 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7782 (La_x32_regs): New macro.
7783 (La_x32_retval): Likewise.
7784 (la_x32_gnu_pltenter): New function prototype.
7785 (la_x32_gnu_pltexit): Likewise.
7787 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7794 * configure.in (libc_cv_cc_nofma): Check for option to disable
7795 generation of FMA instructions.
7796 * configure: Regenerate.
7797 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7798 * sysdeps/ieee754/dbl-64/Makefile: New file.
7799 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7800 Remove brandred-fma4.
7801 (CFLAGS-brandred-fma4.c): Remove.
7802 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7803 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7805 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7808 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7810 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7811 LLONG_MAX != LONG_MAX.
7812 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7813 (_fitoa_word): Likewise.
7814 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7815 LLONG_MAX != LONG_MAX.
7816 * stdio-common/_itowa.h: Include <_itoa.h>.
7817 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7818 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7819 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7820 only if not defined.
7821 (_ITOA_WORD_TYPE): Likewise.
7822 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7823 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7825 2012-03-21 David S. Miller <davem@davemloft.net>
7827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7829 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7831 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7832 of x86_64 when setting libc_cv_slibdir, libdir and
7834 * sysdeps/unix/sysv/linux/configure: Regenerated.
7836 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7838 * manual/lang.texi (Old Varargs): Remove section.
7839 (How Variadic): Update menu.
7840 (va_start): Do not mention varargs.h.
7842 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7843 Joseph Myers <joseph@codesourcery.com>
7845 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7847 * configure: Regenerated.
7849 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7851 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7852 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7855 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7858 * Makefile (files-for-dist): Remove NOTES.
7859 (NOTES): Remove rule.
7860 * README: Don't refer to NOTES.
7861 * manual/creature.texi: Don't include macros.texi.
7862 * manual/intro.texi (creature.texi): Remove comment referring to
7865 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7866 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7867 * configure: Regenerated.
7868 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7870 (libc_cv_as_i686): Likewise.
7871 (libc_cv_cc_avx): Likewise.
7872 (libc_cv_cc_sse2avx): Likewise.
7873 (libc_cv_cc_fma4): Likewise.
7874 (libc_cv_cc_novzeroupper): Likewise.
7875 * sysdeps/i386/configure: Regenerated.
7878 * sysdeps/i386/fpu/s_cexp.S: Remove.
7879 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7880 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7881 * math/libm-test.inc (cexp_test): Add more tests.
7882 * sysdeps/i386/fpu/libm-test-ulps: Update.
7883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7885 2012-03-21 Allan McRae <allan@archlinux.org>
7887 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7889 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7892 * math/w_exp2.c: Do not include <float.h>.
7893 (o_threshold, u_threshold): Remove.
7894 (__exp2): Calculate result before checking finiteness and calling
7896 * math/w_exp2f.c: Likewise.
7897 * math/w_exp2l.c: Likewise.
7898 * math/libm-test.inc (exp2_test): Require overflow exception for
7902 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7903 range of signed 64-bit integers before using fistpll. Remove
7904 checks for whether integers fit in mantissa bits.
7905 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7906 the range of signed 32-bit integers before using fistpl. Remove
7907 checks for whether integers fit in mantissa bits.
7908 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7909 (__ieee754_powl): Test for y outside the range of signed 64-bit
7910 integers before using fistpll. Reduce 64-bit values to 63-bit
7912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7913 divide-by-zero is raised for zero to large negative powers.
7914 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7915 (__ieee754_powl): Test for y outside the range of signed 64-bit
7916 integers before using fistpll. Reduce 64-bit values to 63-bit
7918 * math/libm-test.inc (pow_test): Add more tests.
7920 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7922 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7923 <stdio-common/_itoa.h>.
7924 * debug/segfault.c: Likewise.
7925 * elf/dl-cache.c: Likewise.
7926 * elf/dl-minimal.c: Likewise.
7927 * elf/dl-misc.c: Likewise.
7928 * elf/dl-sysdep.c: Likewise.
7929 * elf/dl-version.c: Likewise.
7930 * elf/rtld.c: Likewise.
7931 * hurd/hurdsock.c: Likewise.
7932 * hurd/lookup-retry.c: Likewise.
7933 * malloc/malloc.c: Likewise.
7934 * malloc/mtrace.c: Likewise.
7935 * nscd/nscd_getgr_r.c: Likewise.
7936 * nscd/nscd_getpw_r.c: Likewise.
7937 * nscd/nscd_getserv_r.c: Likewise.
7938 * posix/getopt_init.c: Likewise.
7939 * posix/wordexp.c: Likewise.
7940 * stdio-common/_itoa.c: Likewise.
7941 * stdio-common/printf_fphex.c: Likewise.
7942 * stdio-common/vfprintf.c: Likewise.
7943 * string/_strerror.c: Likewise.
7944 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7945 * sysdeps/i386/i686/hp-timing.h: Likewise.
7946 * sysdeps/mach/_strerror.c: Likewise.
7947 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7948 * sysdeps/mach/hurd/sethostid.c: Likewise.
7949 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7950 * sysdeps/mach/xpg-strerror.c: Likewise.
7951 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7952 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7953 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7954 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7955 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7956 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7957 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7958 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7959 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7960 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7961 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7962 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7963 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7964 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7965 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7966 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7967 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7968 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7969 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7970 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7971 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7973 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7975 * stdio-common/_itoa.h: Moved to ...
7976 * sysdeps/generic/_itoa.h: Here.
7978 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7980 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7981 instead of "_itoa.h" and "_itowa.h".
7982 * stdio-common/vfprintf.: Likewise.
7984 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7986 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7988 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7989 (__signbit): Likwise.
7993 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7995 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7998 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8000 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8001 OVERFLOW_EXCEPTION_OK.
8002 * math/libm-test.inc ("Philosophy"): Update comment about
8004 (OVERFLOW_EXCEPTION): Define.
8005 (OVERFLOW_EXCEPTION_OK): Likewise.
8006 (INVALID_EXCEPTION_OK): Renumber.
8007 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8008 (IGNORE_ZERO_INF_SIGN): Likewise.
8009 (test_exceptions): Handle FE_OVERFLOW.
8010 (exp10_test): Expect overflow exceptions.
8011 (exp2_test): Likewise.
8012 (expm1_test): Likewise.
8013 (nextafter_test): Likewise.
8014 (pow_test): Likewise.
8015 (scalbn_test): Likewise.
8016 (scalbln_test): Likewise.
8018 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8020 * sysdeps/x86_64/bits/atomic.h
8021 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8023 (atomic_exchange_acq): Likewise.
8024 (__arch_exchange_and_add_body): Likewise.
8025 (__arch_add_body): Likewise.
8026 (atomic_add_negative): Likewise.
8027 (atomic_add_zero): Likewise.
8029 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8031 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8032 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8034 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8036 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8037 Check __x86_64__ instead of __WORDSIZE.
8039 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8041 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8043 2012-03-19 David S. Miller <davem@davemloft.net>
8045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8047 * sysdeps/sparc/fpu/fenv_private.h: New file.
8048 * sysdeps/sparc/fpu/math_private.h: Use it.
8049 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8051 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8052 (libc_feholdexcept_setroundl): Remove.
8053 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8055 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8056 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8058 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8060 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8061 int64_t instead of long int.
8062 (INSERT_WORDS64): Likwise.
8064 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8066 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8067 _Unwind_GetCFA return to _Unwind_Ptr first.
8069 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8072 * math/s_clog.c: Include <float.h>.
8073 (__clog): Scale large or subnormal inputs.
8074 * math/s_clogf.c: Likewise.
8075 * math/s_clogl.c: Likewise.
8076 * math/s_clog10.c: Include <float.h>.
8077 (M_LOG10_2): Define.
8078 (__clog10): Scale large or subnormal inputs.
8079 * math/s_clog10f.c: Likewise.
8080 * math/s_clog10l.c: Likewise.
8081 * math/libm-test.inc (clog_test): Add more tests.
8082 (clog10_test): Likewise.
8083 * sysdeps/i386/fpu/libm-test-ulps: Update.
8084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8087 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8089 * math/libm-test.inc (atan2_test): Add another test.
8091 * Makerules (common-objdir-compile): Remove.
8092 * sysdeps/unix/Makefile (config-generated): Do not add
8093 $(unix-generated) to variable.
8094 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8095 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8097 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8099 [generic bits/local_lim.h] (before-compile): Do not append to
8101 [generic bits/local_lim.h] (common-generated): Likewise.
8102 [generic sys/param.h] (before-compile): Do not append to variable.
8103 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8104 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8105 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8106 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8108 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8109 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8110 [generic sys/param.h] ($(addprefix
8111 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8112 [generic sys/param.h] (common-generated): Do not append to
8114 [generic sys/param.h] (sysdep_headers): Likewise.
8115 [generic bits/errno.h] (before-compile): Do not append to
8117 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8119 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8120 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8121 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8122 [generic bits/errno.h] (common-generated): Do not append to
8124 [generic bits/ioctls.h] (before-compile): Do not append to
8126 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8128 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8129 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8130 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8132 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8133 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8134 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8135 [generic bits/ioctls.h] (common-generated): Do not append to
8137 [generic sys/syscall.h] (syscall.h): Remove variable.
8138 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8140 [generic sys/syscall.h] (before-compile): Do not append to
8142 [generic sys/syscall.h] (common-generated): Likewise.
8143 * sysdeps/unix/errnos-tmpl.c: Remove file.
8144 * sysdeps/unix/errnos.awk: Likewise.
8145 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8146 * sysdeps/unix/ioctls.awk: Likewise.
8147 * sysdeps/unix/mk-local_lim.c: Likewise.
8148 * sysdeps/unix/snarf-ioctls: Likewise.
8150 2012-03-19 Richard Henderson <rth@twiddle.net>
8152 * sysdeps/i386/fpu/fenv_private.h: New file.
8153 * sysdeps/i386/fpu/math_private.h: Use it.
8154 (math_opt_barrier, math_force_eval): Remove.
8155 (libc_feholdexcept_setround_53bit): Remove.
8156 (libc_feupdateenv_53bit): Remove.
8157 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8158 (math_opt_barrier, math_force_eval): Remove.
8159 (libc_feholdexcept): Remove.
8160 (libc_feholdexcept_setround): Remove.
8161 (libc_fetestexcept, libc_fesetenv): Remove.
8162 (libc_feupdateenv_test): Remove.
8163 (libc_feupdateenv, libc_feholdsetround): Remove.
8164 (libc_feresetround): Remove.
8166 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8167 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8169 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8170 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8171 (libc_feupdateenv_testl): New.
8172 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8173 (libc_feupdateenv_testf): New.
8174 (libc_feupdateenv): Use libc_feupdateenv_test.
8175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8176 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8178 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8179 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8180 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8181 (libc_feresetround_noex): New.
8182 (libc_feresetround_noexf): New.
8183 (libc_feresetround_noexl): New.
8184 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8185 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8186 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8187 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8189 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8192 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8193 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8194 SET_RESTORE_ROUND_NOEX.
8195 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8196 SET_RESTORE_ROUND_NOEXF.
8197 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8198 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8199 (libc_feholdsetroundf): New.
8200 (libc_feresetround, libc_feresetroundf): New.
8202 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8203 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8204 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8206 * sysdeps/generic/math_private.h: Include <fenv.h>.
8207 (default_libc_feholdexcept): New.
8208 (default_libc_feholdexcept_setround): New.
8209 (default_libc_fesetenv, default_libc_feupdateenv): New.
8210 (libc_feholdexcept): Only define if undefined.
8211 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8212 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8213 (libc_feholdexcept_setroundl): Likewise.
8214 (libc_feholdexcept_setround_53bit): Likewise.
8215 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8216 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8217 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8218 (libc_feupdateenv_53bit): Likewise.
8219 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8220 (libc_feholdexcept): Convert from macro to inline function.
8221 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8222 (libc_fesetenv, libc_feupdateenv): Likewise.
8224 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8225 not previously defined.
8226 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8227 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8228 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8229 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8230 * sysdeps/ieee754/flt-32/math_private.h: New file.
8231 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8232 math_private.h below SET_FLOAT_WORD.
8233 (__isnan, __isinf_ns, __finite): Remove.
8234 (__isnanf, __isinf_nsf, __finitef): Remove.
8236 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8240 2012-03-17 David S. Miller <davem@davemloft.net>
8243 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8246 2012-03-16 David S. Miller <davem@davemloft.net>
8248 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8252 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8254 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8255 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8256 sysdep_routines when subdir is sysvipc.
8257 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8260 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8262 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8264 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8267 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8269 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8270 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8271 (__lround): Renamed to ...
8272 (__llround): This. Replace long int with long long int.
8273 Define lround functions as aliases of llround functions.
8274 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8276 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8278 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8279 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8280 adresses to uintptr_t. Replace "long int" and "unsigned long
8281 int" with "greg_t" on va_arg.
8283 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8285 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8286 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8288 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8289 Move e_machine check before EI_CLASS check. Handle x32
8290 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8291 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8292 SKIP_EM_IA_64 and include
8293 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8295 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8296 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8297 (add_system_dir): New macro.
8299 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8300 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8302 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8313 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8315 * math/w_j0f.c (j0f): Likewise.
8317 * math/w_j0l.c (__j0l): Likewise.
8319 * math/w_j1.c (j1): Likewise.
8321 * math/w_j1f.c (j1f): Likewise.
8323 * math/w_j1l.c (__j1l): Likewise.
8325 * math/w_jn.c (jn): Likewise.
8327 * math/w_jnf.c (jnf): Likewise.
8329 * math/w_jnl.c (__jnl): Likewise.
8331 * math/libm-test.inc (j0_test): Add more tests.
8332 (j1_test): Likewise.
8333 (jn_test): Likewise. Add trailing semicolon to existing test.
8334 (y0_test): Likewise.
8335 (y1_test): Likewise.
8336 * sysdeps/i386/fpu/libm-test-ulps: Update.
8337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8341 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8342 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8343 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8344 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8345 (__tanl): Set errno for infinite argument.
8346 * sysdeps/i386/fpu/mptan.c: Remove.
8347 * sysdeps/i386/fpu/s_tan.S: Likewise.
8348 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8349 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8350 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8351 * math/libm-test.inc (tan_test): Add more tests and enable more
8352 tests for double and long double.
8353 * sysdeps/i386/fpu/libm-test-ulps: Update.
8354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8356 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8358 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8359 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8361 2012-03-16 Roland McGrath <roland@hack.frob.com>
8363 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8364 * configure.in: Use it for both main tree and add-ons.
8365 * configure: Regenerated.
8367 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8369 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8371 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8373 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8377 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8378 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8383 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8384 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8386 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8387 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8388 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8389 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8390 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8391 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8392 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8393 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8394 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8395 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8396 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8397 * math/libm-test.inc (cos_test): Add more tests and enable more
8398 tests for long double.
8399 (sin_test): Likewise.
8400 (sincos_test): Likewise.
8401 * sysdeps/i386/fpu/libm-test-ulps: Update.
8402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8404 2012-03-16 David S. Miller <davem@davemloft.net>
8406 * sysdeps/sparc/fpu/math_private.h: New file.
8408 2012-03-15 David S. Miller <davem@davemloft.net>
8410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8424 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8425 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8427 * sysdeps/sparc/sparc-ifunc.h: New file.
8428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8454 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8455 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8466 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8470 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8471 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8473 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8475 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8479 2012-03-15 Andreas Jaeger <aj@suse.de>
8482 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8483 ieee754/flt-32 implementation for sin, cos and sincos.
8484 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8485 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8486 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8487 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8488 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8489 ieee754/flt-32 implementation for tan.
8491 * math/libm-test.inc (cos_test): Enable some large input tests for
8493 (sin_test): Likewise.
8494 (sincos_test): Likewise.
8495 (tan_test): Add tests for large input.
8497 * sysdeps/i386/fpu/libm-test-ulps: Update.
8499 2012-03-15 Andreas Jaeger <aj@suse.de>
8502 * math/libm-test.inc (cos_test): Add more test cases.
8503 (sin_test): Likewise.
8504 (sincos_test): Likewise.
8506 2012-03-15 Andreas Jaeger <aj@suse.de>
8509 * math/libm-test.inc (cos_test): Add a test case for large input
8511 (sin_test): Likewise.
8512 (sincos_test): Likewise.
8514 2012-03-15 Andreas Jaeger <aj@suse.de>,
8515 Joseph Myers <joseph@codesourcery.com>
8518 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8519 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8520 * sysdeps/i386/fpu/branred.c: Likewise.
8521 * sysdeps/i386/fpu/dosincos.c: Likewise.
8522 * sysdeps/i386/fpu/mpa.c: Likewise.
8523 * sysdeps/i386/fpu/s_cos.S: Likewise.
8524 * sysdeps/i386/fpu/s_sin.S: Likewise.
8525 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8526 * sysdeps/i386/fpu/sincos32.c: Likewise.
8528 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8530 (libc_feupdateenv_53bit): Define.
8531 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8533 (libc_feupdateenv_53bit): Define.
8535 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8536 53 bit (without extend i386 double precision).
8538 * math/libm-test.inc (sincos_test): Add tests for large input.
8542 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8544 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8548 2012-03-15 David S. Miller <davem@davemloft.net>
8550 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8551 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8552 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8553 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8578 fmin/fmax sysdep routines.
8579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8581 2012-03-14 David S. Miller <davem@davemloft.net>
8583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8587 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8588 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8589 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8590 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8591 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8592 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8598 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8603 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8606 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8607 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8608 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8609 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8610 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8655 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8660 * sysdeps/sparc/configure.in: New file.
8661 * sysdeps/sparc/configure: Generate.
8662 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8663 * configure: Regenerate.
8664 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8665 * config.make.in (have-as-vis3): New.
8666 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8667 available use -Av9d instead of -Av9a.
8668 * sysdeps/sparc/sparc64/Makefile: Likewise.
8669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8679 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8680 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8681 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8682 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8684 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8685 fzeros/fnegs to load 0x80000000 into a float register instead of
8687 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8689 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8693 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8694 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8695 ($(inst_includedir)/bits/syscall.h): Remove rule.
8696 ($(objpfx)bits/syscall.d): Include instead of
8697 $(objpfx)syscall-list.d.
8698 (generated): Change syscall-list.h and syscall-list.d to
8699 bits/syscall.h and bits/syscall.d.
8701 2012-03-14 Roland McGrath <roland@hack.frob.com>
8704 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8706 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8709 * math/s_csqrt.c: Include <float.h>.
8710 (__csqrt): Scale large or subnormal inputs.
8711 * math/s_csqrtf.c: Likewise.
8712 * math/s_csqrtl.c: Likewise.
8713 * math/libm-test.inc (csqrt_test): Add more tests.
8714 * sysdeps/i386/fpu/libm-test-ulps: Update.
8715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8718 * math/libm-test.inc (hypot_test): Add more tests.
8720 2012-03-13 David S. Miller <davem@davemloft.net>
8723 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8724 double-precision for the calculation instead of scaling.
8726 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8728 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8729 manipulate bits before adding and subtracting TWO52[sx].
8730 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8731 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8733 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8735 2012-03-13 David S. Miller <davem@davemloft.net>
8737 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8738 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8739 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8740 rtld-global-offsets.h
8741 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8743 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8746 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8748 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8749 'err' in the ifdef scope in which it is actually used.
8751 * nss/nss_db/db-init.c: Include string.h
8753 2012-03-12 David S. Miller <davem@davemloft.net>
8755 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8756 masking out of the most significant byte of random value used.
8757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8758 Fix coding style in previous change.
8760 * sysdeps/unix/sysv/linux/kernel-features.h
8761 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8762 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8764 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8767 2012-03-11 David S. Miller <davem@davemloft.net>
8769 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8770 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8771 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8772 for 'resultvar' otherwise things get truncated on 64-bit.
8774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8775 Fix masking out of the most significant byte of random value used.
8777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8779 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8783 2012-03-09 David S. Miller <davem@davemloft.net>
8785 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8786 variables with appropriate CPP guards.
8787 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8788 frame pointer, not the stack pointer. Correct layout comments. Fix test
8789 on resulting framesize and the management of the outregs buffer for pltexit.
8790 Preserve floating point return values across _dl_call_pltexit call.
8791 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8792 framesize and the management of the outregs buffer for pltexit.
8793 Preserve floating point return values across _dl_call_pltexit
8795 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8796 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8797 (print_exit): Fix format string for return register value.
8799 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8801 * sunrpc/Makefile (others): Add rpcgen.
8802 ($(objpfx)rpcgen): Remove special build rule and dependency on
8804 * sunrpc/rpcgen.c: New file.
8806 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8809 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8810 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8811 * sysdeps/i386/crti.S: Likewise.
8812 * sysdeps/i386/crtn.S: Likewise.
8813 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8814 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8815 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8816 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8817 * sysdeps/sh/crti.S: Likewise.
8818 * sysdeps/sh/crtn.S: Likewise.
8819 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8822 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8824 * locale/programs/locfile-kw.gperf: Likewise.
8825 * locale/programs/charmap-kw.h: Regenerated.
8826 * locale/programs/locfile-kw.h: Likewise.
8829 * intl/plural.y: Replace FSF snail mail address with URL.
8830 * intl/plural.c: Regenerated.
8832 2012-03-09 Richard Henderson <rth@twiddle.net>
8834 * include/math_private.h: Remove file.
8835 * math/math_private.h: Move file ...
8836 * sysdeps/generic/math_private.h: ... here.
8838 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8839 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8840 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8842 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8843 and <math_private.h>.
8844 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8845 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8846 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8847 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8848 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8860 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8920 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8923 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8926 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8932 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8933 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8934 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8935 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8936 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8937 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8938 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8939 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8940 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8941 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8942 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8943 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8944 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8945 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8946 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8947 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8948 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8949 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8950 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8951 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8952 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8953 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8954 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8955 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8956 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8957 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8958 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8959 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8960 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8961 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8962 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8963 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8964 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8965 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8966 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8967 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8968 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8969 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8970 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8971 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8972 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8973 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8974 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8975 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8976 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8977 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8978 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8979 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8980 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8981 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8982 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8983 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8984 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8985 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8986 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8987 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8988 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8989 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8990 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8991 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8992 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8993 * sysdeps/ieee754/k_standard.c: Likewise.
8994 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9000 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9001 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9002 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9003 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9004 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9007 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9008 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9011 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9097 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9109 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9113 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9114 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9116 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9121 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9126 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9135 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9142 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9143 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9144 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9154 * sysdeps/ieee754/s_lib_version.c: Likewise.
9155 * sysdeps/ieee754/s_matherr.c: Likewise.
9156 * sysdeps/ieee754/s_signgam.c: Likewise.
9157 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9158 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9159 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9160 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9161 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9162 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9163 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9164 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9165 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9166 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9167 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9168 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9169 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9170 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9171 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9172 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9173 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9174 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9175 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9176 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9177 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9179 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9181 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9182 * sunrpc/rpc_main.c: Likewise.
9183 * sunrpc/rpc_svcout.c: Likewise.
9185 2012-03-09 David S. Miller <davem@davemloft.net>
9187 * include/math_private.h: New file.
9189 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9191 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9192 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9193 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9194 from <bits/socket_type.h>.
9195 (enum __socket_type): Don't define here.
9196 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9201 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9204 * Makerules ($(inst_includedir)/%.h): New rule.
9205 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9206 (install-others): Remove variable setting.
9207 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9209 2012-03-08 Richard Henderson <rth@twiddle.net>
9211 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9212 from macro to inline function; merge with the
9213 !__LIBC_INTERNAL_MATH_INLINES version.
9214 (__ieee754_sqrtf): Likewise.
9216 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9218 (__rintf, __floor, __floorf): Likewise.
9220 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9221 macro to inline function.
9222 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9224 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9225 not <math/math_private.h>.
9227 2012-03-08 David S. Miller <davem@davemloft.net>
9229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9231 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9233 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9235 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9237 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9238 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9240 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9242 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9243 be defined individually, they must be defined as a block. Define
9244 S for printing a string instead of hidint the different by using a
9245 macro for adding the 'l'.
9246 * stdio-common/tst-fphex-wide.c: Adjust.
9248 2012-03-07 Marek Polacek <polacek@redhat.com>
9250 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9252 2012-03-08 Marek Polacek <polacek@redhat.com>
9255 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9256 * stdio-common/tst-fphex.c: Define a few macros to make the
9257 test reusable. Use them.
9258 * stdio-common/tst-fphex-wide.c: New file.
9260 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9263 * manual/macros.texi (gnusystems): New macro.
9264 (nongnusystems): Likewise.
9265 (gnulinuxhurdsystems): Likewise.
9266 (gnuhurdsystems): Likewise..
9267 (gnulinuxsystems): Likewise.
9268 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9269 variants of the GNU system, not "GNU system".
9270 * manual/conf.texi: Likewise.
9271 * manual/errno.texi: Likewise. Update example of errno macro
9273 * manual/filesys.texi: Likewise.
9274 (getumask): Document as specific to GNU/Hurd.
9275 * manual/install.texi: Likewise. Reword some references to
9277 * manual/intro.texi: Likewise.
9278 * manual/io.texi: Likewise.
9279 (File Name Portability): Detail which constraints are inapplicable
9280 to all GNU systems and which are only inapplicable to GNU/Hurd.
9281 * manual/job.texi: Likewise.
9282 * manual/llio.texi: Likewise.
9283 (O_NOCTTY): Document as present on GNU/Linux.
9284 * manual/maint.texi: Likewise.
9285 * manual/memory.texi: Likewise.
9286 * manual/pattern.texi: Likewise.
9287 * manual/pipe.texi: Likewise.
9288 * manual/process.texi: Likewise.
9289 * manual/resource.texi: Likewise.
9290 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9292 * manual/setjmp.texi: Likewise.
9293 * manual/signal.texi: Likewise.
9294 * manual/startup.texi: Likewise.
9295 * manual/stdio.texi: Likewise.
9296 * manual/terminal.texi: Likewise.
9297 (ONLCR): Document as POSIX.
9298 (OXTABS): Document availability on GNU/Linux as XTABS.
9299 (ONOEOT): Document availability separately from other bits.
9300 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9301 * manual/time.texi: Likewise.
9302 * manual/users.texi: Likewise.
9303 * INSTALL: Regenerated.
9304 * sysdeps/gnu/errlist.c: Regenerated.
9306 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9307 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9308 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9310 * configure: Regenerated.
9312 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9314 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9315 default includes instead of AC_HEADER_CHECK.
9316 * sysdeps/i386/configure: Regenerated.
9319 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9320 * math/s_cacoshf.c (__cacoshf): Likewise.
9321 * math/s_cacoshl.c (__cacoshl): Likewise.
9322 * math/s_casinh.c (__casinh): Set signs of result from argument.
9323 * math/s_casinhf.c (__casinhf): Likewise.
9324 * math/s_casinhl.c (__casinhl): Likewise.
9325 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9326 (casinh_test): Add more tests.
9327 * sysdeps/i386/fpu/libm-test-ulps: Update.
9328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9330 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9332 * po/zh_TW.po: Update from translation team.
9334 * login/Makefile (distribute): Remove variable.
9335 * catgets/Makefile: Likewise.
9336 * mach/Makefile: Likewise.
9337 * malloc/Makefile: Likewise.
9338 * misc/Makefile: Likewise.
9339 * iconv/Makefile: Likewise.
9340 * nscd/Makefile: Likewise.
9341 * hurd/Makefile: Likewise.
9342 * manual/Makefile: Likewise.
9343 * locale/Makefile: Likewise.
9344 * intl/Makefile: Likewise.
9345 * conform/Makefile: Likewise.
9346 * nss/Makefile: Likewise.
9347 * time/Makefile: Likewise.
9348 * soft-fp/Makefile: Likewise.
9349 * dirent/Makefile: Likewise.
9350 * gmon/Makefile: Likewise.
9351 * po/Makefile: Likewise.
9352 * rt/Makefile: Likewise.
9353 * socket/Makefile: Likewise.
9354 * math/Makefile: Likewise.
9355 * signal/Makefile: Likewise.
9356 * debug/Makefile: Likewise.
9357 * elf/Makefile: Likewise.
9358 * timezone/Makefile: Likewise.
9359 * stdlib/Makefile: Likewise.
9360 * iconvdata/Makefile: Likewise.
9361 * sunrpc/Makefile: Likewise.
9362 * io/Makefile: Likewise.
9363 * argp/Makefile: Likewise.
9364 * inet/Makefile: Likewise.
9365 * hesiod/Makefile: Likewise.
9366 * grp/Makefile: Likewise.
9367 * csu/Makefile: Likewise.
9368 * wctype/Makefile: Likewise.
9369 * crypt/Makefile: Likewise.
9370 * libio/Makefile: Likewise.
9371 * string/Makefile: Likewise.
9372 * nis/Makefile: Likewise.
9373 * resolv/Makefile: Likewise.
9374 * stdio-common/Makefile: Likewise.
9375 * wcsmbs/Makefile: Likewise.
9376 * dlfcn/Makefile: Likewise.
9377 * posix/Makefile: Likewise.
9380 * timezone/Makefile: Don't install timezone files, just the programs
9383 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9385 * nss/databases.def: Add missing gshadow entry.
9387 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9389 2012-03-06 Marek Polacek <polacek@redhat.com>
9392 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9393 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9394 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9395 * stdio-common/tst-long-dbl-fphex.c: New file.
9397 2012-03-06 David S. Miller <davem@davemloft.net>
9399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9400 (set_obp_int): New function.
9401 (get_obp_int): New function.
9402 (__get_clockfreq_via_dev_openprom): Likewise.
9403 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9404 Avoid unused variable warnings on 'val' and use builtin_expect.
9405 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9407 (INLINE_CLONE_SYSCALL): Likewise.
9409 2012-03-05 David S. Miller <davem@davemloft.net>
9411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9413 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9417 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9419 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9421 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9424 Replace gettimeofday with __vdso_gettimeofday.
9426 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9427 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9428 __vdso_clock_gettime and __vdso_getcpu.
9430 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9431 time with __vdso_time.
9433 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9435 * manual/lang.texi (size_t): Note types to which size_t may be
9436 equivalent with the GNU C Library, but do not describe when
9437 differences between them are significant.
9439 2012-03-05 Andreas Jaeger <aj@suse.de>
9441 * sysdeps/i386/fpu/libm-test-ulps: Update.
9443 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9446 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9447 (__ieee754_pow): Save and restore rounding mode and use
9448 round-to-nearest for main computations.
9449 * math/libm-test.inc (pow_test_tonearest): New function.
9450 (pow_test_towardzero): Likewise.
9451 (pow_test_downward): Likewise.
9452 (pow_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.
9458 * math/libm-test.inc (cosh_test_tonearest): New function.
9459 (cosh_test_towardzero): Likewise.
9460 (cosh_test_downward): Likewise.
9461 (cosh_test_upward): Likewise.
9462 (sinh_test_tonearest): Likewise.
9463 (sinh_test_towardzero): Likewise.
9464 (sinh_test_downward): Likewise.
9465 (sinh_test_upward): Likewise.
9466 (main): Call the new functions.
9467 * sysdeps/i386/fpu/libm-test-ulps: Update.
9468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9470 2012-03-05 Tom de Vries <tom@codesourcery.com>
9472 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9473 default stack guard is set in last bytes.
9474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9476 2012-03-05 Kees Cook <keescook@chromium.org>
9478 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9481 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9482 possibly allocate from heap instead of stack.
9483 * stdio-common/bug-vfprintf-nargs.c: New file.
9484 * stdio-common/Makefile (tests): Add nargs overflow test.
9486 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9490 2012-03-03 Marek Polacek <polacek@redhat.com>
9492 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9493 * math/math_private.h: Likewise.
9494 * stdlib/tst-strtod.c: Likewise.
9495 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9496 * sysdeps/x86_64/bits/atomic.h: Likewise.
9498 2012-03-02 David S. Miller <davem@davemloft.net>
9500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9504 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9505 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9506 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9507 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9509 2012-03-02 Roland McGrath <roland@hack.frob.com>
9512 * manual/examples/README: New file, says the example source files
9513 can be used under GPL>=2.
9514 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9515 line containing just "*/".
9516 * manual/examples/add.c: Add copyright header (GPL>=2).
9517 * manual/examples/argp-ex1.c: Likewise.
9518 * manual/examples/argp-ex2.c: Likewise.
9519 * manual/examples/argp-ex3.c: Likewise.
9520 * manual/examples/argp-ex4.c: Likewise.
9521 * manual/examples/atexit.c: Likewise.
9522 * manual/examples/db.c: Likewise.
9523 * manual/examples/dir.c: Likewise.
9524 * manual/examples/dir2.c: Likewise.
9525 * manual/examples/execinfo.c: Likewise.
9526 * manual/examples/filecli.c: Likewise.
9527 * manual/examples/filesrv.c: Likewise.
9528 * manual/examples/fmtmsgexpl.c: Likewise.
9529 * manual/examples/genpass.c: Likewise.
9530 * manual/examples/inetcli.c: Likewise.
9531 * manual/examples/inetsrv.c: Likewise.
9532 * manual/examples/isockad.c: Likewise.
9533 * manual/examples/longopt.c: Likewise.
9534 * manual/examples/memopen.c: Likewise.
9535 * manual/examples/memstrm.c: Likewise.
9536 * manual/examples/mkfsock.c: Likewise.
9537 * manual/examples/mkisock.c: Likewise.
9538 * manual/examples/mygetpass.c: Likewise.
9539 * manual/examples/pipe.c: Likewise.
9540 * manual/examples/popen.c: Likewise.
9541 * manual/examples/rprintf.c: Likewise.
9542 * manual/examples/search.c: Likewise.
9543 * manual/examples/select.c: Likewise.
9544 * manual/examples/setjmp.c: Likewise.
9545 * manual/examples/sigh1.c: Likewise.
9546 * manual/examples/sigusr.c: Likewise.
9547 * manual/examples/stpcpy.c: Likewise.
9548 * manual/examples/strdupa.c: Likewise.
9549 * manual/examples/strftim.c: Likewise.
9550 * manual/examples/strncat.c: Likewise.
9551 * manual/examples/subopt.c: Likewise.
9552 * manual/examples/swapcontext.c: Likewise.
9553 * manual/examples/termios.c: Likewise.
9554 * manual/examples/testopt.c: Likewise.
9555 * manual/examples/testpass.c: Likewise.
9556 * manual/examples/timeval_subtract.c: Likewise.
9559 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9561 * manual/timeval_subtract.c.texi: ... here, new file.
9563 2012-03-02 David S. Miller <davem@davemloft.net>
9565 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9567 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9570 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9571 (__sin): Save and restore rounding mode and use round-to-nearest
9572 for all computations.
9573 (__cos): Save and restore rounding mode and use round-to-nearest
9574 for all computations.
9575 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9577 (tan): Save and restore rounding mode and use round-to-nearest for
9579 * math/libm-test.inc (cos_test_tonearest): New function.
9580 (cos_test_towardzero): Likewise.
9581 (cos_test_downward): Likewise.
9582 (cos_test_upward): Likewise.
9583 (sin_test_tonearest): Likewise.
9584 (sin_test_towardzero): Likewise.
9585 (sin_test_downward): Likewise.
9586 (sin_test_upward): Likewise.
9587 (tan_test_tonearest): Likewise.
9588 (tan_test_towardzero): Likewise.
9589 (tan_test_downward): Likewise.
9590 (tan_test_upward): Likewise.
9591 (main): Call the new functions.
9592 * sysdeps/i386/fpu/libm-test-ulps: Update.
9593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9596 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9597 small n, then large n, before computing and testing k+n.
9598 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9601 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9603 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9604 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9605 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9606 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9607 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9608 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9609 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9610 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9611 * math/libm-test.inc (scalbn_test): Add more tests.
9612 (scalbln_test): Likewise.
9614 * manual/filesys.texi (mode_t): Describe constraints on size and
9615 signedness, not exact equivalence to a particular type.
9617 (ino64_t): Likewise.
9619 (nlink_t): Likewise.
9620 (blkcnt_t): Likewise.
9621 (blkcnt64_t): Likewise.
9622 * manual/llio.texi (off_t): Likewise.
9625 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9626 (__ieee754_exp): Save and restore rounding mode and use
9627 round-to-nearest for all computations.
9628 * math/libm-test.inc (exp_test_tonearest): New function.
9629 (exp_test_towardzero): Likewise.
9630 (exp_test_downward): Likewise.
9631 (exp_test_upward): Likewise.
9632 (main): Call the new functions.
9633 * sysdeps/i386/fpu/libm-test-ulps: Update.
9634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9636 2012-03-01 Chris Demetriou <cgd@google.com>
9638 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9639 have predictable order.
9641 2012-03-01 David S. Miller <davem@davemloft.net>
9643 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9645 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9646 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9647 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9648 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9650 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9651 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9652 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9654 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9655 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9656 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9657 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9658 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9662 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9663 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9664 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9666 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9667 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9668 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9669 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9670 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9671 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9672 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9673 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9674 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9675 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9676 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9677 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9679 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9680 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9682 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9683 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9684 * sysdeps/sparc/elf/configure: Regenerated.
9686 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9688 * configure.in (AS, LD): Require binutils 2.20 or later.
9689 * configure: Regenerated.
9690 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9691 as required minimum version.
9692 * INSTALL: Regenerated.
9696 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9697 before squaring exponent.
9698 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9699 bottom long double and 27 bits of top long double before squaring
9701 * math/libm-test.inc (erfc_test): Add more tests.
9702 * sysdeps/i386/fpu/libm-test-ulps: Update.
9703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9706 2012-03-01 Kai Tietz <ktietz@redhat.com>
9708 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9709 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9710 containing bit-fields.
9711 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9712 * soft-fp/single.h (_FP_UNION_S): Likewise.
9713 * soft-fp/double.h (_FP_UNION_D): Likewise.
9715 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9718 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9719 not include ../strcmp.S.
9720 [USE_AS_STRNCASECMP_L]: Likewise.
9721 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9722 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9723 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9724 (__strncasecmp_l_ia32): Define as alias to
9725 __strncasecmp_l_nonascii.
9728 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9729 * sysdeps/i386/fpu/libm-test-ulps: Update.
9730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9732 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9735 2012-02-29 Jeff Law <law@redhat.com>
9737 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9740 2012-02-29 Marek Polacek <polacek@redhat.com>
9743 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9744 * elf/Makefile: Add rules to run tst-unused-dep.out.
9746 2012-02-28 David S. Miller <davem@davemloft.net>
9748 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9749 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9751 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9752 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9753 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9755 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9757 * math/libm-test.inc (llround_test): Move one test from
9758 lround_test. Use TEST_f_L in moved test.
9759 (lround_test): Move misplaced test to llround_test. Add testcase
9762 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9764 * sysdeps/x86_64/fpu/e_expf.S: New file.
9765 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9767 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9770 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9771 of remain_len that may cause incomplete multi-byte character and
9773 * posix/bug-regex33.c: New file.
9774 * posix/Makefile (tests): Add bug-regex33.
9776 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9778 * manual/macros.texi: New file.
9779 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9780 * manual/libc.texinfo: Include macros.texi.
9781 * manual/creatute.texi: Likewise.
9782 * manual/install.texi: Likewise.
9783 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9784 @glibcadj{} in references to the GNU C Library.
9785 * manual/charset.texi: Likewise.
9786 * manual/conf.texi: Likewise.
9787 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9788 when not using those macros.
9789 * manual/creature.texi: Likewise.
9790 * manual/crypt.texi: Likewise.
9791 * manual/errno.texi: Likewise.
9792 * manual/filesys.texi: Likewise.
9793 * manual/header.texi: Likewise.
9794 * manual/install.texi: Likewise.
9795 * manual/intro.texi: Likewise.
9796 * manual/io.texi: Likewise.
9797 * manual/job.texi: Likewise.
9798 * manual/lang.texi: Likewise.
9799 * manual/libc.texiinfo: Likewise.
9800 * manual/llio.texi: Likewise.
9801 * manual/locale.texi: Likewise.
9802 * manual/maint.texi: Likewise.
9803 * manual/math.texi: Likewise.
9804 * manual/memory.texi: Likewise.
9805 * manual/message.texi: Likewise.
9806 * manual/nss.texi: Likewise.
9807 * manual/pattern.texi: Likewise.
9808 * manual/process.texi: Likewise.
9809 * manual/resource.texi: Likewise.
9810 * manual/search.texi: Likewise.
9811 * manual/setjmp.texi: Likewise.
9812 * manual/signal.texi: Likewise.
9813 * manual/socket.texi: Likewise.
9814 * manual/startup.texi: Likewise.
9815 * manual/stdio.texi: Likewise.
9816 * manual/string.texi: Likewise.
9817 * manual/sysinfo.texi: Likewise.
9818 * manual/syslog.texi: Likewise.
9819 * manual/terminal.texi: Likewise.
9820 * manual/time.texi: Likewise.
9821 * manual/users.texi: Likewise.
9822 * INSTALL: Regenerated.
9823 * NOTES: Regenerated.
9824 * sysdeps/gnu/errlist.c: Regenerated.
9826 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9828 * include/dirent.h: Include <dirstream.h> before
9831 2012-02-28 David S. Miller <davem@davemloft.net>
9833 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9834 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9835 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9836 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9838 2012-02-27 David S. Miller <davem@davemloft.net>
9840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9842 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9843 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9846 frame pointer instead of stack pointer relative arg slot.
9847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9848 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9849 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9851 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9854 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9856 2012-02-27 David S. Miller <davem@davemloft.net>
9858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9862 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9863 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9864 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9865 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9867 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9869 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9870 later. Allow versions 5-9.
9871 * configure: Regenerated.
9872 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9873 required minimum version and 4.6 as recommended version. Do not
9874 mention bugs in GCC 2.7 and 2.8.
9875 * INSTALL: Regenerated.
9877 2012-02-27 David S. Miller <davem@davemloft.net>
9879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9883 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9884 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9885 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9886 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9888 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9889 manipulate bits before adding and subtracting TWO112[sx].
9890 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9892 2012-02-27 Roland McGrath <roland@hack.frob.com>
9895 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9896 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9897 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9898 being in POSIX, because they are in 1003.1-2008.
9900 * rt/tst-aio.c: Include <fcntl.h>.
9901 * rt/tst-aio7.c: Likewise.
9902 * rt/tst-aio64.c: Likewise.
9904 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9906 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9908 * manual/install.texi (--with-headers): Describe headers as
9909 interface headers, not private headers.
9910 (Specific advice for GNU/Linux systems): Describe use of headers
9911 from "make headers_install", not private headers from older
9913 * INSTALL: Regenerated.
9914 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9916 * sysdeps/unix/sysv/linux/configure: Regenerated.
9918 * manual/llio.texi (fclean): Remove documentation.
9920 * manual/Makefile (libc-texi-generated): New variable. Include
9922 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9923 $(libc-texi-generated), not duplicated list of files.
9924 (version.texi, stamp-version): New rules.
9925 (realclean): Remove $(libc-texi-generated), not individual files
9926 from that list. Do not remove dir-add.texinfo.
9927 * manual/libc.texinfo: Comment out uses of edition numbers and
9928 references to printed manual. Remove last-updated dates.
9929 (EDITION): Comment out.
9931 (VERSION, UPDATED): Remove.
9932 (version.texi): Include.
9934 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9936 * sysdeps/posix/spawni.c: Include <signal.h>.
9937 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9938 * sysdeps/pthread/aio_fsync.c: Likewise.
9940 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9942 * conform/Makefile (tests): Run only when not cross-compiling and
9943 when fast-check is not defined.
9945 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9946 * conform/data/limits.h-data: Fixes for POSIX2008.
9947 * conform/run-conformtest.sh: Run all tests.
9948 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9950 * include/bits/dlfcn.h: Likewise.
9951 * include/langinfo.h: Likewise.
9952 * include/monetary.h: Likewise.
9953 * include/sys/poll.h: Likewise.
9955 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9957 * posix/spawn.h: Define __need_sigset_t.
9958 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9959 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9960 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9961 to get sigevent_t only.
9962 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9965 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9966 process_vm_writev only for __USE_GNU.
9967 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9969 * conform/Makefile: For now ignore errors from run-conformtest.
9970 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9971 POSIX to avoid namespace pollution. Don't prepend headers.
9972 * conform/data/aio.h-data: Fixes for POSIX testing.
9973 * conform/data/fcntl.h-data: Likewise.
9974 * conform/data/glob.h-data: Likewise.
9975 * conform/data/grp.h-data: Likewise.
9976 * conform/data/pthread.h-data: Likewise.
9977 * conform/data/pwd.h-data: Likewise.
9978 * conform/data/signal.h-data: Likewise.
9979 * conform/data/spawn.h-data: Likewise.
9980 * conform/data/stdio.h-data: Likewise.
9981 * conform/data/stdlib.h-data: Likewise.
9982 * conform/data/stropts.h-data: Likewise.
9983 * conform/data/sys/mman.h-data: Likewise.
9984 * conform/data/sys/stat.h-data: Likewise.
9985 * conform/data/sys/types.h-data: Likewise.
9986 * conform/data/sys/wait.h-data: Likewise.
9987 * conform/data/time.h-data: Likewise.
9988 * conform/data/unistd.h-data: Likewise.
9989 * conform/data/utime.h-data: Likewise.
9991 * io/sys/stat.h: fchmod was always in POSIX.
9992 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9993 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9994 * rt/aio.h: Define __need_timespec before including <time.h>.
9995 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9996 struct. Add forward declaration of pthread_attr_t and use it in
9998 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9999 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10000 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10001 always remove CLK_TCK definition.
10003 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10005 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10007 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10009 * conform/run-conformtest.sh: New file.
10010 * conform/Makefile: Run run-conformtest for tests.
10011 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10014 * conform/data/uchar.h-data: New file.
10015 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10016 * conform/data/arpa/inet.h-data: Likewise.
10017 * conform/data/assert.h-data: Likewise.
10018 * conform/data/complex.h-data: Likewise.
10019 * conform/data/cpio.h-data: Likewise.
10020 * conform/data/ctype.h-data: Likewise.
10021 * conform/data/dirent.h-data: Likewise.
10022 * conform/data/dlfcn.h-data: Likewise.
10023 * conform/data/errno.h-data: Likewise.
10024 * conform/data/fcntl.h-data: Likewise.
10025 * conform/data/float.h-data: Likewise.
10026 * conform/data/fmtmsg.h-data: Likewise.
10027 * conform/data/fnmatch.h-data: Likewise.
10028 * conform/data/ftw.h-data: Likewise.
10029 * conform/data/glob.h-data: Likewise.
10030 * conform/data/grp.h-data: Likewise.
10031 * conform/data/iconv.h-data: Likewise.
10032 * conform/data/inttypes.h-data: Likewise.
10033 * conform/data/langinfo.h-data: Likewise.
10034 * conform/data/libgen.h-data: Likewise.
10035 * conform/data/limits.h-data: Likewise.
10036 * conform/data/locale.h-data: Likewise.
10037 * conform/data/math.h-data: Likewise.
10038 * conform/data/monetary.h-data: Likewise.
10039 * conform/data/mqueue.h-data: Likewise.
10040 * conform/data/ndbm.h-data: Likewise.
10041 * conform/data/net/if.h-data: Likewise.
10042 * conform/data/netdb.h-data: Likewise.
10043 * conform/data/netinet/in.h-data: Likewise.
10044 * conform/data/nl_types.h-data: Likewise.
10045 * conform/data/poll.h-data: Likewise.
10046 * conform/data/pthread.h-data: Likewise.
10047 * conform/data/pwd.h-data: Likewise.
10048 * conform/data/regex.h-data: Likewise.
10049 * conform/data/sched.h-data: Likewise.
10050 * conform/data/search.h-data: Likewise.
10051 * conform/data/semaphore.h-data: Likewise.
10052 * conform/data/setjmp.h-data: Likewise.
10053 * conform/data/signal.h-data: Likewise.
10054 * conform/data/spawn.h-data: Likewise.
10055 * conform/data/stdarg.h-data: Likewise.
10056 * conform/data/stdio.h-data: Likewise.
10057 * conform/data/stdlib.h-data: Likewise.
10058 * conform/data/string.h-data: Likewise.
10059 * conform/data/strings.h-data: Likewise.
10060 * conform/data/stropts.h-data: Likewise.
10061 * conform/data/sys/ipc.h-data: Likewise.
10062 * conform/data/sys/mman.h-data: Likewise.
10063 * conform/data/sys/msg.h-data: Likewise.
10064 * conform/data/sys/resource.h-data: Likewise.
10065 * conform/data/sys/select.h-data: Likewise.
10066 * conform/data/sys/sem.h-data: Likewise.
10067 * conform/data/sys/shm.h-data: Likewise.
10068 * conform/data/sys/socket.h-data: Likewise.
10069 * conform/data/sys/stat.h-data: Likewise.
10070 * conform/data/sys/statvfs.h-data: Likewise.
10071 * conform/data/sys/time.h-data: Likewise.
10072 * conform/data/sys/timeb.h-data: Likewise.
10073 * conform/data/sys/times.h-data: Likewise.
10074 * conform/data/sys/types.h-data: Likewise.
10075 * conform/data/sys/uio.h-data: Likewise.
10076 * conform/data/sys/un.h-data: Likewise.
10077 * conform/data/sys/utsname.h-data: Likewise.
10078 * conform/data/sys/wait.h-data: Likewise.
10079 * conform/data/syslog.h-data: Likewise.
10080 * conform/data/tar.h-data: Likewise.
10081 * conform/data/termios.h-data: Likewise.
10082 * conform/data/utime.h-data: Likewise.
10083 * conform/data/utmpx.h-data: Likewise.
10084 * conform/data/varargs.h-data: Likewise.
10085 * conform/data/wchar.h-data: Likewise.
10086 * conform/data/wctype.h-data: Likewise.
10087 * conform/data/wordexp.h-data: Likewise.
10089 * include/stropts.h: New file.
10090 * include/uchar.h: New file.
10091 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10092 * include/assert.h: Likewise.
10093 * include/ctype.h: Likewise.
10094 * include/dirent.h: Likewise.
10095 * include/dlfcn.h: Likewise.
10096 * include/fcntl.h: Likewise.
10097 * include/fnmatch.h: Likewise.
10098 * include/glob.h: Likewise.
10099 * include/grp.h: Likewise.
10100 * include/libio.h: Likewise.
10101 * include/locale.h: Likewise.
10102 * include/math.h: Likewise.
10103 * include/net/if.h: Likewise.
10104 * include/netdb.h: Likewise.
10105 * include/netinet/in.h: Likewise.
10106 * include/pthread.h: Likewise.
10107 * include/pwd.h: Likewise.
10108 * include/regex.h: Likewise.
10109 * include/sched.h: Likewise.
10110 * include/search.h: Likewise.
10111 * include/setjmp.h: Likewise.
10112 * include/signal.h: Likewise.
10113 * include/stdio.h: Likewise.
10114 * include/stdlib.h: Likewise.
10115 * include/string.h: Likewise.
10116 * include/sys/cdefs.h: Likewise.
10117 * include/sys/mman.h: Likewise.
10118 * include/sys/msg.h: Likewise.
10119 * include/sys/resource.h: Likewise.
10120 * include/sys/select.h: Likewise.
10121 * include/sys/socket.h: Likewise.
10122 * include/sys/stat.h: Likewise.
10123 * include/sys/statvfs.h: Likewise.
10124 * include/sys/time.h: Likewise.
10125 * include/sys/times.h: Likewise.
10126 * include/sys/uio.h: Likewise.
10127 * include/sys/utsname.h: Likewise.
10128 * include/sys/wait.h: Likewise.
10129 * include/termios.h: Likewise.
10130 * include/time.h: Likewise.
10131 * include/ulimit.h: Likewise.
10132 * include/unistd.h: Likewise.
10133 * include/utime.h: Likewise.
10134 * include/wchar.h: Likewise.
10135 * include/wctype.h: Likewise.
10136 * include/wordexp.h: Likewise.
10138 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10140 * time/time.h: TIME_UTC must be a macro.
10141 Make timespec_get available for ISO C11 only as well.
10143 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10145 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10146 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10148 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10150 * configure.in: Use -o not -a in test for unsupported multi-arch.
10152 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10154 * manual/texinfo.tex: Update to version 2012-01-19.16.
10156 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10158 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10160 2012-02-24 Roland McGrath <roland@hack.frob.com>
10163 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10164 * manual/fdl-1.3.texi: New file.
10165 * manual/fdl-1.1.texi: File removed.
10168 * manual/libc.texinfo (FDL_VERSION): New @set.
10169 Use it for mention of FDL in cover text.
10170 (Documentation License): Use it in @include file name.
10172 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10173 Roland McGrath <roland@hack.frob.com>
10176 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10177 not LONG_LONG_MAX and LONG_LONG_MIN.
10178 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10179 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10181 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10183 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10187 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10188 manipulate bits before adding and subtracting TWO23[sx].
10189 * math/libm-test.inc (nearbyint_test): Add more tests.
10191 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10194 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10195 bits before adding and subtracting TWO23[sx].
10196 * math/libm-test.inc (rint_test): Add more tests.
10197 (rint_test_tonearest): Likewise.
10198 (rint_test_towardzero): Likewise.
10199 (rint_test_downward): Likewise.
10200 (rint_test_upward: Likewise.
10202 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10205 * include/stdc-predef.h: New file. Extracted from features.h.
10206 * include/features.h: Include stdc-predef.h.
10207 * Makefile (headers): Add stdc-predef.h.
10208 * CONFORMANCE (Compiler limitations): Update.
10210 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10212 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10214 2012-02-21 David S. Miller <davem@davemloft.net>
10216 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10217 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10219 2012-02-20 David S. Miller <davem@davemloft.net>
10221 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10222 using a normal save/restore sequence, rather than allocating a
10223 dummy stack frame just to store a frame pointer and restore.
10224 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10226 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10228 * manual/install.texi: Fix stray word in line-wrapped comment.
10230 2012-02-20 David S. Miller <davem@davemloft.net>
10232 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10233 both binutils and gcc support GOTDATA.
10235 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10236 "rd %pc" in the PIC register setup sequences.
10238 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10239 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10240 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10241 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10242 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10245 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10247 (SYSCALL_ERROR_HANDLER): Likewise.
10248 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10249 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10251 (SYSCALL_ERROR_HANDLER): Likewise.
10253 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10254 (HAVE_GCC_GOTDATA): New.
10255 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10256 relocation support in both binutils and gcc.
10257 * sysdeps/sparc/elf/configure: Regenerate.
10259 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10260 * sysdeps/sparc/sparc32/elf/configure: Delete.
10261 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10262 * sysdeps/sparc/sparc64/elf/configure: Delete.
10263 * sysdeps/sparc/elf/configure.in: New file.
10264 * sysdeps/sparc/elf/configure: Generate.
10266 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10267 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10268 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10269 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10270 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10272 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10274 * manual/install.texi: Do not mention specific glibc version
10276 * manual/libc.texinfo (VERSION, UPDATED): Update.
10277 (@copying): Use @copyright{} and range of years.
10279 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10282 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10283 [crti.S not in sysdirs] (generated): Do not append.
10284 [crti.S not in sysdirs] (omit-deps): Likewise.
10285 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10286 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10287 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10288 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10289 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10291 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10292 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10293 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10294 * csu/defs.awk: Remove file.
10295 * sysdeps/generic/initfini.c: Likewise.
10296 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10298 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10301 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10303 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10304 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10305 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10306 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10307 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10308 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10310 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10311 (__EPOLL_PACKED): Define to empty if not defined by
10313 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10317 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10319 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10320 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10321 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10322 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10324 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10328 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10330 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10332 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10333 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10334 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10337 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10339 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10340 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10342 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10344 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10345 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10347 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10349 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10352 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10354 * math/w_acos.c: Use non-signaling floating-point comparisons.
10355 * math/w_acosf.c: Likewise.
10356 * math/w_acosh.c: Likewise.
10357 * math/w_acoshf.c: Likewise.
10358 * math/w_acoshl.c: Likewise.
10359 * math/w_acosl.c: Likewise.
10360 * math/w_asin.c: Likewise.
10361 * math/w_asinf.c: Likewise.
10362 * math/w_asinl.c: Likewise.
10363 * math/w_atanh.c: Likewise.
10364 * math/w_atanhf.c: Likewise.
10365 * math/w_atanhl.c: Likewise.
10366 * math/w_exp2.c: Likewise.
10367 * math/w_exp2f.c: Likewise.
10368 * math/w_exp2l.c: Likewise.
10369 * math/w_j0.c: Likewise.
10370 * math/w_j0f.c: Likewise.
10371 * math/w_j0l.c: Likewise.
10372 * math/w_j1.c: Likewise.
10373 * math/w_j1f.c: Likewise.
10374 * math/w_j1l.c: Likewise.
10375 * math/w_jn.c: Likewise.
10376 * math/w_jnf.c: Likewise.
10377 * math/w_log.c: Likewise.
10378 * math/w_log10.c: Likewise.
10379 * math/w_log10f.c: Likewise.
10380 * math/w_log10l.c: Likewise.
10381 * math/w_log2.c: Likewise.
10382 * math/w_log2f.c: Likewise.
10383 * math/w_log2l.c: Likewise.
10384 * math/w_logf.c: Likewise.
10385 * math/w_logl.c: Likewise.
10386 * math/w_sqrt.c: Likewise.
10387 * math/w_sqrtf.c: Likewise.
10388 * math/w_sqrtl.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10391 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10392 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10393 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10395 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10398 * manual/string.texi (strnlen): Use correct parameter name in
10399 equivalent expression.
10401 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10404 * manual/users.texi (seteuid): Consistently use neweuid for
10407 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10410 * manual/nss.texi (Services in the NSS configuration): Correct
10411 list of services in example configuration file.
10413 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10416 * manual/arith.texi: Remove statements about negative zero
10417 behaving identically to zero.
10419 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10422 * manual/install.texi: Do not document upgrading from libc5.
10424 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10427 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10429 2012-02-18 David S. Miller <davem@davemloft.net>
10431 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10432 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10433 %o7 across the call.
10434 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10436 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10437 SETUP_PIC_REG_LEAF.
10438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10439 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10440 * sysdeps/sparc/crtn.S: Likewise.
10442 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10444 * aout/Makefile: Remove.
10446 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10449 * manual/examples/argp-ex1.c (main): Format definition in GNU
10451 * manual/examples/argp-ex2.c (main): Likewise.
10452 * manual/examples/argp-ex3.c (main): Likewise.
10453 * manual/examples/argp-ex4.c (main): Likewise.
10454 * manual/examples/longopt.c (main): Use new-style prototype
10456 * manual/examples/strncat.c (main): Specify return type and use
10457 (void) for arguments.
10458 * manual/examples/subopt.c (main): Use char **argv argument.
10460 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10463 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10466 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10469 * manual/string.texi (strchr): Change when strchrnul is
10472 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10475 * manual/locale.texi (setlocale): Document LOCPATH.
10477 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10480 * manual/process.texi (execle): Move @dots{} before last argument.
10482 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10485 * manual/charset.texi (Generic Charset Conversion): Fix typo
10486 (LC_TYPE -> LC_CTYPE).
10488 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10491 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10492 (scalbnf): Likewise.
10493 (scalbnl): Likewise.
10494 (scalbln): Likewise.
10495 (scalblnf): Likewise.
10496 (scalblnl): Likewise.
10497 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10498 (vwarnx): Likewise.
10501 * manual/filesys.texi (telldir): Use braces around return type.
10502 * manual/llio.texi (mmap): Add space after comma.
10503 (mmap64): Likewise.
10504 * manual/math.texi (jn): Use @var{} on parameter names.
10510 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10512 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10514 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10515 (sched_get_priority_max): Likewise.
10516 * manual/signal.texi (sigvec): Add space after comma.
10517 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10519 (if_indextoname): Likewise.
10520 (if_freenameindex): Likewise.
10521 (sendto): Use ',' instead of '.' in prototype.
10522 * manual/startup.texi (syscall): Use @dots{} instead of literal
10524 * manual/stdio.texi (__fpending): Separate initial words of
10525 paragraph from @deftypefun line.
10526 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10528 (vsyslog): Use @var{} on parameter names.
10529 * manual/terminal.texi (stty): Use @var{} on parameter names.
10530 * manual/users.texi (getutmp): Use @var{} on parameter names.
10531 (getutmpx): Likewise.
10533 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10536 * manual/stdio.texi (fopen): Fix typos in description of
10539 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10542 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10543 get clock_id definition.
10545 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10548 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10549 (madvise): Cast every argument to void on its own.
10551 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10554 * manual/startup.texi (Exit Status): Fix typo.
10556 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10559 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10560 * manual/examples/argp-ex2.c: Likewise.
10561 * manual/examples/argp-ex3.c: Likewise.
10563 2012-02-16 Richard Henderson <rth@redhat.com>
10565 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10566 * sysdeps/s390/s390-32/initfini.c: Remove.
10567 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10568 * sysdeps/s390/s390-64/initfini.c: Remove.
10570 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10572 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10573 compiler output for sysdeps/generic/initfini.c.
10574 * sysdeps/sh/elf/initfini.c: Remove file.
10576 2012-02-16 David S. Miller <davem@davemloft.net>
10579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10581 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10582 * sysdeps/sparc/crti.S: New file.
10583 * sysdeps/sparc/crtn.S: New file.
10584 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10585 * sysdeps/sparc/sparc64/Makefile: Likewise.
10587 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10590 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10592 2012-02-15 Roland McGrath <roland@hack.frob.com>
10595 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10597 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10598 (write, read, close): Likewise.
10599 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10601 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10603 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10604 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10605 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10606 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10608 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10612 2012-02-14 Marek Polacek <polacek@redhat.com>
10614 * sysdeps/x86_64/crti.S: New file.
10615 * sysdeps/x86_64/crtn.S: New file.
10616 * sysdeps/x86_64/elf/initfini.c: Remove file.
10618 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10620 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10621 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10622 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10623 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10625 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10629 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10631 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10632 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10633 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10634 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10636 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10640 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10642 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10643 __feraiseexcept instead of feraiseexcept.
10645 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10646 nanosleep invocations.
10647 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10648 strings, and add error checking for a nanosleep invocations.
10650 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10652 Replace FSF snail mail address with URLs, as per GNU coding standards.
10653 Most of the snail mail addresses were wrong anyway, and omitting
10654 them makes the source code easier to maintain. Almost all of the
10655 changes are to license notices and to locale LC_IDENTIFICATION
10656 addresses, except for this one:
10657 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10658 not its snail mail address.
10660 2012-02-09 Richard Henderson <rth@twiddle.net>
10662 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10663 of kernel-features.h.
10665 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10667 2012-02-08 Marek Polacek <polacek@redhat.com>
10669 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10670 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10671 * sysdeps/gnu/_G_config.h: Likewise.
10672 * sysdeps/generic/_G_config.h: Likewise.
10674 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10676 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10680 * sysdeps/powerpc/powerpc32/crti.S: New file.
10681 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10682 * sysdeps/powerpc/powerpc64/crti.S: New file.
10683 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10685 * Makeconfig (have-initfini): Don't set.
10686 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10687 * configure.in (nopic_initfini): Don't substitute.
10688 * config.h.in (HAVE_INITFINI): Don't #undef.
10689 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10690 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10692 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10694 Support crti.S and crtn.S provided directly by architectures.
10695 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10696 [crti.S in sysdirs] (omit-deps): Likewise.
10697 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10698 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10699 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10700 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10701 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10702 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10703 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10704 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10705 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10706 compiler output for sysdeps/generic/initfini.c.
10707 * sysdeps/i386/elf/Makefile: Remove file.
10708 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10710 2012-02-07 Marek Polacek <polacek@redhat.com>
10712 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10713 * sysdeps/gnu/_G_config.h: Likewise.
10714 * sysdeps/mach/hurd/_G_config.h: Likewise.
10716 2012-02-07 Marek Polacek <polacek@redhat.com>
10718 * math/Makefile (tests): Add tst-CMPLX2.
10719 * math/tst-CMPLX2.c: New file.
10721 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10723 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10725 * math/libm-test.inc (jn_test): Add missing L suffix.
10727 2012-02-06 Marek Polacek <polacek@redhat.com>
10729 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10730 * sysdeps/i386/fpu/e_powf.S: Likewise.
10731 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10732 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10733 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10734 * sysdeps/i386/fpu/e_pow.S: Likewise.
10735 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10736 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10737 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10738 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10739 * sysdeps/i386/fpu/e_log2.S: Likewise.
10740 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10741 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10742 * sysdeps/i386/fpu/e_powl.S: Likewise.
10743 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10744 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10745 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10746 * sysdeps/i386/fpu/e_logl.S: Likewise.
10747 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10748 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10749 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10750 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10751 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10752 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10753 * sysdeps/i386/fpu/e_log.S: Likewise.
10754 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10755 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10756 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10757 * sysdeps/i386/fpu/e_logf.S: Likewise.
10758 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10759 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10760 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10761 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10762 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10763 * sysdeps/i386/fpu/e_log10.S: Likewise.
10764 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10765 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10766 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10767 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10768 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10769 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10770 * sysdeps/i386/asm-syntax.h: Likewise.
10771 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10772 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10773 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10774 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10775 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10776 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10777 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10778 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10779 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10780 * sysdeps/powerpc/sysdep.h: Likewise.
10781 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10782 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10784 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10787 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10789 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10791 * sysdeps/i386/sysdep.h: Include <features.h>.
10792 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10795 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10797 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10799 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10802 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10804 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10805 (SETUP_PIC_REG): Use GET_PC_THUNK.
10806 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10809 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10811 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10812 for non-PIC compilation.
10813 (SETUP_PIC_REG): Add .p2align directive.
10814 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10815 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10816 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10817 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10818 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10819 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10820 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10821 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10822 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10823 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10824 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10825 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10826 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10827 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10828 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10829 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10830 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10831 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10832 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10833 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10834 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10835 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10836 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10837 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10838 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10840 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10841 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10842 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10843 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10844 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10845 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10846 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10847 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10848 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10849 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10850 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10851 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10852 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10853 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10854 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10856 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10858 * math/tst-CMPLX.c: Include <stdio.h>.
10860 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10862 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10864 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10865 * sysdeps/sparc/bits/mathdef.h: Likewise.
10867 2012-01-31 Marek Polacek <polacek@redhat.com>
10869 * libio/libio.h: Don't define _PARAMS.
10870 * locale/programs/config.h: Don't define PARAMS.
10871 * stdlib/strtol_l.c: Likewise.
10872 (__strtol_l): Remove PARAMS from the prototype.
10874 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10876 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10877 names. Just use the correct names. Remove unnecessary wrapper
10879 * malloc/arena.c: Likewise.
10880 * malloc/hooks.c: Likewise.
10882 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10883 ARENA_TEST says not to. Simplify test for creation of a new arena.
10884 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10886 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10888 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10890 (update_get_addr): New function.
10891 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10892 GET_ADDR_MODULE parameter.
10894 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10896 * crypt/cert.c: Remove __STDC__ conditionals.
10897 * crypt/crypt-entry.c: Likewise.
10898 * crypt/crypt_util.c: Likewise.
10899 * libio/filedoalloc.c: Likewise.
10900 * libio/fileops.c: Likewise.
10901 * libio/genops.c: Likewise.
10902 * libio/iofclose.c: Likewise.
10903 * libio/iofdopen.c: Likewise.
10904 * libio/iofopen.c: Likewise.
10905 * libio/iofopen64.c: Likewise.
10906 * libio/iogetdelim.c: Likewise.
10907 * libio/iopopen.c: Likewise.
10908 * libio/obprintf.c: Likewise.
10909 * libio/oldfileops.c: Likewise.
10910 * libio/oldiofclose.c: Likewise.
10911 * libio/oldiofdopen.c: Likewise.
10912 * libio/oldiofopen.c: Likewise.
10913 * libio/oldiopopen.c: Likewise.
10914 * libio/wfiledoalloc.c: Likewise.
10915 * libio/wgenops.c: Likewise.
10916 * locale/programs/xmalloc.c: Likewise.
10917 * misc/syslog.c: Likewise.
10918 * stdio-common/xbug.c: Likewise.
10919 * string/memchr.c: Likewise.
10920 * string/memcmp.c: Likewise.
10921 * string/memrchr.c: Likewise.
10922 * string/rawmemchr.c: Likewise.
10923 * sysdeps/posix/getcwd.c: Likewise.
10924 * time/strftime_l.c: Likewise.
10926 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10928 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10929 * config.make.in (config-cflags-sse2avx): Define.
10930 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10933 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10935 * scripts/config.guess: Update from upstream config git repository.
10936 * scripts/config.sub: Likewise.
10938 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10940 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10942 (R_TILEPRO_*, R_TILEGX_*): New macros.
10944 * scripts/firstversions.awk: Fix bug in version range handling.
10946 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10948 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10950 * include/sys/epoll.h: New file.
10951 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10954 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10956 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10957 Avoid unnecessary __WORDSIZE == 64 test.
10958 (fmaxf): Use VEX format if possible.
10963 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10964 * math/math_private.h: Remove libc_fegetround* and
10966 * sysdeps/i386/configure.in: Check for -msse2avx.
10967 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10968 also if SSE2AVX is defined.
10969 Remove libc_fegetround* and libc_fesetround*.
10970 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10971 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10972 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10974 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10975 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10976 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10977 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10978 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10980 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10982 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10984 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10986 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10988 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10991 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10993 * Makeconfig (libm): Define.
10994 * elf/Makefile: Add rules to build and run tst-relsort1.
10995 * elf/tst-relsort1.c: New file.
10996 * elf/tst-relsort1mod1.c: New file.
10997 * elf/tst-relsort1mod2.c: New file.
10999 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11001 * math/s_ldexp.c: Remove __STDC__ conditionals.
11002 * math/s_ldexpf.c: Likewise.
11003 * math/s_ldexpl.c: Likewise.
11004 * math/s_nextafter.c: Likewise.
11005 * math/s_nexttowardf.c: Likewise.
11006 * math/s_significand.c: Likewise.
11007 * math/s_significandf.c: Likewise.
11008 * math/s_significandl.c: Likewise.
11009 * math/w_jnl.c: Likewise.
11010 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11011 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11012 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11013 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11014 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11016 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11017 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11018 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11019 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11020 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11022 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11024 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11025 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11029 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11030 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11031 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11032 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11033 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11034 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11035 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11036 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11037 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11038 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11039 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11040 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11041 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11042 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11043 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11044 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11045 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11046 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11047 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11048 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11049 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11050 * sysdeps/ieee754/k_standard.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11112 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11117 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11125 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11126 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11130 * sysdeps/ieee754/s_matherr.c: Likewise.
11131 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11132 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11133 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11134 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11136 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11138 * crypt/md5.h: Remove __STDC__ conditionals.
11139 * libio/libioP.h: Likewise.
11140 * locale/programs/config.h: Likewise.
11141 * sysdeps/generic/sysdep.h: Likewise.
11142 * sysdeps/i386/asm-syntax.h: Likewise.
11143 * sysdeps/s390/asm-syntax.h: Likewise.
11144 * sysdeps/unix/sysdep.h: Likewise.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11148 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11150 * libio/libio.h: Remove __STDC__ conditionals.
11151 * malloc/obstack.h: Likewise.
11152 * math/complex.h: Likewise.
11153 * math/math.h: Likewise.
11154 * sysdeps/generic/_G_config.h: Likewise.
11155 * sysdeps/gnu/_G_config.h: Likewise.
11156 * sysdeps/mach/hurd/_G_config.h: Likewise.
11157 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11158 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11159 * sysdeps/sparc/bits/mathdef.h: Likewise.
11161 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11164 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11165 Clean up HAS_* macros.
11166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11167 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11169 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11171 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11172 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11173 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11174 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11175 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11177 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11179 * elf/tst-unique3.cc (gets): Remove declaration.
11180 * elf/tst-unique3lib.cc (gets): Likewise.
11181 * elf/tst-unique3lib2.cc (gets): Likewise.
11182 * elf/tst-unique4.cc (gets): Likewise.
11184 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11186 * include/stdio.h: Add C++ protection. Add gets declarations and
11188 * debug/tst-chk1.c: Don't declare gets here.
11189 * stdio-common/tst-gets.c: Likewise.
11191 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11193 * posix/glob: Remove directory.
11195 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11197 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11199 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11201 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11202 of the non-standard EPFNOSUPPORT.
11204 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11206 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11207 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11208 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11210 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11212 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11214 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11216 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11218 * nscd/grpcache.c (cache_addgr): Likewise.
11219 * nscd/hstcache.c (cache_addhst): Likewise.
11220 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11221 * nscd/pwdcache.c (cache_addpw): Likewise.
11222 * nscd/servicescache.c (cache_addserv): Likewise.
11224 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11226 * malloc/malloc.c: Various cleanups.
11227 * malloc/hooks.c: Likewise.
11229 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11230 * stdlib/bug-fmtmsg1.c: New file.
11232 * stdlib/fmtmsg.c (init): Add missing unlock.
11233 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11235 2012-01-12 Marek Polacek <polacek@redhat.com>
11237 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11240 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11242 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11243 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11244 macro to ensure uniqueness of label name.
11245 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11246 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11248 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11250 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11252 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11253 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11257 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11259 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11261 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11262 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11263 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11265 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11267 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11268 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11272 * math/bits/math-finite.h: Add ldexp support.
11274 2012-01-10 Marek Polacek <polacek@redhat.com>
11276 * locale/programs/localedef.h (show_archive_content): Add noreturn
11279 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11281 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11283 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11285 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11287 * io/Makefile (headers): Add bits/poll2.h.
11289 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11292 typo #include statement.
11294 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11296 * include/sys/cdefs.h: Define __attribute_alloc_size.
11297 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11298 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11299 * elf/pldd.c: Likewise.
11300 * iconv/iconv_charmap.c: Likewise.
11301 * iconv/iconvconfig.c: Likewise.
11302 * iconv/strtab.c: Likewise.
11303 * locale/programs/locale.c: Likewise.
11304 * locale/programs/localedef.h: Likewise.
11305 * locale/programs/simple-hash.c: Likewise.
11306 * nscd/nscd.h: Likewise.
11307 * nss/makedb.c: Likewise.
11308 * sysdeps/generic/ldconfig.h: Likewise.
11309 * locale/programs/localedef.c: Remove xmalloc prototype.
11310 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11312 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11314 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11317 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11319 * math/Makefile (tests): Add tst-CMPLX.
11320 * math/tst-CMPLX.c: New file.
11322 * math/complex.h (CMPLXL): Fix typo.
11324 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11325 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11327 * debug/tst-chk1.c: Add poll and ppoll tests.
11328 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11329 * include/sys/poll.h: Add hidden proto for ppoll.
11330 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11331 * sysdeps/mach/hurd/ppoll.c: Likewise.
11332 * io/ppoll.c: Likewise.
11333 * debug/poll_chk.c: New file.
11334 * debug/ppoll_chk.c: New file.
11335 * include/bits/poll2.h: New file.
11336 * io/bits/poll2.h: New file.
11339 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11341 * configure.in: static is always set to yes. Remove.
11342 * config.make.in: Don't set build-static.
11343 * Makeconfig: Remove use of build-static.
11344 * dlfcn/Makefile: Likewise.
11345 * elf/Makefile: Likewise.
11346 * math/Makefile: Likewise.
11347 * misc/Makefile: Likewise.
11348 * nptl/Makefile: Likewise.
11349 * sysdeps/mach/hurd/Makefile: Likewise.
11351 * configure.in: PWD_P is not used anymore.
11352 * config.make.in: Remove PWD_P entry.
11354 * configure.in: Remove last remnants of RANLIB.
11355 No need to check for signed size_t anymore.
11356 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11358 Remove __builtin_expect test because we require at least gcc 3.4.
11359 * aclocal.m4: Likewise.
11361 * wcsmbs/mbrtoc16.c: Implement using towc function.
11362 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11363 * wcsmbs/wcsmbsload.c: Likewise.
11364 * iconv/gconv_simple.c: Likewise.
11365 * iconv/gconv_int.h: Likewise.
11366 * iconv/gconv_builtin.h: Likewise.
11367 * iconv/iconv_prog.c: Remove CHAR16 handling.
11369 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11371 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11373 * configure.in: Remove --with-elf and --enable-bounded options.
11374 Dont set base_machine for ia64. More non-ELF conditions removed.
11375 Remove testing and setting of leading underscore information.
11376 * config.make.in (build-bounded): Set to no.
11377 * config.h.in: Remove NO_UNDERSCORES entry.
11378 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11380 * csu/start.c: Remove !NO_UNDERSCORE code.
11381 * locale/localeinfo.h: Likewise.
11382 * sysdeps/generic/machine-gmon.h: Likewise.
11383 * sysdeps/generic/sysdep.h: Likewise.
11384 * sysdeps/i386/sysdep.h: Likewise.
11385 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11386 * sysdeps/mach/sysdep.h: Likewise.
11387 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11388 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11389 * sysdeps/sh/sysdep.h: Likewise.
11390 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11391 * sysdeps/unix/i386/sysdep.S: Likewise.
11392 * sysdeps/unix/sparc/start.c: Likewise.
11393 * sysdeps/unix/sparc/sysdep.S: Likewise.
11394 * sysdeps/unix/sparc/sysdep.h: Likewise.
11395 * sysdeps/unix/start.c: Likewise.
11396 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11397 * sysdeps/x86_64/sysdep.h: Likewise.
11399 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11402 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11404 * argp/argp-fmtstream.h: Use const instead __const.
11405 * argp/argp.h: Likewise.
11406 * assert/assert.h: Likewise.
11407 * bits/fenv.h: Likewise.
11408 * bits/sched.h: Likewise.
11409 * bits/sigset.h: Likewise.
11410 * bits/sigthread.h: Likewise.
11411 * catgets/nl_types.h: Likewise.
11412 * conform/data/pthread.h-data: Likewise.
11413 * crypt/crypt-private.h: Likewise.
11414 * crypt/crypt.h: Likewise.
11415 * crypt/crypt_util.c: Likewise.
11416 * ctype/ctype.h: Likewise.
11417 * debug/execinfo.h: Likewise.
11418 * debug/mbsnrtowcs_chk.c: Likewise.
11419 * debug/mbsrtowcs_chk.c: Likewise.
11420 * debug/wcsnrtombs_chk.c: Likewise.
11421 * debug/wcsrtombs_chk.c: Likewise.
11422 * debug/wcstombs_chk.c: Likewise.
11423 * dirent/dirent.h: Likewise.
11424 * dlfcn/dlfcn.h: Likewise.
11425 * elf/neededtest4.c: Likewise.
11426 * grp/grp.h: Likewise.
11427 * gshadow/gshadow.h: Likewise.
11428 * iconv/gconv.h: Likewise.
11429 * iconv/gconv_int.h: Likewise.
11430 * iconv/gconv_simple.c: Likewise.
11431 * iconv/iconv.h: Likewise.
11432 * iconv/loop.c: Likewise.
11433 * iconv/skeleton.c: Likewise.
11434 * include/aio.h: Likewise.
11435 * include/aliases.h: Likewise.
11436 * include/argz.h: Likewise.
11437 * include/arpa/inet.h: Likewise.
11438 * include/assert.h: Likewise.
11439 * include/dirent.h: Likewise.
11440 * include/dlfcn.h: Likewise.
11441 * include/execinfo.h: Likewise.
11442 * include/fcntl.h: Likewise.
11443 * include/fenv.h: Likewise.
11444 * include/glob.h: Likewise.
11445 * include/grp.h: Likewise.
11446 * include/libintl.h: Likewise.
11447 * include/mntent.h: Likewise.
11448 * include/netdb.h: Likewise.
11449 * include/pwd.h: Likewise.
11450 * include/rpc/netdb.h: Likewise.
11451 * include/sched.h: Likewise.
11452 * include/search.h: Likewise.
11453 * include/shadow.h: Likewise.
11454 * include/signal.h: Likewise.
11455 * include/stdio.h: Likewise.
11456 * include/stdlib.h: Likewise.
11457 * include/string.h: Likewise.
11458 * include/sys/socket.h: Likewise.
11459 * include/sys/stat.h: Likewise.
11460 * include/sys/statfs.h: Likewise.
11461 * include/sys/statvfs.h: Likewise.
11462 * include/sys/syslog.h: Likewise.
11463 * include/sys/time.h: Likewise.
11464 * include/sys/uio.h: Likewise.
11465 * include/time.h: Likewise.
11466 * include/unistd.h: Likewise.
11467 * include/utmp.h: Likewise.
11468 * include/wchar.h: Likewise.
11469 * include/wctype.h: Likewise.
11470 * inet/aliases.h: Likewise.
11471 * inet/arpa/inet.h: Likewise.
11472 * inet/netinet/ether.h: Likewise.
11473 * inet/netinet/in.h: Likewise.
11474 * intl/libintl.h: Likewise.
11475 * io/bits/fcntl2.h: Likewise.
11476 * io/fcntl.h: Likewise.
11477 * io/ftw.h: Likewise.
11478 * io/sys/poll.h: Likewise.
11479 * io/sys/stat.h: Likewise.
11480 * io/sys/statfs.h: Likewise.
11481 * io/sys/statvfs.h: Likewise.
11482 * io/utime.h: Likewise.
11483 * libio/bits/stdio.h: Likewise.
11484 * libio/bits/stdio2.h: Likewise.
11485 * libio/libio.h: Likewise.
11486 * libio/libioP.h: Likewise.
11487 * libio/stdio.h: Likewise.
11488 * locale/lc-ctype.c: Likewise.
11489 * locale/locale.h: Likewise.
11490 * login/utmp.h: Likewise.
11491 * malloc/arena.c: Likewise.
11492 * malloc/malloc.c: Likewise.
11493 * malloc/malloc.h: Likewise.
11494 * malloc/mcheck.c: Likewise.
11495 * malloc/mtrace.c: Likewise.
11496 * math/bits/mathcalls.h: Likewise.
11497 * math/fenv.h: Likewise.
11498 * math/math_private.h: Likewise.
11499 * misc/bits/error.h: Likewise.
11500 * misc/bits/syslog.h: Likewise.
11501 * misc/err.h: Likewise.
11502 * misc/error.h: Likewise.
11503 * misc/fstab.h: Likewise.
11504 * misc/mntent.h: Likewise.
11505 * misc/regexp.h: Likewise.
11506 * misc/search.h: Likewise.
11507 * misc/sgtty.h: Likewise.
11508 * misc/sys/mman.h: Likewise.
11509 * misc/sys/syslog.h: Likewise.
11510 * misc/sys/uio.h: Likewise.
11511 * misc/sys/xattr.h: Likewise.
11512 * misc/ttyent.h: Likewise.
11513 * nis/rpcsvc/ypclnt.h: Likewise.
11514 * nss/nss.h: Likewise.
11515 * posix/bits/unistd.h: Likewise.
11516 * posix/fnmatch.h: Likewise.
11517 * posix/glob.h: Likewise.
11518 * posix/sched.h: Likewise.
11519 * posix/spawn.h: Likewise.
11520 * posix/sys/wait.h: Likewise.
11521 * posix/unistd.h: Likewise.
11522 * posix/wordexp.h: Likewise.
11523 * pwd/pwd.h: Likewise.
11524 * resolv/netdb.h: Likewise.
11525 * resource/sys/resource.h: Likewise.
11526 * rt/aio.h: Likewise.
11527 * rt/bits/mqueue2.h: Likewise.
11528 * rt/mqueue.h: Likewise.
11529 * shadow/shadow.h: Likewise.
11530 * signal/signal.h: Likewise.
11531 * socket/send.c: Likewise.
11532 * socket/sendto.c: Likewise.
11533 * socket/sys/socket.h: Likewise.
11534 * stdio-common/printf.h: Likewise.
11535 * stdlib/bits/stdlib.h: Likewise.
11536 * stdlib/fmtmsg.h: Likewise.
11537 * stdlib/monetary.h: Likewise.
11538 * stdlib/stdlib.h: Likewise.
11539 * stdlib/ucontext.h: Likewise.
11540 * streams/stropts.h: Likewise.
11541 * string/argz.h: Likewise.
11542 * string/bits/string2.h: Likewise.
11543 * string/string.h: Likewise.
11544 * string/strings.h: Likewise.
11545 * sunrpc/rpc/auth.h: Likewise.
11546 * sunrpc/rpc/auth_des.h: Likewise.
11547 * sunrpc/rpc/clnt.h: Likewise.
11548 * sunrpc/rpc/netdb.h: Likewise.
11549 * sunrpc/rpc/pmap_clnt.h: Likewise.
11550 * sunrpc/rpc/xdr.h: Likewise.
11551 * sysdeps/generic/inttypes.h: Likewise.
11552 * sysdeps/generic/net/if.h: Likewise.
11553 * sysdeps/generic/sys/swap.h: Likewise.
11554 * sysdeps/gnu/net/if.h: Likewise.
11555 * sysdeps/gnu/utmpx.h: Likewise.
11556 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11557 * sysdeps/i386/i486/bits/string.h: Likewise.
11558 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11559 * sysdeps/s390/bits/string.h: Likewise.
11560 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11561 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11562 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11563 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11564 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11565 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11566 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11567 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11568 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11569 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11570 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11571 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11572 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11573 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11574 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11575 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11576 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11578 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11579 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11580 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11581 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11582 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11583 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11584 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11585 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11586 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11587 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11588 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11589 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11590 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11591 * sysvipc/sys/ipc.h: Likewise.
11592 * sysvipc/sys/msg.h: Likewise.
11593 * sysvipc/sys/sem.h: Likewise.
11594 * sysvipc/sys/shm.h: Likewise.
11595 * termios/termios.h: Likewise.
11596 * time/sys/time.h: Likewise.
11597 * time/time.h: Likewise.
11598 * wcsmbs/bits/wchar2.h: Likewise.
11599 * wcsmbs/uchar.h: Likewise.
11600 * wcsmbs/wchar.h: Likewise.
11601 * wctype/wctype.h: Likewise.
11604 * Makeconfig: Remove all but ELF support including AIX support.
11605 * Makerules: Likewise.
11606 * config.h.in: Likewise.
11607 * config.make.in: Likewise.
11608 * configure: Likewise.
11609 * configure.in: Likewise.
11610 * csu/Makefile: Likewise.
11611 * csu/version.c: Likewise.
11612 * debug/Makefile: Likewise.
11613 * dlfcn/Makefile: Likewise.
11614 * elf/Makefile: Likewise.
11615 * extra-lib.mk: Likewise.
11616 * iconv/Makefile: Likewise.
11617 * include/libc-symbols.h: Likewise.
11618 * include/shlib-compat.h: Likewise.
11619 * resolv/Makefile: Likewise.
11620 * resolv/res_libc.c: Likewise.
11621 * rt/Makefile: Likewise.
11622 * sysdeps/i386/asm-syntax.h: Likewise.
11623 * sysdeps/i386/sysdep.h: Likewise.
11624 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11625 * sysdeps/mach/sysdep.h: Likewise.
11626 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11627 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11628 * sysdeps/s390/asm-syntax.h: Likewise.
11629 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11630 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11631 * sysdeps/sh/sysdep.h: Likewise.
11632 * sysdeps/unix/sparc/sysdep.h: Likewise.
11633 * sysdeps/wordsize-32/divdi3.c: Likewise.
11634 * sysdeps/x86_64/sysdep.h: Likewise.
11636 * argp/Versions: Remove _argp_unlock_xxx.
11639 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11640 * abilist/libBrokenLocale.abilist: Likewise.
11641 * abilist/libanl.abilist: Likewise.
11642 * abilist/libc.abilist: Likewise.
11643 * abilist/libcrypt.abilist: Likewise.
11644 * abilist/libdl.abilist: Likewise.
11645 * abilist/libm.abilist: Likewise.
11646 * abilist/libnsl.abilist: Likewise.
11647 * abilist/libpthread.abilist: Likewise.
11648 * abilist/libresolv.abilist: Likewise.
11649 * abilist/librt.abilist: Likewise.
11650 * abilist/libthread_db.abilist: Likewise.
11651 * abilist/libutil.abilist: Likewise.
11652 * abilist/libnss_db.abilist: New file.
11654 * scripts/abilist.awk: Add support for indirect functions.
11656 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11658 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11660 * shlib-versions: Remove entries for ports architectures.
11662 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11664 * elf/stackguard-macros.h: Remove support for IA-64.
11665 * elf/tst-auditmod1.c: Likewise.
11666 * sysdeps/generic/ldsodefs.h: Likewise.
11668 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11669 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11673 * configure.in: Remove --enable-omitfp support.
11675 * config.make.in: Likewise.
11676 * Makeconfig: Likewise.
11677 * manual/install.texi: Likewise.
11679 In case anyone cares, the IA-64 architecture could move to ports.
11680 * sysdeps/ia64/*: Removed.
11681 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11682 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11685 * configure.in: Remove entries for unsupported architectures.
11688 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11689 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11691 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11692 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11693 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11694 fall back to using wcrtomb.
11695 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11696 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11698 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11699 * wcsmbs/tst-c16c32-1.c: New file.
11701 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11704 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11706 * elf/tst-unique3.cc: Add explicit declaration of gets.
11707 * elf/tst-unique3lib.cc: Likewise.
11708 * elf/tst-unique3lib2.cc: Likewise.
11709 * elf/tst-unique4.cc: Likewise.
11711 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11713 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11716 * assert/assert.h (static_assert): Don't define for C++.
11717 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11718 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11720 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11722 * iconv/loop.c (single loop): Fix assertion in storing of
11725 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11727 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11729 * posix/getconf.c: Update copyright year.
11730 * nss/getent.c: Likewise.
11731 * nss/makedb.c: Likewise.
11732 * iconv/iconvconfig.c: Likewise.
11733 * iconv/iconv_prog.c: Likewise.
11734 * elf/ldconfig.c: Likewise.
11735 * elf/pldd.c: Likewise.
11736 * elf/sotruss.ksh: Likewise.
11737 * catgets/gencat.c: Likewise.
11738 * csu/version.c: Likewise.
11739 * elf/ldd.bash.in: Likewise.
11740 * elf/sprof.c (print_version): Likewise.
11741 * locale/programs/locale.c: Likewise.
11742 * locale/programs/localedef.c: Likewise.
11743 * login/programs/pt_chown.c: Likewise.
11744 * nscd/nscd.c (print_version): Likewise.
11745 * debug/xtrace.sh: Likewise.
11746 * malloc/memusage.sh: Likewise.
11747 * malloc/mtrace.pl: Likewise.
11748 * debug/catchsegv.sh: Likewise.
11750 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11752 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11755 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11758 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11759 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11761 * iconv/gconv_int.h: Likewise.
11762 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11763 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11764 from libc for GLIBC_2.16.
11765 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11766 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11767 * wcsmbs/uchar.h: Really define mbstate_t.
11768 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11769 * wcsmbs/c16rtomb.c: New file.
11770 * wcsmbs/mbrtoc16.c: New file.
11771 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11772 for C/POSIX locale.
11773 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11774 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11776 * wcsmbs/wchar.h: Add missing __restrict.
11778 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11781 * time/Makefile (routines): Add timespec_get.
11782 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11783 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11784 timespec for ISO C11.
11785 * time/timespec_get.c: New file.
11786 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11787 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11790 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11791 * stdlib/stdlib.h: Declare aligned_alloc.
11792 * Versions.def: Add GLIBC_2.16 for libc.
11793 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11796 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11799 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11803 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11806 * assert/assert.h (static_assert): Define.
11808 * version.h: Update for 2.16 development version.
11811 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11814 * version.h (RELEASE): Bump for 2.15 release.
11815 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11817 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11818 Patch by Marek Polacek <mpolacek@redhat.com>.
11820 * bits/byteswap.h: Protect long long constants with __extension__.
11821 * sysdeps/i386/bits/byteswap.h: Likewise.
11822 * sysdeps/ia64/bits/byteswap.h: Likewise.
11823 * sysdeps/s390/bits/byteswap.h: Likewise.
11824 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11826 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11829 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11830 destination buffer.
11831 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11833 2011-12-23 Marek Polacek <polacek@redhat.com>
11835 * elf/dl-addr.c (determine_info): Add inline keyword.
11836 * elf/tst-auditmod4b.c (check_avx): Likewise.
11837 * elf/tst-auditmod6b.c (check_avx): Likewise.
11838 * elf/tst-auditmod6c.c (check_avx): Likewise.
11839 * elf/tst-auditmod7b.c (check_avx): Likewise.
11841 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11843 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11846 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11849 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11850 processing for last bytes.
11852 2011-08-06 Bruno Haible <bruno@clisp.org>
11855 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11856 U+0385, not to U+1FEE.
11859 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11860 entry for U+00A5 U+0301.
11862 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11865 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11866 buffer for the output is too small.
11868 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11872 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11873 SSE flags if possible.
11875 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11878 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11879 processing for last bytes.
11881 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11883 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11884 (syscall-list-default-options, syscall-list-default-condition)
11885 (syscall-list-includes): Define.
11886 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11887 list of ABIs and options and #if conditions for each ABI. Do not
11888 handle common syscalls between ABIs specially.
11889 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11891 (syscall-list-variants, syscall-list-32bit-options)
11892 (syscall-list-32bit-condition, syscall-list-64bit-options)
11893 (syscall-list-64bit-condition): Define.
11894 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11895 (syscall-list-variants, syscall-list-32bit-options)
11896 (syscall-list-32bit-condition, syscall-list-64bit-options)
11897 (syscall-list-64bit-condition): Define.
11898 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11900 (syscall-list-variants, syscall-list-32bit-options)
11901 (syscall-list-32bit-condition, syscall-list-64bit-options)
11902 (syscall-list-64bit-condition): Define.
11903 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11905 (syscall-list-variants, syscall-list-32bit-options)
11906 (syscall-list-32bit-condition, syscall-list-64bit-options)
11907 (syscall-list-64bit-condition): Define.
11909 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11911 * locale/iso-639.def: Add brx entry.
11914 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11915 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11917 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11918 __feraiseexcept_renamed.
11920 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11923 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11924 EPOLLET with unsigned values.
11925 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11926 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11928 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11929 to large cancellation.
11930 * math/s_cacoshf.c: Likewise.
11931 * math/s_cacoshl.c: Likewise.
11933 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11937 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11938 * math/s_cacoshf.c: Likewise.
11939 * math/s_cacoshl.c: Likewise.
11941 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11944 * iconv/gconv.h: Define __GCONV_SWAP.
11945 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11946 * iconvdata/utf-16.c: Likewise.
11947 * iconvdata/utf-32.c: Likewise.
11949 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11953 numerator after shifting it by one limb.
11955 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11957 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11958 under [__USE_EXTERN_INLINES].
11960 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11963 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11965 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11967 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11968 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11970 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11971 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11972 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11973 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11974 for strncasecmp/strncasecmp_l compilation.
11975 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11976 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11978 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11981 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11984 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11987 * time/tzfile.c (__tzfile_read): Check values from file header.
11989 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11991 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11992 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11993 * powerpc/powerpc32/dl-start.S: Likewise.
11994 * powerpc/powerpc32/elf/start.S: Likewise.
11995 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11996 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11997 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11998 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11999 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12000 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12001 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12002 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12003 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12004 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12005 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12006 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12007 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12008 * powerpc/powerpc32/memset.S: Likewise.
12009 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12010 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12011 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12012 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12013 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12014 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12015 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12016 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12017 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12018 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12019 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12020 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12021 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12023 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12025 * math/libm-test.inc: Added more nearbyint tests.
12026 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12027 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12028 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12029 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12031 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12033 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12036 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12038 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12039 Add wcscpy-ssse3 wcscpy-c.
12040 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12041 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12042 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12043 * sysdeps/x86_64/wcschr.S: New file.
12044 * sysdeps/x86_64/wcsrchr.S: New file.
12045 * string/test-strcmp.c: Remove checking of wcscmp function for
12047 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12048 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12049 wcsrchr-sse2 wcsrchr-c.
12050 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12051 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12052 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12053 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12054 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12055 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12056 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12057 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12058 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12059 * wcsmbc/wcschr.c (WCSCHR): New macro.
12061 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12063 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12064 * wcsmbs/test-wcsrchr.c: New file.
12065 * string/test-strrchr.c: Add wcsrchr support.
12067 * wcsmbs/test-wcscpy.c: New file.
12068 * string/test-strcpy.c: Add wcscpy support.
12071 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12073 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12076 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12079 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12081 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12083 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12084 Minor optimizations.
12086 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12087 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12088 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12090 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12092 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12093 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12094 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12095 for gcc to avoid warnings.
12096 * inet/Makefile (tests): Add tst-checks.
12097 * inet/tst-checks.c: New file.
12099 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12102 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12105 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12106 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12108 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12110 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12112 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12115 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12117 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12119 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12120 conditional on GCC version.
12121 (__arch_compare_and_exchange_val_8_acq)
12122 (__arch_compare_and_exchange_val_16_acq)
12123 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12124 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12125 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12127 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12129 * sysdeps/sh/backtrace.c: New file.
12131 2011-12-02 Andreas Schwab <schwab@redhat.com>
12133 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12136 2011-12-01 Andreas Schwab <schwab@redhat.com>
12138 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12139 falling back to utime.
12141 2011-11-30 Andreas Schwab <schwab@redhat.com>
12143 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12144 expectations for float.
12146 2011-11-29 Andreas Schwab <schwab@redhat.com>
12148 * locale/weight.h (findidx): Add parameter len.
12149 * locale/weightwc.h (findidx): Likewise.
12150 * posix/fnmatch_loop.c (FCT): Adjust caller.
12151 * posix/regcomp.c (build_equiv_class): Likewise.
12152 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12153 * posix/regexec.c (check_node_accept_bytes): Likewise.
12154 * string/strcoll_l.c (STRCOLL): Likewise.
12155 * string/strxfrm_l.c (STRXFRM): Likewise.
12157 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12159 * Makefile.in: Remove CVSOPT handling.
12160 * configure.in: Remove use of AC_REVISION.
12161 * iconvdata/Makefile (distribute): No need to filter out CVS.
12162 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12165 2011-11-16 Andreas Schwab <schwab@redhat.com>
12167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12168 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12169 [USE_AS_STRNCASECMP_L]: Likewise.
12170 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12171 NO_TLS_DIRECT_SEG_REFS.
12172 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12173 Fix argument offsets for non-PIC.
12174 [USE_AS_STRNCASECMP_L]: Likewise.
12175 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12176 NO_TLS_DIRECT_SEG_REFS.
12178 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12180 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12182 * locale/loadlocale.c (_nl_load_locale): Likewise.
12184 2011-11-15 Andreas Schwab <schwab@redhat.com>
12186 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12187 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12188 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12189 (SYSCALL_GETTIME): Set errno on error.
12191 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12192 count references to noai6ai_cached.
12194 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12196 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12198 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12199 FD_CLOEXEC for /proc/self/maps.
12201 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12202 FD_CLOEXEC for /proc/meminfo.
12204 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12207 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12208 FD_CLOEXEC for given file.
12210 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12212 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12213 FD_CLOEXEC for /etc/hosts.
12214 (_gethtent): Likewise.
12216 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12218 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12219 cancellation and set FD_CLOEXEC for /etc/netgroup.
12221 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12222 reading /etc/publickey.
12224 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12225 allow cancellation when reading /etc/group.
12227 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12229 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12231 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12232 when using data file.
12234 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12236 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12237 (write_nis_obj): Use "c" and "e" in fopen.
12239 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12241 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12243 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12245 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12247 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12250 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12252 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12254 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12256 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12257 file parsing and set FD_CLOEXEC.
12259 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12261 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12263 2011-11-14 Andreas Schwab <schwab@redhat.com>
12265 * malloc/arena.c (arena_get2): Don't call reused_arena when
12266 _int_new_arena failed.
12268 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12270 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12271 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12272 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12273 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12274 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12275 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12276 to compile strcasecmp and strncasecmp.
12277 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12278 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12280 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12282 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12284 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12285 locale-defines.sym to gen-as-const-headers.
12286 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12287 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12289 to compile strcasecmp and strncasecmp.
12290 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12291 strcasecmp_l and strncasecmp_l.
12292 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12293 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12294 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12295 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12296 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12297 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12298 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12299 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12300 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12301 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12302 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12304 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12306 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12307 result of SYSDEP_GETTIME_CPU to retval.
12308 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12309 parameter list to macro. Remove trailing semicolon. Adjust users.
12311 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12314 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12316 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12318 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12319 from unused variable.
12321 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12323 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12326 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12329 * sunrpc/rpc_prot.c (rejected): Fix case value.
12331 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12332 unsigned long long int to avoid warnings in shift.
12334 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12336 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12339 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12340 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12341 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12343 * nis/nis_table.c (nis_list): Use variable of correct type for
12344 result of __follow_path call.
12346 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12348 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12349 of math functions ceil, trunc, floor, round, and sqrt, when
12350 avaliable on the platform.
12351 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12353 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12354 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12355 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12357 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12359 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12360 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12362 2011-11-11 Roland McGrath <roland@hack.frob.com>
12364 * include/unistd.h: Fix __readlink return type.
12365 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12367 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12369 * stdlib/ucontext.h: Undo last change for makecontext.
12371 2011-11-11 Andreas Schwab <schwab@redhat.com>
12373 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12375 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12376 * setjmp/setjmp.h: Mark functions as non-leaf.
12377 * setjmp/bits/setjmp2.h: Likewise.
12378 * stdlib/ucontext.h: Likewise.
12380 2011-11-10 Andreas Schwab <schwab@redhat.com>
12382 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12383 (reused_arena): Don't check arena limit.
12384 (arena_get2): Atomically check arena limit.
12386 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12388 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12389 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12394 2011-11-07 Andreas Schwab <schwab@redhat.com>
12396 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12397 handler when locking.
12399 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12400 Fix size of allocated buffer.
12402 2011-11-04 Andreas Schwab <schwab@redhat.com>
12405 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12406 declarations for long double functions.
12407 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12409 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12411 2011-11-03 Andreas Schwab <schwab@redhat.com>
12413 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12416 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12419 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12421 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12423 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12425 * include/alloca.h (stackinfo_alloca_round): Define.
12426 (extend_alloca): Use it.
12427 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12428 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12431 * scripts/check-local-headers.sh: Ignore libaudit.h.
12433 * nscd/Makefile (extra-objs): Make recursively expanded.
12435 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12437 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12438 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12440 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12441 * posix/tst-rfc3484-2.c: Likewise.
12442 * posix/tst-rfc3484-3.c: Likewise.
12444 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12446 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12448 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12449 process_vm_writev from libc using GLIBC_2.15 version.
12451 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12453 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12455 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12458 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12461 * nss/getent.c (initgroups_keys): Show error message in case no group
12464 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12465 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12466 __bump_nl_timestamp.
12467 * nscd/connections (nscd_init): When host database is served open
12468 netlink socket and request notification about configuration changes.
12469 (main_loop_poll): Track netlink file descriptor and bump timestamp
12470 in case data becomes available.
12471 (main_loop_epoll): Likewise.
12472 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12473 (database_pers_head): Add extra_data fileds.
12474 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12475 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12476 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12478 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12479 in6ai data, call __free_in6ai.
12480 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12481 Add -DHAVE_NETLINK.
12482 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12483 interface information. Reuse previous data if netlink timestamp
12485 (__bump_nl_timestamp): New function.
12486 (__free_in6ai): New function.
12488 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12490 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12491 close_not_cancel_no_status here.
12492 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12494 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12497 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12500 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12501 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12502 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12504 2011-07-03 Andreas Jaeger <aj@suse.de>
12507 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12508 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12509 * math/libm-test.inc (sin_test): Add test case.
12511 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12514 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12515 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12517 * elf/chroot_canon.c (chroot_canon): Cleanups.
12519 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12522 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12523 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12525 * string/test-strchr.c: Make usable for strchrnul testing.
12526 * string/test-strchrnul.c: New file.
12527 * string/Makefile (strop-tests): Add strchrnul.
12529 * po/it.po: Update from translation team.
12530 * po/es.po: Likewise.
12532 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12534 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12535 the three constants needed as parameters. Drop the others.
12536 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12537 __m128i_strloadu_tolower.
12538 Create and initialize variable zero and use it in all the places
12539 where _mm_setzero_si128 was used.
12541 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12542 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12543 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12544 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12546 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12547 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12548 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12549 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12550 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12551 __mpranred, __mptan.
12552 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12553 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12554 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12555 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12556 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12557 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12558 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12559 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12560 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12562 2011-10-28 Andreas Schwab <schwab@redhat.com>
12564 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12565 redefine if SHARED.
12566 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12569 wide char related routines to wcsmbs subdir.
12571 2011-10-27 Andreas Schwab <schwab@redhat.com>
12574 * misc/sys/cdefs.h (__THROWNL): Define.
12575 * posix/unistd.h: Use __THREADNL instead of __THREAD
12576 for memory synchronization functions.
12578 2011-10-26 Roland McGrath <roland@hack.frob.com>
12581 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12583 * manual/stdio.texi (Obstack Streams): Node removed.
12585 2011-10-26 Andreas Schwab <schwab@redhat.com>
12587 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12588 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12589 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12591 * math/math_private.h (math_force_eval): Allow non-addressable
12593 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12595 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12597 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12598 file is not needed.
12600 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12601 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12602 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12603 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12604 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12605 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12606 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12607 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12609 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12610 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12611 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12612 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12613 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12614 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12615 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12616 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12617 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12618 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12619 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12620 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12621 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12622 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12623 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12624 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12625 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12626 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12627 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12629 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12630 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12632 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12633 place. Use VEX encoding when compiling for AVX.
12635 2011-10-25 Andreas Schwab <schwab@redhat.com>
12637 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12638 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12640 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12642 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12644 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12645 useless if() expression.
12646 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12649 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12650 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12651 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12652 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12653 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12654 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12655 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12656 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12657 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12658 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12659 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12660 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12661 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12662 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12664 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12666 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12668 2011-10-25 Andreas Schwab <schwab@redhat.com>
12670 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12672 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12674 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12676 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12677 .text section. Avoid duplicate constants.
12678 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12688 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12690 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12692 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12693 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12694 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12695 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12696 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12697 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12698 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12699 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12700 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12701 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12702 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12703 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12704 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12705 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12706 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12707 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12708 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12709 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12710 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12711 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12712 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12713 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12714 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12715 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12716 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12717 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12718 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12719 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12720 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12721 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12722 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12724 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12726 * sysdeps/x86_64/dla.h: Move to ...
12727 * sysdeps/x86_64/fpu/dla.h: ...here.
12728 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12729 situations. Use __builtin_fma only for gcc 4.6 and up.
12731 * config.make.in: Add have-mfma4 entry.
12732 * configure.in: Substitute libc_cv_cc_fma4.
12733 * math/Makefile (dbl-only-routines): Add sincostab.
12734 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12735 Use __sincostab not sincos.
12736 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12738 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12739 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12743 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12744 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12745 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12746 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12748 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12749 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12751 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12752 define aliases when function name is a macro.
12753 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12754 sysdeps/ieee754/dbl-64/sincos.tbl.
12755 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12756 fma4-enabled routines.
12757 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12758 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12759 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12760 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12761 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12762 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12763 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12764 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12765 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12766 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12767 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12768 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12769 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12770 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12771 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12772 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12773 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12774 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12775 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12777 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12778 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12779 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12780 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12781 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12782 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12783 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12784 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12785 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12786 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12788 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12790 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12799 2011-10-24 Andreas Schwab <schwab@redhat.com>
12801 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12803 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12805 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12807 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12809 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12811 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12812 Remove unused variable magic_bits.
12813 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12815 * string/strnlen.c: Define and use STRNLEN macro.
12816 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12817 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12818 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12819 * wcsmbs/wcslen.c: Define and use WCSLEN.
12820 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12821 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12822 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12823 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12824 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12825 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12826 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12828 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12831 strnlen-sse2-no-bsf.
12832 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12834 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12835 Add strnlen support.
12836 (USE_AS_STRNLEN): New macro.
12837 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12838 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12839 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12840 * sysdeps/x86_64/wcslen.S: New file.
12842 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12844 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12845 XMM-moves are used for copying on small sizes.
12847 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12849 * wcsmbs/Makefile (strop-tests): Add wcschr.
12850 * wcsmbs/test-wcschr.c: New file.
12851 * string/test-strchr.c: Update.
12852 Add wcschr support.
12855 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12857 * wcsmbs/Makefile (strop-tests): Add wcslen.
12858 * wcsmbs/test-wcslen.c: New file.
12859 * string/test-strlen.c: Update.
12860 Add wcslen support.
12863 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12865 * po/it.po: Update from translation team.
12867 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12869 * sysdeps/x86_64/wcscmp.S: Update.
12870 Fix wrong comparison semantics.
12871 wcscmp shall use signed comparison not unsigned.
12872 Don't use substraction to avoid overflow bug.
12873 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12874 * wcsmbc/wcscmp.c: Likewise.
12875 * string/test-strcmp.c: Likewise.
12876 Add new tests to check cases with negative values.
12878 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12880 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12881 * sysdeps/x86_64/dla.h: ...here. New file.
12882 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12883 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12892 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12894 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12895 __ynl_finite aliases.
12897 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12901 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12903 [DLA_FMA] (EMULV): Use DLA_FMA.
12904 [DLA_FMA] (MUL12): Use EMULV.
12905 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12906 that are not needed.
12907 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12912 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12913 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12915 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12917 * math/s_nan.c: Undef __nan.
12918 * math/s_nanf.c: Undef __nanf.
12919 * math/s_nanl.c: Undef __nanl.
12920 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12923 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12925 * math/s_catan.c: Add branch predictions.
12926 * math/s_catanf.c: Likewise.
12927 * math/s_catanh.c: Likewise.
12928 * math/s_catanhf.c: Likewise.
12929 * math/s_catanhl.c: Likewise.
12930 * math/s_catanl.c: Likewise.
12931 * math/s_cexp.c: Likewise.
12932 * math/s_cexpf.c: Likewise.
12933 * math/s_cexpl.c: Likewise.
12934 * math/s_clog.c: Likewise.
12935 * math/s_clog10.c: Likewise.
12936 * math/s_clog10f.c: Likewise.
12937 * math/s_clog10l.c: Likewise.
12938 * math/s_clogf.c: Likewise.
12939 * math/s_clogl.c: Likewise.
12940 * math/s_csqrt.c: Likewise.
12941 * math/s_csqrtf.c: Likewise.
12942 * math/s_csqrtl.c: Likewise.
12943 * math/s_ctanf.c: Likewise.
12944 * math/s_ctanh.c: Likewise.
12945 * math/s_ctanhf.c: Likewise.
12946 * math/s_ctanhl.c: Likewise.
12947 * math/s_ctanl.c: Likewise.
12949 * math/math_private.h: Define __nan, __nanf, __nanl.
12950 * math/s_cacosh.c: Include <math_private.h>.
12951 * math/s_cacoshl.c: Likewise.
12952 * math/s_casinh.c: Likewise.
12953 * math/s_casinhf.c: Likewise.
12954 * math/s_casinhl.c: Likewise.
12955 * math/s_ccos.c: Rely entire on ccosh.
12956 * math/s_ccosf.c: Rely entire on ccoshf.
12957 * math/s_ccosl.c: Rely entirely on ccoshl.
12958 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12959 Remove tests for FE_INVALID.
12960 * math/s_ccoshf.c: Likewise.
12961 * math/s_ccoshl.c: Likewise.
12962 * math/s_csin.c: Likewise.
12963 * math/s_csinf.c: Likewise.
12964 * math/s_csinh.c Likewise.
12965 * math/s_csinhf.c: Likewise.
12966 * math/s_csinhl.c: Likewise.
12967 * math/s_csinl.c: Likewise.
12968 * math/s_ctan.c: Likewise.
12969 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12970 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12971 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12973 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12976 compilation problems.
12978 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12981 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12983 * sysdeps/i386/configure.in: Test for -mfma4 option.
12984 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12985 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12986 COMMON_CPUID_INDEX_80000001.
12987 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12988 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12989 use it if FMA3 is not supported.
12990 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12992 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12993 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12995 2011-10-20 Andreas Schwab <schwab@redhat.com>
12998 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12999 it would create a cycle with a link time dependency.
13001 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13003 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13005 * string/Makefile (strop-tests): Add rawmemchr.
13006 * string/test-rawmemchr.c: New file.
13008 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13009 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13010 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13011 when compiling str{,n}casecmp and when AVX is available. Hook up
13012 new optimized code in initializers.
13014 2011-10-19 Andreas Schwab <schwab@redhat.com>
13016 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13017 __feraiseexcept instead of feraiseexcept.
13019 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13021 * math/math_private.h: Define defaults for libc_fetestexcept and
13023 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13024 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13025 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13026 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13027 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13028 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13029 libc_fetestexcept and libc_feupdateenv.
13031 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13032 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13033 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13034 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13035 libc_feholdexcept_setround.
13037 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13038 Add s_nearbyint-c and s_nearbyintf-c.
13039 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13040 nearbyintf inlines.
13041 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13042 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13043 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13044 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13046 * math/math_private.h: Define defaults for libc_fegetround,
13047 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13048 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13049 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13050 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13051 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13052 standard functions.
13053 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13054 Remove comments and hacks for old compiler versions.
13055 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13056 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13057 libc_feholdexceptl.
13059 2011-10-18 Andreas Schwab <schwab@redhat.com>
13061 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13062 (__feraiseexcept_renamed): Add __NTH.
13063 (feraiseexcept): Add __NTH. Rename local variables to fix
13064 namespace violations.
13066 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13068 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13070 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13072 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13073 recently added interfaces.
13074 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13076 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13077 about macro parameter expansion.
13079 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13080 __NO_MATH_INLINES is defined. Cleanups.
13082 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13083 and __floorf is target has SSE4.1.
13084 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13085 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13086 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13087 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13089 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13091 (floorf): Likewise.
13093 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13095 2011-10-17 Andreas Schwab <schwab@redhat.com>
13097 * misc/sys/cdefs.h: Fix last change.
13099 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13102 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13104 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13106 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13107 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13112 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13113 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13114 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13115 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13116 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13117 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13118 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13119 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13120 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13121 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13122 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13123 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13124 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13125 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13126 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13127 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13129 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13130 ceil, ceilf, floor, floorf.
13132 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13133 Perform IRELATIVE relocations last.
13135 * elf/do-rel.h: Add another parameter nrelative, replacing the
13136 local variable with the same name. Change name of the function
13137 to end in Rel or Rela (uppercase).
13138 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13139 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13140 elf_dynamic_do_##reloc function.
13142 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13144 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13145 is sufficient, at least on modern CPUs.
13147 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13149 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13150 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13152 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13154 * math/bits/math-finite.h: Add entries for exp.
13155 * math/e_expl.c: Add __*_finite alias.
13156 * sysdeps/i386/fpu/e_exp.S: Likewise.
13157 * sysdeps/i386/fpu/e_expf.S: Likewise.
13158 * sysdeps/i386/fpu/e_expl.c: Likewise.
13159 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13160 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13164 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13165 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13167 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13168 is sufficient, at least on modern CPUs.
13170 * ctype/ctype-info.c (__ctype_init): Define.
13171 * include/ctype.h (__ctype_init): Declare.
13172 (__ctype_b_loc): The variable is always initialized.
13173 (__ctype_toupper_loc): Likewise.
13174 (__ctype_tolower_loc): Likewise.
13175 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13176 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13178 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13180 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13182 * configure.in: Also look in $cxxmachine/include for C++ system
13185 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13187 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13188 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13189 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13190 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13191 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13192 (USE_AS_WMEMCMP): New macro.
13194 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13195 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13196 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13197 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13199 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13200 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13201 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13202 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13203 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13204 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13205 (USE_AS_WMEMCMP): New macro.
13206 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13207 * sysdeps/string/test-memcmp.c: Update.
13208 Fix simple_wmemcmp.
13210 * wcsmbs/wmemcmp.c: Update.
13211 (WMEMCMP): New macro.
13214 2011-10-12 Andreas Jaeger <aj@suse.de>
13217 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13219 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13221 * libio/iofwide.c (do_length): Avoid warning.
13223 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13225 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13227 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13229 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13230 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13231 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13232 * sysdeps/i386/i686/fpu/e_log.S: New file.
13233 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13234 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13236 * ctype/ctype.h: Add support for inlined isXXX functions when
13237 compiling C++ code.
13239 2011-10-14 Andreas Schwab <schwab@redhat.com>
13241 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13243 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13245 2011-10-13 Roland McGrath <roland@hack.frob.com>
13248 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13250 2011-10-13 Andreas Schwab <schwab@redhat.com>
13252 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13253 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13256 * sysdeps/x86_64/memrchr.S: Check for zero size.
13258 * string/stratcliff.c: Add memrchr tests.
13260 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13263 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13264 rawmemchr-sse2 rawmemchr-sse2-bsf.
13265 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13266 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13267 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13268 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13269 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13270 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13271 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13272 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13273 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13274 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13275 * string/memrchr.c (MEMRCHR): New macro.
13277 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13279 Add integration with gcc's -ffinite-math-only and optimize wrapper
13281 * Versions.def: Define GLIBC_2.15 version for libm.
13282 * math/Makefile (headers): Add bits/math-finite.h.
13283 * math/bits/math-finite.h: New file.
13284 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13285 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13286 * math/e_acoshl.c: Add __*_finite alias.
13287 * math/e_acosl.c: Likewise.
13288 * math/e_asinl.c: Likewise.
13289 * math/e_atan2l.c: Likewise.
13290 * math/e_atanhl.c: Likewise.
13291 * math/e_coshl.c: Likewise.
13292 * math/e_exp10.c: Likewise.
13293 * math/e_exp10f.c: Likewise.
13294 * math/e_exp10l.c: Likewise.
13295 * math/e_exp2l.c: Likewise.
13296 * math/e_fmodl.c: Likewise.
13297 * math/e_gammal_r.c: Likewise.
13298 * math/e_hypotl.c: Likewise.
13299 * math/e_j0l.c: Likewise.
13300 * math/e_j1l.c: Likewise.
13301 * math/e_jnl.c: Likewise.
13302 * math/e_lgammal_r.c: Likewise.
13303 * math/e_log10l.c: Likewise.
13304 * math/e_log2l.c: Likewise.
13305 * math/e_logl.c: Likewise.
13306 * math/e_powl.c: Likewise.
13307 * math/e_sinhl.c: Likewise.
13308 * math/e_sqrtl.c: Likewise.
13309 * math/e_scalb.c: Completely rewritten and optimized.
13310 * math/e_scalbf.c: Likewise.
13311 * math/e_scalbl.c: Likewise.
13312 * math/w_acos.c: Likewise.
13313 * math/w_acosf.c: Likewise.
13314 * math/w_acosl.c: Likewise.
13315 * math/w_acosh.c: Likewise.
13316 * math/w_acoshf.c: Likewise.
13317 * math/w_acoshl.c: Likewise.
13318 * math/w_asin.c: Likewise.
13319 * math/w_asinf.c: Likewise.
13320 * math/w_asinl.c: Likewise.
13321 * math/w_atan2.c: Likewise.
13322 * math/w_atan2f.c: Likewise.
13323 * math/w_atan2l.c: Likewise.
13324 * math/w_atanh.c: Likewise.
13325 * math/w_atanhf.c: Likewise.
13326 * math/w_atanhl.c: Likewise.
13327 * math/w_exp10.c: Likewise.
13328 * math/w_exp10f.c: Likewise.
13329 * math/w_exp10l.c: Likewise.
13330 * math/w_fmod.c: Likewise.
13331 * math/w_fmodf.c: Likewise.
13332 * math/w_fmodl.c: Likewise.
13333 * math/w_j0.c: Likewise.
13334 * math/w_j0f.c: Likewise.
13335 * math/w_j0l.c: Likewise.
13336 * math/w_j1.c: Likewise.
13337 * math/w_j1f.c: Likewise.
13338 * math/w_j1l.c: Likewise.
13339 * math/w_jn.c: Likewise.
13340 * math/w_jnf.c: Likewise.
13341 * math/w_log.c: Likewise.
13342 * math/w_logf.c: Likewise.
13343 * math/w_logl.c: Likewise.
13344 * math/w_log10.c: Likewise.
13345 * math/w_log10f.c: Likewise.
13346 * math/w_log10l.c: Likewise.
13347 * math/w_log2.c: Likewise.
13348 * math/w_log2f.c: Likewise.
13349 * math/w_log2l.c: Likewise.
13350 * math/w_pow.c: Likewise.
13351 * math/w_powf.c: Likewise.
13352 * math/w_powl.c: Likewise.
13353 * math/w_remainder.c: Likewise.
13354 * math/w_remainderf.c: Likewise.
13355 * math/w_remainderl.c: Likewise.
13356 * math/w_scalb.c: Likewise.
13357 * math/w_scalbf.c: Likewise.
13358 * math/w_scalbl.c: Likewise.
13359 * math/w_sqrt.c: Likewise.
13360 * math/w_sqrtf.c: Likewise.
13361 * math/w_sqrtl.c: Likewise.
13362 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13363 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13365 * math/math_private.h: Declare __kernel_standard_f.
13366 * math/w_cosh.c: Remove cruft and optimize a bit.
13367 * math/w_coshf.c: Likewise.
13368 * math/w_coshl.c: Likewise.
13369 * math/w_exp2.c: Likewise.
13370 * math/w_exp2f.c: Likewise.
13371 * math/w_exp2l.c: Likewise.
13372 * math/w_hypot.c: Likewise.
13373 * math/w_hypotf.c: Likewise.
13374 * math/w_hypotl.c: Likewise.
13375 * math/w_lgamma.c: Likewise.
13376 * math/w_lgamma_r.c: Likewise.
13377 * math/w_lgammaf.c: Likewise.
13378 * math/w_lgammaf_r.c: Likewise.
13379 * math/w_lgammal.c: Likewise.
13380 * math/w_lgammal_r.c: Likewise.
13381 * math/w_sinh.c: Likewise.
13382 * math/w_sinhf.c: Likewise.
13383 * math/w_sinhl.c: Likewise.
13384 * math/w_tgamma.c: Likewise.
13385 * math/w_tgammaf.c: Likewise.
13386 * math/w_tgammal.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13388 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13389 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13390 Minor optimizations. Pretty printing. Remove cruft.
13391 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13392 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13393 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13394 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13395 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13396 * sysdeps/i386/fpu/e_asin.S: Likewise.
13397 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13398 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13399 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13400 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13401 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13402 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13403 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13404 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13405 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13406 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13407 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13408 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13409 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13410 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13411 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13412 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13413 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13414 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13415 * sysdeps/i386/fpu/e_log.S: Likewise.
13416 * sysdeps/i386/fpu/e_log10.S: Likewise.
13417 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13418 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13419 * sysdeps/i386/fpu/e_log2.S: Likewise.
13420 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13421 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13422 * sysdeps/i386/fpu/e_logf.S: Likewise.
13423 * sysdeps/i386/fpu/e_logl.S: Likewise.
13424 * sysdeps/i386/fpu/e_pow.S: Likewise.
13425 * sysdeps/i386/fpu/e_powf.S: Likewise.
13426 * sysdeps/i386/fpu/e_powl.S: Likewise.
13427 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13428 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13429 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13430 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13431 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13432 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13433 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13434 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13435 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13443 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13450 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13452 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13453 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13456 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13457 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13458 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13459 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13460 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13461 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13462 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13463 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13464 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13465 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13466 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13467 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13468 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13469 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13470 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13471 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13472 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13473 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13474 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13475 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13476 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13477 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13516 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13519 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13521 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13522 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13524 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13527 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13528 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13529 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13530 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13531 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13532 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13533 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13534 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13535 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13536 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13537 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13538 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13539 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13540 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13541 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13542 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13543 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13544 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13545 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13546 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13547 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13548 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13549 (__isnanf): Likewise.
13550 (__isinf_ns): Likewise.
13551 (__isinf_nsf): Likewise.
13552 (__finite): Likewise.
13553 (__finitef): Likewise.
13554 (__ieee754_sqrt): Define as macro.
13555 (__ieee754_sqrtf): Define as macro.
13556 (__ieee754_sqrtl): Define as macro.
13557 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13559 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13560 __FINITE_MATH_ONLY__ consistent.
13561 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13563 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13565 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13568 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13570 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13572 * po/ja.po: Update from translation team.
13574 2011-10-08 Roland McGrath <roland@hack.frob.com>
13576 * locale/programs/locarchive.c (prepare_address_space): New function.
13577 (create_archive, enlarge_archive, open_archive): Use it.
13579 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13580 inside [SHARED], where it is used.
13582 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13584 * nss/getent.c (netgroup_keys): Remove unused variable.
13585 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13587 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13589 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13590 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13592 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13593 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13594 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13595 * math/Makefile (libm-calls): Add s_isinf_ns.
13596 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13597 * math/multc3.c: Likewise.
13598 * math/s_casin.c: Likewise.
13599 * math/s_casinf.c: Likewise.
13600 * math/s_casinl.c: Likewise.
13601 * math/s_ccos.c: Likewise.
13602 * math/s_ccosf.c: Likewise.
13603 * math/s_ccosl.c: Likewise.
13604 * math/s_ctan.c: Likewise.
13605 * math/s_ctanf.c: Likewise.
13606 * math/s_ctanh.c: Likewise.
13607 * math/s_ctanhf.c: Likewise.
13608 * math/s_ctanhl.c: Likewise.
13609 * math/s_ctanl.c: Likewise.
13610 * math/w_fmod.c: Likewise.
13611 * math/w_fmodf.c: Likewise.
13612 * math/w_fmodl.c: Likewise.
13613 * math/w_remainder.c: Likewise.
13614 * math/w_remainderf.c: Likewise.
13615 * math/w_remainderl.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13617 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13618 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13620 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13621 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13622 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13623 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13625 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13627 * stdio-common/printf_fphex.c: Likewise.
13628 * stdio-common/printf_size.c: Likewise.
13630 * math/e_exp10.c: Include math_private.h using <...> not "...".
13631 * math/e_exp10f.c: Likewise.
13632 * math/e_exp10l.c: Likewise.
13633 * math/e_exp2l.c: Likewise.
13634 * math/e_j0l.c: Likewise.
13635 * math/e_j1l.c: Likewise.
13636 * math/e_jnl.c: Likewise.
13637 * math/e_lgammal_r.c: Likewise.
13638 * math/e_rem_pio2l.c: Likewise.
13639 * math/e_scalb.c: Likewise.
13640 * math/e_scalbf.c: Likewise.
13641 * math/e_scalbl.c: Likewise.
13642 * math/k_cosl.c: Likewise.
13643 * math/k_sinl.c: Likewise.
13644 * math/k_tanl.c: Likewise.
13645 * math/s_cacoshf.c: Likewise.
13646 * math/s_catan.c: Likewise.
13647 * math/s_catanf.c: Likewise.
13648 * math/s_catanh.c: Likewise.
13649 * math/s_catanhf.c: Likewise.
13650 * math/s_catanhl.c: Likewise.
13651 * math/s_catanl.c: Likewise.
13652 * math/s_ccosh.c: Likewise.
13653 * math/s_ccoshf.c: Likewise.
13654 * math/s_ccoshl.c: Likewise.
13655 * math/s_cexp.c: Likewise.
13656 * math/s_cexpf.c: Likewise.
13657 * math/s_cexpl.c: Likewise.
13658 * math/s_clog.c: Likewise.
13659 * math/s_clog10.c: Likewise.
13660 * math/s_clog10f.c: Likewise.
13661 * math/s_clog10l.c: Likewise.
13662 * math/s_clogf.c: Likewise.
13663 * math/s_clogl.c: Likewise.
13664 * math/s_csin.c: Likewise.
13665 * math/s_csinf.c: Likewise.
13666 * math/s_csinh.c: Likewise.
13667 * math/s_csinhf.c: Likewise.
13668 * math/s_csinhl.c: Likewise.
13669 * math/s_csinl.c: Likewise.
13670 * math/s_csqrt.c: Likewise.
13671 * math/s_csqrtf.c: Likewise.
13672 * math/s_csqrtl.c: Likewise.
13673 * math/s_ctan.c: Likewise.
13674 * math/s_ctanf.c: Likewise.
13675 * math/s_ctanh.c: Likewise.
13676 * math/s_ctanhf.c: Likewise.
13677 * math/s_ctanhl.c: Likewise.
13678 * math/s_ctanl.c: Likewise.
13679 * math/s_ldexp.c: Likewise.
13680 * math/s_ldexpf.c: Likewise.
13681 * math/s_ldexpl.c: Likewise.
13682 * math/s_significand.c: Likewise.
13683 * math/s_significandf.c: Likewise.
13684 * math/s_significandl.c: Likewise.
13685 * math/w_acos.c: Likewise.
13686 * math/w_acosf.c: Likewise.
13687 * math/w_acosh.c: Likewise.
13688 * math/w_acoshf.c: Likewise.
13689 * math/w_acoshl.c: Likewise.
13690 * math/w_acosl.c: Likewise.
13691 * math/w_asin.c: Likewise.
13692 * math/w_asinf.c: Likewise.
13693 * math/w_asinl.c: Likewise.
13694 * math/w_atan2.c: Likewise.
13695 * math/w_atan2f.c: Likewise.
13696 * math/w_atan2l.c: Likewise.
13697 * math/w_atanh.c: Likewise.
13698 * math/w_atanhf.c: Likewise.
13699 * math/w_atanhl.c: Likewise.
13700 * math/w_cosh.c: Likewise.
13701 * math/w_coshf.c: Likewise.
13702 * math/w_coshl.c: Likewise.
13703 * math/w_dremf.c: Likewise.
13704 * math/w_exp10.c: Likewise.
13705 * math/w_exp10f.c: Likewise.
13706 * math/w_exp10l.c: Likewise.
13707 * math/w_exp2.c: Likewise.
13708 * math/w_exp2f.c: Likewise.
13709 * math/w_fmod.c: Likewise.
13710 * math/w_fmodf.c: Likewise.
13711 * math/w_fmodl.c: Likewise.
13712 * math/w_hypot.c: Likewise.
13713 * math/w_hypotf.c: Likewise.
13714 * math/w_hypotl.c: Likewise.
13715 * math/w_j0.c: Likewise.
13716 * math/w_j0f.c: Likewise.
13717 * math/w_j0l.c: Likewise.
13718 * math/w_j1.c: Likewise.
13719 * math/w_j1f.c: Likewise.
13720 * math/w_j1l.c: Likewise.
13721 * math/w_jn.c: Likewise.
13722 * math/w_jnf.c: Likewise.
13723 * math/w_jnl.c: Likewise.
13724 * math/w_lgamma.c: Likewise.
13725 * math/w_lgamma_r.c: Likewise.
13726 * math/w_lgammaf.c: Likewise.
13727 * math/w_lgammaf_r.c: Likewise.
13728 * math/w_lgammal.c: Likewise.
13729 * math/w_lgammal_r.c: Likewise.
13730 * math/w_log.c: Likewise.
13731 * math/w_log10.c: Likewise.
13732 * math/w_log10f.c: Likewise.
13733 * math/w_log10l.c: Likewise.
13734 * math/w_log2.c: Likewise.
13735 * math/w_log2f.c: Likewise.
13736 * math/w_log2l.c: Likewise.
13737 * math/w_logf.c: Likewise.
13738 * math/w_logl.c: Likewise.
13739 * math/w_pow.c: Likewise.
13740 * math/w_powf.c: Likewise.
13741 * math/w_powl.c: Likewise.
13742 * math/w_remainder.c: Likewise.
13743 * math/w_remainderf.c: Likewise.
13744 * math/w_remainderl.c: Likewise.
13745 * math/w_scalb.c: Likewise.
13746 * math/w_scalbf.c: Likewise.
13747 * math/w_scalbl.c: Likewise.
13748 * math/w_sinh.c: Likewise.
13749 * math/w_sinhf.c: Likewise.
13750 * math/w_sinhl.c: Likewise.
13751 * math/w_sqrt.c: Likewise.
13752 * math/w_sqrtf.c: Likewise.
13753 * math/w_sqrtl.c: Likewise.
13754 * math/w_tgamma.c: Likewise.
13755 * math/w_tgammaf.c: Likewise.
13756 * math/w_tgammal.c: Likewise.
13758 * po/ja.po: Update from translation team.
13760 2011-09-29 Andreas Jaeger <aj@suse.de>
13763 * sunrpc/netname.c (netname2host): Fix logic.
13767 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13769 * math/w_remainder.c (__remainder): Likewise.
13770 * math/w_remainderf.c (__remainderf): Likewise.
13771 * math/libm-test.inc (remainder_test): Add test cases.
13773 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13775 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13778 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13780 * string/test-memcmp.c: Avoid unncessary #defines.
13781 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13783 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13785 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13786 Use new sse2 version for core i3 - i7 as it's faster
13787 than sse42 version.
13788 (bit_Prefer_PMINUB_for_stringop): New.
13789 * sysdeps/x86_64/rawmemchr.S: Update.
13790 Replace with faster SSE2 version.
13791 * sysdeps/x86_64/memrchr.S: New file.
13792 * sysdeps/x86_64/memchr.S: Update.
13793 Replace with faster SSE2 version.
13795 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13797 * elf/dl-load.c (lose): Add cast to avoid warning.
13799 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13801 * po/ca.po: Update from translation team.
13803 * inet/getnetgrent_r.c: Hook up nscd.
13804 * nscd/Makefile (routines): Add nscd_netgroup.
13805 (nscd-modules): Add netgroupcache.
13806 (CFLAGS-netgroupcache.c): Define.
13807 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13808 (cache_search): Add const to second parameter.
13809 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13811 (dbs): Add netgrdb entry.
13812 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13813 (verify_persistent_db): Handle netgrdb.
13814 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13815 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13817 (netgroup_response_header): Define.
13818 (innetgroup_response_header): Define.
13819 (datahead): Add netgroup_response_header and innetgroup_response_header
13821 * nscd/nscd.conf: Add entries for netgroup cache.
13822 * nscd/nscd.h (dbtype): Add netgrdb.
13823 (_PATH_NSCD_NETGROUP_DB): Define.
13824 (netgroup_iov_disabled): Declare.
13825 (xmalloc, xcalloc, xrealloc): Move declarations here.
13826 (cache_search): Adjust prototype.
13827 Add netgroup-related prototypes.
13828 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13829 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13830 (__nscd_innetgr): Declare.
13831 * nscd/selinux.c (perms): Use access_vector_t as element type and
13832 add netgroup-related initializers.
13833 * nscd/netgroupcache.c: New file.
13834 * nscd/nscd_netgroup.c: New file.
13835 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13836 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13837 For four parameters use innetgr.
13838 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13839 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13840 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13841 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13843 * nscd/connections.c (register_traced_file): Don't register file
13844 for disabled databases.
13846 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13848 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13850 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13851 from tree and freeing node.
13853 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13855 * nss/nsswitch.c (__nss_database_lookup): Handle
13856 nss_parse_service_list out of memory case.
13858 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13860 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13861 out of memory case.
13863 2011-10-04 Andreas Schwab <schwab@redhat.com>
13865 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13866 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13868 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13869 elf_machine_rela, elf_machine_lazy_rel.
13870 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13871 (ELF_DYNAMIC_DO_REL): Likewise.
13872 (ELF_DYNAMIC_DO_RELA): Likewise.
13873 (ELF_DYNAMIC_RELOCATE): Likewise.
13874 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13875 to ELF_DYNAMIC_DO_REL.
13876 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13877 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13878 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13880 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13881 skip_ifunc, don't call ifunc function if non-zero.
13882 (elf_machine_rela): Likewise.
13883 (elf_machine_lazy_rel): Likewise.
13884 (elf_machine_lazy_rela): Likewise.
13885 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13886 (elf_machine_lazy_rel): Likewise.
13887 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13889 (elf_machine_lazy_rel): Likewise.
13890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13892 (elf_machine_lazy_rel): Likewise.
13893 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13894 (elf_machine_lazy_rel): Likewise.
13895 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13896 (elf_machine_lazy_rel): Likewise.
13897 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13898 (elf_machine_lazy_rel): Likewise.
13899 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13900 (elf_machine_lazy_rel): Likewise.
13901 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13902 (elf_machine_lazy_rel): Likewise.
13903 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13904 (elf_machine_lazy_rel): Likewise.
13906 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13908 * nss/nss_files/files-init.c (_nss_files_init): Use static
13909 initialization for all the *_traced_file variables.
13911 2011-09-28 Andreas Schwab <schwab@redhat.com>
13913 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13915 2011-09-27 Roland McGrath <roland@hack.frob.com>
13918 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13920 2011-09-27 Andreas Schwab <schwab@redhat.com>
13922 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13923 Reread the line before reparsing it.
13925 2011-09-26 Andreas Schwab <schwab@redhat.com>
13927 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13929 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13930 Maxim Kuvyrkov <maxim@codesourcery.com>
13931 Joseph Myers <joseph@codesourcery.com>
13933 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13934 if needed for __stack_chk_guard.
13936 2011-09-19 Roland McGrath <roland@hack.frob.com>
13938 * sysdeps/posix/spawni.c (script_execute): Always define it.
13939 It will be optimized away if unused.
13940 (maybe_script_execute): New function.
13941 (__spawni): Call it.
13943 * Makerules: Don't include tls.make.
13944 (config-tls): Always set to thread.
13945 * tls.make.c: File removed.
13947 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13949 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13950 * config.make.in (CPPFLAGS-config): New substituted variable.
13952 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13954 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13957 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13958 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13960 2011-09-15 Roland McGrath <roland@hack.frob.com>
13962 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13963 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13964 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13965 (CALL_FAIL): Likewise.
13966 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13967 (CALL_FAIL): Macro removed.
13968 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13970 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13972 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13973 for __FINITE_MATH_ONLY__ == 1.
13975 2011-09-15 Andreas Schwab <schwab@redhat.com>
13977 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13978 __ieee754_sqrt instead of sqrt.
13979 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13980 __ieee754_sqrtf instead of sqrtf.
13981 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13982 __floorf instead of floorf.
13983 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13984 __floorf, __truncf instead of floorf, truncf.
13986 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13988 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13990 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13991 __extern_always_inline.
13992 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13995 2011-09-14 Andreas Schwab <schwab@redhat.com>
13997 * elf/rtld.c (dl_main): Also relocate in dependency order when
13998 doing symbol dependency testing.
14000 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14002 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14003 Always define `refsym'.
14005 2011-09-13 Andreas Schwab <schwab@redhat.com>
14007 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14008 (__FD_ELT): Renamed from __FDELT.
14009 * misc/bits/select2.h (__FD_ELT): Likewise.
14010 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14011 __FD_MASK instead of __FDELT, __FDMASK.
14012 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14014 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14017 * elf/Makefile (gen-ldd): Fix pattern.
14019 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14020 (init_tls): Likewise.
14022 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14024 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14026 2011-09-12 Andreas Schwab <schwab@redhat.com>
14028 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14029 `struct cmsghdr *' instead of `void *'.
14030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14033 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14035 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14037 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14038 ldd_rewrite_script.
14040 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14042 * configure.in: Remove --with-tls option.
14043 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14044 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14045 out in case it is missing.
14046 * sysdeps/ia64/elf/configure.in: Likewise.
14047 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14048 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14049 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14050 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14051 * sysdeps/sh/elf/configure.in: Likewise.
14052 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14053 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14054 * sysdeps/x86_64/elf/configure.in: Likewise.
14055 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14056 * sysdeps/mach/hurd/tls.h: Likewise.
14059 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14062 * configure.in: Fix use of AC_INIT.
14064 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14066 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14068 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14070 * malloc/hooks.c: Likewise.
14073 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14074 variables statically.
14075 (narenas): Initialize.
14076 (list_lock): Initialize.
14077 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14078 initializtion of main_arena and list_lock. Small cleanups.
14079 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14080 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14081 Add initializers to main_arena and mp_.
14082 (malloc_state): Remove pagesize member. Change all users to use
14085 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14086 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14087 is always initialized.
14089 * malloc/malloc.c: Removed unused configurations and dead code.
14090 * malloc/arena.c: Likewise.
14091 * malloc/hooks.c: Likewise.
14092 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14094 * include/tls.h: Removed. USE___THREAD must always be defined.
14095 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14096 * elf/dl-libc.c: Likewise.
14097 * elf/dl-tsd.c: Likewise.
14098 * include/errno.h: Likewise.
14099 * include/netdb.h: Likewise.
14100 * include/resolv.h: Likewise.
14101 * inet/herrno-loc.c: Likewise.
14102 * inet/herrno.c: Likewise.
14103 * malloc/arena.c: Likewise.
14104 * malloc/hooks.c: Likewise.
14105 * malloc/malloc.c: Likewise.
14106 * resolv/res-state.c: Likewise.
14107 * resolv/res_libc.c: Likewise.
14108 * sysdeps/i386/dl-machine.h: Likewise.
14109 * sysdeps/ia64/dl-machine.h: Likewise.
14110 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14111 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14112 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14113 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14114 * sysdeps/sh/dl-machine.h: Likewise.
14115 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14116 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14117 * sysdeps/unix/i386/sysdep.S: Likewise.
14118 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14119 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14120 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14121 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14123 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14124 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14125 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14128 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14129 * sysdeps/x86_64/dl-machine.h: Likewise.
14130 * tls.make.c: Likewise.
14132 * configure.in: Remove --with-__thread option. Make tests for
14133 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14134 tls_model attribute fail if no support is available. Remove
14136 * Makeconfig: Adjust for dropped configure option. All features are
14138 * Makerules: Likewise.
14139 * Versions.def: Likewise.
14140 * argp/argp-fmtstream.c: Likewise.
14141 * argp/argp-fmtstream.h: Likewise.
14142 * argp/argp-help.c: Likewise.
14143 * assert/assert.c: Likewise.
14144 * config.h.in: Likewise.
14145 * config.make.in: Likewise.
14146 * configure: Likewise.
14147 * configure.in: Likewise.
14148 * csu/Versions: Likewise.
14149 * csu/init.c: Likewise.
14150 * elf/tst-audit2.c: Likewise.
14151 * elf/tst-tls10.c: Likewise.
14152 * elf/tst-tls10.h: Likewise.
14153 * elf/tst-tls11.c: Likewise.
14154 * elf/tst-tls12.c: Likewise.
14155 * elf/tst-tls14.c: Likewise.
14156 * elf/tst-tlsmod11.c: Likewise.
14157 * elf/tst-tlsmod12.c: Likewise.
14158 * elf/tst-tlsmod13.c: Likewise.
14159 * elf/tst-tlsmod13a.c: Likewise.
14160 * elf/tst-tlsmod14a.c: Likewise.
14161 * elf/tst-tlsmod15b.c: Likewise.
14162 * elf/tst-tlsmod16a.c: Likewise.
14163 * elf/tst-tlsmod16b.c: Likewise.
14164 * elf/tst-tlsmod7.c: Likewise.
14165 * elf/tst-tlsmod8.c: Likewise.
14166 * elf/tst-tlsmod9.c: Likewise.
14167 * gmon/gmon.c: Likewise.
14168 * grp/fgetgrent_r.c: Likewise.
14169 * grp/putgrent.c: Likewise.
14170 * hurd/fopenport.c: Likewise.
14171 * include/libc-symbols.h: Likewise.
14172 * include/tls.h: Likewise.
14173 * intl/gettextP.h: Likewise.
14174 * intl/loadinfo.h: Likewise.
14175 * locale/global-locale.c: Likewise.
14176 * locale/localeinfo.h: Likewise.
14177 * mach/devstream.c: Likewise.
14178 * malloc/arena.c: Likewise.
14179 * malloc/set-freeres.c: Likewise.
14180 * misc/err.c: Likewise.
14181 * misc/getttyent.c: Likewise.
14182 * misc/mntent_r.c: Likewise.
14183 * posix/getopt.c: Likewise.
14184 * posix/wordexp.c: Likewise.
14185 * pwd/fgetpwent_r.c: Likewise.
14186 * resolv/Versions: Likewise.
14187 * resolv/res_hconf.c: Likewise.
14188 * shadow/fgetspent_r.c: Likewise.
14189 * shadow/putspent.c: Likewise.
14190 * stdio-common/printf_fphex.c: Likewise.
14191 * stdio-common/tmpfile.c: Likewise.
14192 * stdlib/abort.c: Likewise.
14193 * stdlib/fmtmsg.c: Likewise.
14194 * sunrpc/auth_unix.c: Likewise.
14195 * sunrpc/clnt_perr.c: Likewise.
14196 * sunrpc/clnt_tcp.c: Likewise.
14197 * sunrpc/clnt_udp.c: Likewise.
14198 * sunrpc/clnt_unix.c: Likewise.
14199 * sunrpc/openchild.c: Likewise.
14200 * sunrpc/svc_simple.c: Likewise.
14201 * sunrpc/svc_tcp.c: Likewise.
14202 * sunrpc/svc_udp.c: Likewise.
14203 * sunrpc/svc_unix.c: Likewise.
14204 * sunrpc/xdr.c: Likewise.
14205 * sunrpc/xdr_array.c: Likewise.
14206 * sunrpc/xdr_rec.c: Likewise.
14207 * sunrpc/xdr_ref.c: Likewise.
14208 * sunrpc/xdr_stdio.c: Likewise.
14210 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14212 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14214 2011-07-03 Andreas Jaeger <aj@suse.de>
14216 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14217 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14218 regenerate with gen-libm-tests.pl.
14220 2010-05-12 Petr Baudis <pasky@suse.cz>
14223 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14224 around j0() zero points by switching to j1().
14225 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14226 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14230 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14232 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14234 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14237 Patch in part by Pavel Roskin <proski@gnu.org>.
14240 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14242 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14243 Free memory block if necessary.
14246 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14247 be NULL. Don't lock in this case.
14249 2011-09-09 Roland McGrath <roland@hack.frob.com>
14251 * elf/elf.h (ELFOSABI_GNU): New macro.
14252 (ELFOSABI_LINUX): Define to that.
14254 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14256 * string/strncat.c (strncat): Undef the symbol in case it has been
14257 defined in bits/string.h.
14259 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14261 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14263 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14266 2011-08-17 Andreas Jaeger <aj@suse.de>
14268 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14270 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14271 Ian Lance Taylor <iant@google.com>
14273 * math/libm-test.inc (lround_test): New testcase.
14274 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14276 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14278 * Makefile: Remove support for automatic cvs check-ins.
14279 * Makerules: Likewise.
14280 * config.make.in: Likewise.
14281 * configure.in: Likewise.
14282 * intl/Makefile: Likewise.
14283 * locale/Makefile: Likewise.
14284 * po/Makefile: Likewise.
14285 * posix/Makefile: Likewise.
14286 * sysdeps/gnu/Makefile: Likewise.
14287 * sysdeps/mach/hurd/Makefile: Likewise.
14288 * sysdeps/sparc/sparc32/Makefile: Likewise.
14291 * posix/Makefile (bug-regex32-ENV): Define.
14292 Patch by John Stanley <jpsinthemix@verizon.net>.
14294 * misc/Makefile (headers): Add bits/select2.h.
14295 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14296 * misc/bits/select2.h: New file.
14297 * include/bits/select2.h: New file.
14298 * debug/Makefile (routines): Add fdelt_chk.
14299 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14300 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14302 * debug/fdelt_chk.c: New file.
14304 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14305 * wcsmbs/test-wmemcmp.c: Likewise.
14306 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14307 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14309 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14311 * string/Makefile (strop-tests): Add memcmp.
14312 * string/test-wmemcmp.c: New file.
14313 * string/test-memcmp.c: Add wmemcmp support.
14315 2011-09-08 Roland McGrath <roland@hack.frob.com>
14318 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14321 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14322 garbage value in a __mach_port_mod_refs call in the cases of the
14323 task-self and thread-self ports.
14325 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14327 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14329 2011-09-08 Andreas Schwab <schwab@redhat.com>
14331 * elf/dl-load.c (lose): Check for non-null L.
14333 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14335 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14337 * elf/dl-libc.c (dlerror_run): Pass back error code from
14341 * elf/dl-load.c (lose): Free l_origin if it is valid.
14343 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14345 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14346 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14347 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14348 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14349 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14350 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14352 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14354 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14355 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14356 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14357 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14358 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14359 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14360 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14361 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14362 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14363 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14365 2011-08-15 Alan Modra <amodra@gmail.com>
14368 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14369 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14370 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14371 ppc_mcount to static-only-routines.
14372 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14374 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14375 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14377 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14379 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14380 for finite and infinity parameters.
14382 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14384 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14385 and add nop instructions for throughput optimization.
14386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14388 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14390 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14391 aligned copy for power7 with vector-scalar instructions.
14392 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14394 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14399 2011-09-07 Andreas Schwab <schwab@redhat.com>
14402 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14405 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14407 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14408 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14409 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14410 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14413 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14415 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14416 Forgot to demangle the pointer.
14418 * sysdeps/i386/sysdep.h: Define atom_text_section.
14419 * sysdeps/x86_64/sysdep.h: Likewise.
14420 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14421 section with atom_text_section.
14422 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14423 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14424 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14425 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14426 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14428 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14429 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14430 already be defined. Change to take two parameters and don't assign
14431 result to variable. Adjust all users.
14432 Define INTERNAL_GETTIME if not already defined.
14433 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14436 HAVE_CLOCK_GETTIME_VSYSCALL.
14437 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14439 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14440 gettimeofday vsyscall, just use time.
14442 2011-09-06 Andreas Schwab <schwab@redhat.com>
14444 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14447 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14449 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14453 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14454 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14455 syscall if possible.
14457 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14459 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14460 e_ident. Don't pass to find_mapsXX.
14461 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14463 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14466 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14467 * sysdeps/x86_64/multiarch/strchr.S: Update.
14468 Check bit_slow_BSF bit.
14469 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14470 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14471 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14473 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14476 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14478 (tryshell): Define.
14479 (__spawni): Change last parameter to be flag. Test
14480 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14481 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14482 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14483 * posix/spawni.c: Likewise.
14484 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14485 * posix/spawnp.c: Likewise. Change normal version to use
14486 SPAWN_XFLAGS_USE_PATH.
14487 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14488 SPAWN_XFLAGS_TRY_SHELL.
14491 * posix/glob.h: Remove gcc 1.x support.
14494 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14496 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14499 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14501 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14502 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14503 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14504 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14505 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14506 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14508 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14510 * sysdeps/x86_64/wcscmp.S: New file.
14512 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14513 wcscmp-c wcscmp-sse2
14514 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14515 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14516 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14517 * wcsmbs/wcscmp.c: Allow renaming.
14519 2011-09-05 David S. Miller <davem@davemloft.net>
14521 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14522 stack slot, rather than the struct return pointer slot.
14523 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14524 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14526 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14528 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14530 * po/ja.po: Update from translation team.
14533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14534 kernel in 64-bit binaries.
14536 2011-09-01 David S. Miller <davem@davemloft.net>
14538 * elf/elf.h (HWCAP_SPARC_*): Move to..
14539 * sysdeps/sparc/sysdep.h: this new file and add new values.
14540 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14541 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14542 _DL_HWCAP_COUNT to 24.
14543 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14545 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14546 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14547 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14549 instead of magic constants.
14550 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14552 2011-08-31 David S. Miller <davem@davemloft.net>
14554 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14556 Reimplement to do errno handling inline.
14557 (SYSCALL_ERROR_HANDLER): New macro.
14558 (__SYSCALL_STRING): Do not do errno handling in asm.
14559 (__CLONE_SYSCALL_STRING): Delete.
14560 (__INTERNAL_SYSCALL_STRING): Delete.
14561 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14562 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14563 (PSEUDO): Reimplement to do errno handling inline.
14564 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14565 (SYSCALL_ERROR_HANDLER): New macro.
14566 (__SYSCALL_STRING): Do not do errno handling in asm.
14567 (__CLONE_SYSCALL_STRING): Delete.
14568 (__INTERNAL_SYSCALL_STRING): Delete.
14569 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14570 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14572 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14573 (inline_syscall*): Add 'err' argument.
14574 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14575 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14576 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14577 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14579 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14580 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14582 2011-08-30 Andreas Schwab <schwab@redhat.com>
14584 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14586 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14588 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14591 2011-08-24 David S. Miller <davem@davemloft.net>
14593 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14595 2011-08-24 Andreas Schwab <schwab@redhat.com>
14597 * elf/Makefile: Add rules to build and run unload8 test.
14598 * elf/unload8.c: New file.
14599 * elf/unload8mod1.c: New file.
14600 * elf/unload8mod1x.c: New file.
14601 * elf/unload8mod2.c: New file.
14602 * elf/unload8mod3.c: New file.
14604 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14607 2011-08-23 David S. Miller <davem@davemloft.net>
14609 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14610 subtract stack bias.
14611 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14612 %sp not %fp in calculations.
14613 (_JMPBUF_UNWINDS_ADJ): Likewise.
14615 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14616 (aio_suspend): Call it to force an exception region around the
14617 AIO_MISC_WAIT() invocation.
14619 2011-08-23 Andreas Schwab <schwab@redhat.com>
14621 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14624 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14626 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14628 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14629 and <dl-machine.h>.
14630 (Elf64_FuncDesc): Remove.
14632 2011-08-22 David S. Miller <davem@davemloft.net>
14634 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14635 sigaltstack check, add missing cfi directives.
14636 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14637 missing cfi directives, and sigaltstack handling.
14639 2011-08-16 Andreas Schwab <schwab@redhat.com>
14642 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14643 object is seen twice.
14644 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14646 * elf/Makefile (distribute): Add tst-initorder2.c.
14647 (tests): Add tst-initorder2.
14648 (modules-names): Add tst-initorder2a tst-initorder2b
14649 tst-initorder2c tst-initorder2d. Add rules to build them.
14650 ($(objpfx)tst-initorder2.out): New rule.
14651 * elf/tst-initorder2.c: New file.
14652 * elf/tst-initorder2.exp: New file.
14654 2011-08-22 Andreas Schwab <schwab@redhat.com>
14656 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14658 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14659 dependencies back to end of function.
14661 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14662 $(elfobjdir)/ld.so.
14664 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14666 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14667 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14668 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14669 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14670 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14671 of __vdso_gettimeofday.
14672 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14673 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14675 (_libc_vdso_platform_setup): Remove initialization of
14676 __vdso_gettimeofday and __vdso_time.
14678 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14680 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14681 and fgetc_unlocked.
14682 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14685 * elf/dl-open.c (add_to_global): Report additions to the global scope
14686 for LD_DEBUG=scopes.
14687 (dl_open_worker): Also print scope of newly loaded dependencies.
14688 (_dl_show_scope): Indicate if there is no scope.
14691 * stdio-common/Makefile (tests): Add bug24.
14692 * stdio-common/bug24.c: New file.
14694 2011-08-19 Andreas Jaeger <aj@suse.de>
14697 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14698 non-existant file when using close-on-exec mode.
14700 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14703 the very first instruction.
14705 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14706 the CFI state in the end.
14707 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14708 inclusion of dl-trampoline.h.
14709 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14711 2011-08-19 Andreas Schwab <schwab@redhat.com>
14713 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14714 expectations for long double.
14716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14717 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14719 2011-08-14 David S. Miller <davem@davemloft.net>
14721 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14722 artificual limit depends upon the system page size.
14724 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14726 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14727 * resolv/Makefile: Define CFLAGS-libresolv.
14729 2011-08-17 Andreas Schwab <schwab@redhat.com>
14731 * nss/makedb.c (compute_tables): Make variables used in nested
14734 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14736 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14737 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14738 if buffer was too small.
14740 * elf/pldd.c (main): Attach to all threads in the process.
14741 Rewrite /proc handling to use *at functions.
14743 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14745 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14746 specifies first scope to show.
14747 (dl_open_worker): Update callers. Move printing scope of new
14748 object to before the relocation.
14749 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14750 * sysdeps/generic/ldsodefs.h: Update declaration.
14752 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14753 string for the scope number.
14755 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14757 * nscd/servicescache.c (cache_addserv): Make sure written is always
14760 2011-08-14 Roland McGrath <roland@hack.frob.com>
14762 * sysdeps/i386/i486/bits/atomic.h
14763 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14764 statement expression, so as to suppress "set but not used" warning.
14765 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14767 * string/strncat.c (STRNCAT): Use prototype definition.
14769 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14770 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14772 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14773 (localedef-modules): Add localedef.
14774 (locale-modules): Add locale.
14776 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14777 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14778 to avoid a warning.
14780 2011-08-14 David S. Miller <davem@davemloft.net>
14782 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14783 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14785 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14787 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14788 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14789 * elf/rtld.c (dl_main): Set l_name of vDSO.
14790 Call _dl_show_scope when DL_DEBUG_SCOPES.
14791 (process_dl_debug): Recognize scopes flag and also set it for all.
14792 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14793 Declare _dl_show_scope.
14795 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14796 (do_dlopen): Pass caller_dlopen to dl_open.
14797 (__libc_dlopen_mode): Initialize caller_dlopen.
14799 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14800 of libc. Make tolower call locale-independent. Optimize a bit by
14801 using isdigit instead of isalnum.
14802 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14804 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14806 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14807 was a dependency or dynamically loaded.
14809 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14811 * intl/l10nflist.c: Allow architecture-specific pop function.
14812 * sysdeps/x86_64/l10nflist.c: New file.
14814 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14817 2011-08-10 Andreas Schwab <schwab@redhat.com>
14819 * include/dirent.h: Add libc_hidden_proto for scandirat and
14820 scandirat64. Don't declare __scandirat64.
14821 * dirent/scandirat.c: Add libc_hidden_def.
14822 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14823 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14825 2011-08-10 David S. Miller <davem@davemloft.net>
14827 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14829 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14830 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14831 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14833 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14835 * Versions.def [libc]: Add GLIBC_2.15.
14836 * dirent/Makefile (routines): Add scandirat and scandirat64.
14837 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14839 * dirent/dirent.h: Declare scandirat and scandirat64.
14840 * dirent/scandirat.c: New file.
14841 * dirent/scandirat64.c: New file.
14842 * sysdeps/wordsize-64/scandirat.c: New file.
14843 * sysdeps/wordsize-64/scandirat64.c: New file.
14844 * dirent/opendir.c: Define opendirat.
14845 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14847 * dirent/scandir64.c: Adjust for scandir.c change.
14848 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14849 __scandirat64, and __scandir_cancel_handler.
14850 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14851 additional parameter and use openat instead of open (outside of ld.so).
14852 Add new __opendir as wrapper around __opendirat.
14853 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14854 here without requiring old scandirat implementation.
14856 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14858 * dirent/scandir.c (cancel_handler): Renamed to
14859 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14860 defined. Adjust users.
14861 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14862 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14864 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14866 * string/test-string.h (IMPL): Use __STRING to expand name and then
14869 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14872 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14874 * string/Makefile: Update.
14875 (strop-tests): Append strncat.
14876 * string/test-wcscmp.c: New file.
14877 New comprehensive test for wcscmp.
14878 * string/test-strcmp.c: Update.
14879 (WIDE): New define.
14881 2011-07-22 Andreas Schwab <schwab@redhat.com>
14883 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14886 2011-07-26 Andreas Schwab <schwab@redhat.com>
14888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14889 encoding to ACE if AI_IDN.
14891 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14893 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14894 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14896 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14898 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14899 Fix overflow bug in strncat.
14900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14902 * string/test-strncat.c: Update.
14903 Add new tests for checking overflow bugs.
14905 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14908 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14909 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14910 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14911 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14912 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14913 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14914 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14915 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14917 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14918 (USE_AS_STRCAT): Define.
14919 Add strcat and strncat support.
14920 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14922 2011-07-25 Andreas Schwab <schwab@redhat.com>
14924 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14925 __n bigger than INT_MAX+1.
14926 (__strncmp_g): Likewise.
14928 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14930 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14931 * libio/stido.h: Likewise.
14933 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14938 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14939 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14940 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14941 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14945 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14948 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14950 (_dl_x86_64_save_sse): Likewise.
14952 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14956 (_dl_x86_64_save_sse): Likewise.
14958 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14960 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14962 2011-07-21 Andreas Schwab <schwab@redhat.com>
14964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14966 (_dl_x86_64_save_sse): Use correct AVX check.
14968 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14970 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14971 bug in strncpy/strncat.
14972 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14974 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14976 * string/tester.c (test_strcat): Add tests for different alignments
14977 of source and destination.
14978 (test_strncat): Likewise.
14980 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14983 * posix/glob.c (glob): Check passed in values before using them in
14984 expressions to avoid some overflows.
14985 (glob_in_dir): Likewise.
14988 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14989 check for AVX enablement so that we don't crash with old kernels and
14991 * elf/tst-audit4.c: Add same checks here.
14992 * elf/tst-audit6.c: Likewise.
14994 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14996 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14998 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15000 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15002 * po/cs.po: Update from translation team.
15003 * po/bg.po: Likewise.
15005 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15007 * misc/sys/cdefs.h: Add support for const attribute.
15008 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15009 to gnu_dev_{major,minor,makedev} functions.
15011 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15013 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15015 2011-07-20 Andreas Schwab <schwab@redhat.com>
15017 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15020 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15022 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15023 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15024 register in order to avoid conflicts with the soft frame pointer
15025 being held in r11 when necessary.
15026 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15027 (INTERNAL_VSYSCALL_NCS): Likewise.
15029 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15031 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15032 * elf/dl-fini.c (_dl_fini): Adjust caller.
15033 * elf/dl-close.c (_dl_close_worker): Likewise.
15034 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15036 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15038 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15039 "aux_cache->nlibs < 0".
15041 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15042 in the reload-count case.
15044 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15047 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15048 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15049 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15050 * sysdeps/x86_64/multiarch/strcat.S: New file.
15051 * sysdeps/x86_64/multiarch/strncat.S: New file.
15052 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15053 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15054 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15055 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15056 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15057 (USE_AS_STRCAT): Define.
15058 Add strcat and strncat support.
15059 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15060 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15061 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15062 * string/strncat.c: Update.
15063 (USE_AS_STRNCAT): Define.
15064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15065 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15067 * sysdeps/x86_64/multiarch/init-arch.h
15068 (bit_Prefer_PMINUB_for_stringop): New.
15069 (index_Prefer_PMINUB_for_stringop): Likewise.
15070 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15071 bit_Prefer_PMINUB_for_stringop.
15073 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15075 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15077 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15078 of casting of buffer.
15079 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15080 buffer32 and buffer64.
15081 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15082 writes instead of casting of buffer.
15083 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15085 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15088 2011-07-19 Andreas Schwab <schwab@redhat.com>
15090 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15092 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15094 * nscd/nscd.c (termination_handler): Don't do anything for a database
15095 if it has not yet been initialized.
15097 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15099 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15101 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15103 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15105 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15107 * po/nl.po: Update from translation team.
15108 * po/sv.po: Likewise.
15110 2011-07-16 Roland McGrath <roland@hack.frob.com>
15112 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15113 now disallowed by GCC.
15115 * configure.in (use-default-link): Default to yes if a test -shared
15116 link meets our qualifications.
15117 * configure: Regenerated.
15119 * config.make.in (output-format): New variable.
15120 * configure.in: Check for ld --print-output-format support.
15121 * configure: Regenerated.
15122 * Makerules ($(common-objpfx)format.lds)
15123 [$(output-format) != unknown]: Just use $(output-format),
15124 instead of the linker-script munging.
15126 2011-07-14 Roland McGrath <roland@hack.frob.com>
15128 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15129 of $(common-objpfx)shlib.lds.
15130 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15132 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15133 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15135 * configure.in (-z relro check): Adjust test code to add a large
15136 writable data section after it.
15137 * configure: Regenerated.
15139 2011-07-11 Roland McGrath <roland@hack.frob.com>
15141 * configure.in (-z relro check): Fix test code to make the variable
15143 * configure: Regenerated.
15145 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15147 * nscd/nscd.h (struct traced_file): Define.
15148 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15149 elements. Add traced_files.
15150 (inotify_fd): Declare.
15151 (register_traced_file): Declare.
15152 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15153 (inotify_fd): Export.
15154 (resolv_conf_descr): Remove.
15155 (nscd_init): Move inotify descriptor creation to main.
15156 Don't register files for notification here.
15157 (register_traced_file): New function.
15158 (invalidate_cache): Don't use reset_res to determine whether to call
15159 res_init, go through the list of registered files.
15160 (main_loop_poll): The inotify descriptors are now stored in the
15161 structures for the traced files.
15162 (main_loop_epoll): Likewise
15163 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15164 to __nss_disable_nscd.
15165 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15166 for a database anymore. Check the records for all the registered
15168 * nss/Makefile (libnss_files-routines): Add files-init.
15169 (libnss_db-routines): Add db-init.
15170 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15171 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15172 * nss/nss_db/db-init.c: New file.
15173 * nss/nss_files/files-init.c: New file.
15174 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15175 __nss_lookup_function.
15176 (__nss_lookup_function): Call nss_load_library.
15177 (nss_load_all_libraries): New function.
15178 (__nss_disable_nscd): Take parameter with callback function for files
15179 to register. Set is_nscd. Load all the DSOs for the NSS modules
15180 used for the cached services.
15181 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15182 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15183 options for features to all the files in nscd.
15185 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15187 2011-07-10 Roland McGrath <roland@hack.frob.com>
15189 * csu/elf-init.c (__libc_csu_init): Comment typo.
15191 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15193 * po/pl.po: Update from translation team.
15194 * po/ja.po: Likewise.
15195 * po/ru.po: Likewise.
15196 * po/ko.po: Likewise.
15197 * po/fr.po: Likewise.
15199 2011-07-09 Roland McGrath <roland@hack.frob.com>
15201 * configure.in (.ctors/.dtors header and trailer check):
15202 Use an empirical test on a built program.
15203 * configure: Regenerated.
15205 * configure.in (-z relro check): Use an empirical test on a built DSO.
15206 Detect, but do not require, on ia64.
15207 * configure: Regenerated.
15209 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15210 Update tests that use readelf to use $READELF instead.
15211 * configure: Regenerated.
15213 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15215 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15216 if the result is not used.
15218 2011-07-05 Andreas Jaeger <aj@suse.de>
15221 * stdlib/tst-strtod.c: Add testcase.
15223 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15225 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15226 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15227 The latter has a higher limit. Take additional parameter to pass to
15229 (__pathconf): Pass file to __statfs_link_max.
15230 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15232 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15236 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15237 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15239 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15240 (__statfs_filesize_max): Likewise.
15241 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15243 2011-07-05 Andreas Jaeger <aj@suse.de>
15245 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15247 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15249 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15251 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15254 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15256 * Makefile (strop-tests): Add strncat.
15257 * string/test-strncat.c: New file.
15259 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15261 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15263 2011-06-21 Andreas Jaeger <aj@suse.de>
15265 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15266 Copy rule from iconvdata/Makefile.
15268 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15271 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15272 but no long options are defined, just return 'W'.
15274 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15277 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15279 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15281 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15283 (innetgr): Likewise.
15285 2011-07-05 Roland McGrath <roland@hack.frob.com>
15287 * config.make.in (install_root): Default to $(DESTDIR).
15289 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15291 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15293 2011-07-02 Roland McGrath <roland@hack.frob.com>
15295 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15297 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15298 containing directory rather than embedding absolute directory names.
15300 * scripts/check-local-headers.sh: Rewritten using awk.
15301 Match by word, not by line. Print error messages for matches.
15302 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15304 * Makerules [shlib-lds-flags empty]:
15305 ($(common-objpfx)libc_pic.opts): New target.
15306 ($(common-objpfx)libc_pic.os.clean): New target.
15307 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15309 * config.make.in (OBJCOPY): New variable.
15310 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15311 * configure: Regenerated.
15313 * config.make.in (use-default-link): New variable.
15314 * configure.in (use_default_link): Grok --with-default-link to set it.
15315 * configure: Regenerated.
15316 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15317 (shlib-lds, shlib-lds-flags): Define to empty.
15319 * Makerules (shlib-lds): New variable.
15320 (shlib-lds-flags): New variable.
15321 (build-shlib, build-moduile, build-module-asneeded): Use it.
15322 ($(common-objpfx)libc.so): Use $(shlib-lds).
15323 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15324 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15326 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15327 DT_FLAGS/DT_FLAGS_1 with zero flags.
15329 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15330 linker script munging.
15332 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15334 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15336 * crypt/sha512.c (sha512_process_block): Perform total addition using
15337 128-bit if possible.
15338 (__sha512_finish_ctx): Likewise.
15339 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15341 * crypt/sha256.c (SWAP64): Define.
15342 (sha256_process_block): Perform total addition using 64-bit if
15344 (__sha256_finish_ctx): Likewise.
15346 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15348 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15349 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15350 * nscd/hstcache.c (cache_addhst): Likewise.
15351 * nscd/grpcache.c (cache_addgr): Likewise.
15352 * nscd/aicache.c (addhstaiX): Likewise
15353 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15355 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15357 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15358 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15359 * nscd/hstcache.c (cache_addhst): Likewise.
15360 * nscd/grpcache.c (cache_addgr): Likewise.
15361 * nscd/aicache.c (addhstaiX): Likewise
15363 2011-07-01 Andreas Schwab <schwab@redhat.com>
15365 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15366 domain only when needed.
15368 2011-06-30 Andreas Schwab <schwab@redhat.com>
15370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15371 is always restored.
15373 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15375 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15376 are re-adding the entry.
15377 * nscd/servicescache.c (cache_addserv): Likewise.
15379 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15381 * sysdeps/generic/dl-irel.h: fix protection against multiple
15383 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15385 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15388 * malloc/memusage.sh: Fix quoting in message.
15389 * debug/xtrace.sh: Likewise.
15391 * configure.in: Remove support for --experimental-malloc option, make
15393 * config.make.in: Likewise.
15394 * malloc/Makefile: Likewise.
15396 2011-06-27 Andreas Schwab <schwab@redhat.com>
15398 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15399 two-byte characters.
15401 2011-06-27 Roland McGrath <roland@hack.frob.com>
15403 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15404 AC_CACHE_CHECK invocation.
15405 * configure: Regenerated.
15407 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15409 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15412 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15413 bit from old_res_options.
15415 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15417 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15418 value type for setfct.
15420 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15423 __gettimeofday instead of gettimeofday.
15425 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15427 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15429 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15431 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15433 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15436 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15439 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15440 strcpy-sse2-unaligned strncpy-sse2-unaligned
15441 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15442 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15443 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15444 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15445 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15446 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15447 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15448 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15449 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15450 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15451 (STRCPY): Support SSE2 and SSSE3 versions.
15453 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15456 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15457 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15458 kernels which artificially limit size of requests.
15460 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15463 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15464 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15465 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15466 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15467 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15468 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15469 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15470 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15471 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15472 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15473 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15474 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15475 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15476 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15478 Enable unaligned load optimization for Intel Core i3, i5 and i7
15480 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15482 (index_Fast_Unaligned_Load): Define.
15483 (HAS_FAST_UNALIGNED_LOAD): Define.
15485 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15487 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15489 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15492 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15493 until it is clear that the information is realy needed.
15494 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15496 2011-06-22 Andreas Schwab <schwab@redhat.com>
15498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15500 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15502 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15503 /sys/devices/system/cpu/online if it is usable.
15505 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15506 reading the information from the /proc filesystem to once a second.
15508 2011-06-21 Andreas Jaeger <aj@suse.de>
15510 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15511 NULL after inclusion of kernel headers.
15513 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15515 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15516 calls to internal_setent.
15519 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15520 addresses using gethostbyname4_r ignore IPv4 addresses.
15522 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15523 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15525 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15527 2011-06-20 David S. Miller <davem@davemloft.net>
15529 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15531 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15533 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15534 (elf_irel): Use it.
15535 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15536 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15537 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15538 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15539 * sysdeps/x86_64/dl-irel.h: Likewise.
15541 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15542 * elf/dl-sym.c: Likewise.
15544 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15546 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15547 need to dereference resplen2.
15549 2011-06-14 Andreas Schwab <schwab@redhat.com>
15551 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15553 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15555 * Makeconfig: Define vardbdir and inst_vardbdir.
15556 * nss/Makefile: Add rules to install db-Makefile.
15558 * nss/nss_db/db-XXX.c: Cleanup.
15560 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15561 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15563 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15564 * nss/makedb.c: Implement -g option to specify that value strings
15565 are generated and should not be added to table iterated over for
15567 * nss/nss_db/db-initgroups.c: New file.
15569 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15572 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15573 (internal_getgrouplist): Adjust to name change.
15574 Update use_initgroups_entry if this is not the first call.
15575 * nss/databases.def: Add initgroups entry.
15577 * nss/makedb.c (compute_tables): Check result of multiple hash table
15578 sizes to minimize maximum chain length.
15580 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15582 * Versions.def: Add entry for libnss_db.
15583 * shlib-versions: Likewise.
15584 * nss/Makefile: Add rules to build libnss_db.
15585 * nss/Versions: Add libnss_db information. Organize libnss_files
15587 * nss/db-Makefile: Add gshadow support. Change rules for the new
15588 makedb progra. Some minor improvements to generate smaller files.
15589 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15591 * nss/makedb.c: ...here.
15592 Improve database format to be smaller and require less memory at
15594 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15596 * nss/nss_db/db-netgrp.c: Likewise.
15597 * nss/nss_db/db-open.c: Likewise.
15598 * nss/nss_files/flies-XXX.x: Adjust comments.
15599 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15600 * nss/nss_files/files-grp.c: Likewise.
15601 * nss/nss_files/files-hosts.c: Likewise.
15602 * nss/nss_files/files-network.c: Likewise.
15603 * nss/nss_files/files-proto.c: Likewise.
15604 * nss/nss_files/files-pwd.c: Likewise.
15605 * nss/nss_files/files-rpc.c: Likewise.
15606 * nss/nss_files/files-service.c: Likewise.
15607 * nss/nss_files/files-sgrp.c: Likewise.
15608 * nss/nss_files/files-spwd.c: Likewise.
15609 * nss/nss_db/db-alias.c: Removed.
15610 * nss/nss_db/dummy-db.h: Removed.
15612 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15614 * nss/makedb.c: Rewritten to not use database library.
15615 * nss/Makefile: Update to build new makedb program.
15617 2011-06-14 Andreas Jaeger <aj@suse.de>
15619 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15620 memset declaration.
15622 2011-06-10 Andreas Schwab <schwab@redhat.com>
15624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15627 2011-06-10 Roland McGrath <roland@hack.frob.com>
15629 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15630 * elf/Makefile ($(objpfx)ld.so): Likewise.
15632 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15633 Don't list ld.so twice in dependencies.
15635 * posix/bug-regex31.c: Include <stdlib.h>.
15637 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15639 * nis/nss_compat/compat-spwd.c
15640 (getspent_next_nss_netgr): Remove unused variable.
15641 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15643 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15644 nonmembers" output to use the right array.
15646 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15648 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15650 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15651 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15652 * catgets/gencat.c (read_input_file): Likewise.
15653 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15655 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15656 variable definition inside #if's controlling its use.
15658 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15660 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15662 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15664 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15667 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15669 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15670 * configure: Regenerated.
15672 * Makerules: Revert last change.
15673 * elf/Makefile: Likewise.
15675 2011-06-09 Roland McGrath <roland@hack.frob.com>
15677 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15678 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15679 (reloc-link): Likewise.
15681 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15683 * elf/Makefile: Add rules to build pldd.
15684 * elf/pldd.c: New file.
15685 * elf/pldd-xx.c: New file.
15687 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15689 * version.h: Update for 2.15 development version.
15691 2011-06-07 David S. Miller <davem@davemloft.net>
15693 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15695 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15696 elf_machine_lazy_rel): Likewise.
15697 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15698 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15699 elf_machine_lazy_rel): Likewise.
15700 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15701 dl_hwcap via passed in argument.
15702 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15705 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15707 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15709 2011-06-06 Roland McGrath <roland@hack.frob.com>
15712 * manual/fdl-1.1.texi: New file, verbatim from:
15713 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15714 * manual/lgpl-2.1.texi: New file, verbatim from:
15715 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15716 * manual/Makefile (licenses): New variable, list those new file names.
15718 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15720 * manual/fdl.texi: File removed.
15721 * manual/lesser.texi: File removed.
15722 * manual/libc.texinfo (Copying, Documentation License):
15723 Use new @include file names, put @appendix directive before @include.
15725 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15728 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15729 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15730 (mq_open): Add __NTH.
15732 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15735 Assume Intel Core i3/i5/i7 processor if AVX is available.
15737 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15742 2011-05-31 Andreas Schwab <schwab@redhat.com>
15744 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15745 memory. Use alloca_account. Fix memory leak when retrying.
15747 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15749 * version.h (RELEASE): Bump for 2.14 release.
15750 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15752 * config.make.in (RANLIB): Remove entry.
15754 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15756 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15757 (libc.pot): Work around missing support for .ksh extension in xgettext.
15760 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15761 if both request failed.
15762 (send_dg): In case of server errors clear resplen or *resplen2.
15765 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15766 when there are multiple maps.
15767 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15768 (_dl_fini): Remove test here.
15770 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15772 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15775 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15776 bit from old_res_options.
15777 (gaih_inet): Likewise.
15780 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15783 * resolv/res_init.c (res_setoptions): Make the code more compact.
15786 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15790 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15792 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15795 * malloc/malloc.h: Declare malloc hook variables as volatile.
15797 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15801 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15802 raise in the comment.
15803 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15804 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15805 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15807 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15810 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15811 grow the buffers more if it already has to be sufficient.
15812 (build_wcs_upper_buffer): Likewise.
15813 * posix/regexec.c (check_matching): Likewise.
15814 (clean_state_log_if_needed): Likewise.
15815 (extend_buffers): Don't enlarge buffers beyond size of the input
15817 Patches mostly by Emil Wojak <emil@wojak.eu>.
15818 * posix/bug-regex32.c: New file.
15819 * posix/Makefile (tests): Add bug-regex32.
15821 * locale/findlocale.c (_nl_find_locale): Return right away if
15822 _nl_explode_name failed.
15823 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15825 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15827 * debug/xtrace.sh: Unify messages.
15828 * malloc/memusage.sh: Likewise.
15831 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15832 time symbol from vDSO. Substitute with vsyscall if not available.
15833 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15836 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15837 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15838 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15839 Add sendmmsg and internal_sendmmsg.
15840 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15841 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15842 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15844 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15845 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15846 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15848 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15851 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15852 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15854 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15858 * iconvdata/Makefile (tests): Add bug-iconv9.
15859 * iconvdata/bug-iconv9.c: New file.
15861 2011-05-27 Andreas Schwab <schwab@redhat.com>
15864 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15866 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15868 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15869 (struct user_regs_struct): Change intcs field back to cs.
15871 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15873 * po/ja.po: Update from translation team.
15875 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15878 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15879 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15881 2011-05-20 Andreas Schwab <schwab@redhat.com>
15883 * stdlib/longlong.h: Update from GCC.
15885 2011-05-23 Andreas Schwab <schwab@redhat.com>
15887 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15889 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15890 Add parameter name.
15891 (__sysconf): Pass it down.
15893 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15896 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15898 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15899 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15900 add in in __libc_use_alloca calls. Adjust callers.
15901 (glob): Use malloc in some situations.
15903 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15904 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15907 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15909 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15910 and CLOCK_BOOTTIME_ALARM.
15913 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15916 * string/_strerror.c (__strerror_r): Print negative errors as signed
15920 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15921 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15922 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15924 * configure.in: Fix typo in redirection and correct removal of test
15925 files in two cases.
15928 * locale/setlocale.c (new_composite_name): Fix test to check for
15929 identical name of all categories.
15932 * libio/filedoalloc.c (local_isatty): New function.
15933 (_IO_file_doallocate): Use local_isatty.
15934 * stdio-common/perror.c (perror): In case a new stream is used
15935 forward the stream error.
15936 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15939 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15944 * include/alloca.h (extend_alloca_account): Define.
15947 * posix/regex.h: Fix comments with documentation of user-accessible
15948 fields after compilation and describe correct free'ing of pattern
15949 after re_compile_pattern.
15950 Patch by Reuben Thomas <rrt@sc3d.org>.
15952 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15954 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15955 and -mno-altivec to prevent the compiler from using Altivec and/or
15956 VSX instructions when the corresponding registers are not available.
15958 2011-05-19 Andreas Schwab <schwab@redhat.com>
15960 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15962 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15964 * libio/freopen.c (freopen): Use __dup2, not dup2.
15965 * libio/freopen64.c (freopen64): Likewise.
15967 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15970 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15971 * math/Makefile (tests): Add test-powl.
15972 (CFLAGS-test-powl.c): Define.
15973 * math/test-powl.c: New file.
15975 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15977 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15979 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15982 * iconvdata/gb18030.c: Update to GB18020-2005.
15984 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15986 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15987 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15988 Patch by Aharon Robbins <arnold@skeeve.com>.
15991 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15995 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15996 through underflows.
15999 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16000 point to strings before performing equality test for error_one_per_line
16004 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16008 (struct user_fpregs_struct): Avoid __uint*_t types.
16011 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16012 symbol info. Use it instead of calling _dl_addr locally.
16013 (lock_and_info): New function.
16014 (tr_freehook): Call lock_and_info and pass symbol info as additional
16015 parameter to tr_where.
16016 (tr_mallochook): Likewise.
16017 (tr_reallochook): Likewise.
16018 (tr_memalignhook): Likewise.
16020 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16021 used and couldn't be at all thread-safe.
16023 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16025 * libio/freopen.c (freopen): Don't close old file descriptor
16026 before the new one is opened. Instead dup the new file descriptor
16027 to the old one after the new stream is created.
16028 * libio/freopen64.c (freopen64): Likewise.
16029 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16030 * libio/fileops.c (_IO_new_file_close_it): Handle new
16031 _IO_FLAGS2_NOCLOSE flag.
16032 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16033 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16034 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16035 _IO_FLAGS2_NOCLOSE flag.
16036 * include/unistd.h: Add hidden_proto for dup3.
16037 Define __have_dup3.
16038 * io/dup3.c: Define hidden symbol.
16039 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16042 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16043 when an incomplete long option is used.
16044 * posix/tst-getopt_long1.c: New file.
16045 * posix/Makefile (tests): Add tst-getopt_long1.
16048 * scripts/config.guess: Update from autoconf-2.68.
16049 * scripts/config.sub: Likewise.
16052 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16054 (has_cpuclock): ...this. New function.
16055 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16056 macro here based on has_cpuclock code.
16059 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16060 First byte (not low byte) is now always NUL.
16061 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16064 Use non-cancelable interfaces.
16067 * locale/iso-639.def: Add entry for Sorani.
16070 * include/stdlib.h: Move include protection to the right place.
16071 Define abort_msg_s. Declare __abort_msg with it.
16072 * stdlib/abort.c (__abort_msg): Adjust type.
16073 * assert/assert.c (__assert_fail_base): New function. Majority
16074 of code from __assert_fail. Allocate memory for __abort_msg with
16076 (__assert_fail): Now call __assert_fail_base.
16077 * assert/assert-perr.c: Remove bulk of implementation. Use
16078 __assert_fail_base.
16079 * include/assert.hL Declare __assert_fail_base.
16080 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16082 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16084 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16088 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16089 until all modules are registered in the DTV.
16090 * elf/Makefile: Add rules to build and run tst-tls19.
16091 * elf/tst-tls19.c: New file.
16092 * elf/tst-tls19mod1.c: New file.
16093 * elf/tst-tls19mod2.c: New file.
16094 * elf/tst-tls19mod3.c: New file.
16095 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16098 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16102 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16103 two-byte sequence errors.
16104 * iconvdata/Makefile (tests): Add bug-iconv8.
16105 * iconvdata/bug-iconv8.c: New file.
16108 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16111 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16114 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16115 (dummy_getcfa): New function.
16116 (init): Get _Unwind_GetCFA address, use dummy if not found.
16117 (backtrace_helper): In recursion check, also check whether CFA changes.
16118 (__backtrace): Completely initialize arg.
16120 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16121 storing incomplete byte sequence in state object. Avoid testing for
16122 guaranteed too small input if we know there is enough data available.
16124 2011-05-11 Andreas Schwab <schwab@redhat.com>
16126 * Makeconfig (+link-pie): Indent.
16127 * Rules (binaries-pie): Define if $(have-fpie) and
16129 (binaries-shared): Also filter out $(binaries-pie).
16130 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16131 * nscd/Makefile (others-pie): Add nscd.
16132 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16133 ($(objpfx)nscd): Remove command override.
16134 * login/Makefile (others-pie): Add pt_chown.
16135 ($(objpfx)pt_chown): Remove command override.
16136 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16137 remove command overrides.
16139 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16141 * libio/tst_putwc.c: Fix error messages.
16144 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16145 currently writing and seek to current position when not.
16146 * libio/Makefile (tests): Add bug-fclose1.
16147 * libio/bug-fclose1.c: New file.
16149 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16152 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16153 don't set DF_1_NODELETE here.
16154 (do_lookup_x): When entering new entry test for copy relocation
16155 and if necessary set DF_1_NODELETE flag.
16156 * elf/tst-unique4.cc: New file.
16157 * elf/tst-unique4.h: New file.
16158 * elf/tst-unique4lib.cc: New file.
16159 * elf/Makefile: Add rules to build and run tst-unique4.
16160 Patch by Piotr Bury <pbury@goahead.com>.
16162 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16165 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16168 * misc/mntent_r.c (addmntent): Flush the stream after the output
16171 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16172 (is_trusted_path_normalize): Skip initial colon. Append slash
16173 to empty buffer. Duplicate is_trusted_path code but allow
16174 constructed patch to be prefix.
16175 (is_dst): Allow $ORIGIN followed by /.
16176 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16177 Correct testing of result of is_trusted_path_normalize
16178 (decompose_rpath): Fix warning.
16180 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16183 * grp/initgroups.c (internal_getgrouplist): When we found the service
16184 list through the initgroups entry in nsswitch.conf do not always
16185 continue on a successful lookup. Don't always use the
16186 __nss_group_database value if it is set.
16187 * nss/nsswitch.conf (initgroups): Change action for successful db
16188 lookup to continue for compatibility.
16190 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16193 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16195 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16197 * iconvdata/tst-tables.sh: Likewise.
16198 * iconvdata/cp770.c: New file.
16199 * iconvdata/cp771.c: New file.
16200 * iconvdata/cp772.c: New file.
16201 * iconvdata/cp773.c: New file.
16202 * iconvdata/cp774.c: New file.
16203 * iconvdata/testdata/CP770: New file.
16204 * iconvdata/testdata/CP770..UTF8: New file.
16205 * iconvdata/testdata/CP771: New file.
16206 * iconvdata/testdata/CP771..UTF8: New file.
16207 * iconvdata/testdata/CP772: New file.
16208 * iconvdata/testdata/CP772..UTF8: New file.
16209 * iconvdata/testdata/CP773: New file.
16210 * iconvdata/testdata/CP773..UTF8: New file.
16211 * iconvdata/testdata/CP774: New file.
16212 * iconvdata/testdata/CP774..UTF8: New file.
16214 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16216 * iconvdata/gen-8bit-gap.sh: Likewise.
16217 * iconvdata/gen-8bit.sh: Likewise.
16219 * locale/iso-639.def: Add ary entry.
16222 * locale/C-translit.h.in: Add U20A1 transliteration.
16225 * locale/iso-639.def: Add wae entry.
16226 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16229 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16233 * locale/C-translit.h.in: Add entry for U20B9.
16234 Patch by pravin.d.s@gmail.com.
16236 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16239 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16240 ENAMETOOLONG use generic getcwd.
16241 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16242 in rtld. Use *stat64.
16243 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16244 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16245 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16246 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16247 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16248 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16249 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16250 __fstatat64 macros.
16251 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16252 * dirent/rewinddir.c: Add libc_hidden_def.
16253 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16254 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16256 * include/dirent.h (__alloc_dir): Add flags parameter.
16257 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16258 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16260 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16261 from fdopendir if O_CLOEXEC is already set.
16263 2011-03-15 Alan Modra <amodra@gmail.com>
16265 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16266 l_tls_firstbyte_offset non-zero. Save padding offset in
16267 l_tls_firstbyte_offset for later use.
16268 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16269 freeing static tls block.
16271 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16273 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16274 where #ifdef was intended. The intent is to prevent ARG_MAX from
16275 being defined by the kernel headers.
16277 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16280 * resolv/resolv.h: Define RES_NOTLDQUERY.
16281 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16282 no-tld-query and set RES_NOTLDQUERY.
16283 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16284 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16285 modern BIND to search name as TLD unless forbidden.
16287 2011-05-07 Petr Baudis <pasky@suse.cz>
16288 Ulrich Drepper <drepper@gmail.com>
16291 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16292 (is_trusted_path): ...to here.
16293 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16294 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16295 using is_trusted_path_normalize() in setuid scripts.
16297 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16299 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16300 __BEGIN/__END_DECLS.
16302 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16304 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16305 NSS_STATUS_NOTFOUND if no record was found.
16307 2011-05-05 Andreas Schwab <schwab@redhat.com>
16309 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16310 (headers-not-in-tirpc): Remove rpc/netdb.h
16311 * resolv/netdb.h: Revert last change.
16313 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16315 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16316 circular dependency between libgcc.a and libc.a.
16318 2011-05-05 Andreas Schwab <schwab@redhat.com>
16320 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16321 * nis/Makefile: Don't install rpcsvc/*.
16322 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16323 instead of <rpc/types.h>.
16324 (MAXHOSTNAMELEN): Define.
16326 2011-05-03 Andreas Schwab <schwab@redhat.com>
16328 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16330 2011-04-28 Maciej Babinski <mbabinski@google.com>
16333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16334 gethostbyname4_r when IPv6 results are possible.
16336 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16339 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16340 _PC_PIPE_BUF handling.
16342 2011-04-30 Bruno Haible <bruno@clisp.org>
16345 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16346 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16348 * inet/getnameinfo.c (getnameinfo): Likewise.
16350 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16352 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16353 to groups setting in database lookup.
16354 * nss/nsswitch.conf: Add initgroups entry.
16356 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16359 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16361 Patch by Eric Blake <eblake@redhat.com>.
16363 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16365 * sunrpc/Makefile (need-export-routines): Add svc_run.
16366 (routines): Remove svc_run.
16367 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16368 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16369 * sunrpc/svc_run.c (svc_run): Likewise.
16370 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16372 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16375 problem in reallocation in last patch.
16377 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16379 * sunrpc/Makefile: Move inclusion of Rules.
16381 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16383 * nss/nss_files/files-initgroups.c: New file.
16384 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16385 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16386 _nss_files_initgroups_dyn.
16388 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16390 * elf/elf.h (R_ARM_IRELATIVE): Define.
16392 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16394 * po/ru.po: Update from translation team.
16396 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16398 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16401 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16404 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16405 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16406 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16408 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16410 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16412 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16414 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16415 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16418 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16421 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16423 * stdlib/bug-getcontext.c: New file.
16424 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16426 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16428 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16429 instructions into .machine "z9-109".
16430 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16431 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16433 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16435 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16436 between environment variables and auxiliary vector.
16438 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16440 * Makefile: Add rules to build linkobj/libc.so.
16441 * include/libc-symbols.h: Define libc_hidden_nolink.
16442 * include/rpc/auth.h: Mark functions which are to be hidden.
16443 * include/rpc/auth_des.h: Likewise.
16444 * include/rpc/auth_unix.h: Likewise.
16445 * include/rpc/clnt.h: Likewise.
16446 * include/rpc/des_crypt.h: Likewise.
16447 * include/rpc/key_prot.h: Likewise.
16448 * include/rpc/pmap_clnt.h: Likewise.
16449 * include/rpc/pmap_prot.h: Likewise.
16450 * include/rpc/pmap_rmt.h: Likewise.
16451 * include/rpc/rpc_msg.h: Likewise.
16452 * include/rpc/svc.h: Likewise.
16453 * include/rpc/svc_auth.h: Likewise.
16454 * include/rpc/xdr.h: Likewise.
16455 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16456 * nss/Makefile: Likewise.
16457 * sunrpc/Makefile: Don't install headers. Build library with normal
16458 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16459 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16460 for the compat linking library. Remove use of INTDEF/INTUSE.
16461 * sunrpc/auth_none.c: Likewise.
16462 * sunrpc/auth_unix.c: Likewise.
16463 * sunrpc/authdes_prot.c: Likewise.
16464 * sunrpc/authuxprot.c: Likewise.
16465 * sunrpc/clnt_gen.c: Likewise.
16466 * sunrpc/clnt_perr.c: Likewise.
16467 * sunrpc/clnt_raw.c: Likewise.
16468 * sunrpc/clnt_simp.c: Likewise.
16469 * sunrpc/clnt_tcp.c: Likewise.
16470 * sunrpc/clnt_udp.c: Likewise.
16471 * sunrpc/clnt_unix.c: Likewise.
16472 * sunrpc/des_crypt.c: Likewise.
16473 * sunrpc/des_soft.c: Likewise.
16474 * sunrpc/get_myaddr.c: Likewise.
16475 * sunrpc/key_call.c: Likewise.
16476 * sunrpc/key_prot.c: Likewise.
16477 * sunrpc/netname.c: Likewise.
16478 * sunrpc/pm_getmaps.c: Likewise.
16479 * sunrpc/pm_getport.c: Likewise.
16480 * sunrpc/pmap_clnt.c: Likewise.
16481 * sunrpc/pmap_prot.c: Likewise.
16482 * sunrpc/pmap_prot2.c: Likewise.
16483 * sunrpc/pmap_rmt.c: Likewise.
16484 * sunrpc/publickey.c: Likewise.
16485 * sunrpc/rpc_cmsg.c: Likewise.
16486 * sunrpc/rpc_common.c: Likewise.
16487 * sunrpc/rpc_dtable.c: Likewise.
16488 * sunrpc/rpc_prot.c: Likewise.
16489 * sunrpc/rpc_thread.c: Likewise.
16490 * sunrpc/rtime.c: Likewise.
16491 * sunrpc/svc.c: Likewise.
16492 * sunrpc/svc_auth.c: Likewise.
16493 * sunrpc/svc_authux.c: Likewise.
16494 * sunrpc/svc_raw.c: Likewise.
16495 * sunrpc/svc_run.c: Likewise.
16496 * sunrpc/svc_simple.c: Likewise.
16497 * sunrpc/svc_tcp.c: Likewise.
16498 * sunrpc/svc_udp.c: Likewise.
16499 * sunrpc/svc_unix.c: Likewise.
16500 * sunrpc/svcauth_des.c: Likewise.
16501 * sunrpc/xcrypt.c: Likewise.
16502 * sunrpc/xdr.c: Likewise.
16503 * sunrpc/xdr_array.c: Likewise.
16504 * sunrpc/xdr_float.c: Likewise.
16505 * sunrpc/xdr_intXX_t.c: Likewise.
16506 * sunrpc/xdr_mem.c: Likewise.
16507 * sunrpc/xdr_rec.c: Likewise.
16508 * sunrpc/xdr_ref.c: Likewise.
16509 * sunrpc/xdr_sizeof.c: Likewise.
16510 * sunrpc/xdr_stdio.c: Likewise.
16512 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16515 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16516 * sysdeps/ia64/dl-tls.h: Likewise.
16517 * sysdeps/powerpc/dl-tls.h: Likewise.
16518 * sysdeps/s390/dl-tls.h: Likewise.
16519 * sysdeps/sh/dl-tls.h: Likewise.
16520 * sysdeps/sparc/dl-tls.h: Likewise.
16521 * sysdeps/x86_64/dl-tls.h: Likewise.
16522 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16524 2011-03-14 Andreas Schwab <schwab@redhat.com>
16526 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16527 rpath element also skip the following colon.
16528 (expand_dynamic_string_token): Add is_path parameter and pass
16529 down to DL_DST_REQUIRED and _dl_dst_substitute.
16530 (decompose_rpath): Call expand_dynamic_string_token with
16531 non-zero is_path. Ignore empty rpaths.
16532 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16535 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16540 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16543 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16544 Patch by Filipe David Manana <fdmanana@apache.org>.
16546 2011-04-07 Andreas Schwab <schwab@redhat.com>
16548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16549 Maintain aligned stack.
16550 (CHECK_RSP): Remove unused macro.
16552 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16554 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16555 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16557 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16559 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16561 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16563 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16566 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16567 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16568 * sysdeps/x86_64/memmove.c: New file.
16569 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16570 (memcpy): Renamed to ...
16571 (__new_memcpy): This.
16572 (memcpy): Provide GLIBC_2_14 memcpy.
16573 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16574 (memcpy): Provide GLIBC_2_2_5 memcpy.
16576 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16579 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16581 2011-03-30 Andreas Schwab <schwab@redhat.com>
16583 * misc/syncfs.c: New file.
16584 * misc/Makefile (routines): Add syncfs.
16585 * posix/unistd.h: Declare syncfs.
16586 * sysdeps/unix/syscalls.list: Add syncfs.
16588 2011-04-01 Andreas Schwab <schwab@redhat.com>
16590 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16592 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16593 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16595 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16597 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16598 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16600 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16602 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16603 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16604 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16606 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16610 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16611 sync_file_range.c with -fexceptions.
16612 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16613 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16614 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16615 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16616 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16617 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16618 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16619 sync_file_range as cancellation point
16620 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16621 now a wrapper around __call_sync_file_range with cancellation handling.
16622 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16623 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16624 function name to __call_sync_file_range.
16625 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16626 Add call_sync_file_range.
16628 2011-04-01 Andreas Schwab <schwab@redhat.com>
16630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16633 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16635 * iconv/iconv.h: Fix typo in comment.
16636 * io/fcntl.h: Likewise.
16637 * libio/stdio.h: Likewise.
16638 * posix/spawn.h: Likewise.
16639 * posix/unistd.h: Likewise.
16640 * stdlib/stdlib.h: Likewise.
16641 * time/time.h: Likewise.
16642 * wcsmbs/wchar.h: Likewise.
16644 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16645 open_by_handle): Add.
16646 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16647 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16648 Augment a few comments.
16649 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16651 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16653 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16654 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16657 * io/fcntl.h (AT_EMPTY_PATH): Define.
16659 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16661 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16662 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16663 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16665 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16666 * Versions.def: Add GLIBC_2.14.
16667 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16670 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16672 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16674 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16676 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16679 * string/test-strncmp.c (do_page_test): New function.
16680 (check2): Likewise.
16681 (test_main): Call check2.
16682 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16684 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16687 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16688 Handle cache information in CPU leaf 4.
16689 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16691 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16694 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16695 character representation.
16696 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16698 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16700 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16701 END(__isnan) to END(__isnanf) to match function entry point/label
16702 EALIGN(__isnanf,...).
16704 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16706 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16708 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16711 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16712 copy from the symbol referenced in the relocation to initialize the
16714 Patch by Piotr Bury <pbury@goahead.com>.
16715 * elf/Makefile: Add rules to build and tst-unique3.
16716 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16717 * elf/tst-unique3.cc: New file.
16718 * elf/tst-unique3.h: New file.
16719 * elf/tst-unique3lib.cc: New file.
16720 * elf/tst-unique3lib2.cc: New file.
16722 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16724 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16726 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16727 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16730 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16732 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16733 to-be-loaded object along a path to loader is ld.so.
16735 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16736 Ulrich Drepper <drepper@gmail.com>
16738 * sysdeps/x86_64/memset.S: After aligning destination, code
16739 branches to different locations depending on the value of
16740 misalignment, when multiarch is enabled. Fix this.
16742 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16744 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16745 Set _x86_64_preferred_memory_instruction for AMD processsors.
16746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16747 Set bit_Prefer_SSE_for_memop for AMD processors.
16749 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16751 * libio/fmemopen.c (fmemopen): Optimize a bit.
16753 2011-03-03 Andreas Schwab <schwab@redhat.com>
16755 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16757 2011-03-03 Roland McGrath <roland@redhat.com>
16759 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16761 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16763 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16764 __bzero_ultra1 instead of __memset_ultra1.
16766 2011-02-23 Andreas Schwab <schwab@redhat.com>
16767 Ulrich Drepper <drepper@gmail.com>
16770 * include/link.h (struct link_map): Add l_orig_initfini.
16771 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16772 returning unsuccessfully.
16773 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16774 close of a file loaded at startup, restore the original l_initfini
16776 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16777 list, store the pointer.
16778 * elf/Makefile ($(objpfx)noload-mem): New rule.
16779 (noload-ENV): Define.
16780 (tests): Add $(objpfx)noload-mem.
16781 * elf/noload.c: Include <memcheck.h>.
16782 (main): Call mtrace. Close all opened handles.
16784 2011-02-17 Andreas Schwab <schwab@redhat.com>
16787 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16788 dependencies are missing.
16790 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16792 Fix __if_freereq crash: Unlike the generic version which uses free,
16794 * sysdeps/mach/hurd/ifreq.h: New file.
16796 2011-01-27 Petr Baudis <pasky@suse.cz>
16797 Ulrich Drepper <drepper@gmail.com>
16800 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16801 to extend_alloca().
16802 * stdio-common/bug23.c: New file.
16803 * stdio-common/Makefile (tests): Add bug23.
16805 2010-09-28 Andreas Schwab <schwab@redhat.com>
16806 Ulrich Drepper <drepper@gmail.com>
16809 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16810 before performing relro protection. At old place add assertion
16811 to make sure nothing changed.
16813 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16814 Glauber de Oliveira Costa <glommer@gmail.com>
16816 * elf/elf.h: Add new ARM TLS relocs.
16818 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16821 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16823 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16825 * sysdeps/wordsize-64/tst-writev.c: New file.
16827 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16829 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16830 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16831 insns in _dl_start to prevent a TOC reference before relocs are
16834 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16837 * Makeconfig: Remove RANLIB definition.
16838 * Makerules: Don't use RANLIB.
16839 * aclocal.m4: Remove ranlib test.
16840 * configure.in: No need to check for ranlib.
16841 * elf/rtld-Rules: Don't use RANLIB.
16843 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16845 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16847 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16848 inclusion protection macro.
16850 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16851 SIGRTMIN and SIGRTMAX and print information in that case only when
16852 SIGRTMIN is defined.
16854 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16856 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16857 arginfo fn returning -1.
16859 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16860 and thousands string is zero terminated.
16862 2011-02-03 Andreas Schwab <schwab@redhat.com>
16864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16865 sysdeps/unix/sysv/linux/bits/socket.h.
16867 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16869 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16870 (__CPU_COUNT): Remove old macros.
16871 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16872 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16873 (__CPU_ALLOC, __CPU_FREE): Add macros.
16874 (__sched_cpualloc, __sched_cpufree): Add declarations.
16876 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16878 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16879 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16880 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16881 (readdhstai): Return value of addhstaiX call.
16882 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16883 (addgrbyX): Return value returned by cache_addgr.
16884 (readdgrbyname): Return value returned by addgrbyX.
16885 (readdgrbygid): Likewise.
16886 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16887 (addpwbyX): Return value returned by cache_addpw.
16888 (readdpwbyname): Return value returned by addhstbyX.
16889 (readdpwbyuid): Likewise.
16890 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16891 (addservbyX): Return value returned by cache_addserv.
16892 (readdservbyname): Return value returned by addservbyX:
16893 (readdservbyport): Likewise.
16894 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16895 (addhstbyX): Return value returned by cache_addhst.
16896 (readdhstbyname): Return value returned by addhstbyX.
16897 (readdhstbyaddr): Likewise.
16898 (readdhstbynamev6): Likewise.
16899 (readdhstbyaddrv6): Likewise.
16900 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16901 (readdinitgroups): Return value returned by addinitgroupsX.
16902 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16903 (prune_cache): Keep track of timeout value of re-added entries.
16904 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16905 * nscd/nscd.h: Adjust prototypes of readd* functions.
16907 2011-02-04 Roland McGrath <roland@redhat.com>
16909 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16910 (nis_stats): Likewise.
16911 * nis/nis_modify.c (nis_modify): Likewise.
16912 * nis/nis_remove.c (nis_remove): Likewise.
16913 * nis/nis_add.c (nis_add): Likewise.
16915 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16917 * posix/fnmatch_loop.c: Add some consts.
16919 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16921 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16924 * config.make.in (config-cflags-novzeroupper): Define.
16925 * configure.in: Substitute libc_cv_cc_novzeroupper.
16926 * elf/Makefile (AVX-CFLAGS): Define.
16927 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16928 (CFLAGS-tst-auditmod4a.c): Likewise.
16929 (CFLAGS-tst-auditmod4b.c): Likewise.
16930 (CFLAGS-tst-auditmod6b.c): Likewise.
16931 (CFLAGS-tst-auditmod6c.c): Likewise.
16932 (CFLAGS-tst-auditmod7b.c): Likewise.
16933 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16935 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16937 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16938 function to the callback.
16939 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16941 2011-02-02 Andreas Schwab <schwab@redhat.com>
16943 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16946 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16949 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16951 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16953 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16956 * elf/Makefile: Add rules to build and run new test.
16957 * elf/tst-initorder.c: New file.
16958 * elf/tst-initorder.exp: New file.
16959 * elf/tst-initordera1.c: New file.
16960 * elf/tst-initordera2.c: New file.
16961 * elf/tst-initordera3.c: New file.
16962 * elf/tst-initordera4.c: New file.
16963 * elf/tst-initorderb1.c: New file.
16964 * elf/tst-initorderb2.c: New file.
16965 * elf/tst-order-a1.c: New file.
16966 * elf/tst-order-a2.c: New file.
16967 * elf/tst-order-a3.c: New file.
16968 * elf/tst-order-a4.c: New file.
16969 * elf/tst-order-b1.c: New file.
16970 * elf/tst-order-b2.c: New file.
16971 * elf/tst-order-main.c: New file.
16972 New test case by George Gensure <werkt0@gmail.com>.
16974 2010-10-01 Andreas Schwab <schwab@redhat.com>
16976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16977 decoding ACE if AI_CANONIDN.
16979 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16981 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16983 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16985 * version.h (RELEASE): Bump for 2.13 release.
16986 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16988 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16990 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16992 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16993 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16994 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16995 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16996 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16997 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16999 * posix/getconf.c: Update copyright year.
17000 * catgets/gencat.c: Likewise.
17001 * csu/version.c: Likewise.
17002 * debug/catchsegv.sh: Likewise.
17003 * debug/xtrace.sh: Likewise.
17004 * elf/ldconfig.c: Likewise.
17005 * elf/ldd.bash.in: Likewise.
17006 * elf/sprof.c (print_version): Likewise.
17007 * iconv/iconv_prog.c: Likewise.
17008 * iconv/iconvconfig.c: Likewise.
17009 * locale/programs/locale.c: Likewise.
17010 * locale/programs/localedef.c: Likewise.
17011 * malloc/memusage.sh: Likewise.
17012 * malloc/mtrace.pl: Likewise.
17013 * nscd/nscd.c (print_version): Likewise.
17014 * nss/getent.c: Likewise.
17016 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17017 PF_CAIF, and PF_ALG.
17018 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17020 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17022 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17023 (modules-names): Use them.
17024 (ifunc-test-modules, ifunc-pie-tests): Define.
17025 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17026 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17027 (test-extras): Likewise.
17028 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17029 $(compile-command.c).
17030 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17031 (all-built-dso): Define.
17032 (check-textrel.out, check-execstack.out): Depend on it.
17034 * configure.in: Don't override --enable-multi-arch.
17036 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17039 * nscd/hstcache.c (tryagain): Define.
17040 (cache_addhst): Return tryagain not notfound for temporary errors.
17041 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17044 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17047 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17048 to make the syscall.
17049 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17052 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17053 and fall back to matching as normal character if the string ends before
17054 the matching ']' is found. This is what POSIX requires.
17055 * posix/testfnm.c: Adjust test result.
17056 * posix/globtest.sh: Adjust test result. Add new test.
17057 * posix/tst-fnmatch.input: Likewise.
17058 * posix/tst-fnmatch2.c: Add new test.
17060 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17062 * elf/Makefile (check-execstack): Revert last change. Depend on
17064 (check-execstack.h): New target.
17065 (generated): Add check-execstack.h.
17066 * elf/check-execstack.c: Include "check-execstack.h".
17067 (main): Revert last change.
17068 (handle_file): Return zero if GNU_STACK is absent and
17069 DEFAULT_STACK_PERMS doesn't include PF_X.
17071 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17073 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17074 in child fails because the descriptor is already closed.
17075 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17076 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17077 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17080 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17084 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17085 temporary buffer used to handle multi lookups locally.
17086 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17088 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17090 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17093 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17095 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17096 alignment for SSE2.
17098 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17101 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17102 characters. When rounding increased number of integer digits recompute
17104 * stdio-common/tst-grouping.c: New file.
17105 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17107 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17109 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17110 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17112 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17114 * bits/select.h: Likewise.
17116 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17118 * po/ja.po: Update from translation team.
17120 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17123 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17124 implementation just like for lxstat, fxstatat, et al.
17126 2010-12-27 Jim Meyering <meyering@redhat.com>
17129 * posix/regexec.c (build_trtable): Return failure indication upon
17130 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17132 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17135 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17136 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17137 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17138 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17141 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17144 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17145 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17147 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17149 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17150 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17151 script has SORT_BY_INIT_PRIORITY.
17152 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17153 NO_CTORS_DTORS_SECTIONS is defined.
17154 * elf/soinit.c: Likewise.
17155 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17156 NO_CTORS_DTORS_SECTIONS is defined.
17157 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17158 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17159 * sysdeps/sh/init-first.c: Likewise.
17160 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17162 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17164 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17165 always use the slow path.
17167 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17169 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17170 similar rule which adds the sysdep directories to the header search in
17171 order to pick up the correct platform stackinfo.h.
17172 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17173 perform test if it is, otherwise return successfully without testing.
17174 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17175 DEFAULT_STACK_PERMS define in stackinfo.h.
17176 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17177 defined in stackinfo.h.
17178 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17179 DEFAULT_STACK_PERMS defined in stackinfo.h.
17180 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17181 * sysdeps/ia64/stackinfo.h: Likewise.
17182 * sysdeps/s390/stackinfo.h: Likewise.
17183 * sysdeps/sh/stackinfo.h: Likewise.
17184 * sysdeps/sparc/stackinfo.h: Likewise.
17185 * sysdeps/x86_64/stackinfo.h: Likewise.
17186 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17187 PF_X for powerpc64. Retain PF_X for powerpc32.
17189 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17191 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17193 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17194 GETDENTS_64BIT_ALIGNED.
17196 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17198 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17200 2010-12-10 Andreas Schwab <schwab@redhat.com>
17202 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17205 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17206 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17208 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17209 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17211 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17214 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17217 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17219 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17221 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17223 * po/it.po: Update from translation team.
17225 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17230 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17232 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17234 2010-11-24 Andreas Schwab <schwab@redhat.com>
17236 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17238 (gaih_getanswer_slice): Likewise.
17240 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17242 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17244 2010-05-31 Petr Baudis <pasky@suse.cz>
17247 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17248 silently even in the chroot mode.
17250 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17252 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17253 last patch a bit. Pretty printing
17255 2010-05-31 Petr Baudis <pasky@suse.cz>
17258 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17259 initialization of skip_initgroups_dyn.
17261 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17263 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17264 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17266 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17268 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17270 2010-11-11 Andreas Schwab <schwab@redhat.com>
17272 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17273 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17274 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17275 ($(objpfx)tst-fnmatch-mem): New rule.
17276 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17277 * posix/tst-fnmatch.c (main): Call mtrace.
17279 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17282 Support Intel processor model 6 and model 0x2c.
17284 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17289 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17292 * string/test-strncasecmp.c (check_result): New function.
17293 (do_one_test): Use it.
17294 (check1): New function.
17295 (test_main): Use it.
17296 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17297 Support strcasecmp and strncasecmp.
17299 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17302 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17303 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17305 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17307 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17311 * sysdeps/x86_64/multiarch/bzero.S: New file.
17312 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17313 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17314 * sysdeps/x86_64/multiarch/memset.S: New file.
17315 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17317 Set bit_Prefer_SSE_for_memop for Intel processors.
17318 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17320 (index_Prefer_SSE_for_memop): Define.
17321 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17323 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17325 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17326 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17328 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17331 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17332 (__x86_64_raw_data_cache_size_half): Likewise.
17333 (__x86_64_raw_shared_cache_size): Likewise.
17334 (__x86_64_raw_shared_cache_size_half): Likewise.
17336 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17337 (__x86_64_raw_data_cache_size_half): Likewise.
17338 (__x86_64_raw_shared_cache_size): Likewise.
17339 (__x86_64_raw_shared_cache_size_half): Likewise.
17340 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17341 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17342 and __x86_64_raw_shared_cache_size_half. Round
17343 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17344 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17345 to multiple of 256 bytes.
17347 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17350 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17351 of inacessible symlinks. Verify result of symlink before returning it.
17352 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17353 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17355 2010-10-28 Erich Ritz <erichritz@gmail.com>
17357 * math/math.h (isinf): Fix typo in comment.
17359 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17361 * po/da.po: Update from translation team.
17363 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17365 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17366 is added to the list.
17368 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17369 Ulrich Drepper <drepper@gmail.com>
17371 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17372 the global list here. Move code to...
17373 (_dl_add_to_namespace_list): ...here. New function.
17374 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17375 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17376 * elf/dl-load.c (lose): Don't remove the element from the list.
17377 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17378 (_dl_map_object): Likewise.
17380 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17383 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17384 into all bytes of SSE register.
17385 Patch by Richard Li <richardpku@gmail.com>.
17387 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17390 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17393 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17395 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17396 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17397 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17398 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17403 2010-10-22 Andreas Schwab <schwab@redhat.com>
17405 * include/dlfcn.h (__RTLD_SECURE): Define.
17406 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17407 mode & __RTLD_SECURE instead.
17408 (open_path): Rename preloaded parameter to secure.
17409 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17410 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17411 * elf/dl-deps.c (openaux): Likewise.
17412 * elf/rtld.c (struct map_args): Remove is_preloaded.
17413 (map_doit): Don't use it.
17414 (dl_main): Likewise.
17415 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17416 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17418 2010-09-09 Andreas Schwab <schwab@redhat.com>
17420 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17421 (sysd-rules-targets): Remove duplicates.
17422 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17423 rtld-%.$o dependency.
17425 2010-10-18 Andreas Schwab <schwab@redhat.com>
17427 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17428 _dl_map_object do it.
17430 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17432 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17433 fast fma builtins, define the macros in the C99 standard.
17434 (FP_FAST_FMAF): Likewise.
17435 (FP_FAST_FMAL): Likewise.
17436 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17438 * bits/mathdef.h: Update copyright year.
17439 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17441 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17443 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17444 builtins, define the macros in the C99 standard.
17445 (FP_FAST_FMAF): Likewise.
17446 (FP_FAST_FMAL): Likewise.
17447 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17449 (FP_FAST_FMAF): Likewise.
17451 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17454 * math/libm-test.inc (fma_test): Some new testcases.
17455 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17456 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17457 y and infinite z. Do multiplication by C already in long double.
17458 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17460 y and infinite z. Do bitwise or of inexact bit into u.d.
17461 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17462 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17463 * sysdeps/i386/fpu/s_fma.S: Removed.
17464 * sysdeps/i386/fpu/s_fmal.S: Removed.
17466 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17469 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17471 computation is not scheduled after fetestexcept. Fix value
17472 of minimum denormal long double.
17474 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17477 * math/libm-test.inc (fma_test): Add some more tests.
17478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17481 2010-10-15 Andreas Schwab <schwab@redhat.com>
17483 * scripts/data/localplt-s390-linux-gnu.data: New file.
17484 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17486 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17489 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17490 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17492 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17494 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17496 if one of x and y is very large and the other is subnormal.
17497 * sysdeps/s390/fpu/s_fmaf.c: New file.
17498 * sysdeps/s390/fpu/s_fma.c: New file.
17499 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17500 * sysdeps/powerpc/fpu/s_fma.S: New file.
17501 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17502 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17503 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17505 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17508 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17510 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17511 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17512 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17513 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17514 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17515 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17518 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17521 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17522 * posix/bug-regex31.input: Add test case.
17524 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17526 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17527 * posix/bug-regex31.input: New file.
17530 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17531 (parse_sub_exp): Fix last change, use postorder.
17533 * posix/bug-regex31.c: New file.
17534 * posix/Makefile: Add rules to build and run bug-regex31.
17536 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17539 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17542 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17543 to have entries in sys_siglist.
17546 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17549 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17552 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17553 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17554 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17555 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17556 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17557 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17558 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17559 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17560 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17561 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17562 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17563 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17564 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17565 * math/ftestexcept.c (fetestexcept): Likewise.
17566 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17567 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17568 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17569 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17570 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17571 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17572 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17574 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17577 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17580 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17582 * string/bug-strstr1.c: New file.
17583 * string/Makefile: Add rules to build and run bug-strstr1.
17585 2010-10-05 Eric Blake <eblake@redhat.com>
17588 * string/str-two-way.h (two_way_long_needle): Always clear memory
17589 when skipping input due to the shift table.
17591 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17594 * malloc/mcheck.c: Handle large requests.
17597 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17598 for strncmp and strncasecmp.
17599 * string/stratcliff.c: Add tests for strcmp and strncmp.
17600 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17602 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17604 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17607 2010-09-30 Andreas Jaeger <aj@suse.de>
17609 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17610 (CGROUP_SUPER_MAGIC): Define.
17611 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17612 Handle btrfs and cgroup file systems.
17613 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17616 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17618 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17619 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17621 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17624 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17625 trying to locate the ELF header.
17627 2010-09-27 Andreas Schwab <schwab@redhat.com>
17630 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17631 Mask out sign-bit copies when constructing f_fsid.
17633 2010-09-24 Petr Baudis <pasky@suse.cz>
17635 * debug/stack_chk_fail_local.c: Add missing licence exception.
17636 * debug/warning-nop.c: Likewise.
17638 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17640 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17641 implementing getdents64 using getdents syscall, set d_type if
17642 __ASSUME_GETDENTS32_D_TYPE.
17644 2010-09-16 Andreas Schwab <schwab@redhat.com>
17646 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17647 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17649 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17652 * posix/unistd.h: Undo change of feature selection for ftruncate from
17655 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17657 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17660 2010-09-20 Andreas Schwab <schwab@redhat.com>
17662 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17664 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17666 2010-09-14 Andreas Schwab <schwab@redhat.com>
17668 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17669 variables after CHECK_SP call.
17670 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17672 2010-09-13 Andreas Schwab <schwab@redhat.com>
17673 Ulrich Drepper <drepper@redhat.com>
17675 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17676 re-relocationg ld.so.
17677 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17678 _dl_init_paths call.
17679 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17682 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17684 * resolv/res_init.c (__res_vinit): Count the default server we added.
17686 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17687 Ulrich Drepper <drepper@redhat.com>
17690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17691 (____longjmp_chk): Use %ebx for saving value across system call.
17694 2010-09-06 Andreas Schwab <schwab@redhat.com>
17696 * manual/Makefile: Don't mix pattern rules with normal rules.
17698 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17700 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17702 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17703 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17704 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17705 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17706 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17709 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17712 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17713 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17715 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17717 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17718 * sysdeps/x86_64/addmul_1.S: Likewise.
17719 * sysdeps/x86_64/lshift.S: Likewise.
17720 * sysdeps/x86_64/mul_1.S: Likewise.
17721 * sysdeps/x86_64/rshift.S: Likewise.
17722 * sysdeps/x86_64/sub_n.S: Likewise.
17723 * sysdeps/x86_64/submul_1.S: Likewise.
17725 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17727 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17728 Define __sched_param instead of SCHED_* and sched_param when
17729 <bits/sched.h> is included with __need_schedparam defined.
17730 * bits/sched.h [__need_schedparam]
17731 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17732 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17733 (__defined_schedparam): Define to 1.
17734 (__sched_param): New structure, identical to sched_param.
17735 (__need_schedparam): Undefine.
17737 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17739 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17740 (epoll_create1): Declare.
17742 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17744 2010-08-31 Andreas Schwab <schwab@redhat.com>
17747 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17748 shifting retval into place.
17750 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17752 * nis/rpcsvc/nis.h: Update copyright notice.
17753 * nis/rpcsvc/nis.x: Likewise.
17754 * nis/rpcsvc/nis_callback.h: Likewise.
17755 * nis/rpcsvc/nis_callback.x: Likewise.
17756 * nis/rpcsvc/nis_object.x: Likewise.
17757 * nis/rpcsvc/nis_tags.h: Likewise.
17758 * nis/rpcsvc/yp.h: Likewise.
17759 * nis/rpcsvc/yp.x: Likewise.
17760 * nis/rpcsvc/ypupd.h: Likewise.
17761 * nis/yp_xdr.c: Likewise.
17762 * nis/ypupdate_xdr.c: Likewise.
17764 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17765 mainly the body of pmap_getport. Add parameters to specify timeouts.
17766 (pmap_getport): Use __libc_rpc_getport.
17767 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17768 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17769 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17771 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17776 2010-08-27 Roland McGrath <roland@redhat.com>
17778 * sysdeps/i386/i686/multiarch/Makefile
17779 (CFLAGS-varshift.c): New variable.
17781 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17783 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17784 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17786 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17788 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17790 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17792 * sysdeps/x86_64/strlen.S: Unroll the loop.
17793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17794 strlen-sse2 strlen-sse2-bsf.
17795 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17796 __strlen_no_bsf if bit_Slow_BSF is set.
17797 (__strlen_sse42): Removed.
17798 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17799 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17801 2010-08-25 Roland McGrath <roland@redhat.com>
17803 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17804 * sysdeps/x86_64/multiarch/varshift.c: New file.
17805 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17806 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17807 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17808 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17810 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17813 strlen-sse2 strlen-sse2-bsf.
17814 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17815 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17816 (__strlen_sse2): Removed.
17817 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17818 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17820 bit_Slow_BSF for Atom.
17821 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17822 (index_Slow_BSF): Define.
17823 (HAS_SLOW_BSF): Define.
17825 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17828 * resolv/res_init.c (__res_vinit): When no server address at all
17829 is given default to loopback.
17831 2010-08-24 Roland McGrath <roland@redhat.com>
17833 * configure.in: Remove config-name.h generation.
17834 * configure: Regenerated.
17835 * config-name.in: File removed.
17836 * scripts/config-uname.sh: New file.
17837 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17838 ($(objdir)config-name.h): New target.
17840 * sunrpc/rpc_parse.h: Avoid nested comment.
17842 2010-08-24 Richard Henderson <rth@redhat.com>
17843 Ulrich Drepper <drepper@redhat.com>
17844 H.J. Lu <hongjiu.lu@intel.com>
17846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17848 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17849 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17850 _mm_alignr_epi8 with _mm_loadu_si128.
17851 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17852 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17853 (__m128i_shift_right): Removed.
17854 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17855 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17856 * sysdeps/x86_64/multiarch/varshift.h: New file.
17857 * sysdeps/x86_64/multiarch/varshift.S: New file.
17859 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17861 * configure.in: Move assembler checks to before sysdep dir checking.
17863 2010-08-20 Petr Baudis <pasky@suse.cz>
17865 * LICENSES: Sync the sunrpc license.
17867 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17869 * sunrpc/auth_des.c: Update copyright notice once again.
17870 * sunrpc/auth_none.c: Likewise.
17871 * sunrpc/auth_unix.c: Likewise.
17872 * sunrpc/authdes_prot.c: Likewise.
17873 * sunrpc/authuxprot.c: Likewise.
17874 * sunrpc/bindrsvprt.c: Likewise.
17875 * sunrpc/clnt_gen.c: Likewise.
17876 * sunrpc/clnt_perr.c: Likewise.
17877 * sunrpc/clnt_raw.c: Likewise.
17878 * sunrpc/clnt_simp.c: Likewise.
17879 * sunrpc/clnt_tcp.c: Likewise.
17880 * sunrpc/clnt_udp.c: Likewise.
17881 * sunrpc/clnt_unix.c: Likewise.
17882 * sunrpc/des_crypt.c: Likewise.
17883 * sunrpc/des_soft.c: Likewise.
17884 * sunrpc/get_myaddr.c: Likewise.
17885 * sunrpc/getrpcport.c: Likewise.
17886 * sunrpc/key_call.c: Likewise.
17887 * sunrpc/key_prot.c: Likewise.
17888 * sunrpc/openchild.c: Likewise.
17889 * sunrpc/pm_getmaps.c: Likewise.
17890 * sunrpc/pm_getport.c: Likewise.
17891 * sunrpc/pmap_clnt.c: Likewise.
17892 * sunrpc/pmap_prot.c: Likewise.
17893 * sunrpc/pmap_prot2.c: Likewise.
17894 * sunrpc/pmap_rmt.c: Likewise.
17895 * sunrpc/rpc/auth.h: Likewise.
17896 * sunrpc/rpc/auth_unix.h: Likewise.
17897 * sunrpc/rpc/clnt.h: Likewise.
17898 * sunrpc/rpc/des_crypt.h: Likewise.
17899 * sunrpc/rpc/key_prot.h: Likewise.
17900 * sunrpc/rpc/netdb.h: Likewise.
17901 * sunrpc/rpc/pmap_clnt.h: Likewise.
17902 * sunrpc/rpc/pmap_prot.h: Likewise.
17903 * sunrpc/rpc/pmap_rmt.h: Likewise.
17904 * sunrpc/rpc/rpc.h: Likewise.
17905 * sunrpc/rpc/rpc_des.h: Likewise.
17906 * sunrpc/rpc/rpc_msg.h: Likewise.
17907 * sunrpc/rpc/svc.h: Likewise.
17908 * sunrpc/rpc/svc_auth.h: Likewise.
17909 * sunrpc/rpc/types.h: Likewise.
17910 * sunrpc/rpc/xdr.h: Likewise.
17911 * sunrpc/rpc_clntout.c: Likewise.
17912 * sunrpc/rpc_cmsg.c: Likewise.
17913 * sunrpc/rpc_common.c: Likewise.
17914 * sunrpc/rpc_cout.c: Likewise.
17915 * sunrpc/rpc_dtable.c: Likewise.
17916 * sunrpc/rpc_hout.c: Likewise.
17917 * sunrpc/rpc_main.c: Likewise.
17918 * sunrpc/rpc_parse.c: Likewise.
17919 * sunrpc/rpc_parse.h: Likewise.
17920 * sunrpc/rpc_prot.c: Likewise.
17921 * sunrpc/rpc_sample.c: Likewise.
17922 * sunrpc/rpc_scan.c: Likewise.
17923 * sunrpc/rpc_scan.h: Likewise.
17924 * sunrpc/rpc_svcout.c: Likewise.
17925 * sunrpc/rpc_tblout.c: Likewise.
17926 * sunrpc/rpc_util.c: Likewise.
17927 * sunrpc/rpc_util.h: Likewise.
17928 * sunrpc/rpcinfo.c: Likewise.
17929 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17930 * sunrpc/rpcsvc/key_prot.x: Likewise.
17931 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17932 * sunrpc/rpcsvc/mount.x: Likewise.
17933 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17934 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17935 * sunrpc/rpcsvc/rex.x: Likewise.
17936 * sunrpc/rpcsvc/rstat.x: Likewise.
17937 * sunrpc/rpcsvc/rusers.x: Likewise.
17938 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17939 * sunrpc/rpcsvc/spray.x: Likewise.
17940 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17941 * sunrpc/rtime.c: Likewise.
17942 * sunrpc/svc.c: Likewise.
17943 * sunrpc/svc_auth.c: Likewise.
17944 * sunrpc/svc_authux.c: Likewise.
17945 * sunrpc/svc_raw.c: Likewise.
17946 * sunrpc/svc_run.c: Likewise.
17947 * sunrpc/svc_simple.c: Likewise.
17948 * sunrpc/svc_tcp.c: Likewise.
17949 * sunrpc/svc_udp.c: Likewise.
17950 * sunrpc/svc_unix.c: Likewise.
17951 * sunrpc/svcauth_des.c: Likewise.
17952 * sunrpc/xcrypt.c: Likewise.
17953 * sunrpc/xdr.c: Likewise.
17954 * sunrpc/xdr_array.c: Likewise.
17955 * sunrpc/xdr_float.c: Likewise.
17956 * sunrpc/xdr_mem.c: Likewise.
17957 * sunrpc/xdr_rec.c: Likewise.
17958 * sunrpc/xdr_ref.c: Likewise.
17959 * sunrpc/xdr_sizeof.c: Likewise.
17960 * sunrpc/xdr_stdio.c: Likewise.
17962 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17965 2010-08-19 Andreas Schwab <schwab@redhat.com>
17967 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17969 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17971 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17972 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17973 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17974 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17975 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17976 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17977 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17978 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17979 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17980 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17981 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17982 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17983 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17984 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17986 2010-07-26 Anton Blanchard <anton@samba.org>
17988 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17989 * malloc/arena.c (heap_trim): Likewise.
17991 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17993 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17995 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17996 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17998 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18000 * sysdeps/i386/elf/Makefile: New file.
18002 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18004 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18005 from fanotify_init.
18006 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18007 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18009 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18011 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18013 * sysdeps/multiarch/strcmp.S: Likewise.
18015 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18017 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18018 strncase_l-nonascii.
18019 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18020 Add strncase_l-ssse3.
18021 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18022 * sysdeps/x86_64/strcmp.S: Likewise.
18023 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18024 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18025 * sysdeps/x86_64/strncase.S: New file.
18026 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18027 * sysdeps/x86_64/strncase_l.S: New file.
18028 * string/Makefile (strop-tests): Add strncasecmp.
18029 * string/test-strncasecmp.c: New file.
18031 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18034 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18035 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18037 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18039 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18041 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18043 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18044 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18045 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18047 2010-05-01 Alan Modra <amodra@gmail.com>
18049 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18050 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18051 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18052 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18053 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18054 tidying. Don't tail-call __sigjmp_save for static lib.
18055 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18057 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18058 (CALL_MCOUNT): Add eh info, and nop after bl.
18059 (TAIL_CALL_SYSCALL_ERROR): New macro.
18060 (PSEUDO_RET): Use it.
18061 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18062 Correct save location of integer regs and cr.
18063 (_dl_profile_resolve): Correct cr save location. Delete nops
18064 after bl when SHARED. Reduce cfi size a little by better
18065 placement of cfi directives.
18066 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18067 make a stack frame. Instead use parm save area as a temp.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18069 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18071 Don't make a stack frame for parent, use parm save area.
18072 Increase child stack frame to 112 bytes. Don't save unused reg,
18073 and adjust reg usage. Set up cfi on error recovery and
18074 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18076 (__makecontext): Add dummy nop after jump to exit.
18077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18078 Use correct parm save area and cr save, reduce stack frame.
18079 Correct cfi for possible PSEUDO_RET frame setup.
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18081 Branch to local label emitted by PSEUDO_RET rather than
18084 2010-08-12 Andreas Schwab <schwab@redhat.com>
18087 * locale/programs/locale.c (print_assignment): New function.
18088 (show_locale_vars): Use it.
18090 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18092 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18094 (struct statfs64): Likewise.
18095 (_STATFS_F_FLAGS): Define.
18096 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18097 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18098 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18099 (ST_VALID): Define locally.
18100 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18101 __statvfs_getflags, use the provided value.
18102 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18103 __ASSUME_STATFS_F_FLAGS.
18105 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18107 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18108 Add sys/fanotify.h.
18109 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18110 fanotify_mask for GLIBC_2.13.
18111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18112 fanotify_init and fanotify_mark.
18113 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18114 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18116 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18118 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18119 prlimit64 for GLIBC_2.13.
18120 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18122 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18125 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18126 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18127 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18130 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18133 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18134 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18136 * nss/Makefile: Add rules to build and run tst-nss-test1.
18137 * shlib-versions: Add entry for libnss_test1.
18138 * nss/nss_test1.c: New file.
18139 * nss/tst-nss-test1.c: New file.
18141 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18142 (__nss_configure_lookup): Set appropriate entry in
18143 __nss_configure_lookup to true.
18144 * nss/nsswitch.h: Define enum with indeces of databases in
18145 databases and __nss_database_custom arrays. Declare
18146 __nss_database_custom.
18147 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18148 to avoid using nscd when custom rules are installed.
18149 * nss/getXXbyYY_r.c: Likewise.
18150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18152 * nss/nss_files/files-parse.c: Whitespace fixes.
18154 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18157 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18158 * posix/fnmatch_loop.c: Likewise.
18160 2010-07-17 Andi Kleen <ak@linux.intel.com>
18162 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18163 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18164 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18165 * Versions.def [GLIBC_2.13]: Add.
18167 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18169 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18170 Also fail if tpwd after pwuid call is NULL.
18172 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18174 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18175 when converting to ms.
18177 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18179 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18180 EOPNOTSUPP errors with ENOTTY.
18181 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18182 EOPNOTSUPP errors with ENOTTY.
18184 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18186 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18187 Add strcasecmp_l-ssse3.
18188 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18190 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18191 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18192 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18194 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18196 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18198 * string/Makefile (strop-tests): Add strcasecmp.
18199 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18200 strcasecmp_l-nonascii.
18201 (gen-as-const-headers): Add locale-defines.sym.
18202 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18203 * sysdeps/x86_64/strcasecmp.S: New file.
18204 * sysdeps/x86_64/strcasecmp_l.S: New file.
18205 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18206 * sysdeps/x86_64/locale-defines.sym: New file.
18207 * string/test-strcasecmp.c: New file.
18209 * string/test-strcasestr.c: Test both ends of the range of characters.
18210 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18212 2010-07-29 Roland McGrath <roland@redhat.com>
18215 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18217 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18219 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18222 2010-07-27 Andreas Schwab <schwab@redhat.com>
18224 * manual/memory.texi (Malloc Tunable Parameters): Document
18227 2010-07-26 Roland McGrath <roland@redhat.com>
18230 * configure.in (-fgnu89-inline check): Set and substitute
18231 gnu89_inline, not libc_cv_gnu89_inline.
18232 * configure: Regenerated.
18233 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18235 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18237 * string/test-strnlen.c: New file.
18238 * string/Makefile (strop-tests): Add strnlen.
18239 * string/tester.c (test_strnlen): Add a few more test cases.
18240 * string/tst-strlen.c: Better error reporting.
18242 * sysdeps/x86_64/strnlen.S: New file.
18244 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18246 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18247 lower-latency instructions.
18249 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18251 * string/test-strcasestr.c: New file.
18252 * string/test-strstr.c: New file.
18253 * string/Makefile (strop-tests): Add strstr and strcasestr.
18254 * string/str-two-way.h: Don't undefine MAX.
18255 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18257 2010-07-21 Andreas Schwab <schwab@redhat.com>
18259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18260 strcasestr-nonascii.
18261 (CFLAGS-strcasestr-nonascii.c): Define.
18262 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18263 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18264 Remove unused attribute.
18266 2010-07-20 Roland McGrath <roland@redhat.com>
18268 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18269 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18270 ld.so.cache was broken. With it, there is no way to disable dsocaps
18271 like LD_HWCAP_MASK can disable hwcaps.
18273 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18275 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18277 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18279 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18280 call in strcasestr.
18281 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18282 __strcasestr_sse42_nonascii.
18283 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18284 strcasestr-nonascii.c.
18285 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18287 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18289 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18290 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18291 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18292 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18294 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18296 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18299 2010-07-06 Andreas Schwab <schwab@redhat.com>
18302 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18305 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18307 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18308 _PC_PIPE_BUF using F_GETPIPE_SZ.
18310 2010-07-05 Roland McGrath <roland@redhat.com>
18312 * manual/arith.texi (Rounding Functions): Fix rint description
18313 implicit in round description.
18315 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18317 * elf/Makefile: Fix linking for a few tests to make recent linker
18320 2010-06-30 Andreas Schwab <schwab@redhat.com>
18322 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18323 $(common-objpfx)libc_nonshared.a.
18325 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18327 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18328 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18329 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18330 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18331 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18332 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18333 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18334 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18349 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18350 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18351 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18352 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18353 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18354 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18355 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18356 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18357 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18358 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18359 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18360 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18376 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18378 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18379 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18380 * string/memmove.c (memmove): Renamed to ...
18381 (MEMMOVE): ...this. Default to memmove.
18382 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18383 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18386 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18387 mempcpy-ssse3-back memmove-ssse3-back.
18388 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18389 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18391 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18392 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18393 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18394 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18395 * sysdeps/x86_64/multiarch/memmove.c: New file.
18396 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18397 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18398 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18399 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18400 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18401 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18403 (index_Fast_Copy_Backward): Define.
18404 (HAS_ARCH_FEATURE): Define.
18405 (HAS_FAST_REP_STRING): Define.
18406 (HAS_FAST_COPY_BACKWARD): Define.
18408 2010-06-21 Andreas Schwab <schwab@redhat.com>
18410 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18411 Restore proper fallback handling.
18413 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18416 * posix/group_member.c (__group_member): Correct checking loop.
18418 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18419 OOM in getpwuid_r correctly. Return error number when the caller
18420 should return, otherwise -1.
18421 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18422 call returning > 0 value.
18423 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18425 2010-06-07 Andreas Schwab <schwab@redhat.com>
18427 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18428 libc_nonshared.a from targets in modules-names.
18430 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18432 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18435 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18437 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18438 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18439 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18440 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18442 2010-06-02 Andreas Schwab <schwab@redhat.com>
18444 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18446 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18448 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18451 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18452 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18454 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18455 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18457 2010-06-14 Roland McGrath <roland@redhat.com>
18459 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18461 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18463 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18464 __REDIRECT followed by __THROW.
18465 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18466 * posix/getopt.h (getopt): Likewise.
18468 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18470 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18471 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18472 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18474 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18475 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18477 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18479 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18481 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18485 Properly check family and model.
18487 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18489 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18491 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18493 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18495 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18497 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18500 2010-05-19 Andreas Schwab <schwab@redhat.com>
18502 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18505 2010-05-21 Andreas Schwab <schwab@redhat.com>
18507 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18508 and internal_recvmmsg.
18509 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18510 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18511 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18512 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18514 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18515 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18516 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18518 2010-05-20 Andreas Schwab <schwab@redhat.com>
18520 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18522 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18524 POWER7 optimizations.
18525 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18526 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18528 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18530 * version.h: Update for 2.13 development version.
18532 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18534 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18535 exceptions. Return 0.
18537 2010-05-07 Roland McGrath <roland@redhat.com>
18539 * elf/ldconfig.c (main): Add a const.
18541 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18543 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18544 (args_options): Add no-idn option.
18545 (ahosts_keys_int): Add idn_flags to ai_flags.
18546 (parse_option): Handle 'i' option to clear idn_flags.
18548 * malloc/malloc.c (_int_free): Possible race in the most recently
18549 added check. Only act on the data if no current modification
18552 See ChangeLog.17 for earlier changes.