1 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4 #include of fxstatat64.c.
6 2012-08-22 Roland McGrath <roland@hack.frob.com>
8 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9 * shadow/getspent_r.c: Likewise.
10 * shadow/getspnam.c: Likewise.
11 * shadow/getspnam_r.c: Likewise.
12 * gshadow/getsgent.c: Likewise.
13 * gshadow/getsgent_r.c: Likewise.
14 * gshadow/getsgnam.c: Likewise.
15 * gshadow/getsgnam_r.c: Likewise.
16 * inet/getnetbyad.c: Likewise.
17 * inet/getnetbyad_r.c: Likewise.
18 * inet/getnetbynm.c: Likewise.
19 * inet/getnetbynm_r.c: Likewise.
20 * inet/getnetent.c: Likewise.
21 * inet/getnetent_r.c: Likewise.
22 * inet/getproto.c: Likewise.
23 * inet/getproto_r.c: Likewise.
24 * inet/getprtent.c: Likewise.
25 * inet/getprtent_r.c: Likewise.
26 * inet/getprtname.c: Likewise.
27 * inet/getprtname_r.c: Likewise.
28 * inet/getrpcbyname.c: Likewise.
29 * inet/getrpcbyname_r.c: Likewise.
30 * inet/getrpcbynumber.c: Likewise.
31 * inet/getrpcbynumber_r.c: Likewise.
32 * inet/getrpcent.c: Likewise.
33 * inet/getrpcent_r.c: Likewise.
34 * inet/getaliasent.c: Likewise.
35 * inet/getaliasent_r.c: Likewise.
36 * inet/getaliasname.c: Likewise.
37 * inet/getaliasname_r.c: Likewise.
38 * nscd/getgrgid_r.c: Likewise.
39 * nscd/getgrnam_r.c: Likewise.
40 * nscd/gethstbyad_r.c: Likewise.
41 * nscd/gethstbynm3_r.c: Likewise.
42 * nscd/getpwnam_r.c: Likewise.
43 * nscd/getpwuid_r.c: Likewise.
44 * nscd/getsrvbynm_r.c: Likewise.
45 * nscd/getsrvbypt_r.c: Likewise.
46 * nscd/gai.c: Likewise.
48 * configure.in (build_nscd): New substituted variable, set
49 by --disable-build-nscd and defaults to $use_nscd.
50 * configure: Regenerated.
51 * config.make.in (build-nscd): New substituted variable.
52 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53 Change conditional to require [$(build-nscd) = yes] as well.
54 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57 * configure.in (use_nscd): New substituted variable, set by
58 --disable-nscd. If enabled, define USE_NSCD.
59 * configure: Regenerated.
60 * config.h.in: Add USE_NSCD.
61 * config.make.in (use-nscd): New substituted variable.
62 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
65 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66 (CFLAGS-getgrnam_r.c): Likewise.
67 (CFLAGS-initgroups.c): Likewise.
68 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
69 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71 * inet/getnetgrent_r.c
72 (nscd_setnetgrent): New function, broken out of ...
73 (setnetgrent): ... here. Call it.
74 (innetgr): Conditionalize nscd bits on [USE_NSCD].
75 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
76 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77 * nscd/Makefile (routines, aux): Move definitions after include of
78 Makeconfig. Conditionalize on [$(use-nscd) != no].
79 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
80 Conditionalize on [USE_NSCD].
81 (is_nscd, nscd_init_cb): Likewise.
82 (nss_load_library): Conditionalize init callback on [USE_NSCD].
83 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
84 * nss/nss_db/db-init.c: Likewise.
85 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
87 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
88 (make_request): Use it.
89 (cache_valid_p): New function.
91 * NEWS: Add item for --disable-nscd.
93 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
95 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
96 to support sed >= 4.2.1-20-ga9bf076.
97 * configure: Regenerated.
99 2012-08-22 Roland McGrath <roland@hack.frob.com>
101 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
102 Conditionalize whole body on [IREL].
104 2012-08-22 Jeff Law <law@redhat.com>
107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
108 if the family is PF_UNSPEC.
110 2012-08-22 Mike Frysinger <vapier@gentoo.org>
112 * Makerules (lib-version): Rename from V.
113 (install-lib-nosubdir): Change V to lib-version.
115 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
118 * powerpc32/power6/wcschr.c: New file.
119 * powerpc32/power6/wcscpy.c: New file.
120 * powerpc32/power6/wcsrchr.c: New file.
121 * powerpc64/power6/wcschr.c: New file.
122 * powerpc64/power6/wcscpy.c: New file.
123 * powerpc64/power6/wcsrchr.c: New file.
125 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
127 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
128 (two_way_short_needle): Use it.
129 * string/strstr.c (AVAILABLE1_USES_J): Define.
130 * string/strcasestr.c: Likewise.
132 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
134 * string/strcasestr.c (TOLOWER): Make side-effect safe.
137 * NEWS: Add an entry.
138 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
139 define their defaults.
140 (two_way_short_needle): Detect end-of-string on-the-fly.
141 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
142 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
143 * string/bug-strcasestr1.c: New test.
144 * string/Makefile: Run it.
146 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
149 * string/str-two-way.h (two_way_short_needle): Optimize matching of
152 2012-08-21 Roland McGrath <roland@hack.frob.com>
154 * csu/elf-init.c (__libc_csu_irel): Function removed.
155 * csu/libc-start.c (apply_irel): New function.
156 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
158 2012-08-21 Joseph Myers <joseph@codesourcery.com>
160 * sysdeps/unix/sysv/linux/kernel-features.h
161 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
162 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
164 [__NR_fadvise64_64]: Make code unconditional.
165 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
166 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
167 !__NR_fadvise64_64)]: Likewise.
168 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
169 !__NR_fadvise64_64))]: Likewise.
170 [__NR_fadvise64]: Make code unconditional.
171 [!__NR_fadvise64]: Remove conditional code.
172 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
174 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
176 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
179 not include <kernel-features.h>.
180 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
182 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
184 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
185 include <kernel-features.h>.
186 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
188 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
191 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
193 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
194 slight instruction rearrangements per scrollpipe analysis.
195 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
197 2012-08-20 Roland McGrath <roland@hack.frob.com>
199 * manual/syslog.texi (syslog; vsyslog, closelog):
200 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
201 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
203 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
204 DSOCAPS to match condition on defining it.
206 2012-08-20 Joseph Myers <joseph@codesourcery.com>
208 * sysdeps/unix/sysv/linux/kernel-features.h
209 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
211 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
212 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
214 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
215 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
217 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
218 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
220 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
221 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
223 * sysdeps/unix/sysv/linux/kernel-features.h
224 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
225 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
227 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
228 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
229 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
230 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
231 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
232 Make code unconditional.
233 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
234 (__mmap64) [!__NR_mmap2]: Likewise.
235 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
236 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
237 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
238 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
239 [__NR_mmap2]: Make code unconditional.
240 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
241 (__mmap64) [!__NR_mmap2]: Likewise.
243 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
245 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
247 2012-08-18 Andreas Jaeger <aj@suse.de>
249 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
251 2012-08-18 Mike Frysinger <vapier@gentoo.org>
253 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
254 * include/unistd.h (__have_sock_cloexec): Likewise.
255 (__have_pipe2): Likewise.
256 (__have_dup3): Likewise.
258 2012-08-18 Mike Frysinger <vapier@gentoo.org>
261 * include/unistd.h (__have_pipe2): Change define into an extern int.
262 (__have_dup3): Likewise.
263 * socket/have_sock_cloexec.c: Include fcntl.h.
264 (__have_pipe2): New variable.
265 (__have_dup3): Likewise.
267 2012-08-17 Mike Frysinger <vapier@gentoo.org>
269 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
271 2012-08-17 Marek Polacek <polacek@redhat.com>
273 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
274 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
276 2012-08-17 Roland McGrath <roland@hack.frob.com>
278 * configure.in: Add AC_SUBST for sysheaders.
279 * configure: Regenerated.
280 * config.make.in (sysheaders): New substituted variable.
282 * sysdeps/unix/mkfifo.c: Moved ...
283 * sysdeps/posix/mkfifo.c: ... here.
284 * sysdeps/unix/mkfifoat.c: Moved ...
285 * sysdeps/posix/mkfifoat.c: ... here.
287 * sysdeps/unix/utime.c: Moved ...
288 * sysdeps/posix/utime.c: ... here.
290 * sysdeps/unix/time.c: Moved ...
291 * sysdeps/posix/time.c: ... here.
292 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
293 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
295 * sysdeps/unix/nice.c: Moved ...
296 * sysdeps/posix/nice.c: ... here.
298 * sysdeps/unix/alarm.c: Moved ...
299 * sysdeps/posix/alarm.c: ... here.
301 * intl/Makefile ($(codeset_mo)): Depend on the input file.
303 2012-08-17 Jeff Law <law@redhat.com>
305 * intl/Makefile (codeset_mo): New variable.
306 ($(codeset_mo)): New target.
307 (tst-codeset.out): Depend on that. Remove explicit rule.
308 (tst-gettext3.out, tst-gettext5.out): Likewise.
309 (LOCPATH-ENV, tst-codeset-ENV): New variables.
310 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
311 * intl/tst-codeset.sh: Remove.
312 * intl/tst-gettext3.sh: Likewise.
313 * intl/tst-gettext5.sh: Likewise.
315 2012-08-17 Roland McGrath <roland@hack.frob.com>
317 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
318 * sysdeps/unix/syscalls.list: ... here.
320 * sysdeps/posix/getaddrinfo.c
321 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
322 (gaiconf_init, gaiconf_reload): Use them.
324 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
325 Define using time_t rather than struct timespec.
327 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
328 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
330 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
332 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
333 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
336 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
337 __libc_cleanup_push argument.
339 * bits/param.h: New file.
340 * misc/sys/param.h: New file.
341 * include/sys/param.h: New file.
342 * misc/Makefile (headers): Add bits/param.h.
343 * sysdeps/generic/sys/param.h: File removed.
344 * sysdeps/unix/sysv/linux/bits/param.h: New file.
345 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
346 * sysdeps/mach/hurd/bits/param.h: New file.
347 * sysdeps/mach/hurd/sys/param.h: New file.
349 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
352 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
354 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
355 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
358 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
359 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
360 rather than -D_IO_MTSAFE_IO conditionally.
361 * stdio-common/Makefile (CPPFLAGS): Likewise.
362 * wcsmbs/Makefile (CPPFLAGS): Likewise.
363 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
365 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
367 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
368 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
369 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
370 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
371 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
372 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
373 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
374 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
375 (CFLAGS-fread_u_chk.c): Likewise.
376 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
377 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
378 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
379 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
380 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
381 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
382 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
383 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
384 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
386 * libio/Makefile: Test [$(libc-reentrant) = yes]
387 instead of [$(filter %REENTRANT, $(defines)) nonempty].
390 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
391 * sysdeps/pthread/configure: File removed.
392 * sysdeps/pthread/Makeconfig: New file.
393 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
394 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
396 2012-08-16 Gary Benson <gbenson@redhat.com>
398 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
399 unmapping the first object in a namespace.
401 2012-08-16 Roland McGrath <roland@hack.frob.com>
403 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
404 (__internal_setnetgrent): ... this. Add internal_function to
405 definition. Add libc_hidden_def.
406 (setnetgrent): Update caller.
407 (internal_endnetgrent): Renamed to ...
408 (__internal_endnetgrent): ... this. Add internal_function to
409 definition. Add libc_hidden_def.
410 (endnetgrent): Update caller.
411 (internal_getnetgrent_r): Renamed to ...
412 (__internal_getnetgrent_r): ... this. Add internal_function to
413 definition. Add libc_hidden_def.
414 (__getnetgrent_r): Update caller.
415 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
417 2012-08-16 Joseph Myers <joseph@codesourcery.com>
419 * stdlib/longlong.h: Update from GCC.
421 2012-08-16 Roland McGrath <roland@hack.frob.com>
423 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
424 on _QL, which is set by umul_ppmm but never used.
425 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
426 variables, which are set by GMP macros but never used.
427 * stdio-common/_itowa.c (_itowa): Likewise.
428 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
429 * stdlib/mod_1.c (mpn_mod_1): Likewise.
431 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
433 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
434 struct La_sh_regs is not constant.
435 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
436 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
437 and struct La_sparc64_regs are not constant.
439 2012-08-16 Joseph Myers <joseph@codesourcery.com>
441 * sysdeps/unix/sysv/linux/kernel-features.h
442 (__ASSUME_POSIX_TIMERS): Remove.
443 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
444 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
445 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
446 Make code unconditional.
447 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
448 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
449 Make code unconditional.
450 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
451 * sysdeps/unix/sysv/linux/clock_nanosleep.c
452 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
453 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
454 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
455 Make code unconditional.
456 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
457 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
458 (__libc_missing_posix_timers): Remove.
460 2012-08-15 Roland McGrath <roland@hack.frob.com>
462 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
463 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
465 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
467 * elf/dl-sym.c: Include <stdlib.h>.
469 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
470 constants, which avoids warnings in 32-bit builds.
472 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
473 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
475 * misc/lseek.c: File moved to ...
476 * io/lseek.c: ... here.
478 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
480 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
481 shifting LEN more than 31 bits at once.
483 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
486 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
487 segmentation fault for a case of two empty input strings.
488 * string/test-strncasecmp.c (check1): Renamed to...
490 (bz14195): Add new testcase for two empty input strings and N > 0.
491 (test_main): Call new testcase, adapt for renamed function.
493 2012-08-15 Andreas Jaeger <aj@suse.de>
496 * crypt/md5test2.c: New test, based on test supplied by Serge
497 Belyshev <belyshev@depni.sinp.msu.ru>.
498 * crypt/Makefile (xtests): Add md5test-giant..
499 * crypt/Makefile ($(objpfx)md5test-giant): Add.
501 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
504 * crypt/md5.c (md5_process_block): Don't assume the buffer
505 length is less than 2**32.
506 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
507 length is less than 2**64.
509 2012-08-15 Roland McGrath <roland@hack.frob.com>
511 * string/str-two-way.h: Include <sys/param.h>.
512 (MAX): Macro removed.
514 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
515 Move #define and #undef of memmove to just before and after
516 including <string.h>.
518 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
519 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
520 and after including <string.h>. Move declarations of
521 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
522 to before #include "string/memmove.c".
524 * include/dirent.h: Declare __getdirentries.
526 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
527 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
529 2012-08-14 Mike Frysinger <vapier@gentoo.org>
531 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
532 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
533 * sysdeps/i386/configure: Regenerated.
534 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
535 STABS_CURRENT_FILE, and STABS_FUN.
536 (END): Remove call to STABS_FUN_END.
537 (STABS_CURRENT_FILE1): Delete.
538 (STABS_CURRENT_FILE): Likewise.
539 (STABS_FUN): Likewise.
540 (STABS_FUN_END): Likewise.
541 (STABS_FUN2): Likewise.
542 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
543 * sysdeps/x86_64/configure: Regenerated.
545 2012-08-14 Roland McGrath <roland@hack.frob.com>
547 * elf/dl-open.c: Include <atomic.h>.
548 * elf/dl-lookup.c: Likewise.
550 2012-08-14 Joseph Myers <joseph@codesourcery.com>
552 * sysdeps/unix/sysv/linux/kernel-features.h
553 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
554 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
556 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
558 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
559 condition on __ASSUME_CLONE_THREAD_FLAGS.
561 2012-08-14 Andreas Jaeger <aj@suse.de>
563 * sysdeps/i386/fpu/libm-test-ulps: Update.
565 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
567 * include/atomic.h (atomic_exchange_and_add): Split into ...
568 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
571 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
575 2012-08-13 Jeff Law <law@redhat.com>
577 * manual/stdio.texi (snprintf): Clarify handling of the trailing
578 null byte in the output string.
580 2012-08-10 Joseph Myers <joseph@codesourcery.com>
582 * sysdeps/unix/sysv/linux/kernel-features.h
583 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
584 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
585 (__ASSUME_ARG_MAX_STACK_BASED): Define.
586 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
587 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
588 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
589 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
591 2012-08-09 Jeff Law <law@redhat.com>
594 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
595 When avoid_arena is set, don't retry in the that arena. Pick the
596 next one, whatever it might be.
597 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
598 (arena_lock): Pass in new parameter to arena_get2.
599 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
601 (__libc_malloc): Unify retrying after main arena failure with
602 __libc_memalign version.
603 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
605 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
608 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
609 to __redirect_strstr.
610 (__strstr_sse42): Use typeof __redirect_strstr.
611 (__strstr_ia32): Likewise.
612 (__libc_strstr): New prototype.
613 (strstr): Renamed to ...
614 (__libc_strstr): This.
615 (strstr): New strong alias of __libc_strstr.
616 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
617 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
620 (__libc_time): New prototype.
621 (time_ifunc): Replace time with __libc_time.
622 (time): New strong alias and hidden definition of __libc_time.
623 (__GI_time): Remove strong alias.
624 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
626 (memmove): Redefined to __redirect_memmove.
627 (__memmove_sse2): Use typeof __redirect_memmove.
628 (__memmove_ssse3): Likewise.
629 (__memmove_ssse3_back): Likewise.
630 (__libc_memmove): New prototype.
631 (memmove): Renamed to ...
632 (__libc_memmove): This.
633 (memmove): New strong alias of __libc_memmove.
635 2012-08-08 Mark Salter <msalter@redhat.com>
638 (R_MN10300_TLS_GD): Define.
639 (R_MN10300_TLS_LD): Likewise.
640 (R_MN10300_TLS_LDO): Likewise.
641 (R_MN10300_TLS_GOTIE): Likewise.
642 (R_MN10300_TLS_IE): Likewise.
643 (R_MN10300_TLS_LE): Likewise.
644 (R_MN10300_TLS_DTPMOD): Likewise.
645 (R_MN10300_TLS_DTPOFF): Likewise.
646 (R_MN10300_TLS_TPOFF): Likewise.
647 (R_MN10300_SYM_DIFF): Likewise.
648 (R_MN10300_ALIGN): Likewise.
649 (R_MN10300_NUM): Update.
651 2012-08-08 Joseph Myers <joseph@codesourcery.com>
653 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
656 2012-08-08 Roland McGrath <roland@hack.frob.com>
658 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
660 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
661 sysdeps/unix -> sysdeps/posix move.
662 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
664 2012-08-07 Allan McRae <allan@archlinux.org>
667 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
668 (SUNOS_CPP): Likewise.
669 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
671 (open_input): Call CPP using execvp.
673 2012-08-07 Joseph Myers <joseph@codesourcery.com>
675 * sysdeps/unix/sysv/linux/kernel-features.h
676 (__ASSUME_PROT_GROWSUPDOWN): Remove.
677 (__ASSUME_NO_CLONE_DETACHED): Likewise.
678 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
679 (__ASSUME_WAITID_SYSCALL): Likewise.
680 * sysdeps/unix/sysv/linux/dl-execstack.c
681 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
683 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
685 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
686 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
687 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
689 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
691 [__ASSUME_WAITID_SYSCALL]: Likewise.
692 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
694 2012-08-07 Roland McGrath <roland@hack.frob.com>
696 * sysdeps/unix/closedir.c: Renamed to ...
697 * sysdeps/posix/closedir.c: ... here.
698 * sysdeps/unix/dirfd.c: Renamed to ...
699 * sysdeps/posix/dirfd.c: ... here.
700 * sysdeps/unix/dirstream.h: Renamed to ...
701 * sysdeps/posix/dirstream.h: ... here.
702 * sysdeps/unix/fdopendir.c: Renamed to ...
703 * sysdeps/posix/fdopendir.c: ... here.
704 * sysdeps/unix/opendir.c: Renamed to ...
705 * sysdeps/posix/opendir.c: ... here.
706 * sysdeps/unix/readdir.c: Renamed to ...
707 * sysdeps/posix/readdir.c: ... here.
708 * sysdeps/unix/readdir_r.c: Renamed to ...
709 * sysdeps/posix/readdir_r.c: ... here.
710 * sysdeps/unix/rewinddir.c: Renamed to ...
711 * sysdeps/posix/rewinddir.c: ... here.
712 * sysdeps/unix/seekdir.c: Renamed to ...
713 * sysdeps/posix/seekdir.c: ... here.
714 * sysdeps/unix/telldir.c: Renamed to ...
715 * sysdeps/posix/telldir.c: ... here.
716 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
717 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
718 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
719 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
721 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
722 * bits/fcntl.h: ... here.
724 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
726 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
727 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
728 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
729 (struct flock): Move l_start, l_len to the beginning.
730 Use __pid_t for l_pid.
731 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
732 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
733 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
734 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
735 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
736 [__USE_LARGEFILE64] (struct flock64): New type.
737 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
739 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
740 * bits/dirent.h: ... here.
742 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
743 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
745 2012-08-07 Joseph Myers <joseph@codesourcery.com>
747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
748 Change from 2.6.0 to 2.6.16.
749 * sysdeps/unix/sysv/linux/configure: Regenerated.
750 * sysdeps/unix/sysv/linux/kernel-features.h
751 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
752 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
754 (__ASSUME_UTIMES): Likewise.
755 (__ASSUME_CLONE_STOPPED): Remove.
756 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
757 architectures, not kernel version.
758 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
759 (__ASSUME_NO_CLONE_DETACHED): Likewise.
760 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
761 (__ASSUME_WAITID_SYSCALL): Likewise.
762 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
763 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
764 * README: State 2.6.16 as minimum Linux kernel version. Do not
765 refer to older versions.
767 2012-08-06 Roland McGrath <roland@hack.frob.com>
769 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
770 Define alphasort64 as an alias.
771 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
772 Define versionsort64 as an alias.
773 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
774 Define scandir64 as an alias.
775 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
776 Define scandirat64 as an alias.
777 * dirent/alphasort64.c (alphasort64):
778 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
779 * dirent/versionsort64.c: Likewise.
780 * dirent/scandir64.c: Likewise.
781 * dirent/scandirat64.c: Likewise.
782 * sysdeps/wordsize-64/alphasort.c: File removed.
783 * sysdeps/wordsize-64/alphasort64.c: File removed.
784 * sysdeps/wordsize-64/scandir.c: File removed.
785 * sysdeps/wordsize-64/scandir64.c: File removed.
786 * sysdeps/wordsize-64/scandirat.c: File removed.
787 * sysdeps/wordsize-64/scandirat64.c: File removed.
788 * sysdeps/wordsize-64/versionsort.c: File removed.
789 * sysdeps/wordsize-64/versionsort64.c: File removed.
790 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
791 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
792 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
793 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
794 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
795 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
796 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
797 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
799 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
800 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
801 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
803 [defined __arch64__ || defined __sparcv9]
804 (__INO_T_MATCHES_INO64_T): New macro.
805 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
806 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
807 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
808 * sysdeps/unix/sysv/linux/bits/dirent.h
809 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
810 (_DIRENT_MATCHES_DIRENT64): New macro.
812 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
813 Define lockf64 as an alias.
814 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
815 Define fseeko64 as an alias.
816 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
817 Define ftello64 as an alias.
818 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
819 Define _IO_fgetpos64 and fgetpos64 as aliases.
820 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
821 Define _IO_fsetpos64 and fsetpos64 as aliases.
822 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
823 Conditionalize body on this.
824 * libio/fseeko64.c: Likewise.
825 * libio/ftello64.c: Likewise.
826 * libio/iofgetpos64.c: Likewise.
827 * libio/iofsetpos64.c: Likewise.
828 * sysdeps/wordsize-64/lockf.c: File removed.
829 * sysdeps/wordsize-64/lockf64.c: File removed.
830 * sysdeps/wordsize-64/fseeko.c: File removed.
831 * sysdeps/wordsize-64/fseeko64.c: File removed.
832 * sysdeps/wordsize-64/ftello.c: File removed.
833 * sysdeps/wordsize-64/ftello64.c: File removed.
834 * sysdeps/wordsize-64/iofgetpos.c: File removed.
835 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
836 * sysdeps/wordsize-64/iofsetpos.c: File removed.
837 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
838 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
839 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
840 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
841 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
842 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
843 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
844 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
845 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
846 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
847 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
849 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
850 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
851 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
852 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
853 [defined __arch64__ || defined __sparcv9]
854 (__OFF_T_MATCHES_OFF64_T): New macro.
855 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
856 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
857 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
858 (__OFF_T_MATCHES_OFF64_T): New macro.
860 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
862 * stdlib/secure-getenv.c (__secure_getenv): Replace
863 GLIBC_2_16 with GLIBC_2_17.
865 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
867 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
868 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
870 2012-08-03 David S. Miller <davem@davemloft.net>
872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
874 2012-08-03 Joseph Myers <joseph@codesourcery.com>
876 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
878 (__ASSUME_CORRECT_SI_PID): Likewise.
879 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
880 (__ASSUME_TMPFS_NAME): Likewise.
881 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
882 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
883 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
884 (HAVE_AUX_SECURE): Make definition unconditional.
885 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
886 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
888 2012-08-03 Roland McGrath <roland@hack.frob.com>
890 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
891 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
892 * sysdeps/mach/hurd/eloop-threshold.h: New file.
893 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
894 __eloop_threshold instead of SYMLOOP_MAX.
896 * sysdeps/generic/eloop-threshold.h: New file.
897 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
899 * elf/chroot_canon.c (chroot_canon): Likewise.
901 2012-08-03 Joseph Myers <joseph@codesourcery.com>
904 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
905 Change to 2.6.0 everywhere.
906 * sysdeps/unix/sysv/linux/configure: Regenerated.
907 * sysdeps/unix/sysv/linux/kernel-features.h
908 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
909 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
911 (__ASSUME_POSIX_TIMERS): Define unconditionally.
912 (__ASSUME_FUTEX_REQUEUE): Remove.
913 (__ASSUME_STATFS64): Define unconditionally.
914 (__ASSUME_AT_SECURE): Likewise.
915 (__ASSUME_CORRECT_SI_PID): Likewise.
916 (__ASSUME_TGKILL): Define without depending on kernel version for
918 (__ASSUME_UTIMES): Likewise.
919 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
921 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
922 (__ASSUME_TMPFS_NAME): Likewise.
923 * README: Update reference to Linux kernel versions.
925 2012-08-02 Marek Polacek <polacek@redhat.com>
928 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
929 libc_cv_asm_type_prefix with %.
930 * configure: Regenerated.
931 * include/libc-symbols.h: Remove comment about
932 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
933 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
934 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
935 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
936 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
937 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
938 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
939 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
940 * elf/tst-unique2mod1.c: Likewise.
941 * elf/tst-unique1mod2.c: Likewise.
942 * elf/tst-unique1mod1.c: Likewise.
943 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
944 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
945 Replace ASM_TYPE_DIRECTIVE with .type.
946 * sysdeps/s390/s390-64/sysdep.h: Likewise.
947 * sysdeps/i386/sysdep.h: Likewise.
948 * sysdeps/x86_64/sysdep.h: Likewise.
949 * sysdeps/sh/sysdep.h: Likewise.
950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
951 Do not define ASM_TYPE_DIRECTIVE.
952 * sysdeps/powerpc/sysdep.h: Likewise.
953 * sysdeps/powerpc/powerpc32/sysdep.h:
954 Replace ASM_TYPE_DIRECTIVE with .type.
955 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
956 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
957 * sysdeps/i386/fpu/e_powf.S: Likewise.
958 * sysdeps/i386/fpu/e_expl.S: Likewise.
959 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
960 * sysdeps/i386/fpu/e_acosh.S: Likewise.
961 * sysdeps/i386/fpu/e_pow.S: Likewise.
962 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
963 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
964 * sysdeps/i386/fpu/s_expm1.S: Likewise.
965 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
966 * sysdeps/i386/fpu/e_log2.S: Likewise.
967 * sysdeps/i386/fpu/e_log2l.S: Likewise.
968 * sysdeps/i386/fpu/e_scalb.S: Likewise.
969 * sysdeps/i386/fpu/e_powl.S: Likewise.
970 * sysdeps/i386/fpu/e_log10f.S: Likewise.
971 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
972 * sysdeps/i386/fpu/e_logl.S: Likewise.
973 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
974 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
975 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
976 * sysdeps/i386/fpu/e_log2f.S: Likewise.
977 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
978 * sysdeps/i386/fpu/e_log.S: Likewise.
979 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
980 * sysdeps/i386/fpu/e_logf.S: Likewise.
981 * sysdeps/i386/fpu/e_log10l.S: Likewise.
982 * sysdeps/i386/fpu/e_atanh.S: Likewise.
983 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
984 * sysdeps/i386/fpu/e_log10.S: Likewise.
985 * sysdeps/i386/fpu/s_frexp.S: Likewise.
986 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
987 * sysdeps/i386/fpu/s_asinh.S: Likewise.
988 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
989 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
990 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
991 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
992 * sysdeps/i386/i686/strtok.S: Likewise.
993 * sysdeps/i386/i386-mcount.S: Likewise.
994 * sysdeps/i386/strtok.S: Likewise.
995 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
996 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
997 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
998 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
999 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1000 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1001 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1002 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1003 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1004 * sysdeps/x86_64/_mcount.S: Likewise.
1005 * sysdeps/x86_64/strtok.S: Likewise.
1006 * sysdeps/sh/_mcount.S: Likewise.
1008 2012-08-01 Roland McGrath <roland@hack.frob.com>
1010 * libio/iofopen.c: Include <fcntl.h>.
1011 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1012 (_IO_fopen64, fopen64): Define as aliases.
1013 * libio/iofopen64.c: Include <fcntl.h>.
1014 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1015 Conditionalize body on this.
1016 * sysdeps/wordsize-64/iofopen.c: File removed.
1017 * sysdeps/wordsize-64/iofopen64.c: File removed.
1019 2012-08-01 Marek Polacek <polacek@redhat.com>
1021 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1022 Use dlfcn directly instead of a variable.
1023 (binfmt-subdir): Do not define.
1026 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1028 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1029 Remove all definitions.
1030 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1031 <kernel-features.h>.
1032 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1033 (miss_F_GETOWN_EX): Remove all definitions.
1034 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1036 [!__ASSUME_FCNTL64]: Remove conditional code.
1037 [__ASSUME_FCNTL64]: Make code unconditional.
1038 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1039 <kernel-features.h>.
1040 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1041 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1042 (lockf64) [__NR_fcntl64]: Make code unconditional.
1043 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1045 * sysdeps/unix/sysv/linux/kernel-features.h
1046 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1047 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1048 Make code unconditional.
1049 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1050 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1052 [__NR_vfork]: Make code unconditional.
1053 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1054 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1056 [__NR_vfork]: Make code unconditional.
1057 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1058 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1060 2012-08-01 Roland McGrath <roland@hack.frob.com>
1062 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1063 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1065 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1066 Define mkstemp64 as an alias.
1067 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1068 Define mkstemps64 as an alias.
1069 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1070 Define mkostemp64 as an alias.
1071 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1072 Define mkostemps64 as an alias.
1073 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1074 Conditionalize body on this.
1075 * misc/mkostemp64.c: Likewise.
1076 * misc/mkostemps64.c: Likewise.
1077 * misc/mkstemps64.c: Likewise.
1078 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1079 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1080 * sysdeps/wordsize-64/mkostemp.c: File removed.
1081 * sysdeps/wordsize-64/mkstemp.c: File removed.
1082 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1083 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1084 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1085 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1088 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1089 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1090 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1091 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1093 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1094 compat_symbol macros from <shlib-compat.h> rather than the underlying
1095 default_symbol_version and symbol_version macros, so that DEFAULT
1096 lines in shlib-versions are respected.
1097 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1099 2012-08-01 Florian Weimer <fweimer@redhat.com>
1101 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1102 Declare with warn_unused_result.
1103 (setgid, setregid, setegid, setresgid): Likewise.
1104 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1106 * WUR-REPORT: Remove set*id functions.
1108 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1110 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1112 2012-07-31 Roland McGrath <roland@hack.frob.com>
1114 * include/sys/socket.h (__libc_accept, __libc_accept4):
1115 Add attribute_hidden.
1116 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1118 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1120 * inet/getnetgrent_r.c (setup): Likewise.
1122 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1124 2012-07-31 David S. Miller <davem@davemloft.net>
1126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1128 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1131 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1132 value between 1.0 and 2.0 and smaller part has absolute value less
1134 * math/s_clog10.c (__clog10): Likewise.
1135 * math/s_clog10f.c (__clog10f): Likewise.
1136 * math/s_clog10l.c (__clog10l): Likewise.
1137 * math/s_clogf.c (__clogf): Likewise.
1138 * math/s_clogl.c (__clogl): Likewise.
1139 * math/libm-test.inc (clog_test): Add more tests.
1140 (clog10_test): Likewise.
1141 * sysdeps/i386/fpu/libm-test-ulps: Update.
1142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1144 2012-07-31 Florian Weimer <fweimer@redhat.com>
1146 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1147 Exit with zero in case no suitable GID is found, and write a
1148 message to standard error.
1150 2012-07-30 Roland McGrath <roland@hack.frob.com>
1152 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1154 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1155 (MAXPATHLEN): Removed.
1156 (NOGROUP, NODEV): New macros.
1157 (setbit, clrbit, isset, isclr): New macros.
1158 (howmany, roundup, powerof2): New macros.
1159 (DEV_BSIZE): New macro.
1161 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1162 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1164 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1165 definition on [!__NO_LONG_DOUBLE_MATH].
1167 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1168 PTR_MANGLE and PTR_DEMANGLE.
1170 * socket/accept4.c (accept4): Rename to __libc_accept4.
1171 Define accept4 as a weak alias.
1173 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1174 on [_DIRENT_HAVE_D_TYPE].
1175 * io/ftw.c (ftw_dir): Likewise.
1177 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1179 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1181 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1182 Use the BSD numbers rather than the arbitrary ones we had.
1183 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1184 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1185 (SIGXCPU, SIGXFSZ): New macros.
1188 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1189 initializer on [_LIBC_REENTRANT].
1191 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1192 definitions inside [_POSIX_MAPPED_FILES].
1194 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1196 * dirent/opendir.c: Include <fcntl.h>.
1198 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1199 (__libc_getspecific): Likewise.
1200 (__libc_key_create): Likewise.
1202 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1203 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1204 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1205 (tmpfile64): Define as alias.
1206 * sysdeps/wordsize-64/tmpfile.c: File removed.
1207 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1208 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1209 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1211 * stdio-common/vfscanf.c: Include <stdbool.h>.
1212 * nss/makedb.c: Likewise.
1213 * stdio-common/_i18n_number.h: Likewise.
1214 * argp/argp-help.c: Likewise.
1215 * posix/wordexp.c: Likewise.
1216 * sysdeps/posix/spawni.c: Likewise.
1217 * nss/nss_files/files-initgroups.c: Likewise.
1218 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1219 * nss/nss_files/files-initgroups.c: Likewise.
1220 * nss/nss_db/db-netgrp.c: Likewise.
1221 * nss/nss_db/db-initgroups.c: Likewise.
1222 * io/fchmodat.c: Include <sys/stat.h>.
1224 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1225 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1227 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1230 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1231 Add multiple inclusion protection.
1233 2012-07-27 David S. Miller <davem@davemloft.net>
1235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1237 2012-07-27 Gary Benson <gbenson@redhat.com>
1240 * elf/rtld.c: Include <stap-probe.h>.
1241 (dl_main): Added static probes "init_start" and "init_complete".
1242 * elf/dl-load.c: Include <stap-probe.h>.
1243 (lose): Take new parameter "nsid".
1244 Added static probe "map_failed".
1245 (_dl_map_object_from_fd): Pass namespace id to lose.
1246 Added static probe "map_start".
1247 (open_verify): Pass namespace id to lose.
1248 * elf/dl-open.c: Include <stap-probe.h>.
1249 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1250 and "reloc_complete".
1251 * elf/dl-close.c: Include <stap-probe.h>.
1252 (_dl_close_worker): Added static probes "unmap_start" and
1254 * elf/rtld-debugger-interface.txt: New file documenting the above.
1256 2012-07-26 Roland McGrath <roland@hack.frob.com>
1258 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1259 rather than a string variable.
1260 * sunrpc/rpc_main.c (h_output): Likewise.
1261 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1263 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1265 * inet/check_native.c: New file.
1267 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1270 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1271 if larger part has absolute value 1.0.
1272 * math/s_clog10.c (__clog10): Likewise.
1273 * math/s_clog10f.c (__clog10f): Likewise.
1274 * math/s_clog10l.c (__clog10l): Likewise.
1275 * math/s_clogf.c (__clogf): Likewise.
1276 * math/s_clogl.c (__clogl): Likewise.
1277 * math/libm-test.inc (clog_test): Add more tests.
1278 (clog10_test): Likewise.
1279 * sysdeps/i386/fpu/libm-test-ulps: Update.
1280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1282 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1283 (pltexit): Likewise.
1284 (La_regs): Likewise.
1285 (La_retval): Likewise.
1286 (int_retval): Likewise.
1287 Update #error for removed macros to refer only to definitions in
1289 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1291 (pltexit): Likewise.
1292 (La_regs): Likewise.
1293 (La_retval): Likewise.
1294 (int_retval): Likewise.
1295 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1297 (pltexit): Likewise.
1298 (La_regs): Likewise.
1299 (La_retval): Likewise.
1300 (int_retval): Likewise.
1301 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1303 (pltexit): Likewise.
1304 (La_regs): Likewise.
1305 (La_retval): Likewise.
1306 (int_retval): Likewise.
1307 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1309 (pltexit): Likewise.
1310 (La_regs): Likewise.
1311 (La_retval): Likewise.
1312 (int_retval): Likewise.
1313 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1315 (pltexit): Likewise.
1316 (La_regs): Likewise.
1317 (La_retval): Likewise.
1318 (int_retval): Likewise.
1319 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1321 (pltexit): Likewise.
1322 (La_regs): Likewise.
1323 (La_retval): Likewise.
1324 (int_retval): Likewise.
1325 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1326 macro definitions in tst-audit.h.
1327 * sysdeps/i386/tst-audit.h: New file.
1328 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1329 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1330 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1331 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1332 * sysdeps/sh/tst-audit.h: Likewise.
1333 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1334 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1335 * sysdeps/x86_64/tst-audit.h: Likewise.
1337 2012-07-26 Andreas Jaeger <aj@suse.de>
1339 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1342 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1343 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1344 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1346 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1347 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1348 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1350 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1353 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1355 (si_call_addr, si_syscall, si_arch): Define new macro.
1356 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1358 (si_call_addr, si_syscall, si_arch): Define new marcro.
1359 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1361 (si_call_addr, si_syscall, si_arch): Define new macro.
1362 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1364 (si_call_addr, si_syscall, si_arch): Define new macro.
1366 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1369 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1370 Change to 2.4.21 where previously 2.4.1.
1371 * sysdeps/unix/sysv/linux/configure: Regenerated.
1372 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1373 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1374 Linux kernel version.
1375 (__ASSUME_STD_AUXV): Remove.
1376 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1378 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1379 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1380 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1381 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1382 (__ASSUME_NETLINK_SUPPORT): Likewise.
1383 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1384 (__no_netlink_support): Remove conditional definition.
1385 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1387 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1388 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1389 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1390 (if_nameindex_ioctl): Remove.
1391 (if_nameindex_netlink): Do not handle __no_netlink_support.
1392 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1394 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1395 Remove conditional code.
1396 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1398 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1400 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1401 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1402 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1404 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1405 [!__ASSUME_STD_AUXV]: Remove conditional code.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1407 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1408 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1410 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1411 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1413 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1415 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1416 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1418 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1420 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1423 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1426 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1428 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1430 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1432 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1435 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1437 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1440 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1442 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1444 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1446 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1449 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1451 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1453 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1455 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1458 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1460 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1461 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1462 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1463 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1464 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1465 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1466 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1467 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1468 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1469 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1470 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1471 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1472 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1473 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1474 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1475 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1476 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1477 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1478 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1480 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1481 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1482 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1484 2012-07-25 Florian Weimer <fweimer@redhat.com>
1486 * Versions.def: Add GLIBC_2.17.
1487 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1488 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1489 Introduce __libc_secure_getenv.
1490 * stdlib/Versions (2.17): Add secure_getenv
1491 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1492 * stdlib/secure-getenv.c: Rename __secure_getenv to
1493 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1494 symbol __secure_getenv for GLIBC_2.0.
1495 * stdlib/tst-secure-getenv.c: New.
1496 * stdlib/Makefile (tests): Add testcase.
1497 * manual/startup.texi (Environment Access): Document
1499 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1500 __libc_secure_getenv.
1501 * inet/ruserpass.c (ruserpass): Likewise.
1502 * malloc/mtrace.c (mtrace): Likewise.
1503 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1504 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1505 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1506 * sysdeps/posix/tempname.c: Likewise. Evaluate
1508 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1509 __secure_getenv to __libc_secure_getenv.
1510 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1523 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1525 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1526 (struct La_i86_retval): Likewise.
1527 (struct La_x86_64_regs): Likewise.
1528 (struct La_x86_64_retval): Likewise.
1529 (struct La_x32_regs): Likewise.
1530 (struct La_x32_retval): Likewise.
1531 (struct La_ppc32_regs): Likewise.
1532 (struct La_ppc32_retval): Likewise.
1533 (struct La_ppc64_regs): Likewise.
1534 (struct La_ppc64_retval): Likewise.
1535 (struct La_sh_regs): Likewise.
1536 (struct La_sh_retval): Likewise.
1537 (struct La_s390_32_regs): Likewise.
1538 (struct La_s390_32_retval): Likewise.
1539 (struct La_s390_64_regs): Likewise.
1540 (struct La_s390_64_retval): Likewise.
1541 (struct La_sparc32_regs): Likewise.
1542 (struct La_sparc32_retval): Likewise.
1543 (struct La_sparc64_regs): Likewise.
1544 (struct La_sparc64_retval): Likewise.
1545 (struct audit_ifaces): Remove architecture-specific pltenter and
1547 * sysdeps/i386/ldsodefs.h: New file.
1548 * sysdeps/powerpc/ldsodefs.h: Likewise.
1549 * sysdeps/s390/ldsodefs.h: Likewise.
1550 * sysdeps/sh/ldsodefs.h: Likewise.
1551 * sysdeps/sparc/ldsodefs.h: Likewise.
1552 * sysdeps/x86_64/ldsodefs.h: Likewise.
1554 2012-07-25 Marek Polacek <polacek@redhat.com>
1557 * math/libm-test.inc (yn_test): Add another test.
1558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1559 to ERANGE when the result is +-Inf.
1560 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1561 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1562 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1563 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1565 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1567 * conform/data/time.h-data (NULL): Use macro-constant. Require
1569 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1571 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1573 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1575 * configure.in <sysdeps resolving>: Correct printing
1577 * configure: Regenerate.
1579 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1581 * math/w_ilogb.c: Include <limits.h>.
1582 * math/w_ilogbl.c: Likewise.
1584 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1586 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1587 va_copy. Document allowing for unavailable va_copy only as
1588 pre-C99 compatibility.
1589 * manual/string.texi (Copying and Concatenation): Use va_copy
1590 instead of __va_copy in concat example.
1592 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1594 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1595 (__sendto): Use create_address_port. Initialize APORT and deallocate
1598 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1599 with O_NOLINK passed to __file_name_lookup.
1601 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1602 with O_NOLINK passed to __file_name_lookup.
1604 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1605 negative N or less than NGIDS.
1607 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1608 type to string_t. Set ERANGE as errno and return it if NAME is not big
1609 enough. Use memcpy instead of strncpy.
1611 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1613 * elf/Makefile (check-data): Remove.
1614 (localplt.data): New vpath directive.
1615 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1616 instead of $(check-data).
1617 * scripts/data/localplt-generic.data: Move to ...
1618 * sysdeps/generic/localplt.data: ... here.
1619 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1620 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1621 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1624 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1627 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1630 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1633 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1636 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1640 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1643 PPC32 and PPC64 files.
1644 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1645 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1647 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1649 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1650 __makecontext_ret to ...
1651 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1652 ... here and call exit if uc_link is NULL. New file.
1653 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1654 __makecontext_ret.S.
1655 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1656 __makecontext_ret to ...
1657 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1658 ... here and call exit if uc_link is NULL. New file.
1659 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1660 __makecontext_ret.S.
1662 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1664 * elf/elf.h (R_390_IRELATIVE): New definition.
1665 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1666 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1667 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1668 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1669 (elf_machine_lazy_rel): Likewise.
1670 * sysdeps/s390/dl-irel.h: New file.
1671 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1672 * sysdeps/s390/s390-64/memset.S: New asm code.
1673 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1674 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1675 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1676 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1677 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1678 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1679 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1680 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1681 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1682 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1683 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1684 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1685 * sysdeps/s390/s390-32/memset.S: New asm code.
1686 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1688 2012-07-17 Marek Polacek <polacek@redhat.com>
1691 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1692 * sysdeps/s390/s390-64/configure.in: Likewise.
1693 * sysdeps/sparc/configure.in: Likewise.
1694 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1695 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1696 * sysdeps/i386/configure.in: Likewise.
1697 * sysdeps/x86_64/configure.in: Likewise.
1698 * sysdeps/sh/configure.in: Likewise.
1699 * sysdeps/s390/s390-32/configure: Regenerated.
1700 * sysdeps/s390/s390-64/configure: Likewise.
1701 * sysdeps/x86_64/configure: Likewise.
1702 * sysdeps/sh/configure: Likewise.
1703 * sysdeps/powerpc/powerpc64/configure: Likewise.
1704 * sysdeps/powerpc/powerpc32/configure: Likewise.
1705 * sysdeps/sparc/configure: Likwise.
1706 * sysdeps/i386/configure: Likewise.
1708 * elf/dl-open.c: Comment fixes.
1710 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1712 * Makefile [CXX] (check-data): Remove.
1713 [CXX] (c++-types.data): New vpath directive.
1714 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1715 vpath. Do not allow for C++ type data being missing.
1716 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1717 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1718 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1719 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1720 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1721 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1722 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1725 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1728 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1731 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1734 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1737 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1740 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1743 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1746 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1747 definitions to architecture-specific files.
1751 * sysdeps/i386/tls-macros.h: New file.
1752 * sysdeps/powerpc/tls-macros.h: Likewise.
1753 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1754 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1755 * sysdeps/sh/tls-macros.h: Likewise.
1756 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1757 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1758 * sysdeps/x86_64/tls-macros.h: Likewise.
1760 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1762 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1763 zero value for regular exit case.
1765 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1766 (__start_context): Preserve zero value for regular exit case.
1768 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1769 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1771 * manual/setjmp.texi (setcontext): Clarify normal process
1772 termination when uc_link is the null pointer.
1773 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1776 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1778 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1779 preprocessor. Test for each exception mask separately.
1781 2012-07-16 Andreas Jaeger <aj@suse.de>
1783 * po/ru.po: Update from translation team.
1785 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1787 * conform/data/string.h-data (NULL): Use macro-constant. Require
1789 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1790 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1791 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1792 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1795 2012-07-13 Andreas Jaeger <aj@suse.de>
1797 * po/fr.po: Update from translation team.
1799 2012-07-12 Marek Polacek <polacek@redhat.com>
1802 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1803 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1806 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1809 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1810 Change to 2.4.1 where previously 2.4.0.
1811 * sysdeps/unix/sysv/linux/configure: Regenerated.
1812 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1813 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1815 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1816 (__ASSUME_AT_CLKTCK): Remove.
1817 (__ASSUME_AT_PAGESIZE): Likewise.
1818 (__ASSUME_AT_XID): Likewise.
1819 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1820 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1821 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1823 (HAVE_AUX_PAGESIZE): Likewise.
1824 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1825 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1826 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1828 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1832 the temporary buffer used to invoke __gethostbyname2_r,
1833 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1834 host_data / struct gaih_addrtuple.
1835 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1836 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1837 header file nss/nsswitch.h.
1838 * nss/nsswitch.h (global scope): Add definition of implementation
1839 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1840 resolv/nss_dns/dns-host.c).
1842 2012-07-11 Andreas Jaeger <aj@suse.de>
1844 * po/fr.po: Update from translation team.
1846 * po/sv.po: Update from translation team
1847 * po/fr.po: Another update from translation team.
1849 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1851 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1852 for subnormals or multiply small sinh result by itself.
1853 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1856 2012-07-11 David S. Miller <davem@davemloft.net>
1858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1860 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1863 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1864 (INTERNAL_MARK): Shift it here.
1866 2012-07-10 Marek Polacek <polacek@redhat.com>
1869 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1870 libc_cv_asm_global_directive with .globl.
1871 * configure: Regenerated.
1872 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1874 * sysdeps/i386/configure: Regenerated.
1875 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1877 * sysdeps/x86_64/configure: Regenerated.
1878 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1879 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1880 * elf/tst-unique2mod2.c: Likewise.
1881 * elf/tst-unique2mod1.c: Likewise.
1882 * elf/tst-unique1mod2.c: Likewise.
1883 * elf/tst-unique1mod1.c: Likewise.
1884 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1885 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1886 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1887 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1888 * sysdeps/mach/sysdep.h: Likewise.
1889 * sysdeps/i386/sysdep.h: Likewise.
1890 * sysdeps/i386/i386-mcount.S: Likewise.
1891 * sysdeps/x86_64/_mcount.S: Likewise.
1892 * sysdeps/x86_64/sysdep.h: Likewise.
1893 * sysdeps/sh/_mcount.S: Likewise.
1894 * sysdeps/sh/sysdep.h: Likewise.
1895 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1896 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1897 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1898 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1899 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1900 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1901 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1902 * locale/localeinfo.h: Likewise.
1903 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1904 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1906 2012-07-09 Roland McGrath <roland@hack.frob.com>
1909 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1911 * manual/message.texi (The Uniforum approach): Likewise.
1912 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1913 (glibc iconv Implementation): Likewise.
1915 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1918 * math/s_clog.c (__clog): Avoid scaling a value down where that
1919 could result in underflow.
1920 * math/s_clog10.c (__clog10): Likewise.
1921 * math/s_clog10f.c (__clog10f): Likewise.
1922 * math/s_clog10l.c (__clog10l): Likewise.
1923 * math/s_clogf.c (__clogf): Likewise.
1924 * math/s_clogl.c (__clogl): Likewise.
1925 * math/libm-test.inc (clog_test): Add more tests.
1926 (clog10_test): Likewise.
1927 * sysdeps/i386/fpu/libm-test-ulps: Update.
1928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1930 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1933 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1934 by 7 not 8 to examine high bit of fractional part.
1937 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1938 for call to __mcount_internal.
1939 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1940 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1941 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1943 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1946 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1947 approximation for values within 0x1p-13f of an odd multiple of
1949 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1950 exception. Add more tests.
1951 * sysdeps/i386/fpu/libm-test-ulps: Update.
1954 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1955 inputs and return -1 for them. Do not check for +Inf in case not
1957 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1958 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1959 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1960 and return -1 for them. Do not check for +Inf in case not
1962 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1964 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1965 and return -1 for them. Do not check for +Inf in case not
1967 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1969 * sysdeps/i386/fpu/libm-test-ulps: Update.
1970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1972 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1974 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1976 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1980 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1981 could result in spurious underflow. Scale down values above
1982 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1983 * math/s_csqrtf.c (__csqrtf): Likewise.
1984 * math/s_csqrtl.c (__csqrtl): Likewise.
1985 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1987 * sysdeps/i386/fpu/libm-test-ulps: Update.
1988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1990 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1992 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1994 * catgets/xopen-msg.awk: New file.
1995 * catgets/xopen-msg.sed: Removed.
1997 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1999 * intl/po2test.awk: New file.
2000 * intl/po2test.sed: Removed.
2002 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2005 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2006 or multiply small sinh result by itself.
2007 * math/s_ctanf.c (__ctanf): Likewise.
2008 * math/s_ctanh.c (__ctanh): Likewise.
2009 * math/s_ctanhf.c (__ctanhf): Likewise.
2010 * math/s_ctanhl.c (__ctanhl): Likewise.
2011 * math/s_ctanl.c (__ctanl): Likewise.
2012 * math/libm-test.inc (ctan_test_tonearest): New function.
2013 (ctan_test_towardzero): Likewise.
2014 (ctan_test_downward): Likewise.
2015 (ctan_test_upward): Likewise.
2016 (ctanh_test_tonearest): Likewise.
2017 (ctanh_test_towardzero): Likewise.
2018 (ctanh_test_downward): Likewise.
2019 (ctanh_test_upward): Likewise.
2020 (main): Call these new functions.
2021 * sysdeps/i386/fpu/libm-test-ulps: Update.
2022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2024 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2026 * .gitignore: Delete /ports entry.
2028 2012-07-03 Andreas Jaeger <aj@suse.de>
2030 * po/bg.po: Update from translation team.
2031 * po/cs.po: Likewise.
2032 * po/de.po: Likewise.
2033 * po/hr.po: Likewise.
2034 * po/nl.pl: Likewise.
2035 * po/pl.po: Likewise.
2036 * po/vi.po: Likewise.
2038 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2040 * Makeconfig [!+link] (+link-before-libc): New variable.
2041 [!+link] (+link-after-libc): Likewise.
2042 [!+link] (+link-tests): Likewise.
2043 [!+link] (+link): Define in terms of $(+link-before-libc) and
2044 $(+link-after-libc).
2045 [!+link-static] (+link-static-before-libc): New variable.
2046 [!+link-static] (+link-static-after-libc): Likewise.
2047 [!+link-static] (+link-static-tests): Likewise.
2048 [!+link-static] (+link-static): Define in terms of
2049 $(+link-static-before-libc) and $(+link-static-after-libc).
2050 [build-shared] (link-libc-before-gnulib): New variable.
2051 [build-shared] (link-libc-tests): Likewise.
2052 [build-shared] (link-libc): Define in terms of
2053 $(link-libc-before-gnulib).
2054 [!build-shared] (link-libc-tests): New variable.
2055 (link-libc-static-tests): New variable.
2056 [!gnulib] (gnulib-arch): New variable.
2057 [!gnulib] (gnulib-tests): Likewise.
2058 [!gnulib] (static-gnulib-arch): Likewise.
2059 [!gnulib] (static-gnulib-tests): Likewise.
2060 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2061 Define with "=" instead of ":=".
2062 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2063 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2064 * Rules (binaries-all-notests): New variable.
2065 (binaries-all-tests): Likewise.
2066 (binaries-static-notests): Likewise.
2067 (binaries-static-tests): Likewise.
2068 (binaries-all): Define using $(binaries-all-notests) and
2069 $(binaries-all-tests).
2070 (binaries-static): Define using $(binaries-static-notests) and
2071 $(binaries-static-tests).
2072 (binaries-shared-tests): New variable.
2073 (binaries-shared-notests): Likewise.
2074 (binaries-shared): Remove variable.
2075 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2076 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2077 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2078 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2079 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2080 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2081 * elf/Makefile (sln-modules): New variable.
2082 (extra-objs): Add $(sln-modules:=.o).
2083 (ldconfig-modules): Add static-stubs.
2084 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2085 * elf/static-stubs.c: New file.
2088 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2089 by 7 not 8 to examine high bit of fractional part. Use volatile
2090 variables when splitting into final array of floats if
2091 __FLT_EVAL_METHOD__ != 0.
2092 * math/libm-test.inc (cos_test): Add another test.
2093 (sin_test): Likewise.
2094 * sysdeps/i386/fpu/libm-test-ulps: Update.
2097 * math/libm-test.inc (cosh_test): Add more tests.
2099 * version.h (RELEASE): Set to "development".
2100 (VERSION): Set to "2.16.90".
2102 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2104 * NEWS: Update copyright. Remove last-updated date.
2105 Mention math library bug fixes and timezone data changes.
2106 * README: Mention GNU/Hurd, x32, and HPPA support status.
2108 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2110 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2112 2012-06-27 Andreas Jaeger <aj@suse.de>
2114 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2116 2012-06-25 Andreas Jaeger <aj@suse.de>
2118 * sysdeps/s390/fpu/libm-test-ulps: Update.
2120 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2121 Thomas Schwinge <thomas@codesourcery.com>
2123 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2124 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2125 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2128 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2130 * sysdeps/mach/start.c: Remove file.
2131 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2132 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2133 * sysdeps/sh/init-first.c: Likewise.
2135 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2136 registers for frame unwinding purposes, add CFI directives.
2137 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2138 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2139 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2142 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2143 __fortify_fail returning.
2144 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2146 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2147 sysdeps/sh/____longjmp_chk.S.
2148 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2149 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2150 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2151 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2153 * sysdeps/sh/abort-instr.h: New file.
2154 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2155 process in case exit returns.
2157 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2158 initialize the GOT register before use.
2160 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2161 calculation of ARGC > 4.
2163 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2164 meaningful names to some local labels.
2166 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2167 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2169 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2170 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2171 (__arch_compare_and_exchange_val_16_acq): Likewise.
2172 (__arch_compare_and_exchange_val_32_acq): Likewise.
2173 (atomic_exchange_and_add): Fix gUSA sequence.
2174 (atomic_add): Likewise.
2175 (atomic_add_negative): Likewise.
2176 (atomic_add_zero): Likewise.
2177 (atomic_bit_test_set): Likewise.
2179 2012-06-22 Andreas Schwab <schwab@redhat.com>
2182 * include/link.h (struct link_map): Add l_free_initfini.
2183 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2185 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2186 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2187 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2190 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2192 * configure.in: Use AC_LANG_SOURCE.
2193 * configure: Regenerate.
2195 2012-06-22 Roland McGrath <roland@hack.frob.com>
2197 * configure.in (libc_cv_localstatedir): New substituted variable.
2198 * configure: Regenerated.
2199 * config.make.in (localstatedir): New variable, substituted from
2200 libc_cv_localstatedir.
2201 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2202 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2203 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2204 * sysdeps/gnu/configure: Regenerated.
2206 2012-06-21 Jeff Law <law@redhat.com>
2209 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2210 free. Simplify list management for _LIBC case.
2212 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2215 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2216 Clear sign bit of 64-bit integer value before comparing against
2219 * sysdeps/mach/configure: Regenerated.
2221 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2224 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2226 2012-06-21 Jeff Law <law@redhat.com>
2229 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2230 uint16_t for elements in the "seen" array to avoid char overflows.
2231 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2232 * elf/dl-open.c (dl_open_worker): Likewise.
2234 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2236 * scripts/list-sources.sh: Scan PORTS for translations.
2237 * po/libc.pot: Regenerated.
2239 2012-06-21 Andreas Jaeger <aj@suse.de>
2242 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2244 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2245 * bits/byteswap-16.h (__bswap_16): Likewise.
2246 * bits/byteswap.h (__bswap_constant_16): Likewise.
2248 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2251 * sysdeps/i386/fpu_control.h: Removed.
2252 * sysdeps/x86_64/fpu_control.h: Moved to ...
2253 * sysdeps/x86/fpu_control.h: Here.
2255 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2256 (_FPU_SETCW): Likewise.
2258 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2261 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2262 * sysdeps/x86/fpu/bits/mathinline.h: This.
2263 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2267 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2268 functions if __x86_64__ is defined.
2270 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2272 * string/endian.h: Add !__ASSEMBLER__ condition for including
2273 conversion interfaces.
2275 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2278 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2279 of ABS(x) in calculating zero to negative powers other than odd
2281 * math/libm-test.inc (pow_test): Add more tests.
2283 2012-06-15 Andreas Jaeger <aj@suse.de>
2285 * manual/contrib.texi (Contributors): Update entry of Liubov
2286 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2289 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2291 * string/string.h: Add __wur to GNU version of strerror_r.
2293 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2296 * string/Makefile (tests): Add tst-strtok_r.
2297 * string/tst-strtok_r.c: New file.
2298 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2299 RAX_LP/RDX_LP on SAVE_PTR.
2301 2012-06-14 Roland McGrath <roland@hack.frob.com>
2303 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2305 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2307 * libm_test.inc (csqrt_test): Allow more spurious underflow
2309 (j0_test): Likewise.
2310 (j1_test): Likewise.
2311 (y0_test): Likewise.
2312 (y1_test): Likewise.
2314 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2316 * po/Makefile (libc.pot): Use UTF-8 charset.
2318 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2321 Suppress sign-conversion warning from FD_SET.
2322 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2323 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2324 not unsigned long int.
2325 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2327 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2331 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2332 __extern_always_inline instead of __extern_inline.
2333 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2334 (__signbit): Likewise.
2335 (__signbitl): Support C++ namespace.
2336 (lrintf): New inline function.
2338 (llrintf): Likewise.
2350 (nearbyint): Likewise.
2351 (nearbyintf): Likewise.
2353 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2355 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2356 non-default versions.
2358 2012-06-11 Roland McGrath <roland@hack.frob.com>
2361 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2363 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2365 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2366 (FE_UPWARD, FE_DOWNWARD): Don't define.
2367 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2368 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2370 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2372 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2373 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2375 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2377 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2379 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2380 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2382 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2385 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2386 * sysdeps/i386/fpu/Implies: New file.
2387 * sysdeps/x86_64/fpu/Implies: Likewise.
2388 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2389 * sysdeps/x86/fpu/bits/fenv.h: This.
2391 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2394 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2397 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2398 character 0xffff that matches the last element of the
2401 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2403 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2406 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2408 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2409 values higher than 25.6283.
2411 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2413 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2414 subnormal exponent extraction and add some __builtin_expect.
2415 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2416 Fix for subnormal mantissa calculation.
2418 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2420 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2421 cpu2 is -1 and errno is not ENOSYS.
2423 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2426 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2427 * sysdeps/x86/bits/string.h: This.
2428 * sysdeps/x86_64/bits/string.h: Removed.
2430 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2431 if not compiling for x86-64, but compiling for >= i486.
2433 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2434 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2436 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2437 New macro from Linux kernel 3.4.0.
2438 (FP_XSTATE_MAGIC2): Likewise.
2439 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2440 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2441 (struct _fpx_sw_bytes): New struct.
2442 (struct _xsave_hdr): Likewise.
2443 (struct _ymmh_state): Likewise.
2444 (struct _xstate): Likewise.
2446 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2447 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2448 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2449 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2450 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2451 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2453 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2454 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2455 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2456 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2457 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2458 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2460 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2463 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2464 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2465 (sysdep_headers): Include sys/platform/ppc.h.
2466 * sysdeps/powerpc/test-gettimebase.c: Test for
2467 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2468 * manual/Makefile (appendices): Include platform.texi.
2469 * manual/contrib.texi (Contributors): Update @node pointers.
2470 * manual/maint.texi (Maintenance): Likewise.
2471 (Platform): New node.
2472 * manual/platform.texi: New file. Document the new features.
2474 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2475 Jakub Jelinek <jakub@redhat.com>
2478 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2479 where __builtin_expect is unavailable.
2481 2012-06-03 David S. Miller <davem@davemloft.net>
2483 * stdlib/longlong.h: Updated from GCC.
2485 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2488 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2489 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2492 (GLIBC_2.16): Likewise.
2494 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2496 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2498 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2501 (default-abi): New variable.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2503 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2505 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2507 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2509 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2512 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2513 definition. Document in comment.
2515 2012-06-01 David S. Miller <davem@davemloft.net>
2517 * stdlib/longlong.h: Updated from GCC.
2519 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2522 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2523 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2524 sys/debugreg.h sys/io.h here.
2525 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2526 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2528 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2529 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2530 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2531 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2532 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2533 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2535 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2536 Define only if __x86_64__ is defined.
2538 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2541 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2542 Use int64_t for variable i.
2543 * math/libm-test.inc (fmod_test): Add more tests.
2545 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2546 z computation is not scheduled after fetestexcept.
2547 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2548 Use math_force_eval instead of asm to ensure calculation scheduled
2549 before exception test.
2550 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2551 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2553 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2556 computation is not scheduled after fetestexcept.
2558 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2561 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2562 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2564 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2566 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2567 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2569 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2572 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2574 (__WCHAR_MIN): Support __WORDSIZE == 64.
2575 (__WCHAR_MAX): Likewise.
2577 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2578 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2581 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2582 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2585 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2586 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2588 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2589 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2591 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2592 Defined to 1 if __x86_64__ isn't defined.
2593 (_STAT_VER_LINUX_OLD): New.
2594 (st_atime): Remove duplicate.
2595 (st_mtime): Likewise.
2596 (st_ctime): Likewise.
2598 2012-05-31 David S. Miller <davem@davemloft.net>
2600 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2603 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2605 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2609 * elf/dl-reloc.c: Include <_itoa.h>.
2610 (_dl_reloc_bad_type): Remove use of INTUSE.
2611 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2612 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2613 * stdio-common/psiginfo.c (psiginfo): Likewise.
2614 * stdio-common/psignal.c (psignal): Likewise.
2615 * string/strsignal.c (strsignal): Likewise.
2616 * include/signal.h (_sys_siglist): Declare hidden proto.
2617 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2618 INTVARDEF with libc_hidden_data_def.
2619 * stdio-common/itoa-udigits.c: Likewise.
2620 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2621 (_itoa_lower_digits_internal): Remove declaration.
2622 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2623 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2624 (_sys_sigabbrev_internal): Remove aliases.
2625 (_sys_siglist): Define hidden alias.
2627 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2632 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2635 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2636 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2638 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2639 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2640 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2641 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2642 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2643 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2645 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2646 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2647 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2649 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2657 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2658 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2659 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2661 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2662 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2663 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2664 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2665 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2666 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2668 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2669 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2671 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2672 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2676 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2678 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2679 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2681 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2683 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2684 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2685 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2687 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2689 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2691 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2693 * math/math.h (M_El): Use two more decimal places.
2694 (M_LOG2El): Likewise.
2695 (M_LOG10El): Likewise.
2697 (M_LN10l): Likewise.
2699 (M_PI_2l): Likewise.
2700 (M_PI_4l): Likewise.
2701 (M_1_PIl): Likewise.
2702 (M_2_PIl): Likewise.
2703 (M_2_SQRTPIl): Likewise.
2704 (M_SQRT2l): Likewise.
2705 (M_SQRT1_2l): Likewise.
2707 2012-05-31 David S. Miller <davem@davemloft.net>
2709 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2710 values between float registers.
2711 * sysdeps/sparc/sparc64/memset.S: Likewise.
2712 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2714 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2716 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2717 -D_FORTIFY_SOURCE=1.
2718 (CPPFLAGS-tst-longjmp_chk.c): Define.
2719 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2720 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2721 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2722 CFLAGS-tst-wchar-h.c.
2724 2012-05-31 Marek Polacek <polacek@redhat.com>
2727 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2728 __endmntent_internal): Remove declaration.
2729 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2730 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2731 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2733 2012-05-30 David S. Miller <davem@davemloft.net>
2735 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2736 (___Q_simulate_exceptions): Use real FP ops rather than writing
2738 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2741 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2744 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2745 * sysdeps/x86/bits/xtitypes.h: This.
2747 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2748 * sysdeps/x86/bits/wordsize.h: This.
2750 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2751 * sysdeps/x86/bits/huge_vall.h: This.
2753 * sysdeps/i386/bits/select.h: Removed.
2754 * sysdeps/x86_64/bits/select.h: Renamed to ...
2755 * sysdeps/x86/bits/select.h: This.
2757 * sysdeps/i386/bits/setjmp.h: Removed.
2758 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2759 * sysdeps/x86/bits/setjmp.h: This.
2761 * sysdeps/i386/bits/mathdef.h: Removed.
2762 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2763 * sysdeps/x86/bits/mathdef.h: This.
2765 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2768 * include/sys/socket.h (__connect_internal)
2769 (__libc_sa_len_internal): Remove declaration.
2770 (__connect, __libc_sa_len): Declare hidden_proto.
2771 (SA_LEN): Remove use of INTUSE.
2772 * socket/connect.c: Add libc_hidden_def.
2773 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2774 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2775 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2777 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2778 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2779 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2780 of adding _internal alias.
2782 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2785 * sysdeps/i386/bits/link.h: Removed.
2786 * sysdeps/i386/bits/linkmap.h: Likewise.
2787 * sysdeps/x86_64/bits/link.h: Renamed to ...
2788 * sysdeps/x86/bits/link.h: This.
2789 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2790 * sysdeps/x86/bits/linkmap.h: This.
2792 * sysdeps/i386/bits/endian.h: Removed.
2793 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2794 * sysdeps/x86/bits/endian.h: This.
2796 * sysdeps/i386/bits/byteswap.h: Removed.
2797 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2798 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2799 * sysdeps/x86/bits/byteswap.h: This.
2800 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2801 * sysdeps/x86/bits/byteswap-16.h: This.
2802 * sysdeps/i386/Implies: Add x86.
2803 * sysdeps/x86_64/Implies: Likewise.
2805 2012-05-30 David S. Miller <davem@davemloft.net>
2807 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2808 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2809 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2810 (FP_TRAPPING_EXCEPTIONS): Define.
2811 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2812 (FP_TRAPPING_EXCEPTIONS): Define.
2813 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2814 subnormals only when inexact has been signalled or underflow
2815 exceptions are enabled.
2816 (_FP_PACK_CANONICAL): Likewise.
2818 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2821 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2822 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2824 2012-05-30 Richard Henderson <rth@twiddle.net>
2826 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2827 with #ifndef NOT_IN_libc.
2829 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2830 marked to avoid plt entry.
2832 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2835 * Makeconfig (default-abi): New macro.
2836 (abi-includes): Likewise.
2837 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2838 $(abi-$(default-abi)-lib-soname) for soname if defined.
2839 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2841 * Makefile (installed-stubs): Likewise.
2842 * include/stubs-biarch.h: Removed.
2843 * scripts/lib-names.awk: Only handle one library at a time.
2844 * scripts/soversions.awk: Remove WORDSIZE support.
2845 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2847 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2849 (syscall-list-default-condition): Likewise.
2850 (syscall-list-default-condition): Likewise.
2851 (syscall-list-includes): Likewise.
2852 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2853 syscall-list-* with abi-*. Handle undefined abi-variants.
2854 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2855 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2856 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2857 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2858 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2859 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2861 (syscall-list-32-options): Likewise.
2862 (syscall-list-32-condition): Likewise.
2863 (syscall-list-64-options): Likewise.
2864 (syscall-list-64-condition): Likewise.
2865 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2867 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2870 (abi-64-ld-soname): New macro.
2871 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2875 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2876 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2878 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2880 * sysdeps/unix/sysv/linux/kernel-features.h
2881 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2882 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2883 include <kernel-features.h>.
2884 [!__NR_ftruncate64]: Remove conditional code.
2885 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2886 [__NR_ftruncate64]: Make code unconditional.
2887 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2888 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2889 include <kernel-features.h>.
2890 [!__NR_ftruncate64]: Remove conditional code.
2891 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2892 [__NR_ftruncate64]: Make code unconditional.
2893 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2895 include <kernel-features.h>.
2896 [!__NR_ftruncate64]: Remove conditional code.
2897 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2898 [__NR_ftruncate64]: Make code unconditional.
2899 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2901 include <kernel-features.h>.
2902 [!__NR_ftruncate64]: Remove conditional code.
2903 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2904 [__NR_ftruncate64]: Make code unconditional.
2905 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2907 * configure.in (libc_cv_fpie): Weaken to a compile test using
2909 * configure: Regenerated.
2911 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2926 2012-05-27 David S. Miller <davem@davemloft.net>
2928 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2930 (__Q_simulate_exceptions): Return void. Change to simulate
2931 exceptions by writing into the %fsr.
2932 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2933 (__Qp_handle_exceptions): Likewise.
2935 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2936 __Qp_handle_exceptions.
2937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2938 __Qp_handle_exceptions.
2939 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2940 as unused and give dummy FP_RND_NEAREST initializer.
2941 (FP_INHIBIT_RESULTS): Define.
2942 (___Q_simulate_exceptions): Update declaration.
2943 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2945 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2946 as unused and give dummy FP_RND_NEAREST initializer.
2947 (__Qp_handle_exceptions): Update declaration.
2948 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2951 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2953 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2954 the temporary FPU control word.
2955 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2956 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2957 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2958 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2959 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2960 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2961 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2962 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2963 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2964 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2965 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2967 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2969 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2972 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2974 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2975 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2976 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2977 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2979 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2980 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2983 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2985 * po/h.po: Update from translation team.
2987 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2989 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2991 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2992 handling of denormals.
2993 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2994 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2995 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2996 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2997 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2999 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3002 2012-05-26 Marek Polacek <polacek@redhat.com>
3005 * math/libm-test.inc (fma_test): Don't always expect underflow
3008 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3011 * elf/tst-execstack.c: Include stackinfo.h.
3012 (do_test): Adjust test case to ensure that pthread_getattr_np
3013 behaviour remains the same after marking stack executable.
3015 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3017 * sysdeps/unix/sysv/linux/kernel-features.h
3018 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3019 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3021 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3022 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3023 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3025 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3026 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3028 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3030 * configure.in: Define the default includes to being none.
3031 * configure: Regenerated.
3033 2012-05-25 Roland McGrath <roland@hack.frob.com>
3035 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3036 * sysdeps/x86_64/setjmp.S: Likewise.
3037 * sysdeps/i386/bsd-setjmp.S: Likewise.
3038 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3039 * sysdeps/i386/setjmp.S: Likewise.
3040 * sysdeps/i386/__longjmp.S: Likewise.
3041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3042 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3044 * include/stap-probe.h: New file.
3045 * configure.in: Handle --enable-systemtap.
3046 * configure: Regenerated.
3047 * config.h.in (USE_STAP_PROBE): New #undef.
3048 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3049 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3050 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3052 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3055 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3056 to 2.4.0 where earlier.
3057 * sysdeps/unix/sysv/linux/configure: Regenerated.
3058 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3059 <kernel-features.h>.
3060 [__ASSUME_32BITUIDS]: Make code unconditional.
3061 [!__ASSUME_32BITUIDS]: Remove conditional code.
3062 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3063 <kernel-features.h>.
3064 [__ASSUME_32BITUIDS]: Make code unconditional.
3065 [!__ASSUME_32BITUIDS]: Remove conditional code.
3066 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3067 [__ASSUME_32BITUIDS]: Make code unconditional.
3068 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3069 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3070 <kernel-features.h>.
3071 [__ASSUME_32BITUIDS]: Make code unconditional.
3072 [!__ASSUME_32BITUIDS]: Remove conditional code.
3073 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3074 <kernel-features.h>.
3075 [__ASSUME_32BITUIDS]: Make code unconditional.
3076 [!__ASSUME_32BITUIDS]: Remove conditional code.
3077 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3078 <kernel-features.h>.
3079 [__ASSUME_32BITUIDS]: Make code unconditional.
3080 [!__ASSUME_32BITUIDS]: Remove conditional code.
3081 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3082 <kernel-features.h>.
3083 [__ASSUME_32BITUIDS]: Make code unconditional.
3084 [!__ASSUME_32BITUIDS]: Remove conditional code.
3085 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3086 <kernel-features.h>.
3087 [__ASSUME_32BITUIDS]: Make code unconditional.
3088 [!__ASSUME_32BITUIDS]: Remove conditional code.
3089 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3090 <kernel-features.h>.
3091 [__ASSUME_32BITUIDS]: Make code unconditional.
3092 [!__ASSUME_32BITUIDS]: Remove conditional code.
3093 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3094 <kernel-features.h>.
3095 [__ASSUME_32BITUIDS]: Make code unconditional.
3096 [!__ASSUME_32BITUIDS]: Remove conditional code.
3097 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3098 <kernel-features.h>.
3099 [__ASSUME_32BITUIDS]: Make code unconditional.
3100 [!__ASSUME_32BITUIDS]: Remove conditional code.
3101 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3102 <kernel-features.h>.
3103 [__ASSUME_32BITUIDS]: Make code unconditional.
3104 [!__ASSUME_32BITUIDS]: Remove conditional code.
3105 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3106 <kernel-features.h>.
3107 [__ASSUME_32BITUIDS]: Make code unconditional.
3108 [!__ASSUME_32BITUIDS]: Remove conditional code.
3109 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3110 <kernel-features.h>.
3111 [__NR_setresgid] (__setresgid): Do not declare.
3112 [__ASSUME_32BITUIDS]: Make code unconditional.
3113 [!__ASSUME_32BITUIDS]: Remove conditional code.
3114 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3115 <kernel-features.h>.
3116 [__NR_setresuid] (__setresuid): Do not declare.
3117 [__ASSUME_32BITUIDS]: Make code unconditional.
3118 [!__ASSUME_32BITUIDS]: Remove conditional code.
3119 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3120 <kernel-features.h>.
3121 [__ASSUME_32BITUIDS]: Make code unconditional.
3122 [!__ASSUME_32BITUIDS]: Remove conditional code.
3123 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3124 <kernel-features.h>.
3125 [__ASSUME_32BITUIDS]: Make code unconditional.
3126 [!__ASSUME_32BITUIDS]: Remove conditional code.
3127 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3128 <kernel-features.h>.
3129 [__ASSUME_32BITUIDS]: Make code unconditional.
3130 [!__ASSUME_32BITUIDS]: Remove conditional code.
3131 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3132 <kernel-features.h>.
3133 [__ASSUME_32BITUIDS]: Make code unconditional.
3134 [!__ASSUME_32BITUIDS]: Remove conditional code.
3135 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3136 <kernel-features.h>.
3137 [__ASSUME_32BITUIDS]: Make code unconditional.
3138 [!__ASSUME_32BITUIDS]: Remove conditional code.
3139 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3140 <kernel-features.h>.
3141 [__ASSUME_32BITUIDS]: Make code unconditional.
3142 [!__ASSUME_32BITUIDS]: Remove conditional code.
3143 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3144 <kernel-features.h>.
3145 [__ASSUME_32BITUIDS]: Make code unconditional.
3146 [!__ASSUME_32BITUIDS]: Remove conditional code.
3147 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3148 <kernel-features.h>.
3149 [__ASSUME_32BITUIDS]: Make code unconditional.
3150 [!__ASSUME_32BITUIDS]: Remove conditional code.
3151 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3152 <kernel-features.h>.
3153 [__ASSUME_32BITUIDS]: Make code unconditional.
3154 [!__ASSUME_32BITUIDS]: Remove conditional code.
3155 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3156 <kernel-features.h>.
3157 [__ASSUME_32BITUIDS]: Make code unconditional.
3158 [!__ASSUME_32BITUIDS]: Remove conditional code.
3159 * sysdeps/unix/sysv/linux/kernel-features.h
3160 (__ASSUME_SETRESUID_SYSCALL): Remove.
3161 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3162 (__ASSUME_32BITUIDS): Likewise.
3163 (__ASSUME_LDT_WORKS): Likewise.
3164 (__ASSUME_O_DIRECTORY): Likewise.
3165 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3166 architecture but not kernel version.
3167 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3168 (__ASSUME_MMAP2_SYSCALL): Likewise.
3169 (__ASSUME_STAT64_SYSCALL): Likewise.
3170 (__ASSUME_IPC64): Likewise.
3171 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3172 <kernel-features.h>.
3173 [__ASSUME_32BITUIDS]: Make code unconditional.
3174 [!__ASSUME_32BITUIDS]: Remove conditional code.
3175 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3176 <kernel-features.h>.
3177 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3178 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3179 132096]: Remove conditional code.
3180 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3181 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3182 <kernel-features.h>.
3183 [__ASSUME_32BITUIDS]: Make code unconditional.
3184 [!__ASSUME_32BITUIDS]: Remove conditional code.
3185 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3186 <kernel-features.h>.
3187 [__ASSUME_32BITUIDS]: Make code unconditional.
3188 [!__ASSUME_32BITUIDS]: Remove conditional code.
3189 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3190 <kernel-features.h>.
3191 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3193 (__setresgid): Do not declare.
3194 [__ASSUME_32BITUIDS]: Make code unconditional.
3195 [!__ASSUME_32BITUIDS]: Remove conditional code.
3196 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3197 <kernel-features.h>.
3198 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3200 (__setresuid): Do not declare.
3201 [__ASSUME_32BITUIDS]: Make code unconditional.
3202 [!__ASSUME_32BITUIDS]: Remove conditional code.
3203 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3204 <kernel-features.h>.
3205 [__ASSUME_32BITUIDS]: Make code unconditional.
3206 [!__ASSUME_32BITUIDS]: Remove conditional code.
3207 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3208 <kernel-features.h>.
3209 [__ASSUME_32BITUIDS]: Make code unconditional.
3210 [!__ASSUME_32BITUIDS]: Remove conditional code.
3212 2012-05-25 Richard Henderson <rth@twiddle.net>
3214 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3215 dl_hwcap to ifunc resolver.
3216 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3218 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3219 dl_hwcap to ifunc resolver.
3220 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3222 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3225 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3226 for |x| <= 2**-26, not 2**-57.
3227 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3230 2012-05-24 Jeff Law <law@redhat.com>
3232 * stdio-common/Makefile (tests): Add bug25.
3233 * stdio-common/bug25.c: New test.
3235 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3238 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3239 multiple of MALLOC_ALIGNMENT in size.
3240 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3242 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3244 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3246 (FILENAME_MAX): Use macro-int-constant.
3247 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3248 (_IOFBF): Use macro-int-constant.
3251 (SEEK_CUR): Likewise.
3252 (SEEK_END): Likewise.
3253 (SEEK_SET): Likewise.
3254 (TMP_MAX): Likewise.
3255 (EOF): Use macro-int-constant. Require < 0.
3256 (NULL): Use macro-constant. Require == 0.
3257 (stdin): Require type to be FILE *.
3260 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3262 (EXIT_SUCCESS): Likewise.
3263 (NULL): Use macro-constant. Require == 0.
3264 (RAND_MAX): Use macro-int-constant.
3265 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3266 [C99-based standards] (strtof): Require function.
3267 [C99-based standards] (strtold): Likewise.
3268 [C99-based standards] (strtoll): Likewise.
3269 [C99-based standards] (strtoull): Likewise.
3270 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3271 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3272 [ISO || ISO99 || ISO11] (math.h): Likewise.
3273 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3274 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3275 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3277 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3280 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3281 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3282 * intl/dgettext.c (DCGETTEXT): Likewise.
3283 * intl/gettext.c (DCGETTEXT): Likewise.
3284 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3285 * posix/regex_internal.h (gettext): Likewise.
3286 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3288 * include/argz.h (__argz_count_internal)
3289 (__argz_stringify_internal): Remove declaration.
3290 (__argz_count, __argz_stringify): Declare hidden proto.
3291 * intl/dcgettext.c: Remove use of INTDEF.
3292 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3293 * string/argz-stringify.c: Likewise.
3294 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3295 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3296 Declare hidden proto.
3297 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3298 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3299 Declare hidden proto.
3300 * include/stdio.h (__asprintf_internal): Don't declare.
3301 (__asprintf): Don't define as macro. Declare hidden proto.
3302 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3303 (__fsetlocking): Declare hidden proto.
3304 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3305 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3307 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3308 (_IO_setlinebuf): Remove use of INTUSE.
3309 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3310 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3311 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3313 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3314 (_IO_do_flush): Remove use of INTUSE.
3315 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3316 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3317 (_IO_adjust_column, _IO_least_wmarker)
3318 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3319 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3320 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3321 (_IO_default_doallocate, _IO_wdefault_doallocate)
3322 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3323 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3324 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3325 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3326 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3327 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3328 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3329 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3330 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3331 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3332 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3333 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3334 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3336 (_IO_flush_all_internal, _IO_adjust_column_internal)
3337 (_IO_default_uflow_internal, _IO_default_finish_internal)
3338 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3339 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3340 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3341 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3342 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3343 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3344 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3345 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3346 (_IO_file_close_internal, _IO_file_close_it_internal)
3347 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3348 (_IO_file_init_internal, _IO_file_attach_internal)
3349 (_IO_file_fopen_internal, _IO_file_read_internal)
3350 (_IO_file_sync_internal, _IO_file_seek_internal)
3351 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3352 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3353 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3354 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3355 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3356 (_IO_list_all_internal, _IO_link_in_internal)
3357 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3358 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3359 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3360 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3361 (_IO_do_write_internal, _IO_padn_internal)
3362 (_IO_getline_info_internal, _IO_getline_internal)
3363 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3364 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3365 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3366 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3367 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3368 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3369 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3370 with libc_hidden_ver, remove use of INTUSE.
3371 * libio/genops.c: Likewise.
3372 * libio/freopen.c: Likewise.
3373 * libio/freopen64.c: Likewise.
3374 * libio/iofclose.c: Likewise.
3375 * libio/iofdopen.c: Likewise.
3376 * libio/iofflush.c: Likewise.
3377 * libio/iofflush_u.c: Likewise.
3378 * libio/iofgets.c: Likewise.
3379 * libio/iofgets_u.c: Likewise.
3380 * libio/iofopen.c: Likewise.
3381 * libio/iofopncook.c: Likewise.
3382 * libio/iofread.c: Likewise.
3383 * libio/iofread_u.c: Likewise.
3384 * libio/ioftell.c: Likewise.
3385 * libio/iofwrite.c: Likewise.
3386 * libio/iogetline.c: Likewise.
3387 * libio/iogets.c: Likewise.
3388 * libio/iogetwline.c: Likewise.
3389 * libio/iopadn.c: Likewise.
3390 * libio/iopopen.c: Likewise.
3391 * libio/ioseekoff.c: Likewise.
3392 * libio/ioseekpos.c: Likewise.
3393 * libio/iosetbuffer.c: Likewise.
3394 * libio/iosetvbuf.c: Likewise.
3395 * libio/ioungetc.c: Likewise.
3396 * libio/ioungetwc.c: Likewise.
3397 * libio/iovdprintf.c: Likewise.
3398 * libio/iovsprintf.c: Likewise.
3399 * libio/iovsscanf.c: Likewise.
3400 * libio/memstream.c: Likewise.
3401 * libio/obprintf.c: Likewise.
3402 * libio/oldfileops.c: Likewise.
3403 * libio/oldiofclose.c: Likewise.
3404 * libio/oldiofdopen.c: Likewise.
3405 * libio/oldiofopen.c: Likewise.
3406 * libio/oldiopopen.c: Likewise.
3407 * libio/oldstdfiles.c: Likewise.
3408 * libio/putc.c: Likewise.
3409 * libio/setbuf.c: Likewise.
3410 * libio/setlinebuf.c: Likewise.
3411 * libio/stdfiles.c: Likewise.
3412 * libio/strops.c: Likewise.
3413 * libio/vasprintf.c: Likewise.
3414 * libio/vscanf.c: Likewise.
3415 * libio/vsnprintf.c: Likewise.
3416 * libio/vswprintf.c: Likewise.
3417 * libio/wfiledoalloc.c: Likewise.
3418 * libio/wfileops.c: Likewise.
3419 * libio/wgenops.c: Likewise.
3420 * libio/wmemstream.c: Likewise.
3421 * libio/wstrops.c: Likewise.
3422 * libio/__fpurge.c: Likewise.
3423 * libio/__fsetlocking.c: Likewise.
3424 * assert/assert.c: Likewise.
3425 * debug/fgets_chk.c: Likewise.
3426 * debug/fgets_u_chk.c: Likewise.
3427 * debug/fread_chk.c: Likewise.
3428 * debug/fread_u_chk.c: Likewise.
3429 * debug/gets_chk.c: Likewise.
3430 * debug/obprintf_chk.c: Likewise.
3431 * debug/vasprintf_chk.c: Likewise.
3432 * debug/vdprintf_chk.c: Likewise.
3433 * debug/vsnprintf_chk.c: Likewise.
3434 * debug/vsprintf_chk.c: Likewise.
3435 * malloc/mtrace.c: Likewise.
3436 * misc/error.c: Likewise.
3437 * misc/syslog.c: Likewise.
3438 * stdio-common/asprintf.c: Likewise.
3439 * stdio-common/fxprintf.c: Likewise.
3440 * stdio-common/getw.c: Likewise.
3441 * stdio-common/isoc99_fscanf.c: Likewise.
3442 * stdio-common/isoc99_scanf.c: Likewise.
3443 * stdio-common/isoc99_vfscanf.c: Likewise.
3444 * stdio-common/isoc99_vscanf.c: Likewise.
3445 * stdio-common/isoc99_vsscanf.c: Likewise.
3446 * stdio-common/printf-prs.c: Likewise.
3447 * stdio-common/printf_fp.c: Likewise.
3448 * stdio-common/printf_fphex.c: Likewise.
3449 * stdio-common/printf_size.c: Likewise.
3450 * stdio-common/putw.c: Likewise.
3451 * stdio-common/scanf.c: Likewise.
3452 * stdio-common/sprintf.c: Likewise.
3453 * stdio-common/tmpfile.c: Likewise.
3454 * stdio-common/vfprintf.c: Likewise.
3455 * stdio-common/vfscanf.c: Likewise.
3456 * stdlib/strfmon_l.c: Likewise.
3457 * sunrpc/openchild.c: Likewise.
3458 * sunrpc/xdr_stdio.c: Likewise.
3459 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3460 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3462 2012-05-24 Roland McGrath <roland@hack.frob.com>
3464 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3466 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3467 in the third column, to generate for the shared library an IFUNC
3468 that uses _dl_vdso_vsym.
3469 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3470 * Makeconfig (object-suffixes-noshared): New variable.
3472 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3473 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3474 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3475 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3478 * include/sys/time.h (__gettimeofday): Remove macro.
3479 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3480 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3482 (__gettimeofday): Add libc_hidden_def.
3483 (gettimeofday): Add libc_hidden_weak.
3484 * sysdeps/mach/gettimeofday.c: Likewise.
3485 * sysdeps/posix/gettimeofday.c: Likewise.
3486 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3487 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3488 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3489 (__gettimeofday_internal): Remove strong_alias.
3490 (__gettimeofday): Add libc_hidden_def.
3491 (gettimeofday): Add libc_hidden_weak.
3492 * sysdeps/unix/syscalls.list (gettimeofday):
3493 Remove __gettimeofday_internal alias.
3495 2012-05-24 Daniel Jacobowitz <drow@false.org>
3496 H.J. Lu <hongjiu.lu@intel.com>
3499 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3500 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3501 (largebin_index_32_big): New.
3502 (largebin_index): Use it for 16-byte alignment.
3503 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3504 correction with front_misalign.
3506 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3534 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3535 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3537 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3541 * math/libm-test.inc (exp_test): Add test from bug 14036.
3542 (pow_test): Add test from bug 10846.
3544 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3546 (special_function): Do not include flags in test name.
3547 (parse_args): Likewise.
3548 * sysdeps/i386/fpu/libm-test-ulps: Update.
3549 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3550 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3551 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3554 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3556 * math/libm-test.inc ("Philosophy"): Update comment about
3558 (UNDERFLOW_EXCEPTION): New macro.
3559 (UNDERFLOW_EXCEPTION_OK): Likewise.
3560 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3561 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3562 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3563 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3564 (INVALID_EXCEPTION_OK): Update value.
3565 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3566 (OVERFLOW_EXCEPTION_OK): Likewise.
3567 (IGNORE_ZERO_INF_SIGN): Likewise.
3568 (test_exceptions): Handle underflow exceptions.
3569 (acos_test): Update for underflow exception expectations.
3570 (cexp_test): Likewise.
3571 (clog_test): Likewise.
3572 (clog10_test): Likewise.
3573 (csqrt_test): Likewise.
3574 (ctan_test): Likewise.
3575 (ctanh_test): Likewise.
3576 (exp_test): Likewise.
3577 (exp10_test): Likewise.
3578 (exp2_test): Likewise.
3579 (expm1_test): Likewise.
3580 (fma_test): Likewise.
3581 (j0_test): Likewise.
3582 (jn_test): Likewise.
3583 (nexttoward_test): Likewise.
3584 (pow_test): Likewise.
3585 (scalbn_test): Likewise.
3586 (scalbln_test): Likewise.
3587 (tan_test): Likewise.
3588 (y1_test): Likewise.
3589 * sysdeps/i386/fpu/libm-test-ulps: Update.
3590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3592 2012-05-23 David S. Miller <davem@davemloft.net>
3594 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3595 (__libc_sigaction): Remove unused local variables.
3597 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3599 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3601 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3603 mktime: avoid signed integer overflow
3604 * time/mktime.c (__mktime_internal): Do not mishandle the case
3605 where diff == INT_MIN.
3607 mktime: simplify computation of average
3608 * time/mktime.c (ranged_convert): Use new time_t_avg function
3609 instead of rolling our own (probably-slower) code.
3611 mktime: do not assume signed right shift propagates sign bit
3612 * time/mktime.c (isdst_differ): New static function.
3613 (__mktime_internal): No need to normalize tm_isdst now.
3614 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3617 mktime: merge another wrapv change from gnulib
3618 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3619 from some compilers.
3621 mktime: remove incorrect attempt at unusual arithmetics
3622 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3623 The code didn't really work on such machines anyway.
3624 (TYPE_MINIMUM): Assume two's complement.
3625 (twos_complement_arithmetic): Verify that long_int and time_t
3626 are two's complement (or unsigned, in the latter case).
3628 mktime: check signed shifts on long_int and time_t, too
3629 * time/mktime.c (SHR): Check that shifts work as desired
3630 on the types long_int and time_t too, as SHR is used on
3633 mktime: do not assume 'long' is wide enough
3634 * time/mktime.c (verify): Move decl up.
3635 (long_int): New type.
3636 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3637 to remove assumption in the code that 'long' is wide enough to
3638 store year values. This assumption is not true on x32 and on
3639 some non-glibc platforms.
3641 mktime: merge wrapv change from gnulib
3642 * time/mktime.c (WRAPV): New macro.
3643 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3644 (guess_time_tm, __mktime_internal): Do not assume that signed
3645 integer overflow wraps around; modern compilers generate code
3646 where this assumption is no longer valid.
3648 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3650 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3651 Replace "jmp L(pseudo_end)" with "ret".
3652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3655 2012-05-23 Andreas Jaeger <aj@suse.de>
3657 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3658 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3660 2012-05-23 Andreas Jaeger <aj@suse.de>
3661 Maximilian Attems <max@stro.at>
3663 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3666 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3668 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3669 code so that pseudo_end is just ret and the stack pointer is
3670 correct also for static library in error case.
3672 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3674 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3675 move to syscalls.list.
3676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3681 * manual/install.texi (Running make install): Do not mention Linux
3682 kernel version for which pt_chown is not needed.
3683 (Linux): Do not mention problems with nscd with 2.0 kernels.
3684 * INSTALL: Regenerated.
3686 2012-05-23 Andreas Jaeger <aj@suse.de>
3688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3689 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3691 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3693 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3695 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3697 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3699 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3701 * sysdeps/unix/sysv/linux/bits/in.h
3702 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3704 2012-05-22 Roland McGrath <roland@hack.frob.com>
3706 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3707 (PREPARE_VERSION): Just use assert instead, it will be elided
3708 under [NDEBUG] anyway.
3710 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3712 * sysdeps/unix/sysv/linux/Makefile: Include
3713 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3714 (sysdep_routines): Remove sysctl.
3715 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3716 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3717 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3718 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3719 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3721 2012-05-22 Andreas Jaeger <aj@suse.de>
3723 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3724 that pseudo_end is just ret and the stack pointer is correct also
3725 for static library in error case.
3727 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3730 * nss/nsswitch.c (defconfig_entries): New variable.
3731 (__nss_database_lookup): Don't leak defconfig entries.
3732 (nss_parse_service_list): Don't leak on error paths.
3733 (free_database_entries): New function.
3734 (free_defconfig): New function.
3735 (free_mem): Move common code to free_database_entries.
3737 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3739 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3741 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3743 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3744 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3747 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3748 (INTERNAL_SYSCALL_TYPES): Likewise.
3749 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3750 (LOAD_REGS_TYPES_[1-6]): Likewise.
3751 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3752 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3754 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3756 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3757 copysignl for GLIBC_2_0.
3758 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3759 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3760 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3761 logbl for GLIBC_2_0.
3762 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3763 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3765 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3768 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3770 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3773 * time/mktime.c: Update copyright years.
3775 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3777 mktime: merge comment-quoting-style change from gnulib
3778 * time/mktime.c: Quote 'like this' in comments.
3779 The GNU coding standards suggest that we no longer quote `like this',
3780 as "`" and "'" are typically rendered asymmetrically nowadays.
3781 The typical gnulib style is to quote 'like this' when quoting
3782 code, and "like this" when quoting English.
3784 * time/mktime.c (compile-command): Add "-I.".
3786 mktime: merge mktime-internal.h change from gnulib
3787 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3789 mktime: merge time_r change from gnulib
3790 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3792 mktime: merge DEBUG change from gnulib
3793 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3794 case system <time.h> has a #define.
3796 mktime: merge <sys/types.h> change from gnulib
3797 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3798 since <time.t> is now guaranteed to define time_t.
3800 mktime: merge HAVE_CONFIG_H change from gnulib
3801 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3803 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3808 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3810 (struct rusage): Use anonymous union to pad each field to
3813 2012-05-21 David S. Miller <davem@davemloft.net>
3815 * Makefules (o-iterator): Remove .s cases.
3816 (compile-command.s): Delete.
3817 (COMPILE.s): Delete.
3818 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3820 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3822 * configure.in (libc_cv_predef_stack_protector): Only consider
3823 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3824 * configure: Regenerated.
3826 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3829 New macro. Use R*LP on int and pointer.
3830 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3831 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3832 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3833 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3835 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3836 [__WORDSIZE_TIME64_COMPAT32] instead of
3837 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3838 (struct utmp): Likewise.
3839 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3840 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3842 (__WORDSIZE_TIME64_COMPAT32): This.
3843 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3844 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3845 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3846 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3847 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3848 (__WORDSIZE_TIME64_COMPAT32): New macro.
3850 2012-05-21 Andreas Jaeger <aj@suse.de>
3852 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3853 only if [SHARED]. Add prototype for __wcschr_ia32.
3855 2012-05-21 Roland McGrath <roland@hack.frob.com>
3857 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3858 of %rbp unmolested in the jmp_buf while mangling the low bits.
3859 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3860 unmolested high bits of %rbp while demangling the low bits.
3861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3863 2012-05-21 Andreas Jaeger <aj@suse.de>
3865 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3866 * sunrpc/svc_simple.c: Use it for registerrpc.
3867 * sunrpc/xcrypt.c: Use it for passwd2des.
3869 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3871 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3873 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3874 Don't define if [__SYSCALL_WORDSIZE != 32].
3875 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3878 2012-05-21 Bruno Haible <bruno@clisp.org>
3879 Andreas Jaeger <aj@suse.de>
3881 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3882 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3883 inptr and inend for must_buffer_ch.
3884 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3885 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3886 * stdio-common/Makefile (tests): Remove bug15.
3887 (bug15-ENV): Remove macro.
3888 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3891 2012-05-19 Andreas Jaeger <aj@suse.de>
3892 Roland McGrath <roland@hack.frob.com>
3894 * manual/contrib.texi: Completely rewritten. It contains now an
3895 alphabetical list of contributors and their contributions.
3897 2012-05-21 Richard Henderson <rth@twiddle.net>
3899 * misc/getauxval.c (__getauxval): Use unsigned long int.
3900 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3901 (getauxval): Use unsigned long int.
3903 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3905 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3907 2012-05-21 Roland McGrath <roland@hack.frob.com>
3909 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3910 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3911 __alignof__ (long double).
3913 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3917 2012-05-20 Richard Henderson <rth@twiddle.net>
3919 * misc/getauxval.c: New file.
3920 * misc/sys/auxv.h: New file.
3921 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3922 (routines): Add getauxval.
3923 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3924 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3925 * elf/dl-sysdep.c (_dl_auxv): Remove.
3926 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3927 * elf/dl-support.c (_dl_auxv): New variable.
3928 (_dl_aux_init): Initialize it.
3929 * manual/startup.texi (Auxiliary Vector): New node.
3930 * sysdeps/generic/bits/hwcap.h: New file.
3931 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3932 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3933 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3934 * sysdeps/sparc/sysdep.h: ... here. Include it.
3935 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3936 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3942 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3948 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3952 2012-05-19 David S. Miller <davem@davemloft.net>
3954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3956 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3959 * math/s_ccosh.c: Include <float.h>
3960 (__ccosh): Avoid internal overflow calculating sinh and cosh
3961 values before multiplying by sin and cos values.
3962 * math/s_ccoshf.c: Likewise.
3963 * math/s_ccoshl.c: Likewise.
3964 * math/s_csin.c: Likewise.
3965 * math/s_csinf.c: Likewise.
3966 * math/s_csinl.c: Likewise.
3967 * math/s_csinh.c: Likewise.
3968 * math/s_csinhf.c: Likewise.
3969 * math/s_csinhl.c: Likewise.
3970 * math/libm-test.inc (ccos_test): Add more tests.
3971 (ccosh_test): Likewise.
3972 (csin_test): Likewise.
3973 (csinh_test): Likewise.
3974 * sysdeps/i386/fpu/libm-test-ulps: Update.
3975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3977 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3979 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3980 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3982 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3984 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3986 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3987 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3988 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3989 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3990 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3991 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3992 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3993 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3994 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3995 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3996 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3997 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3998 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3999 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4000 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4001 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4002 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4003 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4004 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4005 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4006 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4007 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4008 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4009 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4010 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4011 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4012 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4013 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4014 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4015 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4016 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4018 2012-05-18 Andreas Jaeger <aj@suse.de>
4020 * csu/.gitignore: Delete.
4022 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4024 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4025 (timex): Use __syscall_slong_t.
4027 2012-05-18 Andreas Jaeger <aj@suse.de>
4028 Carlos O'Donell <carlos_odonell@mentor.com>
4030 * manual/install.texi (Configuring and compiling): Update
4031 description about files modified in the source directory.
4032 * INSTALL: Regenerated.
4034 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4036 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4037 value. Use "or" to set return value to -1.
4038 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4039 negate return value.
4041 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4043 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4044 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4045 failure if the compiler has Graphite support disabled.
4046 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4048 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4049 CFLAGS-memmove.c): Likewise.
4050 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4053 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4055 * sysdeps/x86_64/x32/_itoa.h: New file.
4057 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4058 getdents system call only if kernel and user dirents have the
4059 same d_ino and d_off.
4061 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4062 LLONG_MAX != LONG_MAX.
4063 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4064 (_fitoa_word): Likewise.
4066 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4068 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4069 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4070 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4072 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4073 include <bits/wordsize.h>. Check __x86_64__ instead of
4075 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4076 if __x86_64__ is defined. Use anonymous union on fpstate.
4078 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4081 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4083 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4084 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4085 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4086 Refer to _rtld_local_ro instead of _rtld_global_ro.
4087 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4089 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4091 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4093 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4094 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4095 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4097 * sysdeps/powerpc/powerpc32/dl-machine.c
4098 (__elf_machine_runtime_setup) [PROF]: Don't reference
4101 2012-05-18 Andreas Jaeger <aj@suse.de>
4103 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4104 function only available for GCCs before 3.4 since GCC 3.4
4105 introduced a builtin.
4107 (llrintf): Likewise.
4115 (nearbyint): Likewise.
4116 (nearbyintf): Likewise.
4122 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4124 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4125 on both fields and cast pointer to __syscall_ulong_t.
4127 * bits/types.h (__fsword_t): New type.
4128 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4129 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4131 (__FSWORD_T_TYPE): Likewise.
4132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4133 (__FSWORD_T_TYPE): Likewise.
4134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4135 (__FSWORD_T_TYPE): Likewise.
4136 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4137 (__FSWORD_T_TYPE): Likewise.
4138 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4139 __SWORD_TYPE with __fsword_t.
4140 (statfs64): Likewise.
4142 2012-05-17 David S. Miller <davem@davemloft.net>
4144 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4146 2012-05-17 Andreas Jaeger <aj@suse.de>
4148 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4151 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4153 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4155 2012-05-17 Andreas Jaeger <aj@suse.de>
4157 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4160 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4162 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4164 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4166 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4167 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4169 2012-05-17 Andreas Jaeger <aj@suse.de>
4170 Carlos O'Donell <carlos_odonell@mentor.com>
4173 * sysdeps/x86_64/multiarch/init-arch.h
4174 (bit_YMM_Usable): Rename to...
4175 (bit_AVX_Usable): ... this.
4176 (bit_FMA4_Usable): New macro.
4177 (bit_XMM_state): New macro.
4178 (bit_YMM_state): New macro.
4179 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4180 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4181 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4182 (CPUID_OSXSAVE): New macro.
4183 (CPUID_AVX): New macro.
4184 (CPUID_FMA4): New macro.
4185 (index_YMM_Usable): Rename to...
4186 (index_AVX_Usable): ... this.
4187 (HAS_AVX): Use HAS_ARCH_FEATURE.
4188 (HAS_FMA4): Likewise.
4189 (HAS_YMM_USABLE): Remove.
4190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4191 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4193 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4194 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4195 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4196 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4197 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4199 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4201 * math/libm-test.c: Support platforms without multiple rounding modes.
4202 * math/bug-nextafter.c: Support platforms without FP exceptions.
4203 * math/bug-nexttoward.c: Likewise.
4204 * math/test-fenv.c: Likewise.
4205 * math/test-misc.c: Likewise.
4206 * stdlib/bug-getcontext.c: Likewise.
4208 2012-05-17 Andreas Jaeger <aj@suse.de>
4210 * manual/examples/search.c (critter_cmp): Change signature to
4212 * manual/string.texi (Collation Functions): Likewise.
4214 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4216 * bits/types.h: Fold copyright years.
4217 * bits/typesizes.h: Likewise.
4218 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4220 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4221 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4222 * time/time.h: Likewise.
4224 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4227 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4228 in instead of returning them. Return void.
4229 (__libc_mallinfo): Accumulate over all arenas.
4230 (__malloc_stats): Adjust for change in int_mallinfo interface.
4232 2012-05-16 Roland McGrath <roland@hack.frob.com>
4235 * configure.in (NM): Add AC_CHECK_TOOL for it.
4236 (libc_extra_cflags): New substituted variable.
4237 Check for -fstack-protector being used implicitly.
4238 * configure: Regenerated.
4239 * config.make.in (config-extra-cflags): New variable,
4240 gets @libc_extra_cflags@.
4241 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4244 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4245 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4246 * configure: Regenerated.
4247 * config.make.in (CPPUNDEFS): New substituted variable.
4248 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4249 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4250 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4252 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4254 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4255 (mq_attr): Use __syscall_slong_t.
4257 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4259 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4260 Check __x86_64__ instead of __WORDSIZE.
4261 (_STAT_VER_LINUX): Likewise.
4262 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4263 __syscall_ulong_t and __syscall_slong_t.
4266 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4268 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4270 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4272 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4274 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4276 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4279 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4280 include <bits/wordsize.h>. Check __x86_64__ instead of
4282 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4284 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4286 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4287 include <bits/wordsize.h>. Check __x86_64__ instead of
4289 (user_regs_struct): Use "__extension__ unsigned long long"
4290 instead of "unsigned long" if __x86_64__ is defined.
4291 (user): Likewise. Pad after pointer field if __ILP32__ is
4294 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4296 * configure.in (makeinfo): Require version 4.5 or later. Allow
4298 * configure: Regenerated.
4299 * manual/install.texi (texinfo): Increase version requirement to
4301 * INSTALL: Regenerated.
4303 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4305 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4307 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4309 * sysdeps/x86_64/x32/ffs.c: New file.
4311 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4313 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4314 defined. Use __syscall_ulong_t.
4315 (shminfo): Use __syscall_ulong_t.
4316 (shm_info): Likewise.
4318 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4321 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4323 (msgqnum_t): Use __syscall_ulong_t.
4324 (msglen_t): Likewise.
4325 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4328 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4329 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4331 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4333 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4334 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4336 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4339 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4340 include <bits/wordsize.h>. Check __x86_64__ instead of
4343 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4344 "unsigned long long int" if __x86_64__ is defined.
4345 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4347 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4348 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4349 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4351 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4353 (GET_PC): Cast to uintptr_t first.
4354 (GET_FRAME): Likewise.
4355 (GET_STACK): Likewise.
4357 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4358 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4359 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4360 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4361 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4362 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4363 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4364 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4365 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4366 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4367 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4368 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4369 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4370 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4371 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4372 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4373 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4374 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4375 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4376 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4377 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4378 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4379 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4380 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4381 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4382 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4383 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4384 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4385 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4387 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4389 * Makerules (+depfiles): Also collect depfiles from .oS in
4391 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4392 .oS, $(libnldbl-routines)).
4394 * Makerules (native-compile-mkdep-flags): Define.
4395 * sunrpc/Makefile (extra-objs): Add $(addprefix
4396 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4397 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4398 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4399 calling $(make-target-directory).
4401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4403 * bits/types.h (__snseconds_t): Removed.
4404 * time/time.h (struct timespec): Replace __snseconds_t with
4406 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4407 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4409 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4410 (__SNSECONDS_T_TYPE): Likewise.
4411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4412 (__SNSECONDS_T_TYPE): Likewise.
4413 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4414 (__SNSECONDS_T_TYPE): Likewise.
4416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4418 * sysdeps/mach/hurd/bits/typesizes.h
4419 (__SYSCALL_SLONG_TYPE): New macro.
4420 (__SYSCALL_ULONG_TYPE): Likewise.
4422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4424 * bits/types.h (__syscall_slong_t): New type.
4425 (__syscall_ulong_t): Likewise.
4427 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4428 (__SYSCALL_ULONG_TYPE): Likewise.
4429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4430 (__SYSCALL_SLONG_TYPE): Likewise.
4431 (__SYSCALL_ULONG_TYPE): Likewise.
4432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4433 (__SYSCALL_SLONG_TYPE): Likewise.
4434 (__SYSCALL_ULONG_TYPE): Likewise.
4435 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4436 (__SYSCALL_SLONG_TYPE): Likewise.
4437 (__SYSCALL_ULONG_TYPE): Likewise.
4439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4441 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4442 Add sigaltstack-offsets.sym.
4443 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4444 <sigaltstack-offsets.h>.
4445 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4446 longjmp_msg pointer.
4447 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4448 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4450 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4452 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4454 * elf/stackguard-macros.h: Remove file.
4455 * sysdeps/generic/stackguard-macros.h: New file.
4456 * sysdeps/i386/stackguard-macros.h: Likewise.
4457 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4458 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4459 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4460 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4461 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4462 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4463 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4464 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4465 <elf/stackguard-macros.h>.
4468 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4469 __aligned__ in attribute.
4470 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4471 (gregset_t): Likewise.
4473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4475 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4476 * sysdeps/x86_64/64/Implies-after: Here. New file.
4477 * sysdeps/x86_64/x32/Implies-after: New file.
4479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4481 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4482 and access return value for _dl_profile_fixup. Use R10_LP to
4485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4487 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4491 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4492 * sysdeps/x86_64/x32/sysdep.h: New file.
4494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4496 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4497 * sysdeps/x86_64/setjmp.S: Likewise.
4499 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4501 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4502 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4503 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4504 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4505 remove unused global constant.
4507 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4509 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4510 include of <not-cancel.h>.
4512 2012-05-15 Roland McGrath <roland@hack.frob.com>
4514 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4516 2012-05-15 Jeff Law <law@redhat.com>
4517 Andreas Jaeger <aj@suse.de>
4520 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4522 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4523 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4524 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4525 code changing __hst_map_handle.map.
4527 2012-05-15 Roland McGrath <roland@hack.frob.com>
4529 * configure.in (sysnames): Look for Implies-before and Implies-after
4531 * configure: Regenerated.
4533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4535 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4536 8-byte data alignment with LP_SIZE alignment.
4538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4540 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4545 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4549 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4550 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4551 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4555 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4557 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4558 (stackinfo_sub_sp): Likewise.
4560 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4562 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4567 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4577 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4581 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4582 into R11_LP and load __x86_64_shared_cache_size_half into
4585 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4587 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4590 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4598 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4599 powerpc32/power7/fpu/s_logb.c via #include.
4600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4601 powerpc32/power7/fpu/s_logbf.c via #include.
4602 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4603 powerpc32/power7/fpu/s_logbl.c via #include.
4605 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4607 * README.libm: Remove file.
4609 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4611 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4612 count for x32. Use R*_LP and omit operand-size suffix.
4614 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4616 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4617 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4618 * sysdeps/x86_64/x32/shlib-versions: New file.
4620 2012-05-14 Roland McGrath <roland@hack.frob.com>
4622 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4623 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4624 Use _dl_fatal_printf instead.
4626 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4628 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4629 set if not set by the user. Do not allow for being unset.
4630 * sysdeps/unix/sysv/linux/configure: Regenerated.
4632 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4634 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4635 the `q' suffix from lea and replace .quad with ASM_ADDR.
4637 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4640 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4642 (PTR_DEMANGLE): Likewise.
4644 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4646 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4648 (ASM_ADDR): Likewise.
4666 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4668 * sysdeps/x86_64/x32/dl-machine.h: New file.
4670 2012-05-14 Andreas Jaeger <aj@suse.de>
4672 * manual/Makefile (subdir): Remove export of subdir.
4673 (all): Remove target.
4674 (.PHONY): Remove all from list.
4675 (mkinstalldirs): Remove.
4676 (.PHONY): Remove installdirs from list.
4677 ($(inst_infodir)/libc.info): Use make-target-directory.
4678 (installdirs): Remove.
4680 (glibc-targets): Remove.
4683 ($(objpfx)stubs ../po/manual.pot): Remove.
4684 ($(objpfx)stamp%): Remove.
4685 (make-target-directory): Remove.
4686 (subdir_install): Remove.
4694 * manual/.gitignore: Remove, it's not needed anymore.
4695 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4697 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4699 (texis): Renamed to $(objpfx)texis.
4700 (texis-path): New, contains path to generated files.
4701 (chapters.%): Use texis-path for complete path, add extra argument
4703 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4704 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4705 (summary,texi, stamp-summary): Use complete path of
4706 files. Generate files in build dir.
4707 (dir-add.texi): Build in build dir.
4708 (libm-err.texi,stamp-libm-err): Likewise.
4709 (version.texi, stamp-version): Likewise.
4710 (.%c.texi): Likewise.
4711 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4712 (mostlyclean): Remove target.
4713 (realclean): Remove target.
4714 (generated): Add new variable with contents from mostlyclean and
4715 realclean, remove entries duplicated in common-mostlyclean, add
4716 stamp-libm-err and stamp-version.
4717 (generated-dirs): Add libc directory.
4718 ($(inst_infodir)/libc.info): Install files from build dir.
4720 * manual/install.texi (Configuring and compiling): Adjust since
4721 the info files are not part of the tar ball anymore.
4723 2012-05-14 Andreas Jaeger <aj@suse.de>
4725 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4728 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4731 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4732 to 2.2.0 where earlier.
4733 * sysdeps/unix/sysv/linux/configure: Regenerated.
4734 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4735 Remove conditional code.
4736 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4737 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4738 Remove conditional code.
4739 [!__NR_lchown]: Likewise.
4740 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4741 [__NR_lchown]: Likewise.
4742 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4743 comment referencing __ASSUME_LCHOWN_SYSCALL.
4744 * sysdeps/unix/sysv/linux/i386/sigaction.c
4745 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4746 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4747 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4748 Remove conditional code.
4749 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4750 (__protocol_available): Remove #if 0 code.
4751 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4753 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4754 * sysdeps/unix/sysv/linux/kernel-features.h
4755 (__ASSUME_GETCWD_SYSCALL): Don't define.
4756 (__ASSUME_REALTIME_SIGNALS): Likewise.
4757 (__ASSUME_PREAD_SYSCALL): Likewise.
4758 (__ASSUME_PWRITE_SYSCALL): Likewise.
4759 (__ASSUME_POLL_SYSCALL): Likewise.
4760 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4761 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4763 (__ASSUME_SIOCGIFNAME): Don't define.
4764 (__ASSUME_MSG_NOSIGNAL): Likewise.
4765 (__ASSUME_SENDFILE): Define unconditionally.
4766 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4767 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4769 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4770 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4771 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4772 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4773 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4774 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4775 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4777 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4778 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4780 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4783 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4784 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4786 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4789 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4790 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4795 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4800 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4801 Remove conditional code.
4802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4803 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4804 Remove conditional code.
4805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4806 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4807 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4808 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4809 Remove conditional code.
4810 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4811 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4812 Remove conditional code.
4813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4814 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4815 Remove conditional code.
4816 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4817 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4818 Remove conditional code.
4819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4820 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4821 Remove conditional code.
4822 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4823 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4824 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4826 * sysdeps/unix/sysv/linux/sigaction.c
4827 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4828 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4829 * sysdeps/unix/sysv/linux/sigpending.c
4830 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4831 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4832 * sysdeps/unix/sysv/linux/sigprocmask.c
4833 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4834 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4835 * sysdeps/unix/sysv/linux/sigsuspend.c
4836 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4837 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4838 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4839 (__libc_missing_rt_sigs): Remove.
4840 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4841 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4842 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4843 Remove conditional code.
4844 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4845 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4847 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4848 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4849 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4850 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4852 2012-05-14 Andreas Jaeger <aj@suse.de>
4854 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4855 it's not used in glibc.
4856 (__coshm1): Likewise.
4857 (__acosh1p): Likewise.
4860 * manual/string.texi (Copying and Concatenation): Add missing
4861 variable in concat example.
4862 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4864 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4867 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4868 __builtin_clzl with __builtin_clzll.
4870 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4873 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4876 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4878 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4879 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4880 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4881 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4883 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4885 * NEWS: Update ia64 info.
4887 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4889 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4892 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4894 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4895 * sysdeps/unix/syscalls.list (dup3): Likewise.
4896 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4897 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4899 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4901 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4902 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4904 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4906 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4908 (TLS_IE): Use mov/add instead of movq/addq to load thread
4910 (TLS_GD_PREFIX): New.
4913 2012-05-11 David S. Miller <davem@davemloft.net>
4915 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4916 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4917 (_FPU_SETCW): Likewise.
4919 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4921 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4924 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4927 * iconvdata/gb18030.c: Update tables.
4928 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4929 characters specially.
4930 (BODY for TO_LOOP): Add encoding of missing ranges.
4932 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4935 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4936 * sysdeps/mach/hurd/dup3.c: Likewise.
4937 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4938 * sysdeps/powerpc/memmove.c:: Likewise.
4940 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4943 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4945 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4947 * elf/elf.h (R_X86_64_RELATIVE64): New.
4948 (R_X86_64_NUM): Updated.
4949 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4950 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4951 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4952 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4953 tst-quad1pie tst-quad2pie
4954 (modules-names): Add tst-quadmod1 tst-quadmod2.
4955 ($(objpfx)tst-quad1): New dependency.
4956 ($(objpfx)tst-quad2): Likewise.
4957 ($(objpfx)tst-quad1pie): Likewise.
4958 ($(objpfx)tst-quad2pie): Likewise.
4959 * sysdeps/x86_64/tst-quad1.c: New file.
4960 * sysdeps/x86_64/tst-quad1pie.c: New file.
4961 * sysdeps/x86_64/tst-quad2.c: Likewise.
4962 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4963 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4964 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4965 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4966 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4968 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4970 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4971 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4972 * streams/stropts.h (t_scalar_t): Define type.
4974 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4975 (_PATH_PRESERVE): Set to "/var/lib".
4976 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4978 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4981 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4982 if __dir_mkfile succeeded.
4984 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4985 checking for _hurd_dtablesize. Unlock it right after having
4986 finished _hurd_dtable allocation.
4988 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4990 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4991 * sysdeps/mach/hurd/configure: Regenerated.
4992 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4993 special-casing to...
4994 * sysdeps/gnu/configure.in: ... this new file.
4995 * sysdeps/unix/sysv/linux/configure: Regenerated.
4996 * sysdeps/gnu/configure: New generated file.
4998 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4999 for Linux: use nsec instead of usec, as well as:
5000 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5001 members of type struct timespec.
5002 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5004 (struct stat64): Likewise.
5005 (_STATBUF_ST_NSEC): New macro.
5006 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5008 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5009 __strtoul_internal rather than strtoul.
5011 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5013 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5016 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5018 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5019 which preserves existing values.
5020 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5022 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5024 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5025 TIMEOUT values. Return EINVAL for NFDS values either negative or
5026 greater than FD_SETSIZE.
5028 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5030 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5031 allocated, call __vm_protect to finish enabling the existing space, and
5032 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5033 allocate the remainder.
5035 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5037 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5038 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5042 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5043 sysdeps/mach/hurd/readlink.c.
5045 * posix/tst-sysconf.c (posix_options): Only use
5046 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5047 _POSIX_SYNCHRONIZED_IO when they are defined
5048 * sysdeps/mach/hurd/bits/posix_opt.h:
5049 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5050 (_XOPEN_REALTIME): Undefine macro.
5051 (_XOPEN_REALTIME_THREADS): Undefine macro.
5052 (_XOPEN_SHM): Undefine macro.
5053 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5055 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5057 (_POSIX_ASYNC_IO): Undefine macro.
5058 (_POSIX_PRIORITIZED_IO): Undefine macro.
5059 (_POSIX_SPIN_LOCKS): Define macro to -1.
5061 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5062 SA_NODEFER, SA_RESETHAND.
5063 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5064 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5069 * elf/Makefile (pldd-modules): Define unconditionally.
5071 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5073 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5075 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5077 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5078 Return ENOENT when name is empty.
5079 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5081 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5083 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5085 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5087 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5089 Fix mlock in all cases except non-readable pages.
5090 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5091 instead of VM_PROT_ALL as parameter to __vm_wire function.
5093 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5094 (__mkdir): When path is `/', just fail with EEXIST.
5095 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5097 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5099 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5100 <sys/uio.h> (for writev).
5101 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5102 and <sys/param.h> (for MIN).
5104 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5106 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5107 REQUESTED_TIME. Properly set the remaining time and return EINTR
5110 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5112 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5113 Depend on against $(link-rpcuserlibs).
5115 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5117 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5118 (__libc_stack_end): Do not use attribute_relro.
5119 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5120 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5121 to libthread-provided value.
5122 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5125 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5128 * bits/libc-lock.h (__libc_once_get): New macro.
5129 * sysdeps/mach/bits/libc-lock.h: Likewise.
5130 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5132 instead of using implementation details.
5134 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5135 * libio/freopen.c: Likewise.
5136 * libio/freopen64.c: Likewise.
5137 * misc/syslog.c: Likewise.
5138 * nscd/connections.c: Likewise.
5139 * nscd/netgroupcache.c: Likewise.
5140 * sysdeps/posix/getcwd.c: Likewise.
5142 2012-05-10 Roland McGrath <roland@hack.frob.com>
5144 * math/w_ilogbf.c: Add #include <limits.h>.
5146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5148 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5149 path instead of returning without unlocking.
5151 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5152 immediate-write ioctls.
5153 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5155 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5157 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5158 __builtin_frame_address instead of making assumptions about the
5159 location of the return address relative to DATA. Force early load of
5161 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5162 __builtin_frame_address.
5165 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5166 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5167 implement dup3 and do some further code clean-ups.
5168 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5169 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5171 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5173 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5175 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5176 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5177 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5178 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5179 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5182 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5183 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5184 when handler == SIG_ERR, not when handler != SIG_ERR.
5186 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5188 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5189 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5192 accept4 for GNU Hurd.
5193 * include/sys/socket.h (__libc_accept4): New prototype.
5194 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5195 to implement __libc_accept4.
5196 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5198 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5200 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5201 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5202 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5207 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5209 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5211 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5212 assertion on O_CLOEXEC flag.
5213 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5214 * hurd/intern-fd.c: Likewise.
5215 * hurd/port2fd.c: Likewise.
5217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5220 * bits/in.h (IPV6_PKTINFO): Define new macro.
5221 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5223 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5228 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5230 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5231 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5233 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5234 * math/libm-test.inc (logb_test) : Additional logb tests.
5236 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5237 Andreas Jaeger <aj@suse.de>
5239 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5240 * configure: Regenerated.
5241 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5242 * config.make.in (link-obsolete-rpc): New substituted variable.
5243 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5244 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5245 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5246 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5247 so that libc.a contains the symbols.
5248 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5249 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5250 * sunrpc/auth_none.c: Likewise.
5251 * sunrpc/auth_unix.c: Likewise.
5252 * sunrpc/authdes_prot.c: Likewise.
5253 * sunrpc/authuxprot.c: Likewise.
5254 * sunrpc/clnt_gen.c: Likewise.
5255 * sunrpc/clnt_perr.c: Likewise.
5256 * sunrpc/clnt_raw.c: Likewise.
5257 * sunrpc/clnt_simp.c: Likewise.
5258 * sunrpc/clnt_tcp.c: Likewise.
5259 * sunrpc/clnt_udp.c: Likewise.
5260 * sunrpc/clnt_unix.c: Likewise.
5261 * sunrpc/des_crypt.c: Likewise.
5262 * sunrpc/des_soft.c: Likewise.
5263 * sunrpc/get_myaddr.c: Likewise.
5264 * sunrpc/key_call.c: Likewise.
5265 * sunrpc/key_prot.c: Likewise.
5266 * sunrpc/netname.c: Likewise.
5267 * sunrpc/pm_getmaps.c: Likewise.
5268 * sunrpc/pm_getport.c: Likewise.
5269 * sunrpc/pmap_clnt.c: Likewise.
5270 * sunrpc/pmap_prot.c: Likewise.
5271 * sunrpc/pmap_prot2.c: Likewise.
5272 * sunrpc/pmap_rmt.c: Likewise.
5273 * sunrpc/publickey.c: Likewise.
5274 * sunrpc/rpc_cmsg.c: Likewise.
5275 * sunrpc/rpc_common.c: Likewise.
5276 * sunrpc/rpc_dtable.c: Likewise.
5277 * sunrpc/rpc_prot.c: Likewise.
5278 * sunrpc/rpc_thread.c: Likewise.
5279 * sunrpc/rtime.c: Likewise.
5280 * sunrpc/svc.c: Likewise.
5281 * sunrpc/svc_auth.c: Likewise.
5282 * sunrpc/svc_raw.c: Likewise.
5283 * sunrpc/svc_run.c: Likewise.
5284 * sunrpc/svc_tcp.c: Likewise.
5285 * sunrpc/svc_udp.c: Likewise.
5286 * sunrpc/svc_unix.c: Likewise.
5287 * sunrpc/svcauth_des.c: Likewise.
5288 * sunrpc/xcrypt.c: Likewise.
5289 * sunrpc/xdr.c: Likewise.
5290 * sunrpc/xdr_array.c: Likewise.
5291 * sunrpc/xdr_float.c: Likewise.
5292 * sunrpc/xdr_intXX_t.c: Likewise.
5293 * sunrpc/xdr_mem.c: Likewise.
5294 * sunrpc/xdr_rec.c: Likewise.
5295 * sunrpc/xdr_ref.c: Likewise.
5296 * sunrpc/xdr_sizeof.c: Likewise.
5297 * sunrpc/xdr_stdio.c: Likewise.
5299 2012-05-10 Roland McGrath <roland@hack.frob.com>
5301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5302 change. Update copyright years.
5304 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5306 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5308 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5309 Joseph Myers <joseph@codesourcery.com>
5310 Paul Pluzhnikov <ppluzhnikov@google.com>
5313 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5315 [cross-compiling] (extra-libs): Likewise.
5316 [cross-compiling] (extra-libs-others): Likewise.
5317 [cross-compiling] (librpcsvc-routines): Likewise.
5318 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5319 [cross-compiling] (omit-deps): Likewise.
5320 (sunrpc-CPPFLAGS): New variable.
5321 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5322 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5323 (cross-rpcgen-objs): New variable.
5324 (extra-objs): Append $(cross-rpcgen-objs).
5325 ($(cross-rpcgen-objs)): New rule.
5326 ($(objpfx)cross-rpcgen): Likewise.
5327 (rpcgen-cmd): Define to use $(built-program-file). Expand
5329 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5330 ($(objpfx)x%.stmp): Likewise.
5331 * sunrpc/proto.h [IS_IN_build] (_): Define.
5332 [IS_IN_build] (_libc_intl_domainname): Likewise.
5334 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5337 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5338 and R_X86_64_TPOFF64.
5340 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5342 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5343 sysdeps/unix/sysv/syscalls.list.
5346 * sysdeps/unix/sysv/syscalls.list: Remove file.
5348 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5351 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5352 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5353 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5354 (__LC_IDENTIFICATION): Make these macros useful in #if
5355 expressions, as required by C99.
5357 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5359 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5360 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5363 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5365 * stdlib/longlong.h: Updated from GCC.
5367 2012-05-09 Andreas Jaeger <aj@suse.de>
5369 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5370 default is first entry.
5371 (run_mode): Set type.
5372 (main): Remove informal message about syslog.
5373 (options): Fix typo.
5376 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5379 (llrintf): Likewise.
5383 (nearbyint): Likewise.
5384 (nearbyintf): Likewise.
5386 2012-05-09 Andreas Jaeger <aj@suse.de>
5387 Pedro Alves <palves@redhat.com>
5389 * nscd/nscd.c (run_mode): Use enum.
5390 (main): Cleanup coding style issue.
5392 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5393 Andreas Jaeger <aj@suse.de>
5395 * nscd/nscd.c (go_background): Replaced with...
5396 (run_mode): ... this.
5397 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5398 (options): Add -F --foreground.
5399 (main): Implement it.
5400 (parse_opt): Parse it.
5402 2012-05-09 Andreas Jaeger <aj@suse.de>
5405 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5406 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5407 -Wconversion warning.
5408 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5411 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5413 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5415 (LC_ALL): Use macro-int-constant.
5416 (LC_COLLATE): Likewise.
5417 (LC_CTYPE): Likewise.
5418 (LC_MESSAGES): Likewise.
5419 (LC_MONETARY): Likewise.
5420 (LC_NUMERIC): Likewise.
5421 (LC_TIME): Likewise.
5422 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5423 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5425 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5427 [C99-based standards] (float_t): Expect type.
5428 [C99-based standards] (double_t): Expect type.
5429 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5431 [C99-based standards] (HUGE_VALL): Likewise.
5432 [C99-based standards] (INFINITY): Likewise.
5433 [C99-based standards] (NAN): Likewise.
5434 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5435 [C99-based standards] (FP_NAN): Likewise.
5436 [C99-based standards] (FP_NORMAL): Likewise.
5437 [C99-based standards] (FP_SUBNORMAL): Likewise.
5438 [C99-based standards] (FP_ZERO): Likewise.
5439 [C99-based standards] (FP_FAST_FMA): Use
5440 optional-macro-int-constant. Specify type. Require == 1.
5441 [C99-based standards] (FP_FAST_FMAF): Likewise.
5442 [C99-based standards] (FP_FAST_FMAL): Likewise.
5443 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5444 [C99-based standards] (FP_ILOGBNAN): Likewise.
5445 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5447 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5448 [C99-based standards] (math_errhandling): Specify type.
5449 [ISO99 || ISO11] (signgam): Do not allow.
5450 [non-C99-based standards] (copysignf): Do not allow.
5451 [non-C99-based standards] (exp2f): Likewise.
5452 [non-C99-based standards] (log2f): Likewise.
5453 [non-C99-based standards] (modff): Allow.
5454 [non-C99-based standards] (erff): Do not allow.
5455 [non-C99-based standards] (erfcf): Likewise.
5456 [non-C99-based standards] (gammaf): Likewise.
5457 [non-C99-based standards] (hypotf): Likewise.
5458 [non-C99-based standards] (j0f): Likewise.
5459 [non-C99-based standards] (j1f): Likewise.
5460 [non-C99-based standards] (jnf): Likewise.
5461 [non-C99-based standards] (lgammaf): Likewise.
5462 [non-C99-based standards] (tgammaf): Likewise.
5463 [non-C99-based standards] (y0f): Likewise.
5464 [non-C99-based standards] (y1f): Likewise.
5465 [non-C99-based standards] (ynf): Likewise.
5466 [non-C99-based standards] (isnanf): Likewise.
5467 [non-C99-based standards] (acoshf): Likewise.
5468 [non-C99-based standards] (asinhf): Likewise.
5469 [non-C99-based standards] (atanhf): Likewise.
5470 [non-C99-based standards] (cbrtf): Likewise.
5471 [non-C99-based standards] (expm1f): Likewise.
5472 [non-C99-based standards] (ilogbf): Likewise.
5473 [non-C99-based standards] (log1pf): Likewise.
5474 [non-C99-based standards] (logbf): Likewise.
5475 [non-C99-based standards] (nextafterf): Likewise.
5476 [non-C99-based standards] (remainderf): Likewise.
5477 [non-C99-based standards] (rintf): Likewise.
5478 [non-C99-based standards] (scalbf): Likewise.
5479 [non-C99-based standards] (copysignl): Likewise.
5480 [non-C99-based standards] (exp2l): Likewise.
5481 [non-C99-based standards] (log2l): Likewise.
5482 [non-C99-based standards] (modfl): Allow.
5483 [non-C99-based standards] (erfl): Do not allow.
5484 [non-C99-based standards] (erfcl): Likewise.
5485 [non-C99-based standards] (gammal): Likewise.
5486 [non-C99-based standards] (hypotl): Likewise.
5487 [non-C99-based standards] (j0l): Likewise.
5488 [non-C99-based standards] (j1l): Likewise.
5489 [non-C99-based standards] (jnl): Likewise.
5490 [non-C99-based standards] (lgammal): Likewise.
5491 [non-C99-based standards] (tgammal): Likewise.
5492 [non-C99-based standards] (y0l): Likewise.
5493 [non-C99-based standards] (y1l): Likewise.
5494 [non-C99-based standards] (ynl): Likewise.
5495 [non-C99-based standards] (isnanl): Likewise.
5496 [non-C99-based standards] (acoshl): Likewise.
5497 [non-C99-based standards] (asinhl): Likewise.
5498 [non-C99-based standards] (atanhl): Likewise.
5499 [non-C99-based standards] (cbrtl): Likewise.
5500 [non-C99-based standards] (expm1l): Likewise.
5501 [non-C99-based standards] (ilogbl): Likewise.
5502 [non-C99-based standards] (log1pl): Likewise.
5503 [non-C99-based standards] (logbl): Likewise.
5504 [non-C99-based standards] (nextafterl): Likewise.
5505 [non-C99-based standards] (remainderl): Likewise.
5506 [non-C99-based standards] (rintl): Likewise.
5507 [non-C99-based standards] (scalbl): Likewise.
5508 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5509 [non-C99-based standards] (FP_*): Do not allow.
5510 [C99-based standards] (FP_*): Change to
5511 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5512 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5514 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5515 (SIG_ERR): Likewise.
5516 [X/Open-based standards] (SIG_HOLD): Likewise.
5517 (SIG_IGN): Likewise.
5518 (SIGABRT): Use macro-int-constant. Specify type. Require
5523 (SIGSEGV): Likewise.
5525 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5526 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5527 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5528 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5529 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5530 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5531 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5532 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5533 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5534 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5535 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5536 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5537 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5538 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5539 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5540 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5541 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5542 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5543 [X/Open-based standards] (SIGTRAP): Likewise.
5544 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5545 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5546 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5547 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5548 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5551 2012-05-08 Ian Wienand <ianw@vmware.com>
5554 * time/tzset.c (__tzset_parse_tz): Update default rules for
5555 daylight time changes in the Energy Policy Act of 2005.
5557 2012-05-09 Andreas Jaeger <aj@suse.de>
5560 * elf/ldconfig.c (parse_conf): Change string to make clear that
5561 ldconfig only issued a warning if ld.so.conf does not exist.
5563 2012-05-08 David S. Miller <davem@davemloft.net>
5565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5566 movxtod instead of popping the value on the stack.
5568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5570 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5572 * config.h.in: Add HAVE_ARM_PCS_VFP.
5574 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5577 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5578 checking but the checks are disabled for any reason.
5580 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5582 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5583 and ELF64_R_TYPE with ELFW(R_TYPE).
5585 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5587 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5590 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5591 (settimeofday): Likewise.
5593 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5595 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5596 a struct th_u2 inside the union, and move tu_block/tu_code into
5597 a new th_u3 union of tu_block/tu_code inside of that. Move
5598 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5599 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5600 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5601 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5602 (th_stuff): Change to th_u1.tu_stuff.
5604 (th_msg): Change to th_u1.th_u2.tu_data.
5606 2012-05-07 David S. Miller <davem@davemloft.net>
5608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5611 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5612 (SETUP_PIC_REG): Use it.
5613 (SETUP_PIC_REG_LEAF): Use it.
5615 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5619 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5621 (EXPL_FINITE): Likewise.
5623 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5624 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5626 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5628 (EXPL_FINITE): Likewise.
5630 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5631 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5633 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5634 test of -max_value argument for long double.
5635 * sysdeps/i386/fpu/libm-test-ulps: Update.
5636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5638 2012-05-06 David S. Miller <davem@davemloft.net>
5640 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5641 quad soft-float symbols whose references which are compiler
5643 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5645 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5649 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5651 (EXPL_FINITE): Likewise.
5655 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5656 Adjust comments for base varying.
5657 (__expl_finite): Change alias to EXPL_FINITE.
5658 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5660 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5661 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5662 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5663 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5664 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5666 (EXPL_FINITE): Likewise.
5670 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5671 Adjust comments for base varying.
5672 (__expl_finite): Change alias to EXPL_FINITE.
5673 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5678 * math/libm-test.inc (check_float_internal): Correct ulp
5679 calculation for subnormal expected results.
5681 2012-05-06 Andreas Jaeger <aj@suse.de>
5683 * Makeconfig (+math-flags): New, set to -frounding-math.
5684 (+cflags): Add +math-flags so that all of glibc gets compiled with
5687 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5689 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5691 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5697 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5698 (__ieee754_expl): Allow for and saturate large arguments.
5699 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5700 (u_threshold): Likewise.
5701 (__exp): Call __ieee754_exp before checking for overflow and
5703 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5704 (u_threshold): Likewise.
5705 (__expf): Call __ieee754_expf before checking for overflow and
5707 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5708 (u_threshold): Likewise.
5709 (__expl): Call __ieee754_expl before checking for overflow and
5711 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5712 (__ieee754_expl): Allow for and saturate large arguments.
5713 * math/libm-test.inc (exp_test): Add another test. Do not allow
5714 missing overflow exception on overflow.
5715 (expm1_test): Do not allow missing overflow exception on overflow.
5717 * sysdeps/i386/fpu/e_expl.c: Move to ...
5718 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5719 rather than using inline asm.
5720 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5721 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5722 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5724 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5731 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5733 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5734 sysdeps/unix/common/syscalls.list.
5737 (ftruncate): Likewise.
5738 (getrusage): Likewise.
5739 (gettimeofday): Likewise.
5740 (setpgid): Likewise.
5741 (setregid): Likewise.
5742 (setreuid): Likewise.
5743 (sigaction): Likewise.
5744 (truncate): Likewise.
5745 (vhangup): Likewise.
5746 * sysdeps/unix/common/syscalls.list: Remove file.
5747 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5748 * sysdeps/unix/sysv/linux/Implies: Likewise.
5750 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5752 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5754 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5758 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5761 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5764 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5767 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5770 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5773 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5776 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5780 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5784 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5787 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5791 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5795 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5797 * sysdeps/unix/common/bits/dirent.h: Remove file.
5798 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5800 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5801 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5802 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5803 * sysdeps/unix/bsd/isatty.c: Likewise.
5804 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5805 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5806 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5808 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5811 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5812 long double comparison inaccuracies.
5813 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5816 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5818 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5821 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5824 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5825 nonzero digits before rounding a hex value.
5826 * stdlib/tst-strtod.c (tests): Add another test.
5828 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5830 * sysdeps/s390/fpu/libm-test-ulps: Update.
5832 2012-05-03 Andreas Jaeger <aj@suse.de>
5834 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5835 does not get optimized out.
5836 (malloc_opt_barrier): New.
5838 2012-05-03 Andreas Jaeger <aj@suse.de>
5839 Roland McGrath <roland@hack.frob.com>
5841 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5842 intermediate file deletion.
5843 (generated): Add .symlist files.
5845 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5848 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5849 Redirect under this condition.
5850 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5851 [__USE_GNU] (__dprintf_chk): Not under this condition.
5852 [__USE_GNU] (__vdprintf_chk): Likewise.
5853 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5854 under this condition.
5855 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5856 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5857 [__USE_XOPEN2K8] (vdprintf): Likewise.
5858 [__USE_GNU] (__dprintf_chk): Not under this condition.
5859 [__USE_GNU] (__vdprintf_chk): Likewise.
5860 [__USE_GNU] (dprintf): Likewise.
5861 [__USE_GNU] (vdprintf): Likewise.
5863 2012-05-03 Roland McGrath <roland@hack.frob.com>
5865 * elf/Makefile (common-generated): Set this instead of generated for
5866 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5867 $(all-built-dso)-derived lists.
5869 2012-05-03 Andreas Jaeger <aj@suse.de>
5871 * sysdeps/i386/fpu/libm-test-ulps: Update.
5875 * scripts/gen-FAQ.pl: Likewise.
5876 * manual/install.texi (Installation): Point to online location of
5878 * Makefile (files-for-dist): Remove FAQ.
5881 2012-05-02 Allan McRae <allan@archlinux.org>
5883 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5884 (LDFLAGS-reldepmod5.so): Likewise.
5885 (LDFLAGS-reldep6mod1.so): Likewise.
5886 (LDFLAGS-reldep6mod4.so): Likewise.
5887 (LDFLAGS-reldep8mod3.so): Likewise.
5888 (LDFLAGS-unload4mod1.so): Likewise.
5889 (LDFLAGS-unload4mod2.so): Likewise.
5890 (LDFLAGS-tst-initorder): Likewise.
5891 (LDFLAGS-tst-initordera2.so): Likewise.
5892 (LDFLAGS-tst-initordera3.so): Likewise.
5893 (LDFLAGS-tst-initordera4.so): Likewise.
5894 (LDFLAGS-tst-initorderb2.so): Likewise.
5895 (LDFLAGS-noload): Likewise.
5896 (LDFLAGS-next): Likewise.
5897 (LDFLAGS-order2mod1.so): Likewise.
5898 (LDFLAGS-order2mod2.so): Likewise.
5899 (LDFLAGS-tst-initorder2): Likewise.
5900 (LDFLAGS-tst-initorder2a.so): Likewise.
5901 (LDFLAGS-tst-initorder2b.so): Likewise.
5902 (LDFLAGS-tst-initorder2c.so): Likewise.
5903 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5905 2012-05-02 David S. Miller <davem@davemloft.net>
5907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5909 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5912 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5914 2012-05-02 Andreas Jaeger <aj@suse.de>
5916 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5917 since we manipulate rounding mode.
5918 (CPPFLAGS-test-idouble.c): Likewise.
5919 (CPPFLAGS-test-ifloat.c): Likewise.
5920 (CFLAGS-test-ldouble.c): Likewise.
5921 (CFLAGS-test-double.c): Likewise.
5922 (CFLAGS-test-float.c): Likewise.
5923 (CFLAGS-test-misc.c): Likewise.
5924 (CFLAGS-test-test-fenv.c): Likewise.
5926 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5930 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5931 comparisons to determine direction to adjust input.
5933 2012-05-01 Roland McGrath <roland@hack.frob.com>
5935 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5936 output to the target.
5938 * scripts/localplt.awk: New file.
5939 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5940 (check-localplt-CFLAGS): Variable removed.
5941 ($(all-built-dso:=.jmprel)): New static pattern rule.
5942 (generated): Add those targets.
5943 (localplt-built-dso): New variable.
5944 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5946 * elf/check-localplt.c: File removed.
5948 * scripts/check-execstack.awk: New file.
5949 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5950 (check-execstack-CFLAGS): Variable removed.
5951 ($(objpfx)check-execstack.h): Target removed.
5952 ($(objpfx)execstack-default): New target.
5953 (generated): Add that instead of check-execstack.h.
5954 ($(all-built-dso:=.phdr)): New static pattern rule.
5955 (generated): Add those targets.
5956 * elf/check-execstack.c: File removed.
5958 * scripts/check-textrel.awk: New file.
5959 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5960 (check-textrel-CFLAGS): Variable removed.
5961 (all-built-dso): Use := to define.o
5962 ($(all-built-dso:=.dyn)): New static pattern rule.
5963 (generated): Add those targets.
5964 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5965 * config.make.in (READELF): New substituted variable.
5966 * elf/check-textrel.c: File removed.
5968 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5970 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5972 * conform/data/ctype.h-data [C99-based standards] (isblank):
5974 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5975 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5976 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5977 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5978 Specify type. Require positive value.
5981 [ISO || POSIX] (EILSEQ): Do not expect.
5982 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5983 Specify type. Require positive value.
5984 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5985 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5986 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5987 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5988 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5989 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5990 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5991 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5992 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5993 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5994 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5995 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5996 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5997 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5998 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5999 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6000 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6001 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6002 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6003 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6004 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6005 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6006 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6007 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6008 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6009 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6010 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6011 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6012 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6013 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6014 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6015 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6016 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6017 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6018 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6019 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6020 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6021 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6022 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6023 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6024 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6025 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6026 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6027 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6028 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6029 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6030 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6031 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6032 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6033 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6034 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6035 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6036 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6037 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6038 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6039 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6040 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6041 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6042 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6043 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6044 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6045 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6046 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6047 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6048 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6049 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6050 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6051 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6052 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6053 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6054 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6055 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6056 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6057 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6058 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6059 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6060 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6062 (FLT_ROUNDS): Expect as macro, not constant.
6063 (FLT_MANT_DIG): Use macro-int-constant.
6064 (DBL_MANT_DIG): Likewise.
6065 (LDBL_MANT_DIG): Likewise.
6066 (FLT_DIG): Likewise.
6067 (DBL_DIG): Likewise.
6068 (LDBL_DIG): Likewise.
6069 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6070 (DBL_MIN_EXP): Likewise.
6071 (LDBL_MIN_EXP): Likewise.
6072 (FLT_MAX_EXP): Use macro-int-constant.
6073 (DBL_MAX_EXP): Likewise.
6074 (LDBL_MAX_EXP): Likewise.
6075 (FLT_MAX_10_EXP): Likewise.
6076 (DBL_MAX_10_EXP): Likewise.
6077 (LDBL_MAX_10_EXP): Likewise.
6078 (FLT_MAX): Use macro-constant.
6079 (DBL_MAX): Likewise.
6080 (LDBL_MAX): Likewise.
6081 (FLT_EPSILON): Use macro-constant. Give upper bound.
6082 (DBL_EPSILON): Likewise.
6083 (LDBL_EPSILON): Likewise.
6084 (FLT_MIN): Likewise.
6085 (DBL_MIN): Likewise.
6086 (LDBL_MIN): Likewise.
6087 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6088 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6089 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6090 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6091 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6092 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6093 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6094 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6095 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6096 [ISO11] (FLT_TRUE_MIN): Likewise.
6097 [ISO11] (LDBL_TRUE_MIN): Likewise.
6098 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6099 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6100 (SCHAR_MIN): Use macro-int-constant. Specify type.
6101 (SCHAR_MAX): Likewise.
6102 (UCHAR_MAX): Likewise.
6103 (CHAR_MIN): Likewise.
6104 (CHAR_MAX): Likewise.
6105 (MB_LEN_MAX): Use macro-int-constant.
6106 (SHRT_MIN): Use macro-int-constant. Specify type.
6107 (SHRT_MAX): Likewise.
6108 (USHRT_MAX): Likewise.
6109 (INT_MAX): Likewise.
6110 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6112 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6114 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6116 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6117 bound negative. Suffix upper bound with "L".
6118 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6120 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6122 [C99-based standards] (LLONG_MAX): Likewise.
6123 [C99-based standards] (ULLONG_MAX): Likewise.
6124 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6126 [ISO11] (max_align_t): Require type.
6127 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6129 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6130 from $CFLAGS, without defining away __attribute__ calls.
6131 (checknamespace): Use $CFLAGS_namespace.
6133 * conform/conformtest.pl (@keywords): Only include C99 keywords
6134 for standards based on C99 or C11.
6136 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6138 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6141 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6142 usability of symbols in #if.
6144 * conform/conformtest.pl: If macro or constant types start
6145 "promoted:", expect the symbol to be of the following type
6146 promoted by the integer promotions.
6148 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6149 in one place. Also handle "macro-constant".
6151 * conform/conformtest.pl: Only accept expected macro values with
6152 "==". Parse all "macro" lines in one place.
6153 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6155 * conform/conformtest.pl: Handle braced types on "constant" lines
6156 instead of handling "typed-constant".
6157 * conform/data/signal.h-data: Use "constant" instead of
6160 * conform/conformtest.pl: Handle "optional-" at start of lines in
6161 one place rather than duplicating several cases. Handle each
6162 format of "macro" line with initial "optional-".
6164 * conform/conformtest.pl: Only accept expected constant or
6165 optional-constant values with "==". Parse all "constant" lines in
6166 one place. Parse all "optional-constant" lines in one place.
6167 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6168 * conform/data/fmtmsg.h-data: Likewise.
6169 * conform/data/netinet/in.h-data: Likewise.
6170 * conform/data/tar.h-data: Likewise.
6171 * conform/data/limits.h-data: Use "==" form on "constant" and
6172 "optional-constant" lines.
6174 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6175 Use -std=c99 for XOPEN2K.
6176 (@knownproblems): Remove.
6177 (newtoken): Don't check %isknown.
6179 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6180 Do not expect macro.
6181 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6182 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6183 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6184 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6185 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6186 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6187 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6188 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6189 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6190 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6191 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6192 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6193 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6194 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6195 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6196 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6197 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6198 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6199 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6200 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6201 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6202 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6203 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6204 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6205 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6206 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6207 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6208 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6209 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6210 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6211 [XPG3] (acosh): Likewise.
6212 [XPG3] (asinh): Likewise.
6213 [XPG3] (atanh): Likewise.
6214 [XPG3] (cbrt): Likewise.
6215 [XPG3] (expm1): Likewise.
6216 [XPG3] (ilogb): Likewise.
6217 [XPG3] (log1p): Likewise.
6218 [XPG3] (logb): Likewise.
6219 [XPG3] (nextafter): Likewise.
6220 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6221 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6222 [XPG3] (remainder): Likewise.
6223 [XPG3] (rint): Likewise.
6224 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6225 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6226 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6227 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6228 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6229 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6230 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6231 [UNIX98 || XOPEN2K] (scalb): Expect.
6232 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6233 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6234 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6235 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6236 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6237 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6238 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6239 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6240 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6241 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6242 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6243 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6244 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6245 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6246 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6247 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6248 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6249 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6250 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6251 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6252 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6253 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6254 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6255 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6256 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6257 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6258 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6259 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6260 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6261 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6262 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6263 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6264 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6265 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6266 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6267 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6268 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6269 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6270 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6271 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6272 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6273 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6274 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6275 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6276 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6277 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6278 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6279 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6280 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6281 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6282 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6283 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6284 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6285 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6286 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6287 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6288 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6289 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6290 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6291 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6292 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6293 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6294 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6295 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6296 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6297 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6298 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6299 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6300 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6301 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6302 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6303 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6304 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6305 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6306 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6307 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6308 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6309 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6310 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6311 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6312 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6313 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6314 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6315 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6316 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6317 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6318 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6319 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6320 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6321 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6322 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6323 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6324 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6325 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6326 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6327 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6328 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6329 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6330 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6331 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6332 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6333 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6334 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6335 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6336 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6337 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6338 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6339 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6340 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6341 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6342 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6343 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6344 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6345 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6346 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6347 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6348 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6349 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6350 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6351 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6352 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6353 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6354 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6355 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6356 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6357 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6358 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6359 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6360 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6361 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6362 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6363 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6364 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6365 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6366 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6367 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6368 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6370 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6371 _XOPEN_SOURCE_EXTENDED for XPG4.
6373 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6375 * Makeconfig (localtime): Remove variable.
6376 (inst_localtime-file): Likewise.
6378 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6399 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6403 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6404 comparisons to determine direction to adjust input.
6405 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6406 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6407 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6409 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6411 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6413 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6414 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6416 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6418 * math/libm-test.inc (nexttoward_test): Add more tests.
6420 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6423 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6424 in version GLIBC_2.1, not GLIBC_2.0.
6425 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6428 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6431 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6433 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6434 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6435 * math/libm-test.inc (acos_test): Add more tests.
6436 (asin_test): Likewise.
6437 * sysdeps/i386/fpu/libm-test-ulps: Update.
6438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6441 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6443 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6444 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6445 * math/libm-test.inc (acos_test_tonearest): New function.
6446 (acos_test_towardzero): Likewise.
6447 (acos_test_downward): Likewise.
6448 (acos_test_upward): Likewise.
6449 (asin_test_tonearest): Likewise.
6450 (asin_test_towardzero): Likewise.
6451 (asin_test_downward): Likewise.
6452 (asin_test_upward): Likewise.
6453 (main): Call the new functions.
6454 * sysdeps/i386/fpu/libm-test-ulps: Update.
6455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6459 * math/e_exp10.c: Include <float.h>.
6460 (__ieee754_exp10): Handle underflow here rather than multiplying
6461 large negative argument by M_LN10.
6462 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6464 * math/e_exp10l.c: Include <float.h>.
6465 (__ieee754_exp10l): Handle underflow here rather than multiplying
6466 large negative argument by M_LN10l.
6467 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6468 spurious overflow exception on underflow.
6470 2012-04-29 Marek Polacek <polacek@redhat.com>
6472 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6473 (__fortify_function): New macro.
6474 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6475 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6476 __extern_always_inline.
6477 * libio/bits/stdio2.h: Likewise.
6478 * libio/bits/stdio.h: Likewise.
6479 * string/string.h: Likewise.
6480 * string/bits/string3.h: Likewise.
6481 * include/stdio.h: Likewise.
6482 * stdlib/bits/stdlib.h: Likewise.
6483 * stdlib/stdlib.h: Likewise.
6484 * rt/bits/mqueue2.h: Likewise.
6485 * rt/mqueue.h: Likewise.
6486 * posix/bits/unistd.h: Likewise.
6487 * posix/unistd.h: Likewise.
6488 * io/bits/poll2.h: Likewise.
6489 * io/bits/fcntl2.h: Likewise.
6490 * io/fcntl.h: Likewise.
6491 * io/sys/poll.h: Likewise.
6492 * misc/bits/syslog.h: Likewise.
6493 * misc/bits/syslog-ldbl.h: Likewise.
6494 * misc/sys/syslog.h: Likewise.
6495 * socket/bits/socket2.h: Likewise.
6496 * socket/sys/socket.h: Likewise.
6497 * debug/tst-chk1.c: Likewise.
6498 * wcsmbs/bits/wchar2.h: Likewise.
6499 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6500 * wcsmbs/wchar.h: Likewise.
6502 2012-04-29 Andreas Jaeger <aj@suse.de>
6504 * Makerules (tests): Remove enable-check-abi protection.
6505 (check-abi-warn): Remove.
6506 (check-abi-%): Remove check-abi-warn usage.
6508 * configure.in: Remove check-abi configure option.
6509 * configure: Regenerated.
6510 * config.make.in (enable-check-abi): Remove.
6512 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6515 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6516 double functions to double *_finite functions.
6519 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6520 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6522 * stdio-common/Makefile (tests): Add tst-sprintf3.
6523 * stdio-common/tst-sprintf3.c: New file.
6525 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6526 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6528 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6530 * conform/conformtest.pl: Remove duplicate typed-constant
6533 2012-04-28 David S. Miller <davem@davemloft.net>
6535 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6536 (check-abi-%): Remove AWK script prerequisite and explicit
6538 (check-abi): Rewrite to just diff the symlist with the abilist.
6539 (config-tls, config-abi-config): Delete, no longer used.
6540 (update-abi-%): Remove AWK script and explicit abilist directory.
6541 (update-abi): Rewrite to simply compare and conditionally copy the
6542 symlist and the sysdep abilist file. Remove update-abi-config
6544 * abilist/ld.abilist: Remove.
6545 * abilist/libBrokenLocale.abilist: Remove.
6546 * abilist/libanl.abilist: Remove.
6547 * abilist/libcrypt.abilist: Remove.
6548 * abilist/libdl.abilist: Remove.
6549 * abilist/librt.abilist: Remove.
6550 * abilist/libthread_db.abilist: Remove.
6551 * abilist/libutil.abilist: Remove.
6552 * scripts/extract-abilist.awk: Remove.
6553 * scripts/merge-abilist.awk: Remove.
6554 * sysdeps/generic/libcidn.abilist: New file.
6555 * sysdeps/generic/libnss_compat.abilist: New file.
6556 * sysdeps/generic/libnss_db.abilist: New file.
6557 * sysdeps/generic/libnss_dns.abilist: New file.
6558 * sysdeps/generic/libnss_files.abilist: New file.
6559 * sysdeps/generic/libnss_hesiod.abilist: New file.
6560 * sysdeps/generic/libnss_nis.abilist: New file.
6561 * sysdeps/generic/libnss_nisplus.abilist: New file.
6562 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6563 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6564 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6566 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6567 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6568 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6569 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6570 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6571 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6572 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6573 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6574 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6576 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6577 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6578 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6579 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6581 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6582 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6583 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6584 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6585 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6586 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6588 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6589 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6590 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6592 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6695 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6696 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6697 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6699 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6700 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6701 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6702 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6703 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6704 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6705 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6706 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6707 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6708 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6760 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6762 * conform/conformtest.pl: Fix typo in handling typed-constant from
6765 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6767 * README: Cut down references to pre-2.6 Linux kernels and
6768 Linuxthreads. Update lists of configurations in libc and ports
6769 and sort alphabetically. Say "or newer" with Linux kernel version
6772 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6774 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6777 * math/libm-test.inc (logb_test_downward): New test to expose
6778 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6781 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6784 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6786 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6787 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6789 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6791 * sysdeps/unix/i386/brk.S: Remove file.
6792 * sysdeps/unix/i386/dl-brk.S: Likewise.
6793 * sysdeps/unix/i386/pipe.S: Likewise.
6794 * sysdeps/unix/i386/sigreturn.S: Likewise.
6795 * sysdeps/unix/i386/syscall.S: Likewise.
6796 * sysdeps/unix/i386/vfork.S: Likewise.
6797 * sysdeps/unix/i386/wait.S: Likewise.
6799 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6800 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6802 * configure.in (arm*-none*): Do not allow without
6803 --enable-hacker-mode.
6804 (netbsd*): Remove case setting base_os.
6805 (386bsd*): Likewise.
6806 (freebsd*): Likewise.
6810 (ultrix*): Likewise.
6811 (newsos*): Likewise.
6821 (solaris[2-9]*): Likewise.
6823 * configure: Regenerated.
6825 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6828 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6829 overflow or cancellation in calculating denominator.
6830 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6832 down expression to avoid unexpected rounding in newer GCCs.
6833 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6835 2012-04-26 David S. Miller <davem@davemloft.net>
6837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6838 long-double compat symbols.
6839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6853 2012-04-25 David S. Miller <davem@davemloft.net>
6855 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6856 HWCAP_* values only after the memory barriers have been defined.
6857 (atomic_full_barrier): Define.
6858 (atomic_read_barrier): Define.
6859 (atomic_write_barrier): Define.
6861 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6863 * shlib-versions: Add libgcc_s version information.
6864 * sysdeps/generic/libgcc_s.h: Remove.
6865 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6867 * sysdeps/gnu/unwind-resume.c: Likewise.
6868 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6870 2012-04-25 David S. Miller <davem@davemloft.net>
6872 * sysdeps/unix/sparc/brk.S: Delete.
6873 * sysdeps/unix/sparc/dl-brk.S: Delete.
6874 * sysdeps/unix/sparc/pipe.S: Delete.
6875 * sysdeps/unix/sparc/sysdep.S: Delete.
6876 * sysdeps/unix/sparc/sysdep.h: Delete.
6877 * sysdeps/unix/sparc/vfork.S: Delete.
6878 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6879 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6880 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6881 ret_ERRVAL, r0, r1, MOVE): Define.
6882 (JUMPTARGET): Remove.
6883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6884 sysdeps/unix/sparc/sysdep.h
6885 (ENTRY, END): Remove.
6886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6888 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6890 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6891 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6894 * timezone/README: Update upstream location and email address for
6896 * timezone/zdump.c: Update from tzcode 2012b.
6897 * timezone/zic.c: Likewise.
6899 * configure.in (libc_cv_as_needed): Remove test.
6900 * configure: Regenerated.
6901 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6902 conditional definition.
6903 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6904 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6905 * config.make.in (have-as-needed): Remove variable.
6907 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6908 Paul Pluzhnikov <ppluzhnikov@google.com>
6910 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6913 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6915 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6916 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6917 * sysdeps/sh/strlen.S: Likewise.
6919 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6921 * sysdeps/unix/fork.S: Remove file.
6922 * sysdeps/unix/i386/fork.S: Likewise.
6923 * sysdeps/unix/sparc/fork.S: Likewise.
6925 * sysdeps/unix/system.c: Remove file.
6926 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6928 * sysdeps/unix/getegid.S: Remove file.
6929 * sysdeps/unix/geteuid.S: Likewise.
6931 2012-04-24 Roland McGrath <roland@hack.frob.com>
6933 * scripts/check-localplt.awk: New file.
6934 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6936 * scripts/data/localplt-generic.data: Add a comment.
6938 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6939 NODE when __dir_mkfile failed.
6940 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6941 Reported by Ludovic Courtès <ludo@gnu.org>.
6943 2012-04-24 Andreas Jaeger <aj@suse.de>
6945 * Makerules (common-clean): Also remove gen-as-const-headers
6948 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6950 * Makerules (native-compile): Do not change working directory for
6951 build. Use $(OUTPUT_OPTION) in command.
6952 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6954 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6957 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6958 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6959 * math/libm-test.inc (floor_test): Add more tests.
6960 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6962 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6964 * sysdeps/unix/getdents.c: Remove file.
6965 * sysdeps/unix/sysv/getdents.c: Likewise.
6966 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6968 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6969 sysdeps/unix/mman/syscalls.list.
6971 (mprotect): Likewise.
6974 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6975 * sysdeps/unix/mman/syscalls.list: Remove.
6976 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6978 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6979 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6980 * configure: Regenerated.
6981 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6983 * config.make.in (libgcc_s_suffix): Remove variable.
6985 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6987 * sysdeps/unix/sysv/gethostname.c: Move to ...
6988 * sysdeps/posix/gethostname.c: ... here.
6990 * sysdeps/unix/execve.S: Remove file.
6992 * sysdeps/unix/_exit.S: Remove file.
6994 2012-04-23 Andreas Jaeger <aj@suse.de>
6997 * manual/Makefile: Remove make dist support, there's no
6998 need for a stand-alone documentation tar ball.
6999 (TEXI2DVI): Define always, it's not in Makeconfig.
7003 (glibc-doc-$(edition).tar): Removed
7007 (ETAGS): Remove, it's in Makeconfig.
7008 (move-if-change): Remove, it's in Makeconfig.
7010 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7013 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7014 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7015 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7016 (strtod_l, strtof_l, strtold_l): Remove __wur.
7017 It is not necessarily an error to ignore strtol's return value.
7018 One can reliably look at the stored endptr to decide whether
7019 the number had valid syntax.
7021 2012-04-21 Andreas Jaeger <aj@suse.de>
7024 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7026 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7028 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7029 * sysdeps/unix/sysv/Versions: Remove file.
7031 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7036 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7039 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7040 version from __vm86.
7042 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7044 * sysdeps/unix/common/lxstat.c: Remove file.
7045 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7047 * sysdeps/unix/sysv/Makefile: Remove file.
7049 * sysdeps/unix/sysv/direct.h: Remove file.
7051 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7052 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7053 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7054 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7055 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7056 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7057 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7059 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7061 * sysdeps/unix/xmknod.c: Remove file.
7062 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7064 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7066 * sysdeps/unix/sysv/i386/time.S: Remove file.
7068 * sysdeps/unix/fxstat.c: Remove file.
7069 * sysdeps/unix/xstat.c: Likewise.
7070 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7072 * sysdeps/unix/sysv/sigaction.c: Remove file.
7074 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7075 (sysdep_headers): Remove variable.
7076 [termio.h not in sysdep_headers] (generated): Likewise.
7077 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7078 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7079 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7080 * sysdeps/unix/sysv/tcflow.c: Likewise.
7081 * sysdeps/unix/sysv/tcflush.c: Likewise.
7082 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7083 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7084 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7085 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7086 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7088 * sysdeps/unix/siglist.c: Remove file.
7090 * sysdeps/unix/getppid.S: Remove file.
7092 * sysdeps/unix/mkdir.c: Remove file.
7093 * sysdeps/unix/rmdir.c: Likewise.
7095 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7097 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7099 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7100 errlist-compat value.
7102 2012-04-18 David S. Miller <davem@davemloft.net>
7104 * sysdeps/generic/memcopy.h (reg_char): Delete.
7105 * debug/strcat_chk.c: Use char, not reg_char.
7106 * debug/strcpy_chk.c: Likewise.
7107 * debug/strncat_chk.c: Likewise.
7108 * debug/strncpy_chk.c: Likewise.
7109 * string/memchr.c: Likewise.
7110 * string/memrchr.c: Likewise.
7111 * string/rawmemchr.c: Likewise.
7112 * string/strcat.c: Likewise.
7113 * string/strchr.c: Likewise.
7114 * string/strchrnul.c: Likewise.
7115 * string/strcmp.c: Likewise.
7116 * string/strcpy.c: Likewise.
7117 * string/strncat.c: Likewise.
7118 * string/strncmp.c: Likewise.
7119 * string/strncpy.c: Likewise.
7121 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7123 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7124 __builtin_memcopy is called when src and dest ranges are known to not
7127 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7129 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7130 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7131 fwd_align_merge macro call.
7132 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7133 bwd_align_merge macro call.
7134 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7136 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7138 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7139 bwd_align_merge macros.
7140 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7141 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7142 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7144 2012-04-18 David S. Miller <davem@davemloft.net>
7146 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7148 2012-04-18 Andreas Jaeger <aj@suse.de>
7151 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7152 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7153 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7155 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7156 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7157 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7159 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7160 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7161 Adjust for changed ldbl-128 files.
7163 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7164 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7165 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7167 2012-04-17 David S. Miller <davem@davemloft.net>
7169 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7171 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7173 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7174 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7175 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7176 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7177 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7178 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7180 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7183 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7184 * math/libm-test.inc: Add ilogb errno and exception tests.
7185 * math/w_ilogb.c: New file: ilogb wrapper.
7186 * math/w_ilogbf.c: New file: ilogbf wrapper.
7187 * math/w_ilogbl.c: New file: ilogbl wrapper.
7188 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7189 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7190 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7191 exception being thrown with 0.0 as argument.
7192 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7193 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7194 exception being thrown with 0.0 as argument.
7195 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7196 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7197 exception being thrown with 0.0 as argument.
7198 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7199 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7200 exception being thrown with 0.0 as argument.
7201 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7202 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7203 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7204 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7205 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7206 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7207 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7208 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7209 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7211 2012-04-17 Petr Baudis <pasky@ucw.cz>
7213 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7216 2012-04-16 Marek Polacek <polacek@redhat.com>
7218 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7220 2012-04-16 Marek Polacek <polacek@redhat.com>
7222 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7223 operands of fdivp instruction.
7225 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7227 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7228 * elf/tst-auditmod3b.c: Likewise.
7229 * elf/tst-auditmod4b.c: Likewise.
7230 * elf/tst-auditmod5b.c: Likewise.
7231 * elf/tst-auditmod6b.c: Likewise.
7232 * elf/tst-auditmod6c.c: Likewise.
7233 * elf/tst-auditmod7b.c: Likewise.
7234 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7235 * sysdeps/x86_64/preconfigure.in: Likewise.
7236 * sysdeps/x86_64/preconfigure: Regenerated.
7238 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7240 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7243 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7246 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7248 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7251 * locale/iso-639.def: Fix gl language name. Spotted by
7254 2012-04-12 Roland McGrath <roland@hack.frob.com>
7257 * libio/libio.h (__io_write_fn): Update comment.
7259 2012-04-12 Petr Baudis <pasky@ucw.cz>
7262 * stdio.texi (Hook Functions): The user provided writer function
7263 is not allowed to return -1.
7265 2012-04-11 David S. Miller <davem@davemloft.net>
7267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7269 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7271 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7272 Add a leading slash to rtkaio.
7274 2012-04-11 Jim Meyering <meyering@redhat.com>
7277 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7278 It is not necessarily an error to ignore fwrite's return
7279 value. One can reliably use ferror to test for errors after
7282 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7284 * bits/types.h (__snseconds_t): New type.
7285 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7287 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7289 (__SNSECONDS_T_TYPE): Likewise.
7290 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7291 (__SNSECONDS_T_TYPE): Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7293 (__SNSECONDS_T_TYPE): Likewise.
7295 2012-04-10 Andreas Jaeger <aj@suse.de>
7298 * manual/time.texi (Processor Time): Return type of times is
7299 elapsed real time since an arbitrary point in the past.
7300 (CPU Time): Move CLK_TCK from here...
7301 (Processor Time): ...to here. Correct description.
7302 * manual/conf.texi (Constants for Sysconf): Correct description of
7305 2012-04-10 David S. Miller <davem@davemloft.net>
7308 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7309 where the is a gap between DT_REL(A) and DT_JMPREL.
7311 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7313 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7314 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7315 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7317 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7319 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7320 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7321 (dl_main): Handle --inhibit-cache.
7322 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7324 * elf/dl-load.c (_dl_map_object): Use it.
7325 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7327 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7330 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7331 (__ieee754_powl): Saturate large exponents rather than testing for
7332 overflow of y*log2(x).
7333 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7334 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7338 * math/s_ctan.c: Include <float.h>.
7339 (__ctan): Avoid internal overflow or cancellation in calculating
7341 * math/s_ctanf.c: Likewise.
7342 * math/s_ctanl.c: Likewise.
7343 * math/s_ctanh.c: Likewise.
7344 * math/s_ctanhf.c: Likewise.
7345 * math/s_ctanhl.c: Likewise.
7346 * math/libm-test.inc (ctan_test): Add more tests.
7347 (ctanh_test): Likewise.
7348 * sysdeps/i386/fpu/libm-test-ulps: Update.
7349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7351 2012-04-09 Andreas Jaeger <aj@suse.de>
7354 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7355 is an optional BSD extension.
7358 * manual/stdio.texi (Opening Streams): Document additional fopen
7361 2012-04-09 Roland McGrath <roland@hack.frob.com>
7363 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7364 %eax without telling the compiler.
7366 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7369 * manual/install.texi: Use sourceware.org.
7371 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7374 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7375 (__ieee754_pow): Generate overflow and underflow using huge*huge
7376 and tiny*tiny rather than just returning constant infinity or zero
7377 for large exponents.
7378 * math/libm-test.inc (pow_test): Require overflow exceptions for
7379 applicable cases of large exponents.
7382 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7383 (__ieee754_pow): Use iterative multiplication algorithm only for
7384 integer exponents with absolute value below 1024. Check for odd
7385 integer exponents when using algorithm for real exponents.
7386 * math/libm-test.inc (pow_test): Add more tests.
7387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7389 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7392 * math/libm-test.inc (exp_test): Do not allow overflow exception
7395 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7398 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7399 instead of __kernel_standard_f.
7401 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7403 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7404 * sysdeps/x86_64/memset_chk.S: Likewise.
7406 2012-04-08 Andreas Jaeger <aj@suse.de>
7409 * manual/startup.texi (Environment Access): Describe return value
7410 for putenv and setenv.
7413 * manual/filesys.texi (Directory Entries): Add description for
7417 * manual/filesys.texi (Directory Entries): Clarify that it's file
7418 system not operating system in the description of DT_UNKNOWN.
7421 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7423 2012-04-08 Stephen Compall <s11@member.fsf.org>
7426 * manual/llio.texi (Opening and Closing Files): Add cross
7427 reference to explain mode argument.
7429 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7431 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7432 * sysdeps/x86_64/memset_chk.S: Likewise.
7434 2012-04-07 David S. Miller <davem@davemloft.net>
7436 * elf/elf.h (R_SPARC_WDISP10): Define.
7437 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7440 R_SPARC_SIZE64 and R_SPARC_H34.
7442 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7444 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7445 conditions and remove no longer applicable assertion.
7447 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7449 * bits/byteswap.h: Include <features.h>.
7450 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7451 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7453 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7455 * bits/byteswap.h (__bswap_16): Removed.
7456 Include <bits/byteswap-16.h> to get __bswap_16.
7457 * sysdeps/i386/bits/byteswap.h: Likewise.
7458 * sysdeps/s390/bits/byteswap.h: Likewise.
7459 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7460 * bits/byteswap-16.h: New file.
7461 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7462 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7463 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7464 * string/Makefile (headers): Add bits/byteswap-16.h.
7466 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7469 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7471 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7472 * nss/tst-nss-static.c: New.
7474 2012-04-06 Robert Millan <rmh@gnu.org>
7477 * manual/llio.texi (File Position Primitive): lseek
7478 refers to WHENCE when it really means OFFSET.
7480 2012-04-06 Andreas Jaeger <aj@suse.de>
7482 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7483 strncmp declarations.
7485 * abilist/libc.abilist: Add __poll and __ppoll.
7487 2012-04-05 David S. Miller <davem@davemloft.net>
7489 * scripts/check-local-headers.sh: Accept a host triplet in the
7490 path matched by the exclude regexp.
7492 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7494 * sysdeps/powerpc/powerpc32/dl-machine.h
7495 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7496 * sysdeps/s390/s390-32/dl-machine.h
7497 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7498 * sysdeps/sparc/sparc32/dl-machine.h
7499 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7500 * sysdeps/sparc/sparc64/dl-machine.h
7501 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7503 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7505 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7506 undefined symbol errors.
7508 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7511 2012-04-05 Michael Matz <matz@suse.de>
7514 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7516 2012-04-05 Andreas Jaeger <aj@suse.de>
7519 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7522 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7524 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7525 which ROUND is no valid rounding mode.
7527 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7529 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7531 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7533 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7535 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7536 an exception using FPU order intentionally.
7538 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7540 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7541 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7542 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7543 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7545 2012-04-05 Simon Josefsson <simon@josefsson.org>
7548 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7549 EINVAL when BUFLEN is too smal.
7551 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7554 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7555 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7557 2012-04-03 Andreas Jaeger <aj@suse.de>
7560 * manual/setjmp.texi (System V contexts): Fix sentence.
7563 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7564 New macro for this case.
7565 [!__GNUC__] (__bswap_64): New inline function for this case.
7566 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7567 * bits/byteswap.h: Likewise.
7568 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7569 ull, guard with __GLIBC_HAVE_LONG_LONG.
7571 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7572 __GLIBC_HAVE_LONG_LONG.
7574 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7575 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7577 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7580 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7581 inptr and inend, rather than using last_ch.
7583 2012-04-02 David S. Miller <davem@davemloft.net>
7585 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7586 * stdio-common/printf-parse.h (read_int): Change return type to
7587 'int', return -1 on INT_MAX overflow.
7588 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7589 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7590 overflows INT_MAX. Check for overflow of in-format-string precision
7591 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7592 SIZE_MAX not INT_MAX for integer overflow test.
7593 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7594 skip the construct in the format string but do not record anything.
7595 * stdio-common/bug22.c: Adjust to test both width/prevision
7596 INT_MAX overflow as well as total length INT_MAX overflow. Check
7597 explicitly for proper errno values.
7599 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7601 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7603 * string/test-strcmp.c [! WIDE]: Likewise.
7604 * time/tst-mktime2.c: Likewise for INT_MAX.
7605 * string/test-string.h: #include <sys/param.h> for MIN.
7607 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7608 * sysdeps/i386/init-first.c (init): Likewise.
7609 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7610 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7611 * sysdeps/sh/init-first.c (init): Likewise.
7613 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7615 * po/ru.po: Update from translation team.
7616 * po/vi.po: Likewise.
7618 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7620 * resolv/nss_dns/dns-host.c: Merge copyright years.
7622 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7624 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7625 Optimize memcpy with prefetch if
7626 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7627 src, dst pointers have unequal 16 byte alignments.
7629 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7632 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7633 from a CNAME entry and return the minimum ttl for the query.
7634 (gaih_getanswer_slice): Likewise.
7636 2012-03-30 Jeff Law <law@redhat.com>
7638 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7640 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7641 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7643 * resolv/nss_dns/dns-host.c: Update copyright year.
7645 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7647 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7648 requests to save a system call. Fix check that all bytes are sent.
7650 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7651 comments for sendmmsg.
7653 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7656 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7657 with only 1 character between 0x0041 and 0x01b0.
7658 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7659 * wcsmbs/tst-mbsnrtowcs.c: New file.
7661 2012-03-29 David S. Miller <davem@davemloft.net>
7663 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7664 small copies by hand.
7666 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7669 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7670 _nss_compat_initgroups_dyn): Fall back to malloc/free
7671 for large group memberships.
7673 2012-03-28 David S. Miller <davem@davemloft.net>
7675 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7676 that branches into memcpy.
7677 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7679 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7680 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7681 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7683 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7685 * sysdeps/sparc/mempcpy.S: New file.
7687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7688 the IFUNC routine in the libc case.
7689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7691 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7692 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7693 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7694 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7695 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7696 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7697 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7698 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7700 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7701 loop to 256 bytes instead of 64 bytes and fix test signedness.
7703 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7704 * sysdeps/sparc/sparc32/Makefile: rather than here...
7705 * sysdeps/sparc/sparc64/Makefile: and here.
7707 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7709 * malloc/mallocbug.c: Avoid warnings about unused variables.
7711 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7714 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7715 in the right place. Discard and retry query if response is
7716 larger than input buffer size.
7718 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7723 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7724 x for large integer exponent.
7725 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7726 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7727 sign of result as needed afterwards.
7728 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7729 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7730 result for underflowing pow the same as for overflow.
7731 (__kernel_standard_l): Handle powl overflow and underflow here
7732 rather than calling __kernel_standard.
7733 * math/libm-test.inc (pow_test): Add more tests.
7748 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7749 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7750 (__kernel_standard_l): New function.
7751 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7753 * math/w_acosl.c (__acosl): Likewise.
7754 * math/w_asinl.c (__asinl): Likewise.
7755 * math/w_atan2l.c (__atan2l): Likewise.
7756 * math/w_atanhl.c (__atanhl): Likewise.
7757 * math/w_coshl.c (__coshl): Likewise.
7758 * math/w_exp10l.c (__exp10l): Likewise.
7759 * math/w_exp2l.c (__exp2l): Likewise.
7760 * math/w_fmodl.c (__fmodl): Likewise.
7761 * math/w_hypotl.c (__hypotl): Likewise.
7762 * math/w_j0l.c (__j0l, __y0l): Likewise.
7763 * math/w_j1l.c (__j1l, __y1l): Likewise.
7764 * math/w_jnl.c (__jnl, __ynl): Likewise.
7765 * math/w_lgammal.c (__lgammal): Likewise.
7766 * math/w_log10l.c (__log10l): Likewise.
7767 * math/w_log2l.c (__log2l): Likewise.
7768 * math/w_logl.c (__logl): Likewise.
7769 * math/w_powl.c (__powl): Likewise.
7770 * math/w_remainderl.c (__remainderl): Likewise.
7771 * math/w_scalbl.c (sysv_scalbl): Likewise.
7772 * math/w_sinhl.c (__sinhl): Likewise.
7773 * math/w_sqrtl.c (__sqrtl): Likewise.
7774 * math/w_tgammal.c (__tgammal): Likewise.
7775 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7776 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7777 * math/libm-test.inc (acos_test): Add more tests.
7778 (acosh_test): Likewise.
7779 (asin_test): Likewise.
7780 (atanh_test): Likewise.
7781 (exp_test): Likewise.
7782 (exp10_test): Likewise.
7783 (exp2_test): Likewise.
7784 (expm1_test): Likewise.
7785 (lgamma_test): Likewise.
7786 (log_test): Likewise.
7787 (log10_test): Likewise.
7788 (log1p_test): Likewise.
7789 (log2_test): Likewise.
7790 (pow_test): Do not allow some spurious overflow exceptions.
7791 (sqrt_test): Add more tests.
7792 (tgamma_test): Likewise.
7793 (y0_test): Likewise.
7794 (y1_test): Likewise.
7795 (yn_test): Likewise.
7797 2012-03-27 Anton Blanchard <anton@samba.org>
7799 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7801 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7802 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7803 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7805 2012-03-27 David S. Miller <davem@davemloft.net>
7807 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7809 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7812 2012-03-27 Andreas Jaeger <aj@suse.de>
7814 * sysdeps/x86_64/elf/configure.in: Moved to ...
7815 * sysdeps/x86_64/configure.in: ... here.
7816 * sysdeps/x86_64/elf/start.S: Moved to ...
7817 * sysdeps/x86_64/start.S: ... here.
7818 * sysdeps/x86_64/elf/configure: Delete.
7820 * sysdeps/x86_64/configure.in: Merge contents from
7821 sysdeps/i386/configure.in (without i686 check).
7823 * sysdeps/i386/elf/Versions: Merge into ...
7824 * sysdeps/i386/Versions: ... this.
7825 * sysdeps/i386/elf/Versions: Delete file.
7826 * sysdeps/i386/elf/start.S: Moved to ...
7827 * sysdeps/i386/start.S: ...here.
7828 * sysdeps/i386/elf/configure.in: Merge into...
7829 * sysdeps/i386/configure.in: ...here.
7830 * sysdeps/i386/elf/configure.in: Delete file.
7831 * sysdeps/i386/elf/configure: Delete file.
7833 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7834 * debug/backtracesyms.c: ... here.
7835 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7836 * debug/backtracesymsfd.c: ... here.
7837 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7838 * sysdeps/generic/ifunc-sel.h: ... here.
7840 * sysdeps/unix/i386/start.c: Delete file.
7841 * sysdeps/unix/sparc/start.c: Delete file.
7842 * sysdeps/unix/start.c: Delete file.
7844 * sysdeps/sh/elf/configure.in: Moved to ...
7845 * sysdeps/sh/configure.in: ... here.
7846 * sysdeps/sh/elf/start.S: Moved to ...
7847 * sysdeps/sh/start.S: ... here.
7848 * sysdeps/sh/elf/configure: Delete file.
7850 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7851 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7852 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7853 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7854 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7855 * sysdeps/powerpc/powerpc64/start.S: here.
7856 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7857 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7858 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7859 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7860 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7862 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7863 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7864 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7865 * sysdeps/powerpc/powerpc32/start.S: ... here.
7866 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7867 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7868 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7870 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7871 * sysdeps/powerpc/ifunc-sel.h: ... here.
7872 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7873 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7875 * sysdeps/sparc/elf/configure.in: Moved to ...
7876 * sysdeps/sparc/configure.in: ... here.
7877 * sysdeps/sparc/elf/configure: Delete file.
7878 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7879 * sysdeps/sparc/sparc32/start.S: ... here.
7880 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7881 * sysdeps/sparc/sparc64/start.S: ... here.
7882 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7883 * sysdeps/sparc/sparc32/Makefile: ... this.
7884 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7885 * sysdeps/sparc/sparc64/Makefile: ... this.
7887 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7888 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7889 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7890 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7891 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7892 * sysdeps/s390/s390-32/setjmp.S: ... here.
7893 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7894 * sysdeps/s390/s390-32/configure.in: ... here.
7895 * sysdeps/s390/s390-32/elf/configure: Delete file.
7896 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7897 * sysdeps/s390/s390-32/start.S: ... here.
7899 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7900 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7901 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7902 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7903 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7904 * sysdeps/s390/s390-64/setjmp.S: ... here.
7905 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7906 * sysdeps/s390/s390-64/configure.in: ... here
7907 * sysdeps/s390/s390-64/elf/configure: Delete file.
7908 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7909 * sysdeps/s390/s390-64/start.S: ... here.
7910 * sysdeps/s390/s390-64/elf/configure: Delete.
7912 * configure.in: Remove support for elf directories in sysdeps.
7914 * configure: Regenerated.
7915 * sysdeps/i386/configure: Regenerated.
7916 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7917 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7918 * sysdeps/s390/s390-32/configure: Regenerated.
7919 * sysdeps/s390/s390-64/configure: Regenerated.
7920 * sysdeps/sh/configure: Regenerated.
7921 * sysdeps/sparc/configure: Regenerated.
7922 * sysdeps/x86_64/configure: Regenerated.
7924 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7928 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7929 denormal result into account.
7931 2012-03-25 Roland McGrath <roland@hack.frob.com>
7933 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7934 Reported by Allan McRae <allan@archlinux.org>.
7936 2012-03-23 Jeff Law <law@redhat.com>
7938 * nss/getnssent.c (__nss_getent): Fix typo.
7940 2012-03-23 David S. Miller <davem@davemloft.net>
7942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7944 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7946 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7947 to pad to uint64_t for each field.
7948 (dl_tls_index): Replace unsigned long with uint64_t.
7950 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7951 Paul Pluzhnikov <ppluzhnikov@google.com>
7954 * grp/Makefile (otherlibs): Don't set it.
7955 * inet/Makefile (otherlibs): Likewise.
7956 * login/Makefile (otherlibs): Likewise.
7957 * nscd/Makefile (otherlibs): Likewise.
7958 * posix/Makefile (otherlibs): Likewise.
7959 * pwd/Makefile (otherlibs): Likewise.
7960 * rt/Makefile (otherlibs): Likewise.
7961 * sunrpc/Makefile (otherlibs): Likewise.
7962 * nss/Makefile (otherlibs): Likewise.
7963 Add libnss_files to routines and static-only-routines.
7964 ($(objpfx)getent): Remove rule.
7965 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7966 static-only-routines.
7968 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7971 * math/s_cexp.c: Include <float.h>.
7972 (__cexp): Handle exp result overflowing not necessarily
7973 overflowing both real and imaginary parts of result.
7974 * math/s_cexpf.c: Likewise.
7975 * math/s_cexpl.c: Likewise.
7976 * math/libm-test.inc (cexp_test): Add more tests.
7977 * sysdeps/i386/fpu/libm-test-ulps: Update.
7978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7980 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7982 * include/link.h (ELFW): New macro.
7983 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7984 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7986 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7988 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7991 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7993 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7995 (struct La_x32_retval): Likewise.
7997 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7999 * sysdeps/x86_64/preconfigure.in: New file.
8000 * sysdeps/x86_64/preconfigure: New generated file.
8002 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8005 * math/e_exp2l.c: Include <float.h>.
8006 (__ieee754_exp2l): Handle overflow and underflow cases
8007 separately. Only pass fractional part of argument to
8009 * math/libm-test.inc (exp2_test): Add more tests.
8011 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8012 negating x to take absolute value.
8013 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8015 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8016 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8018 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8019 computing low part if x was negated.
8020 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8022 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8024 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8026 (pltexit): Cast int_retval to ptrdiff_t.
8027 * elf/tst-auditmod3b.c: Likewise.
8028 * elf/tst-auditmod4b.c: Likewise.
8029 * elf/tst-auditmod5b.c: Likewise.
8030 * elf/tst-auditmod6b.c: Likewise.
8031 * elf/tst-auditmod6c.c: Likewise.
8032 * elf/tst-auditmod7b.c: Likewise.
8034 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8035 and x32_gnu_pltexit.
8037 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8039 (La_x32_regs): New macro.
8040 (La_x32_retval): Likewise.
8041 (la_x32_gnu_pltenter): New function prototype.
8042 (la_x32_gnu_pltexit): Likewise.
8044 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8046 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8051 * configure.in (libc_cv_cc_nofma): Check for option to disable
8052 generation of FMA instructions.
8053 * configure: Regenerate.
8054 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8055 * sysdeps/ieee754/dbl-64/Makefile: New file.
8056 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8057 Remove brandred-fma4.
8058 (CFLAGS-brandred-fma4.c): Remove.
8059 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8060 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8062 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8065 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8067 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8068 LLONG_MAX != LONG_MAX.
8069 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8070 (_fitoa_word): Likewise.
8071 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8072 LLONG_MAX != LONG_MAX.
8073 * stdio-common/_itowa.h: Include <_itoa.h>.
8074 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8075 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8076 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8077 only if not defined.
8078 (_ITOA_WORD_TYPE): Likewise.
8079 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8080 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8082 2012-03-21 David S. Miller <davem@davemloft.net>
8084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8086 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8088 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8089 of x86_64 when setting libc_cv_slibdir, libdir and
8091 * sysdeps/unix/sysv/linux/configure: Regenerated.
8093 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8095 * manual/lang.texi (Old Varargs): Remove section.
8096 (How Variadic): Update menu.
8097 (va_start): Do not mention varargs.h.
8099 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8100 Joseph Myers <joseph@codesourcery.com>
8102 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8104 * configure: Regenerated.
8106 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8108 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8109 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8112 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8115 * Makefile (files-for-dist): Remove NOTES.
8116 (NOTES): Remove rule.
8117 * README: Don't refer to NOTES.
8118 * manual/creature.texi: Don't include macros.texi.
8119 * manual/intro.texi (creature.texi): Remove comment referring to
8122 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8123 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8124 * configure: Regenerated.
8125 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8127 (libc_cv_as_i686): Likewise.
8128 (libc_cv_cc_avx): Likewise.
8129 (libc_cv_cc_sse2avx): Likewise.
8130 (libc_cv_cc_fma4): Likewise.
8131 (libc_cv_cc_novzeroupper): Likewise.
8132 * sysdeps/i386/configure: Regenerated.
8135 * sysdeps/i386/fpu/s_cexp.S: Remove.
8136 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8137 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8138 * math/libm-test.inc (cexp_test): Add more tests.
8139 * sysdeps/i386/fpu/libm-test-ulps: Update.
8140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8142 2012-03-21 Allan McRae <allan@archlinux.org>
8144 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8146 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8149 * math/w_exp2.c: Do not include <float.h>.
8150 (o_threshold, u_threshold): Remove.
8151 (__exp2): Calculate result before checking finiteness and calling
8153 * math/w_exp2f.c: Likewise.
8154 * math/w_exp2l.c: Likewise.
8155 * math/libm-test.inc (exp2_test): Require overflow exception for
8159 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8160 range of signed 64-bit integers before using fistpll. Remove
8161 checks for whether integers fit in mantissa bits.
8162 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8163 the range of signed 32-bit integers before using fistpl. Remove
8164 checks for whether integers fit in mantissa bits.
8165 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8166 (__ieee754_powl): Test for y outside the range of signed 64-bit
8167 integers before using fistpll. Reduce 64-bit values to 63-bit
8169 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8170 divide-by-zero is raised for zero to large negative powers.
8171 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8172 (__ieee754_powl): Test for y outside the range of signed 64-bit
8173 integers before using fistpll. Reduce 64-bit values to 63-bit
8175 * math/libm-test.inc (pow_test): Add more tests.
8177 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8179 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8180 <stdio-common/_itoa.h>.
8181 * debug/segfault.c: Likewise.
8182 * elf/dl-cache.c: Likewise.
8183 * elf/dl-minimal.c: Likewise.
8184 * elf/dl-misc.c: Likewise.
8185 * elf/dl-sysdep.c: Likewise.
8186 * elf/dl-version.c: Likewise.
8187 * elf/rtld.c: Likewise.
8188 * hurd/hurdsock.c: Likewise.
8189 * hurd/lookup-retry.c: Likewise.
8190 * malloc/malloc.c: Likewise.
8191 * malloc/mtrace.c: Likewise.
8192 * nscd/nscd_getgr_r.c: Likewise.
8193 * nscd/nscd_getpw_r.c: Likewise.
8194 * nscd/nscd_getserv_r.c: Likewise.
8195 * posix/getopt_init.c: Likewise.
8196 * posix/wordexp.c: Likewise.
8197 * stdio-common/_itoa.c: Likewise.
8198 * stdio-common/printf_fphex.c: Likewise.
8199 * stdio-common/vfprintf.c: Likewise.
8200 * string/_strerror.c: Likewise.
8201 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8202 * sysdeps/i386/i686/hp-timing.h: Likewise.
8203 * sysdeps/mach/_strerror.c: Likewise.
8204 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8205 * sysdeps/mach/hurd/sethostid.c: Likewise.
8206 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8207 * sysdeps/mach/xpg-strerror.c: Likewise.
8208 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8209 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8210 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8211 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8212 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8213 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8214 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8215 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8216 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8217 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8218 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8219 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8220 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8221 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8222 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8223 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8224 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8225 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8226 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8227 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8228 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8230 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8232 * stdio-common/_itoa.h: Moved to ...
8233 * sysdeps/generic/_itoa.h: Here.
8235 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8237 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8238 instead of "_itoa.h" and "_itowa.h".
8239 * stdio-common/vfprintf.: Likewise.
8241 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8243 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8245 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8246 (__signbit): Likwise.
8250 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8252 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8255 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8257 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8258 OVERFLOW_EXCEPTION_OK.
8259 * math/libm-test.inc ("Philosophy"): Update comment about
8261 (OVERFLOW_EXCEPTION): Define.
8262 (OVERFLOW_EXCEPTION_OK): Likewise.
8263 (INVALID_EXCEPTION_OK): Renumber.
8264 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8265 (IGNORE_ZERO_INF_SIGN): Likewise.
8266 (test_exceptions): Handle FE_OVERFLOW.
8267 (exp10_test): Expect overflow exceptions.
8268 (exp2_test): Likewise.
8269 (expm1_test): Likewise.
8270 (nextafter_test): Likewise.
8271 (pow_test): Likewise.
8272 (scalbn_test): Likewise.
8273 (scalbln_test): Likewise.
8275 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8277 * sysdeps/x86_64/bits/atomic.h
8278 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8280 (atomic_exchange_acq): Likewise.
8281 (__arch_exchange_and_add_body): Likewise.
8282 (__arch_add_body): Likewise.
8283 (atomic_add_negative): Likewise.
8284 (atomic_add_zero): Likewise.
8286 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8288 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8289 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8291 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8293 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8294 Check __x86_64__ instead of __WORDSIZE.
8296 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8298 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8300 2012-03-19 David S. Miller <davem@davemloft.net>
8302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8304 * sysdeps/sparc/fpu/fenv_private.h: New file.
8305 * sysdeps/sparc/fpu/math_private.h: Use it.
8306 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8308 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8309 (libc_feholdexcept_setroundl): Remove.
8310 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8312 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8313 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8315 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8317 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8318 int64_t instead of long int.
8319 (INSERT_WORDS64): Likwise.
8321 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8323 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8324 _Unwind_GetCFA return to _Unwind_Ptr first.
8326 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8329 * math/s_clog.c: Include <float.h>.
8330 (__clog): Scale large or subnormal inputs.
8331 * math/s_clogf.c: Likewise.
8332 * math/s_clogl.c: Likewise.
8333 * math/s_clog10.c: Include <float.h>.
8334 (M_LOG10_2): Define.
8335 (__clog10): Scale large or subnormal inputs.
8336 * math/s_clog10f.c: Likewise.
8337 * math/s_clog10l.c: Likewise.
8338 * math/libm-test.inc (clog_test): Add more tests.
8339 (clog10_test): Likewise.
8340 * sysdeps/i386/fpu/libm-test-ulps: Update.
8341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8344 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8346 * math/libm-test.inc (atan2_test): Add another test.
8348 * Makerules (common-objdir-compile): Remove.
8349 * sysdeps/unix/Makefile (config-generated): Do not add
8350 $(unix-generated) to variable.
8351 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8352 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8354 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8356 [generic bits/local_lim.h] (before-compile): Do not append to
8358 [generic bits/local_lim.h] (common-generated): Likewise.
8359 [generic sys/param.h] (before-compile): Do not append to variable.
8360 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8361 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8362 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8363 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8365 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8366 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8367 [generic sys/param.h] ($(addprefix
8368 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8369 [generic sys/param.h] (common-generated): Do not append to
8371 [generic sys/param.h] (sysdep_headers): Likewise.
8372 [generic bits/errno.h] (before-compile): Do not append to
8374 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8376 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8377 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8378 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8379 [generic bits/errno.h] (common-generated): Do not append to
8381 [generic bits/ioctls.h] (before-compile): Do not append to
8383 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8385 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8386 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8387 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8389 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8390 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8391 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8392 [generic bits/ioctls.h] (common-generated): Do not append to
8394 [generic sys/syscall.h] (syscall.h): Remove variable.
8395 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8397 [generic sys/syscall.h] (before-compile): Do not append to
8399 [generic sys/syscall.h] (common-generated): Likewise.
8400 * sysdeps/unix/errnos-tmpl.c: Remove file.
8401 * sysdeps/unix/errnos.awk: Likewise.
8402 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8403 * sysdeps/unix/ioctls.awk: Likewise.
8404 * sysdeps/unix/mk-local_lim.c: Likewise.
8405 * sysdeps/unix/snarf-ioctls: Likewise.
8407 2012-03-19 Richard Henderson <rth@twiddle.net>
8409 * sysdeps/i386/fpu/fenv_private.h: New file.
8410 * sysdeps/i386/fpu/math_private.h: Use it.
8411 (math_opt_barrier, math_force_eval): Remove.
8412 (libc_feholdexcept_setround_53bit): Remove.
8413 (libc_feupdateenv_53bit): Remove.
8414 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8415 (math_opt_barrier, math_force_eval): Remove.
8416 (libc_feholdexcept): Remove.
8417 (libc_feholdexcept_setround): Remove.
8418 (libc_fetestexcept, libc_fesetenv): Remove.
8419 (libc_feupdateenv_test): Remove.
8420 (libc_feupdateenv, libc_feholdsetround): Remove.
8421 (libc_feresetround): Remove.
8423 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8424 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8426 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8427 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8428 (libc_feupdateenv_testl): New.
8429 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8430 (libc_feupdateenv_testf): New.
8431 (libc_feupdateenv): Use libc_feupdateenv_test.
8432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8433 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8435 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8436 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8437 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8438 (libc_feresetround_noex): New.
8439 (libc_feresetround_noexf): New.
8440 (libc_feresetround_noexl): New.
8441 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8442 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8443 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8444 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8446 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8449 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8450 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8451 SET_RESTORE_ROUND_NOEX.
8452 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8453 SET_RESTORE_ROUND_NOEXF.
8454 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8455 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8456 (libc_feholdsetroundf): New.
8457 (libc_feresetround, libc_feresetroundf): New.
8459 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8460 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8461 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8463 * sysdeps/generic/math_private.h: Include <fenv.h>.
8464 (default_libc_feholdexcept): New.
8465 (default_libc_feholdexcept_setround): New.
8466 (default_libc_fesetenv, default_libc_feupdateenv): New.
8467 (libc_feholdexcept): Only define if undefined.
8468 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8469 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8470 (libc_feholdexcept_setroundl): Likewise.
8471 (libc_feholdexcept_setround_53bit): Likewise.
8472 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8473 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8474 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8475 (libc_feupdateenv_53bit): Likewise.
8476 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8477 (libc_feholdexcept): Convert from macro to inline function.
8478 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8479 (libc_fesetenv, libc_feupdateenv): Likewise.
8481 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8482 not previously defined.
8483 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8484 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8485 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8486 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8487 * sysdeps/ieee754/flt-32/math_private.h: New file.
8488 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8489 math_private.h below SET_FLOAT_WORD.
8490 (__isnan, __isinf_ns, __finite): Remove.
8491 (__isnanf, __isinf_nsf, __finitef): Remove.
8493 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8497 2012-03-17 David S. Miller <davem@davemloft.net>
8500 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8503 2012-03-16 David S. Miller <davem@davemloft.net>
8505 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8509 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8511 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8512 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8513 sysdep_routines when subdir is sysvipc.
8514 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8517 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8519 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8521 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8524 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8526 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8527 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8528 (__lround): Renamed to ...
8529 (__llround): This. Replace long int with long long int.
8530 Define lround functions as aliases of llround functions.
8531 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8533 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8535 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8536 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8537 adresses to uintptr_t. Replace "long int" and "unsigned long
8538 int" with "greg_t" on va_arg.
8540 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8542 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8543 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8545 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8546 Move e_machine check before EI_CLASS check. Handle x32
8547 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8548 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8549 SKIP_EM_IA_64 and include
8550 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8552 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8553 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8554 (add_system_dir): New macro.
8556 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8557 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8559 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8570 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8572 * math/w_j0f.c (j0f): Likewise.
8574 * math/w_j0l.c (__j0l): Likewise.
8576 * math/w_j1.c (j1): Likewise.
8578 * math/w_j1f.c (j1f): Likewise.
8580 * math/w_j1l.c (__j1l): Likewise.
8582 * math/w_jn.c (jn): Likewise.
8584 * math/w_jnf.c (jnf): Likewise.
8586 * math/w_jnl.c (__jnl): Likewise.
8588 * math/libm-test.inc (j0_test): Add more tests.
8589 (j1_test): Likewise.
8590 (jn_test): Likewise. Add trailing semicolon to existing test.
8591 (y0_test): Likewise.
8592 (y1_test): Likewise.
8593 * sysdeps/i386/fpu/libm-test-ulps: Update.
8594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8598 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8599 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8600 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8601 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8602 (__tanl): Set errno for infinite argument.
8603 * sysdeps/i386/fpu/mptan.c: Remove.
8604 * sysdeps/i386/fpu/s_tan.S: Likewise.
8605 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8606 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8607 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8608 * math/libm-test.inc (tan_test): Add more tests and enable more
8609 tests for double and long double.
8610 * sysdeps/i386/fpu/libm-test-ulps: Update.
8611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8613 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8615 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8616 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8618 2012-03-16 Roland McGrath <roland@hack.frob.com>
8620 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8621 * configure.in: Use it for both main tree and add-ons.
8622 * configure: Regenerated.
8624 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8626 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8628 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8630 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8634 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8635 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8636 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8637 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8638 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8640 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8643 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8644 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8645 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8646 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8647 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8648 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8649 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8650 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8651 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8652 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8653 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8654 * math/libm-test.inc (cos_test): Add more tests and enable more
8655 tests for long double.
8656 (sin_test): Likewise.
8657 (sincos_test): Likewise.
8658 * sysdeps/i386/fpu/libm-test-ulps: Update.
8659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8661 2012-03-16 David S. Miller <davem@davemloft.net>
8663 * sysdeps/sparc/fpu/math_private.h: New file.
8665 2012-03-15 David S. Miller <davem@davemloft.net>
8667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8677 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8681 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8682 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8684 * sysdeps/sparc/sparc-ifunc.h: New file.
8685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8723 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8724 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8728 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8730 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8732 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8736 2012-03-15 Andreas Jaeger <aj@suse.de>
8739 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8740 ieee754/flt-32 implementation for sin, cos and sincos.
8741 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8742 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8743 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8744 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8745 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8746 ieee754/flt-32 implementation for tan.
8748 * math/libm-test.inc (cos_test): Enable some large input tests for
8750 (sin_test): Likewise.
8751 (sincos_test): Likewise.
8752 (tan_test): Add tests for large input.
8754 * sysdeps/i386/fpu/libm-test-ulps: Update.
8756 2012-03-15 Andreas Jaeger <aj@suse.de>
8759 * math/libm-test.inc (cos_test): Add more test cases.
8760 (sin_test): Likewise.
8761 (sincos_test): Likewise.
8763 2012-03-15 Andreas Jaeger <aj@suse.de>
8766 * math/libm-test.inc (cos_test): Add a test case for large input
8768 (sin_test): Likewise.
8769 (sincos_test): Likewise.
8771 2012-03-15 Andreas Jaeger <aj@suse.de>,
8772 Joseph Myers <joseph@codesourcery.com>
8775 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8776 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8777 * sysdeps/i386/fpu/branred.c: Likewise.
8778 * sysdeps/i386/fpu/dosincos.c: Likewise.
8779 * sysdeps/i386/fpu/mpa.c: Likewise.
8780 * sysdeps/i386/fpu/s_cos.S: Likewise.
8781 * sysdeps/i386/fpu/s_sin.S: Likewise.
8782 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8783 * sysdeps/i386/fpu/sincos32.c: Likewise.
8785 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8787 (libc_feupdateenv_53bit): Define.
8788 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8790 (libc_feupdateenv_53bit): Define.
8792 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8793 53 bit (without extend i386 double precision).
8795 * math/libm-test.inc (sincos_test): Add tests for large input.
8799 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8801 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8805 2012-03-15 David S. Miller <davem@davemloft.net>
8807 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8808 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8809 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8810 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8835 fmin/fmax sysdep routines.
8836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8838 2012-03-14 David S. Miller <davem@davemloft.net>
8840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8844 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8845 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8861 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8912 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8917 * sysdeps/sparc/configure.in: New file.
8918 * sysdeps/sparc/configure: Generate.
8919 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8920 * configure: Regenerate.
8921 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8922 * config.make.in (have-as-vis3): New.
8923 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8924 available use -Av9d instead of -Av9a.
8925 * sysdeps/sparc/sparc64/Makefile: Likewise.
8926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8941 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8942 fzeros/fnegs to load 0x80000000 into a float register instead of
8944 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8946 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8950 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8951 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8952 ($(inst_includedir)/bits/syscall.h): Remove rule.
8953 ($(objpfx)bits/syscall.d): Include instead of
8954 $(objpfx)syscall-list.d.
8955 (generated): Change syscall-list.h and syscall-list.d to
8956 bits/syscall.h and bits/syscall.d.
8958 2012-03-14 Roland McGrath <roland@hack.frob.com>
8961 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8963 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8966 * math/s_csqrt.c: Include <float.h>.
8967 (__csqrt): Scale large or subnormal inputs.
8968 * math/s_csqrtf.c: Likewise.
8969 * math/s_csqrtl.c: Likewise.
8970 * math/libm-test.inc (csqrt_test): Add more tests.
8971 * sysdeps/i386/fpu/libm-test-ulps: Update.
8972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8975 * math/libm-test.inc (hypot_test): Add more tests.
8977 2012-03-13 David S. Miller <davem@davemloft.net>
8980 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8981 double-precision for the calculation instead of scaling.
8983 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8985 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8986 manipulate bits before adding and subtracting TWO52[sx].
8987 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8988 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8990 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8992 2012-03-13 David S. Miller <davem@davemloft.net>
8994 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8995 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8997 rtld-global-offsets.h
8998 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9000 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9003 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9005 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9006 'err' in the ifdef scope in which it is actually used.
9008 * nss/nss_db/db-init.c: Include string.h
9010 2012-03-12 David S. Miller <davem@davemloft.net>
9012 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9013 masking out of the most significant byte of random value used.
9014 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9015 Fix coding style in previous change.
9017 * sysdeps/unix/sysv/linux/kernel-features.h
9018 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9019 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9021 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9024 2012-03-11 David S. Miller <davem@davemloft.net>
9026 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9027 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9028 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9029 for 'resultvar' otherwise things get truncated on 64-bit.
9031 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9032 Fix masking out of the most significant byte of random value used.
9034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9036 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9040 2012-03-09 David S. Miller <davem@davemloft.net>
9042 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9043 variables with appropriate CPP guards.
9044 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9045 frame pointer, not the stack pointer. Correct layout comments. Fix test
9046 on resulting framesize and the management of the outregs buffer for pltexit.
9047 Preserve floating point return values across _dl_call_pltexit call.
9048 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9049 framesize and the management of the outregs buffer for pltexit.
9050 Preserve floating point return values across _dl_call_pltexit
9052 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9053 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9054 (print_exit): Fix format string for return register value.
9056 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9058 * sunrpc/Makefile (others): Add rpcgen.
9059 ($(objpfx)rpcgen): Remove special build rule and dependency on
9061 * sunrpc/rpcgen.c: New file.
9063 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9066 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9067 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9068 * sysdeps/i386/crti.S: Likewise.
9069 * sysdeps/i386/crtn.S: Likewise.
9070 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9071 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9072 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9073 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9074 * sysdeps/sh/crti.S: Likewise.
9075 * sysdeps/sh/crtn.S: Likewise.
9076 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9079 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9081 * locale/programs/locfile-kw.gperf: Likewise.
9082 * locale/programs/charmap-kw.h: Regenerated.
9083 * locale/programs/locfile-kw.h: Likewise.
9086 * intl/plural.y: Replace FSF snail mail address with URL.
9087 * intl/plural.c: Regenerated.
9089 2012-03-09 Richard Henderson <rth@twiddle.net>
9091 * include/math_private.h: Remove file.
9092 * math/math_private.h: Move file ...
9093 * sysdeps/generic/math_private.h: ... here.
9095 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9096 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9097 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9099 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9100 and <math_private.h>.
9101 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9102 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9103 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9104 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9105 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9106 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9107 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9109 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9110 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9112 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9113 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9189 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9190 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9191 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9192 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9193 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9194 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9195 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9196 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9197 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9198 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9199 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9200 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9201 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9202 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9203 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9204 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9205 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9206 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9207 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9208 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9209 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9211 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9212 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9213 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9214 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9215 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9216 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9217 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9218 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9219 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9220 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9221 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9222 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9223 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9224 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9225 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9226 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9227 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9228 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9229 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9230 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9231 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9232 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9233 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9234 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9235 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9236 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9237 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9238 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9239 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9240 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9241 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9242 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9243 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9244 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9245 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9246 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9247 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9248 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9249 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9250 * sysdeps/ieee754/k_standard.c: Likewise.
9251 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9252 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9254 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9255 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9256 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9257 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9258 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9259 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9260 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9263 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9264 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9265 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9273 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9275 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9276 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9278 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9279 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9283 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9284 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9289 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9292 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9294 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9301 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9302 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9311 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9314 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9317 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9318 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9333 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9334 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9348 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9354 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9356 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9357 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9358 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9359 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9360 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9361 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9362 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9363 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9364 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9365 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9366 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9368 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9370 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9371 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9373 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9374 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9375 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9376 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9378 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9379 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9380 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9381 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9382 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9383 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9385 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9386 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9387 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9388 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9389 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9390 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9391 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9392 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9393 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9394 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9398 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9399 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9400 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9401 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9404 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9405 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9411 * sysdeps/ieee754/s_lib_version.c: Likewise.
9412 * sysdeps/ieee754/s_matherr.c: Likewise.
9413 * sysdeps/ieee754/s_signgam.c: Likewise.
9414 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9415 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9416 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9417 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9418 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9419 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9420 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9421 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9422 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9423 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9424 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9425 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9426 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9427 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9428 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9429 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9430 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9431 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9432 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9433 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9434 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9436 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9438 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9439 * sunrpc/rpc_main.c: Likewise.
9440 * sunrpc/rpc_svcout.c: Likewise.
9442 2012-03-09 David S. Miller <davem@davemloft.net>
9444 * include/math_private.h: New file.
9446 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9448 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9449 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9450 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9451 from <bits/socket_type.h>.
9452 (enum __socket_type): Don't define here.
9453 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9458 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9461 * Makerules ($(inst_includedir)/%.h): New rule.
9462 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9463 (install-others): Remove variable setting.
9464 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9466 2012-03-08 Richard Henderson <rth@twiddle.net>
9468 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9469 from macro to inline function; merge with the
9470 !__LIBC_INTERNAL_MATH_INLINES version.
9471 (__ieee754_sqrtf): Likewise.
9473 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9475 (__rintf, __floor, __floorf): Likewise.
9477 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9478 macro to inline function.
9479 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9482 not <math/math_private.h>.
9484 2012-03-08 David S. Miller <davem@davemloft.net>
9486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9488 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9490 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9492 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9494 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9495 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9497 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9499 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9500 be defined individually, they must be defined as a block. Define
9501 S for printing a string instead of hidint the different by using a
9502 macro for adding the 'l'.
9503 * stdio-common/tst-fphex-wide.c: Adjust.
9505 2012-03-07 Marek Polacek <polacek@redhat.com>
9507 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9509 2012-03-08 Marek Polacek <polacek@redhat.com>
9512 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9513 * stdio-common/tst-fphex.c: Define a few macros to make the
9514 test reusable. Use them.
9515 * stdio-common/tst-fphex-wide.c: New file.
9517 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9520 * manual/macros.texi (gnusystems): New macro.
9521 (nongnusystems): Likewise.
9522 (gnulinuxhurdsystems): Likewise.
9523 (gnuhurdsystems): Likewise..
9524 (gnulinuxsystems): Likewise.
9525 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9526 variants of the GNU system, not "GNU system".
9527 * manual/conf.texi: Likewise.
9528 * manual/errno.texi: Likewise. Update example of errno macro
9530 * manual/filesys.texi: Likewise.
9531 (getumask): Document as specific to GNU/Hurd.
9532 * manual/install.texi: Likewise. Reword some references to
9534 * manual/intro.texi: Likewise.
9535 * manual/io.texi: Likewise.
9536 (File Name Portability): Detail which constraints are inapplicable
9537 to all GNU systems and which are only inapplicable to GNU/Hurd.
9538 * manual/job.texi: Likewise.
9539 * manual/llio.texi: Likewise.
9540 (O_NOCTTY): Document as present on GNU/Linux.
9541 * manual/maint.texi: Likewise.
9542 * manual/memory.texi: Likewise.
9543 * manual/pattern.texi: Likewise.
9544 * manual/pipe.texi: Likewise.
9545 * manual/process.texi: Likewise.
9546 * manual/resource.texi: Likewise.
9547 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9549 * manual/setjmp.texi: Likewise.
9550 * manual/signal.texi: Likewise.
9551 * manual/startup.texi: Likewise.
9552 * manual/stdio.texi: Likewise.
9553 * manual/terminal.texi: Likewise.
9554 (ONLCR): Document as POSIX.
9555 (OXTABS): Document availability on GNU/Linux as XTABS.
9556 (ONOEOT): Document availability separately from other bits.
9557 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9558 * manual/time.texi: Likewise.
9559 * manual/users.texi: Likewise.
9560 * INSTALL: Regenerated.
9561 * sysdeps/gnu/errlist.c: Regenerated.
9563 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9564 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9565 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9567 * configure: Regenerated.
9569 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9571 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9572 default includes instead of AC_HEADER_CHECK.
9573 * sysdeps/i386/configure: Regenerated.
9576 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9577 * math/s_cacoshf.c (__cacoshf): Likewise.
9578 * math/s_cacoshl.c (__cacoshl): Likewise.
9579 * math/s_casinh.c (__casinh): Set signs of result from argument.
9580 * math/s_casinhf.c (__casinhf): Likewise.
9581 * math/s_casinhl.c (__casinhl): Likewise.
9582 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9583 (casinh_test): Add more tests.
9584 * sysdeps/i386/fpu/libm-test-ulps: Update.
9585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9587 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9589 * po/zh_TW.po: Update from translation team.
9591 * login/Makefile (distribute): Remove variable.
9592 * catgets/Makefile: Likewise.
9593 * mach/Makefile: Likewise.
9594 * malloc/Makefile: Likewise.
9595 * misc/Makefile: Likewise.
9596 * iconv/Makefile: Likewise.
9597 * nscd/Makefile: Likewise.
9598 * hurd/Makefile: Likewise.
9599 * manual/Makefile: Likewise.
9600 * locale/Makefile: Likewise.
9601 * intl/Makefile: Likewise.
9602 * conform/Makefile: Likewise.
9603 * nss/Makefile: Likewise.
9604 * time/Makefile: Likewise.
9605 * soft-fp/Makefile: Likewise.
9606 * dirent/Makefile: Likewise.
9607 * gmon/Makefile: Likewise.
9608 * po/Makefile: Likewise.
9609 * rt/Makefile: Likewise.
9610 * socket/Makefile: Likewise.
9611 * math/Makefile: Likewise.
9612 * signal/Makefile: Likewise.
9613 * debug/Makefile: Likewise.
9614 * elf/Makefile: Likewise.
9615 * timezone/Makefile: Likewise.
9616 * stdlib/Makefile: Likewise.
9617 * iconvdata/Makefile: Likewise.
9618 * sunrpc/Makefile: Likewise.
9619 * io/Makefile: Likewise.
9620 * argp/Makefile: Likewise.
9621 * inet/Makefile: Likewise.
9622 * hesiod/Makefile: Likewise.
9623 * grp/Makefile: Likewise.
9624 * csu/Makefile: Likewise.
9625 * wctype/Makefile: Likewise.
9626 * crypt/Makefile: Likewise.
9627 * libio/Makefile: Likewise.
9628 * string/Makefile: Likewise.
9629 * nis/Makefile: Likewise.
9630 * resolv/Makefile: Likewise.
9631 * stdio-common/Makefile: Likewise.
9632 * wcsmbs/Makefile: Likewise.
9633 * dlfcn/Makefile: Likewise.
9634 * posix/Makefile: Likewise.
9637 * timezone/Makefile: Don't install timezone files, just the programs
9640 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9642 * nss/databases.def: Add missing gshadow entry.
9644 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9646 2012-03-06 Marek Polacek <polacek@redhat.com>
9649 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9650 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9651 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9652 * stdio-common/tst-long-dbl-fphex.c: New file.
9654 2012-03-06 David S. Miller <davem@davemloft.net>
9656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9657 (set_obp_int): New function.
9658 (get_obp_int): New function.
9659 (__get_clockfreq_via_dev_openprom): Likewise.
9660 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9661 Avoid unused variable warnings on 'val' and use builtin_expect.
9662 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9664 (INLINE_CLONE_SYSCALL): Likewise.
9666 2012-03-05 David S. Miller <davem@davemloft.net>
9668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9670 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9674 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9676 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9678 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9681 Replace gettimeofday with __vdso_gettimeofday.
9683 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9684 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9685 __vdso_clock_gettime and __vdso_getcpu.
9687 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9688 time with __vdso_time.
9690 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9692 * manual/lang.texi (size_t): Note types to which size_t may be
9693 equivalent with the GNU C Library, but do not describe when
9694 differences between them are significant.
9696 2012-03-05 Andreas Jaeger <aj@suse.de>
9698 * sysdeps/i386/fpu/libm-test-ulps: Update.
9700 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9703 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9704 (__ieee754_pow): Save and restore rounding mode and use
9705 round-to-nearest for main computations.
9706 * math/libm-test.inc (pow_test_tonearest): New function.
9707 (pow_test_towardzero): Likewise.
9708 (pow_test_downward): Likewise.
9709 (pow_test_upward): Likewise.
9710 (main): Call the new functions.
9711 * sysdeps/i386/fpu/libm-test-ulps: Update.
9712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9715 * math/libm-test.inc (cosh_test_tonearest): New function.
9716 (cosh_test_towardzero): Likewise.
9717 (cosh_test_downward): Likewise.
9718 (cosh_test_upward): Likewise.
9719 (sinh_test_tonearest): Likewise.
9720 (sinh_test_towardzero): Likewise.
9721 (sinh_test_downward): Likewise.
9722 (sinh_test_upward): Likewise.
9723 (main): Call the new functions.
9724 * sysdeps/i386/fpu/libm-test-ulps: Update.
9725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9727 2012-03-05 Tom de Vries <tom@codesourcery.com>
9729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9730 default stack guard is set in last bytes.
9731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9733 2012-03-05 Kees Cook <keescook@chromium.org>
9735 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9738 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9739 possibly allocate from heap instead of stack.
9740 * stdio-common/bug-vfprintf-nargs.c: New file.
9741 * stdio-common/Makefile (tests): Add nargs overflow test.
9743 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9747 2012-03-03 Marek Polacek <polacek@redhat.com>
9749 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9750 * math/math_private.h: Likewise.
9751 * stdlib/tst-strtod.c: Likewise.
9752 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9753 * sysdeps/x86_64/bits/atomic.h: Likewise.
9755 2012-03-02 David S. Miller <davem@davemloft.net>
9757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9761 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9762 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9763 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9764 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9766 2012-03-02 Roland McGrath <roland@hack.frob.com>
9769 * manual/examples/README: New file, says the example source files
9770 can be used under GPL>=2.
9771 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9772 line containing just "*/".
9773 * manual/examples/add.c: Add copyright header (GPL>=2).
9774 * manual/examples/argp-ex1.c: Likewise.
9775 * manual/examples/argp-ex2.c: Likewise.
9776 * manual/examples/argp-ex3.c: Likewise.
9777 * manual/examples/argp-ex4.c: Likewise.
9778 * manual/examples/atexit.c: Likewise.
9779 * manual/examples/db.c: Likewise.
9780 * manual/examples/dir.c: Likewise.
9781 * manual/examples/dir2.c: Likewise.
9782 * manual/examples/execinfo.c: Likewise.
9783 * manual/examples/filecli.c: Likewise.
9784 * manual/examples/filesrv.c: Likewise.
9785 * manual/examples/fmtmsgexpl.c: Likewise.
9786 * manual/examples/genpass.c: Likewise.
9787 * manual/examples/inetcli.c: Likewise.
9788 * manual/examples/inetsrv.c: Likewise.
9789 * manual/examples/isockad.c: Likewise.
9790 * manual/examples/longopt.c: Likewise.
9791 * manual/examples/memopen.c: Likewise.
9792 * manual/examples/memstrm.c: Likewise.
9793 * manual/examples/mkfsock.c: Likewise.
9794 * manual/examples/mkisock.c: Likewise.
9795 * manual/examples/mygetpass.c: Likewise.
9796 * manual/examples/pipe.c: Likewise.
9797 * manual/examples/popen.c: Likewise.
9798 * manual/examples/rprintf.c: Likewise.
9799 * manual/examples/search.c: Likewise.
9800 * manual/examples/select.c: Likewise.
9801 * manual/examples/setjmp.c: Likewise.
9802 * manual/examples/sigh1.c: Likewise.
9803 * manual/examples/sigusr.c: Likewise.
9804 * manual/examples/stpcpy.c: Likewise.
9805 * manual/examples/strdupa.c: Likewise.
9806 * manual/examples/strftim.c: Likewise.
9807 * manual/examples/strncat.c: Likewise.
9808 * manual/examples/subopt.c: Likewise.
9809 * manual/examples/swapcontext.c: Likewise.
9810 * manual/examples/termios.c: Likewise.
9811 * manual/examples/testopt.c: Likewise.
9812 * manual/examples/testpass.c: Likewise.
9813 * manual/examples/timeval_subtract.c: Likewise.
9816 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9818 * manual/timeval_subtract.c.texi: ... here, new file.
9820 2012-03-02 David S. Miller <davem@davemloft.net>
9822 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9824 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9827 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9828 (__sin): Save and restore rounding mode and use round-to-nearest
9829 for all computations.
9830 (__cos): Save and restore rounding mode and use round-to-nearest
9831 for all computations.
9832 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9834 (tan): Save and restore rounding mode and use round-to-nearest for
9836 * math/libm-test.inc (cos_test_tonearest): New function.
9837 (cos_test_towardzero): Likewise.
9838 (cos_test_downward): Likewise.
9839 (cos_test_upward): Likewise.
9840 (sin_test_tonearest): Likewise.
9841 (sin_test_towardzero): Likewise.
9842 (sin_test_downward): Likewise.
9843 (sin_test_upward): Likewise.
9844 (tan_test_tonearest): Likewise.
9845 (tan_test_towardzero): Likewise.
9846 (tan_test_downward): Likewise.
9847 (tan_test_upward): Likewise.
9848 (main): Call the new functions.
9849 * sysdeps/i386/fpu/libm-test-ulps: Update.
9850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9853 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9854 small n, then large n, before computing and testing k+n.
9855 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9860 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9861 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9862 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9863 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9866 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9867 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9868 * math/libm-test.inc (scalbn_test): Add more tests.
9869 (scalbln_test): Likewise.
9871 * manual/filesys.texi (mode_t): Describe constraints on size and
9872 signedness, not exact equivalence to a particular type.
9874 (ino64_t): Likewise.
9876 (nlink_t): Likewise.
9877 (blkcnt_t): Likewise.
9878 (blkcnt64_t): Likewise.
9879 * manual/llio.texi (off_t): Likewise.
9882 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9883 (__ieee754_exp): Save and restore rounding mode and use
9884 round-to-nearest for all computations.
9885 * math/libm-test.inc (exp_test_tonearest): New function.
9886 (exp_test_towardzero): Likewise.
9887 (exp_test_downward): Likewise.
9888 (exp_test_upward): Likewise.
9889 (main): Call the new functions.
9890 * sysdeps/i386/fpu/libm-test-ulps: Update.
9891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9893 2012-03-01 Chris Demetriou <cgd@google.com>
9895 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9896 have predictable order.
9898 2012-03-01 David S. Miller <davem@davemloft.net>
9900 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9902 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9903 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9904 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9905 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9907 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9908 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9909 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9911 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9912 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9913 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9914 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9915 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9919 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9920 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9921 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9923 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9924 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9925 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9926 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9927 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9928 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9929 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9930 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9931 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9932 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9933 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9934 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9935 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9936 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9937 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9939 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9940 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9941 * sysdeps/sparc/elf/configure: Regenerated.
9943 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9945 * configure.in (AS, LD): Require binutils 2.20 or later.
9946 * configure: Regenerated.
9947 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9948 as required minimum version.
9949 * INSTALL: Regenerated.
9953 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9954 before squaring exponent.
9955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9956 bottom long double and 27 bits of top long double before squaring
9958 * math/libm-test.inc (erfc_test): Add more tests.
9959 * sysdeps/i386/fpu/libm-test-ulps: Update.
9960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9963 2012-03-01 Kai Tietz <ktietz@redhat.com>
9965 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9966 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9967 containing bit-fields.
9968 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9969 * soft-fp/single.h (_FP_UNION_S): Likewise.
9970 * soft-fp/double.h (_FP_UNION_D): Likewise.
9972 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9975 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9976 not include ../strcmp.S.
9977 [USE_AS_STRNCASECMP_L]: Likewise.
9978 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9979 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9980 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9981 (__strncasecmp_l_ia32): Define as alias to
9982 __strncasecmp_l_nonascii.
9985 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9986 * sysdeps/i386/fpu/libm-test-ulps: Update.
9987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9989 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9992 2012-02-29 Jeff Law <law@redhat.com>
9994 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9997 2012-02-29 Marek Polacek <polacek@redhat.com>
10000 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10001 * elf/Makefile: Add rules to run tst-unused-dep.out.
10003 2012-02-28 David S. Miller <davem@davemloft.net>
10005 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10006 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10007 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10008 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10009 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10010 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10012 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10014 * math/libm-test.inc (llround_test): Move one test from
10015 lround_test. Use TEST_f_L in moved test.
10016 (lround_test): Move misplaced test to llround_test. Add testcase
10019 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10021 * sysdeps/x86_64/fpu/e_expf.S: New file.
10022 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10024 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10027 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10028 of remain_len that may cause incomplete multi-byte character and
10030 * posix/bug-regex33.c: New file.
10031 * posix/Makefile (tests): Add bug-regex33.
10033 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10035 * manual/macros.texi: New file.
10036 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10037 * manual/libc.texinfo: Include macros.texi.
10038 * manual/creatute.texi: Likewise.
10039 * manual/install.texi: Likewise.
10040 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10041 @glibcadj{} in references to the GNU C Library.
10042 * manual/charset.texi: Likewise.
10043 * manual/conf.texi: Likewise.
10044 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10045 when not using those macros.
10046 * manual/creature.texi: Likewise.
10047 * manual/crypt.texi: Likewise.
10048 * manual/errno.texi: Likewise.
10049 * manual/filesys.texi: Likewise.
10050 * manual/header.texi: Likewise.
10051 * manual/install.texi: Likewise.
10052 * manual/intro.texi: Likewise.
10053 * manual/io.texi: Likewise.
10054 * manual/job.texi: Likewise.
10055 * manual/lang.texi: Likewise.
10056 * manual/libc.texiinfo: Likewise.
10057 * manual/llio.texi: Likewise.
10058 * manual/locale.texi: Likewise.
10059 * manual/maint.texi: Likewise.
10060 * manual/math.texi: Likewise.
10061 * manual/memory.texi: Likewise.
10062 * manual/message.texi: Likewise.
10063 * manual/nss.texi: Likewise.
10064 * manual/pattern.texi: Likewise.
10065 * manual/process.texi: Likewise.
10066 * manual/resource.texi: Likewise.
10067 * manual/search.texi: Likewise.
10068 * manual/setjmp.texi: Likewise.
10069 * manual/signal.texi: Likewise.
10070 * manual/socket.texi: Likewise.
10071 * manual/startup.texi: Likewise.
10072 * manual/stdio.texi: Likewise.
10073 * manual/string.texi: Likewise.
10074 * manual/sysinfo.texi: Likewise.
10075 * manual/syslog.texi: Likewise.
10076 * manual/terminal.texi: Likewise.
10077 * manual/time.texi: Likewise.
10078 * manual/users.texi: Likewise.
10079 * INSTALL: Regenerated.
10080 * NOTES: Regenerated.
10081 * sysdeps/gnu/errlist.c: Regenerated.
10083 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10085 * include/dirent.h: Include <dirstream.h> before
10088 2012-02-28 David S. Miller <davem@davemloft.net>
10090 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10091 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10092 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10093 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10095 2012-02-27 David S. Miller <davem@davemloft.net>
10097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10099 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10100 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10103 frame pointer instead of stack pointer relative arg slot.
10104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10105 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10106 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10108 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10111 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10113 2012-02-27 David S. Miller <davem@davemloft.net>
10115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10119 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10120 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10121 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10122 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10124 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10126 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10127 later. Allow versions 5-9.
10128 * configure: Regenerated.
10129 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10130 required minimum version and 4.6 as recommended version. Do not
10131 mention bugs in GCC 2.7 and 2.8.
10132 * INSTALL: Regenerated.
10134 2012-02-27 David S. Miller <davem@davemloft.net>
10136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10140 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10141 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10142 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10143 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10145 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10146 manipulate bits before adding and subtracting TWO112[sx].
10147 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10149 2012-02-27 Roland McGrath <roland@hack.frob.com>
10152 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10153 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10154 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10155 being in POSIX, because they are in 1003.1-2008.
10157 * rt/tst-aio.c: Include <fcntl.h>.
10158 * rt/tst-aio7.c: Likewise.
10159 * rt/tst-aio64.c: Likewise.
10161 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10163 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10165 * manual/install.texi (--with-headers): Describe headers as
10166 interface headers, not private headers.
10167 (Specific advice for GNU/Linux systems): Describe use of headers
10168 from "make headers_install", not private headers from older
10170 * INSTALL: Regenerated.
10171 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10173 * sysdeps/unix/sysv/linux/configure: Regenerated.
10175 * manual/llio.texi (fclean): Remove documentation.
10177 * manual/Makefile (libc-texi-generated): New variable. Include
10179 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10180 $(libc-texi-generated), not duplicated list of files.
10181 (version.texi, stamp-version): New rules.
10182 (realclean): Remove $(libc-texi-generated), not individual files
10183 from that list. Do not remove dir-add.texinfo.
10184 * manual/libc.texinfo: Comment out uses of edition numbers and
10185 references to printed manual. Remove last-updated dates.
10186 (EDITION): Comment out.
10188 (VERSION, UPDATED): Remove.
10189 (version.texi): Include.
10191 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10193 * sysdeps/posix/spawni.c: Include <signal.h>.
10194 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10195 * sysdeps/pthread/aio_fsync.c: Likewise.
10197 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10199 * conform/Makefile (tests): Run only when not cross-compiling and
10200 when fast-check is not defined.
10202 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10203 * conform/data/limits.h-data: Fixes for POSIX2008.
10204 * conform/run-conformtest.sh: Run all tests.
10205 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10207 * include/bits/dlfcn.h: Likewise.
10208 * include/langinfo.h: Likewise.
10209 * include/monetary.h: Likewise.
10210 * include/sys/poll.h: Likewise.
10212 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10214 * posix/spawn.h: Define __need_sigset_t.
10215 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10216 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10217 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10218 to get sigevent_t only.
10219 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10220 only for __USE_GNU.
10221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10222 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10223 process_vm_writev only for __USE_GNU.
10224 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10226 * conform/Makefile: For now ignore errors from run-conformtest.
10227 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10228 POSIX to avoid namespace pollution. Don't prepend headers.
10229 * conform/data/aio.h-data: Fixes for POSIX testing.
10230 * conform/data/fcntl.h-data: Likewise.
10231 * conform/data/glob.h-data: Likewise.
10232 * conform/data/grp.h-data: Likewise.
10233 * conform/data/pthread.h-data: Likewise.
10234 * conform/data/pwd.h-data: Likewise.
10235 * conform/data/signal.h-data: Likewise.
10236 * conform/data/spawn.h-data: Likewise.
10237 * conform/data/stdio.h-data: Likewise.
10238 * conform/data/stdlib.h-data: Likewise.
10239 * conform/data/stropts.h-data: Likewise.
10240 * conform/data/sys/mman.h-data: Likewise.
10241 * conform/data/sys/stat.h-data: Likewise.
10242 * conform/data/sys/types.h-data: Likewise.
10243 * conform/data/sys/wait.h-data: Likewise.
10244 * conform/data/time.h-data: Likewise.
10245 * conform/data/unistd.h-data: Likewise.
10246 * conform/data/utime.h-data: Likewise.
10248 * io/sys/stat.h: fchmod was always in POSIX.
10249 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10250 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10251 * rt/aio.h: Define __need_timespec before including <time.h>.
10252 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10253 struct. Add forward declaration of pthread_attr_t and use it in
10255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10257 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10258 always remove CLK_TCK definition.
10260 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10262 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10264 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10266 * conform/run-conformtest.sh: New file.
10267 * conform/Makefile: Run run-conformtest for tests.
10268 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10271 * conform/data/uchar.h-data: New file.
10272 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10273 * conform/data/arpa/inet.h-data: Likewise.
10274 * conform/data/assert.h-data: Likewise.
10275 * conform/data/complex.h-data: Likewise.
10276 * conform/data/cpio.h-data: Likewise.
10277 * conform/data/ctype.h-data: Likewise.
10278 * conform/data/dirent.h-data: Likewise.
10279 * conform/data/dlfcn.h-data: Likewise.
10280 * conform/data/errno.h-data: Likewise.
10281 * conform/data/fcntl.h-data: Likewise.
10282 * conform/data/float.h-data: Likewise.
10283 * conform/data/fmtmsg.h-data: Likewise.
10284 * conform/data/fnmatch.h-data: Likewise.
10285 * conform/data/ftw.h-data: Likewise.
10286 * conform/data/glob.h-data: Likewise.
10287 * conform/data/grp.h-data: Likewise.
10288 * conform/data/iconv.h-data: Likewise.
10289 * conform/data/inttypes.h-data: Likewise.
10290 * conform/data/langinfo.h-data: Likewise.
10291 * conform/data/libgen.h-data: Likewise.
10292 * conform/data/limits.h-data: Likewise.
10293 * conform/data/locale.h-data: Likewise.
10294 * conform/data/math.h-data: Likewise.
10295 * conform/data/monetary.h-data: Likewise.
10296 * conform/data/mqueue.h-data: Likewise.
10297 * conform/data/ndbm.h-data: Likewise.
10298 * conform/data/net/if.h-data: Likewise.
10299 * conform/data/netdb.h-data: Likewise.
10300 * conform/data/netinet/in.h-data: Likewise.
10301 * conform/data/nl_types.h-data: Likewise.
10302 * conform/data/poll.h-data: Likewise.
10303 * conform/data/pthread.h-data: Likewise.
10304 * conform/data/pwd.h-data: Likewise.
10305 * conform/data/regex.h-data: Likewise.
10306 * conform/data/sched.h-data: Likewise.
10307 * conform/data/search.h-data: Likewise.
10308 * conform/data/semaphore.h-data: Likewise.
10309 * conform/data/setjmp.h-data: Likewise.
10310 * conform/data/signal.h-data: Likewise.
10311 * conform/data/spawn.h-data: Likewise.
10312 * conform/data/stdarg.h-data: Likewise.
10313 * conform/data/stdio.h-data: Likewise.
10314 * conform/data/stdlib.h-data: Likewise.
10315 * conform/data/string.h-data: Likewise.
10316 * conform/data/strings.h-data: Likewise.
10317 * conform/data/stropts.h-data: Likewise.
10318 * conform/data/sys/ipc.h-data: Likewise.
10319 * conform/data/sys/mman.h-data: Likewise.
10320 * conform/data/sys/msg.h-data: Likewise.
10321 * conform/data/sys/resource.h-data: Likewise.
10322 * conform/data/sys/select.h-data: Likewise.
10323 * conform/data/sys/sem.h-data: Likewise.
10324 * conform/data/sys/shm.h-data: Likewise.
10325 * conform/data/sys/socket.h-data: Likewise.
10326 * conform/data/sys/stat.h-data: Likewise.
10327 * conform/data/sys/statvfs.h-data: Likewise.
10328 * conform/data/sys/time.h-data: Likewise.
10329 * conform/data/sys/timeb.h-data: Likewise.
10330 * conform/data/sys/times.h-data: Likewise.
10331 * conform/data/sys/types.h-data: Likewise.
10332 * conform/data/sys/uio.h-data: Likewise.
10333 * conform/data/sys/un.h-data: Likewise.
10334 * conform/data/sys/utsname.h-data: Likewise.
10335 * conform/data/sys/wait.h-data: Likewise.
10336 * conform/data/syslog.h-data: Likewise.
10337 * conform/data/tar.h-data: Likewise.
10338 * conform/data/termios.h-data: Likewise.
10339 * conform/data/utime.h-data: Likewise.
10340 * conform/data/utmpx.h-data: Likewise.
10341 * conform/data/varargs.h-data: Likewise.
10342 * conform/data/wchar.h-data: Likewise.
10343 * conform/data/wctype.h-data: Likewise.
10344 * conform/data/wordexp.h-data: Likewise.
10346 * include/stropts.h: New file.
10347 * include/uchar.h: New file.
10348 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10349 * include/assert.h: Likewise.
10350 * include/ctype.h: Likewise.
10351 * include/dirent.h: Likewise.
10352 * include/dlfcn.h: Likewise.
10353 * include/fcntl.h: Likewise.
10354 * include/fnmatch.h: Likewise.
10355 * include/glob.h: Likewise.
10356 * include/grp.h: Likewise.
10357 * include/libio.h: Likewise.
10358 * include/locale.h: Likewise.
10359 * include/math.h: Likewise.
10360 * include/net/if.h: Likewise.
10361 * include/netdb.h: Likewise.
10362 * include/netinet/in.h: Likewise.
10363 * include/pthread.h: Likewise.
10364 * include/pwd.h: Likewise.
10365 * include/regex.h: Likewise.
10366 * include/sched.h: Likewise.
10367 * include/search.h: Likewise.
10368 * include/setjmp.h: Likewise.
10369 * include/signal.h: Likewise.
10370 * include/stdio.h: Likewise.
10371 * include/stdlib.h: Likewise.
10372 * include/string.h: Likewise.
10373 * include/sys/cdefs.h: Likewise.
10374 * include/sys/mman.h: Likewise.
10375 * include/sys/msg.h: Likewise.
10376 * include/sys/resource.h: Likewise.
10377 * include/sys/select.h: Likewise.
10378 * include/sys/socket.h: Likewise.
10379 * include/sys/stat.h: Likewise.
10380 * include/sys/statvfs.h: Likewise.
10381 * include/sys/time.h: Likewise.
10382 * include/sys/times.h: Likewise.
10383 * include/sys/uio.h: Likewise.
10384 * include/sys/utsname.h: Likewise.
10385 * include/sys/wait.h: Likewise.
10386 * include/termios.h: Likewise.
10387 * include/time.h: Likewise.
10388 * include/ulimit.h: Likewise.
10389 * include/unistd.h: Likewise.
10390 * include/utime.h: Likewise.
10391 * include/wchar.h: Likewise.
10392 * include/wctype.h: Likewise.
10393 * include/wordexp.h: Likewise.
10395 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10397 * time/time.h: TIME_UTC must be a macro.
10398 Make timespec_get available for ISO C11 only as well.
10400 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10402 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10403 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10405 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10407 * configure.in: Use -o not -a in test for unsupported multi-arch.
10409 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10411 * manual/texinfo.tex: Update to version 2012-01-19.16.
10413 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10415 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10417 2012-02-24 Roland McGrath <roland@hack.frob.com>
10420 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10421 * manual/fdl-1.3.texi: New file.
10422 * manual/fdl-1.1.texi: File removed.
10425 * manual/libc.texinfo (FDL_VERSION): New @set.
10426 Use it for mention of FDL in cover text.
10427 (Documentation License): Use it in @include file name.
10429 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10430 Roland McGrath <roland@hack.frob.com>
10433 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10434 not LONG_LONG_MAX and LONG_LONG_MIN.
10435 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10436 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10438 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10440 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10444 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10445 manipulate bits before adding and subtracting TWO23[sx].
10446 * math/libm-test.inc (nearbyint_test): Add more tests.
10448 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10451 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10452 bits before adding and subtracting TWO23[sx].
10453 * math/libm-test.inc (rint_test): Add more tests.
10454 (rint_test_tonearest): Likewise.
10455 (rint_test_towardzero): Likewise.
10456 (rint_test_downward): Likewise.
10457 (rint_test_upward: Likewise.
10459 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10462 * include/stdc-predef.h: New file. Extracted from features.h.
10463 * include/features.h: Include stdc-predef.h.
10464 * Makefile (headers): Add stdc-predef.h.
10465 * CONFORMANCE (Compiler limitations): Update.
10467 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10469 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10471 2012-02-21 David S. Miller <davem@davemloft.net>
10473 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10474 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10476 2012-02-20 David S. Miller <davem@davemloft.net>
10478 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10479 using a normal save/restore sequence, rather than allocating a
10480 dummy stack frame just to store a frame pointer and restore.
10481 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10483 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10485 * manual/install.texi: Fix stray word in line-wrapped comment.
10487 2012-02-20 David S. Miller <davem@davemloft.net>
10489 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10490 both binutils and gcc support GOTDATA.
10492 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10493 "rd %pc" in the PIC register setup sequences.
10495 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10496 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10497 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10498 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10499 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10501 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10502 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10504 (SYSCALL_ERROR_HANDLER): Likewise.
10505 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10506 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10507 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10508 (SYSCALL_ERROR_HANDLER): Likewise.
10510 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10511 (HAVE_GCC_GOTDATA): New.
10512 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10513 relocation support in both binutils and gcc.
10514 * sysdeps/sparc/elf/configure: Regenerate.
10516 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10517 * sysdeps/sparc/sparc32/elf/configure: Delete.
10518 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10519 * sysdeps/sparc/sparc64/elf/configure: Delete.
10520 * sysdeps/sparc/elf/configure.in: New file.
10521 * sysdeps/sparc/elf/configure: Generate.
10523 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10524 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10525 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10526 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10527 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10529 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10531 * manual/install.texi: Do not mention specific glibc version
10533 * manual/libc.texinfo (VERSION, UPDATED): Update.
10534 (@copying): Use @copyright{} and range of years.
10536 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10539 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10540 [crti.S not in sysdirs] (generated): Do not append.
10541 [crti.S not in sysdirs] (omit-deps): Likewise.
10542 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10543 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10544 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10545 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10546 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10548 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10549 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10550 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10551 * csu/defs.awk: Remove file.
10552 * sysdeps/generic/initfini.c: Likewise.
10553 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10555 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10558 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10560 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10561 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10562 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10564 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10565 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10567 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10568 (__EPOLL_PACKED): Define to empty if not defined by
10570 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10574 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10576 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10577 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10578 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10579 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10581 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10585 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10587 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10589 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10590 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10594 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10596 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10597 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10599 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10601 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10602 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10604 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10606 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10609 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10611 * math/w_acos.c: Use non-signaling floating-point comparisons.
10612 * math/w_acosf.c: Likewise.
10613 * math/w_acosh.c: Likewise.
10614 * math/w_acoshf.c: Likewise.
10615 * math/w_acoshl.c: Likewise.
10616 * math/w_acosl.c: Likewise.
10617 * math/w_asin.c: Likewise.
10618 * math/w_asinf.c: Likewise.
10619 * math/w_asinl.c: Likewise.
10620 * math/w_atanh.c: Likewise.
10621 * math/w_atanhf.c: Likewise.
10622 * math/w_atanhl.c: Likewise.
10623 * math/w_exp2.c: Likewise.
10624 * math/w_exp2f.c: Likewise.
10625 * math/w_exp2l.c: Likewise.
10626 * math/w_j0.c: Likewise.
10627 * math/w_j0f.c: Likewise.
10628 * math/w_j0l.c: Likewise.
10629 * math/w_j1.c: Likewise.
10630 * math/w_j1f.c: Likewise.
10631 * math/w_j1l.c: Likewise.
10632 * math/w_jn.c: Likewise.
10633 * math/w_jnf.c: Likewise.
10634 * math/w_log.c: Likewise.
10635 * math/w_log10.c: Likewise.
10636 * math/w_log10f.c: Likewise.
10637 * math/w_log10l.c: Likewise.
10638 * math/w_log2.c: Likewise.
10639 * math/w_log2f.c: Likewise.
10640 * math/w_log2l.c: Likewise.
10641 * math/w_logf.c: Likewise.
10642 * math/w_logl.c: Likewise.
10643 * math/w_sqrt.c: Likewise.
10644 * math/w_sqrtf.c: Likewise.
10645 * math/w_sqrtl.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10649 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10650 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10652 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10655 * manual/string.texi (strnlen): Use correct parameter name in
10656 equivalent expression.
10658 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10661 * manual/users.texi (seteuid): Consistently use neweuid for
10664 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10667 * manual/nss.texi (Services in the NSS configuration): Correct
10668 list of services in example configuration file.
10670 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10673 * manual/arith.texi: Remove statements about negative zero
10674 behaving identically to zero.
10676 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10679 * manual/install.texi: Do not document upgrading from libc5.
10681 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10684 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10686 2012-02-18 David S. Miller <davem@davemloft.net>
10688 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10689 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10690 %o7 across the call.
10691 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10694 SETUP_PIC_REG_LEAF.
10695 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10696 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10697 * sysdeps/sparc/crtn.S: Likewise.
10699 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10701 * aout/Makefile: Remove.
10703 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10706 * manual/examples/argp-ex1.c (main): Format definition in GNU
10708 * manual/examples/argp-ex2.c (main): Likewise.
10709 * manual/examples/argp-ex3.c (main): Likewise.
10710 * manual/examples/argp-ex4.c (main): Likewise.
10711 * manual/examples/longopt.c (main): Use new-style prototype
10713 * manual/examples/strncat.c (main): Specify return type and use
10714 (void) for arguments.
10715 * manual/examples/subopt.c (main): Use char **argv argument.
10717 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10720 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10723 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10726 * manual/string.texi (strchr): Change when strchrnul is
10729 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10732 * manual/locale.texi (setlocale): Document LOCPATH.
10734 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10737 * manual/process.texi (execle): Move @dots{} before last argument.
10739 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10742 * manual/charset.texi (Generic Charset Conversion): Fix typo
10743 (LC_TYPE -> LC_CTYPE).
10745 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10748 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10749 (scalbnf): Likewise.
10750 (scalbnl): Likewise.
10751 (scalbln): Likewise.
10752 (scalblnf): Likewise.
10753 (scalblnl): Likewise.
10754 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10755 (vwarnx): Likewise.
10758 * manual/filesys.texi (telldir): Use braces around return type.
10759 * manual/llio.texi (mmap): Add space after comma.
10760 (mmap64): Likewise.
10761 * manual/math.texi (jn): Use @var{} on parameter names.
10767 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10769 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10771 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10772 (sched_get_priority_max): Likewise.
10773 * manual/signal.texi (sigvec): Add space after comma.
10774 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10776 (if_indextoname): Likewise.
10777 (if_freenameindex): Likewise.
10778 (sendto): Use ',' instead of '.' in prototype.
10779 * manual/startup.texi (syscall): Use @dots{} instead of literal
10781 * manual/stdio.texi (__fpending): Separate initial words of
10782 paragraph from @deftypefun line.
10783 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10785 (vsyslog): Use @var{} on parameter names.
10786 * manual/terminal.texi (stty): Use @var{} on parameter names.
10787 * manual/users.texi (getutmp): Use @var{} on parameter names.
10788 (getutmpx): Likewise.
10790 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10793 * manual/stdio.texi (fopen): Fix typos in description of
10796 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10799 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10800 get clock_id definition.
10802 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10805 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10806 (madvise): Cast every argument to void on its own.
10808 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10811 * manual/startup.texi (Exit Status): Fix typo.
10813 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10816 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10817 * manual/examples/argp-ex2.c: Likewise.
10818 * manual/examples/argp-ex3.c: Likewise.
10820 2012-02-16 Richard Henderson <rth@redhat.com>
10822 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10823 * sysdeps/s390/s390-32/initfini.c: Remove.
10824 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10825 * sysdeps/s390/s390-64/initfini.c: Remove.
10827 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10829 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10830 compiler output for sysdeps/generic/initfini.c.
10831 * sysdeps/sh/elf/initfini.c: Remove file.
10833 2012-02-16 David S. Miller <davem@davemloft.net>
10836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10838 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10839 * sysdeps/sparc/crti.S: New file.
10840 * sysdeps/sparc/crtn.S: New file.
10841 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10842 * sysdeps/sparc/sparc64/Makefile: Likewise.
10844 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10847 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10849 2012-02-15 Roland McGrath <roland@hack.frob.com>
10852 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10854 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10855 (write, read, close): Likewise.
10856 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10858 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10860 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10861 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10862 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10863 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10865 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10869 2012-02-14 Marek Polacek <polacek@redhat.com>
10871 * sysdeps/x86_64/crti.S: New file.
10872 * sysdeps/x86_64/crtn.S: New file.
10873 * sysdeps/x86_64/elf/initfini.c: Remove file.
10875 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10877 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10878 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10879 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10880 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10882 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10886 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10888 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10889 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10890 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10891 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10893 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10897 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10899 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10900 __feraiseexcept instead of feraiseexcept.
10902 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10903 nanosleep invocations.
10904 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10905 strings, and add error checking for a nanosleep invocations.
10907 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10909 Replace FSF snail mail address with URLs, as per GNU coding standards.
10910 Most of the snail mail addresses were wrong anyway, and omitting
10911 them makes the source code easier to maintain. Almost all of the
10912 changes are to license notices and to locale LC_IDENTIFICATION
10913 addresses, except for this one:
10914 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10915 not its snail mail address.
10917 2012-02-09 Richard Henderson <rth@twiddle.net>
10919 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10920 of kernel-features.h.
10922 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10924 2012-02-08 Marek Polacek <polacek@redhat.com>
10926 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10927 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10928 * sysdeps/gnu/_G_config.h: Likewise.
10929 * sysdeps/generic/_G_config.h: Likewise.
10931 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10933 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10937 * sysdeps/powerpc/powerpc32/crti.S: New file.
10938 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10939 * sysdeps/powerpc/powerpc64/crti.S: New file.
10940 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10942 * Makeconfig (have-initfini): Don't set.
10943 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10944 * configure.in (nopic_initfini): Don't substitute.
10945 * config.h.in (HAVE_INITFINI): Don't #undef.
10946 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10947 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10949 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10951 Support crti.S and crtn.S provided directly by architectures.
10952 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10953 [crti.S in sysdirs] (omit-deps): Likewise.
10954 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10955 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10956 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10957 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10958 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10959 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10960 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10961 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10962 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10963 compiler output for sysdeps/generic/initfini.c.
10964 * sysdeps/i386/elf/Makefile: Remove file.
10965 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10967 2012-02-07 Marek Polacek <polacek@redhat.com>
10969 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10970 * sysdeps/gnu/_G_config.h: Likewise.
10971 * sysdeps/mach/hurd/_G_config.h: Likewise.
10973 2012-02-07 Marek Polacek <polacek@redhat.com>
10975 * math/Makefile (tests): Add tst-CMPLX2.
10976 * math/tst-CMPLX2.c: New file.
10978 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10980 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10982 * math/libm-test.inc (jn_test): Add missing L suffix.
10984 2012-02-06 Marek Polacek <polacek@redhat.com>
10986 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10987 * sysdeps/i386/fpu/e_powf.S: Likewise.
10988 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10989 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10990 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10991 * sysdeps/i386/fpu/e_pow.S: Likewise.
10992 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10993 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10994 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10995 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10996 * sysdeps/i386/fpu/e_log2.S: Likewise.
10997 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10998 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10999 * sysdeps/i386/fpu/e_powl.S: Likewise.
11000 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11001 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11002 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11003 * sysdeps/i386/fpu/e_logl.S: Likewise.
11004 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11005 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11006 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11007 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11008 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11009 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11010 * sysdeps/i386/fpu/e_log.S: Likewise.
11011 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11012 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11013 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11014 * sysdeps/i386/fpu/e_logf.S: Likewise.
11015 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11016 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11017 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11018 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11019 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11020 * sysdeps/i386/fpu/e_log10.S: Likewise.
11021 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11022 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11023 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11024 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11025 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11026 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11027 * sysdeps/i386/asm-syntax.h: Likewise.
11028 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11029 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11030 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11031 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11032 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11033 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11034 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11035 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11036 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11037 * sysdeps/powerpc/sysdep.h: Likewise.
11038 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11039 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11041 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11044 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11046 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11048 * sysdeps/i386/sysdep.h: Include <features.h>.
11049 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11052 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11054 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11056 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11059 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11061 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11062 (SETUP_PIC_REG): Use GET_PC_THUNK.
11063 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11066 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11068 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11069 for non-PIC compilation.
11070 (SETUP_PIC_REG): Add .p2align directive.
11071 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11072 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11073 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11074 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11075 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11076 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11077 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11078 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11079 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11080 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11081 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11082 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11083 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11084 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11085 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11086 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11087 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11088 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11089 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11090 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11091 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11092 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11093 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11094 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11095 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11096 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11097 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11098 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11099 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11100 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11101 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11102 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11103 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11104 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11105 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11106 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11107 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11108 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11109 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11110 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11111 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11113 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11115 * math/tst-CMPLX.c: Include <stdio.h>.
11117 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11119 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11121 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11122 * sysdeps/sparc/bits/mathdef.h: Likewise.
11124 2012-01-31 Marek Polacek <polacek@redhat.com>
11126 * libio/libio.h: Don't define _PARAMS.
11127 * locale/programs/config.h: Don't define PARAMS.
11128 * stdlib/strtol_l.c: Likewise.
11129 (__strtol_l): Remove PARAMS from the prototype.
11131 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11133 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11134 names. Just use the correct names. Remove unnecessary wrapper
11136 * malloc/arena.c: Likewise.
11137 * malloc/hooks.c: Likewise.
11139 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11140 ARENA_TEST says not to. Simplify test for creation of a new arena.
11141 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11143 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11145 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11147 (update_get_addr): New function.
11148 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11149 GET_ADDR_MODULE parameter.
11151 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11153 * crypt/cert.c: Remove __STDC__ conditionals.
11154 * crypt/crypt-entry.c: Likewise.
11155 * crypt/crypt_util.c: Likewise.
11156 * libio/filedoalloc.c: Likewise.
11157 * libio/fileops.c: Likewise.
11158 * libio/genops.c: Likewise.
11159 * libio/iofclose.c: Likewise.
11160 * libio/iofdopen.c: Likewise.
11161 * libio/iofopen.c: Likewise.
11162 * libio/iofopen64.c: Likewise.
11163 * libio/iogetdelim.c: Likewise.
11164 * libio/iopopen.c: Likewise.
11165 * libio/obprintf.c: Likewise.
11166 * libio/oldfileops.c: Likewise.
11167 * libio/oldiofclose.c: Likewise.
11168 * libio/oldiofdopen.c: Likewise.
11169 * libio/oldiofopen.c: Likewise.
11170 * libio/oldiopopen.c: Likewise.
11171 * libio/wfiledoalloc.c: Likewise.
11172 * libio/wgenops.c: Likewise.
11173 * locale/programs/xmalloc.c: Likewise.
11174 * misc/syslog.c: Likewise.
11175 * stdio-common/xbug.c: Likewise.
11176 * string/memchr.c: Likewise.
11177 * string/memcmp.c: Likewise.
11178 * string/memrchr.c: Likewise.
11179 * string/rawmemchr.c: Likewise.
11180 * sysdeps/posix/getcwd.c: Likewise.
11181 * time/strftime_l.c: Likewise.
11183 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11185 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11186 * config.make.in (config-cflags-sse2avx): Define.
11187 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11190 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11192 * scripts/config.guess: Update from upstream config git repository.
11193 * scripts/config.sub: Likewise.
11195 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11197 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11199 (R_TILEPRO_*, R_TILEGX_*): New macros.
11201 * scripts/firstversions.awk: Fix bug in version range handling.
11203 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11205 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11207 * include/sys/epoll.h: New file.
11208 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11211 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11213 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11214 Avoid unnecessary __WORDSIZE == 64 test.
11215 (fmaxf): Use VEX format if possible.
11220 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11221 * math/math_private.h: Remove libc_fegetround* and
11223 * sysdeps/i386/configure.in: Check for -msse2avx.
11224 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11225 also if SSE2AVX is defined.
11226 Remove libc_fegetround* and libc_fesetround*.
11227 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11228 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11229 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11231 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11232 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11233 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11234 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11235 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11237 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11239 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11241 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11243 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11245 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11248 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11250 * Makeconfig (libm): Define.
11251 * elf/Makefile: Add rules to build and run tst-relsort1.
11252 * elf/tst-relsort1.c: New file.
11253 * elf/tst-relsort1mod1.c: New file.
11254 * elf/tst-relsort1mod2.c: New file.
11256 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11258 * math/s_ldexp.c: Remove __STDC__ conditionals.
11259 * math/s_ldexpf.c: Likewise.
11260 * math/s_ldexpl.c: Likewise.
11261 * math/s_nextafter.c: Likewise.
11262 * math/s_nexttowardf.c: Likewise.
11263 * math/s_significand.c: Likewise.
11264 * math/s_significandf.c: Likewise.
11265 * math/s_significandl.c: Likewise.
11266 * math/w_jnl.c: Likewise.
11267 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11268 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11269 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11270 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11271 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11275 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11278 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11279 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11280 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11281 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11282 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11283 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11284 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11286 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11287 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11288 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11289 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11290 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11291 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11292 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11293 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11294 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11295 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11296 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11297 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11298 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11299 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11300 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11301 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11302 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11303 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11304 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11305 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11306 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11307 * sysdeps/ieee754/k_standard.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11311 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11312 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11314 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11315 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11316 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11317 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11320 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11322 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11332 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11340 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11369 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11371 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11372 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11374 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11375 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11382 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11387 * sysdeps/ieee754/s_matherr.c: Likewise.
11388 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11389 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11391 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11393 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11395 * crypt/md5.h: Remove __STDC__ conditionals.
11396 * libio/libioP.h: Likewise.
11397 * locale/programs/config.h: Likewise.
11398 * sysdeps/generic/sysdep.h: Likewise.
11399 * sysdeps/i386/asm-syntax.h: Likewise.
11400 * sysdeps/s390/asm-syntax.h: Likewise.
11401 * sysdeps/unix/sysdep.h: Likewise.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11405 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11407 * libio/libio.h: Remove __STDC__ conditionals.
11408 * malloc/obstack.h: Likewise.
11409 * math/complex.h: Likewise.
11410 * math/math.h: Likewise.
11411 * sysdeps/generic/_G_config.h: Likewise.
11412 * sysdeps/gnu/_G_config.h: Likewise.
11413 * sysdeps/mach/hurd/_G_config.h: Likewise.
11414 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11415 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11416 * sysdeps/sparc/bits/mathdef.h: Likewise.
11418 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11421 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11422 Clean up HAS_* macros.
11423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11424 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11426 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11428 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11429 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11430 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11432 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11434 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11436 * elf/tst-unique3.cc (gets): Remove declaration.
11437 * elf/tst-unique3lib.cc (gets): Likewise.
11438 * elf/tst-unique3lib2.cc (gets): Likewise.
11439 * elf/tst-unique4.cc (gets): Likewise.
11441 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11443 * include/stdio.h: Add C++ protection. Add gets declarations and
11445 * debug/tst-chk1.c: Don't declare gets here.
11446 * stdio-common/tst-gets.c: Likewise.
11448 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11450 * posix/glob: Remove directory.
11452 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11454 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11456 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11458 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11459 of the non-standard EPFNOSUPPORT.
11461 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11463 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11464 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11465 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11467 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11469 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11471 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11473 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11475 * nscd/grpcache.c (cache_addgr): Likewise.
11476 * nscd/hstcache.c (cache_addhst): Likewise.
11477 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11478 * nscd/pwdcache.c (cache_addpw): Likewise.
11479 * nscd/servicescache.c (cache_addserv): Likewise.
11481 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11483 * malloc/malloc.c: Various cleanups.
11484 * malloc/hooks.c: Likewise.
11486 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11487 * stdlib/bug-fmtmsg1.c: New file.
11489 * stdlib/fmtmsg.c (init): Add missing unlock.
11490 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11492 2012-01-12 Marek Polacek <polacek@redhat.com>
11494 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11497 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11499 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11500 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11501 macro to ensure uniqueness of label name.
11502 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11503 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11505 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11507 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11509 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11510 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11511 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11514 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11516 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11518 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11519 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11520 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11522 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11524 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11525 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11526 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11529 * math/bits/math-finite.h: Add ldexp support.
11531 2012-01-10 Marek Polacek <polacek@redhat.com>
11533 * locale/programs/localedef.h (show_archive_content): Add noreturn
11536 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11538 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11540 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11542 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11544 * io/Makefile (headers): Add bits/poll2.h.
11546 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11549 typo #include statement.
11551 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11553 * include/sys/cdefs.h: Define __attribute_alloc_size.
11554 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11555 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11556 * elf/pldd.c: Likewise.
11557 * iconv/iconv_charmap.c: Likewise.
11558 * iconv/iconvconfig.c: Likewise.
11559 * iconv/strtab.c: Likewise.
11560 * locale/programs/locale.c: Likewise.
11561 * locale/programs/localedef.h: Likewise.
11562 * locale/programs/simple-hash.c: Likewise.
11563 * nscd/nscd.h: Likewise.
11564 * nss/makedb.c: Likewise.
11565 * sysdeps/generic/ldconfig.h: Likewise.
11566 * locale/programs/localedef.c: Remove xmalloc prototype.
11567 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11569 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11571 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11574 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11576 * math/Makefile (tests): Add tst-CMPLX.
11577 * math/tst-CMPLX.c: New file.
11579 * math/complex.h (CMPLXL): Fix typo.
11581 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11582 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11584 * debug/tst-chk1.c: Add poll and ppoll tests.
11585 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11586 * include/sys/poll.h: Add hidden proto for ppoll.
11587 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11588 * sysdeps/mach/hurd/ppoll.c: Likewise.
11589 * io/ppoll.c: Likewise.
11590 * debug/poll_chk.c: New file.
11591 * debug/ppoll_chk.c: New file.
11592 * include/bits/poll2.h: New file.
11593 * io/bits/poll2.h: New file.
11596 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11598 * configure.in: static is always set to yes. Remove.
11599 * config.make.in: Don't set build-static.
11600 * Makeconfig: Remove use of build-static.
11601 * dlfcn/Makefile: Likewise.
11602 * elf/Makefile: Likewise.
11603 * math/Makefile: Likewise.
11604 * misc/Makefile: Likewise.
11605 * nptl/Makefile: Likewise.
11606 * sysdeps/mach/hurd/Makefile: Likewise.
11608 * configure.in: PWD_P is not used anymore.
11609 * config.make.in: Remove PWD_P entry.
11611 * configure.in: Remove last remnants of RANLIB.
11612 No need to check for signed size_t anymore.
11613 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11615 Remove __builtin_expect test because we require at least gcc 3.4.
11616 * aclocal.m4: Likewise.
11618 * wcsmbs/mbrtoc16.c: Implement using towc function.
11619 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11620 * wcsmbs/wcsmbsload.c: Likewise.
11621 * iconv/gconv_simple.c: Likewise.
11622 * iconv/gconv_int.h: Likewise.
11623 * iconv/gconv_builtin.h: Likewise.
11624 * iconv/iconv_prog.c: Remove CHAR16 handling.
11626 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11628 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11630 * configure.in: Remove --with-elf and --enable-bounded options.
11631 Dont set base_machine for ia64. More non-ELF conditions removed.
11632 Remove testing and setting of leading underscore information.
11633 * config.make.in (build-bounded): Set to no.
11634 * config.h.in: Remove NO_UNDERSCORES entry.
11635 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11637 * csu/start.c: Remove !NO_UNDERSCORE code.
11638 * locale/localeinfo.h: Likewise.
11639 * sysdeps/generic/machine-gmon.h: Likewise.
11640 * sysdeps/generic/sysdep.h: Likewise.
11641 * sysdeps/i386/sysdep.h: Likewise.
11642 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11643 * sysdeps/mach/sysdep.h: Likewise.
11644 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11645 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11646 * sysdeps/sh/sysdep.h: Likewise.
11647 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11648 * sysdeps/unix/i386/sysdep.S: Likewise.
11649 * sysdeps/unix/sparc/start.c: Likewise.
11650 * sysdeps/unix/sparc/sysdep.S: Likewise.
11651 * sysdeps/unix/sparc/sysdep.h: Likewise.
11652 * sysdeps/unix/start.c: Likewise.
11653 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11654 * sysdeps/x86_64/sysdep.h: Likewise.
11656 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11659 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11661 * argp/argp-fmtstream.h: Use const instead __const.
11662 * argp/argp.h: Likewise.
11663 * assert/assert.h: Likewise.
11664 * bits/fenv.h: Likewise.
11665 * bits/sched.h: Likewise.
11666 * bits/sigset.h: Likewise.
11667 * bits/sigthread.h: Likewise.
11668 * catgets/nl_types.h: Likewise.
11669 * conform/data/pthread.h-data: Likewise.
11670 * crypt/crypt-private.h: Likewise.
11671 * crypt/crypt.h: Likewise.
11672 * crypt/crypt_util.c: Likewise.
11673 * ctype/ctype.h: Likewise.
11674 * debug/execinfo.h: Likewise.
11675 * debug/mbsnrtowcs_chk.c: Likewise.
11676 * debug/mbsrtowcs_chk.c: Likewise.
11677 * debug/wcsnrtombs_chk.c: Likewise.
11678 * debug/wcsrtombs_chk.c: Likewise.
11679 * debug/wcstombs_chk.c: Likewise.
11680 * dirent/dirent.h: Likewise.
11681 * dlfcn/dlfcn.h: Likewise.
11682 * elf/neededtest4.c: Likewise.
11683 * grp/grp.h: Likewise.
11684 * gshadow/gshadow.h: Likewise.
11685 * iconv/gconv.h: Likewise.
11686 * iconv/gconv_int.h: Likewise.
11687 * iconv/gconv_simple.c: Likewise.
11688 * iconv/iconv.h: Likewise.
11689 * iconv/loop.c: Likewise.
11690 * iconv/skeleton.c: Likewise.
11691 * include/aio.h: Likewise.
11692 * include/aliases.h: Likewise.
11693 * include/argz.h: Likewise.
11694 * include/arpa/inet.h: Likewise.
11695 * include/assert.h: Likewise.
11696 * include/dirent.h: Likewise.
11697 * include/dlfcn.h: Likewise.
11698 * include/execinfo.h: Likewise.
11699 * include/fcntl.h: Likewise.
11700 * include/fenv.h: Likewise.
11701 * include/glob.h: Likewise.
11702 * include/grp.h: Likewise.
11703 * include/libintl.h: Likewise.
11704 * include/mntent.h: Likewise.
11705 * include/netdb.h: Likewise.
11706 * include/pwd.h: Likewise.
11707 * include/rpc/netdb.h: Likewise.
11708 * include/sched.h: Likewise.
11709 * include/search.h: Likewise.
11710 * include/shadow.h: Likewise.
11711 * include/signal.h: Likewise.
11712 * include/stdio.h: Likewise.
11713 * include/stdlib.h: Likewise.
11714 * include/string.h: Likewise.
11715 * include/sys/socket.h: Likewise.
11716 * include/sys/stat.h: Likewise.
11717 * include/sys/statfs.h: Likewise.
11718 * include/sys/statvfs.h: Likewise.
11719 * include/sys/syslog.h: Likewise.
11720 * include/sys/time.h: Likewise.
11721 * include/sys/uio.h: Likewise.
11722 * include/time.h: Likewise.
11723 * include/unistd.h: Likewise.
11724 * include/utmp.h: Likewise.
11725 * include/wchar.h: Likewise.
11726 * include/wctype.h: Likewise.
11727 * inet/aliases.h: Likewise.
11728 * inet/arpa/inet.h: Likewise.
11729 * inet/netinet/ether.h: Likewise.
11730 * inet/netinet/in.h: Likewise.
11731 * intl/libintl.h: Likewise.
11732 * io/bits/fcntl2.h: Likewise.
11733 * io/fcntl.h: Likewise.
11734 * io/ftw.h: Likewise.
11735 * io/sys/poll.h: Likewise.
11736 * io/sys/stat.h: Likewise.
11737 * io/sys/statfs.h: Likewise.
11738 * io/sys/statvfs.h: Likewise.
11739 * io/utime.h: Likewise.
11740 * libio/bits/stdio.h: Likewise.
11741 * libio/bits/stdio2.h: Likewise.
11742 * libio/libio.h: Likewise.
11743 * libio/libioP.h: Likewise.
11744 * libio/stdio.h: Likewise.
11745 * locale/lc-ctype.c: Likewise.
11746 * locale/locale.h: Likewise.
11747 * login/utmp.h: Likewise.
11748 * malloc/arena.c: Likewise.
11749 * malloc/malloc.c: Likewise.
11750 * malloc/malloc.h: Likewise.
11751 * malloc/mcheck.c: Likewise.
11752 * malloc/mtrace.c: Likewise.
11753 * math/bits/mathcalls.h: Likewise.
11754 * math/fenv.h: Likewise.
11755 * math/math_private.h: Likewise.
11756 * misc/bits/error.h: Likewise.
11757 * misc/bits/syslog.h: Likewise.
11758 * misc/err.h: Likewise.
11759 * misc/error.h: Likewise.
11760 * misc/fstab.h: Likewise.
11761 * misc/mntent.h: Likewise.
11762 * misc/regexp.h: Likewise.
11763 * misc/search.h: Likewise.
11764 * misc/sgtty.h: Likewise.
11765 * misc/sys/mman.h: Likewise.
11766 * misc/sys/syslog.h: Likewise.
11767 * misc/sys/uio.h: Likewise.
11768 * misc/sys/xattr.h: Likewise.
11769 * misc/ttyent.h: Likewise.
11770 * nis/rpcsvc/ypclnt.h: Likewise.
11771 * nss/nss.h: Likewise.
11772 * posix/bits/unistd.h: Likewise.
11773 * posix/fnmatch.h: Likewise.
11774 * posix/glob.h: Likewise.
11775 * posix/sched.h: Likewise.
11776 * posix/spawn.h: Likewise.
11777 * posix/sys/wait.h: Likewise.
11778 * posix/unistd.h: Likewise.
11779 * posix/wordexp.h: Likewise.
11780 * pwd/pwd.h: Likewise.
11781 * resolv/netdb.h: Likewise.
11782 * resource/sys/resource.h: Likewise.
11783 * rt/aio.h: Likewise.
11784 * rt/bits/mqueue2.h: Likewise.
11785 * rt/mqueue.h: Likewise.
11786 * shadow/shadow.h: Likewise.
11787 * signal/signal.h: Likewise.
11788 * socket/send.c: Likewise.
11789 * socket/sendto.c: Likewise.
11790 * socket/sys/socket.h: Likewise.
11791 * stdio-common/printf.h: Likewise.
11792 * stdlib/bits/stdlib.h: Likewise.
11793 * stdlib/fmtmsg.h: Likewise.
11794 * stdlib/monetary.h: Likewise.
11795 * stdlib/stdlib.h: Likewise.
11796 * stdlib/ucontext.h: Likewise.
11797 * streams/stropts.h: Likewise.
11798 * string/argz.h: Likewise.
11799 * string/bits/string2.h: Likewise.
11800 * string/string.h: Likewise.
11801 * string/strings.h: Likewise.
11802 * sunrpc/rpc/auth.h: Likewise.
11803 * sunrpc/rpc/auth_des.h: Likewise.
11804 * sunrpc/rpc/clnt.h: Likewise.
11805 * sunrpc/rpc/netdb.h: Likewise.
11806 * sunrpc/rpc/pmap_clnt.h: Likewise.
11807 * sunrpc/rpc/xdr.h: Likewise.
11808 * sysdeps/generic/inttypes.h: Likewise.
11809 * sysdeps/generic/net/if.h: Likewise.
11810 * sysdeps/generic/sys/swap.h: Likewise.
11811 * sysdeps/gnu/net/if.h: Likewise.
11812 * sysdeps/gnu/utmpx.h: Likewise.
11813 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11814 * sysdeps/i386/i486/bits/string.h: Likewise.
11815 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11816 * sysdeps/s390/bits/string.h: Likewise.
11817 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11818 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11819 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11820 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11821 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11822 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11823 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11824 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11825 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11826 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11827 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11828 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11829 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11830 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11831 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11832 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11833 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11835 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11836 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11837 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11838 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11839 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11840 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11841 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11842 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11843 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11845 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11846 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11847 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11848 * sysvipc/sys/ipc.h: Likewise.
11849 * sysvipc/sys/msg.h: Likewise.
11850 * sysvipc/sys/sem.h: Likewise.
11851 * sysvipc/sys/shm.h: Likewise.
11852 * termios/termios.h: Likewise.
11853 * time/sys/time.h: Likewise.
11854 * time/time.h: Likewise.
11855 * wcsmbs/bits/wchar2.h: Likewise.
11856 * wcsmbs/uchar.h: Likewise.
11857 * wcsmbs/wchar.h: Likewise.
11858 * wctype/wctype.h: Likewise.
11861 * Makeconfig: Remove all but ELF support including AIX support.
11862 * Makerules: Likewise.
11863 * config.h.in: Likewise.
11864 * config.make.in: Likewise.
11865 * configure: Likewise.
11866 * configure.in: Likewise.
11867 * csu/Makefile: Likewise.
11868 * csu/version.c: Likewise.
11869 * debug/Makefile: Likewise.
11870 * dlfcn/Makefile: Likewise.
11871 * elf/Makefile: Likewise.
11872 * extra-lib.mk: Likewise.
11873 * iconv/Makefile: Likewise.
11874 * include/libc-symbols.h: Likewise.
11875 * include/shlib-compat.h: Likewise.
11876 * resolv/Makefile: Likewise.
11877 * resolv/res_libc.c: Likewise.
11878 * rt/Makefile: Likewise.
11879 * sysdeps/i386/asm-syntax.h: Likewise.
11880 * sysdeps/i386/sysdep.h: Likewise.
11881 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11882 * sysdeps/mach/sysdep.h: Likewise.
11883 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11884 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11885 * sysdeps/s390/asm-syntax.h: Likewise.
11886 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11887 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11888 * sysdeps/sh/sysdep.h: Likewise.
11889 * sysdeps/unix/sparc/sysdep.h: Likewise.
11890 * sysdeps/wordsize-32/divdi3.c: Likewise.
11891 * sysdeps/x86_64/sysdep.h: Likewise.
11893 * argp/Versions: Remove _argp_unlock_xxx.
11896 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11897 * abilist/libBrokenLocale.abilist: Likewise.
11898 * abilist/libanl.abilist: Likewise.
11899 * abilist/libc.abilist: Likewise.
11900 * abilist/libcrypt.abilist: Likewise.
11901 * abilist/libdl.abilist: Likewise.
11902 * abilist/libm.abilist: Likewise.
11903 * abilist/libnsl.abilist: Likewise.
11904 * abilist/libpthread.abilist: Likewise.
11905 * abilist/libresolv.abilist: Likewise.
11906 * abilist/librt.abilist: Likewise.
11907 * abilist/libthread_db.abilist: Likewise.
11908 * abilist/libutil.abilist: Likewise.
11909 * abilist/libnss_db.abilist: New file.
11911 * scripts/abilist.awk: Add support for indirect functions.
11913 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11915 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11917 * shlib-versions: Remove entries for ports architectures.
11919 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11921 * elf/stackguard-macros.h: Remove support for IA-64.
11922 * elf/tst-auditmod1.c: Likewise.
11923 * sysdeps/generic/ldsodefs.h: Likewise.
11925 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11926 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11930 * configure.in: Remove --enable-omitfp support.
11932 * config.make.in: Likewise.
11933 * Makeconfig: Likewise.
11934 * manual/install.texi: Likewise.
11936 In case anyone cares, the IA-64 architecture could move to ports.
11937 * sysdeps/ia64/*: Removed.
11938 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11939 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11942 * configure.in: Remove entries for unsupported architectures.
11945 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11946 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11948 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11949 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11950 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11951 fall back to using wcrtomb.
11952 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11953 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11955 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11956 * wcsmbs/tst-c16c32-1.c: New file.
11958 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11961 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11963 * elf/tst-unique3.cc: Add explicit declaration of gets.
11964 * elf/tst-unique3lib.cc: Likewise.
11965 * elf/tst-unique3lib2.cc: Likewise.
11966 * elf/tst-unique4.cc: Likewise.
11968 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11970 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11973 * assert/assert.h (static_assert): Don't define for C++.
11974 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11975 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11977 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11979 * iconv/loop.c (single loop): Fix assertion in storing of
11982 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11984 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11986 * posix/getconf.c: Update copyright year.
11987 * nss/getent.c: Likewise.
11988 * nss/makedb.c: Likewise.
11989 * iconv/iconvconfig.c: Likewise.
11990 * iconv/iconv_prog.c: Likewise.
11991 * elf/ldconfig.c: Likewise.
11992 * elf/pldd.c: Likewise.
11993 * elf/sotruss.ksh: Likewise.
11994 * catgets/gencat.c: Likewise.
11995 * csu/version.c: Likewise.
11996 * elf/ldd.bash.in: Likewise.
11997 * elf/sprof.c (print_version): Likewise.
11998 * locale/programs/locale.c: Likewise.
11999 * locale/programs/localedef.c: Likewise.
12000 * login/programs/pt_chown.c: Likewise.
12001 * nscd/nscd.c (print_version): Likewise.
12002 * debug/xtrace.sh: Likewise.
12003 * malloc/memusage.sh: Likewise.
12004 * malloc/mtrace.pl: Likewise.
12005 * debug/catchsegv.sh: Likewise.
12007 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12009 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12012 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12015 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12016 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12018 * iconv/gconv_int.h: Likewise.
12019 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12020 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12021 from libc for GLIBC_2.16.
12022 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12023 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12024 * wcsmbs/uchar.h: Really define mbstate_t.
12025 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12026 * wcsmbs/c16rtomb.c: New file.
12027 * wcsmbs/mbrtoc16.c: New file.
12028 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12029 for C/POSIX locale.
12030 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12031 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12033 * wcsmbs/wchar.h: Add missing __restrict.
12035 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12038 * time/Makefile (routines): Add timespec_get.
12039 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12040 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12041 timespec for ISO C11.
12042 * time/timespec_get.c: New file.
12043 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12044 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12047 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12048 * stdlib/stdlib.h: Declare aligned_alloc.
12049 * Versions.def: Add GLIBC_2.16 for libc.
12050 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12053 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12056 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12060 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12063 * assert/assert.h (static_assert): Define.
12065 * version.h: Update for 2.16 development version.
12068 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12071 * version.h (RELEASE): Bump for 2.15 release.
12072 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12074 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12075 Patch by Marek Polacek <mpolacek@redhat.com>.
12077 * bits/byteswap.h: Protect long long constants with __extension__.
12078 * sysdeps/i386/bits/byteswap.h: Likewise.
12079 * sysdeps/ia64/bits/byteswap.h: Likewise.
12080 * sysdeps/s390/bits/byteswap.h: Likewise.
12081 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12083 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12087 destination buffer.
12088 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12090 2011-12-23 Marek Polacek <polacek@redhat.com>
12092 * elf/dl-addr.c (determine_info): Add inline keyword.
12093 * elf/tst-auditmod4b.c (check_avx): Likewise.
12094 * elf/tst-auditmod6b.c (check_avx): Likewise.
12095 * elf/tst-auditmod6c.c (check_avx): Likewise.
12096 * elf/tst-auditmod7b.c (check_avx): Likewise.
12098 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12100 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12103 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12106 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12107 processing for last bytes.
12109 2011-08-06 Bruno Haible <bruno@clisp.org>
12112 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12113 U+0385, not to U+1FEE.
12116 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12117 entry for U+00A5 U+0301.
12119 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12122 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12123 buffer for the output is too small.
12125 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12129 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12130 SSE flags if possible.
12132 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12135 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12136 processing for last bytes.
12138 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12140 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12141 (syscall-list-default-options, syscall-list-default-condition)
12142 (syscall-list-includes): Define.
12143 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12144 list of ABIs and options and #if conditions for each ABI. Do not
12145 handle common syscalls between ABIs specially.
12146 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12148 (syscall-list-variants, syscall-list-32bit-options)
12149 (syscall-list-32bit-condition, syscall-list-64bit-options)
12150 (syscall-list-64bit-condition): Define.
12151 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12152 (syscall-list-variants, syscall-list-32bit-options)
12153 (syscall-list-32bit-condition, syscall-list-64bit-options)
12154 (syscall-list-64bit-condition): Define.
12155 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12157 (syscall-list-variants, syscall-list-32bit-options)
12158 (syscall-list-32bit-condition, syscall-list-64bit-options)
12159 (syscall-list-64bit-condition): Define.
12160 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12162 (syscall-list-variants, syscall-list-32bit-options)
12163 (syscall-list-32bit-condition, syscall-list-64bit-options)
12164 (syscall-list-64bit-condition): Define.
12166 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12168 * locale/iso-639.def: Add brx entry.
12171 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12172 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12174 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12175 __feraiseexcept_renamed.
12177 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12180 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12181 EPOLLET with unsigned values.
12182 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12183 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12185 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12186 to large cancellation.
12187 * math/s_cacoshf.c: Likewise.
12188 * math/s_cacoshl.c: Likewise.
12190 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12194 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12195 * math/s_cacoshf.c: Likewise.
12196 * math/s_cacoshl.c: Likewise.
12198 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12201 * iconv/gconv.h: Define __GCONV_SWAP.
12202 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12203 * iconvdata/utf-16.c: Likewise.
12204 * iconvdata/utf-32.c: Likewise.
12206 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12209 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12210 numerator after shifting it by one limb.
12212 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12214 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12215 under [__USE_EXTERN_INLINES].
12217 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12220 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12222 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12224 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12225 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12227 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12228 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12229 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12230 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12231 for strncasecmp/strncasecmp_l compilation.
12232 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12233 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12235 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12238 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12241 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12244 * time/tzfile.c (__tzfile_read): Check values from file header.
12246 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12248 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12249 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12250 * powerpc/powerpc32/dl-start.S: Likewise.
12251 * powerpc/powerpc32/elf/start.S: Likewise.
12252 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12253 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12254 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12255 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12256 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12257 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12258 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12259 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12260 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12261 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12262 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12263 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12264 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12265 * powerpc/powerpc32/memset.S: Likewise.
12266 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12267 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12268 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12269 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12270 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12271 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12272 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12273 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12274 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12275 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12276 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12277 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12278 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12280 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12282 * math/libm-test.inc: Added more nearbyint tests.
12283 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12284 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12285 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12286 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12288 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12290 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12293 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12295 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12296 Add wcscpy-ssse3 wcscpy-c.
12297 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12298 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12299 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12300 * sysdeps/x86_64/wcschr.S: New file.
12301 * sysdeps/x86_64/wcsrchr.S: New file.
12302 * string/test-strcmp.c: Remove checking of wcscmp function for
12304 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12305 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12306 wcsrchr-sse2 wcsrchr-c.
12307 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12308 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12309 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12310 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12311 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12312 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12313 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12314 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12315 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12316 * wcsmbc/wcschr.c (WCSCHR): New macro.
12318 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12320 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12321 * wcsmbs/test-wcsrchr.c: New file.
12322 * string/test-strrchr.c: Add wcsrchr support.
12324 * wcsmbs/test-wcscpy.c: New file.
12325 * string/test-strcpy.c: Add wcscpy support.
12328 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12330 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12333 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12336 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12338 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12340 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12341 Minor optimizations.
12343 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12344 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12345 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12347 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12349 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12350 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12351 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12352 for gcc to avoid warnings.
12353 * inet/Makefile (tests): Add tst-checks.
12354 * inet/tst-checks.c: New file.
12356 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12359 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12362 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12363 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12365 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12367 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12369 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12372 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12374 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12376 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12377 conditional on GCC version.
12378 (__arch_compare_and_exchange_val_8_acq)
12379 (__arch_compare_and_exchange_val_16_acq)
12380 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12381 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12382 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12384 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12386 * sysdeps/sh/backtrace.c: New file.
12388 2011-12-02 Andreas Schwab <schwab@redhat.com>
12390 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12393 2011-12-01 Andreas Schwab <schwab@redhat.com>
12395 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12396 falling back to utime.
12398 2011-11-30 Andreas Schwab <schwab@redhat.com>
12400 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12401 expectations for float.
12403 2011-11-29 Andreas Schwab <schwab@redhat.com>
12405 * locale/weight.h (findidx): Add parameter len.
12406 * locale/weightwc.h (findidx): Likewise.
12407 * posix/fnmatch_loop.c (FCT): Adjust caller.
12408 * posix/regcomp.c (build_equiv_class): Likewise.
12409 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12410 * posix/regexec.c (check_node_accept_bytes): Likewise.
12411 * string/strcoll_l.c (STRCOLL): Likewise.
12412 * string/strxfrm_l.c (STRXFRM): Likewise.
12414 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12416 * Makefile.in: Remove CVSOPT handling.
12417 * configure.in: Remove use of AC_REVISION.
12418 * iconvdata/Makefile (distribute): No need to filter out CVS.
12419 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12422 2011-11-16 Andreas Schwab <schwab@redhat.com>
12424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12425 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12426 [USE_AS_STRNCASECMP_L]: Likewise.
12427 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12428 NO_TLS_DIRECT_SEG_REFS.
12429 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12430 Fix argument offsets for non-PIC.
12431 [USE_AS_STRNCASECMP_L]: Likewise.
12432 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12433 NO_TLS_DIRECT_SEG_REFS.
12435 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12437 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12439 * locale/loadlocale.c (_nl_load_locale): Likewise.
12441 2011-11-15 Andreas Schwab <schwab@redhat.com>
12443 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12444 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12445 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12446 (SYSCALL_GETTIME): Set errno on error.
12448 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12449 count references to noai6ai_cached.
12451 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12453 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12455 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12456 FD_CLOEXEC for /proc/self/maps.
12458 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12459 FD_CLOEXEC for /proc/meminfo.
12461 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12464 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12465 FD_CLOEXEC for given file.
12467 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12469 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12470 FD_CLOEXEC for /etc/hosts.
12471 (_gethtent): Likewise.
12473 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12475 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12476 cancellation and set FD_CLOEXEC for /etc/netgroup.
12478 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12479 reading /etc/publickey.
12481 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12482 allow cancellation when reading /etc/group.
12484 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12486 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12488 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12489 when using data file.
12491 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12493 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12494 (write_nis_obj): Use "c" and "e" in fopen.
12496 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12498 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12500 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12502 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12504 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12507 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12509 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12511 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12513 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12514 file parsing and set FD_CLOEXEC.
12516 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12518 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12520 2011-11-14 Andreas Schwab <schwab@redhat.com>
12522 * malloc/arena.c (arena_get2): Don't call reused_arena when
12523 _int_new_arena failed.
12525 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12527 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12528 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12529 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12530 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12531 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12532 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12533 to compile strcasecmp and strncasecmp.
12534 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12535 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12539 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12541 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12542 locale-defines.sym to gen-as-const-headers.
12543 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12544 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12545 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12546 to compile strcasecmp and strncasecmp.
12547 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12548 strcasecmp_l and strncasecmp_l.
12549 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12550 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12551 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12552 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12553 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12554 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12555 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12556 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12557 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12558 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12559 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12561 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12563 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12564 result of SYSDEP_GETTIME_CPU to retval.
12565 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12566 parameter list to macro. Remove trailing semicolon. Adjust users.
12568 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12571 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12573 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12575 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12576 from unused variable.
12578 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12580 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12583 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12586 * sunrpc/rpc_prot.c (rejected): Fix case value.
12588 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12589 unsigned long long int to avoid warnings in shift.
12591 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12593 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12596 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12597 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12598 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12600 * nis/nis_table.c (nis_list): Use variable of correct type for
12601 result of __follow_path call.
12603 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12605 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12606 of math functions ceil, trunc, floor, round, and sqrt, when
12607 avaliable on the platform.
12608 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12610 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12611 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12612 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12614 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12616 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12617 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12619 2011-11-11 Roland McGrath <roland@hack.frob.com>
12621 * include/unistd.h: Fix __readlink return type.
12622 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12624 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12626 * stdlib/ucontext.h: Undo last change for makecontext.
12628 2011-11-11 Andreas Schwab <schwab@redhat.com>
12630 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12632 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12633 * setjmp/setjmp.h: Mark functions as non-leaf.
12634 * setjmp/bits/setjmp2.h: Likewise.
12635 * stdlib/ucontext.h: Likewise.
12637 2011-11-10 Andreas Schwab <schwab@redhat.com>
12639 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12640 (reused_arena): Don't check arena limit.
12641 (arena_get2): Atomically check arena limit.
12643 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12645 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12646 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12648 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12651 2011-11-07 Andreas Schwab <schwab@redhat.com>
12653 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12654 handler when locking.
12656 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12657 Fix size of allocated buffer.
12659 2011-11-04 Andreas Schwab <schwab@redhat.com>
12662 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12663 declarations for long double functions.
12664 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12666 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12668 2011-11-03 Andreas Schwab <schwab@redhat.com>
12670 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12673 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12676 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12678 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12680 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12682 * include/alloca.h (stackinfo_alloca_round): Define.
12683 (extend_alloca): Use it.
12684 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12685 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12688 * scripts/check-local-headers.sh: Ignore libaudit.h.
12690 * nscd/Makefile (extra-objs): Make recursively expanded.
12692 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12694 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12695 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12697 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12698 * posix/tst-rfc3484-2.c: Likewise.
12699 * posix/tst-rfc3484-3.c: Likewise.
12701 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12703 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12705 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12706 process_vm_writev from libc using GLIBC_2.15 version.
12708 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12710 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12712 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12715 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12718 * nss/getent.c (initgroups_keys): Show error message in case no group
12721 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12722 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12723 __bump_nl_timestamp.
12724 * nscd/connections (nscd_init): When host database is served open
12725 netlink socket and request notification about configuration changes.
12726 (main_loop_poll): Track netlink file descriptor and bump timestamp
12727 in case data becomes available.
12728 (main_loop_epoll): Likewise.
12729 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12730 (database_pers_head): Add extra_data fileds.
12731 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12732 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12733 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12735 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12736 in6ai data, call __free_in6ai.
12737 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12738 Add -DHAVE_NETLINK.
12739 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12740 interface information. Reuse previous data if netlink timestamp
12742 (__bump_nl_timestamp): New function.
12743 (__free_in6ai): New function.
12745 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12747 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12748 close_not_cancel_no_status here.
12749 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12751 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12754 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12757 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12758 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12759 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12761 2011-07-03 Andreas Jaeger <aj@suse.de>
12764 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12765 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12766 * math/libm-test.inc (sin_test): Add test case.
12768 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12771 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12772 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12774 * elf/chroot_canon.c (chroot_canon): Cleanups.
12776 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12779 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12780 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12782 * string/test-strchr.c: Make usable for strchrnul testing.
12783 * string/test-strchrnul.c: New file.
12784 * string/Makefile (strop-tests): Add strchrnul.
12786 * po/it.po: Update from translation team.
12787 * po/es.po: Likewise.
12789 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12791 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12792 the three constants needed as parameters. Drop the others.
12793 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12794 __m128i_strloadu_tolower.
12795 Create and initialize variable zero and use it in all the places
12796 where _mm_setzero_si128 was used.
12798 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12799 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12800 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12801 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12803 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12804 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12805 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12806 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12807 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12808 __mpranred, __mptan.
12809 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12810 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12811 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12812 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12813 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12814 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12816 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12817 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12819 2011-10-28 Andreas Schwab <schwab@redhat.com>
12821 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12822 redefine if SHARED.
12823 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12826 wide char related routines to wcsmbs subdir.
12828 2011-10-27 Andreas Schwab <schwab@redhat.com>
12831 * misc/sys/cdefs.h (__THROWNL): Define.
12832 * posix/unistd.h: Use __THREADNL instead of __THREAD
12833 for memory synchronization functions.
12835 2011-10-26 Roland McGrath <roland@hack.frob.com>
12838 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12840 * manual/stdio.texi (Obstack Streams): Node removed.
12842 2011-10-26 Andreas Schwab <schwab@redhat.com>
12844 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12845 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12846 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12848 * math/math_private.h (math_force_eval): Allow non-addressable
12850 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12852 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12854 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12855 file is not needed.
12857 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12858 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12859 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12860 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12861 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12862 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12863 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12864 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12866 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12867 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12868 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12869 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12870 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12871 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12872 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12873 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12874 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12875 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12876 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12877 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12878 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12879 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12880 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12881 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12882 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12883 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12884 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12886 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12887 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12889 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12890 place. Use VEX encoding when compiling for AVX.
12892 2011-10-25 Andreas Schwab <schwab@redhat.com>
12894 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12895 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12897 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12899 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12901 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12902 useless if() expression.
12903 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12904 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12905 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12913 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12914 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12915 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12916 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12917 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12918 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12919 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12921 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12923 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12925 2011-10-25 Andreas Schwab <schwab@redhat.com>
12927 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12929 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12931 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12933 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12934 .text section. Avoid duplicate constants.
12935 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12937 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12943 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12944 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12945 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12946 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12947 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12948 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12950 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12951 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12952 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12953 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12954 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12955 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12956 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12957 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12958 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12959 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12960 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12961 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12962 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12963 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12964 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12965 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12966 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12967 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12968 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12969 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12970 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12971 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12972 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12973 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12974 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12975 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12976 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12977 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12978 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12979 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12981 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12983 * sysdeps/x86_64/dla.h: Move to ...
12984 * sysdeps/x86_64/fpu/dla.h: ...here.
12985 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12986 situations. Use __builtin_fma only for gcc 4.6 and up.
12988 * config.make.in: Add have-mfma4 entry.
12989 * configure.in: Substitute libc_cv_cc_fma4.
12990 * math/Makefile (dbl-only-routines): Add sincostab.
12991 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12992 Use __sincostab not sincos.
12993 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12995 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13000 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13001 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13002 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13003 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13005 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13006 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13008 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13009 define aliases when function name is a macro.
13010 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13011 sysdeps/ieee754/dbl-64/sincos.tbl.
13012 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13013 fma4-enabled routines.
13014 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13015 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13016 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13017 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13018 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13019 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13020 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13021 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13022 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13023 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13024 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13025 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13026 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13027 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13028 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13029 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13030 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13031 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13032 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13033 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13034 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13035 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13036 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13037 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13039 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13040 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13041 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13042 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13043 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13045 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13048 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13052 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13056 2011-10-24 Andreas Schwab <schwab@redhat.com>
13058 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13060 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13062 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13064 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13066 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13068 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13069 Remove unused variable magic_bits.
13070 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13072 * string/strnlen.c: Define and use STRNLEN macro.
13073 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13074 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13076 * wcsmbs/wcslen.c: Define and use WCSLEN.
13077 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13078 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13079 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13080 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13081 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13082 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13083 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13085 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13088 strnlen-sse2-no-bsf.
13089 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13090 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13091 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13092 Add strnlen support.
13093 (USE_AS_STRNLEN): New macro.
13094 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13095 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13096 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13097 * sysdeps/x86_64/wcslen.S: New file.
13099 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13101 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13102 XMM-moves are used for copying on small sizes.
13104 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13106 * wcsmbs/Makefile (strop-tests): Add wcschr.
13107 * wcsmbs/test-wcschr.c: New file.
13108 * string/test-strchr.c: Update.
13109 Add wcschr support.
13112 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13114 * wcsmbs/Makefile (strop-tests): Add wcslen.
13115 * wcsmbs/test-wcslen.c: New file.
13116 * string/test-strlen.c: Update.
13117 Add wcslen support.
13120 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13122 * po/it.po: Update from translation team.
13124 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13126 * sysdeps/x86_64/wcscmp.S: Update.
13127 Fix wrong comparison semantics.
13128 wcscmp shall use signed comparison not unsigned.
13129 Don't use substraction to avoid overflow bug.
13130 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13131 * wcsmbc/wcscmp.c: Likewise.
13132 * string/test-strcmp.c: Likewise.
13133 Add new tests to check cases with negative values.
13135 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13137 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13138 * sysdeps/x86_64/dla.h: ...here. New file.
13139 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13144 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13149 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13152 __ynl_finite aliases.
13154 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13158 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13160 [DLA_FMA] (EMULV): Use DLA_FMA.
13161 [DLA_FMA] (MUL12): Use EMULV.
13162 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13163 that are not needed.
13164 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13167 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13169 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13170 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13172 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13174 * math/s_nan.c: Undef __nan.
13175 * math/s_nanf.c: Undef __nanf.
13176 * math/s_nanl.c: Undef __nanl.
13177 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13180 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13182 * math/s_catan.c: Add branch predictions.
13183 * math/s_catanf.c: Likewise.
13184 * math/s_catanh.c: Likewise.
13185 * math/s_catanhf.c: Likewise.
13186 * math/s_catanhl.c: Likewise.
13187 * math/s_catanl.c: Likewise.
13188 * math/s_cexp.c: Likewise.
13189 * math/s_cexpf.c: Likewise.
13190 * math/s_cexpl.c: Likewise.
13191 * math/s_clog.c: Likewise.
13192 * math/s_clog10.c: Likewise.
13193 * math/s_clog10f.c: Likewise.
13194 * math/s_clog10l.c: Likewise.
13195 * math/s_clogf.c: Likewise.
13196 * math/s_clogl.c: Likewise.
13197 * math/s_csqrt.c: Likewise.
13198 * math/s_csqrtf.c: Likewise.
13199 * math/s_csqrtl.c: Likewise.
13200 * math/s_ctanf.c: Likewise.
13201 * math/s_ctanh.c: Likewise.
13202 * math/s_ctanhf.c: Likewise.
13203 * math/s_ctanhl.c: Likewise.
13204 * math/s_ctanl.c: Likewise.
13206 * math/math_private.h: Define __nan, __nanf, __nanl.
13207 * math/s_cacosh.c: Include <math_private.h>.
13208 * math/s_cacoshl.c: Likewise.
13209 * math/s_casinh.c: Likewise.
13210 * math/s_casinhf.c: Likewise.
13211 * math/s_casinhl.c: Likewise.
13212 * math/s_ccos.c: Rely entire on ccosh.
13213 * math/s_ccosf.c: Rely entire on ccoshf.
13214 * math/s_ccosl.c: Rely entirely on ccoshl.
13215 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13216 Remove tests for FE_INVALID.
13217 * math/s_ccoshf.c: Likewise.
13218 * math/s_ccoshl.c: Likewise.
13219 * math/s_csin.c: Likewise.
13220 * math/s_csinf.c: Likewise.
13221 * math/s_csinh.c Likewise.
13222 * math/s_csinhf.c: Likewise.
13223 * math/s_csinhl.c: Likewise.
13224 * math/s_csinl.c: Likewise.
13225 * math/s_ctan.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13227 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13230 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13233 compilation problems.
13235 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13238 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13240 * sysdeps/i386/configure.in: Test for -mfma4 option.
13241 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13242 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13243 COMMON_CPUID_INDEX_80000001.
13244 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13245 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13246 use it if FMA3 is not supported.
13247 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13249 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13250 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13252 2011-10-20 Andreas Schwab <schwab@redhat.com>
13255 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13256 it would create a cycle with a link time dependency.
13258 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13260 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13262 * string/Makefile (strop-tests): Add rawmemchr.
13263 * string/test-rawmemchr.c: New file.
13265 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13266 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13267 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13268 when compiling str{,n}casecmp and when AVX is available. Hook up
13269 new optimized code in initializers.
13271 2011-10-19 Andreas Schwab <schwab@redhat.com>
13273 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13274 __feraiseexcept instead of feraiseexcept.
13276 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13278 * math/math_private.h: Define defaults for libc_fetestexcept and
13280 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13281 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13282 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13283 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13284 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13285 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13286 libc_fetestexcept and libc_feupdateenv.
13288 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13289 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13290 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13291 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13292 libc_feholdexcept_setround.
13294 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13295 Add s_nearbyint-c and s_nearbyintf-c.
13296 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13297 nearbyintf inlines.
13298 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13299 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13300 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13301 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13303 * math/math_private.h: Define defaults for libc_fegetround,
13304 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13305 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13306 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13307 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13308 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13309 standard functions.
13310 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13311 Remove comments and hacks for old compiler versions.
13312 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13313 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13314 libc_feholdexceptl.
13316 2011-10-18 Andreas Schwab <schwab@redhat.com>
13318 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13319 (__feraiseexcept_renamed): Add __NTH.
13320 (feraiseexcept): Add __NTH. Rename local variables to fix
13321 namespace violations.
13323 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13325 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13327 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13329 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13330 recently added interfaces.
13331 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13333 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13334 about macro parameter expansion.
13336 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13337 __NO_MATH_INLINES is defined. Cleanups.
13339 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13340 and __floorf is target has SSE4.1.
13341 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13342 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13343 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13344 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13346 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13348 (floorf): Likewise.
13350 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13352 2011-10-17 Andreas Schwab <schwab@redhat.com>
13354 * misc/sys/cdefs.h: Fix last change.
13356 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13359 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13361 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13363 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13364 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13369 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13370 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13371 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13372 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13373 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13374 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13375 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13376 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13377 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13378 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13379 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13380 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13381 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13382 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13383 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13384 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13386 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13387 ceil, ceilf, floor, floorf.
13389 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13390 Perform IRELATIVE relocations last.
13392 * elf/do-rel.h: Add another parameter nrelative, replacing the
13393 local variable with the same name. Change name of the function
13394 to end in Rel or Rela (uppercase).
13395 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13396 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13397 elf_dynamic_do_##reloc function.
13399 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13401 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13402 is sufficient, at least on modern CPUs.
13404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13406 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13407 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13409 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13411 * math/bits/math-finite.h: Add entries for exp.
13412 * math/e_expl.c: Add __*_finite alias.
13413 * sysdeps/i386/fpu/e_exp.S: Likewise.
13414 * sysdeps/i386/fpu/e_expf.S: Likewise.
13415 * sysdeps/i386/fpu/e_expl.c: Likewise.
13416 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13417 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13420 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13421 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13422 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13424 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13425 is sufficient, at least on modern CPUs.
13427 * ctype/ctype-info.c (__ctype_init): Define.
13428 * include/ctype.h (__ctype_init): Declare.
13429 (__ctype_b_loc): The variable is always initialized.
13430 (__ctype_toupper_loc): Likewise.
13431 (__ctype_tolower_loc): Likewise.
13432 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13433 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13435 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13437 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13439 * configure.in: Also look in $cxxmachine/include for C++ system
13442 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13444 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13445 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13446 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13447 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13448 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13449 (USE_AS_WMEMCMP): New macro.
13451 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13452 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13453 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13454 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13456 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13457 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13458 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13459 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13460 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13461 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13462 (USE_AS_WMEMCMP): New macro.
13463 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13464 * sysdeps/string/test-memcmp.c: Update.
13465 Fix simple_wmemcmp.
13467 * wcsmbs/wmemcmp.c: Update.
13468 (WMEMCMP): New macro.
13471 2011-10-12 Andreas Jaeger <aj@suse.de>
13474 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13476 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13478 * libio/iofwide.c (do_length): Avoid warning.
13480 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13482 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13484 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13486 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13487 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13488 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13489 * sysdeps/i386/i686/fpu/e_log.S: New file.
13490 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13491 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13493 * ctype/ctype.h: Add support for inlined isXXX functions when
13494 compiling C++ code.
13496 2011-10-14 Andreas Schwab <schwab@redhat.com>
13498 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13500 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13502 2011-10-13 Roland McGrath <roland@hack.frob.com>
13505 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13507 2011-10-13 Andreas Schwab <schwab@redhat.com>
13509 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13510 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13513 * sysdeps/x86_64/memrchr.S: Check for zero size.
13515 * string/stratcliff.c: Add memrchr tests.
13517 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13520 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13521 rawmemchr-sse2 rawmemchr-sse2-bsf.
13522 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13523 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13524 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13525 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13526 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13527 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13528 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13529 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13530 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13531 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13532 * string/memrchr.c (MEMRCHR): New macro.
13534 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13536 Add integration with gcc's -ffinite-math-only and optimize wrapper
13538 * Versions.def: Define GLIBC_2.15 version for libm.
13539 * math/Makefile (headers): Add bits/math-finite.h.
13540 * math/bits/math-finite.h: New file.
13541 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13542 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13543 * math/e_acoshl.c: Add __*_finite alias.
13544 * math/e_acosl.c: Likewise.
13545 * math/e_asinl.c: Likewise.
13546 * math/e_atan2l.c: Likewise.
13547 * math/e_atanhl.c: Likewise.
13548 * math/e_coshl.c: Likewise.
13549 * math/e_exp10.c: Likewise.
13550 * math/e_exp10f.c: Likewise.
13551 * math/e_exp10l.c: Likewise.
13552 * math/e_exp2l.c: Likewise.
13553 * math/e_fmodl.c: Likewise.
13554 * math/e_gammal_r.c: Likewise.
13555 * math/e_hypotl.c: Likewise.
13556 * math/e_j0l.c: Likewise.
13557 * math/e_j1l.c: Likewise.
13558 * math/e_jnl.c: Likewise.
13559 * math/e_lgammal_r.c: Likewise.
13560 * math/e_log10l.c: Likewise.
13561 * math/e_log2l.c: Likewise.
13562 * math/e_logl.c: Likewise.
13563 * math/e_powl.c: Likewise.
13564 * math/e_sinhl.c: Likewise.
13565 * math/e_sqrtl.c: Likewise.
13566 * math/e_scalb.c: Completely rewritten and optimized.
13567 * math/e_scalbf.c: Likewise.
13568 * math/e_scalbl.c: Likewise.
13569 * math/w_acos.c: Likewise.
13570 * math/w_acosf.c: Likewise.
13571 * math/w_acosl.c: Likewise.
13572 * math/w_acosh.c: Likewise.
13573 * math/w_acoshf.c: Likewise.
13574 * math/w_acoshl.c: Likewise.
13575 * math/w_asin.c: Likewise.
13576 * math/w_asinf.c: Likewise.
13577 * math/w_asinl.c: Likewise.
13578 * math/w_atan2.c: Likewise.
13579 * math/w_atan2f.c: Likewise.
13580 * math/w_atan2l.c: Likewise.
13581 * math/w_atanh.c: Likewise.
13582 * math/w_atanhf.c: Likewise.
13583 * math/w_atanhl.c: Likewise.
13584 * math/w_exp10.c: Likewise.
13585 * math/w_exp10f.c: Likewise.
13586 * math/w_exp10l.c: Likewise.
13587 * math/w_fmod.c: Likewise.
13588 * math/w_fmodf.c: Likewise.
13589 * math/w_fmodl.c: Likewise.
13590 * math/w_j0.c: Likewise.
13591 * math/w_j0f.c: Likewise.
13592 * math/w_j0l.c: Likewise.
13593 * math/w_j1.c: Likewise.
13594 * math/w_j1f.c: Likewise.
13595 * math/w_j1l.c: Likewise.
13596 * math/w_jn.c: Likewise.
13597 * math/w_jnf.c: Likewise.
13598 * math/w_log.c: Likewise.
13599 * math/w_logf.c: Likewise.
13600 * math/w_logl.c: Likewise.
13601 * math/w_log10.c: Likewise.
13602 * math/w_log10f.c: Likewise.
13603 * math/w_log10l.c: Likewise.
13604 * math/w_log2.c: Likewise.
13605 * math/w_log2f.c: Likewise.
13606 * math/w_log2l.c: Likewise.
13607 * math/w_pow.c: Likewise.
13608 * math/w_powf.c: Likewise.
13609 * math/w_powl.c: Likewise.
13610 * math/w_remainder.c: Likewise.
13611 * math/w_remainderf.c: Likewise.
13612 * math/w_remainderl.c: Likewise.
13613 * math/w_scalb.c: Likewise.
13614 * math/w_scalbf.c: Likewise.
13615 * math/w_scalbl.c: Likewise.
13616 * math/w_sqrt.c: Likewise.
13617 * math/w_sqrtf.c: Likewise.
13618 * math/w_sqrtl.c: Likewise.
13619 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13620 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13622 * math/math_private.h: Declare __kernel_standard_f.
13623 * math/w_cosh.c: Remove cruft and optimize a bit.
13624 * math/w_coshf.c: Likewise.
13625 * math/w_coshl.c: Likewise.
13626 * math/w_exp2.c: Likewise.
13627 * math/w_exp2f.c: Likewise.
13628 * math/w_exp2l.c: Likewise.
13629 * math/w_hypot.c: Likewise.
13630 * math/w_hypotf.c: Likewise.
13631 * math/w_hypotl.c: Likewise.
13632 * math/w_lgamma.c: Likewise.
13633 * math/w_lgamma_r.c: Likewise.
13634 * math/w_lgammaf.c: Likewise.
13635 * math/w_lgammaf_r.c: Likewise.
13636 * math/w_lgammal.c: Likewise.
13637 * math/w_lgammal_r.c: Likewise.
13638 * math/w_sinh.c: Likewise.
13639 * math/w_sinhf.c: Likewise.
13640 * math/w_sinhl.c: Likewise.
13641 * math/w_tgamma.c: Likewise.
13642 * math/w_tgammaf.c: Likewise.
13643 * math/w_tgammal.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13645 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13646 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13647 Minor optimizations. Pretty printing. Remove cruft.
13648 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13649 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13650 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13651 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13652 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13653 * sysdeps/i386/fpu/e_asin.S: Likewise.
13654 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13655 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13656 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13657 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13658 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13659 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13660 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13661 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13662 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13663 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13664 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13665 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13666 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13667 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13668 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13669 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13670 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13671 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13672 * sysdeps/i386/fpu/e_log.S: Likewise.
13673 * sysdeps/i386/fpu/e_log10.S: Likewise.
13674 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13675 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13676 * sysdeps/i386/fpu/e_log2.S: Likewise.
13677 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13678 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13679 * sysdeps/i386/fpu/e_logf.S: Likewise.
13680 * sysdeps/i386/fpu/e_logl.S: Likewise.
13681 * sysdeps/i386/fpu/e_pow.S: Likewise.
13682 * sysdeps/i386/fpu/e_powf.S: Likewise.
13683 * sysdeps/i386/fpu/e_powl.S: Likewise.
13684 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13685 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13686 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13687 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13688 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13689 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13690 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13691 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13692 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13693 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13694 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13697 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13698 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13699 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13700 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13701 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13702 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13703 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13704 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13706 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13707 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13709 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13711 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13714 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13715 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13716 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13717 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13718 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13719 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13720 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13721 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13722 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13723 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13724 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13725 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13726 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13727 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13728 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13729 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13730 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13731 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13732 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13733 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13734 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13773 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13779 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13784 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13785 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13786 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13787 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13788 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13789 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13790 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13791 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13792 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13793 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13794 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13795 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13796 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13797 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13798 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13799 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13800 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13801 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13802 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13803 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13804 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13805 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13806 (__isnanf): Likewise.
13807 (__isinf_ns): Likewise.
13808 (__isinf_nsf): Likewise.
13809 (__finite): Likewise.
13810 (__finitef): Likewise.
13811 (__ieee754_sqrt): Define as macro.
13812 (__ieee754_sqrtf): Define as macro.
13813 (__ieee754_sqrtl): Define as macro.
13814 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13816 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13817 __FINITE_MATH_ONLY__ consistent.
13818 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13820 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13822 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13825 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13827 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13829 * po/ja.po: Update from translation team.
13831 2011-10-08 Roland McGrath <roland@hack.frob.com>
13833 * locale/programs/locarchive.c (prepare_address_space): New function.
13834 (create_archive, enlarge_archive, open_archive): Use it.
13836 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13837 inside [SHARED], where it is used.
13839 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13841 * nss/getent.c (netgroup_keys): Remove unused variable.
13842 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13844 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13846 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13847 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13848 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13849 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13850 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13851 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13852 * math/Makefile (libm-calls): Add s_isinf_ns.
13853 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13854 * math/multc3.c: Likewise.
13855 * math/s_casin.c: Likewise.
13856 * math/s_casinf.c: Likewise.
13857 * math/s_casinl.c: Likewise.
13858 * math/s_ccos.c: Likewise.
13859 * math/s_ccosf.c: Likewise.
13860 * math/s_ccosl.c: Likewise.
13861 * math/s_ctan.c: Likewise.
13862 * math/s_ctanf.c: Likewise.
13863 * math/s_ctanh.c: Likewise.
13864 * math/s_ctanhf.c: Likewise.
13865 * math/s_ctanhl.c: Likewise.
13866 * math/s_ctanl.c: Likewise.
13867 * math/w_fmod.c: Likewise.
13868 * math/w_fmodf.c: Likewise.
13869 * math/w_fmodl.c: Likewise.
13870 * math/w_remainder.c: Likewise.
13871 * math/w_remainderf.c: Likewise.
13872 * math/w_remainderl.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13874 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13875 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13876 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13877 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13878 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13879 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13880 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13882 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13884 * stdio-common/printf_fphex.c: Likewise.
13885 * stdio-common/printf_size.c: Likewise.
13887 * math/e_exp10.c: Include math_private.h using <...> not "...".
13888 * math/e_exp10f.c: Likewise.
13889 * math/e_exp10l.c: Likewise.
13890 * math/e_exp2l.c: Likewise.
13891 * math/e_j0l.c: Likewise.
13892 * math/e_j1l.c: Likewise.
13893 * math/e_jnl.c: Likewise.
13894 * math/e_lgammal_r.c: Likewise.
13895 * math/e_rem_pio2l.c: Likewise.
13896 * math/e_scalb.c: Likewise.
13897 * math/e_scalbf.c: Likewise.
13898 * math/e_scalbl.c: Likewise.
13899 * math/k_cosl.c: Likewise.
13900 * math/k_sinl.c: Likewise.
13901 * math/k_tanl.c: Likewise.
13902 * math/s_cacoshf.c: Likewise.
13903 * math/s_catan.c: Likewise.
13904 * math/s_catanf.c: Likewise.
13905 * math/s_catanh.c: Likewise.
13906 * math/s_catanhf.c: Likewise.
13907 * math/s_catanhl.c: Likewise.
13908 * math/s_catanl.c: Likewise.
13909 * math/s_ccosh.c: Likewise.
13910 * math/s_ccoshf.c: Likewise.
13911 * math/s_ccoshl.c: Likewise.
13912 * math/s_cexp.c: Likewise.
13913 * math/s_cexpf.c: Likewise.
13914 * math/s_cexpl.c: Likewise.
13915 * math/s_clog.c: Likewise.
13916 * math/s_clog10.c: Likewise.
13917 * math/s_clog10f.c: Likewise.
13918 * math/s_clog10l.c: Likewise.
13919 * math/s_clogf.c: Likewise.
13920 * math/s_clogl.c: Likewise.
13921 * math/s_csin.c: Likewise.
13922 * math/s_csinf.c: Likewise.
13923 * math/s_csinh.c: Likewise.
13924 * math/s_csinhf.c: Likewise.
13925 * math/s_csinhl.c: Likewise.
13926 * math/s_csinl.c: Likewise.
13927 * math/s_csqrt.c: Likewise.
13928 * math/s_csqrtf.c: Likewise.
13929 * math/s_csqrtl.c: Likewise.
13930 * math/s_ctan.c: Likewise.
13931 * math/s_ctanf.c: Likewise.
13932 * math/s_ctanh.c: Likewise.
13933 * math/s_ctanhf.c: Likewise.
13934 * math/s_ctanhl.c: Likewise.
13935 * math/s_ctanl.c: Likewise.
13936 * math/s_ldexp.c: Likewise.
13937 * math/s_ldexpf.c: Likewise.
13938 * math/s_ldexpl.c: Likewise.
13939 * math/s_significand.c: Likewise.
13940 * math/s_significandf.c: Likewise.
13941 * math/s_significandl.c: Likewise.
13942 * math/w_acos.c: Likewise.
13943 * math/w_acosf.c: Likewise.
13944 * math/w_acosh.c: Likewise.
13945 * math/w_acoshf.c: Likewise.
13946 * math/w_acoshl.c: Likewise.
13947 * math/w_acosl.c: Likewise.
13948 * math/w_asin.c: Likewise.
13949 * math/w_asinf.c: Likewise.
13950 * math/w_asinl.c: Likewise.
13951 * math/w_atan2.c: Likewise.
13952 * math/w_atan2f.c: Likewise.
13953 * math/w_atan2l.c: Likewise.
13954 * math/w_atanh.c: Likewise.
13955 * math/w_atanhf.c: Likewise.
13956 * math/w_atanhl.c: Likewise.
13957 * math/w_cosh.c: Likewise.
13958 * math/w_coshf.c: Likewise.
13959 * math/w_coshl.c: Likewise.
13960 * math/w_dremf.c: Likewise.
13961 * math/w_exp10.c: Likewise.
13962 * math/w_exp10f.c: Likewise.
13963 * math/w_exp10l.c: Likewise.
13964 * math/w_exp2.c: Likewise.
13965 * math/w_exp2f.c: Likewise.
13966 * math/w_fmod.c: Likewise.
13967 * math/w_fmodf.c: Likewise.
13968 * math/w_fmodl.c: Likewise.
13969 * math/w_hypot.c: Likewise.
13970 * math/w_hypotf.c: Likewise.
13971 * math/w_hypotl.c: Likewise.
13972 * math/w_j0.c: Likewise.
13973 * math/w_j0f.c: Likewise.
13974 * math/w_j0l.c: Likewise.
13975 * math/w_j1.c: Likewise.
13976 * math/w_j1f.c: Likewise.
13977 * math/w_j1l.c: Likewise.
13978 * math/w_jn.c: Likewise.
13979 * math/w_jnf.c: Likewise.
13980 * math/w_jnl.c: Likewise.
13981 * math/w_lgamma.c: Likewise.
13982 * math/w_lgamma_r.c: Likewise.
13983 * math/w_lgammaf.c: Likewise.
13984 * math/w_lgammaf_r.c: Likewise.
13985 * math/w_lgammal.c: Likewise.
13986 * math/w_lgammal_r.c: Likewise.
13987 * math/w_log.c: Likewise.
13988 * math/w_log10.c: Likewise.
13989 * math/w_log10f.c: Likewise.
13990 * math/w_log10l.c: Likewise.
13991 * math/w_log2.c: Likewise.
13992 * math/w_log2f.c: Likewise.
13993 * math/w_log2l.c: Likewise.
13994 * math/w_logf.c: Likewise.
13995 * math/w_logl.c: Likewise.
13996 * math/w_pow.c: Likewise.
13997 * math/w_powf.c: Likewise.
13998 * math/w_powl.c: Likewise.
13999 * math/w_remainder.c: Likewise.
14000 * math/w_remainderf.c: Likewise.
14001 * math/w_remainderl.c: Likewise.
14002 * math/w_scalb.c: Likewise.
14003 * math/w_scalbf.c: Likewise.
14004 * math/w_scalbl.c: Likewise.
14005 * math/w_sinh.c: Likewise.
14006 * math/w_sinhf.c: Likewise.
14007 * math/w_sinhl.c: Likewise.
14008 * math/w_sqrt.c: Likewise.
14009 * math/w_sqrtf.c: Likewise.
14010 * math/w_sqrtl.c: Likewise.
14011 * math/w_tgamma.c: Likewise.
14012 * math/w_tgammaf.c: Likewise.
14013 * math/w_tgammal.c: Likewise.
14015 * po/ja.po: Update from translation team.
14017 2011-09-29 Andreas Jaeger <aj@suse.de>
14020 * sunrpc/netname.c (netname2host): Fix logic.
14024 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14026 * math/w_remainder.c (__remainder): Likewise.
14027 * math/w_remainderf.c (__remainderf): Likewise.
14028 * math/libm-test.inc (remainder_test): Add test cases.
14030 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14032 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14035 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14037 * string/test-memcmp.c: Avoid unncessary #defines.
14038 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14040 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14042 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14043 Use new sse2 version for core i3 - i7 as it's faster
14044 than sse42 version.
14045 (bit_Prefer_PMINUB_for_stringop): New.
14046 * sysdeps/x86_64/rawmemchr.S: Update.
14047 Replace with faster SSE2 version.
14048 * sysdeps/x86_64/memrchr.S: New file.
14049 * sysdeps/x86_64/memchr.S: Update.
14050 Replace with faster SSE2 version.
14052 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14054 * elf/dl-load.c (lose): Add cast to avoid warning.
14056 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14058 * po/ca.po: Update from translation team.
14060 * inet/getnetgrent_r.c: Hook up nscd.
14061 * nscd/Makefile (routines): Add nscd_netgroup.
14062 (nscd-modules): Add netgroupcache.
14063 (CFLAGS-netgroupcache.c): Define.
14064 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14065 (cache_search): Add const to second parameter.
14066 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14068 (dbs): Add netgrdb entry.
14069 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14070 (verify_persistent_db): Handle netgrdb.
14071 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14072 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14074 (netgroup_response_header): Define.
14075 (innetgroup_response_header): Define.
14076 (datahead): Add netgroup_response_header and innetgroup_response_header
14078 * nscd/nscd.conf: Add entries for netgroup cache.
14079 * nscd/nscd.h (dbtype): Add netgrdb.
14080 (_PATH_NSCD_NETGROUP_DB): Define.
14081 (netgroup_iov_disabled): Declare.
14082 (xmalloc, xcalloc, xrealloc): Move declarations here.
14083 (cache_search): Adjust prototype.
14084 Add netgroup-related prototypes.
14085 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14086 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14087 (__nscd_innetgr): Declare.
14088 * nscd/selinux.c (perms): Use access_vector_t as element type and
14089 add netgroup-related initializers.
14090 * nscd/netgroupcache.c: New file.
14091 * nscd/nscd_netgroup.c: New file.
14092 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14093 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14094 For four parameters use innetgr.
14095 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14096 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14097 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14098 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14100 * nscd/connections.c (register_traced_file): Don't register file
14101 for disabled databases.
14103 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14105 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14107 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14108 from tree and freeing node.
14110 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14112 * nss/nsswitch.c (__nss_database_lookup): Handle
14113 nss_parse_service_list out of memory case.
14115 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14117 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14118 out of memory case.
14120 2011-10-04 Andreas Schwab <schwab@redhat.com>
14122 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14123 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14125 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14126 elf_machine_rela, elf_machine_lazy_rel.
14127 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14128 (ELF_DYNAMIC_DO_REL): Likewise.
14129 (ELF_DYNAMIC_DO_RELA): Likewise.
14130 (ELF_DYNAMIC_RELOCATE): Likewise.
14131 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14132 to ELF_DYNAMIC_DO_REL.
14133 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14134 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14135 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14137 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14138 skip_ifunc, don't call ifunc function if non-zero.
14139 (elf_machine_rela): Likewise.
14140 (elf_machine_lazy_rel): Likewise.
14141 (elf_machine_lazy_rela): Likewise.
14142 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14143 (elf_machine_lazy_rel): Likewise.
14144 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14146 (elf_machine_lazy_rel): Likewise.
14147 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14149 (elf_machine_lazy_rel): Likewise.
14150 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14151 (elf_machine_lazy_rel): Likewise.
14152 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14153 (elf_machine_lazy_rel): Likewise.
14154 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14155 (elf_machine_lazy_rel): Likewise.
14156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14157 (elf_machine_lazy_rel): Likewise.
14158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14159 (elf_machine_lazy_rel): Likewise.
14160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14161 (elf_machine_lazy_rel): Likewise.
14163 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14165 * nss/nss_files/files-init.c (_nss_files_init): Use static
14166 initialization for all the *_traced_file variables.
14168 2011-09-28 Andreas Schwab <schwab@redhat.com>
14170 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14172 2011-09-27 Roland McGrath <roland@hack.frob.com>
14175 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14177 2011-09-27 Andreas Schwab <schwab@redhat.com>
14179 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14180 Reread the line before reparsing it.
14182 2011-09-26 Andreas Schwab <schwab@redhat.com>
14184 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14186 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14187 Maxim Kuvyrkov <maxim@codesourcery.com>
14188 Joseph Myers <joseph@codesourcery.com>
14190 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14191 if needed for __stack_chk_guard.
14193 2011-09-19 Roland McGrath <roland@hack.frob.com>
14195 * sysdeps/posix/spawni.c (script_execute): Always define it.
14196 It will be optimized away if unused.
14197 (maybe_script_execute): New function.
14198 (__spawni): Call it.
14200 * Makerules: Don't include tls.make.
14201 (config-tls): Always set to thread.
14202 * tls.make.c: File removed.
14204 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14206 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14207 * config.make.in (CPPFLAGS-config): New substituted variable.
14209 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14211 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14214 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14215 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14217 2011-09-15 Roland McGrath <roland@hack.frob.com>
14219 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14220 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14221 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14222 (CALL_FAIL): Likewise.
14223 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14224 (CALL_FAIL): Macro removed.
14225 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14227 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14229 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14230 for __FINITE_MATH_ONLY__ == 1.
14232 2011-09-15 Andreas Schwab <schwab@redhat.com>
14234 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14235 __ieee754_sqrt instead of sqrt.
14236 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14237 __ieee754_sqrtf instead of sqrtf.
14238 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14239 __floorf instead of floorf.
14240 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14241 __floorf, __truncf instead of floorf, truncf.
14243 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14245 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14247 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14248 __extern_always_inline.
14249 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14252 2011-09-14 Andreas Schwab <schwab@redhat.com>
14254 * elf/rtld.c (dl_main): Also relocate in dependency order when
14255 doing symbol dependency testing.
14257 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14259 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14260 Always define `refsym'.
14262 2011-09-13 Andreas Schwab <schwab@redhat.com>
14264 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14265 (__FD_ELT): Renamed from __FDELT.
14266 * misc/bits/select2.h (__FD_ELT): Likewise.
14267 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14268 __FD_MASK instead of __FDELT, __FDMASK.
14269 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14271 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14274 * elf/Makefile (gen-ldd): Fix pattern.
14276 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14277 (init_tls): Likewise.
14279 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14281 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14283 2011-09-12 Andreas Schwab <schwab@redhat.com>
14285 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14286 `struct cmsghdr *' instead of `void *'.
14287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14290 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14292 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14294 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14295 ldd_rewrite_script.
14297 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14299 * configure.in: Remove --with-tls option.
14300 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14301 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14302 out in case it is missing.
14303 * sysdeps/ia64/elf/configure.in: Likewise.
14304 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14305 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14306 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14307 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14308 * sysdeps/sh/elf/configure.in: Likewise.
14309 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14310 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14311 * sysdeps/x86_64/elf/configure.in: Likewise.
14312 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14313 * sysdeps/mach/hurd/tls.h: Likewise.
14316 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14319 * configure.in: Fix use of AC_INIT.
14321 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14323 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14325 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14327 * malloc/hooks.c: Likewise.
14330 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14331 variables statically.
14332 (narenas): Initialize.
14333 (list_lock): Initialize.
14334 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14335 initializtion of main_arena and list_lock. Small cleanups.
14336 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14337 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14338 Add initializers to main_arena and mp_.
14339 (malloc_state): Remove pagesize member. Change all users to use
14342 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14343 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14344 is always initialized.
14346 * malloc/malloc.c: Removed unused configurations and dead code.
14347 * malloc/arena.c: Likewise.
14348 * malloc/hooks.c: Likewise.
14349 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14351 * include/tls.h: Removed. USE___THREAD must always be defined.
14352 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14353 * elf/dl-libc.c: Likewise.
14354 * elf/dl-tsd.c: Likewise.
14355 * include/errno.h: Likewise.
14356 * include/netdb.h: Likewise.
14357 * include/resolv.h: Likewise.
14358 * inet/herrno-loc.c: Likewise.
14359 * inet/herrno.c: Likewise.
14360 * malloc/arena.c: Likewise.
14361 * malloc/hooks.c: Likewise.
14362 * malloc/malloc.c: Likewise.
14363 * resolv/res-state.c: Likewise.
14364 * resolv/res_libc.c: Likewise.
14365 * sysdeps/i386/dl-machine.h: Likewise.
14366 * sysdeps/ia64/dl-machine.h: Likewise.
14367 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14368 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14369 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14370 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14371 * sysdeps/sh/dl-machine.h: Likewise.
14372 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14373 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14374 * sysdeps/unix/i386/sysdep.S: Likewise.
14375 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14376 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14378 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14379 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14380 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14381 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14383 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14385 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14386 * sysdeps/x86_64/dl-machine.h: Likewise.
14387 * tls.make.c: Likewise.
14389 * configure.in: Remove --with-__thread option. Make tests for
14390 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14391 tls_model attribute fail if no support is available. Remove
14393 * Makeconfig: Adjust for dropped configure option. All features are
14395 * Makerules: Likewise.
14396 * Versions.def: Likewise.
14397 * argp/argp-fmtstream.c: Likewise.
14398 * argp/argp-fmtstream.h: Likewise.
14399 * argp/argp-help.c: Likewise.
14400 * assert/assert.c: Likewise.
14401 * config.h.in: Likewise.
14402 * config.make.in: Likewise.
14403 * configure: Likewise.
14404 * configure.in: Likewise.
14405 * csu/Versions: Likewise.
14406 * csu/init.c: Likewise.
14407 * elf/tst-audit2.c: Likewise.
14408 * elf/tst-tls10.c: Likewise.
14409 * elf/tst-tls10.h: Likewise.
14410 * elf/tst-tls11.c: Likewise.
14411 * elf/tst-tls12.c: Likewise.
14412 * elf/tst-tls14.c: Likewise.
14413 * elf/tst-tlsmod11.c: Likewise.
14414 * elf/tst-tlsmod12.c: Likewise.
14415 * elf/tst-tlsmod13.c: Likewise.
14416 * elf/tst-tlsmod13a.c: Likewise.
14417 * elf/tst-tlsmod14a.c: Likewise.
14418 * elf/tst-tlsmod15b.c: Likewise.
14419 * elf/tst-tlsmod16a.c: Likewise.
14420 * elf/tst-tlsmod16b.c: Likewise.
14421 * elf/tst-tlsmod7.c: Likewise.
14422 * elf/tst-tlsmod8.c: Likewise.
14423 * elf/tst-tlsmod9.c: Likewise.
14424 * gmon/gmon.c: Likewise.
14425 * grp/fgetgrent_r.c: Likewise.
14426 * grp/putgrent.c: Likewise.
14427 * hurd/fopenport.c: Likewise.
14428 * include/libc-symbols.h: Likewise.
14429 * include/tls.h: Likewise.
14430 * intl/gettextP.h: Likewise.
14431 * intl/loadinfo.h: Likewise.
14432 * locale/global-locale.c: Likewise.
14433 * locale/localeinfo.h: Likewise.
14434 * mach/devstream.c: Likewise.
14435 * malloc/arena.c: Likewise.
14436 * malloc/set-freeres.c: Likewise.
14437 * misc/err.c: Likewise.
14438 * misc/getttyent.c: Likewise.
14439 * misc/mntent_r.c: Likewise.
14440 * posix/getopt.c: Likewise.
14441 * posix/wordexp.c: Likewise.
14442 * pwd/fgetpwent_r.c: Likewise.
14443 * resolv/Versions: Likewise.
14444 * resolv/res_hconf.c: Likewise.
14445 * shadow/fgetspent_r.c: Likewise.
14446 * shadow/putspent.c: Likewise.
14447 * stdio-common/printf_fphex.c: Likewise.
14448 * stdio-common/tmpfile.c: Likewise.
14449 * stdlib/abort.c: Likewise.
14450 * stdlib/fmtmsg.c: Likewise.
14451 * sunrpc/auth_unix.c: Likewise.
14452 * sunrpc/clnt_perr.c: Likewise.
14453 * sunrpc/clnt_tcp.c: Likewise.
14454 * sunrpc/clnt_udp.c: Likewise.
14455 * sunrpc/clnt_unix.c: Likewise.
14456 * sunrpc/openchild.c: Likewise.
14457 * sunrpc/svc_simple.c: Likewise.
14458 * sunrpc/svc_tcp.c: Likewise.
14459 * sunrpc/svc_udp.c: Likewise.
14460 * sunrpc/svc_unix.c: Likewise.
14461 * sunrpc/xdr.c: Likewise.
14462 * sunrpc/xdr_array.c: Likewise.
14463 * sunrpc/xdr_rec.c: Likewise.
14464 * sunrpc/xdr_ref.c: Likewise.
14465 * sunrpc/xdr_stdio.c: Likewise.
14467 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14469 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14471 2011-07-03 Andreas Jaeger <aj@suse.de>
14473 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14474 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14475 regenerate with gen-libm-tests.pl.
14477 2010-05-12 Petr Baudis <pasky@suse.cz>
14480 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14481 around j0() zero points by switching to j1().
14482 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14483 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14485 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14487 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14489 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14491 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14494 Patch in part by Pavel Roskin <proski@gnu.org>.
14497 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14499 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14500 Free memory block if necessary.
14503 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14504 be NULL. Don't lock in this case.
14506 2011-09-09 Roland McGrath <roland@hack.frob.com>
14508 * elf/elf.h (ELFOSABI_GNU): New macro.
14509 (ELFOSABI_LINUX): Define to that.
14511 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14513 * string/strncat.c (strncat): Undef the symbol in case it has been
14514 defined in bits/string.h.
14516 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14518 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14520 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14523 2011-08-17 Andreas Jaeger <aj@suse.de>
14525 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14527 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14528 Ian Lance Taylor <iant@google.com>
14530 * math/libm-test.inc (lround_test): New testcase.
14531 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14533 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14535 * Makefile: Remove support for automatic cvs check-ins.
14536 * Makerules: Likewise.
14537 * config.make.in: Likewise.
14538 * configure.in: Likewise.
14539 * intl/Makefile: Likewise.
14540 * locale/Makefile: Likewise.
14541 * po/Makefile: Likewise.
14542 * posix/Makefile: Likewise.
14543 * sysdeps/gnu/Makefile: Likewise.
14544 * sysdeps/mach/hurd/Makefile: Likewise.
14545 * sysdeps/sparc/sparc32/Makefile: Likewise.
14548 * posix/Makefile (bug-regex32-ENV): Define.
14549 Patch by John Stanley <jpsinthemix@verizon.net>.
14551 * misc/Makefile (headers): Add bits/select2.h.
14552 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14553 * misc/bits/select2.h: New file.
14554 * include/bits/select2.h: New file.
14555 * debug/Makefile (routines): Add fdelt_chk.
14556 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14557 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14559 * debug/fdelt_chk.c: New file.
14561 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14562 * wcsmbs/test-wmemcmp.c: Likewise.
14563 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14564 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14566 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14568 * string/Makefile (strop-tests): Add memcmp.
14569 * string/test-wmemcmp.c: New file.
14570 * string/test-memcmp.c: Add wmemcmp support.
14572 2011-09-08 Roland McGrath <roland@hack.frob.com>
14575 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14578 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14579 garbage value in a __mach_port_mod_refs call in the cases of the
14580 task-self and thread-self ports.
14582 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14584 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14586 2011-09-08 Andreas Schwab <schwab@redhat.com>
14588 * elf/dl-load.c (lose): Check for non-null L.
14590 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14592 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14594 * elf/dl-libc.c (dlerror_run): Pass back error code from
14598 * elf/dl-load.c (lose): Free l_origin if it is valid.
14600 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14602 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14603 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14604 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14605 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14606 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14607 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14609 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14611 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14612 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14613 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14614 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14615 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14616 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14617 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14618 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14619 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14620 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14622 2011-08-15 Alan Modra <amodra@gmail.com>
14625 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14626 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14627 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14628 ppc_mcount to static-only-routines.
14629 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14631 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14632 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14634 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14636 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14637 for finite and infinity parameters.
14639 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14642 and add nop instructions for throughput optimization.
14643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14645 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14647 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14648 aligned copy for power7 with vector-scalar instructions.
14649 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14651 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14656 2011-09-07 Andreas Schwab <schwab@redhat.com>
14659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14662 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14664 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14665 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14666 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14667 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14670 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14672 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14673 Forgot to demangle the pointer.
14675 * sysdeps/i386/sysdep.h: Define atom_text_section.
14676 * sysdeps/x86_64/sysdep.h: Likewise.
14677 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14678 section with atom_text_section.
14679 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14680 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14681 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14682 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14683 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14685 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14686 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14687 already be defined. Change to take two parameters and don't assign
14688 result to variable. Adjust all users.
14689 Define INTERNAL_GETTIME if not already defined.
14690 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14693 HAVE_CLOCK_GETTIME_VSYSCALL.
14694 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14697 gettimeofday vsyscall, just use time.
14699 2011-09-06 Andreas Schwab <schwab@redhat.com>
14701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14704 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14706 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14708 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14710 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14711 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14712 syscall if possible.
14714 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14716 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14717 e_ident. Don't pass to find_mapsXX.
14718 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14720 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14723 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14724 * sysdeps/x86_64/multiarch/strchr.S: Update.
14725 Check bit_slow_BSF bit.
14726 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14727 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14728 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14730 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14733 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14735 (tryshell): Define.
14736 (__spawni): Change last parameter to be flag. Test
14737 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14738 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14739 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14740 * posix/spawni.c: Likewise.
14741 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14742 * posix/spawnp.c: Likewise. Change normal version to use
14743 SPAWN_XFLAGS_USE_PATH.
14744 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14745 SPAWN_XFLAGS_TRY_SHELL.
14748 * posix/glob.h: Remove gcc 1.x support.
14751 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14753 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14756 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14758 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14759 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14760 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14761 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14762 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14763 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14765 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14767 * sysdeps/x86_64/wcscmp.S: New file.
14769 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14770 wcscmp-c wcscmp-sse2
14771 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14772 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14773 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14774 * wcsmbs/wcscmp.c: Allow renaming.
14776 2011-09-05 David S. Miller <davem@davemloft.net>
14778 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14779 stack slot, rather than the struct return pointer slot.
14780 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14781 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14783 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14785 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14787 * po/ja.po: Update from translation team.
14790 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14791 kernel in 64-bit binaries.
14793 2011-09-01 David S. Miller <davem@davemloft.net>
14795 * elf/elf.h (HWCAP_SPARC_*): Move to..
14796 * sysdeps/sparc/sysdep.h: this new file and add new values.
14797 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14798 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14799 _DL_HWCAP_COUNT to 24.
14800 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14802 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14803 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14804 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14805 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14806 instead of magic constants.
14807 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14809 2011-08-31 David S. Miller <davem@davemloft.net>
14811 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14812 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14813 Reimplement to do errno handling inline.
14814 (SYSCALL_ERROR_HANDLER): New macro.
14815 (__SYSCALL_STRING): Do not do errno handling in asm.
14816 (__CLONE_SYSCALL_STRING): Delete.
14817 (__INTERNAL_SYSCALL_STRING): Delete.
14818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14819 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14820 (PSEUDO): Reimplement to do errno handling inline.
14821 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14822 (SYSCALL_ERROR_HANDLER): New macro.
14823 (__SYSCALL_STRING): Do not do errno handling in asm.
14824 (__CLONE_SYSCALL_STRING): Delete.
14825 (__INTERNAL_SYSCALL_STRING): Delete.
14826 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14827 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14829 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14830 (inline_syscall*): Add 'err' argument.
14831 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14832 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14833 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14834 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14836 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14837 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14839 2011-08-30 Andreas Schwab <schwab@redhat.com>
14841 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14843 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14845 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14848 2011-08-24 David S. Miller <davem@davemloft.net>
14850 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14852 2011-08-24 Andreas Schwab <schwab@redhat.com>
14854 * elf/Makefile: Add rules to build and run unload8 test.
14855 * elf/unload8.c: New file.
14856 * elf/unload8mod1.c: New file.
14857 * elf/unload8mod1x.c: New file.
14858 * elf/unload8mod2.c: New file.
14859 * elf/unload8mod3.c: New file.
14861 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14864 2011-08-23 David S. Miller <davem@davemloft.net>
14866 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14867 subtract stack bias.
14868 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14869 %sp not %fp in calculations.
14870 (_JMPBUF_UNWINDS_ADJ): Likewise.
14872 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14873 (aio_suspend): Call it to force an exception region around the
14874 AIO_MISC_WAIT() invocation.
14876 2011-08-23 Andreas Schwab <schwab@redhat.com>
14878 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14881 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14883 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14885 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14886 and <dl-machine.h>.
14887 (Elf64_FuncDesc): Remove.
14889 2011-08-22 David S. Miller <davem@davemloft.net>
14891 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14892 sigaltstack check, add missing cfi directives.
14893 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14894 missing cfi directives, and sigaltstack handling.
14896 2011-08-16 Andreas Schwab <schwab@redhat.com>
14899 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14900 object is seen twice.
14901 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14903 * elf/Makefile (distribute): Add tst-initorder2.c.
14904 (tests): Add tst-initorder2.
14905 (modules-names): Add tst-initorder2a tst-initorder2b
14906 tst-initorder2c tst-initorder2d. Add rules to build them.
14907 ($(objpfx)tst-initorder2.out): New rule.
14908 * elf/tst-initorder2.c: New file.
14909 * elf/tst-initorder2.exp: New file.
14911 2011-08-22 Andreas Schwab <schwab@redhat.com>
14913 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14915 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14916 dependencies back to end of function.
14918 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14919 $(elfobjdir)/ld.so.
14921 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14924 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14926 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14927 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14928 of __vdso_gettimeofday.
14929 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14930 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14932 (_libc_vdso_platform_setup): Remove initialization of
14933 __vdso_gettimeofday and __vdso_time.
14935 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14937 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14938 and fgetc_unlocked.
14939 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14942 * elf/dl-open.c (add_to_global): Report additions to the global scope
14943 for LD_DEBUG=scopes.
14944 (dl_open_worker): Also print scope of newly loaded dependencies.
14945 (_dl_show_scope): Indicate if there is no scope.
14948 * stdio-common/Makefile (tests): Add bug24.
14949 * stdio-common/bug24.c: New file.
14951 2011-08-19 Andreas Jaeger <aj@suse.de>
14954 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14955 non-existant file when using close-on-exec mode.
14957 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14960 the very first instruction.
14962 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14963 the CFI state in the end.
14964 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14965 inclusion of dl-trampoline.h.
14966 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14968 2011-08-19 Andreas Schwab <schwab@redhat.com>
14970 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14971 expectations for long double.
14973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14974 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14976 2011-08-14 David S. Miller <davem@davemloft.net>
14978 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14979 artificual limit depends upon the system page size.
14981 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14983 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14984 * resolv/Makefile: Define CFLAGS-libresolv.
14986 2011-08-17 Andreas Schwab <schwab@redhat.com>
14988 * nss/makedb.c (compute_tables): Make variables used in nested
14991 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14993 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14994 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14995 if buffer was too small.
14997 * elf/pldd.c (main): Attach to all threads in the process.
14998 Rewrite /proc handling to use *at functions.
15000 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15002 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15003 specifies first scope to show.
15004 (dl_open_worker): Update callers. Move printing scope of new
15005 object to before the relocation.
15006 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15007 * sysdeps/generic/ldsodefs.h: Update declaration.
15009 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15010 string for the scope number.
15012 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15014 * nscd/servicescache.c (cache_addserv): Make sure written is always
15017 2011-08-14 Roland McGrath <roland@hack.frob.com>
15019 * sysdeps/i386/i486/bits/atomic.h
15020 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15021 statement expression, so as to suppress "set but not used" warning.
15022 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15024 * string/strncat.c (STRNCAT): Use prototype definition.
15026 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15027 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15029 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15030 (localedef-modules): Add localedef.
15031 (locale-modules): Add locale.
15033 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15034 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15035 to avoid a warning.
15037 2011-08-14 David S. Miller <davem@davemloft.net>
15039 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15040 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15042 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15044 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15045 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15046 * elf/rtld.c (dl_main): Set l_name of vDSO.
15047 Call _dl_show_scope when DL_DEBUG_SCOPES.
15048 (process_dl_debug): Recognize scopes flag and also set it for all.
15049 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15050 Declare _dl_show_scope.
15052 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15053 (do_dlopen): Pass caller_dlopen to dl_open.
15054 (__libc_dlopen_mode): Initialize caller_dlopen.
15056 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15057 of libc. Make tolower call locale-independent. Optimize a bit by
15058 using isdigit instead of isalnum.
15059 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15061 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15063 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15064 was a dependency or dynamically loaded.
15066 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15068 * intl/l10nflist.c: Allow architecture-specific pop function.
15069 * sysdeps/x86_64/l10nflist.c: New file.
15071 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15074 2011-08-10 Andreas Schwab <schwab@redhat.com>
15076 * include/dirent.h: Add libc_hidden_proto for scandirat and
15077 scandirat64. Don't declare __scandirat64.
15078 * dirent/scandirat.c: Add libc_hidden_def.
15079 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15080 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15082 2011-08-10 David S. Miller <davem@davemloft.net>
15084 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15086 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15087 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15088 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15090 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15092 * Versions.def [libc]: Add GLIBC_2.15.
15093 * dirent/Makefile (routines): Add scandirat and scandirat64.
15094 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15096 * dirent/dirent.h: Declare scandirat and scandirat64.
15097 * dirent/scandirat.c: New file.
15098 * dirent/scandirat64.c: New file.
15099 * sysdeps/wordsize-64/scandirat.c: New file.
15100 * sysdeps/wordsize-64/scandirat64.c: New file.
15101 * dirent/opendir.c: Define opendirat.
15102 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15104 * dirent/scandir64.c: Adjust for scandir.c change.
15105 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15106 __scandirat64, and __scandir_cancel_handler.
15107 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15108 additional parameter and use openat instead of open (outside of ld.so).
15109 Add new __opendir as wrapper around __opendirat.
15110 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15111 here without requiring old scandirat implementation.
15113 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15115 * dirent/scandir.c (cancel_handler): Renamed to
15116 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15117 defined. Adjust users.
15118 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15119 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15121 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15123 * string/test-string.h (IMPL): Use __STRING to expand name and then
15126 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15129 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15131 * string/Makefile: Update.
15132 (strop-tests): Append strncat.
15133 * string/test-wcscmp.c: New file.
15134 New comprehensive test for wcscmp.
15135 * string/test-strcmp.c: Update.
15136 (WIDE): New define.
15138 2011-07-22 Andreas Schwab <schwab@redhat.com>
15140 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15143 2011-07-26 Andreas Schwab <schwab@redhat.com>
15145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15146 encoding to ACE if AI_IDN.
15148 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15150 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15151 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15153 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15155 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15156 Fix overflow bug in strncat.
15157 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15159 * string/test-strncat.c: Update.
15160 Add new tests for checking overflow bugs.
15162 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15165 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15166 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15167 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15168 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15169 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15170 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15171 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15172 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15174 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15175 (USE_AS_STRCAT): Define.
15176 Add strcat and strncat support.
15177 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15179 2011-07-25 Andreas Schwab <schwab@redhat.com>
15181 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15182 __n bigger than INT_MAX+1.
15183 (__strncmp_g): Likewise.
15185 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15187 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15188 * libio/stido.h: Likewise.
15190 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15192 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15195 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15196 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15197 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15198 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15199 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15202 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15205 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15207 (_dl_x86_64_save_sse): Likewise.
15209 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15211 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15213 (_dl_x86_64_save_sse): Likewise.
15215 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15217 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15219 2011-07-21 Andreas Schwab <schwab@redhat.com>
15221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15223 (_dl_x86_64_save_sse): Use correct AVX check.
15225 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15227 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15228 bug in strncpy/strncat.
15229 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15231 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15233 * string/tester.c (test_strcat): Add tests for different alignments
15234 of source and destination.
15235 (test_strncat): Likewise.
15237 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15240 * posix/glob.c (glob): Check passed in values before using them in
15241 expressions to avoid some overflows.
15242 (glob_in_dir): Likewise.
15245 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15246 check for AVX enablement so that we don't crash with old kernels and
15248 * elf/tst-audit4.c: Add same checks here.
15249 * elf/tst-audit6.c: Likewise.
15251 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15253 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15255 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15257 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15259 * po/cs.po: Update from translation team.
15260 * po/bg.po: Likewise.
15262 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15264 * misc/sys/cdefs.h: Add support for const attribute.
15265 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15266 to gnu_dev_{major,minor,makedev} functions.
15268 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15270 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15272 2011-07-20 Andreas Schwab <schwab@redhat.com>
15274 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15277 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15280 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15281 register in order to avoid conflicts with the soft frame pointer
15282 being held in r11 when necessary.
15283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15284 (INTERNAL_VSYSCALL_NCS): Likewise.
15286 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15288 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15289 * elf/dl-fini.c (_dl_fini): Adjust caller.
15290 * elf/dl-close.c (_dl_close_worker): Likewise.
15291 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15293 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15295 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15296 "aux_cache->nlibs < 0".
15298 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15299 in the reload-count case.
15301 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15304 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15305 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15306 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15307 * sysdeps/x86_64/multiarch/strcat.S: New file.
15308 * sysdeps/x86_64/multiarch/strncat.S: New file.
15309 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15310 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15311 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15312 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15313 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15314 (USE_AS_STRCAT): Define.
15315 Add strcat and strncat support.
15316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15317 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15318 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15319 * string/strncat.c: Update.
15320 (USE_AS_STRNCAT): Define.
15321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15322 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15324 * sysdeps/x86_64/multiarch/init-arch.h
15325 (bit_Prefer_PMINUB_for_stringop): New.
15326 (index_Prefer_PMINUB_for_stringop): Likewise.
15327 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15328 bit_Prefer_PMINUB_for_stringop.
15330 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15332 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15334 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15335 of casting of buffer.
15336 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15337 buffer32 and buffer64.
15338 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15339 writes instead of casting of buffer.
15340 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15342 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15345 2011-07-19 Andreas Schwab <schwab@redhat.com>
15347 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15349 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15351 * nscd/nscd.c (termination_handler): Don't do anything for a database
15352 if it has not yet been initialized.
15354 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15356 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15358 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15360 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15362 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15364 * po/nl.po: Update from translation team.
15365 * po/sv.po: Likewise.
15367 2011-07-16 Roland McGrath <roland@hack.frob.com>
15369 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15370 now disallowed by GCC.
15372 * configure.in (use-default-link): Default to yes if a test -shared
15373 link meets our qualifications.
15374 * configure: Regenerated.
15376 * config.make.in (output-format): New variable.
15377 * configure.in: Check for ld --print-output-format support.
15378 * configure: Regenerated.
15379 * Makerules ($(common-objpfx)format.lds)
15380 [$(output-format) != unknown]: Just use $(output-format),
15381 instead of the linker-script munging.
15383 2011-07-14 Roland McGrath <roland@hack.frob.com>
15385 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15386 of $(common-objpfx)shlib.lds.
15387 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15389 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15390 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15392 * configure.in (-z relro check): Adjust test code to add a large
15393 writable data section after it.
15394 * configure: Regenerated.
15396 2011-07-11 Roland McGrath <roland@hack.frob.com>
15398 * configure.in (-z relro check): Fix test code to make the variable
15400 * configure: Regenerated.
15402 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15404 * nscd/nscd.h (struct traced_file): Define.
15405 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15406 elements. Add traced_files.
15407 (inotify_fd): Declare.
15408 (register_traced_file): Declare.
15409 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15410 (inotify_fd): Export.
15411 (resolv_conf_descr): Remove.
15412 (nscd_init): Move inotify descriptor creation to main.
15413 Don't register files for notification here.
15414 (register_traced_file): New function.
15415 (invalidate_cache): Don't use reset_res to determine whether to call
15416 res_init, go through the list of registered files.
15417 (main_loop_poll): The inotify descriptors are now stored in the
15418 structures for the traced files.
15419 (main_loop_epoll): Likewise
15420 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15421 to __nss_disable_nscd.
15422 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15423 for a database anymore. Check the records for all the registered
15425 * nss/Makefile (libnss_files-routines): Add files-init.
15426 (libnss_db-routines): Add db-init.
15427 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15428 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15429 * nss/nss_db/db-init.c: New file.
15430 * nss/nss_files/files-init.c: New file.
15431 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15432 __nss_lookup_function.
15433 (__nss_lookup_function): Call nss_load_library.
15434 (nss_load_all_libraries): New function.
15435 (__nss_disable_nscd): Take parameter with callback function for files
15436 to register. Set is_nscd. Load all the DSOs for the NSS modules
15437 used for the cached services.
15438 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15439 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15440 options for features to all the files in nscd.
15442 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15444 2011-07-10 Roland McGrath <roland@hack.frob.com>
15446 * csu/elf-init.c (__libc_csu_init): Comment typo.
15448 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15450 * po/pl.po: Update from translation team.
15451 * po/ja.po: Likewise.
15452 * po/ru.po: Likewise.
15453 * po/ko.po: Likewise.
15454 * po/fr.po: Likewise.
15456 2011-07-09 Roland McGrath <roland@hack.frob.com>
15458 * configure.in (.ctors/.dtors header and trailer check):
15459 Use an empirical test on a built program.
15460 * configure: Regenerated.
15462 * configure.in (-z relro check): Use an empirical test on a built DSO.
15463 Detect, but do not require, on ia64.
15464 * configure: Regenerated.
15466 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15467 Update tests that use readelf to use $READELF instead.
15468 * configure: Regenerated.
15470 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15472 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15473 if the result is not used.
15475 2011-07-05 Andreas Jaeger <aj@suse.de>
15478 * stdlib/tst-strtod.c: Add testcase.
15480 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15482 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15483 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15484 The latter has a higher limit. Take additional parameter to pass to
15486 (__pathconf): Pass file to __statfs_link_max.
15487 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15489 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15493 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15494 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15496 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15497 (__statfs_filesize_max): Likewise.
15498 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15500 2011-07-05 Andreas Jaeger <aj@suse.de>
15502 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15504 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15506 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15508 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15511 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15513 * Makefile (strop-tests): Add strncat.
15514 * string/test-strncat.c: New file.
15516 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15518 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15520 2011-06-21 Andreas Jaeger <aj@suse.de>
15522 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15523 Copy rule from iconvdata/Makefile.
15525 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15528 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15529 but no long options are defined, just return 'W'.
15531 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15534 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15536 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15538 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15540 (innetgr): Likewise.
15542 2011-07-05 Roland McGrath <roland@hack.frob.com>
15544 * config.make.in (install_root): Default to $(DESTDIR).
15546 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15550 2011-07-02 Roland McGrath <roland@hack.frob.com>
15552 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15554 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15555 containing directory rather than embedding absolute directory names.
15557 * scripts/check-local-headers.sh: Rewritten using awk.
15558 Match by word, not by line. Print error messages for matches.
15559 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15561 * Makerules [shlib-lds-flags empty]:
15562 ($(common-objpfx)libc_pic.opts): New target.
15563 ($(common-objpfx)libc_pic.os.clean): New target.
15564 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15566 * config.make.in (OBJCOPY): New variable.
15567 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15568 * configure: Regenerated.
15570 * config.make.in (use-default-link): New variable.
15571 * configure.in (use_default_link): Grok --with-default-link to set it.
15572 * configure: Regenerated.
15573 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15574 (shlib-lds, shlib-lds-flags): Define to empty.
15576 * Makerules (shlib-lds): New variable.
15577 (shlib-lds-flags): New variable.
15578 (build-shlib, build-moduile, build-module-asneeded): Use it.
15579 ($(common-objpfx)libc.so): Use $(shlib-lds).
15580 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15581 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15583 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15584 DT_FLAGS/DT_FLAGS_1 with zero flags.
15586 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15587 linker script munging.
15589 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15591 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15593 * crypt/sha512.c (sha512_process_block): Perform total addition using
15594 128-bit if possible.
15595 (__sha512_finish_ctx): Likewise.
15596 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15598 * crypt/sha256.c (SWAP64): Define.
15599 (sha256_process_block): Perform total addition using 64-bit if
15601 (__sha256_finish_ctx): Likewise.
15603 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15605 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15607 * nscd/hstcache.c (cache_addhst): Likewise.
15608 * nscd/grpcache.c (cache_addgr): Likewise.
15609 * nscd/aicache.c (addhstaiX): Likewise
15610 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15612 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15614 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15615 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15616 * nscd/hstcache.c (cache_addhst): Likewise.
15617 * nscd/grpcache.c (cache_addgr): Likewise.
15618 * nscd/aicache.c (addhstaiX): Likewise
15620 2011-07-01 Andreas Schwab <schwab@redhat.com>
15622 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15623 domain only when needed.
15625 2011-06-30 Andreas Schwab <schwab@redhat.com>
15627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15628 is always restored.
15630 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15632 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15633 are re-adding the entry.
15634 * nscd/servicescache.c (cache_addserv): Likewise.
15636 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15638 * sysdeps/generic/dl-irel.h: fix protection against multiple
15640 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15642 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15645 * malloc/memusage.sh: Fix quoting in message.
15646 * debug/xtrace.sh: Likewise.
15648 * configure.in: Remove support for --experimental-malloc option, make
15650 * config.make.in: Likewise.
15651 * malloc/Makefile: Likewise.
15653 2011-06-27 Andreas Schwab <schwab@redhat.com>
15655 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15656 two-byte characters.
15658 2011-06-27 Roland McGrath <roland@hack.frob.com>
15660 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15661 AC_CACHE_CHECK invocation.
15662 * configure: Regenerated.
15664 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15666 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15669 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15670 bit from old_res_options.
15672 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15674 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15675 value type for setfct.
15677 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15679 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15680 __gettimeofday instead of gettimeofday.
15682 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15684 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15686 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15688 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15690 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15693 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15696 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15697 strcpy-sse2-unaligned strncpy-sse2-unaligned
15698 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15699 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15700 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15701 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15702 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15703 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15704 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15705 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15706 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15707 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15708 (STRCPY): Support SSE2 and SSSE3 versions.
15710 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15713 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15714 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15715 kernels which artificially limit size of requests.
15717 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15720 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15721 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15722 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15723 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15724 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15725 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15726 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15727 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15728 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15729 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15730 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15731 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15732 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15733 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15735 Enable unaligned load optimization for Intel Core i3, i5 and i7
15737 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15739 (index_Fast_Unaligned_Load): Define.
15740 (HAS_FAST_UNALIGNED_LOAD): Define.
15742 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15744 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15746 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15750 until it is clear that the information is realy needed.
15751 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15753 2011-06-22 Andreas Schwab <schwab@redhat.com>
15755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15757 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15759 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15760 /sys/devices/system/cpu/online if it is usable.
15762 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15763 reading the information from the /proc filesystem to once a second.
15765 2011-06-21 Andreas Jaeger <aj@suse.de>
15767 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15768 NULL after inclusion of kernel headers.
15770 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15772 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15773 calls to internal_setent.
15776 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15777 addresses using gethostbyname4_r ignore IPv4 addresses.
15779 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15780 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15782 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15784 2011-06-20 David S. Miller <davem@davemloft.net>
15786 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15788 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15790 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15791 (elf_irel): Use it.
15792 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15793 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15794 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15795 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15796 * sysdeps/x86_64/dl-irel.h: Likewise.
15798 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15799 * elf/dl-sym.c: Likewise.
15801 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15803 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15804 need to dereference resplen2.
15806 2011-06-14 Andreas Schwab <schwab@redhat.com>
15808 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15810 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15812 * Makeconfig: Define vardbdir and inst_vardbdir.
15813 * nss/Makefile: Add rules to install db-Makefile.
15815 * nss/nss_db/db-XXX.c: Cleanup.
15817 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15818 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15820 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15821 * nss/makedb.c: Implement -g option to specify that value strings
15822 are generated and should not be added to table iterated over for
15824 * nss/nss_db/db-initgroups.c: New file.
15826 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15829 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15830 (internal_getgrouplist): Adjust to name change.
15831 Update use_initgroups_entry if this is not the first call.
15832 * nss/databases.def: Add initgroups entry.
15834 * nss/makedb.c (compute_tables): Check result of multiple hash table
15835 sizes to minimize maximum chain length.
15837 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15839 * Versions.def: Add entry for libnss_db.
15840 * shlib-versions: Likewise.
15841 * nss/Makefile: Add rules to build libnss_db.
15842 * nss/Versions: Add libnss_db information. Organize libnss_files
15844 * nss/db-Makefile: Add gshadow support. Change rules for the new
15845 makedb progra. Some minor improvements to generate smaller files.
15846 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15848 * nss/makedb.c: ...here.
15849 Improve database format to be smaller and require less memory at
15851 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15853 * nss/nss_db/db-netgrp.c: Likewise.
15854 * nss/nss_db/db-open.c: Likewise.
15855 * nss/nss_files/flies-XXX.x: Adjust comments.
15856 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15857 * nss/nss_files/files-grp.c: Likewise.
15858 * nss/nss_files/files-hosts.c: Likewise.
15859 * nss/nss_files/files-network.c: Likewise.
15860 * nss/nss_files/files-proto.c: Likewise.
15861 * nss/nss_files/files-pwd.c: Likewise.
15862 * nss/nss_files/files-rpc.c: Likewise.
15863 * nss/nss_files/files-service.c: Likewise.
15864 * nss/nss_files/files-sgrp.c: Likewise.
15865 * nss/nss_files/files-spwd.c: Likewise.
15866 * nss/nss_db/db-alias.c: Removed.
15867 * nss/nss_db/dummy-db.h: Removed.
15869 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15871 * nss/makedb.c: Rewritten to not use database library.
15872 * nss/Makefile: Update to build new makedb program.
15874 2011-06-14 Andreas Jaeger <aj@suse.de>
15876 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15877 memset declaration.
15879 2011-06-10 Andreas Schwab <schwab@redhat.com>
15881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15884 2011-06-10 Roland McGrath <roland@hack.frob.com>
15886 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15887 * elf/Makefile ($(objpfx)ld.so): Likewise.
15889 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15890 Don't list ld.so twice in dependencies.
15892 * posix/bug-regex31.c: Include <stdlib.h>.
15894 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15896 * nis/nss_compat/compat-spwd.c
15897 (getspent_next_nss_netgr): Remove unused variable.
15898 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15900 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15901 nonmembers" output to use the right array.
15903 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15905 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15907 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15908 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15909 * catgets/gencat.c (read_input_file): Likewise.
15910 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15912 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15913 variable definition inside #if's controlling its use.
15915 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15917 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15919 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15921 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15924 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15926 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15927 * configure: Regenerated.
15929 * Makerules: Revert last change.
15930 * elf/Makefile: Likewise.
15932 2011-06-09 Roland McGrath <roland@hack.frob.com>
15934 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15935 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15936 (reloc-link): Likewise.
15938 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15940 * elf/Makefile: Add rules to build pldd.
15941 * elf/pldd.c: New file.
15942 * elf/pldd-xx.c: New file.
15944 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15946 * version.h: Update for 2.15 development version.
15948 2011-06-07 David S. Miller <davem@davemloft.net>
15950 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15952 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15953 elf_machine_lazy_rel): Likewise.
15954 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15956 elf_machine_lazy_rel): Likewise.
15957 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15958 dl_hwcap via passed in argument.
15959 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15962 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15964 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15966 2011-06-06 Roland McGrath <roland@hack.frob.com>
15969 * manual/fdl-1.1.texi: New file, verbatim from:
15970 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15971 * manual/lgpl-2.1.texi: New file, verbatim from:
15972 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15973 * manual/Makefile (licenses): New variable, list those new file names.
15975 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15977 * manual/fdl.texi: File removed.
15978 * manual/lesser.texi: File removed.
15979 * manual/libc.texinfo (Copying, Documentation License):
15980 Use new @include file names, put @appendix directive before @include.
15982 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15985 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15986 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15987 (mq_open): Add __NTH.
15989 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15992 Assume Intel Core i3/i5/i7 processor if AVX is available.
15994 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15999 2011-05-31 Andreas Schwab <schwab@redhat.com>
16001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16002 memory. Use alloca_account. Fix memory leak when retrying.
16004 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16006 * version.h (RELEASE): Bump for 2.14 release.
16007 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16009 * config.make.in (RANLIB): Remove entry.
16011 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16013 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16014 (libc.pot): Work around missing support for .ksh extension in xgettext.
16017 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16018 if both request failed.
16019 (send_dg): In case of server errors clear resplen or *resplen2.
16022 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16023 when there are multiple maps.
16024 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16025 (_dl_fini): Remove test here.
16027 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16029 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16032 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16033 bit from old_res_options.
16034 (gaih_inet): Likewise.
16037 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16040 * resolv/res_init.c (res_setoptions): Make the code more compact.
16043 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16047 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16049 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16052 * malloc/malloc.h: Declare malloc hook variables as volatile.
16054 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16058 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16059 raise in the comment.
16060 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16061 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16062 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16064 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16067 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16068 grow the buffers more if it already has to be sufficient.
16069 (build_wcs_upper_buffer): Likewise.
16070 * posix/regexec.c (check_matching): Likewise.
16071 (clean_state_log_if_needed): Likewise.
16072 (extend_buffers): Don't enlarge buffers beyond size of the input
16074 Patches mostly by Emil Wojak <emil@wojak.eu>.
16075 * posix/bug-regex32.c: New file.
16076 * posix/Makefile (tests): Add bug-regex32.
16078 * locale/findlocale.c (_nl_find_locale): Return right away if
16079 _nl_explode_name failed.
16080 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16082 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16084 * debug/xtrace.sh: Unify messages.
16085 * malloc/memusage.sh: Likewise.
16088 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16089 time symbol from vDSO. Substitute with vsyscall if not available.
16090 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16093 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16094 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16095 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16096 Add sendmmsg and internal_sendmmsg.
16097 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16098 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16099 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16101 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16102 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16103 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16105 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16108 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16109 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16111 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16115 * iconvdata/Makefile (tests): Add bug-iconv9.
16116 * iconvdata/bug-iconv9.c: New file.
16118 2011-05-27 Andreas Schwab <schwab@redhat.com>
16121 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16123 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16125 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16126 (struct user_regs_struct): Change intcs field back to cs.
16128 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16130 * po/ja.po: Update from translation team.
16132 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16135 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16136 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16138 2011-05-20 Andreas Schwab <schwab@redhat.com>
16140 * stdlib/longlong.h: Update from GCC.
16142 2011-05-23 Andreas Schwab <schwab@redhat.com>
16144 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16146 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16147 Add parameter name.
16148 (__sysconf): Pass it down.
16150 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16153 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16155 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16156 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16157 add in in __libc_use_alloca calls. Adjust callers.
16158 (glob): Use malloc in some situations.
16160 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16161 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16164 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16166 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16167 and CLOCK_BOOTTIME_ALARM.
16170 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16173 * string/_strerror.c (__strerror_r): Print negative errors as signed
16177 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16178 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16179 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16181 * configure.in: Fix typo in redirection and correct removal of test
16182 files in two cases.
16185 * locale/setlocale.c (new_composite_name): Fix test to check for
16186 identical name of all categories.
16189 * libio/filedoalloc.c (local_isatty): New function.
16190 (_IO_file_doallocate): Use local_isatty.
16191 * stdio-common/perror.c (perror): In case a new stream is used
16192 forward the stream error.
16193 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16196 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16201 * include/alloca.h (extend_alloca_account): Define.
16204 * posix/regex.h: Fix comments with documentation of user-accessible
16205 fields after compilation and describe correct free'ing of pattern
16206 after re_compile_pattern.
16207 Patch by Reuben Thomas <rrt@sc3d.org>.
16209 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16211 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16212 and -mno-altivec to prevent the compiler from using Altivec and/or
16213 VSX instructions when the corresponding registers are not available.
16215 2011-05-19 Andreas Schwab <schwab@redhat.com>
16217 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16219 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16221 * libio/freopen.c (freopen): Use __dup2, not dup2.
16222 * libio/freopen64.c (freopen64): Likewise.
16224 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16227 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16228 * math/Makefile (tests): Add test-powl.
16229 (CFLAGS-test-powl.c): Define.
16230 * math/test-powl.c: New file.
16232 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16234 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16236 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16239 * iconvdata/gb18030.c: Update to GB18020-2005.
16241 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16243 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16244 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16245 Patch by Aharon Robbins <arnold@skeeve.com>.
16248 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16252 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16253 through underflows.
16256 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16257 point to strings before performing equality test for error_one_per_line
16261 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16264 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16265 (struct user_fpregs_struct): Avoid __uint*_t types.
16268 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16269 symbol info. Use it instead of calling _dl_addr locally.
16270 (lock_and_info): New function.
16271 (tr_freehook): Call lock_and_info and pass symbol info as additional
16272 parameter to tr_where.
16273 (tr_mallochook): Likewise.
16274 (tr_reallochook): Likewise.
16275 (tr_memalignhook): Likewise.
16277 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16278 used and couldn't be at all thread-safe.
16280 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16282 * libio/freopen.c (freopen): Don't close old file descriptor
16283 before the new one is opened. Instead dup the new file descriptor
16284 to the old one after the new stream is created.
16285 * libio/freopen64.c (freopen64): Likewise.
16286 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16287 * libio/fileops.c (_IO_new_file_close_it): Handle new
16288 _IO_FLAGS2_NOCLOSE flag.
16289 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16290 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16291 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16292 _IO_FLAGS2_NOCLOSE flag.
16293 * include/unistd.h: Add hidden_proto for dup3.
16294 Define __have_dup3.
16295 * io/dup3.c: Define hidden symbol.
16296 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16299 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16300 when an incomplete long option is used.
16301 * posix/tst-getopt_long1.c: New file.
16302 * posix/Makefile (tests): Add tst-getopt_long1.
16305 * scripts/config.guess: Update from autoconf-2.68.
16306 * scripts/config.sub: Likewise.
16309 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16311 (has_cpuclock): ...this. New function.
16312 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16313 macro here based on has_cpuclock code.
16316 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16317 First byte (not low byte) is now always NUL.
16318 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16320 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16321 Use non-cancelable interfaces.
16324 * locale/iso-639.def: Add entry for Sorani.
16327 * include/stdlib.h: Move include protection to the right place.
16328 Define abort_msg_s. Declare __abort_msg with it.
16329 * stdlib/abort.c (__abort_msg): Adjust type.
16330 * assert/assert.c (__assert_fail_base): New function. Majority
16331 of code from __assert_fail. Allocate memory for __abort_msg with
16333 (__assert_fail): Now call __assert_fail_base.
16334 * assert/assert-perr.c: Remove bulk of implementation. Use
16335 __assert_fail_base.
16336 * include/assert.hL Declare __assert_fail_base.
16337 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16339 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16341 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16345 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16346 until all modules are registered in the DTV.
16347 * elf/Makefile: Add rules to build and run tst-tls19.
16348 * elf/tst-tls19.c: New file.
16349 * elf/tst-tls19mod1.c: New file.
16350 * elf/tst-tls19mod2.c: New file.
16351 * elf/tst-tls19mod3.c: New file.
16352 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16355 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16359 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16360 two-byte sequence errors.
16361 * iconvdata/Makefile (tests): Add bug-iconv8.
16362 * iconvdata/bug-iconv8.c: New file.
16365 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16368 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16371 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16372 (dummy_getcfa): New function.
16373 (init): Get _Unwind_GetCFA address, use dummy if not found.
16374 (backtrace_helper): In recursion check, also check whether CFA changes.
16375 (__backtrace): Completely initialize arg.
16377 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16378 storing incomplete byte sequence in state object. Avoid testing for
16379 guaranteed too small input if we know there is enough data available.
16381 2011-05-11 Andreas Schwab <schwab@redhat.com>
16383 * Makeconfig (+link-pie): Indent.
16384 * Rules (binaries-pie): Define if $(have-fpie) and
16386 (binaries-shared): Also filter out $(binaries-pie).
16387 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16388 * nscd/Makefile (others-pie): Add nscd.
16389 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16390 ($(objpfx)nscd): Remove command override.
16391 * login/Makefile (others-pie): Add pt_chown.
16392 ($(objpfx)pt_chown): Remove command override.
16393 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16394 remove command overrides.
16396 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16398 * libio/tst_putwc.c: Fix error messages.
16401 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16402 currently writing and seek to current position when not.
16403 * libio/Makefile (tests): Add bug-fclose1.
16404 * libio/bug-fclose1.c: New file.
16406 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16409 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16410 don't set DF_1_NODELETE here.
16411 (do_lookup_x): When entering new entry test for copy relocation
16412 and if necessary set DF_1_NODELETE flag.
16413 * elf/tst-unique4.cc: New file.
16414 * elf/tst-unique4.h: New file.
16415 * elf/tst-unique4lib.cc: New file.
16416 * elf/Makefile: Add rules to build and run tst-unique4.
16417 Patch by Piotr Bury <pbury@goahead.com>.
16419 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16422 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16425 * misc/mntent_r.c (addmntent): Flush the stream after the output
16428 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16429 (is_trusted_path_normalize): Skip initial colon. Append slash
16430 to empty buffer. Duplicate is_trusted_path code but allow
16431 constructed patch to be prefix.
16432 (is_dst): Allow $ORIGIN followed by /.
16433 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16434 Correct testing of result of is_trusted_path_normalize
16435 (decompose_rpath): Fix warning.
16437 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16440 * grp/initgroups.c (internal_getgrouplist): When we found the service
16441 list through the initgroups entry in nsswitch.conf do not always
16442 continue on a successful lookup. Don't always use the
16443 __nss_group_database value if it is set.
16444 * nss/nsswitch.conf (initgroups): Change action for successful db
16445 lookup to continue for compatibility.
16447 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16450 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16452 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16454 * iconvdata/tst-tables.sh: Likewise.
16455 * iconvdata/cp770.c: New file.
16456 * iconvdata/cp771.c: New file.
16457 * iconvdata/cp772.c: New file.
16458 * iconvdata/cp773.c: New file.
16459 * iconvdata/cp774.c: New file.
16460 * iconvdata/testdata/CP770: New file.
16461 * iconvdata/testdata/CP770..UTF8: New file.
16462 * iconvdata/testdata/CP771: New file.
16463 * iconvdata/testdata/CP771..UTF8: New file.
16464 * iconvdata/testdata/CP772: New file.
16465 * iconvdata/testdata/CP772..UTF8: New file.
16466 * iconvdata/testdata/CP773: New file.
16467 * iconvdata/testdata/CP773..UTF8: New file.
16468 * iconvdata/testdata/CP774: New file.
16469 * iconvdata/testdata/CP774..UTF8: New file.
16471 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16473 * iconvdata/gen-8bit-gap.sh: Likewise.
16474 * iconvdata/gen-8bit.sh: Likewise.
16476 * locale/iso-639.def: Add ary entry.
16479 * locale/C-translit.h.in: Add U20A1 transliteration.
16482 * locale/iso-639.def: Add wae entry.
16483 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16486 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16490 * locale/C-translit.h.in: Add entry for U20B9.
16491 Patch by pravin.d.s@gmail.com.
16493 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16496 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16497 ENAMETOOLONG use generic getcwd.
16498 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16499 in rtld. Use *stat64.
16500 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16501 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16502 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16503 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16504 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16505 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16506 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16507 __fstatat64 macros.
16508 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16509 * dirent/rewinddir.c: Add libc_hidden_def.
16510 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16511 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16513 * include/dirent.h (__alloc_dir): Add flags parameter.
16514 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16515 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16517 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16518 from fdopendir if O_CLOEXEC is already set.
16520 2011-03-15 Alan Modra <amodra@gmail.com>
16522 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16523 l_tls_firstbyte_offset non-zero. Save padding offset in
16524 l_tls_firstbyte_offset for later use.
16525 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16526 freeing static tls block.
16528 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16530 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16531 where #ifdef was intended. The intent is to prevent ARG_MAX from
16532 being defined by the kernel headers.
16534 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16537 * resolv/resolv.h: Define RES_NOTLDQUERY.
16538 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16539 no-tld-query and set RES_NOTLDQUERY.
16540 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16541 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16542 modern BIND to search name as TLD unless forbidden.
16544 2011-05-07 Petr Baudis <pasky@suse.cz>
16545 Ulrich Drepper <drepper@gmail.com>
16548 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16549 (is_trusted_path): ...to here.
16550 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16551 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16552 using is_trusted_path_normalize() in setuid scripts.
16554 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16556 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16557 __BEGIN/__END_DECLS.
16559 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16562 NSS_STATUS_NOTFOUND if no record was found.
16564 2011-05-05 Andreas Schwab <schwab@redhat.com>
16566 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16567 (headers-not-in-tirpc): Remove rpc/netdb.h
16568 * resolv/netdb.h: Revert last change.
16570 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16572 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16573 circular dependency between libgcc.a and libc.a.
16575 2011-05-05 Andreas Schwab <schwab@redhat.com>
16577 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16578 * nis/Makefile: Don't install rpcsvc/*.
16579 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16580 instead of <rpc/types.h>.
16581 (MAXHOSTNAMELEN): Define.
16583 2011-05-03 Andreas Schwab <schwab@redhat.com>
16585 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16587 2011-04-28 Maciej Babinski <mbabinski@google.com>
16590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16591 gethostbyname4_r when IPv6 results are possible.
16593 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16596 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16597 _PC_PIPE_BUF handling.
16599 2011-04-30 Bruno Haible <bruno@clisp.org>
16602 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16603 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16605 * inet/getnameinfo.c (getnameinfo): Likewise.
16607 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16609 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16610 to groups setting in database lookup.
16611 * nss/nsswitch.conf: Add initgroups entry.
16613 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16616 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16618 Patch by Eric Blake <eblake@redhat.com>.
16620 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16622 * sunrpc/Makefile (need-export-routines): Add svc_run.
16623 (routines): Remove svc_run.
16624 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16625 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16626 * sunrpc/svc_run.c (svc_run): Likewise.
16627 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16629 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16631 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16632 problem in reallocation in last patch.
16634 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16636 * sunrpc/Makefile: Move inclusion of Rules.
16638 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16640 * nss/nss_files/files-initgroups.c: New file.
16641 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16642 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16643 _nss_files_initgroups_dyn.
16645 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16647 * elf/elf.h (R_ARM_IRELATIVE): Define.
16649 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16651 * po/ru.po: Update from translation team.
16653 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16655 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16658 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16661 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16662 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16663 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16664 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16665 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16667 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16669 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16671 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16673 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16675 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16678 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16680 * stdlib/bug-getcontext.c: New file.
16681 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16683 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16685 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16686 instructions into .machine "z9-109".
16687 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16688 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16690 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16692 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16693 between environment variables and auxiliary vector.
16695 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16697 * Makefile: Add rules to build linkobj/libc.so.
16698 * include/libc-symbols.h: Define libc_hidden_nolink.
16699 * include/rpc/auth.h: Mark functions which are to be hidden.
16700 * include/rpc/auth_des.h: Likewise.
16701 * include/rpc/auth_unix.h: Likewise.
16702 * include/rpc/clnt.h: Likewise.
16703 * include/rpc/des_crypt.h: Likewise.
16704 * include/rpc/key_prot.h: Likewise.
16705 * include/rpc/pmap_clnt.h: Likewise.
16706 * include/rpc/pmap_prot.h: Likewise.
16707 * include/rpc/pmap_rmt.h: Likewise.
16708 * include/rpc/rpc_msg.h: Likewise.
16709 * include/rpc/svc.h: Likewise.
16710 * include/rpc/svc_auth.h: Likewise.
16711 * include/rpc/xdr.h: Likewise.
16712 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16713 * nss/Makefile: Likewise.
16714 * sunrpc/Makefile: Don't install headers. Build library with normal
16715 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16716 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16717 for the compat linking library. Remove use of INTDEF/INTUSE.
16718 * sunrpc/auth_none.c: Likewise.
16719 * sunrpc/auth_unix.c: Likewise.
16720 * sunrpc/authdes_prot.c: Likewise.
16721 * sunrpc/authuxprot.c: Likewise.
16722 * sunrpc/clnt_gen.c: Likewise.
16723 * sunrpc/clnt_perr.c: Likewise.
16724 * sunrpc/clnt_raw.c: Likewise.
16725 * sunrpc/clnt_simp.c: Likewise.
16726 * sunrpc/clnt_tcp.c: Likewise.
16727 * sunrpc/clnt_udp.c: Likewise.
16728 * sunrpc/clnt_unix.c: Likewise.
16729 * sunrpc/des_crypt.c: Likewise.
16730 * sunrpc/des_soft.c: Likewise.
16731 * sunrpc/get_myaddr.c: Likewise.
16732 * sunrpc/key_call.c: Likewise.
16733 * sunrpc/key_prot.c: Likewise.
16734 * sunrpc/netname.c: Likewise.
16735 * sunrpc/pm_getmaps.c: Likewise.
16736 * sunrpc/pm_getport.c: Likewise.
16737 * sunrpc/pmap_clnt.c: Likewise.
16738 * sunrpc/pmap_prot.c: Likewise.
16739 * sunrpc/pmap_prot2.c: Likewise.
16740 * sunrpc/pmap_rmt.c: Likewise.
16741 * sunrpc/publickey.c: Likewise.
16742 * sunrpc/rpc_cmsg.c: Likewise.
16743 * sunrpc/rpc_common.c: Likewise.
16744 * sunrpc/rpc_dtable.c: Likewise.
16745 * sunrpc/rpc_prot.c: Likewise.
16746 * sunrpc/rpc_thread.c: Likewise.
16747 * sunrpc/rtime.c: Likewise.
16748 * sunrpc/svc.c: Likewise.
16749 * sunrpc/svc_auth.c: Likewise.
16750 * sunrpc/svc_authux.c: Likewise.
16751 * sunrpc/svc_raw.c: Likewise.
16752 * sunrpc/svc_run.c: Likewise.
16753 * sunrpc/svc_simple.c: Likewise.
16754 * sunrpc/svc_tcp.c: Likewise.
16755 * sunrpc/svc_udp.c: Likewise.
16756 * sunrpc/svc_unix.c: Likewise.
16757 * sunrpc/svcauth_des.c: Likewise.
16758 * sunrpc/xcrypt.c: Likewise.
16759 * sunrpc/xdr.c: Likewise.
16760 * sunrpc/xdr_array.c: Likewise.
16761 * sunrpc/xdr_float.c: Likewise.
16762 * sunrpc/xdr_intXX_t.c: Likewise.
16763 * sunrpc/xdr_mem.c: Likewise.
16764 * sunrpc/xdr_rec.c: Likewise.
16765 * sunrpc/xdr_ref.c: Likewise.
16766 * sunrpc/xdr_sizeof.c: Likewise.
16767 * sunrpc/xdr_stdio.c: Likewise.
16769 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16772 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16773 * sysdeps/ia64/dl-tls.h: Likewise.
16774 * sysdeps/powerpc/dl-tls.h: Likewise.
16775 * sysdeps/s390/dl-tls.h: Likewise.
16776 * sysdeps/sh/dl-tls.h: Likewise.
16777 * sysdeps/sparc/dl-tls.h: Likewise.
16778 * sysdeps/x86_64/dl-tls.h: Likewise.
16779 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16781 2011-03-14 Andreas Schwab <schwab@redhat.com>
16783 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16784 rpath element also skip the following colon.
16785 (expand_dynamic_string_token): Add is_path parameter and pass
16786 down to DL_DST_REQUIRED and _dl_dst_substitute.
16787 (decompose_rpath): Call expand_dynamic_string_token with
16788 non-zero is_path. Ignore empty rpaths.
16789 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16792 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16797 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16800 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16801 Patch by Filipe David Manana <fdmanana@apache.org>.
16803 2011-04-07 Andreas Schwab <schwab@redhat.com>
16805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16806 Maintain aligned stack.
16807 (CHECK_RSP): Remove unused macro.
16809 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16811 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16812 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16814 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16816 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16818 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16820 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16823 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16824 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16825 * sysdeps/x86_64/memmove.c: New file.
16826 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16827 (memcpy): Renamed to ...
16828 (__new_memcpy): This.
16829 (memcpy): Provide GLIBC_2_14 memcpy.
16830 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16831 (memcpy): Provide GLIBC_2_2_5 memcpy.
16833 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16836 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16838 2011-03-30 Andreas Schwab <schwab@redhat.com>
16840 * misc/syncfs.c: New file.
16841 * misc/Makefile (routines): Add syncfs.
16842 * posix/unistd.h: Declare syncfs.
16843 * sysdeps/unix/syscalls.list: Add syncfs.
16845 2011-04-01 Andreas Schwab <schwab@redhat.com>
16847 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16850 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16852 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16854 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16855 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16857 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16859 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16860 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16861 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16863 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16867 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16868 sync_file_range.c with -fexceptions.
16869 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16870 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16871 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16872 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16873 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16874 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16876 sync_file_range as cancellation point
16877 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16878 now a wrapper around __call_sync_file_range with cancellation handling.
16879 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16880 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16881 function name to __call_sync_file_range.
16882 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16883 Add call_sync_file_range.
16885 2011-04-01 Andreas Schwab <schwab@redhat.com>
16887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16890 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16892 * iconv/iconv.h: Fix typo in comment.
16893 * io/fcntl.h: Likewise.
16894 * libio/stdio.h: Likewise.
16895 * posix/spawn.h: Likewise.
16896 * posix/unistd.h: Likewise.
16897 * stdlib/stdlib.h: Likewise.
16898 * time/time.h: Likewise.
16899 * wcsmbs/wchar.h: Likewise.
16901 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16902 open_by_handle): Add.
16903 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16904 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16905 Augment a few comments.
16906 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16908 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16911 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16914 * io/fcntl.h (AT_EMPTY_PATH): Define.
16916 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16918 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16919 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16920 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16922 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16923 * Versions.def: Add GLIBC_2.14.
16924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16927 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16929 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16931 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16933 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16936 * string/test-strncmp.c (do_page_test): New function.
16937 (check2): Likewise.
16938 (test_main): Call check2.
16939 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16941 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16944 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16945 Handle cache information in CPU leaf 4.
16946 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16948 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16951 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16952 character representation.
16953 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16955 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16957 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16958 END(__isnan) to END(__isnanf) to match function entry point/label
16959 EALIGN(__isnanf,...).
16961 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16963 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16965 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16968 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16969 copy from the symbol referenced in the relocation to initialize the
16971 Patch by Piotr Bury <pbury@goahead.com>.
16972 * elf/Makefile: Add rules to build and tst-unique3.
16973 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16974 * elf/tst-unique3.cc: New file.
16975 * elf/tst-unique3.h: New file.
16976 * elf/tst-unique3lib.cc: New file.
16977 * elf/tst-unique3lib2.cc: New file.
16979 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16981 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16983 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16984 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16987 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16989 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16990 to-be-loaded object along a path to loader is ld.so.
16992 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16993 Ulrich Drepper <drepper@gmail.com>
16995 * sysdeps/x86_64/memset.S: After aligning destination, code
16996 branches to different locations depending on the value of
16997 misalignment, when multiarch is enabled. Fix this.
16999 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17001 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17002 Set _x86_64_preferred_memory_instruction for AMD processsors.
17003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17004 Set bit_Prefer_SSE_for_memop for AMD processors.
17006 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17008 * libio/fmemopen.c (fmemopen): Optimize a bit.
17010 2011-03-03 Andreas Schwab <schwab@redhat.com>
17012 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17014 2011-03-03 Roland McGrath <roland@redhat.com>
17016 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17018 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17020 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17021 __bzero_ultra1 instead of __memset_ultra1.
17023 2011-02-23 Andreas Schwab <schwab@redhat.com>
17024 Ulrich Drepper <drepper@gmail.com>
17027 * include/link.h (struct link_map): Add l_orig_initfini.
17028 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17029 returning unsuccessfully.
17030 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17031 close of a file loaded at startup, restore the original l_initfini
17033 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17034 list, store the pointer.
17035 * elf/Makefile ($(objpfx)noload-mem): New rule.
17036 (noload-ENV): Define.
17037 (tests): Add $(objpfx)noload-mem.
17038 * elf/noload.c: Include <memcheck.h>.
17039 (main): Call mtrace. Close all opened handles.
17041 2011-02-17 Andreas Schwab <schwab@redhat.com>
17044 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17045 dependencies are missing.
17047 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17049 Fix __if_freereq crash: Unlike the generic version which uses free,
17051 * sysdeps/mach/hurd/ifreq.h: New file.
17053 2011-01-27 Petr Baudis <pasky@suse.cz>
17054 Ulrich Drepper <drepper@gmail.com>
17057 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17058 to extend_alloca().
17059 * stdio-common/bug23.c: New file.
17060 * stdio-common/Makefile (tests): Add bug23.
17062 2010-09-28 Andreas Schwab <schwab@redhat.com>
17063 Ulrich Drepper <drepper@gmail.com>
17066 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17067 before performing relro protection. At old place add assertion
17068 to make sure nothing changed.
17070 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17071 Glauber de Oliveira Costa <glommer@gmail.com>
17073 * elf/elf.h: Add new ARM TLS relocs.
17075 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17078 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17080 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17082 * sysdeps/wordsize-64/tst-writev.c: New file.
17084 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17086 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17087 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17088 insns in _dl_start to prevent a TOC reference before relocs are
17091 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17094 * Makeconfig: Remove RANLIB definition.
17095 * Makerules: Don't use RANLIB.
17096 * aclocal.m4: Remove ranlib test.
17097 * configure.in: No need to check for ranlib.
17098 * elf/rtld-Rules: Don't use RANLIB.
17100 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17102 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17104 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17105 inclusion protection macro.
17107 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17108 SIGRTMIN and SIGRTMAX and print information in that case only when
17109 SIGRTMIN is defined.
17111 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17113 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17114 arginfo fn returning -1.
17116 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17117 and thousands string is zero terminated.
17119 2011-02-03 Andreas Schwab <schwab@redhat.com>
17121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17122 sysdeps/unix/sysv/linux/bits/socket.h.
17124 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17126 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17127 (__CPU_COUNT): Remove old macros.
17128 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17129 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17130 (__CPU_ALLOC, __CPU_FREE): Add macros.
17131 (__sched_cpualloc, __sched_cpufree): Add declarations.
17133 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17135 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17136 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17137 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17138 (readdhstai): Return value of addhstaiX call.
17139 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17140 (addgrbyX): Return value returned by cache_addgr.
17141 (readdgrbyname): Return value returned by addgrbyX.
17142 (readdgrbygid): Likewise.
17143 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17144 (addpwbyX): Return value returned by cache_addpw.
17145 (readdpwbyname): Return value returned by addhstbyX.
17146 (readdpwbyuid): Likewise.
17147 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17148 (addservbyX): Return value returned by cache_addserv.
17149 (readdservbyname): Return value returned by addservbyX:
17150 (readdservbyport): Likewise.
17151 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17152 (addhstbyX): Return value returned by cache_addhst.
17153 (readdhstbyname): Return value returned by addhstbyX.
17154 (readdhstbyaddr): Likewise.
17155 (readdhstbynamev6): Likewise.
17156 (readdhstbyaddrv6): Likewise.
17157 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17158 (readdinitgroups): Return value returned by addinitgroupsX.
17159 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17160 (prune_cache): Keep track of timeout value of re-added entries.
17161 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17162 * nscd/nscd.h: Adjust prototypes of readd* functions.
17164 2011-02-04 Roland McGrath <roland@redhat.com>
17166 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17167 (nis_stats): Likewise.
17168 * nis/nis_modify.c (nis_modify): Likewise.
17169 * nis/nis_remove.c (nis_remove): Likewise.
17170 * nis/nis_add.c (nis_add): Likewise.
17172 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17174 * posix/fnmatch_loop.c: Add some consts.
17176 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17178 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17181 * config.make.in (config-cflags-novzeroupper): Define.
17182 * configure.in: Substitute libc_cv_cc_novzeroupper.
17183 * elf/Makefile (AVX-CFLAGS): Define.
17184 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17185 (CFLAGS-tst-auditmod4a.c): Likewise.
17186 (CFLAGS-tst-auditmod4b.c): Likewise.
17187 (CFLAGS-tst-auditmod6b.c): Likewise.
17188 (CFLAGS-tst-auditmod6c.c): Likewise.
17189 (CFLAGS-tst-auditmod7b.c): Likewise.
17190 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17192 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17194 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17195 function to the callback.
17196 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17198 2011-02-02 Andreas Schwab <schwab@redhat.com>
17200 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17203 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17206 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17208 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17210 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17213 * elf/Makefile: Add rules to build and run new test.
17214 * elf/tst-initorder.c: New file.
17215 * elf/tst-initorder.exp: New file.
17216 * elf/tst-initordera1.c: New file.
17217 * elf/tst-initordera2.c: New file.
17218 * elf/tst-initordera3.c: New file.
17219 * elf/tst-initordera4.c: New file.
17220 * elf/tst-initorderb1.c: New file.
17221 * elf/tst-initorderb2.c: New file.
17222 * elf/tst-order-a1.c: New file.
17223 * elf/tst-order-a2.c: New file.
17224 * elf/tst-order-a3.c: New file.
17225 * elf/tst-order-a4.c: New file.
17226 * elf/tst-order-b1.c: New file.
17227 * elf/tst-order-b2.c: New file.
17228 * elf/tst-order-main.c: New file.
17229 New test case by George Gensure <werkt0@gmail.com>.
17231 2010-10-01 Andreas Schwab <schwab@redhat.com>
17233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17234 decoding ACE if AI_CANONIDN.
17236 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17238 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17240 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17242 * version.h (RELEASE): Bump for 2.13 release.
17243 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17245 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17247 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17249 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17250 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17251 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17252 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17253 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17254 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17256 * posix/getconf.c: Update copyright year.
17257 * catgets/gencat.c: Likewise.
17258 * csu/version.c: Likewise.
17259 * debug/catchsegv.sh: Likewise.
17260 * debug/xtrace.sh: Likewise.
17261 * elf/ldconfig.c: Likewise.
17262 * elf/ldd.bash.in: Likewise.
17263 * elf/sprof.c (print_version): Likewise.
17264 * iconv/iconv_prog.c: Likewise.
17265 * iconv/iconvconfig.c: Likewise.
17266 * locale/programs/locale.c: Likewise.
17267 * locale/programs/localedef.c: Likewise.
17268 * malloc/memusage.sh: Likewise.
17269 * malloc/mtrace.pl: Likewise.
17270 * nscd/nscd.c (print_version): Likewise.
17271 * nss/getent.c: Likewise.
17273 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17274 PF_CAIF, and PF_ALG.
17275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17277 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17279 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17280 (modules-names): Use them.
17281 (ifunc-test-modules, ifunc-pie-tests): Define.
17282 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17283 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17284 (test-extras): Likewise.
17285 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17286 $(compile-command.c).
17287 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17288 (all-built-dso): Define.
17289 (check-textrel.out, check-execstack.out): Depend on it.
17291 * configure.in: Don't override --enable-multi-arch.
17293 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17296 * nscd/hstcache.c (tryagain): Define.
17297 (cache_addhst): Return tryagain not notfound for temporary errors.
17298 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17301 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17304 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17305 to make the syscall.
17306 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17309 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17310 and fall back to matching as normal character if the string ends before
17311 the matching ']' is found. This is what POSIX requires.
17312 * posix/testfnm.c: Adjust test result.
17313 * posix/globtest.sh: Adjust test result. Add new test.
17314 * posix/tst-fnmatch.input: Likewise.
17315 * posix/tst-fnmatch2.c: Add new test.
17317 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17319 * elf/Makefile (check-execstack): Revert last change. Depend on
17321 (check-execstack.h): New target.
17322 (generated): Add check-execstack.h.
17323 * elf/check-execstack.c: Include "check-execstack.h".
17324 (main): Revert last change.
17325 (handle_file): Return zero if GNU_STACK is absent and
17326 DEFAULT_STACK_PERMS doesn't include PF_X.
17328 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17330 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17331 in child fails because the descriptor is already closed.
17332 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17333 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17334 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17337 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17341 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17342 temporary buffer used to handle multi lookups locally.
17343 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17345 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17347 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17350 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17352 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17353 alignment for SSE2.
17355 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17358 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17359 characters. When rounding increased number of integer digits recompute
17361 * stdio-common/tst-grouping.c: New file.
17362 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17364 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17366 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17367 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17369 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17371 * bits/select.h: Likewise.
17373 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17375 * po/ja.po: Update from translation team.
17377 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17380 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17381 implementation just like for lxstat, fxstatat, et al.
17383 2010-12-27 Jim Meyering <meyering@redhat.com>
17386 * posix/regexec.c (build_trtable): Return failure indication upon
17387 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17389 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17392 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17393 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17394 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17395 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17398 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17401 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17402 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17404 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17406 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17407 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17408 script has SORT_BY_INIT_PRIORITY.
17409 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17410 NO_CTORS_DTORS_SECTIONS is defined.
17411 * elf/soinit.c: Likewise.
17412 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17413 NO_CTORS_DTORS_SECTIONS is defined.
17414 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17415 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17416 * sysdeps/sh/init-first.c: Likewise.
17417 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17419 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17421 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17422 always use the slow path.
17424 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17426 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17427 similar rule which adds the sysdep directories to the header search in
17428 order to pick up the correct platform stackinfo.h.
17429 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17430 perform test if it is, otherwise return successfully without testing.
17431 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17432 DEFAULT_STACK_PERMS define in stackinfo.h.
17433 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17434 defined in stackinfo.h.
17435 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17436 DEFAULT_STACK_PERMS defined in stackinfo.h.
17437 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17438 * sysdeps/ia64/stackinfo.h: Likewise.
17439 * sysdeps/s390/stackinfo.h: Likewise.
17440 * sysdeps/sh/stackinfo.h: Likewise.
17441 * sysdeps/sparc/stackinfo.h: Likewise.
17442 * sysdeps/x86_64/stackinfo.h: Likewise.
17443 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17444 PF_X for powerpc64. Retain PF_X for powerpc32.
17446 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17448 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17450 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17451 GETDENTS_64BIT_ALIGNED.
17453 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17455 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17457 2010-12-10 Andreas Schwab <schwab@redhat.com>
17459 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17462 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17463 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17465 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17466 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17468 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17471 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17474 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17476 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17478 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17480 * po/it.po: Update from translation team.
17482 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17484 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17487 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17489 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17491 2010-11-24 Andreas Schwab <schwab@redhat.com>
17493 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17495 (gaih_getanswer_slice): Likewise.
17497 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17501 2010-05-31 Petr Baudis <pasky@suse.cz>
17504 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17505 silently even in the chroot mode.
17507 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17509 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17510 last patch a bit. Pretty printing
17512 2010-05-31 Petr Baudis <pasky@suse.cz>
17515 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17516 initialization of skip_initgroups_dyn.
17518 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17520 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17521 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17523 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17525 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17527 2010-11-11 Andreas Schwab <schwab@redhat.com>
17529 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17530 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17531 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17532 ($(objpfx)tst-fnmatch-mem): New rule.
17533 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17534 * posix/tst-fnmatch.c (main): Call mtrace.
17536 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17539 Support Intel processor model 6 and model 0x2c.
17541 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17543 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17546 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17549 * string/test-strncasecmp.c (check_result): New function.
17550 (do_one_test): Use it.
17551 (check1): New function.
17552 (test_main): Use it.
17553 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17554 Support strcasecmp and strncasecmp.
17556 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17559 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17560 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17562 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17564 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17568 * sysdeps/x86_64/multiarch/bzero.S: New file.
17569 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17570 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17571 * sysdeps/x86_64/multiarch/memset.S: New file.
17572 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17574 Set bit_Prefer_SSE_for_memop for Intel processors.
17575 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17577 (index_Prefer_SSE_for_memop): Define.
17578 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17580 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17582 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17583 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17585 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17588 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17589 (__x86_64_raw_data_cache_size_half): Likewise.
17590 (__x86_64_raw_shared_cache_size): Likewise.
17591 (__x86_64_raw_shared_cache_size_half): Likewise.
17593 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17594 (__x86_64_raw_data_cache_size_half): Likewise.
17595 (__x86_64_raw_shared_cache_size): Likewise.
17596 (__x86_64_raw_shared_cache_size_half): Likewise.
17597 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17598 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17599 and __x86_64_raw_shared_cache_size_half. Round
17600 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17601 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17602 to multiple of 256 bytes.
17604 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17607 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17608 of inacessible symlinks. Verify result of symlink before returning it.
17609 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17610 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17612 2010-10-28 Erich Ritz <erichritz@gmail.com>
17614 * math/math.h (isinf): Fix typo in comment.
17616 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17618 * po/da.po: Update from translation team.
17620 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17622 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17623 is added to the list.
17625 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17626 Ulrich Drepper <drepper@gmail.com>
17628 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17629 the global list here. Move code to...
17630 (_dl_add_to_namespace_list): ...here. New function.
17631 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17632 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17633 * elf/dl-load.c (lose): Don't remove the element from the list.
17634 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17635 (_dl_map_object): Likewise.
17637 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17640 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17641 into all bytes of SSE register.
17642 Patch by Richard Li <richardpku@gmail.com>.
17644 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17647 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17650 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17652 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17653 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17654 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17655 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17660 2010-10-22 Andreas Schwab <schwab@redhat.com>
17662 * include/dlfcn.h (__RTLD_SECURE): Define.
17663 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17664 mode & __RTLD_SECURE instead.
17665 (open_path): Rename preloaded parameter to secure.
17666 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17667 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17668 * elf/dl-deps.c (openaux): Likewise.
17669 * elf/rtld.c (struct map_args): Remove is_preloaded.
17670 (map_doit): Don't use it.
17671 (dl_main): Likewise.
17672 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17673 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17675 2010-09-09 Andreas Schwab <schwab@redhat.com>
17677 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17678 (sysd-rules-targets): Remove duplicates.
17679 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17680 rtld-%.$o dependency.
17682 2010-10-18 Andreas Schwab <schwab@redhat.com>
17684 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17685 _dl_map_object do it.
17687 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17689 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17690 fast fma builtins, define the macros in the C99 standard.
17691 (FP_FAST_FMAF): Likewise.
17692 (FP_FAST_FMAL): Likewise.
17693 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17695 * bits/mathdef.h: Update copyright year.
17696 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17698 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17700 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17701 builtins, define the macros in the C99 standard.
17702 (FP_FAST_FMAF): Likewise.
17703 (FP_FAST_FMAL): Likewise.
17704 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17706 (FP_FAST_FMAF): Likewise.
17708 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17711 * math/libm-test.inc (fma_test): Some new testcases.
17712 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17713 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17714 y and infinite z. Do multiplication by C already in long double.
17715 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17717 y and infinite z. Do bitwise or of inexact bit into u.d.
17718 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17719 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17720 * sysdeps/i386/fpu/s_fma.S: Removed.
17721 * sysdeps/i386/fpu/s_fmal.S: Removed.
17723 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17726 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17727 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17728 computation is not scheduled after fetestexcept. Fix value
17729 of minimum denormal long double.
17731 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17734 * math/libm-test.inc (fma_test): Add some more tests.
17735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17738 2010-10-15 Andreas Schwab <schwab@redhat.com>
17740 * scripts/data/localplt-s390-linux-gnu.data: New file.
17741 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17743 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17746 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17747 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17749 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17751 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17753 if one of x and y is very large and the other is subnormal.
17754 * sysdeps/s390/fpu/s_fmaf.c: New file.
17755 * sysdeps/s390/fpu/s_fma.c: New file.
17756 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17757 * sysdeps/powerpc/fpu/s_fma.S: New file.
17758 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17759 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17760 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17762 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17765 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17767 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17768 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17769 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17770 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17771 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17772 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17775 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17778 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17779 * posix/bug-regex31.input: Add test case.
17781 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17783 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17784 * posix/bug-regex31.input: New file.
17787 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17788 (parse_sub_exp): Fix last change, use postorder.
17790 * posix/bug-regex31.c: New file.
17791 * posix/Makefile: Add rules to build and run bug-regex31.
17793 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17796 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17799 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17800 to have entries in sys_siglist.
17803 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17806 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17809 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17810 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17811 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17812 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17813 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17814 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17815 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17816 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17817 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17818 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17819 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17820 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17821 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17822 * math/ftestexcept.c (fetestexcept): Likewise.
17823 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17824 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17825 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17826 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17827 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17828 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17829 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17831 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17834 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17837 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17839 * string/bug-strstr1.c: New file.
17840 * string/Makefile: Add rules to build and run bug-strstr1.
17842 2010-10-05 Eric Blake <eblake@redhat.com>
17845 * string/str-two-way.h (two_way_long_needle): Always clear memory
17846 when skipping input due to the shift table.
17848 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17851 * malloc/mcheck.c: Handle large requests.
17854 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17855 for strncmp and strncasecmp.
17856 * string/stratcliff.c: Add tests for strcmp and strncmp.
17857 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17859 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17861 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17864 2010-09-30 Andreas Jaeger <aj@suse.de>
17866 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17867 (CGROUP_SUPER_MAGIC): Define.
17868 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17869 Handle btrfs and cgroup file systems.
17870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17873 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17875 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17876 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17878 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17881 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17882 trying to locate the ELF header.
17884 2010-09-27 Andreas Schwab <schwab@redhat.com>
17887 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17888 Mask out sign-bit copies when constructing f_fsid.
17890 2010-09-24 Petr Baudis <pasky@suse.cz>
17892 * debug/stack_chk_fail_local.c: Add missing licence exception.
17893 * debug/warning-nop.c: Likewise.
17895 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17897 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17898 implementing getdents64 using getdents syscall, set d_type if
17899 __ASSUME_GETDENTS32_D_TYPE.
17901 2010-09-16 Andreas Schwab <schwab@redhat.com>
17903 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17904 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17906 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17909 * posix/unistd.h: Undo change of feature selection for ftruncate from
17912 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17914 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17917 2010-09-20 Andreas Schwab <schwab@redhat.com>
17919 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17921 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17923 2010-09-14 Andreas Schwab <schwab@redhat.com>
17925 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17926 variables after CHECK_SP call.
17927 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17929 2010-09-13 Andreas Schwab <schwab@redhat.com>
17930 Ulrich Drepper <drepper@redhat.com>
17932 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17933 re-relocationg ld.so.
17934 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17935 _dl_init_paths call.
17936 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17939 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17941 * resolv/res_init.c (__res_vinit): Count the default server we added.
17943 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17944 Ulrich Drepper <drepper@redhat.com>
17947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17948 (____longjmp_chk): Use %ebx for saving value across system call.
17951 2010-09-06 Andreas Schwab <schwab@redhat.com>
17953 * manual/Makefile: Don't mix pattern rules with normal rules.
17955 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17957 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17959 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17960 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17961 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17962 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17966 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17969 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17970 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17972 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17974 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17975 * sysdeps/x86_64/addmul_1.S: Likewise.
17976 * sysdeps/x86_64/lshift.S: Likewise.
17977 * sysdeps/x86_64/mul_1.S: Likewise.
17978 * sysdeps/x86_64/rshift.S: Likewise.
17979 * sysdeps/x86_64/sub_n.S: Likewise.
17980 * sysdeps/x86_64/submul_1.S: Likewise.
17982 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17984 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17985 Define __sched_param instead of SCHED_* and sched_param when
17986 <bits/sched.h> is included with __need_schedparam defined.
17987 * bits/sched.h [__need_schedparam]
17988 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17989 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17990 (__defined_schedparam): Define to 1.
17991 (__sched_param): New structure, identical to sched_param.
17992 (__need_schedparam): Undefine.
17994 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17996 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17997 (epoll_create1): Declare.
17999 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18001 2010-08-31 Andreas Schwab <schwab@redhat.com>
18004 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18005 shifting retval into place.
18007 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18009 * nis/rpcsvc/nis.h: Update copyright notice.
18010 * nis/rpcsvc/nis.x: Likewise.
18011 * nis/rpcsvc/nis_callback.h: Likewise.
18012 * nis/rpcsvc/nis_callback.x: Likewise.
18013 * nis/rpcsvc/nis_object.x: Likewise.
18014 * nis/rpcsvc/nis_tags.h: Likewise.
18015 * nis/rpcsvc/yp.h: Likewise.
18016 * nis/rpcsvc/yp.x: Likewise.
18017 * nis/rpcsvc/ypupd.h: Likewise.
18018 * nis/yp_xdr.c: Likewise.
18019 * nis/ypupdate_xdr.c: Likewise.
18021 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18022 mainly the body of pmap_getport. Add parameters to specify timeouts.
18023 (pmap_getport): Use __libc_rpc_getport.
18024 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18025 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18026 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18028 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18033 2010-08-27 Roland McGrath <roland@redhat.com>
18035 * sysdeps/i386/i686/multiarch/Makefile
18036 (CFLAGS-varshift.c): New variable.
18038 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18040 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18041 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18045 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18047 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18049 * sysdeps/x86_64/strlen.S: Unroll the loop.
18050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18051 strlen-sse2 strlen-sse2-bsf.
18052 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18053 __strlen_no_bsf if bit_Slow_BSF is set.
18054 (__strlen_sse42): Removed.
18055 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18056 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18058 2010-08-25 Roland McGrath <roland@redhat.com>
18060 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18061 * sysdeps/x86_64/multiarch/varshift.c: New file.
18062 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18063 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18064 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18065 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18067 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18070 strlen-sse2 strlen-sse2-bsf.
18071 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18072 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18073 (__strlen_sse2): Removed.
18074 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18077 bit_Slow_BSF for Atom.
18078 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18079 (index_Slow_BSF): Define.
18080 (HAS_SLOW_BSF): Define.
18082 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18085 * resolv/res_init.c (__res_vinit): When no server address at all
18086 is given default to loopback.
18088 2010-08-24 Roland McGrath <roland@redhat.com>
18090 * configure.in: Remove config-name.h generation.
18091 * configure: Regenerated.
18092 * config-name.in: File removed.
18093 * scripts/config-uname.sh: New file.
18094 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18095 ($(objdir)config-name.h): New target.
18097 * sunrpc/rpc_parse.h: Avoid nested comment.
18099 2010-08-24 Richard Henderson <rth@redhat.com>
18100 Ulrich Drepper <drepper@redhat.com>
18101 H.J. Lu <hongjiu.lu@intel.com>
18103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18105 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18106 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18107 _mm_alignr_epi8 with _mm_loadu_si128.
18108 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18109 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18110 (__m128i_shift_right): Removed.
18111 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18112 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18113 * sysdeps/x86_64/multiarch/varshift.h: New file.
18114 * sysdeps/x86_64/multiarch/varshift.S: New file.
18116 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18118 * configure.in: Move assembler checks to before sysdep dir checking.
18120 2010-08-20 Petr Baudis <pasky@suse.cz>
18122 * LICENSES: Sync the sunrpc license.
18124 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18126 * sunrpc/auth_des.c: Update copyright notice once again.
18127 * sunrpc/auth_none.c: Likewise.
18128 * sunrpc/auth_unix.c: Likewise.
18129 * sunrpc/authdes_prot.c: Likewise.
18130 * sunrpc/authuxprot.c: Likewise.
18131 * sunrpc/bindrsvprt.c: Likewise.
18132 * sunrpc/clnt_gen.c: Likewise.
18133 * sunrpc/clnt_perr.c: Likewise.
18134 * sunrpc/clnt_raw.c: Likewise.
18135 * sunrpc/clnt_simp.c: Likewise.
18136 * sunrpc/clnt_tcp.c: Likewise.
18137 * sunrpc/clnt_udp.c: Likewise.
18138 * sunrpc/clnt_unix.c: Likewise.
18139 * sunrpc/des_crypt.c: Likewise.
18140 * sunrpc/des_soft.c: Likewise.
18141 * sunrpc/get_myaddr.c: Likewise.
18142 * sunrpc/getrpcport.c: Likewise.
18143 * sunrpc/key_call.c: Likewise.
18144 * sunrpc/key_prot.c: Likewise.
18145 * sunrpc/openchild.c: Likewise.
18146 * sunrpc/pm_getmaps.c: Likewise.
18147 * sunrpc/pm_getport.c: Likewise.
18148 * sunrpc/pmap_clnt.c: Likewise.
18149 * sunrpc/pmap_prot.c: Likewise.
18150 * sunrpc/pmap_prot2.c: Likewise.
18151 * sunrpc/pmap_rmt.c: Likewise.
18152 * sunrpc/rpc/auth.h: Likewise.
18153 * sunrpc/rpc/auth_unix.h: Likewise.
18154 * sunrpc/rpc/clnt.h: Likewise.
18155 * sunrpc/rpc/des_crypt.h: Likewise.
18156 * sunrpc/rpc/key_prot.h: Likewise.
18157 * sunrpc/rpc/netdb.h: Likewise.
18158 * sunrpc/rpc/pmap_clnt.h: Likewise.
18159 * sunrpc/rpc/pmap_prot.h: Likewise.
18160 * sunrpc/rpc/pmap_rmt.h: Likewise.
18161 * sunrpc/rpc/rpc.h: Likewise.
18162 * sunrpc/rpc/rpc_des.h: Likewise.
18163 * sunrpc/rpc/rpc_msg.h: Likewise.
18164 * sunrpc/rpc/svc.h: Likewise.
18165 * sunrpc/rpc/svc_auth.h: Likewise.
18166 * sunrpc/rpc/types.h: Likewise.
18167 * sunrpc/rpc/xdr.h: Likewise.
18168 * sunrpc/rpc_clntout.c: Likewise.
18169 * sunrpc/rpc_cmsg.c: Likewise.
18170 * sunrpc/rpc_common.c: Likewise.
18171 * sunrpc/rpc_cout.c: Likewise.
18172 * sunrpc/rpc_dtable.c: Likewise.
18173 * sunrpc/rpc_hout.c: Likewise.
18174 * sunrpc/rpc_main.c: Likewise.
18175 * sunrpc/rpc_parse.c: Likewise.
18176 * sunrpc/rpc_parse.h: Likewise.
18177 * sunrpc/rpc_prot.c: Likewise.
18178 * sunrpc/rpc_sample.c: Likewise.
18179 * sunrpc/rpc_scan.c: Likewise.
18180 * sunrpc/rpc_scan.h: Likewise.
18181 * sunrpc/rpc_svcout.c: Likewise.
18182 * sunrpc/rpc_tblout.c: Likewise.
18183 * sunrpc/rpc_util.c: Likewise.
18184 * sunrpc/rpc_util.h: Likewise.
18185 * sunrpc/rpcinfo.c: Likewise.
18186 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18187 * sunrpc/rpcsvc/key_prot.x: Likewise.
18188 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18189 * sunrpc/rpcsvc/mount.x: Likewise.
18190 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18191 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18192 * sunrpc/rpcsvc/rex.x: Likewise.
18193 * sunrpc/rpcsvc/rstat.x: Likewise.
18194 * sunrpc/rpcsvc/rusers.x: Likewise.
18195 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18196 * sunrpc/rpcsvc/spray.x: Likewise.
18197 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18198 * sunrpc/rtime.c: Likewise.
18199 * sunrpc/svc.c: Likewise.
18200 * sunrpc/svc_auth.c: Likewise.
18201 * sunrpc/svc_authux.c: Likewise.
18202 * sunrpc/svc_raw.c: Likewise.
18203 * sunrpc/svc_run.c: Likewise.
18204 * sunrpc/svc_simple.c: Likewise.
18205 * sunrpc/svc_tcp.c: Likewise.
18206 * sunrpc/svc_udp.c: Likewise.
18207 * sunrpc/svc_unix.c: Likewise.
18208 * sunrpc/svcauth_des.c: Likewise.
18209 * sunrpc/xcrypt.c: Likewise.
18210 * sunrpc/xdr.c: Likewise.
18211 * sunrpc/xdr_array.c: Likewise.
18212 * sunrpc/xdr_float.c: Likewise.
18213 * sunrpc/xdr_mem.c: Likewise.
18214 * sunrpc/xdr_rec.c: Likewise.
18215 * sunrpc/xdr_ref.c: Likewise.
18216 * sunrpc/xdr_sizeof.c: Likewise.
18217 * sunrpc/xdr_stdio.c: Likewise.
18219 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18222 2010-08-19 Andreas Schwab <schwab@redhat.com>
18224 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18226 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18228 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18229 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18230 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18231 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18232 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18233 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18234 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18235 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18236 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18237 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18238 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18239 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18240 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18241 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18243 2010-07-26 Anton Blanchard <anton@samba.org>
18245 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18246 * malloc/arena.c (heap_trim): Likewise.
18248 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18250 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18253 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18255 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18257 * sysdeps/i386/elf/Makefile: New file.
18259 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18261 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18262 from fanotify_init.
18263 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18264 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18266 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18268 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18270 * sysdeps/multiarch/strcmp.S: Likewise.
18272 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18274 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18275 strncase_l-nonascii.
18276 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18277 Add strncase_l-ssse3.
18278 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18279 * sysdeps/x86_64/strcmp.S: Likewise.
18280 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18281 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18282 * sysdeps/x86_64/strncase.S: New file.
18283 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18284 * sysdeps/x86_64/strncase_l.S: New file.
18285 * string/Makefile (strop-tests): Add strncasecmp.
18286 * string/test-strncasecmp.c: New file.
18288 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18291 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18292 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18294 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18296 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18298 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18300 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18301 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18302 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18304 2010-05-01 Alan Modra <amodra@gmail.com>
18306 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18307 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18308 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18309 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18310 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18311 tidying. Don't tail-call __sigjmp_save for static lib.
18312 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18314 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18315 (CALL_MCOUNT): Add eh info, and nop after bl.
18316 (TAIL_CALL_SYSCALL_ERROR): New macro.
18317 (PSEUDO_RET): Use it.
18318 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18319 Correct save location of integer regs and cr.
18320 (_dl_profile_resolve): Correct cr save location. Delete nops
18321 after bl when SHARED. Reduce cfi size a little by better
18322 placement of cfi directives.
18323 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18324 make a stack frame. Instead use parm save area as a temp.
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18326 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18328 Don't make a stack frame for parent, use parm save area.
18329 Increase child stack frame to 112 bytes. Don't save unused reg,
18330 and adjust reg usage. Set up cfi on error recovery and
18331 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18333 (__makecontext): Add dummy nop after jump to exit.
18334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18335 Use correct parm save area and cr save, reduce stack frame.
18336 Correct cfi for possible PSEUDO_RET frame setup.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18338 Branch to local label emitted by PSEUDO_RET rather than
18341 2010-08-12 Andreas Schwab <schwab@redhat.com>
18344 * locale/programs/locale.c (print_assignment): New function.
18345 (show_locale_vars): Use it.
18347 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18349 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18351 (struct statfs64): Likewise.
18352 (_STATFS_F_FLAGS): Define.
18353 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18354 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18355 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18356 (ST_VALID): Define locally.
18357 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18358 __statvfs_getflags, use the provided value.
18359 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18360 __ASSUME_STATFS_F_FLAGS.
18362 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18364 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18365 Add sys/fanotify.h.
18366 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18367 fanotify_mask for GLIBC_2.13.
18368 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18369 fanotify_init and fanotify_mark.
18370 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18371 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18373 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18375 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18376 prlimit64 for GLIBC_2.13.
18377 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18379 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18382 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18383 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18384 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18385 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18387 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18390 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18391 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18393 * nss/Makefile: Add rules to build and run tst-nss-test1.
18394 * shlib-versions: Add entry for libnss_test1.
18395 * nss/nss_test1.c: New file.
18396 * nss/tst-nss-test1.c: New file.
18398 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18399 (__nss_configure_lookup): Set appropriate entry in
18400 __nss_configure_lookup to true.
18401 * nss/nsswitch.h: Define enum with indeces of databases in
18402 databases and __nss_database_custom arrays. Declare
18403 __nss_database_custom.
18404 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18405 to avoid using nscd when custom rules are installed.
18406 * nss/getXXbyYY_r.c: Likewise.
18407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18409 * nss/nss_files/files-parse.c: Whitespace fixes.
18411 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18414 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18415 * posix/fnmatch_loop.c: Likewise.
18417 2010-07-17 Andi Kleen <ak@linux.intel.com>
18419 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18420 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18421 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18422 * Versions.def [GLIBC_2.13]: Add.
18424 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18426 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18427 Also fail if tpwd after pwuid call is NULL.
18429 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18431 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18432 when converting to ms.
18434 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18436 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18437 EOPNOTSUPP errors with ENOTTY.
18438 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18439 EOPNOTSUPP errors with ENOTTY.
18441 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18443 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18444 Add strcasecmp_l-ssse3.
18445 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18447 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18448 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18449 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18451 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18453 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18455 * string/Makefile (strop-tests): Add strcasecmp.
18456 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18457 strcasecmp_l-nonascii.
18458 (gen-as-const-headers): Add locale-defines.sym.
18459 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18460 * sysdeps/x86_64/strcasecmp.S: New file.
18461 * sysdeps/x86_64/strcasecmp_l.S: New file.
18462 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18463 * sysdeps/x86_64/locale-defines.sym: New file.
18464 * string/test-strcasecmp.c: New file.
18466 * string/test-strcasestr.c: Test both ends of the range of characters.
18467 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18469 2010-07-29 Roland McGrath <roland@redhat.com>
18472 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18474 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18476 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18479 2010-07-27 Andreas Schwab <schwab@redhat.com>
18481 * manual/memory.texi (Malloc Tunable Parameters): Document
18484 2010-07-26 Roland McGrath <roland@redhat.com>
18487 * configure.in (-fgnu89-inline check): Set and substitute
18488 gnu89_inline, not libc_cv_gnu89_inline.
18489 * configure: Regenerated.
18490 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18492 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18494 * string/test-strnlen.c: New file.
18495 * string/Makefile (strop-tests): Add strnlen.
18496 * string/tester.c (test_strnlen): Add a few more test cases.
18497 * string/tst-strlen.c: Better error reporting.
18499 * sysdeps/x86_64/strnlen.S: New file.
18501 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18503 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18504 lower-latency instructions.
18506 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18508 * string/test-strcasestr.c: New file.
18509 * string/test-strstr.c: New file.
18510 * string/Makefile (strop-tests): Add strstr and strcasestr.
18511 * string/str-two-way.h: Don't undefine MAX.
18512 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18514 2010-07-21 Andreas Schwab <schwab@redhat.com>
18516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18517 strcasestr-nonascii.
18518 (CFLAGS-strcasestr-nonascii.c): Define.
18519 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18520 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18521 Remove unused attribute.
18523 2010-07-20 Roland McGrath <roland@redhat.com>
18525 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18526 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18527 ld.so.cache was broken. With it, there is no way to disable dsocaps
18528 like LD_HWCAP_MASK can disable hwcaps.
18530 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18532 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18534 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18536 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18537 call in strcasestr.
18538 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18539 __strcasestr_sse42_nonascii.
18540 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18541 strcasestr-nonascii.c.
18542 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18544 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18546 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18547 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18548 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18549 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18551 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18553 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18556 2010-07-06 Andreas Schwab <schwab@redhat.com>
18559 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18562 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18564 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18565 _PC_PIPE_BUF using F_GETPIPE_SZ.
18567 2010-07-05 Roland McGrath <roland@redhat.com>
18569 * manual/arith.texi (Rounding Functions): Fix rint description
18570 implicit in round description.
18572 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18574 * elf/Makefile: Fix linking for a few tests to make recent linker
18577 2010-06-30 Andreas Schwab <schwab@redhat.com>
18579 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18580 $(common-objpfx)libc_nonshared.a.
18582 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18584 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18585 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18586 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18587 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18588 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18589 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18590 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18591 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18606 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18607 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18608 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18609 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18610 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18611 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18612 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18613 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18614 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18615 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18616 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18617 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18633 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18635 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18636 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18637 * string/memmove.c (memmove): Renamed to ...
18638 (MEMMOVE): ...this. Default to memmove.
18639 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18640 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18643 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18644 mempcpy-ssse3-back memmove-ssse3-back.
18645 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18646 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18647 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18648 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18649 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18650 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18651 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18652 * sysdeps/x86_64/multiarch/memmove.c: New file.
18653 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18654 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18655 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18656 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18657 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18658 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18660 (index_Fast_Copy_Backward): Define.
18661 (HAS_ARCH_FEATURE): Define.
18662 (HAS_FAST_REP_STRING): Define.
18663 (HAS_FAST_COPY_BACKWARD): Define.
18665 2010-06-21 Andreas Schwab <schwab@redhat.com>
18667 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18668 Restore proper fallback handling.
18670 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18673 * posix/group_member.c (__group_member): Correct checking loop.
18675 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18676 OOM in getpwuid_r correctly. Return error number when the caller
18677 should return, otherwise -1.
18678 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18679 call returning > 0 value.
18680 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18682 2010-06-07 Andreas Schwab <schwab@redhat.com>
18684 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18685 libc_nonshared.a from targets in modules-names.
18687 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18689 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18692 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18694 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18695 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18696 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18697 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18699 2010-06-02 Andreas Schwab <schwab@redhat.com>
18701 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18703 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18705 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18707 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18708 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18711 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18712 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18714 2010-06-14 Roland McGrath <roland@redhat.com>
18716 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18718 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18720 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18721 __REDIRECT followed by __THROW.
18722 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18723 * posix/getopt.h (getopt): Likewise.
18725 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18727 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18728 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18729 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18731 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18732 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18734 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18736 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18738 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18742 Properly check family and model.
18744 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18746 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18748 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18750 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18752 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18754 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18757 2010-05-19 Andreas Schwab <schwab@redhat.com>
18759 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18762 2010-05-21 Andreas Schwab <schwab@redhat.com>
18764 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18765 and internal_recvmmsg.
18766 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18767 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18768 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18769 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18771 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18772 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18773 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18775 2010-05-20 Andreas Schwab <schwab@redhat.com>
18777 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18779 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18781 POWER7 optimizations.
18782 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18783 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18785 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18787 * version.h: Update for 2.13 development version.
18789 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18791 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18792 exceptions. Return 0.
18794 2010-05-07 Roland McGrath <roland@redhat.com>
18796 * elf/ldconfig.c (main): Add a const.
18798 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18800 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18801 (args_options): Add no-idn option.
18802 (ahosts_keys_int): Add idn_flags to ai_flags.
18803 (parse_option): Handle 'i' option to clear idn_flags.
18805 * malloc/malloc.c (_int_free): Possible race in the most recently
18806 added check. Only act on the data if no current modification
18809 See ChangeLog.17 for earlier changes.